
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void mri_draw_tree(void)

{
  char *pcVar1;
  section_name_struct *psVar2;
  section_name_struct *psVar3;
  int iVar4;
  section_name_struct **ppsVar5;
  wildcard_list *pwVar6;
  section_name_struct *psVar7;
  etree_type *peVar8;
  section_name_struct *psVar9;
  section_name_struct *psVar10;
  etree_type *peVar11;
  etree_type *subalign;
  
  if (done_tree != 0) {
    return;
  }
  psVar10 = order;
  if (address != (section_name_struct *)0x0) {
    psVar7 = address;
    if (order == (section_name_struct *)0x0) {
      psVar10 = address;
      order = address;
    }
    do {
      pcVar1 = psVar7->name;
      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {
        iVar4 = strcmp(pcVar1,psVar9->name);
        if (iVar4 == 0) {
          psVar3 = psVar7->next;
          psVar9->vma = psVar7->vma;
          goto joined_r0x001224d7;
        }
      }
      peVar11 = psVar7->vma;
      ppsVar5 = lookup(pcVar1,&order);
      psVar10 = order;
      psVar9 = *ppsVar5;
      psVar9->next = (section_name_struct *)0x0;
      psVar2 = *ppsVar5;
      psVar3 = psVar7->next;
      psVar9->name = pcVar1;
      psVar9->vma = peVar11;
      psVar2->ok_to_load = 0;
      psVar2->alias = (char *)0x0;
      psVar2->align = (etree_type *)0x0;
      psVar2->subalign = (etree_type *)0x0;
joined_r0x001224d7:
      psVar7 = psVar3;
    } while (psVar3 != (section_name_struct *)0x0);
  }
  if (only_load == (section_name_struct *)0x0) {
    psVar7 = psVar10;
    if (psVar10 == (section_name_struct *)0x0) {
      done_tree = 1;
      return;
    }
    do {
      psVar7->ok_to_load = 1;
      psVar7 = psVar7->next;
    } while (psVar7 != (section_name_struct *)0x0);
  }
  else {
    psVar7 = only_load;
    if (psVar10 == (section_name_struct *)0x0) {
      psVar10 = only_load;
      order = only_load;
    }
    do {
      pcVar1 = psVar7->name;
      psVar9 = psVar10;
      do {
        iVar4 = strcmp(psVar9->name,pcVar1);
        if (iVar4 == 0) {
          psVar9->ok_to_load = 1;
        }
        psVar9 = psVar9->next;
      } while (psVar9 != (section_name_struct *)0x0);
      ppsVar5 = &psVar7->next;
      psVar7 = *ppsVar5;
    } while (*ppsVar5 != (section_name_struct *)0x0);
  }
  do {
    if (alignment == (section_name_struct *)0x0) {
      peVar11 = (etree_type *)0x0;
    }
    else {
      pcVar1 = psVar10->name;
      peVar11 = (etree_type *)0x0;
      psVar7 = alignment;
      do {
        iVar4 = strcmp(psVar7->name,pcVar1);
        if (iVar4 == 0) {
          peVar11 = psVar7->align;
        }
        psVar7 = psVar7->next;
      } while (psVar7 != (section_name_struct *)0x0);
    }
    if (subalignment == (section_name_struct *)0x0) {
      subalign = (etree_type *)0x0;
    }
    else {
      pcVar1 = psVar10->name;
      subalign = (etree_type *)0x0;
      psVar7 = subalignment;
      do {
        iVar4 = strcmp(psVar7->name,pcVar1);
        if (iVar4 == 0) {
          subalign = psVar7->subalign;
        }
        psVar7 = psVar7->next;
      } while (psVar7 != (section_name_struct *)0x0);
    }
    peVar8 = base;
    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {
      peVar8 = exp_nameop(0x103,".");
    }
    base = peVar8;
    lang_enter_output_section_statement
              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,
               (etree_type *)0x0,0,0);
    base = (etree_type *)0x0;
    pwVar6 = (wildcard_list *)xmalloc();
    pcVar1 = psVar10->name;
    pwVar6->next = (wildcard_list *)0x0;
    (pwVar6->spec).name = pcVar1;
    (pwVar6->spec).exclude_name_list = (name_list *)0x0;
    (pwVar6->spec).sorted = none;
    (pwVar6->spec).section_flag_list = (flag_info *)0x0;
    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);
    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {
      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {
        psVar7 = psVar7->next;
        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;
      }
      pwVar6 = (wildcard_list *)xmalloc();
      pcVar1 = psVar7->name;
      pwVar6->next = (wildcard_list *)0x0;
      (pwVar6->spec).name = pcVar1;
      (pwVar6->spec).exclude_name_list = (name_list *)0x0;
      (pwVar6->spec).sorted = none;
      (pwVar6->spec).section_flag_list = (flag_info *)0x0;
      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);
    }
LAB_0012270d:
    lang_leave_output_section_statement
              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);
    psVar10 = psVar10->next;
    if (psVar10 == (section_name_struct *)0x0) {
      done_tree = 1;
      return;
    }
  } while( true );
}



void FUN_00122480(void)

{
  char *pcVar1;
  undefined8 uVar2;
  undefined8 *puVar3;
  int iVar4;
  long *plVar5;
  undefined8 *puVar6;
  long lVar7;
  undefined8 *puVar8;
  undefined8 *puVar9;
  long lVar10;
  long lVar11;
  
  if (DAT_002a5438 != 0) {
    return;
  }
  puVar9 = DAT_002a5468;
  if (DAT_002a5458 != (undefined8 *)0x0) {
    puVar6 = DAT_002a5458;
    if (DAT_002a5468 == (undefined8 *)0x0) {
      puVar9 = DAT_002a5458;
      DAT_002a5468 = DAT_002a5458;
    }
    do {
      pcVar1 = (char *)puVar6[1];
      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {
        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);
        if (iVar4 == 0) {
          puVar3 = (undefined8 *)*puVar6;
          puVar8[3] = puVar6[3];
          goto joined_r0x001224d7;
        }
      }
      uVar2 = puVar6[3];
      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);
      puVar9 = DAT_002a5468;
      puVar8 = (undefined8 *)*plVar5;
      *puVar8 = 0;
      lVar10 = *plVar5;
      puVar3 = (undefined8 *)*puVar6;
      puVar8[1] = pcVar1;
      puVar8[3] = uVar2;
      *(undefined4 *)(lVar10 + 0x30) = 0;
      *(undefined8 *)(lVar10 + 0x10) = 0;
      *(undefined8 *)(lVar10 + 0x20) = 0;
      *(undefined8 *)(lVar10 + 0x28) = 0;
joined_r0x001224d7:
      puVar6 = puVar3;
    } while (puVar3 != (undefined8 *)0x0);
  }
  if (DAT_002a5460 == (undefined8 *)0x0) {
    puVar6 = puVar9;
    if (puVar9 == (undefined8 *)0x0) {
      DAT_002a5438 = 1;
      return;
    }
    do {
      *(undefined4 *)(puVar6 + 6) = 1;
      puVar6 = (undefined8 *)*puVar6;
    } while (puVar6 != (undefined8 *)0x0);
  }
  else {
    puVar6 = DAT_002a5460;
    if (puVar9 == (undefined8 *)0x0) {
      puVar9 = DAT_002a5460;
      DAT_002a5468 = DAT_002a5460;
    }
    do {
      pcVar1 = (char *)puVar6[1];
      puVar8 = puVar9;
      do {
        iVar4 = strcmp((char *)puVar8[1],pcVar1);
        if (iVar4 == 0) {
          *(undefined4 *)(puVar8 + 6) = 1;
        }
        puVar8 = (undefined8 *)*puVar8;
      } while (puVar8 != (undefined8 *)0x0);
      puVar6 = (undefined8 *)*puVar6;
    } while (puVar6 != (undefined8 *)0x0);
  }
  do {
    if (DAT_002a5448 == (long *)0x0) {
      lVar10 = 0;
    }
    else {
      pcVar1 = (char *)puVar9[1];
      lVar10 = 0;
      plVar5 = DAT_002a5448;
      do {
        iVar4 = strcmp((char *)plVar5[1],pcVar1);
        if (iVar4 == 0) {
          lVar10 = plVar5[4];
        }
        plVar5 = (long *)*plVar5;
      } while (plVar5 != (long *)0x0);
    }
    if (DAT_002a5440 == (long *)0x0) {
      lVar11 = 0;
    }
    else {
      pcVar1 = (char *)puVar9[1];
      lVar11 = 0;
      plVar5 = DAT_002a5440;
      do {
        iVar4 = strcmp((char *)plVar5[1],pcVar1);
        if (iVar4 == 0) {
          lVar11 = plVar5[5];
        }
        plVar5 = (long *)*plVar5;
      } while (plVar5 != (long *)0x0);
    }
    lVar7 = DAT_002a5470;
    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {
      lVar7 = FUN_00127530(0x103,".");
    }
    DAT_002a5470 = lVar7;
    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);
    DAT_002a5470 = 0;
    puVar6 = (undefined8 *)xmalloc(0x28);
    uVar2 = puVar9[1];
    *puVar6 = 0;
    puVar6[1] = uVar2;
    puVar6[2] = 0;
    *(undefined4 *)(puVar6 + 3) = 0;
    puVar6[4] = 0;
    FUN_0011e560(0,puVar6,0);
    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {
      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {
        plVar5 = (long *)*plVar5;
        if (plVar5 == (long *)0x0) goto LAB_0012270d;
      }
      puVar6 = (undefined8 *)xmalloc(0x28);
      lVar10 = plVar5[1];
      *puVar6 = 0;
      puVar6[1] = lVar10;
      puVar6[2] = 0;
      *(undefined4 *)(puVar6 + 3) = 0;
      puVar6[4] = 0;
      FUN_0011e560(0,puVar6,0);
    }
LAB_0012270d:
    FUN_0011ec30(0,"*default*",0,0);
    puVar9 = (undefined8 *)*puVar9;
    if (puVar9 == (undefined8 *)0x0) {
      DAT_002a5438 = 1;
      return;
    }
  } while( true );
}


MOV ESI,dword ptr [0x002a5438]
TEST ESI,ESI
JNZ 0x00122780
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV R13,qword ptr [0x002a5458]
MOV RBP,qword ptr [0x002a5468]
TEST R13,R13
JZ 0x00122558
TEST RBP,RBP
JZ 0x001227ba
LEA R14,[0x2a5468]
JMP 0x001224d9
MOV RAX,qword ptr [R13 + 0x18]
MOV R13,qword ptr [R13]
MOV qword ptr [RBX + 0x18],RAX
TEST R13,R13
JZ 0x00122558
MOV R12,qword ptr [R13 + 0x8]
MOV RBX,RBP
TEST RBP,RBP
JZ 0x00122500
NOP dword ptr [RAX]
MOV RSI,qword ptr [RBX + 0x8]
MOV RDI,R12
CALL 0x0010d780
TEST EAX,EAX
JZ 0x001224c8
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x001224e8
MOV RSI,R14
MOV RDI,R12
MOV RBX,qword ptr [R13 + 0x18]
CALL 0x00122370
MOV RBP,qword ptr [0x002a5468]
MOV RDX,qword ptr [RAX]
MOV qword ptr [RDX],0x0
MOV RAX,qword ptr [RAX]
MOV R13,qword ptr [R13]
MOV qword ptr [RDX + 0x8],R12
MOV qword ptr [RDX + 0x18],RBX
MOV dword ptr [RAX + 0x30],0x0
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [RAX + 0x20],0x0
MOV qword ptr [RAX + 0x28],0x0
TEST R13,R13
JNZ 0x001224d9
NOP dword ptr [RAX + RAX*0x1]
MOV R13,qword ptr [0x002a5460]
TEST R13,R13
JZ 0x00122781
TEST RBP,RBP
JZ 0x001227c9
NOP dword ptr [RAX]
MOV R12,qword ptr [R13 + 0x8]
MOV RBX,RBP
NOP
MOV RDI,qword ptr [RBX + 0x8]
MOV RSI,R12
CALL 0x0010d780
TEST EAX,EAX
JNZ 0x00122597
MOV dword ptr [RBX + 0x30],0x1
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x00122580
MOV R13,qword ptr [R13]
TEST R13,R13
JNZ 0x00122578
XOR R12D,R12D
NOP dword ptr [RAX + RAX*0x1]
MOV RBX,qword ptr [0x002a5448]
TEST RBX,RBX
JZ 0x00122770
MOV R13,qword ptr [RBP + 0x8]
XOR R14D,R14D
NOP word ptr [RAX + RAX*0x1]
MOV RDI,qword ptr [RBX + 0x8]
MOV RSI,R13
CALL 0x0010d780
TEST EAX,EAX
JNZ 0x001225e4
MOV R14,qword ptr [RBX + 0x20]
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x001225d0
MOV RBX,qword ptr [0x002a5440]
TEST RBX,RBX
JZ 0x00122760
MOV R13,qword ptr [RBP + 0x8]
XOR R15D,R15D
NOP dword ptr [RAX + RAX*0x1]
MOV RDI,qword ptr [RBX + 0x8]
MOV RSI,R13
CALL 0x0010d780
TEST EAX,EAX
JNZ 0x0012261c
MOV R15,qword ptr [RBX + 0x28]
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x00122608
MOV RSI,qword ptr [0x002a5470]
TEST RSI,RSI
JZ 0x00122748
MOV EAX,dword ptr [RBP + 0x30]
MOV RDI,qword ptr [RBP + 0x8]
XOR EDX,EDX
PUSH 0x0
PUSH 0x0
MOV RCX,R14
MOV R8,R15
TEST EAX,EAX
SETZ DL
XOR R9D,R9D
ADD EDX,EDX
CALL 0x0011dea0
MOV EDI,0x28
MOV qword ptr [0x002a5470],R12
CALL 0x0010de70
MOV RDX,qword ptr [RBP + 0x8]
XOR EDI,EDI
MOV qword ptr [RAX],0x0
MOV RSI,RAX
MOV qword ptr [RAX + 0x8],RDX
XOR EDX,EDX
MOV qword ptr [RAX + 0x10],0x0
MOV dword ptr [RAX + 0x18],0x0
MOV qword ptr [RAX + 0x20],0x0
CALL 0x0011e560
MOV RBX,qword ptr [0x002a5450]
POP RDX
POP RCX
TEST RBX,RBX
JNZ 0x001226b8
JMP 0x0012270d
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JZ 0x0012270d
MOV RSI,qword ptr [RBP + 0x8]
MOV RDI,qword ptr [RBX + 0x10]
CALL 0x0010d780
TEST EAX,EAX
JNZ 0x001226b0
MOV EDI,0x28
CALL 0x0010de70
MOV RDX,qword ptr [RBX + 0x8]
XOR EDI,EDI
MOV qword ptr [RAX],0x0
MOV RSI,RAX
MOV qword ptr [RAX + 0x8],RDX
XOR EDX,EDX
MOV qword ptr [RAX + 0x10],0x0
MOV dword ptr [RAX + 0x18],0x0
MOV qword ptr [RAX + 0x20],0x0
CALL 0x0011e560
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x001226b8
XOR ECX,ECX
XOR EDX,EDX
LEA RSI,[0x1610f1]
XOR EDI,EDI
CALL 0x0011ec30
MOV RBP,qword ptr [RBP]
TEST RBP,RBP
JNZ 0x001225b0
MOV dword ptr [0x002a5438],0x1
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RSI,qword ptr [RBP + 0x18]
TEST RSI,RSI
JZ 0x001227a4
MOV qword ptr [0x002a5470],RSI
JMP 0x00122634
XOR R15D,R15D
JMP 0x00122624
XOR R14D,R14D
JMP 0x001225ec
RET
MOV RAX,RBP
TEST RBP,RBP
JZ 0x0012272c
NOP dword ptr [RAX]
MOV dword ptr [RAX + 0x30],0x1
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x00122790
JMP 0x001225a8
LEA RSI,[0x1a0ab6]
MOV EDI,0x103
CALL 0x00127530
MOV RSI,RAX
JMP 0x00122751
MOV qword ptr [0x002a5468],R13
MOV RBP,R13
JMP 0x001224bc
MOV qword ptr [0x002a5468],R13
MOV RBP,R13
JMP 0x00122578
(translation_unit "void FUN_00122480(void)\n\n{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00122480(void)\n\n{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00122480(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined8 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (DAT_002a5438 != 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_002a5438 != 0)" ( (binary_expression "DAT_002a5438 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" identifier = identifier) ;) (if_statement "if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(DAT_002a5458 != (undefined8 *)0x0)" ( (binary_expression "DAT_002a5458 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = DAT_002a5458;" (assignment_expression "puVar6 = DAT_002a5458" identifier = identifier) ;) (if_statement "if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" if (parenthesized_expression "(DAT_002a5468 == (undefined8 *)0x0)" ( (binary_expression "DAT_002a5468 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" { (expression_statement "puVar9 = DAT_002a5458;" (assignment_expression "puVar9 = DAT_002a5458" identifier = identifier) ;) (expression_statement "DAT_002a5468 = DAT_002a5458;" (assignment_expression "DAT_002a5468 = DAT_002a5458" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);" do (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    }" { (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" identifier = (cast_expression "(char *)puVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (for_statement "for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" for ( (assignment_expression "puVar8 = puVar9" identifier = identifier) ; (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar8 = (undefined8 *)*puVar8" identifier = (cast_expression "(undefined8 *)*puVar8" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ) (compound_statement "{\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" { (expression_statement "iVar4 = strcmp(pcVar1,(char *)puVar8[1]);" (assignment_expression "iVar4 = strcmp(pcVar1,(char *)puVar8[1])" identifier = (call_expression "strcmp(pcVar1,(char *)puVar8[1])" identifier (argument_list "(pcVar1,(char *)puVar8[1])" ( identifier , (cast_expression "(char *)puVar8[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" { (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "puVar8[3] = puVar6[3];" (assignment_expression "puVar8[3] = puVar6[3]" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x001224d7;" goto statement_identifier ;) })) })) (expression_statement "uVar2 = puVar6[3];" (assignment_expression "uVar2 = puVar6[3]" identifier = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);" (assignment_expression "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468)" identifier = (cast_expression "(long *)FUN_00122370(pcVar1,&DAT_002a5468)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00122370(pcVar1,&DAT_002a5468)" identifier (argument_list "(pcVar1,&DAT_002a5468)" ( identifier , (pointer_expression "&DAT_002a5468" & identifier) ))))) ;) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" identifier = identifier) ;) (expression_statement "puVar8 = (undefined8 *)*plVar5;" (assignment_expression "puVar8 = (undefined8 *)*plVar5" identifier = (cast_expression "(undefined8 *)*plVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "lVar10 = *plVar5;" (assignment_expression "lVar10 = *plVar5" identifier = (pointer_expression "*plVar5" * identifier)) ;) (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "puVar8[1] = pcVar1;" (assignment_expression "puVar8[1] = pcVar1" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[3] = uVar2;" (assignment_expression "puVar8[3] = uVar2" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(lVar10 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(lVar10 + 0x30) = 0" (pointer_expression "*(undefined4 *)(lVar10 + 0x30)" * (cast_expression "(undefined4 *)(lVar10 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x30)" ( (binary_expression "lVar10 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x10)" * (cast_expression "(undefined8 *)(lVar10 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x10)" ( (binary_expression "lVar10 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x20)" * (cast_expression "(undefined8 *)(lVar10 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x20)" ( (binary_expression "lVar10 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x28)" * (cast_expression "(undefined8 *)(lVar10 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x28)" ( (binary_expression "lVar10 + 0x28" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "joined_r0x001224d7:\n      puVar6 = puVar3;" statement_identifier : (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;)) }) while (parenthesized_expression "(puVar3 != (undefined8 *)0x0)" ( (binary_expression "puVar3 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (if_statement "if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(DAT_002a5460 == (undefined8 *)0x0)" ( (binary_expression "DAT_002a5460 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = puVar9;" (assignment_expression "puVar6 = puVar9" identifier = identifier) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" { (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (do_statement "do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" do (compound_statement "{\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    }" { (expression_statement "*(undefined4 *)(puVar6 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar6 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar6 + 6)" * (cast_expression "(undefined4 *)(puVar6 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 6)" ( (binary_expression "puVar6 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }) (else_clause "else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" else (compound_statement "{\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = DAT_002a5460;" (assignment_expression "puVar6 = DAT_002a5460" identifier = identifier) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" { (expression_statement "puVar9 = DAT_002a5460;" (assignment_expression "puVar9 = DAT_002a5460" identifier = identifier) ;) (expression_statement "DAT_002a5468 = DAT_002a5460;" (assignment_expression "DAT_002a5468 = DAT_002a5460" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" do (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    }" { (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" identifier = (cast_expression "(char *)puVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      }" { (expression_statement "iVar4 = strcmp((char *)puVar8[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)puVar8[1],pcVar1)" identifier = (call_expression "strcmp((char *)puVar8[1],pcVar1)" identifier (argument_list "((char *)puVar8[1],pcVar1)" ( (cast_expression "(char *)puVar8[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" { (expression_statement "*(undefined4 *)(puVar8 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar8 + 6)" * (cast_expression "(undefined4 *)(puVar8 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 6)" ( (binary_expression "puVar8 + 6" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar8 = (undefined8 *)*puVar8;" (assignment_expression "puVar8 = (undefined8 *)*puVar8" identifier = (cast_expression "(undefined8 *)*puVar8" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) }) while (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" ( (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (do_statement "do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  }" { (if_statement "if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" if (parenthesized_expression "(DAT_002a5448 == (long *)0x0)" ( (binary_expression "DAT_002a5448 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      lVar10 = 0;\n    }" { (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" { (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" identifier = (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (expression_statement "plVar5 = DAT_002a5448;" (assignment_expression "plVar5 = DAT_002a5448" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      }" { (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" identifier = (call_expression "strcmp((char *)plVar5[1],pcVar1)" identifier (argument_list "((char *)plVar5[1],pcVar1)" ( (cast_expression "(char *)plVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          lVar10 = plVar5[4];\n        }" { (expression_statement "lVar10 = plVar5[4];" (assignment_expression "lVar10 = plVar5[4]" identifier = (subscript_expression "plVar5[4]" identifier [ number_literal ])) ;) })) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (if_statement "if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" if (parenthesized_expression "(DAT_002a5440 == (long *)0x0)" ( (binary_expression "DAT_002a5440 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      lVar11 = 0;\n    }" { (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" { (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" identifier = (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) (expression_statement "plVar5 = DAT_002a5440;" (assignment_expression "plVar5 = DAT_002a5440" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      }" { (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" identifier = (call_expression "strcmp((char *)plVar5[1],pcVar1)" identifier (argument_list "((char *)plVar5[1],pcVar1)" ( (cast_expression "(char *)plVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          lVar11 = plVar5[5];\n        }" { (expression_statement "lVar11 = plVar5[5];" (assignment_expression "lVar11 = plVar5[5]" identifier = (subscript_expression "plVar5[5]" identifier [ number_literal ])) ;) })) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "lVar7 = DAT_002a5470;" (assignment_expression "lVar7 = DAT_002a5470" identifier = identifier) ;) (if_statement "if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }" if (parenthesized_expression "((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0))" ( (binary_expression "(DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)" (parenthesized_expression "(DAT_002a5470 == 0)" ( (binary_expression "DAT_002a5470 == 0" identifier == number_literal) )) && (parenthesized_expression "(lVar7 = puVar9[3], puVar9[3] == 0)" ( (comma_expression "lVar7 = puVar9[3], puVar9[3] == 0" (assignment_expression "lVar7 = puVar9[3]" identifier = (subscript_expression "puVar9[3]" identifier [ number_literal ])) , (binary_expression "puVar9[3] == 0" (subscript_expression "puVar9[3]" identifier [ number_literal ]) == number_literal)) ))) )) (compound_statement "{\n      lVar7 = FUN_00127530(0x103,".");\n    }" { (expression_statement "lVar7 = FUN_00127530(0x103,".");" (assignment_expression "lVar7 = FUN_00127530(0x103,".")" identifier = (call_expression "FUN_00127530(0x103,".")" identifier (argument_list "(0x103,".")" ( number_literal , (string_literal ""."" " string_content ") )))) ;) })) (expression_statement "DAT_002a5470 = lVar7;" (assignment_expression "DAT_002a5470 = lVar7" identifier = identifier) ;) (expression_statement "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);" (call_expression "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" identifier (argument_list "(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" ( (subscript_expression "puVar9[1]" identifier [ number_literal ]) , identifier , (binary_expression "(*(int *)(puVar9 + 6) == 0) * '\x02'" (parenthesized_expression "(*(int *)(puVar9 + 6) == 0)" ( (binary_expression "*(int *)(puVar9 + 6) == 0" (pointer_expression "*(int *)(puVar9 + 6)" * (cast_expression "(int *)(puVar9 + 6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 6)" ( (binary_expression "puVar9 + 6" identifier + number_literal) )))) == number_literal) )) * (char_literal "'\x02'" ' escape_sequence ')) , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "DAT_002a5470 = 0;" (assignment_expression "DAT_002a5470 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" identifier = (cast_expression "(undefined8 *)xmalloc(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "uVar2 = puVar9[1];" (assignment_expression "uVar2 = puVar9[1]" identifier = (subscript_expression "puVar9[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = uVar2;" (assignment_expression "puVar6[1] = uVar2" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" * (cast_expression "(undefined4 *)(puVar6 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" identifier (argument_list "(0,puVar6,0)" ( number_literal , identifier , number_literal ))) ;) (for_statement "for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" for ( (assignment_expression "plVar5 = DAT_002a5450" identifier = identifier) ; (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ) (compound_statement "{\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" { (while_statement "while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" while (parenthesized_expression "(iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0)" ( (comma_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0" (assignment_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1])" identifier = (call_expression "strcmp((char *)plVar5[2],(char *)puVar9[1])" identifier (argument_list "((char *)plVar5[2],(char *)puVar9[1])" ( (cast_expression "(char *)plVar5[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[2]" identifier [ number_literal ])) , (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" { (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (if_statement "if (plVar5 == (long *)0x0) goto LAB_0012270d;" if (parenthesized_expression "(plVar5 == (long *)0x0)" ( (binary_expression "plVar5 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0012270d;" goto statement_identifier ;)) })) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" identifier = (cast_expression "(undefined8 *)xmalloc(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "lVar10 = plVar5[1];" (assignment_expression "lVar10 = plVar5[1]" identifier = (subscript_expression "plVar5[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = lVar10;" (assignment_expression "puVar6[1] = lVar10" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" * (cast_expression "(undefined4 *)(puVar6 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" identifier (argument_list "(0,puVar6,0)" ( number_literal , identifier , number_literal ))) ;) })) (labeled_statement "LAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);" statement_identifier : (expression_statement "FUN_0011ec30(0,"*default*",0,0);" (call_expression "FUN_0011ec30(0,"*default*",0,0)" identifier (argument_list "(0,"*default*",0,0)" ( number_literal , (string_literal ""*default*"" " string_content ") , number_literal , number_literal ))) ;)) (expression_statement "puVar9 = (undefined8 *)*puVar9;" (assignment_expression "puVar9 = (undefined8 *)*puVar9" identifier = (cast_expression "(undefined8 *)*puVar9" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" { (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid mri_draw_tree(void)\n\n{\n  char *pcVar1;\n  section_name_struct *psVar2;\n  section_name_struct *psVar3;\n  int iVar4;\n  section_name_struct **ppsVar5;\n  wildcard_list *pwVar6;\n  section_name_struct *psVar7;\n  etree_type *peVar8;\n  section_name_struct *psVar9;\n  section_name_struct *psVar10;\n  etree_type *peVar11;\n  etree_type *subalign;\n  \n  if (done_tree != 0) {\n    return;\n  }\n  psVar10 = order;\n  if (address != (section_name_struct *)0x0) {\n    psVar7 = address;\n    if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);\n  }\n  if (only_load == (section_name_struct *)0x0) {\n    psVar7 = psVar10;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n    do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);\n  }\n  else {\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }\n  do {\n    if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    peVar8 = base;\n    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }\n    base = peVar8;\n    lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);\n    base = (etree_type *)0x0;\n    pwVar6 = (wildcard_list *)xmalloc();\n    pcVar1 = psVar10->name;\n    pwVar6->next = (wildcard_list *)0x0;\n    (pwVar6->spec).name = pcVar1;\n    (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n    (pwVar6->spec).sorted = none;\n    (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }\nLAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);\n    psVar10 = psVar10->next;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void mri_draw_tree(void)\n\n{\n  char *pcVar1;\n  section_name_struct *psVar2;\n  section_name_struct *psVar3;\n  int iVar4;\n  section_name_struct **ppsVar5;\n  wildcard_list *pwVar6;\n  section_name_struct *psVar7;\n  etree_type *peVar8;\n  section_name_struct *psVar9;\n  section_name_struct *psVar10;\n  etree_type *peVar11;\n  etree_type *subalign;\n  \n  if (done_tree != 0) {\n    return;\n  }\n  psVar10 = order;\n  if (address != (section_name_struct *)0x0) {\n    psVar7 = address;\n    if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);\n  }\n  if (only_load == (section_name_struct *)0x0) {\n    psVar7 = psVar10;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n    do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);\n  }\n  else {\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }\n  do {\n    if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    peVar8 = base;\n    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }\n    base = peVar8;\n    lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);\n    base = (etree_type *)0x0;\n    pwVar6 = (wildcard_list *)xmalloc();\n    pcVar1 = psVar10->name;\n    pwVar6->next = (wildcard_list *)0x0;\n    (pwVar6->spec).name = pcVar1;\n    (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n    (pwVar6->spec).sorted = none;\n    (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }\nLAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);\n    psVar10 = psVar10->next;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "mri_draw_tree(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  section_name_struct *psVar2;\n  section_name_struct *psVar3;\n  int iVar4;\n  section_name_struct **ppsVar5;\n  wildcard_list *pwVar6;\n  section_name_struct *psVar7;\n  etree_type *peVar8;\n  section_name_struct *psVar9;\n  section_name_struct *psVar10;\n  etree_type *peVar11;\n  etree_type *subalign;\n  \n  if (done_tree != 0) {\n    return;\n  }\n  psVar10 = order;\n  if (address != (section_name_struct *)0x0) {\n    psVar7 = address;\n    if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);\n  }\n  if (only_load == (section_name_struct *)0x0) {\n    psVar7 = psVar10;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n    do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);\n  }\n  else {\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }\n  do {\n    if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    peVar8 = base;\n    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }\n    base = peVar8;\n    lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);\n    base = (etree_type *)0x0;\n    pwVar6 = (wildcard_list *)xmalloc();\n    pcVar1 = psVar10->name;\n    pwVar6->next = (wildcard_list *)0x0;\n    (pwVar6->spec).name = pcVar1;\n    (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n    (pwVar6->spec).sorted = none;\n    (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }\nLAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);\n    psVar10 = psVar10->next;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n  } while( true );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "section_name_struct *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "section_name_struct *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "section_name_struct **ppsVar5;" type_identifier (pointer_declarator "**ppsVar5" * (pointer_declarator "*ppsVar5" * identifier)) ;) (declaration "wildcard_list *pwVar6;" type_identifier (pointer_declarator "*pwVar6" * identifier) ;) (declaration "section_name_struct *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "etree_type *peVar8;" type_identifier (pointer_declarator "*peVar8" * identifier) ;) (declaration "section_name_struct *psVar9;" type_identifier (pointer_declarator "*psVar9" * identifier) ;) (declaration "section_name_struct *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "etree_type *peVar11;" type_identifier (pointer_declarator "*peVar11" * identifier) ;) (declaration "etree_type *subalign;" type_identifier (pointer_declarator "*subalign" * identifier) ;) (if_statement "if (done_tree != 0) {\n    return;\n  }" if (parenthesized_expression "(done_tree != 0)" ( (binary_expression "done_tree != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "psVar10 = order;" (assignment_expression "psVar10 = order" identifier = identifier) ;) (if_statement "if (address != (section_name_struct *)0x0) {\n    psVar7 = address;\n    if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);\n  }" if (parenthesized_expression "(address != (section_name_struct *)0x0)" ( (binary_expression "address != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar7 = address;\n    if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);\n  }" { (expression_statement "psVar7 = address;" (assignment_expression "psVar7 = address" identifier = identifier) ;) (if_statement "if (order == (section_name_struct *)0x0) {\n      psVar10 = address;\n      order = address;\n    }" if (parenthesized_expression "(order == (section_name_struct *)0x0)" ( (binary_expression "order == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      psVar10 = address;\n      order = address;\n    }" { (expression_statement "psVar10 = address;" (assignment_expression "psVar10 = address" identifier = identifier) ;) (expression_statement "order = address;" (assignment_expression "order = address" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    } while (psVar3 != (section_name_struct *)0x0);" do (compound_statement "{\n      pcVar1 = psVar7->name;\n      for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }\n      peVar11 = psVar7->vma;\n      ppsVar5 = lookup(pcVar1,&order);\n      psVar10 = order;\n      psVar9 = *ppsVar5;\n      psVar9->next = (section_name_struct *)0x0;\n      psVar2 = *ppsVar5;\n      psVar3 = psVar7->next;\n      psVar9->name = pcVar1;\n      psVar9->vma = peVar11;\n      psVar2->ok_to_load = 0;\n      psVar2->alias = (char *)0x0;\n      psVar2->align = (etree_type *)0x0;\n      psVar2->subalign = (etree_type *)0x0;\njoined_r0x001224d7:\n      psVar7 = psVar3;\n    }" { (expression_statement "pcVar1 = psVar7->name;" (assignment_expression "pcVar1 = psVar7->name" identifier = (field_expression "psVar7->name" identifier -> field_identifier)) ;) (for_statement "for (psVar9 = psVar10; psVar9 != (section_name_struct *)0x0; psVar9 = psVar9->next) {\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }" for ( (assignment_expression "psVar9 = psVar10" identifier = identifier) ; (binary_expression "psVar9 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "psVar9 = psVar9->next" identifier = (field_expression "psVar9->next" identifier -> field_identifier)) ) (compound_statement "{\n        iVar4 = strcmp(pcVar1,psVar9->name);\n        if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }\n      }" { (expression_statement "iVar4 = strcmp(pcVar1,psVar9->name);" (assignment_expression "iVar4 = strcmp(pcVar1,psVar9->name)" identifier = (call_expression "strcmp(pcVar1,psVar9->name)" identifier (argument_list "(pcVar1,psVar9->name)" ( identifier , (field_expression "psVar9->name" identifier -> field_identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          psVar3 = psVar7->next;\n          psVar9->vma = psVar7->vma;\n          goto joined_r0x001224d7;\n        }" { (expression_statement "psVar3 = psVar7->next;" (assignment_expression "psVar3 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) (expression_statement "psVar9->vma = psVar7->vma;" (assignment_expression "psVar9->vma = psVar7->vma" (field_expression "psVar9->vma" identifier -> field_identifier) = (field_expression "psVar7->vma" identifier -> field_identifier)) ;) (goto_statement "goto joined_r0x001224d7;" goto statement_identifier ;) })) })) (expression_statement "peVar11 = psVar7->vma;" (assignment_expression "peVar11 = psVar7->vma" identifier = (field_expression "psVar7->vma" identifier -> field_identifier)) ;) (expression_statement "ppsVar5 = lookup(pcVar1,&order);" (assignment_expression "ppsVar5 = lookup(pcVar1,&order)" identifier = (call_expression "lookup(pcVar1,&order)" identifier (argument_list "(pcVar1,&order)" ( identifier , (pointer_expression "&order" & identifier) )))) ;) (expression_statement "psVar10 = order;" (assignment_expression "psVar10 = order" identifier = identifier) ;) (expression_statement "psVar9 = *ppsVar5;" (assignment_expression "psVar9 = *ppsVar5" identifier = (pointer_expression "*ppsVar5" * identifier)) ;) (expression_statement "psVar9->next = (section_name_struct *)0x0;" (assignment_expression "psVar9->next = (section_name_struct *)0x0" (field_expression "psVar9->next" identifier -> field_identifier) = (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2 = *ppsVar5;" (assignment_expression "psVar2 = *ppsVar5" identifier = (pointer_expression "*ppsVar5" * identifier)) ;) (expression_statement "psVar3 = psVar7->next;" (assignment_expression "psVar3 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) (expression_statement "psVar9->name = pcVar1;" (assignment_expression "psVar9->name = pcVar1" (field_expression "psVar9->name" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar9->vma = peVar11;" (assignment_expression "psVar9->vma = peVar11" (field_expression "psVar9->vma" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar2->ok_to_load = 0;" (assignment_expression "psVar2->ok_to_load = 0" (field_expression "psVar2->ok_to_load" identifier -> field_identifier) = number_literal) ;) (expression_statement "psVar2->alias = (char *)0x0;" (assignment_expression "psVar2->alias = (char *)0x0" (field_expression "psVar2->alias" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2->align = (etree_type *)0x0;" (assignment_expression "psVar2->align = (etree_type *)0x0" (field_expression "psVar2->align" identifier -> field_identifier) = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar2->subalign = (etree_type *)0x0;" (assignment_expression "psVar2->subalign = (etree_type *)0x0" (field_expression "psVar2->subalign" identifier -> field_identifier) = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "joined_r0x001224d7:\n      psVar7 = psVar3;" statement_identifier : (expression_statement "psVar7 = psVar3;" (assignment_expression "psVar7 = psVar3" identifier = identifier) ;)) }) while (parenthesized_expression "(psVar3 != (section_name_struct *)0x0)" ( (binary_expression "psVar3 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (if_statement "if (only_load == (section_name_struct *)0x0) {\n    psVar7 = psVar10;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n    do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);\n  }\n  else {\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }" if (parenthesized_expression "(only_load == (section_name_struct *)0x0)" ( (binary_expression "only_load == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar7 = psVar10;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n    do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);\n  }" { (expression_statement "psVar7 = psVar10;" (assignment_expression "psVar7 = psVar10" identifier = identifier) ;) (if_statement "if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }" if (parenthesized_expression "(psVar10 == (section_name_struct *)0x0)" ( (binary_expression "psVar10 == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      done_tree = 1;\n      return;\n    }" { (expression_statement "done_tree = 1;" (assignment_expression "done_tree = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (do_statement "do {\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    } while (psVar7 != (section_name_struct *)0x0);" do (compound_statement "{\n      psVar7->ok_to_load = 1;\n      psVar7 = psVar7->next;\n    }" { (expression_statement "psVar7->ok_to_load = 1;" (assignment_expression "psVar7->ok_to_load = 1" (field_expression "psVar7->ok_to_load" identifier -> field_identifier) = number_literal) ;) (expression_statement "psVar7 = psVar7->next;" (assignment_expression "psVar7 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(psVar7 != (section_name_struct *)0x0)" ( (binary_expression "psVar7 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }) (else_clause "else {\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }" else (compound_statement "{\n    psVar7 = only_load;\n    if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }\n    do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);\n  }" { (expression_statement "psVar7 = only_load;" (assignment_expression "psVar7 = only_load" identifier = identifier) ;) (if_statement "if (psVar10 == (section_name_struct *)0x0) {\n      psVar10 = only_load;\n      order = only_load;\n    }" if (parenthesized_expression "(psVar10 == (section_name_struct *)0x0)" ( (binary_expression "psVar10 == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      psVar10 = only_load;\n      order = only_load;\n    }" { (expression_statement "psVar10 = only_load;" (assignment_expression "psVar10 = only_load" identifier = identifier) ;) (expression_statement "order = only_load;" (assignment_expression "order = only_load" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    } while (*ppsVar5 != (section_name_struct *)0x0);" do (compound_statement "{\n      pcVar1 = psVar7->name;\n      psVar9 = psVar10;\n      do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);\n      ppsVar5 = &psVar7->next;\n      psVar7 = *ppsVar5;\n    }" { (expression_statement "pcVar1 = psVar7->name;" (assignment_expression "pcVar1 = psVar7->name" identifier = (field_expression "psVar7->name" identifier -> field_identifier)) ;) (expression_statement "psVar9 = psVar10;" (assignment_expression "psVar9 = psVar10" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      } while (psVar9 != (section_name_struct *)0x0);" do (compound_statement "{\n        iVar4 = strcmp(psVar9->name,pcVar1);\n        if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }\n        psVar9 = psVar9->next;\n      }" { (expression_statement "iVar4 = strcmp(psVar9->name,pcVar1);" (assignment_expression "iVar4 = strcmp(psVar9->name,pcVar1)" identifier = (call_expression "strcmp(psVar9->name,pcVar1)" identifier (argument_list "(psVar9->name,pcVar1)" ( (field_expression "psVar9->name" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          psVar9->ok_to_load = 1;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          psVar9->ok_to_load = 1;\n        }" { (expression_statement "psVar9->ok_to_load = 1;" (assignment_expression "psVar9->ok_to_load = 1" (field_expression "psVar9->ok_to_load" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "psVar9 = psVar9->next;" (assignment_expression "psVar9 = psVar9->next" identifier = (field_expression "psVar9->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(psVar9 != (section_name_struct *)0x0)" ( (binary_expression "psVar9 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "ppsVar5 = &psVar7->next;" (assignment_expression "ppsVar5 = &psVar7->next" identifier = (pointer_expression "&psVar7->next" & (field_expression "psVar7->next" identifier -> field_identifier))) ;) (expression_statement "psVar7 = *ppsVar5;" (assignment_expression "psVar7 = *ppsVar5" identifier = (pointer_expression "*ppsVar5" * identifier)) ;) }) while (parenthesized_expression "(*ppsVar5 != (section_name_struct *)0x0)" ( (binary_expression "*ppsVar5 != (section_name_struct *)0x0" (pointer_expression "*ppsVar5" * identifier) != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (do_statement "do {\n    if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    peVar8 = base;\n    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }\n    base = peVar8;\n    lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);\n    base = (etree_type *)0x0;\n    pwVar6 = (wildcard_list *)xmalloc();\n    pcVar1 = psVar10->name;\n    pwVar6->next = (wildcard_list *)0x0;\n    (pwVar6->spec).name = pcVar1;\n    (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n    (pwVar6->spec).sorted = none;\n    (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }\nLAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);\n    psVar10 = psVar10->next;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }\n    peVar8 = base;\n    if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }\n    base = peVar8;\n    lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);\n    base = (etree_type *)0x0;\n    pwVar6 = (wildcard_list *)xmalloc();\n    pcVar1 = psVar10->name;\n    pwVar6->next = (wildcard_list *)0x0;\n    (pwVar6->spec).name = pcVar1;\n    (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n    (pwVar6->spec).sorted = none;\n    (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n    lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }\nLAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);\n    psVar10 = psVar10->next;\n    if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }\n  }" { (if_statement "if (alignment == (section_name_struct *)0x0) {\n      peVar11 = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" if (parenthesized_expression "(alignment == (section_name_struct *)0x0)" ( (binary_expression "alignment == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      peVar11 = (etree_type *)0x0;\n    }" { (expression_statement "peVar11 = (etree_type *)0x0;" (assignment_expression "peVar11 = (etree_type *)0x0" identifier = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = psVar10->name;\n      peVar11 = (etree_type *)0x0;\n      psVar7 = alignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" { (expression_statement "pcVar1 = psVar10->name;" (assignment_expression "pcVar1 = psVar10->name" identifier = (field_expression "psVar10->name" identifier -> field_identifier)) ;) (expression_statement "peVar11 = (etree_type *)0x0;" (assignment_expression "peVar11 = (etree_type *)0x0" identifier = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar7 = alignment;" (assignment_expression "psVar7 = alignment" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);" do (compound_statement "{\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }\n        psVar7 = psVar7->next;\n      }" { (expression_statement "iVar4 = strcmp(psVar7->name,pcVar1);" (assignment_expression "iVar4 = strcmp(psVar7->name,pcVar1)" identifier = (call_expression "strcmp(psVar7->name,pcVar1)" identifier (argument_list "(psVar7->name,pcVar1)" ( (field_expression "psVar7->name" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          peVar11 = psVar7->align;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          peVar11 = psVar7->align;\n        }" { (expression_statement "peVar11 = psVar7->align;" (assignment_expression "peVar11 = psVar7->align" identifier = (field_expression "psVar7->align" identifier -> field_identifier)) ;) })) (expression_statement "psVar7 = psVar7->next;" (assignment_expression "psVar7 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(psVar7 != (section_name_struct *)0x0)" ( (binary_expression "psVar7 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (if_statement "if (subalignment == (section_name_struct *)0x0) {\n      subalign = (etree_type *)0x0;\n    }\n    else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" if (parenthesized_expression "(subalignment == (section_name_struct *)0x0)" ( (binary_expression "subalignment == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      subalign = (etree_type *)0x0;\n    }" { (expression_statement "subalign = (etree_type *)0x0;" (assignment_expression "subalign = (etree_type *)0x0" identifier = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = psVar10->name;\n      subalign = (etree_type *)0x0;\n      psVar7 = subalignment;\n      do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);\n    }" { (expression_statement "pcVar1 = psVar10->name;" (assignment_expression "pcVar1 = psVar10->name" identifier = (field_expression "psVar10->name" identifier -> field_identifier)) ;) (expression_statement "subalign = (etree_type *)0x0;" (assignment_expression "subalign = (etree_type *)0x0" identifier = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar7 = subalignment;" (assignment_expression "psVar7 = subalignment" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      } while (psVar7 != (section_name_struct *)0x0);" do (compound_statement "{\n        iVar4 = strcmp(psVar7->name,pcVar1);\n        if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }\n        psVar7 = psVar7->next;\n      }" { (expression_statement "iVar4 = strcmp(psVar7->name,pcVar1);" (assignment_expression "iVar4 = strcmp(psVar7->name,pcVar1)" identifier = (call_expression "strcmp(psVar7->name,pcVar1)" identifier (argument_list "(psVar7->name,pcVar1)" ( (field_expression "psVar7->name" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          subalign = psVar7->subalign;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          subalign = psVar7->subalign;\n        }" { (expression_statement "subalign = psVar7->subalign;" (assignment_expression "subalign = psVar7->subalign" identifier = (field_expression "psVar7->subalign" identifier -> field_identifier)) ;) })) (expression_statement "psVar7 = psVar7->next;" (assignment_expression "psVar7 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(psVar7 != (section_name_struct *)0x0)" ( (binary_expression "psVar7 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "peVar8 = base;" (assignment_expression "peVar8 = base" identifier = identifier) ;) (if_statement "if ((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)) {\n      peVar8 = exp_nameop(0x103,".");\n    }" if (parenthesized_expression "((base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0))" ( (binary_expression "(base == (etree_type *)0x0) && (peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)" (parenthesized_expression "(base == (etree_type *)0x0)" ( (binary_expression "base == (etree_type *)0x0" identifier == (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0)" ( (comma_expression "peVar8 = psVar10->vma, psVar10->vma == (etree_type *)0x0" (assignment_expression "peVar8 = psVar10->vma" identifier = (field_expression "psVar10->vma" identifier -> field_identifier)) , (binary_expression "psVar10->vma == (etree_type *)0x0" (field_expression "psVar10->vma" identifier -> field_identifier) == (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      peVar8 = exp_nameop(0x103,".");\n    }" { (expression_statement "peVar8 = exp_nameop(0x103,".");" (assignment_expression "peVar8 = exp_nameop(0x103,".")" identifier = (call_expression "exp_nameop(0x103,".")" identifier (argument_list "(0x103,".")" ( number_literal , (string_literal ""."" " string_content ") )))) ;) })) (expression_statement "base = peVar8;" (assignment_expression "base = peVar8" identifier = identifier) ;) (expression_statement "lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0);" (call_expression "lang_enter_output_section_statement\n              (psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0)" identifier (argument_list "(psVar10->name,base,(uint)(psVar10->ok_to_load == 0) * 2,peVar11,subalign,\n               (etree_type *)0x0,0,0)" ( (field_expression "psVar10->name" identifier -> field_identifier) , identifier , (binary_expression "(uint)(psVar10->ok_to_load == 0) * 2" (call_expression "(uint)(psVar10->ok_to_load == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar10->ok_to_load == 0)" ( (binary_expression "psVar10->ok_to_load == 0" (field_expression "psVar10->ok_to_load" identifier -> field_identifier) == number_literal) ))) * number_literal) , identifier , identifier , (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , number_literal ))) ;) (expression_statement "base = (etree_type *)0x0;" (assignment_expression "base = (etree_type *)0x0" identifier = (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pwVar6 = (wildcard_list *)xmalloc();" (assignment_expression "pwVar6 = (wildcard_list *)xmalloc()" identifier = (cast_expression "(wildcard_list *)xmalloc()" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pcVar1 = psVar10->name;" (assignment_expression "pcVar1 = psVar10->name" identifier = (field_expression "psVar10->name" identifier -> field_identifier)) ;) (expression_statement "pwVar6->next = (wildcard_list *)0x0;" (assignment_expression "pwVar6->next = (wildcard_list *)0x0" (field_expression "pwVar6->next" identifier -> field_identifier) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(pwVar6->spec).name = pcVar1;" (assignment_expression "(pwVar6->spec).name = pcVar1" (field_expression "(pwVar6->spec).name" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pwVar6->spec).exclude_name_list = (name_list *)0x0;" (assignment_expression "(pwVar6->spec).exclude_name_list = (name_list *)0x0" (field_expression "(pwVar6->spec).exclude_name_list" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(pwVar6->spec).sorted = none;" (assignment_expression "(pwVar6->spec).sorted = none" (field_expression "(pwVar6->spec).sorted" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pwVar6->spec).section_flag_list = (flag_info *)0x0;" (assignment_expression "(pwVar6->spec).section_flag_list = (flag_info *)0x0" (field_expression "(pwVar6->spec).section_flag_list" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(flag_info *)0x0" ( (type_descriptor "flag_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "lang_add_wild((wildcard_spec *)0x0,pwVar6,0);" (call_expression "lang_add_wild((wildcard_spec *)0x0,pwVar6,0)" identifier (argument_list "((wildcard_spec *)0x0,pwVar6,0)" ( (cast_expression "(wildcard_spec *)0x0" ( (type_descriptor "wildcard_spec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , number_literal ))) ;) (for_statement "for (psVar7 = alias; psVar7 != (section_name_struct *)0x0; psVar7 = psVar7->next) {\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }" for ( (assignment_expression "psVar7 = alias" identifier = identifier) ; (binary_expression "psVar7 != (section_name_struct *)0x0" identifier != (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "psVar7 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ) (compound_statement "{\n      while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }\n      pwVar6 = (wildcard_list *)xmalloc();\n      pcVar1 = psVar7->name;\n      pwVar6->next = (wildcard_list *)0x0;\n      (pwVar6->spec).name = pcVar1;\n      (pwVar6->spec).exclude_name_list = (name_list *)0x0;\n      (pwVar6->spec).sorted = none;\n      (pwVar6->spec).section_flag_list = (flag_info *)0x0;\n      lang_add_wild((wildcard_spec *)0x0,pwVar6,0);\n    }" { (while_statement "while (iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0) {\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }" while (parenthesized_expression "(iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0)" ( (comma_expression "iVar4 = strcmp(psVar7->alias,psVar10->name), iVar4 != 0" (assignment_expression "iVar4 = strcmp(psVar7->alias,psVar10->name)" identifier = (call_expression "strcmp(psVar7->alias,psVar10->name)" identifier (argument_list "(psVar7->alias,psVar10->name)" ( (field_expression "psVar7->alias" identifier -> field_identifier) , (field_expression "psVar10->name" identifier -> field_identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n        psVar7 = psVar7->next;\n        if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;\n      }" { (expression_statement "psVar7 = psVar7->next;" (assignment_expression "psVar7 = psVar7->next" identifier = (field_expression "psVar7->next" identifier -> field_identifier)) ;) (if_statement "if (psVar7 == (section_name_struct *)0x0) goto LAB_0012270d;" if (parenthesized_expression "(psVar7 == (section_name_struct *)0x0)" ( (binary_expression "psVar7 == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0012270d;" goto statement_identifier ;)) })) (expression_statement "pwVar6 = (wildcard_list *)xmalloc();" (assignment_expression "pwVar6 = (wildcard_list *)xmalloc()" identifier = (cast_expression "(wildcard_list *)xmalloc()" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pcVar1 = psVar7->name;" (assignment_expression "pcVar1 = psVar7->name" identifier = (field_expression "psVar7->name" identifier -> field_identifier)) ;) (expression_statement "pwVar6->next = (wildcard_list *)0x0;" (assignment_expression "pwVar6->next = (wildcard_list *)0x0" (field_expression "pwVar6->next" identifier -> field_identifier) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(pwVar6->spec).name = pcVar1;" (assignment_expression "(pwVar6->spec).name = pcVar1" (field_expression "(pwVar6->spec).name" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pwVar6->spec).exclude_name_list = (name_list *)0x0;" (assignment_expression "(pwVar6->spec).exclude_name_list = (name_list *)0x0" (field_expression "(pwVar6->spec).exclude_name_list" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(pwVar6->spec).sorted = none;" (assignment_expression "(pwVar6->spec).sorted = none" (field_expression "(pwVar6->spec).sorted" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pwVar6->spec).section_flag_list = (flag_info *)0x0;" (assignment_expression "(pwVar6->spec).section_flag_list = (flag_info *)0x0" (field_expression "(pwVar6->spec).section_flag_list" (parenthesized_expression "(pwVar6->spec)" ( (field_expression "pwVar6->spec" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(flag_info *)0x0" ( (type_descriptor "flag_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "lang_add_wild((wildcard_spec *)0x0,pwVar6,0);" (call_expression "lang_add_wild((wildcard_spec *)0x0,pwVar6,0)" identifier (argument_list "((wildcard_spec *)0x0,pwVar6,0)" ( (cast_expression "(wildcard_spec *)0x0" ( (type_descriptor "wildcard_spec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , number_literal ))) ;) })) (labeled_statement "LAB_0012270d:\n    lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);" statement_identifier : (expression_statement "lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0);" (call_expression "lang_leave_output_section_statement\n              ((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0)" identifier (argument_list "((fill_type *)0x0,"*default*",(lang_output_section_phdr_list *)0x0,(char *)0x0)" ( (cast_expression "(fill_type *)0x0" ( (type_descriptor "fill_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""*default*"" " string_content ") , (cast_expression "(lang_output_section_phdr_list *)0x0" ( (type_descriptor "lang_output_section_phdr_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (expression_statement "psVar10 = psVar10->next;" (assignment_expression "psVar10 = psVar10->next" identifier = (field_expression "psVar10->next" identifier -> field_identifier)) ;) (if_statement "if (psVar10 == (section_name_struct *)0x0) {\n      done_tree = 1;\n      return;\n    }" if (parenthesized_expression "(psVar10 == (section_name_struct *)0x0)" ( (binary_expression "psVar10 == (section_name_struct *)0x0" identifier == (cast_expression "(section_name_struct *)0x0" ( (type_descriptor "section_name_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      done_tree = 1;\n      return;\n    }" { (expression_statement "done_tree = 1;" (assignment_expression "done_tree = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00122480(void)\n\n{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00122480(void)\n\n{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00122480(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined8 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (DAT_002a5438 != 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_002a5438 != 0)" ( (binary_expression "DAT_002a5438 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" identifier = identifier) ;) (if_statement "if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(DAT_002a5458 != (undefined8 *)0x0)" ( (binary_expression "DAT_002a5458 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = DAT_002a5458;" (assignment_expression "puVar6 = DAT_002a5458" identifier = identifier) ;) (if_statement "if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" if (parenthesized_expression "(DAT_002a5468 == (undefined8 *)0x0)" ( (binary_expression "DAT_002a5468 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" { (expression_statement "puVar9 = DAT_002a5458;" (assignment_expression "puVar9 = DAT_002a5458" identifier = identifier) ;) (expression_statement "DAT_002a5468 = DAT_002a5458;" (assignment_expression "DAT_002a5468 = DAT_002a5458" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);" do (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    }" { (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" identifier = (cast_expression "(char *)puVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (for_statement "for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" for ( (assignment_expression "puVar8 = puVar9" identifier = identifier) ; (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar8 = (undefined8 *)*puVar8" identifier = (cast_expression "(undefined8 *)*puVar8" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ) (compound_statement "{\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" { (expression_statement "iVar4 = strcmp(pcVar1,(char *)puVar8[1]);" (assignment_expression "iVar4 = strcmp(pcVar1,(char *)puVar8[1])" identifier = (call_expression "strcmp(pcVar1,(char *)puVar8[1])" identifier (argument_list "(pcVar1,(char *)puVar8[1])" ( identifier , (cast_expression "(char *)puVar8[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" { (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "puVar8[3] = puVar6[3];" (assignment_expression "puVar8[3] = puVar6[3]" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x001224d7;" goto statement_identifier ;) })) })) (expression_statement "uVar2 = puVar6[3];" (assignment_expression "uVar2 = puVar6[3]" identifier = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);" (assignment_expression "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468)" identifier = (cast_expression "(long *)FUN_00122370(pcVar1,&DAT_002a5468)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00122370(pcVar1,&DAT_002a5468)" identifier (argument_list "(pcVar1,&DAT_002a5468)" ( identifier , (pointer_expression "&DAT_002a5468" & identifier) ))))) ;) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" identifier = identifier) ;) (expression_statement "puVar8 = (undefined8 *)*plVar5;" (assignment_expression "puVar8 = (undefined8 *)*plVar5" identifier = (cast_expression "(undefined8 *)*plVar5" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "lVar10 = *plVar5;" (assignment_expression "lVar10 = *plVar5" identifier = (pointer_expression "*plVar5" * identifier)) ;) (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (expression_statement "puVar8[1] = pcVar1;" (assignment_expression "puVar8[1] = pcVar1" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[3] = uVar2;" (assignment_expression "puVar8[3] = uVar2" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(lVar10 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(lVar10 + 0x30) = 0" (pointer_expression "*(undefined4 *)(lVar10 + 0x30)" * (cast_expression "(undefined4 *)(lVar10 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x30)" ( (binary_expression "lVar10 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x10)" * (cast_expression "(undefined8 *)(lVar10 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x10)" ( (binary_expression "lVar10 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x20)" * (cast_expression "(undefined8 *)(lVar10 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x20)" ( (binary_expression "lVar10 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar10 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x28)" * (cast_expression "(undefined8 *)(lVar10 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + 0x28)" ( (binary_expression "lVar10 + 0x28" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "joined_r0x001224d7:\n      puVar6 = puVar3;" statement_identifier : (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;)) }) while (parenthesized_expression "(puVar3 != (undefined8 *)0x0)" ( (binary_expression "puVar3 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (if_statement "if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(DAT_002a5460 == (undefined8 *)0x0)" ( (binary_expression "DAT_002a5460 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = puVar9;" (assignment_expression "puVar6 = puVar9" identifier = identifier) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" { (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (do_statement "do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" do (compound_statement "{\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    }" { (expression_statement "*(undefined4 *)(puVar6 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar6 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar6 + 6)" * (cast_expression "(undefined4 *)(puVar6 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 6)" ( (binary_expression "puVar6 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }) (else_clause "else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" else (compound_statement "{\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" { (expression_statement "puVar6 = DAT_002a5460;" (assignment_expression "puVar6 = DAT_002a5460" identifier = identifier) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" { (expression_statement "puVar9 = DAT_002a5460;" (assignment_expression "puVar9 = DAT_002a5460" identifier = identifier) ;) (expression_statement "DAT_002a5468 = DAT_002a5460;" (assignment_expression "DAT_002a5468 = DAT_002a5460" identifier = identifier) ;) })) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" do (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    }" { (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" identifier = (cast_expression "(char *)puVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      }" { (expression_statement "iVar4 = strcmp((char *)puVar8[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)puVar8[1],pcVar1)" identifier = (call_expression "strcmp((char *)puVar8[1],pcVar1)" identifier (argument_list "((char *)puVar8[1],pcVar1)" ( (cast_expression "(char *)puVar8[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" { (expression_statement "*(undefined4 *)(puVar8 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar8 + 6)" * (cast_expression "(undefined4 *)(puVar8 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 6)" ( (binary_expression "puVar8 + 6" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar8 = (undefined8 *)*puVar8;" (assignment_expression "puVar8 = (undefined8 *)*puVar8" identifier = (cast_expression "(undefined8 *)*puVar8" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) }) while (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" ( (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" identifier = (cast_expression "(undefined8 *)*puVar6" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" ( (binary_expression "puVar6 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (do_statement "do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  }" { (if_statement "if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" if (parenthesized_expression "(DAT_002a5448 == (long *)0x0)" ( (binary_expression "DAT_002a5448 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      lVar10 = 0;\n    }" { (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" { (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" identifier = (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (expression_statement "plVar5 = DAT_002a5448;" (assignment_expression "plVar5 = DAT_002a5448" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      }" { (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" identifier = (call_expression "strcmp((char *)plVar5[1],pcVar1)" identifier (argument_list "((char *)plVar5[1],pcVar1)" ( (cast_expression "(char *)plVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          lVar10 = plVar5[4];\n        }" { (expression_statement "lVar10 = plVar5[4];" (assignment_expression "lVar10 = plVar5[4]" identifier = (subscript_expression "plVar5[4]" identifier [ number_literal ])) ;) })) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (if_statement "if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" if (parenthesized_expression "(DAT_002a5440 == (long *)0x0)" ( (binary_expression "DAT_002a5440 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      lVar11 = 0;\n    }" { (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" else (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" { (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" identifier = (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ]))) ;) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) (expression_statement "plVar5 = DAT_002a5440;" (assignment_expression "plVar5 = DAT_002a5440" identifier = identifier) ;) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" do (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      }" { (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" identifier = (call_expression "strcmp((char *)plVar5[1],pcVar1)" identifier (argument_list "((char *)plVar5[1],pcVar1)" ( (cast_expression "(char *)plVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          lVar11 = plVar5[5];\n        }" { (expression_statement "lVar11 = plVar5[5];" (assignment_expression "lVar11 = plVar5[5]" identifier = (subscript_expression "plVar5[5]" identifier [ number_literal ])) ;) })) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "lVar7 = DAT_002a5470;" (assignment_expression "lVar7 = DAT_002a5470" identifier = identifier) ;) (if_statement "if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }" if (parenthesized_expression "((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0))" ( (binary_expression "(DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)" (parenthesized_expression "(DAT_002a5470 == 0)" ( (binary_expression "DAT_002a5470 == 0" identifier == number_literal) )) && (parenthesized_expression "(lVar7 = puVar9[3], puVar9[3] == 0)" ( (comma_expression "lVar7 = puVar9[3], puVar9[3] == 0" (assignment_expression "lVar7 = puVar9[3]" identifier = (subscript_expression "puVar9[3]" identifier [ number_literal ])) , (binary_expression "puVar9[3] == 0" (subscript_expression "puVar9[3]" identifier [ number_literal ]) == number_literal)) ))) )) (compound_statement "{\n      lVar7 = FUN_00127530(0x103,".");\n    }" { (expression_statement "lVar7 = FUN_00127530(0x103,".");" (assignment_expression "lVar7 = FUN_00127530(0x103,".")" identifier = (call_expression "FUN_00127530(0x103,".")" identifier (argument_list "(0x103,".")" ( number_literal , (string_literal ""."" " string_content ") )))) ;) })) (expression_statement "DAT_002a5470 = lVar7;" (assignment_expression "DAT_002a5470 = lVar7" identifier = identifier) ;) (expression_statement "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);" (call_expression "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" identifier (argument_list "(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" ( (subscript_expression "puVar9[1]" identifier [ number_literal ]) , identifier , (binary_expression "(*(int *)(puVar9 + 6) == 0) * '\x02'" (parenthesized_expression "(*(int *)(puVar9 + 6) == 0)" ( (binary_expression "*(int *)(puVar9 + 6) == 0" (pointer_expression "*(int *)(puVar9 + 6)" * (cast_expression "(int *)(puVar9 + 6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 6)" ( (binary_expression "puVar9 + 6" identifier + number_literal) )))) == number_literal) )) * (char_literal "'\x02'" ' escape_sequence ')) , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "DAT_002a5470 = 0;" (assignment_expression "DAT_002a5470 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" identifier = (cast_expression "(undefined8 *)xmalloc(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "uVar2 = puVar9[1];" (assignment_expression "uVar2 = puVar9[1]" identifier = (subscript_expression "puVar9[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = uVar2;" (assignment_expression "puVar6[1] = uVar2" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" * (cast_expression "(undefined4 *)(puVar6 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" identifier (argument_list "(0,puVar6,0)" ( number_literal , identifier , number_literal ))) ;) (for_statement "for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" for ( (assignment_expression "plVar5 = DAT_002a5450" identifier = identifier) ; (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ) (compound_statement "{\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" { (while_statement "while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" while (parenthesized_expression "(iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0)" ( (comma_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0" (assignment_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1])" identifier = (call_expression "strcmp((char *)plVar5[2],(char *)puVar9[1])" identifier (argument_list "((char *)plVar5[2],(char *)puVar9[1])" ( (cast_expression "(char *)plVar5[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar5[2]" identifier [ number_literal ])) , (cast_expression "(char *)puVar9[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar9[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) )) (compound_statement "{\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" { (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (if_statement "if (plVar5 == (long *)0x0) goto LAB_0012270d;" if (parenthesized_expression "(plVar5 == (long *)0x0)" ( (binary_expression "plVar5 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0012270d;" goto statement_identifier ;)) })) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" identifier = (cast_expression "(undefined8 *)xmalloc(0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "lVar10 = plVar5[1];" (assignment_expression "lVar10 = plVar5[1]" identifier = (subscript_expression "plVar5[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = lVar10;" (assignment_expression "puVar6[1] = lVar10" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" * (cast_expression "(undefined4 *)(puVar6 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 3)" ( (binary_expression "puVar6 + 3" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" identifier (argument_list "(0,puVar6,0)" ( number_literal , identifier , number_literal ))) ;) })) (labeled_statement "LAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);" statement_identifier : (expression_statement "FUN_0011ec30(0,"*default*",0,0);" (call_expression "FUN_0011ec30(0,"*default*",0,0)" identifier (argument_list "(0,"*default*",0,0)" ( number_literal , (string_literal ""*default*"" " string_content ") , number_literal , number_literal ))) ;)) (expression_statement "puVar9 = (undefined8 *)*puVar9;" (assignment_expression "puVar9 = (undefined8 *)*puVar9" identifier = (cast_expression "(undefined8 *)*puVar9" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" if (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" ( (binary_expression "puVar9 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" { (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) * (char_literal ' escape_sequence ')) , IDENT , IDENT , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , LIT ))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00122480(void)\n\n{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00122480(void)" (identifier "FUN_00122480") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined8 uVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *plVar5;\n  undefined8 *puVar6;\n  long lVar7;\n  undefined8 *puVar8;\n  undefined8 *puVar9;\n  long lVar10;\n  long lVar11;\n  \n  if (DAT_002a5438 != 0) {\n    return;\n  }\n  puVar9 = DAT_002a5468;\n  if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }\n  if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "long *plVar5;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar5" (* "*") (identifier "plVar5")) (; ";")) (declaration "undefined8 *puVar6;" (type_identifier "undefined8") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "undefined8 *puVar8;" (type_identifier "undefined8") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined8 *puVar9;" (type_identifier "undefined8") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (if_statement "if (DAT_002a5438 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_002a5438 != 0)" (( "(") (binary_expression "DAT_002a5438 != 0" (identifier "DAT_002a5438") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" (identifier "puVar9") (= "=") (identifier "DAT_002a5468")) (; ";")) (if_statement "if (DAT_002a5458 != (undefined8 *)0x0) {\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_002a5458 != (undefined8 *)0x0)" (( "(") (binary_expression "DAT_002a5458 != (undefined8 *)0x0" (identifier "DAT_002a5458") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar6 = DAT_002a5458;\n    if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);\n  }" ({ "{") (expression_statement "puVar6 = DAT_002a5458;" (assignment_expression "puVar6 = DAT_002a5458" (identifier "puVar6") (= "=") (identifier "DAT_002a5458")) (; ";")) (if_statement "if (DAT_002a5468 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" (if "if") (parenthesized_expression "(DAT_002a5468 == (undefined8 *)0x0)" (( "(") (binary_expression "DAT_002a5468 == (undefined8 *)0x0" (identifier "DAT_002a5468") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = DAT_002a5458;\n      DAT_002a5468 = DAT_002a5458;\n    }" ({ "{") (expression_statement "puVar9 = DAT_002a5458;" (assignment_expression "puVar9 = DAT_002a5458" (identifier "puVar9") (= "=") (identifier "DAT_002a5458")) (; ";")) (expression_statement "DAT_002a5468 = DAT_002a5458;" (assignment_expression "DAT_002a5468 = DAT_002a5458" (identifier "DAT_002a5468") (= "=") (identifier "DAT_002a5458")) (; ";")) (} "}"))) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    } while (puVar3 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }\n      uVar2 = puVar6[3];\n      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);\n      puVar9 = DAT_002a5468;\n      puVar8 = (undefined8 *)*plVar5;\n      *puVar8 = 0;\n      lVar10 = *plVar5;\n      puVar3 = (undefined8 *)*puVar6;\n      puVar8[1] = pcVar1;\n      puVar8[3] = uVar2;\n      *(undefined4 *)(lVar10 + 0x30) = 0;\n      *(undefined8 *)(lVar10 + 0x10) = 0;\n      *(undefined8 *)(lVar10 + 0x20) = 0;\n      *(undefined8 *)(lVar10 + 0x28) = 0;\njoined_r0x001224d7:\n      puVar6 = puVar3;\n    }" ({ "{") (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" (identifier "pcVar1") (= "=") (cast_expression "(char *)puVar6[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (for_statement "for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" (for "for") (( "(") (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";") (binary_expression "puVar8 != (undefined8 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar8 = (undefined8 *)*puVar8" (identifier "puVar8") (= "=") (cast_expression "(undefined8 *)*puVar8" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) () ")") (compound_statement "{\n        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);\n        if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }\n      }" ({ "{") (expression_statement "iVar4 = strcmp(pcVar1,(char *)puVar8[1]);" (assignment_expression "iVar4 = strcmp(pcVar1,(char *)puVar8[1])" (identifier "iVar4") (= "=") (call_expression "strcmp(pcVar1,(char *)puVar8[1])" (identifier "strcmp") (argument_list "(pcVar1,(char *)puVar8[1])" (( "(") (identifier "pcVar1") (, ",") (cast_expression "(char *)puVar8[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]"))) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          puVar3 = (undefined8 *)*puVar6;\n          puVar8[3] = puVar6[3];\n          goto joined_r0x001224d7;\n        }" ({ "{") (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)*puVar6" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (expression_statement "puVar8[3] = puVar6[3];" (assignment_expression "puVar8[3] = puVar6[3]" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (goto_statement "goto joined_r0x001224d7;" (goto "goto") (statement_identifier "joined_r0x001224d7") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = puVar6[3];" (assignment_expression "uVar2 = puVar6[3]" (identifier "uVar2") (= "=") (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);" (assignment_expression "plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468)" (identifier "plVar5") (= "=") (cast_expression "(long *)FUN_00122370(pcVar1,&DAT_002a5468)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00122370(pcVar1,&DAT_002a5468)" (identifier "FUN_00122370") (argument_list "(pcVar1,&DAT_002a5468)" (( "(") (identifier "pcVar1") (, ",") (pointer_expression "&DAT_002a5468" (& "&") (identifier "DAT_002a5468")) () ")"))))) (; ";")) (expression_statement "puVar9 = DAT_002a5468;" (assignment_expression "puVar9 = DAT_002a5468" (identifier "puVar9") (= "=") (identifier "DAT_002a5468")) (; ";")) (expression_statement "puVar8 = (undefined8 *)*plVar5;" (assignment_expression "puVar8 = (undefined8 *)*plVar5" (identifier "puVar8") (= "=") (cast_expression "(undefined8 *)*plVar5" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar10 = *plVar5;" (assignment_expression "lVar10 = *plVar5" (identifier "lVar10") (= "=") (pointer_expression "*plVar5" (* "*") (identifier "plVar5"))) (; ";")) (expression_statement "puVar3 = (undefined8 *)*puVar6;" (assignment_expression "puVar3 = (undefined8 *)*puVar6" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)*puVar6" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (expression_statement "puVar8[1] = pcVar1;" (assignment_expression "puVar8[1] = pcVar1" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar1")) (; ";")) (expression_statement "puVar8[3] = uVar2;" (assignment_expression "puVar8[3] = uVar2" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(lVar10 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(lVar10 + 0x30) = 0" (pointer_expression "*(undefined4 *)(lVar10 + 0x30)" (* "*") (cast_expression "(undefined4 *)(lVar10 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + 0x30)" (( "(") (binary_expression "lVar10 + 0x30" (identifier "lVar10") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar10 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x10)" (* "*") (cast_expression "(undefined8 *)(lVar10 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + 0x10)" (( "(") (binary_expression "lVar10 + 0x10" (identifier "lVar10") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar10 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x20)" (* "*") (cast_expression "(undefined8 *)(lVar10 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + 0x20)" (( "(") (binary_expression "lVar10 + 0x20" (identifier "lVar10") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar10 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar10 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar10 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar10 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + 0x28)" (( "(") (binary_expression "lVar10 + 0x28" (identifier "lVar10") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "joined_r0x001224d7:\n      puVar6 = puVar3;" (statement_identifier "joined_r0x001224d7") (: ":") (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" (identifier "puVar6") (= "=") (identifier "puVar3")) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined8 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (if_statement "if (DAT_002a5460 == (undefined8 *)0x0) {\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }\n  else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_002a5460 == (undefined8 *)0x0)" (( "(") (binary_expression "DAT_002a5460 == (undefined8 *)0x0" (identifier "DAT_002a5460") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar6 = puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n    do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" ({ "{") (expression_statement "puVar6 = puVar9;" (assignment_expression "puVar6 = puVar9" (identifier "puVar6") (= "=") (identifier "puVar9")) (; ";")) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar9 == (undefined8 *)0x0" (identifier "puVar9") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" ({ "{") (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" (identifier "DAT_002a5438") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n      *(undefined4 *)(puVar6 + 6) = 1;\n      puVar6 = (undefined8 *)*puVar6;\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar6 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar6 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar6 + 6)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 6)" (( "(") (binary_expression "puVar6 + 6" (identifier "puVar6") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)*puVar6" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined8 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")) (else_clause "else {\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" (else "else") (compound_statement "{\n    puVar6 = DAT_002a5460;\n    if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }\n    do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);\n  }" ({ "{") (expression_statement "puVar6 = DAT_002a5460;" (assignment_expression "puVar6 = DAT_002a5460" (identifier "puVar6") (= "=") (identifier "DAT_002a5460")) (; ";")) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" (if "if") (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar9 == (undefined8 *)0x0" (identifier "puVar9") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = DAT_002a5460;\n      DAT_002a5468 = DAT_002a5460;\n    }" ({ "{") (expression_statement "puVar9 = DAT_002a5460;" (assignment_expression "puVar9 = DAT_002a5460" (identifier "puVar9") (= "=") (identifier "DAT_002a5460")) (; ";")) (expression_statement "DAT_002a5468 = DAT_002a5460;" (assignment_expression "DAT_002a5468 = DAT_002a5460" (identifier "DAT_002a5468") (= "=") (identifier "DAT_002a5460")) (; ";")) (} "}"))) (do_statement "do {\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    } while (puVar6 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n      pcVar1 = (char *)puVar6[1];\n      puVar8 = puVar9;\n      do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);\n      puVar6 = (undefined8 *)*puVar6;\n    }" ({ "{") (expression_statement "pcVar1 = (char *)puVar6[1];" (assignment_expression "pcVar1 = (char *)puVar6[1]" (identifier "pcVar1") (= "=") (cast_expression "(char *)puVar6[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (do_statement "do {\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      } while (puVar8 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n        iVar4 = strcmp((char *)puVar8[1],pcVar1);\n        if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }\n        puVar8 = (undefined8 *)*puVar8;\n      }" ({ "{") (expression_statement "iVar4 = strcmp((char *)puVar8[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)puVar8[1],pcVar1)" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)puVar8[1],pcVar1)" (identifier "strcmp") (argument_list "((char *)puVar8[1],pcVar1)" (( "(") (cast_expression "(char *)puVar8[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "pcVar1") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(puVar8 + 6) = 1;\n        }" ({ "{") (expression_statement "*(undefined4 *)(puVar8 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar8 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar8 + 6)" (* "*") (cast_expression "(undefined4 *)(puVar8 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 6)" (( "(") (binary_expression "puVar8 + 6" (identifier "puVar8") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined8 *)*puVar8;" (assignment_expression "puVar8 = (undefined8 *)*puVar8" (identifier "puVar8") (= "=") (cast_expression "(undefined8 *)*puVar8" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined8 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "puVar6 = (undefined8 *)*puVar6;" (assignment_expression "puVar6 = (undefined8 *)*puVar6" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)*puVar6" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar6 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined8 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (do_statement "do {\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }\n    lVar7 = DAT_002a5470;\n    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }\n    DAT_002a5470 = lVar7;\n    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);\n    DAT_002a5470 = 0;\n    puVar6 = (undefined8 *)xmalloc(0x28);\n    uVar2 = puVar9[1];\n    *puVar6 = 0;\n    puVar6[1] = uVar2;\n    puVar6[2] = 0;\n    *(undefined4 *)(puVar6 + 3) = 0;\n    puVar6[4] = 0;\n    FUN_0011e560(0,puVar6,0);\n    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }\nLAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);\n    puVar9 = (undefined8 *)*puVar9;\n    if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }\n  }" ({ "{") (if_statement "if (DAT_002a5448 == (long *)0x0) {\n      lVar10 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" (if "if") (parenthesized_expression "(DAT_002a5448 == (long *)0x0)" (( "(") (binary_expression "DAT_002a5448 == (long *)0x0" (identifier "DAT_002a5448") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      lVar10 = 0;\n    }" ({ "{") (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" (identifier "lVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" (else "else") (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar10 = 0;\n      plVar5 = DAT_002a5448;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" ({ "{") (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" (identifier "pcVar1") (= "=") (cast_expression "(char *)puVar9[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar9[1]" (identifier "puVar9") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" (identifier "lVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar5 = DAT_002a5448;" (assignment_expression "plVar5 = DAT_002a5448" (identifier "plVar5") (= "=") (identifier "DAT_002a5448")) (; ";")) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" (do "do") (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }\n        plVar5 = (long *)*plVar5;\n      }" ({ "{") (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)plVar5[1],pcVar1)" (identifier "strcmp") (argument_list "((char *)plVar5[1],pcVar1)" (( "(") (cast_expression "(char *)plVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar5[1]" (identifier "plVar5") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "pcVar1") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          lVar10 = plVar5[4];\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          lVar10 = plVar5[4];\n        }" ({ "{") (expression_statement "lVar10 = plVar5[4];" (assignment_expression "lVar10 = plVar5[4]" (identifier "lVar10") (= "=") (subscript_expression "plVar5[4]" (identifier "plVar5") ([ "[") (number_literal "4") (] "]"))) (; ";")) (} "}"))) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar5 != (long *)0x0)" (( "(") (binary_expression "plVar5 != (long *)0x0" (identifier "plVar5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (if_statement "if (DAT_002a5440 == (long *)0x0) {\n      lVar11 = 0;\n    }\n    else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" (if "if") (parenthesized_expression "(DAT_002a5440 == (long *)0x0)" (( "(") (binary_expression "DAT_002a5440 == (long *)0x0" (identifier "DAT_002a5440") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      lVar11 = 0;\n    }" ({ "{") (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" (identifier "lVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" (else "else") (compound_statement "{\n      pcVar1 = (char *)puVar9[1];\n      lVar11 = 0;\n      plVar5 = DAT_002a5440;\n      do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);\n    }" ({ "{") (expression_statement "pcVar1 = (char *)puVar9[1];" (assignment_expression "pcVar1 = (char *)puVar9[1]" (identifier "pcVar1") (= "=") (cast_expression "(char *)puVar9[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar9[1]" (identifier "puVar9") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" (identifier "lVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar5 = DAT_002a5440;" (assignment_expression "plVar5 = DAT_002a5440" (identifier "plVar5") (= "=") (identifier "DAT_002a5440")) (; ";")) (do_statement "do {\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      } while (plVar5 != (long *)0x0);" (do "do") (compound_statement "{\n        iVar4 = strcmp((char *)plVar5[1],pcVar1);\n        if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }\n        plVar5 = (long *)*plVar5;\n      }" ({ "{") (expression_statement "iVar4 = strcmp((char *)plVar5[1],pcVar1);" (assignment_expression "iVar4 = strcmp((char *)plVar5[1],pcVar1)" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)plVar5[1],pcVar1)" (identifier "strcmp") (argument_list "((char *)plVar5[1],pcVar1)" (( "(") (cast_expression "(char *)plVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar5[1]" (identifier "plVar5") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "pcVar1") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          lVar11 = plVar5[5];\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          lVar11 = plVar5[5];\n        }" ({ "{") (expression_statement "lVar11 = plVar5[5];" (assignment_expression "lVar11 = plVar5[5]" (identifier "lVar11") (= "=") (subscript_expression "plVar5[5]" (identifier "plVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (} "}"))) (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar5 != (long *)0x0)" (( "(") (binary_expression "plVar5 != (long *)0x0" (identifier "plVar5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (expression_statement "lVar7 = DAT_002a5470;" (assignment_expression "lVar7 = DAT_002a5470" (identifier "lVar7") (= "=") (identifier "DAT_002a5470")) (; ";")) (if_statement "if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {\n      lVar7 = FUN_00127530(0x103,".");\n    }" (if "if") (parenthesized_expression "((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0))" (( "(") (binary_expression "(DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)" (parenthesized_expression "(DAT_002a5470 == 0)" (( "(") (binary_expression "DAT_002a5470 == 0" (identifier "DAT_002a5470") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar7 = puVar9[3], puVar9[3] == 0)" (( "(") (comma_expression "lVar7 = puVar9[3], puVar9[3] == 0" (assignment_expression "lVar7 = puVar9[3]" (identifier "lVar7") (= "=") (subscript_expression "puVar9[3]" (identifier "puVar9") ([ "[") (number_literal "3") (] "]"))) (, ",") (binary_expression "puVar9[3] == 0" (subscript_expression "puVar9[3]" (identifier "puVar9") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      lVar7 = FUN_00127530(0x103,".");\n    }" ({ "{") (expression_statement "lVar7 = FUN_00127530(0x103,".");" (assignment_expression "lVar7 = FUN_00127530(0x103,".")" (identifier "lVar7") (= "=") (call_expression "FUN_00127530(0x103,".")" (identifier "FUN_00127530") (argument_list "(0x103,".")" (( "(") (number_literal "0x103") (, ",") (string_literal ""."" (" """) (string_content ".") (" """)) () ")")))) (; ";")) (} "}"))) (expression_statement "DAT_002a5470 = lVar7;" (assignment_expression "DAT_002a5470 = lVar7" (identifier "DAT_002a5470") (= "=") (identifier "lVar7")) (; ";")) (expression_statement "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);" (call_expression "FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" (identifier "FUN_0011dea0") (argument_list "(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0)" (( "(") (subscript_expression "puVar9[1]" (identifier "puVar9") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "DAT_002a5470") (, ",") (binary_expression "(*(int *)(puVar9 + 6) == 0) * '\x02'" (parenthesized_expression "(*(int *)(puVar9 + 6) == 0)" (( "(") (binary_expression "*(int *)(puVar9 + 6) == 0" (pointer_expression "*(int *)(puVar9 + 6)" (* "*") (cast_expression "(int *)(puVar9 + 6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 6)" (( "(") (binary_expression "puVar9 + 6" (identifier "puVar9") (+ "+") (number_literal "6")) () ")")))) (== "==") (number_literal "0")) () ")")) (* "*") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (, ",") (identifier "lVar10") (, ",") (identifier "lVar11") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "DAT_002a5470 = 0;" (assignment_expression "DAT_002a5470 = 0" (identifier "DAT_002a5470") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)xmalloc(0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x28)" (identifier "xmalloc") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "uVar2 = puVar9[1];" (assignment_expression "uVar2 = puVar9[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar9[1]" (identifier "puVar9") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[1] = uVar2;" (assignment_expression "puVar6[1] = uVar2" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 3)" (( "(") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" (identifier "FUN_0011e560") (argument_list "(0,puVar6,0)" (( "(") (number_literal "0") (, ",") (identifier "puVar6") (, ",") (number_literal "0") () ")"))) (; ";")) (for_statement "for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" (for "for") (( "(") (assignment_expression "plVar5 = DAT_002a5450" (identifier "plVar5") (= "=") (identifier "DAT_002a5450")) (; ";") (binary_expression "plVar5 != (long *)0x0" (identifier "plVar5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "plVar5 = (long *)*plVar5" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) () ")") (compound_statement "{\n      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }\n      puVar6 = (undefined8 *)xmalloc(0x28);\n      lVar10 = plVar5[1];\n      *puVar6 = 0;\n      puVar6[1] = lVar10;\n      puVar6[2] = 0;\n      *(undefined4 *)(puVar6 + 3) = 0;\n      puVar6[4] = 0;\n      FUN_0011e560(0,puVar6,0);\n    }" ({ "{") (while_statement "while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" (while "while") (parenthesized_expression "(iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0)" (( "(") (comma_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0" (assignment_expression "iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1])" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)plVar5[2],(char *)puVar9[1])" (identifier "strcmp") (argument_list "((char *)plVar5[2],(char *)puVar9[1])" (( "(") (cast_expression "(char *)plVar5[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar5[2]" (identifier "plVar5") ([ "[") (number_literal "2") (] "]"))) (, ",") (cast_expression "(char *)puVar9[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar9[1]" (identifier "puVar9") ([ "[") (number_literal "1") (] "]"))) () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        plVar5 = (long *)*plVar5;\n        if (plVar5 == (long *)0x0) goto LAB_0012270d;\n      }" ({ "{") (expression_statement "plVar5 = (long *)*plVar5;" (assignment_expression "plVar5 = (long *)*plVar5" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (if_statement "if (plVar5 == (long *)0x0) goto LAB_0012270d;" (if "if") (parenthesized_expression "(plVar5 == (long *)0x0)" (( "(") (binary_expression "plVar5 == (long *)0x0" (identifier "plVar5") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0012270d;" (goto "goto") (statement_identifier "LAB_0012270d") (; ";"))) (} "}"))) (expression_statement "puVar6 = (undefined8 *)xmalloc(0x28);" (assignment_expression "puVar6 = (undefined8 *)xmalloc(0x28)" (identifier "puVar6") (= "=") (cast_expression "(undefined8 *)xmalloc(0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x28)" (identifier "xmalloc") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "lVar10 = plVar5[1];" (assignment_expression "lVar10 = plVar5[1]" (identifier "lVar10") (= "=") (subscript_expression "plVar5[1]" (identifier "plVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[1] = lVar10;" (assignment_expression "puVar6[1] = lVar10" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar10")) (; ";")) (expression_statement "puVar6[2] = 0;" (assignment_expression "puVar6[2] = 0" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + 3) = 0;" (assignment_expression "*(undefined4 *)(puVar6 + 3) = 0" (pointer_expression "*(undefined4 *)(puVar6 + 3)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 3)" (( "(") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[4] = 0;" (assignment_expression "puVar6[4] = 0" (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0011e560(0,puVar6,0);" (call_expression "FUN_0011e560(0,puVar6,0)" (identifier "FUN_0011e560") (argument_list "(0,puVar6,0)" (( "(") (number_literal "0") (, ",") (identifier "puVar6") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0012270d:\n    FUN_0011ec30(0,"*default*",0,0);" (statement_identifier "LAB_0012270d") (: ":") (expression_statement "FUN_0011ec30(0,"*default*",0,0);" (call_expression "FUN_0011ec30(0,"*default*",0,0)" (identifier "FUN_0011ec30") (argument_list "(0,"*default*",0,0)" (( "(") (number_literal "0") (, ",") (string_literal ""*default*"" (" """) (string_content "*default*") (" """)) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";"))) (expression_statement "puVar9 = (undefined8 *)*puVar9;" (assignment_expression "puVar9 = (undefined8 *)*puVar9" (identifier "puVar9") (= "=") (cast_expression "(undefined8 *)*puVar9" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar9" (* "*") (identifier "puVar9")))) (; ";")) (if_statement "if (puVar9 == (undefined8 *)0x0) {\n      DAT_002a5438 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(puVar9 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar9 == (undefined8 *)0x0" (identifier "puVar9") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      DAT_002a5438 = 1;\n      return;\n    }" ({ "{") (expression_statement "DAT_002a5438 = 1;" (assignment_expression "DAT_002a5438 = 1" (identifier "DAT_002a5438") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  char *pcVar1;
  type_1 *psVar2;
  type_1 *var_8;
  int var_6;
  type_1 **ppsVar5;
  type_2 *pwVar6;
  type_1 *var_11;
  type_3 *peVar8;
  type_1 *var_4;
  type_1 *var_10;
  type_3 *peVar11;
  type_3 *subalign;
  
  if (var_1 != 0) {
    return;
  }
  var_10 = var_3;
  if (var_2 != (type_1 *)0x0) {
    var_11 = var_2;
    if (var_3 == (type_1 *)0x0) {
      var_10 = var_2;
      var_3 = var_2;
    }
    do {
      pcVar1 = var_11->name;
      for (var_4 = var_10; var_4 != (type_1 *)0x0; var_4 = var_4->next) {
        var_6 = var_5(pcVar1,var_4->name);
        if (var_6 == 0) {
          var_8 = var_11->next;
          var_4->vma = var_11->vma;
          goto joined_r0x001224d7;
        }
      }
      peVar11 = var_11->vma;
      ppsVar5 = var_7(pcVar1,&var_3);
      var_10 = var_3;
      var_4 = *ppsVar5;
      var_4->next = (type_1 *)0x0;
      psVar2 = *ppsVar5;
      var_8 = var_11->next;
      var_4->name = pcVar1;
      var_4->vma = peVar11;
      psVar2->ok_to_load = 0;
      psVar2->alias = (char *)0x0;
      psVar2->align = (type_3 *)0x0;
      psVar2->subalign = (type_3 *)0x0;
joined_r0x001224d7:
      var_11 = var_8;
    } while (var_8 != (type_1 *)0x0);
  }
  if (var_9 == (type_1 *)0x0) {
    var_11 = var_10;
    if (var_10 == (type_1 *)0x0) {
      var_1 = 1;
      return;
    }
    do {
      var_11->ok_to_load = 1;
      var_11 = var_11->next;
    } while (var_11 != (type_1 *)0x0);
  }
  else {
    var_11 = var_9;
    if (var_10 == (type_1 *)0x0) {
      var_10 = var_9;
      var_3 = var_9;
    }
    do {
      pcVar1 = var_11->name;
      var_4 = var_10;
      do {
        var_6 = var_5(var_4->name,pcVar1);
        if (var_6 == 0) {
          var_4->ok_to_load = 1;
        }
        var_4 = var_4->next;
      } while (var_4 != (type_1 *)0x0);
      ppsVar5 = &var_11->next;
      var_11 = *ppsVar5;
    } while (*ppsVar5 != (type_1 *)0x0);
  }
  do {
    if (var_12 == (type_1 *)0x0) {
      peVar11 = (type_3 *)0x0;
    }
    else {
      pcVar1 = var_10->name;
      peVar11 = (type_3 *)0x0;
      var_11 = var_12;
      do {
        var_6 = var_5(var_11->name,pcVar1);
        if (var_6 == 0) {
          peVar11 = var_11->align;
        }
        var_11 = var_11->next;
      } while (var_11 != (type_1 *)0x0);
    }
    if (var_13 == (type_1 *)0x0) {
      subalign = (type_3 *)0x0;
    }
    else {
      pcVar1 = var_10->name;
      subalign = (type_3 *)0x0;
      var_11 = var_13;
      do {
        var_6 = var_5(var_11->name,pcVar1);
        if (var_6 == 0) {
          subalign = var_11->subalign;
        }
        var_11 = var_11->next;
      } while (var_11 != (type_1 *)0x0);
    }
    peVar8 = var_14;
    if ((var_14 == (type_3 *)0x0) && (peVar8 = var_10->vma, var_10->vma == (type_3 *)0x0)) {
      peVar8 = var_15(0x103,".");
    }
    var_14 = peVar8;
    var_16
              (var_10->name,var_14,(uint)(var_10->ok_to_load == 0) * 2,peVar11,subalign,
               (type_3 *)0x0,0,0);
    var_14 = (type_3 *)0x0;
    pwVar6 = (type_2 *)var_17();
    pcVar1 = var_10->name;
    pwVar6->next = (type_2 *)0x0;
    (pwVar6->spec).name = pcVar1;
    (pwVar6->spec).exclude_name_list = (type_4 *)0x0;
    (pwVar6->spec).sorted = none;
    (pwVar6->spec).section_flag_list = (type_5 *)0x0;
    var_18((type_6 *)0x0,pwVar6,0);
    for (var_11 = alias; var_11 != (type_1 *)0x0; var_11 = var_11->next) {
      while (var_6 = var_5(var_11->alias,var_10->name), var_6 != 0) {
        var_11 = var_11->next;
        if (var_11 == (type_1 *)0x0) goto LAB_0012270d;
      }
      pwVar6 = (type_2 *)var_17();
      pcVar1 = var_11->name;
      pwVar6->next = (type_2 *)0x0;
      (pwVar6->spec).name = pcVar1;
      (pwVar6->spec).exclude_name_list = (type_4 *)0x0;
      (pwVar6->spec).sorted = none;
      (pwVar6->spec).section_flag_list = (type_5 *)0x0;
      var_18((type_6 *)0x0,pwVar6,0);
    }
LAB_0012270d:
    var_19
              ((type_7 *)0x0,"*default*",(type_8 *)0x0,(char *)0x0);
    var_10 = var_10->next;
    if (var_10 == (type_1 *)0x0) {
      var_1 = 1;
      return;
    }
  } while( true );
}


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

void MASKED(void)

{
  char *pcVar1;
  undefined8 uVar2;
  undefined8 *puVar3;
  int iVar4;
  long *plVar5;
  undefined8 *puVar6;
  long lVar7;
  undefined8 *puVar8;
  undefined8 *puVar9;
  long lVar10;
  long lVar11;
  
  if (DAT_002a5438 != 0) {
    return;
  }
  puVar9 = DAT_002a5468;
  if (DAT_002a5458 != (undefined8 *)0x0) {
    puVar6 = DAT_002a5458;
    if (DAT_002a5468 == (undefined8 *)0x0) {
      puVar9 = DAT_002a5458;
      DAT_002a5468 = DAT_002a5458;
    }
    do {
      pcVar1 = (char *)puVar6[1];
      for (puVar8 = puVar9; puVar8 != (undefined8 *)0x0; puVar8 = (undefined8 *)*puVar8) {
        iVar4 = strcmp(pcVar1,(char *)puVar8[1]);
        if (iVar4 == 0) {
          puVar3 = (undefined8 *)*puVar6;
          puVar8[3] = puVar6[3];
          goto joined_r0x001224d7;
        }
      }
      uVar2 = puVar6[3];
      plVar5 = (long *)FUN_00122370(pcVar1,&DAT_002a5468);
      puVar9 = DAT_002a5468;
      puVar8 = (undefined8 *)*plVar5;
      *puVar8 = 0;
      lVar10 = *plVar5;
      puVar3 = (undefined8 *)*puVar6;
      puVar8[1] = pcVar1;
      puVar8[3] = uVar2;
      *(undefined4 *)(lVar10 + 0x30) = 0;
      *(undefined8 *)(lVar10 + 0x10) = 0;
      *(undefined8 *)(lVar10 + 0x20) = 0;
      *(undefined8 *)(lVar10 + 0x28) = 0;
joined_r0x001224d7:
      puVar6 = puVar3;
    } while (puVar3 != (undefined8 *)0x0);
  }
  if (DAT_002a5460 == (undefined8 *)0x0) {
    puVar6 = puVar9;
    if (puVar9 == (undefined8 *)0x0) {
      DAT_002a5438 = 1;
      return;
    }
    do {
      *(undefined4 *)(puVar6 + 6) = 1;
      puVar6 = (undefined8 *)*puVar6;
    } while (puVar6 != (undefined8 *)0x0);
  }
  else {
    puVar6 = DAT_002a5460;
    if (puVar9 == (undefined8 *)0x0) {
      puVar9 = DAT_002a5460;
      DAT_002a5468 = DAT_002a5460;
    }
    do {
      pcVar1 = (char *)puVar6[1];
      puVar8 = puVar9;
      do {
        iVar4 = strcmp((char *)puVar8[1],pcVar1);
        if (iVar4 == 0) {
          *(undefined4 *)(puVar8 + 6) = 1;
        }
        puVar8 = (undefined8 *)*puVar8;
      } while (puVar8 != (undefined8 *)0x0);
      puVar6 = (undefined8 *)*puVar6;
    } while (puVar6 != (undefined8 *)0x0);
  }
  do {
    if (DAT_002a5448 == (long *)0x0) {
      lVar10 = 0;
    }
    else {
      pcVar1 = (char *)puVar9[1];
      lVar10 = 0;
      plVar5 = DAT_002a5448;
      do {
        iVar4 = strcmp((char *)plVar5[1],pcVar1);
        if (iVar4 == 0) {
          lVar10 = plVar5[4];
        }
        plVar5 = (long *)*plVar5;
      } while (plVar5 != (long *)0x0);
    }
    if (DAT_002a5440 == (long *)0x0) {
      lVar11 = 0;
    }
    else {
      pcVar1 = (char *)puVar9[1];
      lVar11 = 0;
      plVar5 = DAT_002a5440;
      do {
        iVar4 = strcmp((char *)plVar5[1],pcVar1);
        if (iVar4 == 0) {
          lVar11 = plVar5[5];
        }
        plVar5 = (long *)*plVar5;
      } while (plVar5 != (long *)0x0);
    }
    lVar7 = DAT_002a5470;
    if ((DAT_002a5470 == 0) && (lVar7 = puVar9[3], puVar9[3] == 0)) {
      lVar7 = FUN_00127530(0x103,".");
    }
    DAT_002a5470 = lVar7;
    FUN_0011dea0(puVar9[1],DAT_002a5470,(*(int *)(puVar9 + 6) == 0) * '\x02',lVar10,lVar11,0,0,0);
    DAT_002a5470 = 0;
    puVar6 = (undefined8 *)xmalloc(0x28);
    uVar2 = puVar9[1];
    *puVar6 = 0;
    puVar6[1] = uVar2;
    puVar6[2] = 0;
    *(undefined4 *)(puVar6 + 3) = 0;
    puVar6[4] = 0;
    FUN_0011e560(0,puVar6,0);
    for (plVar5 = DAT_002a5450; plVar5 != (long *)0x0; plVar5 = (long *)*plVar5) {
      while (iVar4 = strcmp((char *)plVar5[2],(char *)puVar9[1]), iVar4 != 0) {
        plVar5 = (long *)*plVar5;
        if (plVar5 == (long *)0x0) goto LAB_0012270d;
      }
      puVar6 = (undefined8 *)xmalloc(0x28);
      lVar10 = plVar5[1];
      *puVar6 = 0;
      puVar6[1] = lVar10;
      puVar6[2] = 0;
      *(undefined4 *)(puVar6 + 3) = 0;
      puVar6[4] = 0;
      FUN_0011e560(0,puVar6,0);
    }
LAB_0012270d:
    FUN_0011ec30(0,"*default*",0,0);
    puVar9 = (undefined8 *)*puVar9;
    if (puVar9 == (undefined8 *)0x0) {
      DAT_002a5438 = 1;
      return;
    }
  } while( true );
}

