
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void cg_print_file_ordering(void)

{
  Arc **ppAVar1;
  Arc *pAVar2;
  char *pcVar3;
  Arc **the_arcs;
  int iVar4;
  Arc **ppAVar5;
  char *__s;
  int iVar6;
  uint uVar7;
  int in_stack_ffffffbc;
  Arc **in_stack_ffffffc0;
  ulong *in_stack_ffffffc4;
  uint local_38;
  ulong scratch_arc_count;
  undefined4 uStack_14;
  
  uStack_14 = 0x17e59;
  scratch_arc_count = 0;
  the_arcs = (Arc **)xmalloc(numarcs << 2);
  uVar7 = numarcs;
  if (numarcs != 0) {
    ppAVar1 = arcs + numarcs;
    ppAVar5 = arcs;
    do {
      pAVar2 = *ppAVar5;
      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {
        pAVar2->has_been_placed = 1;
      }
      ppAVar5 = ppAVar5 + 1;
      in_stack_ffffffc4 = (ulong *)uVar7;
    } while (ppAVar1 != ppAVar5);
  }
  iVar6 = 0;
  uVar7 = 0;
  order_and_dump_functions_by_arcs
            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,
             in_stack_ffffffc4);
  if (symtab.len != 0) {
    do {
      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {
        uVar7 = uVar7 + 1;
        iVar6 = iVar6 + 0xfc;
        if (symtab.len <= uVar7) goto LAB_00017f30;
      }
      iVar4 = iVar6 + -0x18;
      uVar7 = uVar7 + 1;
      iVar6 = iVar6 + 0xfc;
      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));
    } while (uVar7 < symtab.len);
  }
LAB_00017f30:
  qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);
  __s = (char *)0x0;
  local_38 = 0;
  if (symbol_map_count != 0) {
    do {
      iVar6 = local_38 * 0xc;
      pcVar3 = symbol_map[local_38].file_name;
      if (__s == (char *)0x0) {
LAB_00017fca:
        __s = pcVar3;
        if (symtab.len != 0) {
          uVar7 = 0;
          do {
            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {
              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);
              if (iVar4 == 0) {
                __s = *(char **)((int)&symbol_map->file_name + iVar6);
                if (uVar7 == symtab.len) goto LAB_00018015;
                goto LAB_00017f70;
              }
              __s = *(char **)((int)&symbol_map->file_name + iVar6);
            }
            uVar7 = uVar7 + 1;
          } while (uVar7 < symtab.len);
          if (uVar7 != symtab.len) goto LAB_00017f70;
        }
LAB_00018015:
        puts(__s);
        __s = *(char **)((int)&symbol_map->file_name + iVar6);
      }
      else {
        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);
        if (iVar4 != 0) {
          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);
          goto LAB_00017fca;
        }
      }
LAB_00017f70:
      local_38 = local_38 + 1;
    } while (local_38 < symbol_map_count);
  }
  return;
}



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

void FUN_00017e50(void)

{
  int *piVar1;
  int *piVar2;
  char *pcVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  char *__s;
  int iVar7;
  uint uVar8;
  uint local_38;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x17e59;
  local_20[0] = 0;
  uVar4 = xmalloc(DAT_0002e4dc << 2);
  if (DAT_0002e4dc != 0) {
    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;
    piVar6 = DAT_0002e4e4;
    do {
      piVar2 = (int *)*piVar6;
      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {
        piVar2[9] = 1;
      }
      piVar6 = piVar6 + 1;
    } while (piVar1 != piVar6);
  }
  iVar7 = 0;
  uVar8 = 0;
  FUN_00015d90(uVar4,local_20);
  if (DAT_0002e520 != 0) {
    do {
      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {
        uVar8 = uVar8 + 1;
        iVar7 = iVar7 + 0xfc;
        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;
      }
      uVar8 = uVar8 + 1;
      iVar7 = iVar7 + 0xfc;
      puts(*(char **)(iVar5 + 0x10));
    } while (uVar8 < DAT_0002e520);
  }
LAB_00017f30:
  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);
  __s = (char *)0x0;
  local_38 = 0;
  if (DAT_0002e4f8 != 0) {
    do {
      iVar7 = local_38 * 0xc;
      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
      if (__s == (char *)0x0) {
LAB_00017fca:
        __s = pcVar3;
        if (DAT_0002e520 != 0) {
          uVar8 = 0;
          do {
            iVar5 = uVar8 * 0xfc + DAT_0002e524;
            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {
              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);
              if (iVar5 == 0) {
                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
                if (uVar8 == DAT_0002e520) goto LAB_00018015;
                goto LAB_00017f70;
              }
              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
            }
            uVar8 = uVar8 + 1;
          } while (uVar8 < DAT_0002e520);
          if (uVar8 != DAT_0002e520) goto LAB_00017f70;
        }
LAB_00018015:
        puts(__s);
        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
      }
      else {
        iVar5 = filename_cmp(__s,pcVar3);
        if (iVar5 != 0) {
          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
          goto LAB_00017fca;
        }
      }
LAB_00017f70:
      local_38 = local_38 + 1;
    } while (local_38 < DAT_0002e4f8);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x151a7
SUB ESP,0x38
MOV dword ptr [ESP + 0x28],0x0
LEA ESI,[EBX + 0x14dc]
MOV EAX,dword ptr [ESI]
SHL EAX,0x2
PUSH EAX
CALL 0x000121d0
MOV EDX,dword ptr [ESI]
ADD ESP,0x10
MOV EDI,EAX
LEA EAX,[EBX + 0x14e4]
MOV EAX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x00017ec6
MOV dword ptr [ESP],EDX
MOV ECX,EAX
LEA EBP,[EAX + EDX*0x4]
MOV ESI,EAX
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ECX]
MOV EDX,dword ptr [EAX]
TEST byte ptr [EDX + 0x1c],0x8
JZ 0x00017eb3
MOV EDX,dword ptr [EAX + 0x4]
TEST byte ptr [EDX + 0x1c],0x8
JNZ 0x00017eba
MOV dword ptr [EAX + 0x24],0x1
ADD ECX,0x4
CMP EBP,ECX
JNZ 0x00017ea0
MOV EDX,dword ptr [ESP]
MOV EAX,ESI
SUB ESP,0x8
XOR EBP,EBP
XOR ESI,ESI
LEA ECX,[ESP + 0x24]
PUSH ECX
XOR ECX,ECX
PUSH EDI
CALL 0x00015d90
LEA EDI,[EBX + 0x1520]
ADD ESP,0x10
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JNZ 0x00017efd
JMP 0x00017f30
ADD ESI,0x1
ADD EBP,0xfc
CMP dword ptr [EDI],ESI
JBE 0x00017f30
MOV EDX,dword ptr [EDI + 0x4]
ADD EDX,EBP
MOVZX EAX,byte ptr [EDX + 0x1c]
AND EAX,0x18
CMP AL,0x8
JNZ 0x00017ef0
SUB ESP,0xc
PUSH dword ptr [EDX + 0x10]
ADD ESI,0x1
ADD EBP,0xfc
CALL 0x00012270
ADD ESP,0x10
CMP dword ptr [EDI],ESI
JA 0x00017efd
LEA ESI,[ESI]
NOP
LEA EAX,[EBX + 0xfffe97e0]
LEA ESI,[EBX + 0x14f8]
LEA EBP,[EBX + 0x14f4]
PUSH EAX
PUSH 0xc
MOV dword ptr [ESP + 0x14],ESI
PUSH dword ptr [ESI]
PUSH dword ptr [EBP]
CALL 0x00012420
MOV ECX,dword ptr [ESI]
ADD ESP,0x10
XOR EDX,EDX
MOV dword ptr [ESP + 0x4],0x0
TEST ECX,ECX
JNZ 0x00017f85
JMP 0x00018060
MOV ECX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x4],0x1
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [ECX],EAX
JBE 0x00018060
MOV EAX,dword ptr [ESP + 0x4]
LEA ESI,[EAX + EAX*0x2]
LEA EAX,[ESI*0x4 + 0x0]
MOV ECX,EAX
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + ECX*0x1 + 0x4]
TEST EDX,EDX
JZ 0x00018038
SUB ESP,0x8
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
CALL 0x000120b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00017f70
MOV EAX,dword ptr [EBP]
MOV ECX,dword ptr [ESP]
MOV EDX,dword ptr [EAX + ECX*0x1 + 0x4]
MOV EAX,dword ptr [EDI]
XOR ESI,ESI
TEST EAX,EAX
JZ 0x00018015
LEA ESI,[ESI]
IMUL EAX,ESI,0xfc
ADD EAX,dword ptr [EDI + 0x4]
TEST byte ptr [EAX + 0x1c],0x8
JZ 0x00018004
SUB ESP,0x8
PUSH EDX
PUSH dword ptr [EAX + 0x10]
CALL 0x000120b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00018040
MOV EAX,dword ptr [EBP]
MOV ECX,dword ptr [ESP]
MOV EDX,dword ptr [EAX + ECX*0x1 + 0x4]
MOV EAX,dword ptr [EDI]
ADD ESI,0x1
CMP EAX,ESI
JA 0x00017fd8
CMP ESI,EAX
JNZ 0x00017f70
SUB ESP,0xc
PUSH EDX
CALL 0x00012270
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EBP]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + ECX*0x1 + 0x4]
JMP 0x00017f70
MOV EDX,EAX
JMP 0x00017fca
MOV EDX,dword ptr [EBP]
MOV ECX,dword ptr [ESP]
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EDX + ECX*0x1 + 0x4]
CMP ESI,EAX
JNZ 0x00017f70
JMP 0x00018015
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_00017e50(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00017e50(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017e50(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x17e59;" (assignment_expression "uStack_14 = 0x17e59" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = xmalloc(DAT_0002e4dc << 2);" (assignment_expression "uVar4 = xmalloc(DAT_0002e4dc << 2)" identifier = (call_expression "xmalloc(DAT_0002e4dc << 2)" identifier (argument_list "(DAT_0002e4dc << 2)" ( (binary_expression "DAT_0002e4dc << 2" identifier << number_literal) )))) ;) (if_statement "if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" if (parenthesized_expression "(DAT_0002e4dc != 0)" ( (binary_expression "DAT_0002e4dc != 0" identifier != number_literal) )) (compound_statement "{\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" { (expression_statement "piVar1 = DAT_0002e4e4 + DAT_0002e4dc;" (assignment_expression "piVar1 = DAT_0002e4e4 + DAT_0002e4dc" identifier = (binary_expression "DAT_0002e4e4 + DAT_0002e4dc" identifier + identifier)) ;) (expression_statement "piVar6 = DAT_0002e4e4;" (assignment_expression "piVar6 = DAT_0002e4e4" identifier = identifier) ;) (do_statement "do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);" do (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    }" { (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }" if (parenthesized_expression "(((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0))" ( (binary_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" (parenthesized_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0)" ( (binary_expression "(*(byte *)(*piVar2 + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(*piVar2 + 0x1c) & 8)" ( (binary_expression "*(byte *)(*piVar2 + 0x1c) & 8" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" ( (binary_expression "(*(byte *)(piVar2[1] + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(piVar2[1] + 0x1c) & 8)" ( (binary_expression "*(byte *)(piVar2[1] + 0x1c) & 8" (pointer_expression "*(byte *)(piVar2[1] + 0x1c)" * (cast_expression "(byte *)(piVar2[1] + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2[1] + 0x1c)" ( (binary_expression "piVar2[1] + 0x1c" (subscript_expression "piVar2[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        piVar2[9] = 1;\n      }" { (expression_statement "piVar2[9] = 1;" (assignment_expression "piVar2[9] = 1" (subscript_expression "piVar2[9]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar6)" ( (binary_expression "piVar1 != piVar6" identifier != identifier) )) ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "FUN_00015d90(uVar4,local_20);" (call_expression "FUN_00015d90(uVar4,local_20)" identifier (argument_list "(uVar4,local_20)" ( identifier , identifier ))) ;) (if_statement "if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" if (parenthesized_expression "(DAT_0002e520 != 0)" ( (binary_expression "DAT_0002e520 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" { (do_statement "do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);" do (compound_statement "{\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    }" { (while_statement "while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" while (parenthesized_expression "(iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8)" ( (comma_expression "iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (assignment_expression "iVar5 = DAT_0002e524 + iVar7" identifier = (binary_expression "DAT_0002e524 + iVar7" identifier + identifier)) , (binary_expression "(*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 0x18)" ( (binary_expression "*(byte *)(iVar5 + 0x1c) & 0x18" (pointer_expression "*(byte *)(iVar5 + 0x1c)" * (cast_expression "(byte *)(iVar5 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" identifier = (binary_expression "iVar7 + 0xfc" identifier + number_literal)) ;) (if_statement "if (DAT_0002e520 <= uVar8) goto LAB_00017f30;" if (parenthesized_expression "(DAT_0002e520 <= uVar8)" ( (binary_expression "DAT_0002e520 <= uVar8" identifier <= identifier) )) (goto_statement "goto LAB_00017f30;" goto statement_identifier ;)) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" identifier = (binary_expression "iVar7 + 0xfc" identifier + number_literal)) ;) (expression_statement "puts(*(char **)(iVar5 + 0x10));" (call_expression "puts(*(char **)(iVar5 + 0x10))" identifier (argument_list "(*(char **)(iVar5 + 0x10))" ( (pointer_expression "*(char **)(iVar5 + 0x10)" * (cast_expression "(char **)(iVar5 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) ))) ;) }) while (parenthesized_expression "(uVar8 < DAT_0002e520)" ( (binary_expression "uVar8 < DAT_0002e520" identifier < identifier) )) ;) })) (labeled_statement "LAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" statement_identifier : (expression_statement "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" (call_expression "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" identifier (argument_list "(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" ( identifier , identifier , number_literal , identifier ))) ;)) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (if_statement "if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" if (parenthesized_expression "(DAT_0002e4f8 != 0)" ( (binary_expression "DAT_0002e4f8 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" { (do_statement "do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);" do (compound_statement "{\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar7 = local_38 * 0xc;" (assignment_expression "iVar7 = local_38 * 0xc" identifier = (binary_expression "local_38 * 0xc" identifier * number_literal)) ;) (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" if (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 "{\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }" { (labeled_statement "LAB_00017fca:\n        __s = pcVar3;" statement_identifier : (expression_statement "__s = pcVar3;" (assignment_expression "__s = pcVar3" identifier = identifier) ;)) (if_statement "if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" if (parenthesized_expression "(DAT_0002e520 != 0)" ( (binary_expression "DAT_0002e520 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);" do (compound_statement "{\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          }" { (expression_statement "iVar5 = uVar8 * 0xfc + DAT_0002e524;" (assignment_expression "iVar5 = uVar8 * 0xfc + DAT_0002e524" identifier = (binary_expression "uVar8 * 0xfc + DAT_0002e524" (binary_expression "uVar8 * 0xfc" identifier * number_literal) + identifier)) ;) (if_statement "if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" if (parenthesized_expression "((*(byte *)(iVar5 + 0x1c) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar5 + 0x1c) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 8)" ( (binary_expression "*(byte *)(iVar5 + 0x1c) & 8" (pointer_expression "*(byte *)(iVar5 + 0x1c)" * (cast_expression "(byte *)(iVar5 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" { (expression_statement "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);" (assignment_expression "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" identifier = (call_expression "filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" identifier (argument_list "(*(undefined4 *)(iVar5 + 0x10),__s)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" { (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (uVar8 == DAT_0002e520) goto LAB_00018015;" if (parenthesized_expression "(uVar8 == DAT_0002e520)" ( (binary_expression "uVar8 == DAT_0002e520" identifier == identifier) )) (goto_statement "goto LAB_00018015;" goto statement_identifier ;)) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;) })) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 < DAT_0002e520)" ( (binary_expression "uVar8 < DAT_0002e520" identifier < identifier) )) ;) (if_statement "if (uVar8 != DAT_0002e520) goto LAB_00017f70;" if (parenthesized_expression "(uVar8 != DAT_0002e520)" ( (binary_expression "uVar8 != DAT_0002e520" identifier != identifier) )) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;)) })) (labeled_statement "LAB_00018015:\n        puts(__s);" statement_identifier : (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;)) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" else (compound_statement "{\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" { (expression_statement "iVar5 = filename_cmp(__s,pcVar3);" (assignment_expression "iVar5 = filename_cmp(__s,pcVar3)" identifier = (call_expression "filename_cmp(__s,pcVar3)" identifier (argument_list "(__s,pcVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" { (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (goto_statement "goto LAB_00017fca;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00017f70:\n      local_38 = local_38 + 1;" statement_identifier : (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_38 < DAT_0002e4f8)" ( (binary_expression "local_38 < DAT_0002e4f8" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cg_print_file_ordering(void)\n\n{\n  Arc **ppAVar1;\n  Arc *pAVar2;\n  char *pcVar3;\n  Arc **the_arcs;\n  int iVar4;\n  Arc **ppAVar5;\n  char *__s;\n  int iVar6;\n  uint uVar7;\n  int in_stack_ffffffbc;\n  Arc **in_stack_ffffffc0;\n  ulong *in_stack_ffffffc4;\n  uint local_38;\n  ulong scratch_arc_count;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  scratch_arc_count = 0;\n  the_arcs = (Arc **)xmalloc(numarcs << 2);\n  uVar7 = numarcs;\n  if (numarcs != 0) {\n    ppAVar1 = arcs + numarcs;\n    ppAVar5 = arcs;\n    do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);\n  }\n  iVar6 = 0;\n  uVar7 = 0;\n  order_and_dump_functions_by_arcs\n            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4);\n  if (symtab.len != 0) {\n    do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);\n  }\nLAB_00017f30:\n  qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (symbol_map_count != 0) {\n    do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);\n  }\n  return;\n}\n\n" comment comment (function_definition "void cg_print_file_ordering(void)\n\n{\n  Arc **ppAVar1;\n  Arc *pAVar2;\n  char *pcVar3;\n  Arc **the_arcs;\n  int iVar4;\n  Arc **ppAVar5;\n  char *__s;\n  int iVar6;\n  uint uVar7;\n  int in_stack_ffffffbc;\n  Arc **in_stack_ffffffc0;\n  ulong *in_stack_ffffffc4;\n  uint local_38;\n  ulong scratch_arc_count;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  scratch_arc_count = 0;\n  the_arcs = (Arc **)xmalloc(numarcs << 2);\n  uVar7 = numarcs;\n  if (numarcs != 0) {\n    ppAVar1 = arcs + numarcs;\n    ppAVar5 = arcs;\n    do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);\n  }\n  iVar6 = 0;\n  uVar7 = 0;\n  order_and_dump_functions_by_arcs\n            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4);\n  if (symtab.len != 0) {\n    do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);\n  }\nLAB_00017f30:\n  qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (symbol_map_count != 0) {\n    do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);\n  }\n  return;\n}" primitive_type (function_declarator "cg_print_file_ordering(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  Arc **ppAVar1;\n  Arc *pAVar2;\n  char *pcVar3;\n  Arc **the_arcs;\n  int iVar4;\n  Arc **ppAVar5;\n  char *__s;\n  int iVar6;\n  uint uVar7;\n  int in_stack_ffffffbc;\n  Arc **in_stack_ffffffc0;\n  ulong *in_stack_ffffffc4;\n  uint local_38;\n  ulong scratch_arc_count;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  scratch_arc_count = 0;\n  the_arcs = (Arc **)xmalloc(numarcs << 2);\n  uVar7 = numarcs;\n  if (numarcs != 0) {\n    ppAVar1 = arcs + numarcs;\n    ppAVar5 = arcs;\n    do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);\n  }\n  iVar6 = 0;\n  uVar7 = 0;\n  order_and_dump_functions_by_arcs\n            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4);\n  if (symtab.len != 0) {\n    do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);\n  }\nLAB_00017f30:\n  qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (symbol_map_count != 0) {\n    do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);\n  }\n  return;\n}" { (declaration "Arc **ppAVar1;" type_identifier (pointer_declarator "**ppAVar1" * (pointer_declarator "*ppAVar1" * identifier)) ;) (declaration "Arc *pAVar2;" type_identifier (pointer_declarator "*pAVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Arc **the_arcs;" type_identifier (pointer_declarator "**the_arcs" * (pointer_declarator "*the_arcs" * identifier)) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Arc **ppAVar5;" type_identifier (pointer_declarator "**ppAVar5" * (pointer_declarator "*ppAVar5" * identifier)) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int in_stack_ffffffbc;" primitive_type identifier ;) (declaration "Arc **in_stack_ffffffc0;" type_identifier (pointer_declarator "**in_stack_ffffffc0" * (pointer_declarator "*in_stack_ffffffc0" * identifier)) ;) (declaration "ulong *in_stack_ffffffc4;" type_identifier (pointer_declarator "*in_stack_ffffffc4" * identifier) ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "ulong scratch_arc_count;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x17e59;" (assignment_expression "uStack_14 = 0x17e59" identifier = number_literal) ;) (expression_statement "scratch_arc_count = 0;" (assignment_expression "scratch_arc_count = 0" identifier = number_literal) ;) (expression_statement "the_arcs = (Arc **)xmalloc(numarcs << 2);" (assignment_expression "the_arcs = (Arc **)xmalloc(numarcs << 2)" identifier = (cast_expression "(Arc **)xmalloc(numarcs << 2)" ( (type_descriptor "Arc **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc(numarcs << 2)" identifier (argument_list "(numarcs << 2)" ( (binary_expression "numarcs << 2" identifier << number_literal) ))))) ;) (expression_statement "uVar7 = numarcs;" (assignment_expression "uVar7 = numarcs" identifier = identifier) ;) (if_statement "if (numarcs != 0) {\n    ppAVar1 = arcs + numarcs;\n    ppAVar5 = arcs;\n    do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);\n  }" if (parenthesized_expression "(numarcs != 0)" ( (binary_expression "numarcs != 0" identifier != number_literal) )) (compound_statement "{\n    ppAVar1 = arcs + numarcs;\n    ppAVar5 = arcs;\n    do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);\n  }" { (expression_statement "ppAVar1 = arcs + numarcs;" (assignment_expression "ppAVar1 = arcs + numarcs" identifier = (binary_expression "arcs + numarcs" identifier + identifier)) ;) (expression_statement "ppAVar5 = arcs;" (assignment_expression "ppAVar5 = arcs" identifier = identifier) ;) (do_statement "do {\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    } while (ppAVar1 != ppAVar5);" do (compound_statement "{\n      pAVar2 = *ppAVar5;\n      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }\n      ppAVar5 = ppAVar5 + 1;\n      in_stack_ffffffc4 = (ulong *)uVar7;\n    }" { (expression_statement "pAVar2 = *ppAVar5;" (assignment_expression "pAVar2 = *ppAVar5" identifier = (pointer_expression "*ppAVar5" * identifier)) ;) (if_statement "if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {\n        pAVar2->has_been_placed = 1;\n      }" if (parenthesized_expression "(((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0))" ( (binary_expression "((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)" (parenthesized_expression "((pAVar2->parent->field_0x1c & 8) == 0)" ( (binary_expression "(pAVar2->parent->field_0x1c & 8) == 0" (parenthesized_expression "(pAVar2->parent->field_0x1c & 8)" ( (binary_expression "pAVar2->parent->field_0x1c & 8" (field_expression "pAVar2->parent->field_0x1c" (field_expression "pAVar2->parent" identifier -> field_identifier) -> field_identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "((pAVar2->child->field_0x1c & 8) == 0)" ( (binary_expression "(pAVar2->child->field_0x1c & 8) == 0" (parenthesized_expression "(pAVar2->child->field_0x1c & 8)" ( (binary_expression "pAVar2->child->field_0x1c & 8" (field_expression "pAVar2->child->field_0x1c" (field_expression "pAVar2->child" identifier -> field_identifier) -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        pAVar2->has_been_placed = 1;\n      }" { (expression_statement "pAVar2->has_been_placed = 1;" (assignment_expression "pAVar2->has_been_placed = 1" (field_expression "pAVar2->has_been_placed" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "ppAVar5 = ppAVar5 + 1;" (assignment_expression "ppAVar5 = ppAVar5 + 1" identifier = (binary_expression "ppAVar5 + 1" identifier + number_literal)) ;) (expression_statement "in_stack_ffffffc4 = (ulong *)uVar7;" (assignment_expression "in_stack_ffffffc4 = (ulong *)uVar7" identifier = (cast_expression "(ulong *)uVar7" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "(ppAVar1 != ppAVar5)" ( (binary_expression "ppAVar1 != ppAVar5" identifier != identifier) )) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "order_and_dump_functions_by_arcs\n            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4);" (call_expression "order_and_dump_functions_by_arcs\n            (the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4)" identifier (argument_list "(the_arcs,(ulong)&scratch_arc_count,in_stack_ffffffbc,in_stack_ffffffc0,\n             in_stack_ffffffc4)" ( identifier , (binary_expression "(ulong)&scratch_arc_count" (parenthesized_expression "(ulong)" ( identifier )) & identifier) , identifier , identifier , identifier ))) ;) (if_statement "if (symtab.len != 0) {\n    do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);\n  }" if (parenthesized_expression "(symtab.len != 0)" ( (binary_expression "symtab.len != 0" (field_expression "symtab.len" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);\n  }" { (do_statement "do {\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    } while (uVar7 < symtab.len);" do (compound_statement "{\n      while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }\n      iVar4 = iVar6 + -0x18;\n      uVar7 = uVar7 + 1;\n      iVar6 = iVar6 + 0xfc;\n      puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));\n    }" { (while_statement "while ((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8) {\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }" while (parenthesized_expression "((*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8)" ( (binary_expression "(*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18) != 8" (parenthesized_expression "(*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18)" ( (binary_expression "*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc) & 0x18" (pointer_expression "*(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc)" * (cast_expression "(byte *)((int)(symtab.base)->bb_addr + iVar6 + -0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(symtab.base)->bb_addr + iVar6 + -0xc)" ( (binary_expression "(int)(symtab.base)->bb_addr + iVar6 + -0xc" (binary_expression "(int)(symtab.base)->bb_addr + iVar6" (cast_expression "(int)(symtab.base)->bb_addr" ( (type_descriptor "int" primitive_type) ) (field_expression "(symtab.base)->bb_addr" (parenthesized_expression "(symtab.base)" ( (field_expression "symtab.base" identifier . field_identifier) )) -> field_identifier)) + identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar7 = uVar7 + 1;\n        iVar6 = iVar6 + 0xfc;\n        if (symtab.len <= uVar7) goto LAB_00017f30;\n      }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 0xfc;" (assignment_expression "iVar6 = iVar6 + 0xfc" identifier = (binary_expression "iVar6 + 0xfc" identifier + number_literal)) ;) (if_statement "if (symtab.len <= uVar7) goto LAB_00017f30;" if (parenthesized_expression "(symtab.len <= uVar7)" ( (binary_expression "symtab.len <= uVar7" (field_expression "symtab.len" identifier . field_identifier) <= identifier) )) (goto_statement "goto LAB_00017f30;" goto statement_identifier ;)) })) (expression_statement "iVar4 = iVar6 + -0x18;" (assignment_expression "iVar4 = iVar6 + -0x18" identifier = (binary_expression "iVar6 + -0x18" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 0xfc;" (assignment_expression "iVar6 = iVar6 + 0xfc" identifier = (binary_expression "iVar6 + 0xfc" identifier + number_literal)) ;) (expression_statement "puts(*(char **)((int)(symtab.base)->bb_addr + iVar4));" (call_expression "puts(*(char **)((int)(symtab.base)->bb_addr + iVar4))" identifier (argument_list "(*(char **)((int)(symtab.base)->bb_addr + iVar4))" ( (pointer_expression "*(char **)((int)(symtab.base)->bb_addr + iVar4)" * (cast_expression "(char **)((int)(symtab.base)->bb_addr + iVar4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)(symtab.base)->bb_addr + iVar4)" ( (binary_expression "(int)(symtab.base)->bb_addr + iVar4" (cast_expression "(int)(symtab.base)->bb_addr" ( (type_descriptor "int" primitive_type) ) (field_expression "(symtab.base)->bb_addr" (parenthesized_expression "(symtab.base)" ( (field_expression "symtab.base" identifier . field_identifier) )) -> field_identifier)) + identifier) )))) ))) ;) }) while (parenthesized_expression "(uVar7 < symtab.len)" ( (binary_expression "uVar7 < symtab.len" identifier < (field_expression "symtab.len" identifier . field_identifier)) )) ;) })) (labeled_statement "LAB_00017f30:\n  qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);" statement_identifier : (expression_statement "qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map);" (call_expression "qsort(symbol_map,symbol_map_count,0xc,cmp_symbol_map)" identifier (argument_list "(symbol_map,symbol_map_count,0xc,cmp_symbol_map)" ( identifier , identifier , number_literal , identifier ))) ;)) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (if_statement "if (symbol_map_count != 0) {\n    do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);\n  }" if (parenthesized_expression "(symbol_map_count != 0)" ( (binary_expression "symbol_map_count != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);\n  }" { (do_statement "do {\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < symbol_map_count);" do (compound_statement "{\n      iVar6 = local_38 * 0xc;\n      pcVar3 = symbol_map[local_38].file_name;\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar6 = local_38 * 0xc;" (assignment_expression "iVar6 = local_38 * 0xc" identifier = (binary_expression "local_38 * 0xc" identifier * number_literal)) ;) (expression_statement "pcVar3 = symbol_map[local_38].file_name;" (assignment_expression "pcVar3 = symbol_map[local_38].file_name" identifier = (field_expression "symbol_map[local_38].file_name" (subscript_expression "symbol_map[local_38]" identifier [ identifier ]) . field_identifier)) ;) (if_statement "if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }\n      else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }" if (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 "{\nLAB_00017fca:\n        __s = pcVar3;\n        if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)&symbol_map->file_name + iVar6);\n      }" { (labeled_statement "LAB_00017fca:\n        __s = pcVar3;" statement_identifier : (expression_statement "__s = pcVar3;" (assignment_expression "__s = pcVar3" identifier = identifier) ;)) (if_statement "if (symtab.len != 0) {\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }" if (parenthesized_expression "(symtab.len != 0)" ( (binary_expression "symtab.len != 0" (field_expression "symtab.len" identifier . field_identifier) != number_literal) )) (compound_statement "{\n          uVar7 = 0;\n          do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);\n          if (uVar7 != symtab.len) goto LAB_00017f70;\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          } while (uVar7 < symtab.len);" do (compound_statement "{\n            if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }\n            uVar7 = uVar7 + 1;\n          }" { (if_statement "if ((symtab.base[uVar7].field_0x1c & 8) != 0) {\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }" if (parenthesized_expression "((symtab.base[uVar7].field_0x1c & 8) != 0)" ( (binary_expression "(symtab.base[uVar7].field_0x1c & 8) != 0" (parenthesized_expression "(symtab.base[uVar7].field_0x1c & 8)" ( (binary_expression "symtab.base[uVar7].field_0x1c & 8" (field_expression "symtab.base[uVar7].field_0x1c" (subscript_expression "symtab.base[uVar7]" (field_expression "symtab.base" identifier . field_identifier) [ identifier ]) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n              iVar4 = filename_cmp(symtab.base[uVar7].name,__s);\n              if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)&symbol_map->file_name + iVar6);\n            }" { (expression_statement "iVar4 = filename_cmp(symtab.base[uVar7].name,__s);" (assignment_expression "iVar4 = filename_cmp(symtab.base[uVar7].name,__s)" identifier = (call_expression "filename_cmp(symtab.base[uVar7].name,__s)" identifier (argument_list "(symtab.base[uVar7].name,__s)" ( (field_expression "symtab.base[uVar7].name" (subscript_expression "symtab.base[uVar7]" (field_expression "symtab.base" identifier . field_identifier) [ identifier ]) . field_identifier) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                __s = *(char **)((int)&symbol_map->file_name + iVar6);\n                if (uVar7 == symtab.len) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" { (expression_statement "__s = *(char **)((int)&symbol_map->file_name + iVar6);" (assignment_expression "__s = *(char **)((int)&symbol_map->file_name + iVar6)" identifier = (pointer_expression "*(char **)((int)&symbol_map->file_name + iVar6)" * (cast_expression "(char **)((int)&symbol_map->file_name + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&symbol_map->file_name + iVar6)" ( (binary_expression "(int)&symbol_map->file_name + iVar6" (cast_expression "(int)&symbol_map->file_name" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&symbol_map->file_name" & (field_expression "symbol_map->file_name" identifier -> field_identifier))) + identifier) ))))) ;) (if_statement "if (uVar7 == symtab.len) goto LAB_00018015;" if (parenthesized_expression "(uVar7 == symtab.len)" ( (binary_expression "uVar7 == symtab.len" identifier == (field_expression "symtab.len" identifier . field_identifier)) )) (goto_statement "goto LAB_00018015;" goto statement_identifier ;)) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;) })) (expression_statement "__s = *(char **)((int)&symbol_map->file_name + iVar6);" (assignment_expression "__s = *(char **)((int)&symbol_map->file_name + iVar6)" identifier = (pointer_expression "*(char **)((int)&symbol_map->file_name + iVar6)" * (cast_expression "(char **)((int)&symbol_map->file_name + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&symbol_map->file_name + iVar6)" ( (binary_expression "(int)&symbol_map->file_name + iVar6" (cast_expression "(int)&symbol_map->file_name" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&symbol_map->file_name" & (field_expression "symbol_map->file_name" identifier -> field_identifier))) + identifier) ))))) ;) })) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 < symtab.len)" ( (binary_expression "uVar7 < symtab.len" identifier < (field_expression "symtab.len" identifier . field_identifier)) )) ;) (if_statement "if (uVar7 != symtab.len) goto LAB_00017f70;" if (parenthesized_expression "(uVar7 != symtab.len)" ( (binary_expression "uVar7 != symtab.len" identifier != (field_expression "symtab.len" identifier . field_identifier)) )) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;)) })) (labeled_statement "LAB_00018015:\n        puts(__s);" statement_identifier : (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;)) (expression_statement "__s = *(char **)((int)&symbol_map->file_name + iVar6);" (assignment_expression "__s = *(char **)((int)&symbol_map->file_name + iVar6)" identifier = (pointer_expression "*(char **)((int)&symbol_map->file_name + iVar6)" * (cast_expression "(char **)((int)&symbol_map->file_name + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&symbol_map->file_name + iVar6)" ( (binary_expression "(int)&symbol_map->file_name + iVar6" (cast_expression "(int)&symbol_map->file_name" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&symbol_map->file_name" & (field_expression "symbol_map->file_name" identifier -> field_identifier))) + identifier) ))))) ;) }) (else_clause "else {\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }" else (compound_statement "{\n        iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);\n        if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }\n      }" { (expression_statement "iVar4 = filename_cmp(__s,symbol_map[local_38].file_name);" (assignment_expression "iVar4 = filename_cmp(__s,symbol_map[local_38].file_name)" identifier = (call_expression "filename_cmp(__s,symbol_map[local_38].file_name)" identifier (argument_list "(__s,symbol_map[local_38].file_name)" ( identifier , (field_expression "symbol_map[local_38].file_name" (subscript_expression "symbol_map[local_38]" identifier [ identifier ]) . field_identifier) )))) ;) (if_statement "if (iVar4 != 0) {\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);\n          goto LAB_00017fca;\n        }" { (expression_statement "pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6);" (assignment_expression "pcVar3 = *(char **)((int)&symbol_map->file_name + iVar6)" identifier = (pointer_expression "*(char **)((int)&symbol_map->file_name + iVar6)" * (cast_expression "(char **)((int)&symbol_map->file_name + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&symbol_map->file_name + iVar6)" ( (binary_expression "(int)&symbol_map->file_name + iVar6" (cast_expression "(int)&symbol_map->file_name" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&symbol_map->file_name" & (field_expression "symbol_map->file_name" identifier -> field_identifier))) + identifier) ))))) ;) (goto_statement "goto LAB_00017fca;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00017f70:\n      local_38 = local_38 + 1;" statement_identifier : (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_38 < symbol_map_count)" ( (binary_expression "local_38 < symbol_map_count" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00017e50(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00017e50(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017e50(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x17e59;" (assignment_expression "uStack_14 = 0x17e59" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = xmalloc(DAT_0002e4dc << 2);" (assignment_expression "uVar4 = xmalloc(DAT_0002e4dc << 2)" identifier = (call_expression "xmalloc(DAT_0002e4dc << 2)" identifier (argument_list "(DAT_0002e4dc << 2)" ( (binary_expression "DAT_0002e4dc << 2" identifier << number_literal) )))) ;) (if_statement "if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" if (parenthesized_expression "(DAT_0002e4dc != 0)" ( (binary_expression "DAT_0002e4dc != 0" identifier != number_literal) )) (compound_statement "{\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" { (expression_statement "piVar1 = DAT_0002e4e4 + DAT_0002e4dc;" (assignment_expression "piVar1 = DAT_0002e4e4 + DAT_0002e4dc" identifier = (binary_expression "DAT_0002e4e4 + DAT_0002e4dc" identifier + identifier)) ;) (expression_statement "piVar6 = DAT_0002e4e4;" (assignment_expression "piVar6 = DAT_0002e4e4" identifier = identifier) ;) (do_statement "do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);" do (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    }" { (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }" if (parenthesized_expression "(((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0))" ( (binary_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" (parenthesized_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0)" ( (binary_expression "(*(byte *)(*piVar2 + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(*piVar2 + 0x1c) & 8)" ( (binary_expression "*(byte *)(*piVar2 + 0x1c) & 8" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" * (cast_expression "(byte *)(*piVar2 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" ( (binary_expression "(*(byte *)(piVar2[1] + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(piVar2[1] + 0x1c) & 8)" ( (binary_expression "*(byte *)(piVar2[1] + 0x1c) & 8" (pointer_expression "*(byte *)(piVar2[1] + 0x1c)" * (cast_expression "(byte *)(piVar2[1] + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2[1] + 0x1c)" ( (binary_expression "piVar2[1] + 0x1c" (subscript_expression "piVar2[1]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        piVar2[9] = 1;\n      }" { (expression_statement "piVar2[9] = 1;" (assignment_expression "piVar2[9] = 1" (subscript_expression "piVar2[9]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar6)" ( (binary_expression "piVar1 != piVar6" identifier != identifier) )) ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "FUN_00015d90(uVar4,local_20);" (call_expression "FUN_00015d90(uVar4,local_20)" identifier (argument_list "(uVar4,local_20)" ( identifier , identifier ))) ;) (if_statement "if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" if (parenthesized_expression "(DAT_0002e520 != 0)" ( (binary_expression "DAT_0002e520 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" { (do_statement "do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);" do (compound_statement "{\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    }" { (while_statement "while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" while (parenthesized_expression "(iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8)" ( (comma_expression "iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (assignment_expression "iVar5 = DAT_0002e524 + iVar7" identifier = (binary_expression "DAT_0002e524 + iVar7" identifier + identifier)) , (binary_expression "(*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 0x18)" ( (binary_expression "*(byte *)(iVar5 + 0x1c) & 0x18" (pointer_expression "*(byte *)(iVar5 + 0x1c)" * (cast_expression "(byte *)(iVar5 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" { (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" identifier = (binary_expression "iVar7 + 0xfc" identifier + number_literal)) ;) (if_statement "if (DAT_0002e520 <= uVar8) goto LAB_00017f30;" if (parenthesized_expression "(DAT_0002e520 <= uVar8)" ( (binary_expression "DAT_0002e520 <= uVar8" identifier <= identifier) )) (goto_statement "goto LAB_00017f30;" goto statement_identifier ;)) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" identifier = (binary_expression "iVar7 + 0xfc" identifier + number_literal)) ;) (expression_statement "puts(*(char **)(iVar5 + 0x10));" (call_expression "puts(*(char **)(iVar5 + 0x10))" identifier (argument_list "(*(char **)(iVar5 + 0x10))" ( (pointer_expression "*(char **)(iVar5 + 0x10)" * (cast_expression "(char **)(iVar5 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) ))) ;) }) while (parenthesized_expression "(uVar8 < DAT_0002e520)" ( (binary_expression "uVar8 < DAT_0002e520" identifier < identifier) )) ;) })) (labeled_statement "LAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" statement_identifier : (expression_statement "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" (call_expression "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" identifier (argument_list "(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" ( identifier , identifier , number_literal , identifier ))) ;)) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (if_statement "if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" if (parenthesized_expression "(DAT_0002e4f8 != 0)" ( (binary_expression "DAT_0002e4f8 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" { (do_statement "do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);" do (compound_statement "{\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar7 = local_38 * 0xc;" (assignment_expression "iVar7 = local_38 * 0xc" identifier = (binary_expression "local_38 * 0xc" identifier * number_literal)) ;) (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" if (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 "{\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }" { (labeled_statement "LAB_00017fca:\n        __s = pcVar3;" statement_identifier : (expression_statement "__s = pcVar3;" (assignment_expression "__s = pcVar3" identifier = identifier) ;)) (if_statement "if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" if (parenthesized_expression "(DAT_0002e520 != 0)" ( (binary_expression "DAT_0002e520 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);" do (compound_statement "{\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          }" { (expression_statement "iVar5 = uVar8 * 0xfc + DAT_0002e524;" (assignment_expression "iVar5 = uVar8 * 0xfc + DAT_0002e524" identifier = (binary_expression "uVar8 * 0xfc + DAT_0002e524" (binary_expression "uVar8 * 0xfc" identifier * number_literal) + identifier)) ;) (if_statement "if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" if (parenthesized_expression "((*(byte *)(iVar5 + 0x1c) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar5 + 0x1c) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 8)" ( (binary_expression "*(byte *)(iVar5 + 0x1c) & 8" (pointer_expression "*(byte *)(iVar5 + 0x1c)" * (cast_expression "(byte *)(iVar5 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" { (expression_statement "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);" (assignment_expression "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" identifier = (call_expression "filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" identifier (argument_list "(*(undefined4 *)(iVar5 + 0x10),__s)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" * (cast_expression "(undefined4 *)(iVar5 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" { (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (uVar8 == DAT_0002e520) goto LAB_00018015;" if (parenthesized_expression "(uVar8 == DAT_0002e520)" ( (binary_expression "uVar8 == DAT_0002e520" identifier == identifier) )) (goto_statement "goto LAB_00018015;" goto statement_identifier ;)) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;) })) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) })) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 < DAT_0002e520)" ( (binary_expression "uVar8 < DAT_0002e520" identifier < identifier) )) ;) (if_statement "if (uVar8 != DAT_0002e520) goto LAB_00017f70;" if (parenthesized_expression "(uVar8 != DAT_0002e520)" ( (binary_expression "uVar8 != DAT_0002e520" identifier != identifier) )) (goto_statement "goto LAB_00017f70;" goto statement_identifier ;)) })) (labeled_statement "LAB_00018015:\n        puts(__s);" statement_identifier : (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;)) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" else (compound_statement "{\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" { (expression_statement "iVar5 = filename_cmp(__s,pcVar3);" (assignment_expression "iVar5 = filename_cmp(__s,pcVar3)" identifier = (call_expression "filename_cmp(__s,pcVar3)" identifier (argument_list "(__s,pcVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" { (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" identifier = (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" * (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" ( (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (goto_statement "goto LAB_00017fca;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00017f70:\n      local_38 = local_38 + 1;" statement_identifier : (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_38 < DAT_0002e4f8)" ( (binary_expression "local_38 < DAT_0002e4f8" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT << LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00017e50(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00017e50(void)" (identifier "FUN_00017e50") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  char *__s;\n  int iVar7;\n  uint uVar8;\n  uint local_38;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x17e59;\n  local_20[0] = 0;\n  uVar4 = xmalloc(DAT_0002e4dc << 2);\n  if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }\n  iVar7 = 0;\n  uVar8 = 0;\n  FUN_00015d90(uVar4,local_20);\n  if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }\nLAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);\n  __s = (char *)0x0;\n  local_38 = 0;\n  if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x17e59;" (assignment_expression "uStack_14 = 0x17e59" (identifier "uStack_14") (= "=") (number_literal "0x17e59")) (; ";")) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = xmalloc(DAT_0002e4dc << 2);" (assignment_expression "uVar4 = xmalloc(DAT_0002e4dc << 2)" (identifier "uVar4") (= "=") (call_expression "xmalloc(DAT_0002e4dc << 2)" (identifier "xmalloc") (argument_list "(DAT_0002e4dc << 2)" (( "(") (binary_expression "DAT_0002e4dc << 2" (identifier "DAT_0002e4dc") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (DAT_0002e4dc != 0) {\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" (if "if") (parenthesized_expression "(DAT_0002e4dc != 0)" (( "(") (binary_expression "DAT_0002e4dc != 0" (identifier "DAT_0002e4dc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;\n    piVar6 = DAT_0002e4e4;\n    do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);\n  }" ({ "{") (expression_statement "piVar1 = DAT_0002e4e4 + DAT_0002e4dc;" (assignment_expression "piVar1 = DAT_0002e4e4 + DAT_0002e4dc" (identifier "piVar1") (= "=") (binary_expression "DAT_0002e4e4 + DAT_0002e4dc" (identifier "DAT_0002e4e4") (+ "+") (identifier "DAT_0002e4dc"))) (; ";")) (expression_statement "piVar6 = DAT_0002e4e4;" (assignment_expression "piVar6 = DAT_0002e4e4" (identifier "piVar6") (= "=") (identifier "DAT_0002e4e4")) (; ";")) (do_statement "do {\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    } while (piVar1 != piVar6);" (do "do") (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }\n      piVar6 = piVar6 + 1;\n    }" ({ "{") (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {\n        piVar2[9] = 1;\n      }" (if "if") (parenthesized_expression "(((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0))" (( "(") (binary_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" (parenthesized_expression "((*(byte *)(*piVar2 + 0x1c) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(*piVar2 + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(*piVar2 + 0x1c) & 8)" (( "(") (binary_expression "*(byte *)(*piVar2 + 0x1c) & 8" (pointer_expression "*(byte *)(*piVar2 + 0x1c)" (* "*") (cast_expression "(byte *)(*piVar2 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x1c)" (( "(") (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(piVar2[1] + 0x1c) & 8) == 0" (parenthesized_expression "(*(byte *)(piVar2[1] + 0x1c) & 8)" (( "(") (binary_expression "*(byte *)(piVar2[1] + 0x1c) & 8" (pointer_expression "*(byte *)(piVar2[1] + 0x1c)" (* "*") (cast_expression "(byte *)(piVar2[1] + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2[1] + 0x1c)" (( "(") (binary_expression "piVar2[1] + 0x1c" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        piVar2[9] = 1;\n      }" ({ "{") (expression_statement "piVar2[9] = 1;" (assignment_expression "piVar2[9] = 1" (subscript_expression "piVar2[9]" (identifier "piVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != piVar6)" (( "(") (binary_expression "piVar1 != piVar6" (identifier "piVar1") (!= "!=") (identifier "piVar6")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00015d90(uVar4,local_20);" (call_expression "FUN_00015d90(uVar4,local_20)" (identifier "FUN_00015d90") (argument_list "(uVar4,local_20)" (( "(") (identifier "uVar4") (, ",") (identifier "local_20") () ")"))) (; ";")) (if_statement "if (DAT_0002e520 != 0) {\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" (if "if") (parenthesized_expression "(DAT_0002e520 != 0)" (( "(") (binary_expression "DAT_0002e520 != 0" (identifier "DAT_0002e520") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);\n  }" ({ "{") (do_statement "do {\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    } while (uVar8 < DAT_0002e520);" (do "do") (compound_statement "{\n      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }\n      uVar8 = uVar8 + 1;\n      iVar7 = iVar7 + 0xfc;\n      puts(*(char **)(iVar5 + 0x10));\n    }" ({ "{") (while_statement "while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" (while "while") (parenthesized_expression "(iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8)" (( "(") (comma_expression "iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (assignment_expression "iVar5 = DAT_0002e524 + iVar7" (identifier "iVar5") (= "=") (binary_expression "DAT_0002e524 + iVar7" (identifier "DAT_0002e524") (+ "+") (identifier "iVar7"))) (, ",") (binary_expression "(*(byte *)(iVar5 + 0x1c) & 0x18) != 8" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 0x18)" (( "(") (binary_expression "*(byte *)(iVar5 + 0x1c) & 0x18" (pointer_expression "*(byte *)(iVar5 + 0x1c)" (* "*") (cast_expression "(byte *)(iVar5 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x1c)" (( "(") (binary_expression "iVar5 + 0x1c" (identifier "iVar5") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "0x18")) () ")")) (!= "!=") (number_literal "8"))) () ")")) (compound_statement "{\n        uVar8 = uVar8 + 1;\n        iVar7 = iVar7 + 0xfc;\n        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;\n      }" ({ "{") (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0xfc" (identifier "iVar7") (+ "+") (number_literal "0xfc"))) (; ";")) (if_statement "if (DAT_0002e520 <= uVar8) goto LAB_00017f30;" (if "if") (parenthesized_expression "(DAT_0002e520 <= uVar8)" (( "(") (binary_expression "DAT_0002e520 <= uVar8" (identifier "DAT_0002e520") (<= "<=") (identifier "uVar8")) () ")")) (goto_statement "goto LAB_00017f30;" (goto "goto") (statement_identifier "LAB_00017f30") (; ";"))) (} "}"))) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar7 + 0xfc;" (assignment_expression "iVar7 = iVar7 + 0xfc" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0xfc" (identifier "iVar7") (+ "+") (number_literal "0xfc"))) (; ";")) (expression_statement "puts(*(char **)(iVar5 + 0x10));" (call_expression "puts(*(char **)(iVar5 + 0x10))" (identifier "puts") (argument_list "(*(char **)(iVar5 + 0x10))" (( "(") (pointer_expression "*(char **)(iVar5 + 0x10)" (* "*") (cast_expression "(char **)(iVar5 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 < DAT_0002e520)" (( "(") (binary_expression "uVar8 < DAT_0002e520" (identifier "uVar8") (< "<") (identifier "DAT_0002e520")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00017f30:\n  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" (statement_identifier "LAB_00017f30") (: ":") (expression_statement "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);" (call_expression "qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" (identifier "qsort") (argument_list "(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0)" (( "(") (identifier "DAT_0002e4f4") (, ",") (identifier "DAT_0002e4f8") (, ",") (number_literal "0xc") (, ",") (identifier "FUN_000167e0") () ")"))) (; ";"))) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" (identifier "__s") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (if_statement "if (DAT_0002e4f8 != 0) {\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" (if "if") (parenthesized_expression "(DAT_0002e4f8 != 0)" (( "(") (binary_expression "DAT_0002e4f8 != 0" (identifier "DAT_0002e4f8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);\n  }" ({ "{") (do_statement "do {\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    } while (local_38 < DAT_0002e4f8);" (do "do") (compound_statement "{\n      iVar7 = local_38 * 0xc;\n      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }\nLAB_00017f70:\n      local_38 = local_38 + 1;\n    }" ({ "{") (expression_statement "iVar7 = local_38 * 0xc;" (assignment_expression "iVar7 = local_38 * 0xc" (identifier "iVar7") (= "=") (binary_expression "local_38 * 0xc" (identifier "local_38") (* "*") (number_literal "0xc"))) (; ";")) (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (* "*") (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0002e4f4")) (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (__s == (char *)0x0) {\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }\n      else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" (if "if") (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 "{\nLAB_00017fca:\n        __s = pcVar3;\n        if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }\nLAB_00018015:\n        puts(__s);\n        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n      }" ({ "{") (labeled_statement "LAB_00017fca:\n        __s = pcVar3;" (statement_identifier "LAB_00017fca") (: ":") (expression_statement "__s = pcVar3;" (assignment_expression "__s = pcVar3" (identifier "__s") (= "=") (identifier "pcVar3")) (; ";"))) (if_statement "if (DAT_0002e520 != 0) {\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" (if "if") (parenthesized_expression "(DAT_0002e520 != 0)" (( "(") (binary_expression "DAT_0002e520 != 0" (identifier "DAT_0002e520") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar8 = 0;\n          do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);\n          if (uVar8 != DAT_0002e520) goto LAB_00017f70;\n        }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          } while (uVar8 < DAT_0002e520);" (do "do") (compound_statement "{\n            iVar5 = uVar8 * 0xfc + DAT_0002e524;\n            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }\n            uVar8 = uVar8 + 1;\n          }" ({ "{") (expression_statement "iVar5 = uVar8 * 0xfc + DAT_0002e524;" (assignment_expression "iVar5 = uVar8 * 0xfc + DAT_0002e524" (identifier "iVar5") (= "=") (binary_expression "uVar8 * 0xfc + DAT_0002e524" (binary_expression "uVar8 * 0xfc" (identifier "uVar8") (* "*") (number_literal "0xfc")) (+ "+") (identifier "DAT_0002e524"))) (; ";")) (if_statement "if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" (if "if") (parenthesized_expression "((*(byte *)(iVar5 + 0x1c) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(iVar5 + 0x1c) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0x1c) & 8)" (( "(") (binary_expression "*(byte *)(iVar5 + 0x1c) & 8" (pointer_expression "*(byte *)(iVar5 + 0x1c)" (* "*") (cast_expression "(byte *)(iVar5 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x1c)" (( "(") (binary_expression "iVar5 + 0x1c" (identifier "iVar5") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);\n              if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }\n              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n            }" ({ "{") (expression_statement "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);" (assignment_expression "iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" (identifier "iVar5") (= "=") (call_expression "filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s)" (identifier "filename_cmp") (argument_list "(*(undefined4 *)(iVar5 + 0x10),__s)" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "__s") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n                if (uVar8 == DAT_0002e520) goto LAB_00018015;\n                goto LAB_00017f70;\n              }" ({ "{") (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (identifier "__s") (= "=") (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (* "*") (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0002e4f4")) (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (uVar8 == DAT_0002e520) goto LAB_00018015;" (if "if") (parenthesized_expression "(uVar8 == DAT_0002e520)" (( "(") (binary_expression "uVar8 == DAT_0002e520" (identifier "uVar8") (== "==") (identifier "DAT_0002e520")) () ")")) (goto_statement "goto LAB_00018015;" (goto "goto") (statement_identifier "LAB_00018015") (; ";"))) (goto_statement "goto LAB_00017f70;" (goto "goto") (statement_identifier "LAB_00017f70") (; ";")) (} "}"))) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (identifier "__s") (= "=") (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (* "*") (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0002e4f4")) (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 < DAT_0002e520)" (( "(") (binary_expression "uVar8 < DAT_0002e520" (identifier "uVar8") (< "<") (identifier "DAT_0002e520")) () ")")) (; ";")) (if_statement "if (uVar8 != DAT_0002e520) goto LAB_00017f70;" (if "if") (parenthesized_expression "(uVar8 != DAT_0002e520)" (( "(") (binary_expression "uVar8 != DAT_0002e520" (identifier "uVar8") (!= "!=") (identifier "DAT_0002e520")) () ")")) (goto_statement "goto LAB_00017f70;" (goto "goto") (statement_identifier "LAB_00017f70") (; ";"))) (} "}"))) (labeled_statement "LAB_00018015:\n        puts(__s);" (statement_identifier "LAB_00018015") (: ":") (expression_statement "puts(__s);" (call_expression "puts(__s)" (identifier "puts") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";"))) (expression_statement "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "__s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (identifier "__s") (= "=") (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (* "*") (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0002e4f4")) (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" (else "else") (compound_statement "{\n        iVar5 = filename_cmp(__s,pcVar3);\n        if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }\n      }" ({ "{") (expression_statement "iVar5 = filename_cmp(__s,pcVar3);" (assignment_expression "iVar5 = filename_cmp(__s,pcVar3)" (identifier "iVar5") (= "=") (call_expression "filename_cmp(__s,pcVar3)" (identifier "filename_cmp") (argument_list "(__s,pcVar3)" (( "(") (identifier "__s") (, ",") (identifier "pcVar3") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);\n          goto LAB_00017fca;\n        }" ({ "{") (expression_statement "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);" (assignment_expression "pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (* "*") (cast_expression "(char **)((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)DAT_0002e4f4 + iVar7 + 4)" (( "(") (binary_expression "(int)DAT_0002e4f4 + iVar7 + 4" (binary_expression "(int)DAT_0002e4f4 + iVar7" (cast_expression "(int)DAT_0002e4f4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_0002e4f4")) (+ "+") (identifier "iVar7")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_00017fca;" (goto "goto") (statement_identifier "LAB_00017fca") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_00017f70:\n      local_38 = local_38 + 1;" (statement_identifier "LAB_00017f70") (: ":") (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(local_38 < DAT_0002e4f8)" (( "(") (binary_expression "local_38 < DAT_0002e4f8" (identifier "local_38") (< "<") (identifier "DAT_0002e4f8")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 **var_5;
  type_1 *pAVar2;
  char *pcVar3;
  type_1 **the_arcs;
  int var_11;
  type_1 **var_4;
  char *var_15;
  int var_8;
  type_2 var_9;
  int in_stack_ffffffbc;
  type_1 **in_stack_ffffffc0;
  type_3 *in_stack_ffffffc4;
  type_2 var_14;
  type_3 var_7;
  type_4 uStack_14;
  
  uStack_14 = 0x17e59;
  var_7 = 0;
  the_arcs = (type_1 **)var_1(var_2 << 2);
  var_9 = var_2;
  if (var_2 != 0) {
    var_5 = var_3 + var_2;
    var_4 = var_3;
    do {
      pAVar2 = *var_4;
      if (((pAVar2->parent->field_0x1c & 8) == 0) || ((pAVar2->child->field_0x1c & 8) == 0)) {
        pAVar2->has_been_placed = 1;
      }
      var_4 = var_4 + 1;
      in_stack_ffffffc4 = (type_3 *)var_9;
    } while (var_5 != var_4);
  }
  var_8 = 0;
  var_9 = 0;
  var_6
            (the_arcs,(type_3)&var_7,in_stack_ffffffbc,in_stack_ffffffc0,
             in_stack_ffffffc4);
  if (symtab.len != 0) {
    do {
      while ((*(type_5 *)((int)(symtab.base)->bb_addr + var_8 + -0xc) & 0x18) != 8) {
        var_9 = var_9 + 1;
        var_8 = var_8 + 0xfc;
        if (symtab.len <= var_9) goto LAB_00017f30;
      }
      var_11 = var_8 + -0x18;
      var_9 = var_9 + 1;
      var_8 = var_8 + 0xfc;
      var_10(*(char **)((int)(symtab.base)->bb_addr + var_11));
    } while (var_9 < symtab.len);
  }
LAB_00017f30:
  var_12(symbol_map,var_13,0xc,cmp_symbol_map);
  var_15 = (char *)0x0;
  var_14 = 0;
  if (var_13 != 0) {
    do {
      var_8 = var_14 * 0xc;
      pcVar3 = symbol_map[var_14].file_name;
      if (var_15 == (char *)0x0) {
LAB_00017fca:
        var_15 = pcVar3;
        if (symtab.len != 0) {
          var_9 = 0;
          do {
            if ((symtab.base[var_9].field_0x1c & 8) != 0) {
              var_11 = var_16(symtab.base[var_9].name,var_15);
              if (var_11 == 0) {
                var_15 = *(char **)((int)&symbol_map->file_name + var_8);
                if (var_9 == symtab.len) goto LAB_00018015;
                goto LAB_00017f70;
              }
              var_15 = *(char **)((int)&symbol_map->file_name + var_8);
            }
            var_9 = var_9 + 1;
          } while (var_9 < symtab.len);
          if (var_9 != symtab.len) goto LAB_00017f70;
        }
LAB_00018015:
        var_10(var_15);
        var_15 = *(char **)((int)&symbol_map->file_name + var_8);
      }
      else {
        var_11 = var_16(var_15,symbol_map[var_14].file_name);
        if (var_11 != 0) {
          pcVar3 = *(char **)((int)&symbol_map->file_name + var_8);
          goto LAB_00017fca;
        }
      }
LAB_00017f70:
      var_14 = var_14 + 1;
    } while (var_14 < var_13);
  }
  return;
}


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

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

void MASKED(void)

{
  int *piVar1;
  int *piVar2;
  char *pcVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  char *__s;
  int iVar7;
  uint uVar8;
  uint local_38;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x17e59;
  local_20[0] = 0;
  uVar4 = xmalloc(DAT_0002e4dc << 2);
  if (DAT_0002e4dc != 0) {
    piVar1 = DAT_0002e4e4 + DAT_0002e4dc;
    piVar6 = DAT_0002e4e4;
    do {
      piVar2 = (int *)*piVar6;
      if (((*(byte *)(*piVar2 + 0x1c) & 8) == 0) || ((*(byte *)(piVar2[1] + 0x1c) & 8) == 0)) {
        piVar2[9] = 1;
      }
      piVar6 = piVar6 + 1;
    } while (piVar1 != piVar6);
  }
  iVar7 = 0;
  uVar8 = 0;
  FUN_00015d90(uVar4,local_20);
  if (DAT_0002e520 != 0) {
    do {
      while (iVar5 = DAT_0002e524 + iVar7, (*(byte *)(iVar5 + 0x1c) & 0x18) != 8) {
        uVar8 = uVar8 + 1;
        iVar7 = iVar7 + 0xfc;
        if (DAT_0002e520 <= uVar8) goto LAB_00017f30;
      }
      uVar8 = uVar8 + 1;
      iVar7 = iVar7 + 0xfc;
      puts(*(char **)(iVar5 + 0x10));
    } while (uVar8 < DAT_0002e520);
  }
LAB_00017f30:
  qsort(DAT_0002e4f4,DAT_0002e4f8,0xc,FUN_000167e0);
  __s = (char *)0x0;
  local_38 = 0;
  if (DAT_0002e4f8 != 0) {
    do {
      iVar7 = local_38 * 0xc;
      pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
      if (__s == (char *)0x0) {
LAB_00017fca:
        __s = pcVar3;
        if (DAT_0002e520 != 0) {
          uVar8 = 0;
          do {
            iVar5 = uVar8 * 0xfc + DAT_0002e524;
            if ((*(byte *)(iVar5 + 0x1c) & 8) != 0) {
              iVar5 = filename_cmp(*(undefined4 *)(iVar5 + 0x10),__s);
              if (iVar5 == 0) {
                __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
                if (uVar8 == DAT_0002e520) goto LAB_00018015;
                goto LAB_00017f70;
              }
              __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
            }
            uVar8 = uVar8 + 1;
          } while (uVar8 < DAT_0002e520);
          if (uVar8 != DAT_0002e520) goto LAB_00017f70;
        }
LAB_00018015:
        puts(__s);
        __s = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
      }
      else {
        iVar5 = filename_cmp(__s,pcVar3);
        if (iVar5 != 0) {
          pcVar3 = *(char **)((int)DAT_0002e4f4 + iVar7 + 4);
          goto LAB_00017fca;
        }
      }
LAB_00017f70:
      local_38 = local_38 + 1;
    } while (local_38 < DAT_0002e4f8);
  }
  return;
}

