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

void plugin_load_plugins(void)

{
  size_t *psVar1;
  plugin_arg_t *ppVar2;
  char *pcVar3;
  bfd_link_callbacks *pbVar4;
  undefined4 *puVar5;
  byte bVar6;
  plugin *ppVar7;
  undefined4 *puVar8;
  ld_plugin_tag lVar9;
  code *pcVar10;
  int iVar11;
  char *pcVar12;
  undefined4 uVar13;
  uint uVar14;
  int *piVar15;
  int *piVar16;
  ld_plugin_tag *plVar17;
  
  if (plugins_list == (plugin_t *)0x0) {
    return;
  }
  uVar14 = 0;
  ppVar7 = plugins_list;
  do {
    psVar1 = &ppVar7->n_args;
    ppVar7 = ppVar7->next;
    if (uVar14 < *psVar1) {
      uVar14 = *psVar1;
    }
  } while (ppVar7 != (plugin *)0x0);
  plVar17 = tv_header_tags + 1;
  puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90);
  piVar15 = puVar8 + 1;
  lVar9 = LDPT_MESSAGE;
  *puVar8 = 0xb;
  do {
    switch(lVar9) {
    case LDPT_NULL:
    case LDPT_GOLD_VERSION:
    case LDPT_OPTION:
    case LDPT_GET_INPUT_SECTION_COUNT:
    case LDPT_GET_INPUT_SECTION_TYPE:
    case LDPT_GET_INPUT_SECTION_NAME:
    case LDPT_GET_INPUT_SECTION_CONTENTS:
    case LDPT_UPDATE_SECTION_ORDER:
    case LDPT_ALLOW_SECTION_ORDERING:
      do {
        info_assert("../../ld/plugin.c",0x3b8);
        piVar16 = piVar15;
        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;
LAB_00038407:
        piVar15 = piVar16 + 2;
        lVar9 = *plVar17;
        plVar17 = plVar17 + 1;
        piVar16[1] = lVar9;
      } while (LDPT_GET_SYMBOLS_V2 < lVar9);
      break;
    case LDPT_API_VERSION:
      *piVar15 = 1;
LAB_00038400:
      piVar16 = piVar15;
      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;
LAB_00038440:
      pbVar4 = link_info.callbacks;
      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {
        link_info.callbacks = pbVar4;
        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");
        if ((pcVar10 == (code *)0x0) &&
           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {
          uVar13 = dlerror();
          pcVar3 = ppVar7->name;
          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);
          einfo(pcVar12,pcVar3,uVar13);
        }
        ppVar2 = ppVar7->args;
        puVar5 = puVar8 + 0x22;
        while (ppVar2 != (plugin_arg_t *)0x0) {
          pcVar3 = ppVar2->arg;
          ppVar2 = ppVar2->next;
          *puVar5 = 4;
          puVar5[1] = pcVar3;
          puVar5 = puVar5 + 2;
        }
        *puVar5 = 0;
        puVar5[1] = 0;
        called_plugin = ppVar7;
        iVar11 = (*pcVar10)(puVar8);
        called_plugin = (plugin_t *)0x0;
        if (iVar11 != 0) {
          pcVar3 = ppVar7->name;
          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);
          einfo(pcVar12,pcVar3,iVar11);
        }
        pbVar4 = link_info.callbacks;
      }
      uVar14 = (uint)(byte)link_info._1_1_;
      link_info._1_1_ = link_info._1_1_ | 3;
      orig_notice_all = uVar14 & 1;
      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;
      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;
      plugin_callbacks.multiple_common = pbVar4->multiple_common;
      plugin_callbacks.add_to_set = pbVar4->add_to_set;
      plugin_callbacks.constructor = pbVar4->constructor;
      plugin_callbacks.warning = pbVar4->warning;
      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;
      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;
      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;
      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;
      plugin_callbacks.einfo = pbVar4->einfo;
      plugin_callbacks.info = pbVar4->info;
      plugin_callbacks.minfo = pbVar4->minfo;
      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;
      plugin_callbacks.notice = plugin_notice;
      link_info.callbacks = &plugin_callbacks;
      orig_callbacks = pbVar4;
      register_ld_plugin_object_p(plugin_object_p);
      return;
    case LDPT_LINKER_OUTPUT:
      iVar11 = 0;
      bVar6 = link_info._0_1_ & 3;
      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {
        iVar11 = (bVar6 == 1) + 2;
      }
      *piVar15 = iVar11;
      goto LAB_00038400;
    case LDPT_REGISTER_CLAIM_FILE_HOOK:
      *piVar15 = (int)register_claim_file;
      goto LAB_00038400;
    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:
      *piVar15 = (int)register_all_symbols_read;
      goto LAB_00038400;
    case LDPT_REGISTER_CLEANUP_HOOK:
      *piVar15 = (int)register_cleanup;
      goto LAB_00038400;
    case LDPT_ADD_SYMBOLS:
      *piVar15 = (int)add_symbols;
      goto LAB_00038400;
    case LDPT_GET_SYMBOLS:
      *piVar15 = (int)get_symbols_v1;
      goto LAB_00038400;
    case LDPT_ADD_INPUT_FILE:
      *piVar15 = (int)add_input_file;
      goto LAB_00038400;
    default:
      *piVar15 = (int)message;
      goto LAB_00038400;
    case LDPT_GET_INPUT_FILE:
      *piVar15 = (int)get_input_file;
      goto LAB_00038400;
    case LDPT_RELEASE_INPUT_FILE:
      *piVar15 = (int)release_input_file;
      goto LAB_00038400;
    case LDPT_ADD_INPUT_LIBRARY:
      *piVar15 = (int)add_input_library;
      goto LAB_00038400;
    case LDPT_OUTPUT_NAME:
      *piVar15 = (int)output_filename;
      goto LAB_00038400;
    case LDPT_SET_EXTRA_LIBRARY_PATH:
      *piVar15 = (int)set_extra_library_path;
      goto LAB_00038400;
    case LDPT_GNU_LD_VERSION:
      *piVar15 = 0xe7;
      goto LAB_00038400;
    case LDPT_GET_VIEW:
      *piVar15 = (int)get_view;
      goto LAB_00038400;
    case LDPT_GET_SYMBOLS_V2:
      *piVar15 = (int)get_symbols_v2;
      goto LAB_00038400;
    }
  } while( true );
}



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

void FUN_00038360(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  byte bVar4;
  int *piVar5;
  undefined4 *puVar6;
  code *pcVar7;
  int iVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  uint uVar11;
  int *piVar12;
  uint *puVar13;
  
  if (DAT_001cf954 == (int *)0x0) {
    return;
  }
  uVar11 = 0;
  piVar5 = DAT_001cf954;
  do {
    puVar13 = (uint *)(piVar5 + 4);
    piVar5 = (int *)*piVar5;
    if (uVar11 < *puVar13) {
      uVar11 = *puVar13;
    }
  } while (piVar5 != (int *)0x0);
  puVar13 = &DAT_0007e264;
  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);
  piVar5 = puVar6 + 1;
  uVar11 = 0xb;
  *puVar6 = 0xb;
  do {
    switch(uVar11) {
    case 0:
    case 2:
    case 4:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
      do {
        FUN_00034d70("../../ld/plugin.c",0x3b8);
        piVar12 = piVar5;
        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;
LAB_00038407:
        piVar5 = piVar12 + 2;
        uVar11 = *puVar13;
        puVar13 = puVar13 + 1;
        piVar12[1] = uVar11;
      } while (0x19 < uVar11);
      break;
    case 1:
      *piVar5 = 1;
LAB_00038400:
      piVar12 = piVar5;
      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;
LAB_00038440:
      puVar1 = DAT_001d03fc;
      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {
        DAT_001d03fc = puVar1;
        pcVar7 = (code *)dlsym(piVar5[2],"onload");
        if ((pcVar7 == (code *)0x0) &&
           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {
          uVar9 = dlerror();
          iVar8 = piVar5[1];
          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);
          FUN_00034d20(uVar10,iVar8,uVar9);
        }
        puVar1 = (undefined4 *)piVar5[3];
        puVar3 = puVar6 + 0x22;
        while (puVar1 != (undefined4 *)0x0) {
          uVar9 = puVar1[1];
          puVar1 = (undefined4 *)*puVar1;
          *puVar3 = 4;
          puVar3[1] = uVar9;
          puVar3 = puVar3 + 2;
        }
        *puVar3 = 0;
        puVar3[1] = 0;
        DAT_001cf948 = piVar5;
        iVar8 = (*pcVar7)(puVar6);
        DAT_001cf948 = (int *)0x0;
        if (iVar8 != 0) {
          iVar2 = piVar5[1];
          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);
          FUN_00034d20(uVar9,iVar2,iVar8);
        }
        puVar1 = DAT_001d03fc;
      }
      uVar11 = (uint)DAT_001d03e1;
      DAT_001d03e1 = DAT_001d03e1 | 3;
      DAT_001cf940 = uVar11 & 1;
      DAT_001cf900 = *puVar1;
      DAT_001cf904 = puVar1[1];
      DAT_001cf908 = puVar1[2];
      DAT_001cf90c = puVar1[3];
      DAT_001cf910 = puVar1[4];
      DAT_001cf914 = puVar1[5];
      DAT_001cf918 = puVar1[6];
      DAT_001cf91c = puVar1[7];
      DAT_001cf920 = puVar1[8];
      DAT_001cf924 = puVar1[9];
      DAT_001cf92c = puVar1[0xb];
      DAT_001cf930 = puVar1[0xc];
      DAT_001cf934 = puVar1[0xd];
      DAT_001cf938 = puVar1[0xe];
      DAT_001cf928 = FUN_00036e80;
      DAT_001d03fc = &DAT_001cf900;
      DAT_001cf93c = puVar1;
      register_ld_plugin_object_p(FUN_00037dd0);
      return;
    case 3:
      iVar8 = 0;
      bVar4 = DAT_001d03e0 & 3;
      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {
        iVar8 = (bVar4 == 1) + 2;
      }
      *piVar5 = iVar8;
      goto LAB_00038400;
    case 5:
      *piVar5 = (int)FUN_00037250;
      goto LAB_00038400;
    case 6:
      *piVar5 = (int)FUN_000371f0;
      goto LAB_00038400;
    case 7:
      *piVar5 = (int)FUN_00037190;
      goto LAB_00038400;
    case 8:
      *piVar5 = (int)FUN_000375a0;
      goto LAB_00038400;
    case 9:
      *piVar5 = (int)FUN_00037db0;
      goto LAB_00038400;
    case 10:
      *piVar5 = (int)FUN_00037390;
      goto LAB_00038400;
    default:
      *piVar5 = (int)FUN_00037920;
      goto LAB_00038400;
    case 0xc:
      *piVar5 = (int)FUN_00037120;
      goto LAB_00038400;
    case 0xd:
      *piVar5 = (int)FUN_000370b0;
      goto LAB_00038400;
    case 0xe:
      *piVar5 = (int)FUN_00037310;
      goto LAB_00038400;
    case 0xf:
      *piVar5 = (int)PTR_DAT_001ce3fc;
      goto LAB_00038400;
    case 0x10:
      *piVar5 = (int)FUN_000372b0;
      goto LAB_00038400;
    case 0x11:
      *piVar5 = 0xe7;
      goto LAB_00038400;
    case 0x12:
      *piVar5 = (int)FUN_00037410;
      goto LAB_00038400;
    case 0x19:
      *piVar5 = (int)FUN_00037d90;
      goto LAB_00038400;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x195c97
SUB ESP,0x2c
MOV EAX,dword ptr [EBX + 0x1954]
TEST EAX,EAX
JZ 0x000385bd
XOR EDX,EDX
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX]
CMP EDX,ECX
CMOVC EDX,ECX
TEST EAX,EAX
JNZ 0x00038388
LEA EAX,[EDX*0x8 + 0x90]
LEA EDI,[EBX + 0xffeb0264]
SUB ESP,0xc
PUSH EAX
LEA EBP,[EBX + 0xffeb02a4]
CALL 0x00016dc8
LEA ECX,[EBX + 0x23e0]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
LEA ESI,[EAX + 0x4]
MOV EAX,0xb
MOV dword ptr [ESI + -0x4],EAX
MOV dword ptr [ESP + 0x10],ECX
LEA ECX,[EBX + 0xffeb010f]
MOV dword ptr [ESP + 0xc],ECX
LEA ECX,[EBX + 0x3fc]
CMP EAX,0x19
JA 0x00038414
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xffeb01d4]
ADD EDX,EBX
JMP EDX
MOV EAX,dword ptr [EDI]
ADD EDI,0x4
MOV dword ptr [ESI + -0x4],EAX
CMP EAX,0x19
JBE 0x000383e8
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
ADD ESI,0x8
PUSH 0x3b8
PUSH dword ptr [ESP + 0x18]
CALL 0x00034d70
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
CMP EBP,EDI
JNZ 0x00038407
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0x4]
MOV ESI,dword ptr [EBX + 0x1954]
LEA EBP,[EBX + 0xffeb0198]
ADD EAX,0x88
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0xffeb0197]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xffeb00bc]
MOV dword ptr [ESP + 0x1c],EAX
TEST ESI,ESI
JZ 0x000384ee
LEA ESI,[ESI]
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESI + 0x8]
CALL 0x00016830
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x00038728
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JZ 0x000384b5
LEA ESI,[ESI]
MOV ECX,dword ptr [EDX + 0x4]
MOV EDX,dword ptr [EDX]
MOV dword ptr [EAX],0x4
ADD EAX,0x8
MOV dword ptr [EAX + -0x4],ECX
TEST EDX,EDX
JNZ 0x000384a0
SUB ESP,0xc
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
PUSH dword ptr [ESP + 0x10]
MOV dword ptr [EBX + 0x1948],ESI
CALL EDI
MOV dword ptr [EBX + 0x1948],0x0
MOV EDI,EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000386f0
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x00038478
MOV EDI,dword ptr [ESP + 0x10]
SUB ESP,0xc
MOVZX EDX,byte ptr [EDI + 0x1]
MOV EAX,EDX
OR EDX,0x3
AND EAX,0x1
MOV dword ptr [EBX + 0x1940],EAX
MOV EAX,dword ptr [EDI + 0x1c]
MOV ECX,dword ptr [EAX]
MOV dword ptr [EBX + 0x193c],EAX
MOV dword ptr [EBX + 0x1900],ECX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [EBX + 0x1904],ECX
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [EBX + 0x1908],ECX
MOV ECX,dword ptr [EAX + 0xc]
MOV dword ptr [EBX + 0x190c],ECX
MOV ECX,dword ptr [EAX + 0x10]
MOV dword ptr [EBX + 0x1910],ECX
MOV ECX,dword ptr [EAX + 0x14]
MOV dword ptr [EBX + 0x1914],ECX
MOV ECX,dword ptr [EAX + 0x18]
MOV dword ptr [EBX + 0x1918],ECX
MOV ECX,dword ptr [EAX + 0x1c]
MOV dword ptr [EBX + 0x191c],ECX
MOV ECX,dword ptr [EAX + 0x20]
MOV dword ptr [EBX + 0x1920],ECX
MOV ECX,dword ptr [EAX + 0x24]
MOV dword ptr [EBX + 0x1924],ECX
MOV ECX,dword ptr [EAX + 0x28]
MOV dword ptr [EBX + 0x1928],ECX
MOV ECX,dword ptr [EAX + 0x2c]
MOV dword ptr [EBX + 0x192c],ECX
MOV ECX,dword ptr [EAX + 0x30]
MOV dword ptr [EBX + 0x1930],ECX
MOV ECX,dword ptr [EAX + 0x34]
MOV dword ptr [EBX + 0x1934],ECX
MOV EAX,dword ptr [EAX + 0x38]
MOV byte ptr [EDI + 0x1],DL
MOV dword ptr [EBX + 0x1938],EAX
LEA EAX,[EBX + 0xffe68e80]
MOV dword ptr [EBX + 0x1928],EAX
LEA EAX,[EBX + 0x1900]
MOV dword ptr [EDI + 0x1c],EAX
LEA EAX,[EBX + 0xffe69dd0]
PUSH EAX
CALL 0x000160b0
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x4]
SUB ESP,0x4
LEA EAX,[EBX + 0xffeb019f]
MOV dword ptr [ESP + 0x10],EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
ADD ESP,0xc
PUSH EDI
MOV EDX,dword ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x000384e8
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESI + 0x8]
CALL 0x00016830
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JNZ 0x00038491
CALL 0x000163d0
MOV EDX,dword ptr [ESI + 0x4]
SUB ESP,0x4
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x10],EDX
PUSH 0x5
PUSH dword ptr [ESP + 0x24]
PUSH 0x0
CALL 0x00016310
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0x18]
PUSH ECX
MOV EDX,dword ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x00038491
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00038360(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void FUN_00038360(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00038360(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (if_statement "if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(DAT_001cf954 == (int *)0x0)" ( (binary_expression "DAT_001cf954 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = DAT_001cf954;" (assignment_expression "piVar5 = DAT_001cf954" identifier = identifier) ;) (do_statement "do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);" do (compound_statement "{\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  }" { (expression_statement "puVar13 = (uint *)(piVar5 + 4);" (assignment_expression "puVar13 = (uint *)(piVar5 + 4)" identifier = (cast_expression "(uint *)(piVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 4)" ( (binary_expression "piVar5 + 4" identifier + number_literal) )))) ;) (expression_statement "piVar5 = (int *)*piVar5;" (assignment_expression "piVar5 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (if_statement "if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }" if (parenthesized_expression "(uVar11 < *puVar13)" ( (binary_expression "uVar11 < *puVar13" identifier < (pointer_expression "*puVar13" * identifier)) )) (compound_statement "{\n      uVar11 = *puVar13;\n    }" { (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) })) }) while (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar13 = &DAT_0007e264;" (assignment_expression "puVar13 = &DAT_0007e264" identifier = (pointer_expression "&DAT_0007e264" & identifier)) ;) (expression_statement "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);" (assignment_expression "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90)" identifier = (cast_expression "(undefined4 *)xmalloc(uVar11 * 8 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar11 * 8 + 0x90)" identifier (argument_list "(uVar11 * 8 + 0x90)" ( (binary_expression "uVar11 * 8 + 0x90" (binary_expression "uVar11 * 8" identifier * number_literal) + number_literal) ))))) ;) (expression_statement "piVar5 = puVar6 + 1;" (assignment_expression "piVar5 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = 0xb;" (assignment_expression "uVar11 = 0xb" identifier = number_literal) ;) (expression_statement "*puVar6 = 0xb;" (assignment_expression "*puVar6 = 0xb" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (do_statement "do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );" do (compound_statement "{\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  }" { (switch_statement "switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" switch (parenthesized_expression "(uVar11)" ( identifier )) (compound_statement "{\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;" case number_literal : (do_statement "do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);" do (compound_statement "{\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      }" { (expression_statement "FUN_00034d70("../../ld/plugin.c",0x3b8);" (call_expression "FUN_00034d70("../../ld/plugin.c",0x3b8)" identifier (argument_list "("../../ld/plugin.c",0x3b8)" ( (string_literal ""../../ld/plugin.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" identifier = identifier) ;) (if_statement "if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;" if (parenthesized_expression "(puVar13 == (uint *)&DAT_0007e2a4)" ( (binary_expression "puVar13 == (uint *)&DAT_0007e2a4" identifier == (cast_expression "(uint *)&DAT_0007e2a4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038440;" goto statement_identifier ;)) (labeled_statement "LAB_00038407:\n        piVar5 = piVar12 + 2;" statement_identifier : (expression_statement "piVar5 = piVar12 + 2;" (assignment_expression "piVar5 = piVar12 + 2" identifier = (binary_expression "piVar12 + 2" identifier + number_literal)) ;)) (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar12[1] = uVar11;" (assignment_expression "piVar12[1] = uVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(0x19 < uVar11)" ( (binary_expression "0x19 < uVar11" number_literal < identifier) )) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;" case number_literal : (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (labeled_statement "LAB_00038400:\n      piVar12 = piVar5;" statement_identifier : (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" identifier = identifier) ;)) (if_statement "if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;" if (parenthesized_expression "(puVar13 != (uint *)&DAT_0007e2a4)" ( (binary_expression "puVar13 != (uint *)&DAT_0007e2a4" identifier != (cast_expression "(uint *)&DAT_0007e2a4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038407;" goto statement_identifier ;)) (labeled_statement "LAB_00038440:\n      puVar1 = DAT_001d03fc;" statement_identifier : (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" identifier = identifier) ;)) (for_statement "for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" for ( (assignment_expression "piVar5 = DAT_001cf954" identifier = identifier) ; (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar5 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ) (compound_statement "{\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" { (expression_statement "DAT_001d03fc = puVar1;" (assignment_expression "DAT_001d03fc = puVar1" identifier = identifier) ;) (expression_statement "pcVar7 = (code *)dlsym(piVar5[2],"onload");" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"onload")" identifier = (cast_expression "(code *)dlsym(piVar5[2],"onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(piVar5[2],"onload")" identifier (argument_list "(piVar5[2],"onload")" ( (subscript_expression "piVar5[2]" identifier [ number_literal ]) , (string_literal ""onload"" " string_content ") ))))) ;) (if_statement "if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" if (parenthesized_expression "((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0))" ( (binary_expression "(pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" (parenthesized_expression "(pcVar7 == (code *)0x0)" ( (binary_expression "pcVar7 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" ( (comma_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload")" identifier = (cast_expression "(code *)dlsym(piVar5[2],"_onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(piVar5[2],"_onload")" identifier (argument_list "(piVar5[2],"_onload")" ( (subscript_expression "piVar5[2]" identifier [ number_literal ]) , (string_literal ""_onload"" " string_content ") ))))) , (binary_expression "pcVar7 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" { (expression_statement "uVar9 = dlerror();" (assignment_expression "uVar9 = dlerror()" identifier = (call_expression "dlerror()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = piVar5[1];" (assignment_expression "iVar8 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);" (assignment_expression "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier (argument_list "(0,"%F%P: %s: error loading plugin: %s\n",5)" ( number_literal , (string_literal ""%F%P: %s: error loading plugin: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar10,iVar8,uVar9);" (call_expression "FUN_00034d20(uVar10,iVar8,uVar9)" identifier (argument_list "(uVar10,iVar8,uVar9)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar1 = (undefined4 *)piVar5[3];" (assignment_expression "puVar1 = (undefined4 *)piVar5[3]" identifier = (cast_expression "(undefined4 *)piVar5[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar3 = puVar6 + 0x22;" (assignment_expression "puVar3 = puVar6 + 0x22" identifier = (binary_expression "puVar6 + 0x22" identifier + number_literal)) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" { (expression_statement "uVar9 = puVar1[1];" (assignment_expression "uVar9 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "*puVar3 = 4;" (assignment_expression "*puVar3 = 4" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = uVar9;" (assignment_expression "puVar3[1] = uVar9" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) })) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "DAT_001cf948 = piVar5;" (assignment_expression "DAT_001cf948 = piVar5" identifier = identifier) ;) (expression_statement "iVar8 = (*pcVar7)(puVar6);" (assignment_expression "iVar8 = (*pcVar7)(puVar6)" identifier = (call_expression "(*pcVar7)(puVar6)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(puVar6)" ( identifier )))) ;) (expression_statement "DAT_001cf948 = (int *)0x0;" (assignment_expression "DAT_001cf948 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" { (expression_statement "iVar2 = piVar5[1];" (assignment_expression "iVar2 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);" (assignment_expression "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier (argument_list "(0,"%F%P: %s: plugin error: %d\n",5)" ( number_literal , (string_literal ""%F%P: %s: plugin error: %d\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar9,iVar2,iVar8);" (call_expression "FUN_00034d20(uVar9,iVar2,iVar8)" identifier (argument_list "(uVar9,iVar2,iVar8)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" identifier = identifier) ;) })) (expression_statement "uVar11 = (uint)DAT_001d03e1;" (assignment_expression "uVar11 = (uint)DAT_001d03e1" identifier = (cast_expression "(uint)DAT_001d03e1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "DAT_001d03e1 = DAT_001d03e1 | 3;" (assignment_expression "DAT_001d03e1 = DAT_001d03e1 | 3" identifier = (binary_expression "DAT_001d03e1 | 3" identifier | number_literal)) ;) (expression_statement "DAT_001cf940 = uVar11 & 1;" (assignment_expression "DAT_001cf940 = uVar11 & 1" identifier = (binary_expression "uVar11 & 1" identifier & number_literal)) ;) (expression_statement "DAT_001cf900 = *puVar1;" (assignment_expression "DAT_001cf900 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "DAT_001cf904 = puVar1[1];" (assignment_expression "DAT_001cf904 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf908 = puVar1[2];" (assignment_expression "DAT_001cf908 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf90c = puVar1[3];" (assignment_expression "DAT_001cf90c = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf910 = puVar1[4];" (assignment_expression "DAT_001cf910 = puVar1[4]" identifier = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf914 = puVar1[5];" (assignment_expression "DAT_001cf914 = puVar1[5]" identifier = (subscript_expression "puVar1[5]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf918 = puVar1[6];" (assignment_expression "DAT_001cf918 = puVar1[6]" identifier = (subscript_expression "puVar1[6]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf91c = puVar1[7];" (assignment_expression "DAT_001cf91c = puVar1[7]" identifier = (subscript_expression "puVar1[7]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf920 = puVar1[8];" (assignment_expression "DAT_001cf920 = puVar1[8]" identifier = (subscript_expression "puVar1[8]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf924 = puVar1[9];" (assignment_expression "DAT_001cf924 = puVar1[9]" identifier = (subscript_expression "puVar1[9]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf92c = puVar1[0xb];" (assignment_expression "DAT_001cf92c = puVar1[0xb]" identifier = (subscript_expression "puVar1[0xb]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf930 = puVar1[0xc];" (assignment_expression "DAT_001cf930 = puVar1[0xc]" identifier = (subscript_expression "puVar1[0xc]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf934 = puVar1[0xd];" (assignment_expression "DAT_001cf934 = puVar1[0xd]" identifier = (subscript_expression "puVar1[0xd]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf938 = puVar1[0xe];" (assignment_expression "DAT_001cf938 = puVar1[0xe]" identifier = (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf928 = FUN_00036e80;" (assignment_expression "DAT_001cf928 = FUN_00036e80" identifier = identifier) ;) (expression_statement "DAT_001d03fc = &DAT_001cf900;" (assignment_expression "DAT_001d03fc = &DAT_001cf900" identifier = (pointer_expression "&DAT_001cf900" & identifier)) ;) (expression_statement "DAT_001cf93c = puVar1;" (assignment_expression "DAT_001cf93c = puVar1" identifier = identifier) ;) (expression_statement "register_ld_plugin_object_p(FUN_00037dd0);" (call_expression "register_ld_plugin_object_p(FUN_00037dd0)" identifier (argument_list "(FUN_00037dd0)" ( identifier ))) ;) (return_statement "return;" return ;)) (case_statement "case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;" case number_literal : (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = DAT_001d03e0 & 3;" (assignment_expression "bVar4 = DAT_001d03e0 & 3" identifier = (binary_expression "DAT_001d03e0 & 3" identifier & number_literal)) ;) (if_statement "if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }" if (parenthesized_expression "((bVar4 != 2) && (iVar8 = 1, bVar4 != 0))" ( (binary_expression "(bVar4 != 2) && (iVar8 = 1, bVar4 != 0)" (parenthesized_expression "(bVar4 != 2)" ( (binary_expression "bVar4 != 2" identifier != number_literal) )) && (parenthesized_expression "(iVar8 = 1, bVar4 != 0)" ( (comma_expression "iVar8 = 1, bVar4 != 0" (assignment_expression "iVar8 = 1" identifier = number_literal) , (binary_expression "bVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = (bVar4 == 1) + 2;\n      }" { (expression_statement "iVar8 = (bVar4 == 1) + 2;" (assignment_expression "iVar8 = (bVar4 == 1) + 2" identifier = (binary_expression "(bVar4 == 1) + 2" (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) + number_literal)) ;) })) (expression_statement "*piVar5 = iVar8;" (assignment_expression "*piVar5 = iVar8" (pointer_expression "*piVar5" * identifier) = identifier) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037250;" (assignment_expression "*piVar5 = (int)FUN_00037250" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037250" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000371f0;" (assignment_expression "*piVar5 = (int)FUN_000371f0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000371f0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037190;" (assignment_expression "*piVar5 = (int)FUN_00037190" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037190" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000375a0;" (assignment_expression "*piVar5 = (int)FUN_000375a0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000375a0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037db0;" (assignment_expression "*piVar5 = (int)FUN_00037db0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037db0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037390;" (assignment_expression "*piVar5 = (int)FUN_00037390" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037390" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;" default : (expression_statement "*piVar5 = (int)FUN_00037920;" (assignment_expression "*piVar5 = (int)FUN_00037920" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037920" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037120;" (assignment_expression "*piVar5 = (int)FUN_00037120" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037120" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000370b0;" (assignment_expression "*piVar5 = (int)FUN_000370b0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000370b0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037310;" (assignment_expression "*piVar5 = (int)FUN_00037310" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037310" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)PTR_DAT_001ce3fc;" (assignment_expression "*piVar5 = (int)PTR_DAT_001ce3fc" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)PTR_DAT_001ce3fc" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000372b0;" (assignment_expression "*piVar5 = (int)FUN_000372b0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000372b0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = 0xe7;" (assignment_expression "*piVar5 = 0xe7" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037410;" (assignment_expression "*piVar5 = (int)FUN_00037410" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037410" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037d90;" (assignment_expression "*piVar5 = (int)FUN_00037d90" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037d90" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid plugin_load_plugins(void)\n\n{\n  size_t *psVar1;\n  plugin_arg_t *ppVar2;\n  char *pcVar3;\n  bfd_link_callbacks *pbVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  plugin *ppVar7;\n  undefined4 *puVar8;\n  ld_plugin_tag lVar9;\n  code *pcVar10;\n  int iVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  ld_plugin_tag *plVar17;\n  \n  if (plugins_list == (plugin_t *)0x0) {\n    return;\n  }\n  uVar14 = 0;\n  ppVar7 = plugins_list;\n  do {\n    psVar1 = &ppVar7->n_args;\n    ppVar7 = ppVar7->next;\n    if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }\n  } while (ppVar7 != (plugin *)0x0);\n  plVar17 = tv_header_tags + 1;\n  puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90);\n  piVar15 = puVar8 + 1;\n  lVar9 = LDPT_MESSAGE;\n  *puVar8 = 0xb;\n  do {\n    switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "void plugin_load_plugins(void)\n\n{\n  size_t *psVar1;\n  plugin_arg_t *ppVar2;\n  char *pcVar3;\n  bfd_link_callbacks *pbVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  plugin *ppVar7;\n  undefined4 *puVar8;\n  ld_plugin_tag lVar9;\n  code *pcVar10;\n  int iVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  ld_plugin_tag *plVar17;\n  \n  if (plugins_list == (plugin_t *)0x0) {\n    return;\n  }\n  uVar14 = 0;\n  ppVar7 = plugins_list;\n  do {\n    psVar1 = &ppVar7->n_args;\n    ppVar7 = ppVar7->next;\n    if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }\n  } while (ppVar7 != (plugin *)0x0);\n  plVar17 = tv_header_tags + 1;\n  puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90);\n  piVar15 = puVar8 + 1;\n  lVar9 = LDPT_MESSAGE;\n  *puVar8 = 0xb;\n  do {\n    switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" primitive_type (function_declarator "plugin_load_plugins(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  size_t *psVar1;\n  plugin_arg_t *ppVar2;\n  char *pcVar3;\n  bfd_link_callbacks *pbVar4;\n  undefined4 *puVar5;\n  byte bVar6;\n  plugin *ppVar7;\n  undefined4 *puVar8;\n  ld_plugin_tag lVar9;\n  code *pcVar10;\n  int iVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  uint uVar14;\n  int *piVar15;\n  int *piVar16;\n  ld_plugin_tag *plVar17;\n  \n  if (plugins_list == (plugin_t *)0x0) {\n    return;\n  }\n  uVar14 = 0;\n  ppVar7 = plugins_list;\n  do {\n    psVar1 = &ppVar7->n_args;\n    ppVar7 = ppVar7->next;\n    if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }\n  } while (ppVar7 != (plugin *)0x0);\n  plVar17 = tv_header_tags + 1;\n  puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90);\n  piVar15 = puVar8 + 1;\n  lVar9 = LDPT_MESSAGE;\n  *puVar8 = 0xb;\n  do {\n    switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "plugin_arg_t *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "bfd_link_callbacks *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "plugin *ppVar7;" type_identifier (pointer_declarator "*ppVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "ld_plugin_tag lVar9;" type_identifier identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "ld_plugin_tag *plVar17;" type_identifier (pointer_declarator "*plVar17" * identifier) ;) (if_statement "if (plugins_list == (plugin_t *)0x0) {\n    return;\n  }" if (parenthesized_expression "(plugins_list == (plugin_t *)0x0)" ( (binary_expression "plugins_list == (plugin_t *)0x0" identifier == (cast_expression "(plugin_t *)0x0" ( (type_descriptor "plugin_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "ppVar7 = plugins_list;" (assignment_expression "ppVar7 = plugins_list" identifier = identifier) ;) (do_statement "do {\n    psVar1 = &ppVar7->n_args;\n    ppVar7 = ppVar7->next;\n    if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }\n  } while (ppVar7 != (plugin *)0x0);" do (compound_statement "{\n    psVar1 = &ppVar7->n_args;\n    ppVar7 = ppVar7->next;\n    if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }\n  }" { (expression_statement "psVar1 = &ppVar7->n_args;" (assignment_expression "psVar1 = &ppVar7->n_args" identifier = (pointer_expression "&ppVar7->n_args" & (field_expression "ppVar7->n_args" identifier -> field_identifier))) ;) (expression_statement "ppVar7 = ppVar7->next;" (assignment_expression "ppVar7 = ppVar7->next" identifier = (field_expression "ppVar7->next" identifier -> field_identifier)) ;) (if_statement "if (uVar14 < *psVar1) {\n      uVar14 = *psVar1;\n    }" if (parenthesized_expression "(uVar14 < *psVar1)" ( (binary_expression "uVar14 < *psVar1" identifier < (pointer_expression "*psVar1" * identifier)) )) (compound_statement "{\n      uVar14 = *psVar1;\n    }" { (expression_statement "uVar14 = *psVar1;" (assignment_expression "uVar14 = *psVar1" identifier = (pointer_expression "*psVar1" * identifier)) ;) })) }) while (parenthesized_expression "(ppVar7 != (plugin *)0x0)" ( (binary_expression "ppVar7 != (plugin *)0x0" identifier != (cast_expression "(plugin *)0x0" ( (type_descriptor "plugin *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "plVar17 = tv_header_tags + 1;" (assignment_expression "plVar17 = tv_header_tags + 1" identifier = (binary_expression "tv_header_tags + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90);" (assignment_expression "puVar8 = (undefined4 *)xmalloc(uVar14 * 8 + 0x90)" identifier = (cast_expression "(undefined4 *)xmalloc(uVar14 * 8 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar14 * 8 + 0x90)" identifier (argument_list "(uVar14 * 8 + 0x90)" ( (binary_expression "uVar14 * 8 + 0x90" (binary_expression "uVar14 * 8" identifier * number_literal) + number_literal) ))))) ;) (expression_statement "piVar15 = puVar8 + 1;" (assignment_expression "piVar15 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "lVar9 = LDPT_MESSAGE;" (assignment_expression "lVar9 = LDPT_MESSAGE" identifier = identifier) ;) (expression_statement "*puVar8 = 0xb;" (assignment_expression "*puVar8 = 0xb" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (do_statement "do {\n    switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }\n  } while( true );" do (compound_statement "{\n    switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }\n  }" { (switch_statement "switch(lVar9) {\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }" switch (parenthesized_expression "(lVar9)" ( identifier )) (compound_statement "{\n    case LDPT_NULL:\n    case LDPT_GOLD_VERSION:\n    case LDPT_OPTION:\n    case LDPT_GET_INPUT_SECTION_COUNT:\n    case LDPT_GET_INPUT_SECTION_TYPE:\n    case LDPT_GET_INPUT_SECTION_NAME:\n    case LDPT_GET_INPUT_SECTION_CONTENTS:\n    case LDPT_UPDATE_SECTION_ORDER:\n    case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;\n    case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;\n    case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;\n    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;\n    case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;\n    case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;\n    default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;\n    case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;\n    case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;\n    case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;\n    case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;\n    case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;\n    case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;\n    case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;\n    case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;\n    }" { (case_statement "case LDPT_NULL:" case identifier :) (case_statement "case LDPT_GOLD_VERSION:" case identifier :) (case_statement "case LDPT_OPTION:" case identifier :) (case_statement "case LDPT_GET_INPUT_SECTION_COUNT:" case identifier :) (case_statement "case LDPT_GET_INPUT_SECTION_TYPE:" case identifier :) (case_statement "case LDPT_GET_INPUT_SECTION_NAME:" case identifier :) (case_statement "case LDPT_GET_INPUT_SECTION_CONTENTS:" case identifier :) (case_statement "case LDPT_UPDATE_SECTION_ORDER:" case identifier :) (case_statement "case LDPT_ALLOW_SECTION_ORDERING:\n      do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);\n      break;" case identifier : (do_statement "do {\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      } while (LDPT_GET_SYMBOLS_V2 < lVar9);" do (compound_statement "{\n        info_assert("../../ld/plugin.c",0x3b8);\n        piVar16 = piVar15;\n        if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar15 = piVar16 + 2;\n        lVar9 = *plVar17;\n        plVar17 = plVar17 + 1;\n        piVar16[1] = lVar9;\n      }" { (expression_statement "info_assert("../../ld/plugin.c",0x3b8);" (call_expression "info_assert("../../ld/plugin.c",0x3b8)" identifier (argument_list "("../../ld/plugin.c",0x3b8)" ( (string_literal ""../../ld/plugin.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar16 = piVar15;" (assignment_expression "piVar16 = piVar15" identifier = identifier) ;) (if_statement "if (plVar17 == (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038440;" if (parenthesized_expression "(plVar17 == (ld_plugin_tag *)&DAT_0007e2a4)" ( (binary_expression "plVar17 == (ld_plugin_tag *)&DAT_0007e2a4" identifier == (cast_expression "(ld_plugin_tag *)&DAT_0007e2a4" ( (type_descriptor "ld_plugin_tag *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038440;" goto statement_identifier ;)) (labeled_statement "LAB_00038407:\n        piVar15 = piVar16 + 2;" statement_identifier : (expression_statement "piVar15 = piVar16 + 2;" (assignment_expression "piVar15 = piVar16 + 2" identifier = (binary_expression "piVar16 + 2" identifier + number_literal)) ;)) (expression_statement "lVar9 = *plVar17;" (assignment_expression "lVar9 = *plVar17" identifier = (pointer_expression "*plVar17" * identifier)) ;) (expression_statement "plVar17 = plVar17 + 1;" (assignment_expression "plVar17 = plVar17 + 1" identifier = (binary_expression "plVar17 + 1" identifier + number_literal)) ;) (expression_statement "piVar16[1] = lVar9;" (assignment_expression "piVar16[1] = lVar9" (subscript_expression "piVar16[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(LDPT_GET_SYMBOLS_V2 < lVar9)" ( (binary_expression "LDPT_GET_SYMBOLS_V2 < lVar9" identifier < identifier) )) ;) (break_statement "break;" break ;)) (case_statement "case LDPT_API_VERSION:\n      *piVar15 = 1;\nLAB_00038400:\n      piVar16 = piVar15;\n      if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      pbVar4 = link_info.callbacks;\n      for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }\n      uVar14 = (uint)(byte)link_info._1_1_;\n      link_info._1_1_ = link_info._1_1_ | 3;\n      orig_notice_all = uVar14 & 1;\n      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;\n      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;\n      plugin_callbacks.multiple_common = pbVar4->multiple_common;\n      plugin_callbacks.add_to_set = pbVar4->add_to_set;\n      plugin_callbacks.constructor = pbVar4->constructor;\n      plugin_callbacks.warning = pbVar4->warning;\n      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;\n      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;\n      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;\n      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;\n      plugin_callbacks.einfo = pbVar4->einfo;\n      plugin_callbacks.info = pbVar4->info;\n      plugin_callbacks.minfo = pbVar4->minfo;\n      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;\n      plugin_callbacks.notice = plugin_notice;\n      link_info.callbacks = &plugin_callbacks;\n      orig_callbacks = pbVar4;\n      register_ld_plugin_object_p(plugin_object_p);\n      return;" case identifier : (expression_statement "*piVar15 = 1;" (assignment_expression "*piVar15 = 1" (pointer_expression "*piVar15" * identifier) = number_literal) ;) (labeled_statement "LAB_00038400:\n      piVar16 = piVar15;" statement_identifier : (expression_statement "piVar16 = piVar15;" (assignment_expression "piVar16 = piVar15" identifier = identifier) ;)) (if_statement "if (plVar17 != (ld_plugin_tag *)&DAT_0007e2a4) goto LAB_00038407;" if (parenthesized_expression "(plVar17 != (ld_plugin_tag *)&DAT_0007e2a4)" ( (binary_expression "plVar17 != (ld_plugin_tag *)&DAT_0007e2a4" identifier != (cast_expression "(ld_plugin_tag *)&DAT_0007e2a4" ( (type_descriptor "ld_plugin_tag *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038407;" goto statement_identifier ;)) (labeled_statement "LAB_00038440:\n      pbVar4 = link_info.callbacks;" statement_identifier : (expression_statement "pbVar4 = link_info.callbacks;" (assignment_expression "pbVar4 = link_info.callbacks" identifier = (field_expression "link_info.callbacks" identifier . field_identifier)) ;)) (for_statement "for (ppVar7 = plugins_list; ppVar7 != (plugin_t *)0x0; ppVar7 = ppVar7->next) {\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }" for ( (assignment_expression "ppVar7 = plugins_list" identifier = identifier) ; (binary_expression "ppVar7 != (plugin_t *)0x0" identifier != (cast_expression "(plugin_t *)0x0" ( (type_descriptor "plugin_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "ppVar7 = ppVar7->next" identifier = (field_expression "ppVar7->next" identifier -> field_identifier)) ) (compound_statement "{\n        link_info.callbacks = pbVar4;\n        pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");\n        if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }\n        ppVar2 = ppVar7->args;\n        puVar5 = puVar8 + 0x22;\n        while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }\n        *puVar5 = 0;\n        puVar5[1] = 0;\n        called_plugin = ppVar7;\n        iVar11 = (*pcVar10)(puVar8);\n        called_plugin = (plugin_t *)0x0;\n        if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }\n        pbVar4 = link_info.callbacks;\n      }" { (expression_statement "link_info.callbacks = pbVar4;" (assignment_expression "link_info.callbacks = pbVar4" (field_expression "link_info.callbacks" identifier . field_identifier) = identifier) ;) (expression_statement "pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload");" (assignment_expression "pcVar10 = (code *)dlsym(ppVar7->dlhandle,"onload")" identifier = (cast_expression "(code *)dlsym(ppVar7->dlhandle,"onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(ppVar7->dlhandle,"onload")" identifier (argument_list "(ppVar7->dlhandle,"onload")" ( (field_expression "ppVar7->dlhandle" identifier -> field_identifier) , (string_literal ""onload"" " string_content ") ))))) ;) (if_statement "if ((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)) {\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }" if (parenthesized_expression "((pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0))" ( (binary_expression "(pcVar10 == (code *)0x0) &&\n           (pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)" (parenthesized_expression "(pcVar10 == (code *)0x0)" ( (binary_expression "pcVar10 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0)" ( (comma_expression "pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload"), pcVar10 == (code *)0x0" (assignment_expression "pcVar10 = (code *)dlsym(ppVar7->dlhandle,"_onload")" identifier = (cast_expression "(code *)dlsym(ppVar7->dlhandle,"_onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(ppVar7->dlhandle,"_onload")" identifier (argument_list "(ppVar7->dlhandle,"_onload")" ( (field_expression "ppVar7->dlhandle" identifier -> field_identifier) , (string_literal ""_onload"" " string_content ") ))))) , (binary_expression "pcVar10 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          uVar13 = dlerror();\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          einfo(pcVar12,pcVar3,uVar13);\n        }" { (expression_statement "uVar13 = dlerror();" (assignment_expression "uVar13 = dlerror()" identifier = (call_expression "dlerror()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = ppVar7->name;" (assignment_expression "pcVar3 = ppVar7->name" identifier = (field_expression "ppVar7->name" identifier -> field_identifier)) ;) (expression_statement "pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);" (assignment_expression "pcVar12 = (char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier (argument_list "(0,"%F%P: %s: error loading plugin: %s\n",5)" ( number_literal , (string_literal ""%F%P: %s: error loading plugin: %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar12,pcVar3,uVar13);" (call_expression "einfo(pcVar12,pcVar3,uVar13)" identifier (argument_list "(pcVar12,pcVar3,uVar13)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "ppVar2 = ppVar7->args;" (assignment_expression "ppVar2 = ppVar7->args" identifier = (field_expression "ppVar7->args" identifier -> field_identifier)) ;) (expression_statement "puVar5 = puVar8 + 0x22;" (assignment_expression "puVar5 = puVar8 + 0x22" identifier = (binary_expression "puVar8 + 0x22" identifier + number_literal)) ;) (while_statement "while (ppVar2 != (plugin_arg_t *)0x0) {\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }" while (parenthesized_expression "(ppVar2 != (plugin_arg_t *)0x0)" ( (binary_expression "ppVar2 != (plugin_arg_t *)0x0" identifier != (cast_expression "(plugin_arg_t *)0x0" ( (type_descriptor "plugin_arg_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar3 = ppVar2->arg;\n          ppVar2 = ppVar2->next;\n          *puVar5 = 4;\n          puVar5[1] = pcVar3;\n          puVar5 = puVar5 + 2;\n        }" { (expression_statement "pcVar3 = ppVar2->arg;" (assignment_expression "pcVar3 = ppVar2->arg" identifier = (field_expression "ppVar2->arg" identifier -> field_identifier)) ;) (expression_statement "ppVar2 = ppVar2->next;" (assignment_expression "ppVar2 = ppVar2->next" identifier = (field_expression "ppVar2->next" identifier -> field_identifier)) ;) (expression_statement "*puVar5 = 4;" (assignment_expression "*puVar5 = 4" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = pcVar3;" (assignment_expression "puVar5[1] = pcVar3" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = puVar5 + 2;" (assignment_expression "puVar5 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) })) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[1] = 0;" (assignment_expression "puVar5[1] = 0" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "called_plugin = ppVar7;" (assignment_expression "called_plugin = ppVar7" identifier = identifier) ;) (expression_statement "iVar11 = (*pcVar10)(puVar8);" (assignment_expression "iVar11 = (*pcVar10)(puVar8)" identifier = (call_expression "(*pcVar10)(puVar8)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(puVar8)" ( identifier )))) ;) (expression_statement "called_plugin = (plugin_t *)0x0;" (assignment_expression "called_plugin = (plugin_t *)0x0" identifier = (cast_expression "(plugin_t *)0x0" ( (type_descriptor "plugin_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar11 != 0) {\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar3 = ppVar7->name;\n          pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          einfo(pcVar12,pcVar3,iVar11);\n        }" { (expression_statement "pcVar3 = ppVar7->name;" (assignment_expression "pcVar3 = ppVar7->name" identifier = (field_expression "ppVar7->name" identifier -> field_identifier)) ;) (expression_statement "pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5);" (assignment_expression "pcVar12 = (char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier (argument_list "(0,"%F%P: %s: plugin error: %d\n",5)" ( number_literal , (string_literal ""%F%P: %s: plugin error: %d\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar12,pcVar3,iVar11);" (call_expression "einfo(pcVar12,pcVar3,iVar11)" identifier (argument_list "(pcVar12,pcVar3,iVar11)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "pbVar4 = link_info.callbacks;" (assignment_expression "pbVar4 = link_info.callbacks" identifier = (field_expression "link_info.callbacks" identifier . field_identifier)) ;) })) (expression_statement "uVar14 = (uint)(byte)link_info._1_1_;" (assignment_expression "uVar14 = (uint)(byte)link_info._1_1_" identifier = (cast_expression "(uint)(byte)link_info._1_1_" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)link_info._1_1_" ( (type_descriptor "byte" type_identifier) ) (field_expression "link_info._1_1_" identifier . field_identifier)))) ;) (expression_statement "link_info._1_1_ = link_info._1_1_ | 3;" (assignment_expression "link_info._1_1_ = link_info._1_1_ | 3" (field_expression "link_info._1_1_" identifier . field_identifier) = (binary_expression "link_info._1_1_ | 3" (field_expression "link_info._1_1_" identifier . field_identifier) | number_literal)) ;) (expression_statement "orig_notice_all = uVar14 & 1;" (assignment_expression "orig_notice_all = uVar14 & 1" identifier = (binary_expression "uVar14 & 1" identifier & number_literal)) ;) (expression_statement "plugin_callbacks.add_archive_element = pbVar4->add_archive_element;" (assignment_expression "plugin_callbacks.add_archive_element = pbVar4->add_archive_element" (field_expression "plugin_callbacks.add_archive_element" identifier . field_identifier) = (field_expression "pbVar4->add_archive_element" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.multiple_definition = pbVar4->multiple_definition;" (assignment_expression "plugin_callbacks.multiple_definition = pbVar4->multiple_definition" (field_expression "plugin_callbacks.multiple_definition" identifier . field_identifier) = (field_expression "pbVar4->multiple_definition" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.multiple_common = pbVar4->multiple_common;" (assignment_expression "plugin_callbacks.multiple_common = pbVar4->multiple_common" (field_expression "plugin_callbacks.multiple_common" identifier . field_identifier) = (field_expression "pbVar4->multiple_common" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.add_to_set = pbVar4->add_to_set;" (assignment_expression "plugin_callbacks.add_to_set = pbVar4->add_to_set" (field_expression "plugin_callbacks.add_to_set" identifier . field_identifier) = (field_expression "pbVar4->add_to_set" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.constructor = pbVar4->constructor;" (assignment_expression "plugin_callbacks.constructor = pbVar4->constructor" (field_expression "plugin_callbacks.constructor" identifier . field_identifier) = (field_expression "pbVar4->constructor" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.warning = pbVar4->warning;" (assignment_expression "plugin_callbacks.warning = pbVar4->warning" (field_expression "plugin_callbacks.warning" identifier . field_identifier) = (field_expression "pbVar4->warning" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;" (assignment_expression "plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol" (field_expression "plugin_callbacks.undefined_symbol" identifier . field_identifier) = (field_expression "pbVar4->undefined_symbol" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;" (assignment_expression "plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow" (field_expression "plugin_callbacks.reloc_overflow" identifier . field_identifier) = (field_expression "pbVar4->reloc_overflow" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;" (assignment_expression "plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous" (field_expression "plugin_callbacks.reloc_dangerous" identifier . field_identifier) = (field_expression "pbVar4->reloc_dangerous" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;" (assignment_expression "plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc" (field_expression "plugin_callbacks.unattached_reloc" identifier . field_identifier) = (field_expression "pbVar4->unattached_reloc" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.einfo = pbVar4->einfo;" (assignment_expression "plugin_callbacks.einfo = pbVar4->einfo" (field_expression "plugin_callbacks.einfo" identifier . field_identifier) = (field_expression "pbVar4->einfo" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.info = pbVar4->info;" (assignment_expression "plugin_callbacks.info = pbVar4->info" (field_expression "plugin_callbacks.info" identifier . field_identifier) = (field_expression "pbVar4->info" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.minfo = pbVar4->minfo;" (assignment_expression "plugin_callbacks.minfo = pbVar4->minfo" (field_expression "plugin_callbacks.minfo" identifier . field_identifier) = (field_expression "pbVar4->minfo" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;" (assignment_expression "plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment" (field_expression "plugin_callbacks.override_segment_assignment" identifier . field_identifier) = (field_expression "pbVar4->override_segment_assignment" identifier -> field_identifier)) ;) (expression_statement "plugin_callbacks.notice = plugin_notice;" (assignment_expression "plugin_callbacks.notice = plugin_notice" (field_expression "plugin_callbacks.notice" identifier . field_identifier) = identifier) ;) (expression_statement "link_info.callbacks = &plugin_callbacks;" (assignment_expression "link_info.callbacks = &plugin_callbacks" (field_expression "link_info.callbacks" identifier . field_identifier) = (pointer_expression "&plugin_callbacks" & identifier)) ;) (expression_statement "orig_callbacks = pbVar4;" (assignment_expression "orig_callbacks = pbVar4" identifier = identifier) ;) (expression_statement "register_ld_plugin_object_p(plugin_object_p);" (call_expression "register_ld_plugin_object_p(plugin_object_p)" identifier (argument_list "(plugin_object_p)" ( identifier ))) ;) (return_statement "return;" return ;)) (case_statement "case LDPT_LINKER_OUTPUT:\n      iVar11 = 0;\n      bVar6 = link_info._0_1_ & 3;\n      if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }\n      *piVar15 = iVar11;\n      goto LAB_00038400;" case identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = link_info._0_1_ & 3;" (assignment_expression "bVar6 = link_info._0_1_ & 3" identifier = (binary_expression "link_info._0_1_ & 3" (field_expression "link_info._0_1_" identifier . field_identifier) & number_literal)) ;) (if_statement "if ((bVar6 != 2) && (iVar11 = 1, bVar6 != 0)) {\n        iVar11 = (bVar6 == 1) + 2;\n      }" if (parenthesized_expression "((bVar6 != 2) && (iVar11 = 1, bVar6 != 0))" ( (binary_expression "(bVar6 != 2) && (iVar11 = 1, bVar6 != 0)" (parenthesized_expression "(bVar6 != 2)" ( (binary_expression "bVar6 != 2" identifier != number_literal) )) && (parenthesized_expression "(iVar11 = 1, bVar6 != 0)" ( (comma_expression "iVar11 = 1, bVar6 != 0" (assignment_expression "iVar11 = 1" identifier = number_literal) , (binary_expression "bVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar11 = (bVar6 == 1) + 2;\n      }" { (expression_statement "iVar11 = (bVar6 == 1) + 2;" (assignment_expression "iVar11 = (bVar6 == 1) + 2" identifier = (binary_expression "(bVar6 == 1) + 2" (parenthesized_expression "(bVar6 == 1)" ( (binary_expression "bVar6 == 1" identifier == number_literal) )) + number_literal)) ;) })) (expression_statement "*piVar15 = iVar11;" (assignment_expression "*piVar15 = iVar11" (pointer_expression "*piVar15" * identifier) = identifier) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_REGISTER_CLAIM_FILE_HOOK:\n      *piVar15 = (int)register_claim_file;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)register_claim_file;" (assignment_expression "*piVar15 = (int)register_claim_file" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)register_claim_file" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:\n      *piVar15 = (int)register_all_symbols_read;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)register_all_symbols_read;" (assignment_expression "*piVar15 = (int)register_all_symbols_read" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)register_all_symbols_read" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_REGISTER_CLEANUP_HOOK:\n      *piVar15 = (int)register_cleanup;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)register_cleanup;" (assignment_expression "*piVar15 = (int)register_cleanup" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)register_cleanup" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_ADD_SYMBOLS:\n      *piVar15 = (int)add_symbols;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)add_symbols;" (assignment_expression "*piVar15 = (int)add_symbols" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)add_symbols" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_GET_SYMBOLS:\n      *piVar15 = (int)get_symbols_v1;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)get_symbols_v1;" (assignment_expression "*piVar15 = (int)get_symbols_v1" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)get_symbols_v1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_ADD_INPUT_FILE:\n      *piVar15 = (int)add_input_file;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)add_input_file;" (assignment_expression "*piVar15 = (int)add_input_file" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)add_input_file" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "default:\n      *piVar15 = (int)message;\n      goto LAB_00038400;" default : (expression_statement "*piVar15 = (int)message;" (assignment_expression "*piVar15 = (int)message" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)message" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_GET_INPUT_FILE:\n      *piVar15 = (int)get_input_file;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)get_input_file;" (assignment_expression "*piVar15 = (int)get_input_file" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)get_input_file" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_RELEASE_INPUT_FILE:\n      *piVar15 = (int)release_input_file;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)release_input_file;" (assignment_expression "*piVar15 = (int)release_input_file" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)release_input_file" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_ADD_INPUT_LIBRARY:\n      *piVar15 = (int)add_input_library;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)add_input_library;" (assignment_expression "*piVar15 = (int)add_input_library" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)add_input_library" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_OUTPUT_NAME:\n      *piVar15 = (int)output_filename;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)output_filename;" (assignment_expression "*piVar15 = (int)output_filename" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)output_filename" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_SET_EXTRA_LIBRARY_PATH:\n      *piVar15 = (int)set_extra_library_path;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)set_extra_library_path;" (assignment_expression "*piVar15 = (int)set_extra_library_path" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)set_extra_library_path" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_GNU_LD_VERSION:\n      *piVar15 = 0xe7;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = 0xe7;" (assignment_expression "*piVar15 = 0xe7" (pointer_expression "*piVar15" * identifier) = number_literal) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_GET_VIEW:\n      *piVar15 = (int)get_view;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)get_view;" (assignment_expression "*piVar15 = (int)get_view" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)get_view" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case LDPT_GET_SYMBOLS_V2:\n      *piVar15 = (int)get_symbols_v2;\n      goto LAB_00038400;" case identifier : (expression_statement "*piVar15 = (int)get_symbols_v2;" (assignment_expression "*piVar15 = (int)get_symbols_v2" (pointer_expression "*piVar15" * identifier) = (cast_expression "(int)get_symbols_v2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00038360(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00038360(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00038360(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (if_statement "if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(DAT_001cf954 == (int *)0x0)" ( (binary_expression "DAT_001cf954 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = DAT_001cf954;" (assignment_expression "piVar5 = DAT_001cf954" identifier = identifier) ;) (do_statement "do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);" do (compound_statement "{\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  }" { (expression_statement "puVar13 = (uint *)(piVar5 + 4);" (assignment_expression "puVar13 = (uint *)(piVar5 + 4)" identifier = (cast_expression "(uint *)(piVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 4)" ( (binary_expression "piVar5 + 4" identifier + number_literal) )))) ;) (expression_statement "piVar5 = (int *)*piVar5;" (assignment_expression "piVar5 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (if_statement "if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }" if (parenthesized_expression "(uVar11 < *puVar13)" ( (binary_expression "uVar11 < *puVar13" identifier < (pointer_expression "*puVar13" * identifier)) )) (compound_statement "{\n      uVar11 = *puVar13;\n    }" { (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) })) }) while (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar13 = &DAT_0007e264;" (assignment_expression "puVar13 = &DAT_0007e264" identifier = (pointer_expression "&DAT_0007e264" & identifier)) ;) (expression_statement "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);" (assignment_expression "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90)" identifier = (cast_expression "(undefined4 *)xmalloc(uVar11 * 8 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar11 * 8 + 0x90)" identifier (argument_list "(uVar11 * 8 + 0x90)" ( (binary_expression "uVar11 * 8 + 0x90" (binary_expression "uVar11 * 8" identifier * number_literal) + number_literal) ))))) ;) (expression_statement "piVar5 = puVar6 + 1;" (assignment_expression "piVar5 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = 0xb;" (assignment_expression "uVar11 = 0xb" identifier = number_literal) ;) (expression_statement "*puVar6 = 0xb;" (assignment_expression "*puVar6 = 0xb" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (do_statement "do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );" do (compound_statement "{\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  }" { (switch_statement "switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" switch (parenthesized_expression "(uVar11)" ( identifier )) (compound_statement "{\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" { (case_statement "case 0:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x17:" case number_literal :) (case_statement "case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;" case number_literal : (do_statement "do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);" do (compound_statement "{\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      }" { (expression_statement "FUN_00034d70("../../ld/plugin.c",0x3b8);" (call_expression "FUN_00034d70("../../ld/plugin.c",0x3b8)" identifier (argument_list "("../../ld/plugin.c",0x3b8)" ( (string_literal ""../../ld/plugin.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" identifier = identifier) ;) (if_statement "if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;" if (parenthesized_expression "(puVar13 == (uint *)&DAT_0007e2a4)" ( (binary_expression "puVar13 == (uint *)&DAT_0007e2a4" identifier == (cast_expression "(uint *)&DAT_0007e2a4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038440;" goto statement_identifier ;)) (labeled_statement "LAB_00038407:\n        piVar5 = piVar12 + 2;" statement_identifier : (expression_statement "piVar5 = piVar12 + 2;" (assignment_expression "piVar5 = piVar12 + 2" identifier = (binary_expression "piVar12 + 2" identifier + number_literal)) ;)) (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar12[1] = uVar11;" (assignment_expression "piVar12[1] = uVar11" (subscript_expression "piVar12[1]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(0x19 < uVar11)" ( (binary_expression "0x19 < uVar11" number_literal < identifier) )) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;" case number_literal : (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (labeled_statement "LAB_00038400:\n      piVar12 = piVar5;" statement_identifier : (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" identifier = identifier) ;)) (if_statement "if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;" if (parenthesized_expression "(puVar13 != (uint *)&DAT_0007e2a4)" ( (binary_expression "puVar13 != (uint *)&DAT_0007e2a4" identifier != (cast_expression "(uint *)&DAT_0007e2a4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0007e2a4" & identifier))) )) (goto_statement "goto LAB_00038407;" goto statement_identifier ;)) (labeled_statement "LAB_00038440:\n      puVar1 = DAT_001d03fc;" statement_identifier : (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" identifier = identifier) ;)) (for_statement "for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" for ( (assignment_expression "piVar5 = DAT_001cf954" identifier = identifier) ; (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar5 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ) (compound_statement "{\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" { (expression_statement "DAT_001d03fc = puVar1;" (assignment_expression "DAT_001d03fc = puVar1" identifier = identifier) ;) (expression_statement "pcVar7 = (code *)dlsym(piVar5[2],"onload");" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"onload")" identifier = (cast_expression "(code *)dlsym(piVar5[2],"onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(piVar5[2],"onload")" identifier (argument_list "(piVar5[2],"onload")" ( (subscript_expression "piVar5[2]" identifier [ number_literal ]) , (string_literal ""onload"" " string_content ") ))))) ;) (if_statement "if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" if (parenthesized_expression "((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0))" ( (binary_expression "(pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" (parenthesized_expression "(pcVar7 == (code *)0x0)" ( (binary_expression "pcVar7 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" ( (comma_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload")" identifier = (cast_expression "(code *)dlsym(piVar5[2],"_onload")" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(piVar5[2],"_onload")" identifier (argument_list "(piVar5[2],"_onload")" ( (subscript_expression "piVar5[2]" identifier [ number_literal ]) , (string_literal ""_onload"" " string_content ") ))))) , (binary_expression "pcVar7 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" { (expression_statement "uVar9 = dlerror();" (assignment_expression "uVar9 = dlerror()" identifier = (call_expression "dlerror()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = piVar5[1];" (assignment_expression "iVar8 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);" (assignment_expression "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" identifier (argument_list "(0,"%F%P: %s: error loading plugin: %s\n",5)" ( number_literal , (string_literal ""%F%P: %s: error loading plugin: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar10,iVar8,uVar9);" (call_expression "FUN_00034d20(uVar10,iVar8,uVar9)" identifier (argument_list "(uVar10,iVar8,uVar9)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar1 = (undefined4 *)piVar5[3];" (assignment_expression "puVar1 = (undefined4 *)piVar5[3]" identifier = (cast_expression "(undefined4 *)piVar5[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[3]" identifier [ number_literal ]))) ;) (expression_statement "puVar3 = puVar6 + 0x22;" (assignment_expression "puVar3 = puVar6 + 0x22" identifier = (binary_expression "puVar6 + 0x22" identifier + number_literal)) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" { (expression_statement "uVar9 = puVar1[1];" (assignment_expression "uVar9 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "*puVar3 = 4;" (assignment_expression "*puVar3 = 4" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = uVar9;" (assignment_expression "puVar3[1] = uVar9" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) })) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "DAT_001cf948 = piVar5;" (assignment_expression "DAT_001cf948 = piVar5" identifier = identifier) ;) (expression_statement "iVar8 = (*pcVar7)(puVar6);" (assignment_expression "iVar8 = (*pcVar7)(puVar6)" identifier = (call_expression "(*pcVar7)(puVar6)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(puVar6)" ( identifier )))) ;) (expression_statement "DAT_001cf948 = (int *)0x0;" (assignment_expression "DAT_001cf948 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" { (expression_statement "iVar2 = piVar5[1];" (assignment_expression "iVar2 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);" (assignment_expression "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" identifier (argument_list "(0,"%F%P: %s: plugin error: %d\n",5)" ( number_literal , (string_literal ""%F%P: %s: plugin error: %d\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar9,iVar2,iVar8);" (call_expression "FUN_00034d20(uVar9,iVar2,iVar8)" identifier (argument_list "(uVar9,iVar2,iVar8)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" identifier = identifier) ;) })) (expression_statement "uVar11 = (uint)DAT_001d03e1;" (assignment_expression "uVar11 = (uint)DAT_001d03e1" identifier = (cast_expression "(uint)DAT_001d03e1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "DAT_001d03e1 = DAT_001d03e1 | 3;" (assignment_expression "DAT_001d03e1 = DAT_001d03e1 | 3" identifier = (binary_expression "DAT_001d03e1 | 3" identifier | number_literal)) ;) (expression_statement "DAT_001cf940 = uVar11 & 1;" (assignment_expression "DAT_001cf940 = uVar11 & 1" identifier = (binary_expression "uVar11 & 1" identifier & number_literal)) ;) (expression_statement "DAT_001cf900 = *puVar1;" (assignment_expression "DAT_001cf900 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "DAT_001cf904 = puVar1[1];" (assignment_expression "DAT_001cf904 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf908 = puVar1[2];" (assignment_expression "DAT_001cf908 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf90c = puVar1[3];" (assignment_expression "DAT_001cf90c = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf910 = puVar1[4];" (assignment_expression "DAT_001cf910 = puVar1[4]" identifier = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf914 = puVar1[5];" (assignment_expression "DAT_001cf914 = puVar1[5]" identifier = (subscript_expression "puVar1[5]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf918 = puVar1[6];" (assignment_expression "DAT_001cf918 = puVar1[6]" identifier = (subscript_expression "puVar1[6]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf91c = puVar1[7];" (assignment_expression "DAT_001cf91c = puVar1[7]" identifier = (subscript_expression "puVar1[7]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf920 = puVar1[8];" (assignment_expression "DAT_001cf920 = puVar1[8]" identifier = (subscript_expression "puVar1[8]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf924 = puVar1[9];" (assignment_expression "DAT_001cf924 = puVar1[9]" identifier = (subscript_expression "puVar1[9]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf92c = puVar1[0xb];" (assignment_expression "DAT_001cf92c = puVar1[0xb]" identifier = (subscript_expression "puVar1[0xb]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf930 = puVar1[0xc];" (assignment_expression "DAT_001cf930 = puVar1[0xc]" identifier = (subscript_expression "puVar1[0xc]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf934 = puVar1[0xd];" (assignment_expression "DAT_001cf934 = puVar1[0xd]" identifier = (subscript_expression "puVar1[0xd]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf938 = puVar1[0xe];" (assignment_expression "DAT_001cf938 = puVar1[0xe]" identifier = (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ;) (expression_statement "DAT_001cf928 = FUN_00036e80;" (assignment_expression "DAT_001cf928 = FUN_00036e80" identifier = identifier) ;) (expression_statement "DAT_001d03fc = &DAT_001cf900;" (assignment_expression "DAT_001d03fc = &DAT_001cf900" identifier = (pointer_expression "&DAT_001cf900" & identifier)) ;) (expression_statement "DAT_001cf93c = puVar1;" (assignment_expression "DAT_001cf93c = puVar1" identifier = identifier) ;) (expression_statement "register_ld_plugin_object_p(FUN_00037dd0);" (call_expression "register_ld_plugin_object_p(FUN_00037dd0)" identifier (argument_list "(FUN_00037dd0)" ( identifier ))) ;) (return_statement "return;" return ;)) (case_statement "case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;" case number_literal : (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = DAT_001d03e0 & 3;" (assignment_expression "bVar4 = DAT_001d03e0 & 3" identifier = (binary_expression "DAT_001d03e0 & 3" identifier & number_literal)) ;) (if_statement "if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }" if (parenthesized_expression "((bVar4 != 2) && (iVar8 = 1, bVar4 != 0))" ( (binary_expression "(bVar4 != 2) && (iVar8 = 1, bVar4 != 0)" (parenthesized_expression "(bVar4 != 2)" ( (binary_expression "bVar4 != 2" identifier != number_literal) )) && (parenthesized_expression "(iVar8 = 1, bVar4 != 0)" ( (comma_expression "iVar8 = 1, bVar4 != 0" (assignment_expression "iVar8 = 1" identifier = number_literal) , (binary_expression "bVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = (bVar4 == 1) + 2;\n      }" { (expression_statement "iVar8 = (bVar4 == 1) + 2;" (assignment_expression "iVar8 = (bVar4 == 1) + 2" identifier = (binary_expression "(bVar4 == 1) + 2" (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) + number_literal)) ;) })) (expression_statement "*piVar5 = iVar8;" (assignment_expression "*piVar5 = iVar8" (pointer_expression "*piVar5" * identifier) = identifier) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037250;" (assignment_expression "*piVar5 = (int)FUN_00037250" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037250" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000371f0;" (assignment_expression "*piVar5 = (int)FUN_000371f0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000371f0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037190;" (assignment_expression "*piVar5 = (int)FUN_00037190" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037190" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000375a0;" (assignment_expression "*piVar5 = (int)FUN_000375a0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000375a0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037db0;" (assignment_expression "*piVar5 = (int)FUN_00037db0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037db0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037390;" (assignment_expression "*piVar5 = (int)FUN_00037390" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037390" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;" default : (expression_statement "*piVar5 = (int)FUN_00037920;" (assignment_expression "*piVar5 = (int)FUN_00037920" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037920" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037120;" (assignment_expression "*piVar5 = (int)FUN_00037120" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037120" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000370b0;" (assignment_expression "*piVar5 = (int)FUN_000370b0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000370b0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037310;" (assignment_expression "*piVar5 = (int)FUN_00037310" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037310" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)PTR_DAT_001ce3fc;" (assignment_expression "*piVar5 = (int)PTR_DAT_001ce3fc" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)PTR_DAT_001ce3fc" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_000372b0;" (assignment_expression "*piVar5 = (int)FUN_000372b0" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_000372b0" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = 0xe7;" (assignment_expression "*piVar5 = 0xe7" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037410;" (assignment_expression "*piVar5 = (int)FUN_00037410" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037410" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) (case_statement "case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;" case number_literal : (expression_statement "*piVar5 = (int)FUN_00037d90;" (assignment_expression "*piVar5 = (int)FUN_00037d90" (pointer_expression "*piVar5" * identifier) = (cast_expression "(int)FUN_00037d90" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00038400;" goto statement_identifier ;)) })) }) 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 TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT * LIT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (do_statement do (compound_statement { (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (string_literal " string_content ") ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (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 = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement default : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;)) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00038360(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00038360(void)" (identifier "FUN_00038360") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  code *pcVar7;\n  int iVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  int *piVar12;\n  uint *puVar13;\n  \n  if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }\n  uVar11 = 0;\n  piVar5 = DAT_001cf954;\n  do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);\n  puVar13 = &DAT_0007e264;\n  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);\n  piVar5 = puVar6 + 1;\n  uVar11 = 0xb;\n  *puVar6 = 0xb;\n  do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "uint *puVar13;" (type_identifier "uint") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (if_statement "if (DAT_001cf954 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_001cf954 == (int *)0x0)" (( "(") (binary_expression "DAT_001cf954 == (int *)0x0" (identifier "DAT_001cf954") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar5 = DAT_001cf954;" (assignment_expression "piVar5 = DAT_001cf954" (identifier "piVar5") (= "=") (identifier "DAT_001cf954")) (; ";")) (do_statement "do {\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  } while (piVar5 != (int *)0x0);" (do "do") (compound_statement "{\n    puVar13 = (uint *)(piVar5 + 4);\n    piVar5 = (int *)*piVar5;\n    if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }\n  }" ({ "{") (expression_statement "puVar13 = (uint *)(piVar5 + 4);" (assignment_expression "puVar13 = (uint *)(piVar5 + 4)" (identifier "puVar13") (= "=") (cast_expression "(uint *)(piVar5 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 4)" (( "(") (binary_expression "piVar5 + 4" (identifier "piVar5") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "piVar5 = (int *)*piVar5;" (assignment_expression "piVar5 = (int *)*piVar5" (identifier "piVar5") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (if_statement "if (uVar11 < *puVar13) {\n      uVar11 = *puVar13;\n    }" (if "if") (parenthesized_expression "(uVar11 < *puVar13)" (( "(") (binary_expression "uVar11 < *puVar13" (identifier "uVar11") (< "<") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) () ")")) (compound_statement "{\n      uVar11 = *puVar13;\n    }" ({ "{") (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" (identifier "uVar11") (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "puVar13 = &DAT_0007e264;" (assignment_expression "puVar13 = &DAT_0007e264" (identifier "puVar13") (= "=") (pointer_expression "&DAT_0007e264" (& "&") (identifier "DAT_0007e264"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);" (assignment_expression "puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)xmalloc(uVar11 * 8 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(uVar11 * 8 + 0x90)" (identifier "xmalloc") (argument_list "(uVar11 * 8 + 0x90)" (( "(") (binary_expression "uVar11 * 8 + 0x90" (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8")) (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (expression_statement "piVar5 = puVar6 + 1;" (assignment_expression "piVar5 = puVar6 + 1" (identifier "piVar5") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar11 = 0xb;" (assignment_expression "uVar11 = 0xb" (identifier "uVar11") (= "=") (number_literal "0xb")) (; ";")) (expression_statement "*puVar6 = 0xb;" (assignment_expression "*puVar6 = 0xb" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0xb")) (; ";")) (do_statement "do {\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }\n  }" ({ "{") (switch_statement "switch(uVar11) {\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" (switch "switch") (parenthesized_expression "(uVar11)" (( "(") (identifier "uVar11") () ")")) (compound_statement "{\n    case 0:\n    case 2:\n    case 4:\n    case 0x13:\n    case 0x14:\n    case 0x15:\n    case 0x16:\n    case 0x17:\n    case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;\n    case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;\n    case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;\n    case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;\n    case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;\n    case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;\n    case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;\n    case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;\n    case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;\n    default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;\n    case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;\n    case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;\n    case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;\n    case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;\n    case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;\n    case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;\n    case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;\n    case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;\n    }" ({ "{") (case_statement "case 0:" (case "case") (number_literal "0") (: ":")) (case_statement "case 2:" (case "case") (number_literal "2") (: ":")) (case_statement "case 4:" (case "case") (number_literal "4") (: ":")) (case_statement "case 0x13:" (case "case") (number_literal "0x13") (: ":")) (case_statement "case 0x14:" (case "case") (number_literal "0x14") (: ":")) (case_statement "case 0x15:" (case "case") (number_literal "0x15") (: ":")) (case_statement "case 0x16:" (case "case") (number_literal "0x16") (: ":")) (case_statement "case 0x17:" (case "case") (number_literal "0x17") (: ":")) (case_statement "case 0x18:\n      do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);\n      break;" (case "case") (number_literal "0x18") (: ":") (do_statement "do {\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      } while (0x19 < uVar11);" (do "do") (compound_statement "{\n        FUN_00034d70("../../ld/plugin.c",0x3b8);\n        piVar12 = piVar5;\n        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;\nLAB_00038407:\n        piVar5 = piVar12 + 2;\n        uVar11 = *puVar13;\n        puVar13 = puVar13 + 1;\n        piVar12[1] = uVar11;\n      }" ({ "{") (expression_statement "FUN_00034d70("../../ld/plugin.c",0x3b8);" (call_expression "FUN_00034d70("../../ld/plugin.c",0x3b8)" (identifier "FUN_00034d70") (argument_list "("../../ld/plugin.c",0x3b8)" (( "(") (string_literal ""../../ld/plugin.c"" (" """) (string_content "../../ld/plugin.c") (" """)) (, ",") (number_literal "0x3b8") () ")"))) (; ";")) (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" (identifier "piVar12") (= "=") (identifier "piVar5")) (; ";")) (if_statement "if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;" (if "if") (parenthesized_expression "(puVar13 == (uint *)&DAT_0007e2a4)" (( "(") (binary_expression "puVar13 == (uint *)&DAT_0007e2a4" (identifier "puVar13") (== "==") (cast_expression "(uint *)&DAT_0007e2a4" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0007e2a4" (& "&") (identifier "DAT_0007e2a4")))) () ")")) (goto_statement "goto LAB_00038440;" (goto "goto") (statement_identifier "LAB_00038440") (; ";"))) (labeled_statement "LAB_00038407:\n        piVar5 = piVar12 + 2;" (statement_identifier "LAB_00038407") (: ":") (expression_statement "piVar5 = piVar12 + 2;" (assignment_expression "piVar5 = piVar12 + 2" (identifier "piVar5") (= "=") (binary_expression "piVar12 + 2" (identifier "piVar12") (+ "+") (number_literal "2"))) (; ";"))) (expression_statement "uVar11 = *puVar13;" (assignment_expression "uVar11 = *puVar13" (identifier "uVar11") (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar12[1] = uVar11;" (assignment_expression "piVar12[1] = uVar11" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0x19 < uVar11)" (( "(") (binary_expression "0x19 < uVar11" (number_literal "0x19") (< "<") (identifier "uVar11")) () ")")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n      *piVar5 = 1;\nLAB_00038400:\n      piVar12 = piVar5;\n      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;\nLAB_00038440:\n      puVar1 = DAT_001d03fc;\n      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }\n      uVar11 = (uint)DAT_001d03e1;\n      DAT_001d03e1 = DAT_001d03e1 | 3;\n      DAT_001cf940 = uVar11 & 1;\n      DAT_001cf900 = *puVar1;\n      DAT_001cf904 = puVar1[1];\n      DAT_001cf908 = puVar1[2];\n      DAT_001cf90c = puVar1[3];\n      DAT_001cf910 = puVar1[4];\n      DAT_001cf914 = puVar1[5];\n      DAT_001cf918 = puVar1[6];\n      DAT_001cf91c = puVar1[7];\n      DAT_001cf920 = puVar1[8];\n      DAT_001cf924 = puVar1[9];\n      DAT_001cf92c = puVar1[0xb];\n      DAT_001cf930 = puVar1[0xc];\n      DAT_001cf934 = puVar1[0xd];\n      DAT_001cf938 = puVar1[0xe];\n      DAT_001cf928 = FUN_00036e80;\n      DAT_001d03fc = &DAT_001cf900;\n      DAT_001cf93c = puVar1;\n      register_ld_plugin_object_p(FUN_00037dd0);\n      return;" (case "case") (number_literal "1") (: ":") (expression_statement "*piVar5 = 1;" (assignment_expression "*piVar5 = 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00038400:\n      piVar12 = piVar5;" (statement_identifier "LAB_00038400") (: ":") (expression_statement "piVar12 = piVar5;" (assignment_expression "piVar12 = piVar5" (identifier "piVar12") (= "=") (identifier "piVar5")) (; ";"))) (if_statement "if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;" (if "if") (parenthesized_expression "(puVar13 != (uint *)&DAT_0007e2a4)" (( "(") (binary_expression "puVar13 != (uint *)&DAT_0007e2a4" (identifier "puVar13") (!= "!=") (cast_expression "(uint *)&DAT_0007e2a4" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0007e2a4" (& "&") (identifier "DAT_0007e2a4")))) () ")")) (goto_statement "goto LAB_00038407;" (goto "goto") (statement_identifier "LAB_00038407") (; ";"))) (labeled_statement "LAB_00038440:\n      puVar1 = DAT_001d03fc;" (statement_identifier "LAB_00038440") (: ":") (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" (identifier "puVar1") (= "=") (identifier "DAT_001d03fc")) (; ";"))) (for_statement "for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" (for "for") (( "(") (assignment_expression "piVar5 = DAT_001cf954" (identifier "piVar5") (= "=") (identifier "DAT_001cf954")) (; ";") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "piVar5 = (int *)*piVar5" (identifier "piVar5") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) () ")") (compound_statement "{\n        DAT_001d03fc = puVar1;\n        pcVar7 = (code *)dlsym(piVar5[2],"onload");\n        if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }\n        puVar1 = (undefined4 *)piVar5[3];\n        puVar3 = puVar6 + 0x22;\n        while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }\n        *puVar3 = 0;\n        puVar3[1] = 0;\n        DAT_001cf948 = piVar5;\n        iVar8 = (*pcVar7)(puVar6);\n        DAT_001cf948 = (int *)0x0;\n        if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }\n        puVar1 = DAT_001d03fc;\n      }" ({ "{") (expression_statement "DAT_001d03fc = puVar1;" (assignment_expression "DAT_001d03fc = puVar1" (identifier "DAT_001d03fc") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "pcVar7 = (code *)dlsym(piVar5[2],"onload");" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"onload")" (identifier "pcVar7") (= "=") (cast_expression "(code *)dlsym(piVar5[2],"onload")" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dlsym(piVar5[2],"onload")" (identifier "dlsym") (argument_list "(piVar5[2],"onload")" (( "(") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (, ",") (string_literal ""onload"" (" """) (string_content "onload") (" """)) () ")"))))) (; ";")) (if_statement "if ((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" (if "if") (parenthesized_expression "((pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0))" (( "(") (binary_expression "(pcVar7 == (code *)0x0) &&\n           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" (parenthesized_expression "(pcVar7 == (code *)0x0)" (( "(") (binary_expression "pcVar7 == (code *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)" (( "(") (comma_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0" (assignment_expression "pcVar7 = (code *)dlsym(piVar5[2],"_onload")" (identifier "pcVar7") (= "=") (cast_expression "(code *)dlsym(piVar5[2],"_onload")" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dlsym(piVar5[2],"_onload")" (identifier "dlsym") (argument_list "(piVar5[2],"_onload")" (( "(") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (, ",") (string_literal ""_onload"" (" """) (string_content "_onload") (" """)) () ")"))))) (, ",") (binary_expression "pcVar7 == (code *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n          uVar9 = dlerror();\n          iVar8 = piVar5[1];\n          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);\n          FUN_00034d20(uVar10,iVar8,uVar9);\n        }" ({ "{") (expression_statement "uVar9 = dlerror();" (assignment_expression "uVar9 = dlerror()" (identifier "uVar9") (= "=") (call_expression "dlerror()" (identifier "dlerror") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = piVar5[1];" (assignment_expression "iVar8 = piVar5[1]" (identifier "iVar8") (= "=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);" (assignment_expression "uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" (identifier "uVar10") (= "=") (call_expression "dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: %s: error loading plugin: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: %s: error loading plugin: %s\n"" (" """) (string_content "%F%P: %s: error loading plugin: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar10,iVar8,uVar9);" (call_expression "FUN_00034d20(uVar10,iVar8,uVar9)" (identifier "FUN_00034d20") (argument_list "(uVar10,iVar8,uVar9)" (( "(") (identifier "uVar10") (, ",") (identifier "iVar8") (, ",") (identifier "uVar9") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)piVar5[3];" (assignment_expression "puVar1 = (undefined4 *)piVar5[3]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)piVar5[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "puVar3 = puVar6 + 0x22;" (assignment_expression "puVar3 = puVar6 + 0x22" (identifier "puVar3") (= "=") (binary_expression "puVar6 + 0x22" (identifier "puVar6") (+ "+") (number_literal "0x22"))) (; ";")) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" (while "while") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar9 = puVar1[1];\n          puVar1 = (undefined4 *)*puVar1;\n          *puVar3 = 4;\n          puVar3[1] = uVar9;\n          puVar3 = puVar3 + 2;\n        }" ({ "{") (expression_statement "uVar9 = puVar1[1];" (assignment_expression "uVar9 = puVar1[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (expression_statement "*puVar3 = 4;" (assignment_expression "*puVar3 = 4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "4")) (; ";")) (expression_statement "puVar3[1] = uVar9;" (assignment_expression "puVar3[1] = uVar9" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar3 = puVar3 + 2;" (assignment_expression "puVar3 = puVar3 + 2" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 2" (identifier "puVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001cf948 = piVar5;" (assignment_expression "DAT_001cf948 = piVar5" (identifier "DAT_001cf948") (= "=") (identifier "piVar5")) (; ";")) (expression_statement "iVar8 = (*pcVar7)(puVar6);" (assignment_expression "iVar8 = (*pcVar7)(puVar6)" (identifier "iVar8") (= "=") (call_expression "(*pcVar7)(puVar6)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")")))) (; ";")) (expression_statement "DAT_001cf948 = (int *)0x0;" (assignment_expression "DAT_001cf948 = (int *)0x0" (identifier "DAT_001cf948") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar8 != 0) {\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = piVar5[1];\n          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);\n          FUN_00034d20(uVar9,iVar2,iVar8);\n        }" ({ "{") (expression_statement "iVar2 = piVar5[1];" (assignment_expression "iVar2 = piVar5[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);" (assignment_expression "uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" (identifier "uVar9") (= "=") (call_expression "dcgettext(0,"%F%P: %s: plugin error: %d\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: %s: plugin error: %d\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: %s: plugin error: %d\n"" (" """) (string_content "%F%P: %s: plugin error: %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar9,iVar2,iVar8);" (call_expression "FUN_00034d20(uVar9,iVar2,iVar8)" (identifier "FUN_00034d20") (argument_list "(uVar9,iVar2,iVar8)" (( "(") (identifier "uVar9") (, ",") (identifier "iVar2") (, ",") (identifier "iVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = DAT_001d03fc;" (assignment_expression "puVar1 = DAT_001d03fc" (identifier "puVar1") (= "=") (identifier "DAT_001d03fc")) (; ";")) (} "}"))) (expression_statement "uVar11 = (uint)DAT_001d03e1;" (assignment_expression "uVar11 = (uint)DAT_001d03e1" (identifier "uVar11") (= "=") (cast_expression "(uint)DAT_001d03e1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "DAT_001d03e1"))) (; ";")) (expression_statement "DAT_001d03e1 = DAT_001d03e1 | 3;" (assignment_expression "DAT_001d03e1 = DAT_001d03e1 | 3" (identifier "DAT_001d03e1") (= "=") (binary_expression "DAT_001d03e1 | 3" (identifier "DAT_001d03e1") (| "|") (number_literal "3"))) (; ";")) (expression_statement "DAT_001cf940 = uVar11 & 1;" (assignment_expression "DAT_001cf940 = uVar11 & 1" (identifier "DAT_001cf940") (= "=") (binary_expression "uVar11 & 1" (identifier "uVar11") (& "&") (number_literal "1"))) (; ";")) (expression_statement "DAT_001cf900 = *puVar1;" (assignment_expression "DAT_001cf900 = *puVar1" (identifier "DAT_001cf900") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "DAT_001cf904 = puVar1[1];" (assignment_expression "DAT_001cf904 = puVar1[1]" (identifier "DAT_001cf904") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_001cf908 = puVar1[2];" (assignment_expression "DAT_001cf908 = puVar1[2]" (identifier "DAT_001cf908") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "DAT_001cf90c = puVar1[3];" (assignment_expression "DAT_001cf90c = puVar1[3]" (identifier "DAT_001cf90c") (= "=") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "DAT_001cf910 = puVar1[4];" (assignment_expression "DAT_001cf910 = puVar1[4]" (identifier "DAT_001cf910") (= "=") (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "DAT_001cf914 = puVar1[5];" (assignment_expression "DAT_001cf914 = puVar1[5]" (identifier "DAT_001cf914") (= "=") (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "DAT_001cf918 = puVar1[6];" (assignment_expression "DAT_001cf918 = puVar1[6]" (identifier "DAT_001cf918") (= "=") (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "DAT_001cf91c = puVar1[7];" (assignment_expression "DAT_001cf91c = puVar1[7]" (identifier "DAT_001cf91c") (= "=") (subscript_expression "puVar1[7]" (identifier "puVar1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "DAT_001cf920 = puVar1[8];" (assignment_expression "DAT_001cf920 = puVar1[8]" (identifier "DAT_001cf920") (= "=") (subscript_expression "puVar1[8]" (identifier "puVar1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "DAT_001cf924 = puVar1[9];" (assignment_expression "DAT_001cf924 = puVar1[9]" (identifier "DAT_001cf924") (= "=") (subscript_expression "puVar1[9]" (identifier "puVar1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "DAT_001cf92c = puVar1[0xb];" (assignment_expression "DAT_001cf92c = puVar1[0xb]" (identifier "DAT_001cf92c") (= "=") (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "DAT_001cf930 = puVar1[0xc];" (assignment_expression "DAT_001cf930 = puVar1[0xc]" (identifier "DAT_001cf930") (= "=") (subscript_expression "puVar1[0xc]" (identifier "puVar1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "DAT_001cf934 = puVar1[0xd];" (assignment_expression "DAT_001cf934 = puVar1[0xd]" (identifier "DAT_001cf934") (= "=") (subscript_expression "puVar1[0xd]" (identifier "puVar1") ([ "[") (number_literal "0xd") (] "]"))) (; ";")) (expression_statement "DAT_001cf938 = puVar1[0xe];" (assignment_expression "DAT_001cf938 = puVar1[0xe]" (identifier "DAT_001cf938") (= "=") (subscript_expression "puVar1[0xe]" (identifier "puVar1") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (expression_statement "DAT_001cf928 = FUN_00036e80;" (assignment_expression "DAT_001cf928 = FUN_00036e80" (identifier "DAT_001cf928") (= "=") (identifier "FUN_00036e80")) (; ";")) (expression_statement "DAT_001d03fc = &DAT_001cf900;" (assignment_expression "DAT_001d03fc = &DAT_001cf900" (identifier "DAT_001d03fc") (= "=") (pointer_expression "&DAT_001cf900" (& "&") (identifier "DAT_001cf900"))) (; ";")) (expression_statement "DAT_001cf93c = puVar1;" (assignment_expression "DAT_001cf93c = puVar1" (identifier "DAT_001cf93c") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "register_ld_plugin_object_p(FUN_00037dd0);" (call_expression "register_ld_plugin_object_p(FUN_00037dd0)" (identifier "register_ld_plugin_object_p") (argument_list "(FUN_00037dd0)" (( "(") (identifier "FUN_00037dd0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";"))) (case_statement "case 3:\n      iVar8 = 0;\n      bVar4 = DAT_001d03e0 & 3;\n      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }\n      *piVar5 = iVar8;\n      goto LAB_00038400;" (case "case") (number_literal "3") (: ":") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar4 = DAT_001d03e0 & 3;" (assignment_expression "bVar4 = DAT_001d03e0 & 3" (identifier "bVar4") (= "=") (binary_expression "DAT_001d03e0 & 3" (identifier "DAT_001d03e0") (& "&") (number_literal "3"))) (; ";")) (if_statement "if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {\n        iVar8 = (bVar4 == 1) + 2;\n      }" (if "if") (parenthesized_expression "((bVar4 != 2) && (iVar8 = 1, bVar4 != 0))" (( "(") (binary_expression "(bVar4 != 2) && (iVar8 = 1, bVar4 != 0)" (parenthesized_expression "(bVar4 != 2)" (( "(") (binary_expression "bVar4 != 2" (identifier "bVar4") (!= "!=") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = 1, bVar4 != 0)" (( "(") (comma_expression "iVar8 = 1, bVar4 != 0" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (, ",") (binary_expression "bVar4 != 0" (identifier "bVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        iVar8 = (bVar4 == 1) + 2;\n      }" ({ "{") (expression_statement "iVar8 = (bVar4 == 1) + 2;" (assignment_expression "iVar8 = (bVar4 == 1) + 2" (identifier "iVar8") (= "=") (binary_expression "(bVar4 == 1) + 2" (parenthesized_expression "(bVar4 == 1)" (( "(") (binary_expression "bVar4 == 1" (identifier "bVar4") (== "==") (number_literal "1")) () ")")) (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*piVar5 = iVar8;" (assignment_expression "*piVar5 = iVar8" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (identifier "iVar8")) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 5:\n      *piVar5 = (int)FUN_00037250;\n      goto LAB_00038400;" (case "case") (number_literal "5") (: ":") (expression_statement "*piVar5 = (int)FUN_00037250;" (assignment_expression "*piVar5 = (int)FUN_00037250" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037250" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037250"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 6:\n      *piVar5 = (int)FUN_000371f0;\n      goto LAB_00038400;" (case "case") (number_literal "6") (: ":") (expression_statement "*piVar5 = (int)FUN_000371f0;" (assignment_expression "*piVar5 = (int)FUN_000371f0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_000371f0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_000371f0"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 7:\n      *piVar5 = (int)FUN_00037190;\n      goto LAB_00038400;" (case "case") (number_literal "7") (: ":") (expression_statement "*piVar5 = (int)FUN_00037190;" (assignment_expression "*piVar5 = (int)FUN_00037190" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037190" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037190"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 8:\n      *piVar5 = (int)FUN_000375a0;\n      goto LAB_00038400;" (case "case") (number_literal "8") (: ":") (expression_statement "*piVar5 = (int)FUN_000375a0;" (assignment_expression "*piVar5 = (int)FUN_000375a0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_000375a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_000375a0"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 9:\n      *piVar5 = (int)FUN_00037db0;\n      goto LAB_00038400;" (case "case") (number_literal "9") (: ":") (expression_statement "*piVar5 = (int)FUN_00037db0;" (assignment_expression "*piVar5 = (int)FUN_00037db0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037db0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037db0"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 10:\n      *piVar5 = (int)FUN_00037390;\n      goto LAB_00038400;" (case "case") (number_literal "10") (: ":") (expression_statement "*piVar5 = (int)FUN_00037390;" (assignment_expression "*piVar5 = (int)FUN_00037390" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037390" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037390"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "default:\n      *piVar5 = (int)FUN_00037920;\n      goto LAB_00038400;" (default "default") (: ":") (expression_statement "*piVar5 = (int)FUN_00037920;" (assignment_expression "*piVar5 = (int)FUN_00037920" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037920" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037920"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0xc:\n      *piVar5 = (int)FUN_00037120;\n      goto LAB_00038400;" (case "case") (number_literal "0xc") (: ":") (expression_statement "*piVar5 = (int)FUN_00037120;" (assignment_expression "*piVar5 = (int)FUN_00037120" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037120" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037120"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0xd:\n      *piVar5 = (int)FUN_000370b0;\n      goto LAB_00038400;" (case "case") (number_literal "0xd") (: ":") (expression_statement "*piVar5 = (int)FUN_000370b0;" (assignment_expression "*piVar5 = (int)FUN_000370b0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_000370b0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_000370b0"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0xe:\n      *piVar5 = (int)FUN_00037310;\n      goto LAB_00038400;" (case "case") (number_literal "0xe") (: ":") (expression_statement "*piVar5 = (int)FUN_00037310;" (assignment_expression "*piVar5 = (int)FUN_00037310" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037310" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037310"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0xf:\n      *piVar5 = (int)PTR_DAT_001ce3fc;\n      goto LAB_00038400;" (case "case") (number_literal "0xf") (: ":") (expression_statement "*piVar5 = (int)PTR_DAT_001ce3fc;" (assignment_expression "*piVar5 = (int)PTR_DAT_001ce3fc" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)PTR_DAT_001ce3fc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "PTR_DAT_001ce3fc"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0x10:\n      *piVar5 = (int)FUN_000372b0;\n      goto LAB_00038400;" (case "case") (number_literal "0x10") (: ":") (expression_statement "*piVar5 = (int)FUN_000372b0;" (assignment_expression "*piVar5 = (int)FUN_000372b0" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_000372b0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_000372b0"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0x11:\n      *piVar5 = 0xe7;\n      goto LAB_00038400;" (case "case") (number_literal "0x11") (: ":") (expression_statement "*piVar5 = 0xe7;" (assignment_expression "*piVar5 = 0xe7" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (number_literal "0xe7")) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0x12:\n      *piVar5 = (int)FUN_00037410;\n      goto LAB_00038400;" (case "case") (number_literal "0x12") (: ":") (expression_statement "*piVar5 = (int)FUN_00037410;" (assignment_expression "*piVar5 = (int)FUN_00037410" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037410" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037410"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (case_statement "case 0x19:\n      *piVar5 = (int)FUN_00037d90;\n      goto LAB_00038400;" (case "case") (number_literal "0x19") (: ":") (expression_statement "*piVar5 = (int)FUN_00037d90;" (assignment_expression "*piVar5 = (int)FUN_00037d90" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (cast_expression "(int)FUN_00037d90" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "FUN_00037d90"))) (; ";")) (goto_statement "goto LAB_00038400;" (goto "goto") (statement_identifier "LAB_00038400") (; ";"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

void function_1(void)

{
  size_t *psVar1;
  type_1 *var_17;
  char *pcVar3;
  type_2 *pbVar4;
  type_3 *var_18;
  type_4 var_21;
  type_5 *var_3;
  type_3 *var_6;
  type_6 var_11;
  type_7 *var_13;
  int var_19;
  char *pcVar12;
  type_3 uVar13;
  type_8 var_2;
  int *piVar15;
  int *var_9;
  type_6 *var_8;
  
  if (var_1 == (type_9 *)0x0) {
    return;
  }
  var_2 = 0;
  var_3 = var_1;
  do {
    psVar1 = &var_3->n_args;
    var_3 = var_3->next;
    if (var_2 < *psVar1) {
      var_2 = *psVar1;
    }
  } while (var_3 != (type_5 *)0x0);
  var_8 = var_4 + 1;
  var_6 = (type_3 *)var_5(var_2 * 8 + 0x90);
  piVar15 = var_6 + 1;
  var_11 = LDPT_MESSAGE;
  *var_6 = 0xb;
  do {
    switch(var_11) {
    case LDPT_NULL:
    case LDPT_GOLD_VERSION:
    case LDPT_OPTION:
    case LDPT_GET_INPUT_SECTION_COUNT:
    case LDPT_GET_INPUT_SECTION_TYPE:
    case LDPT_GET_INPUT_SECTION_NAME:
    case LDPT_GET_INPUT_SECTION_CONTENTS:
    case LDPT_UPDATE_SECTION_ORDER:
    case LDPT_ALLOW_SECTION_ORDERING:
      do {
        var_7("../../ld/plugin.c",0x3b8);
        var_9 = piVar15;
        if (var_8 == (type_6 *)&DAT_0007e2a4) goto LAB_00038440;
LAB_00038407:
        piVar15 = var_9 + 2;
        var_11 = *var_8;
        var_8 = var_8 + 1;
        var_9[1] = var_11;
      } while (var_10 < var_11);
      break;
    case LDPT_API_VERSION:
      *piVar15 = 1;
LAB_00038400:
      var_9 = piVar15;
      if (var_8 != (type_6 *)&DAT_0007e2a4) goto LAB_00038407;
LAB_00038440:
      pbVar4 = link_info.callbacks;
      for (var_3 = var_1; var_3 != (type_9 *)0x0; var_3 = var_3->next) {
        link_info.callbacks = pbVar4;
        var_13 = (type_7 *)var_12(var_3->dlhandle,"onload");
        if ((var_13 == (type_7 *)0x0) &&
           (var_13 = (type_7 *)var_12(var_3->dlhandle,"_onload"), var_13 == (type_7 *)0x0)) {
          uVar13 = var_14();
          pcVar3 = var_3->name;
          pcVar12 = (char *)var_15(0,"%F%P: %s: error loading plugin: %s\n",5);
          var_16(pcVar12,pcVar3,uVar13);
        }
        var_17 = var_3->args;
        var_18 = var_6 + 0x22;
        while (var_17 != (type_1 *)0x0) {
          pcVar3 = var_17->arg;
          var_17 = var_17->next;
          *var_18 = 4;
          var_18[1] = pcVar3;
          var_18 = var_18 + 2;
        }
        *var_18 = 0;
        var_18[1] = 0;
        called_plugin = var_3;
        var_19 = (*var_13)(var_6);
        called_plugin = (type_9 *)0x0;
        if (var_19 != 0) {
          pcVar3 = var_3->name;
          pcVar12 = (char *)var_15(0,"%F%P: %s: plugin error: %d\n",5);
          var_16(pcVar12,pcVar3,var_19);
        }
        pbVar4 = link_info.callbacks;
      }
      var_2 = (type_8)(type_4)link_info._1_1_;
      link_info._1_1_ = link_info._1_1_ | 3;
      orig_notice_all = var_2 & 1;
      plugin_callbacks.add_archive_element = pbVar4->add_archive_element;
      plugin_callbacks.multiple_definition = pbVar4->multiple_definition;
      plugin_callbacks.multiple_common = pbVar4->multiple_common;
      plugin_callbacks.add_to_set = pbVar4->add_to_set;
      plugin_callbacks.constructor = pbVar4->constructor;
      plugin_callbacks.warning = pbVar4->warning;
      plugin_callbacks.undefined_symbol = pbVar4->undefined_symbol;
      plugin_callbacks.reloc_overflow = pbVar4->reloc_overflow;
      plugin_callbacks.reloc_dangerous = pbVar4->reloc_dangerous;
      plugin_callbacks.unattached_reloc = pbVar4->unattached_reloc;
      plugin_callbacks.var_16 = pbVar4->var_16;
      plugin_callbacks.info = pbVar4->info;
      plugin_callbacks.minfo = pbVar4->minfo;
      plugin_callbacks.override_segment_assignment = pbVar4->override_segment_assignment;
      plugin_callbacks.notice = plugin_notice;
      link_info.callbacks = &plugin_callbacks;
      orig_callbacks = pbVar4;
      var_20(plugin_object_p);
      return;
    case LDPT_LINKER_OUTPUT:
      var_19 = 0;
      var_21 = link_info._0_1_ & 3;
      if ((var_21 != 2) && (var_19 = 1, var_21 != 0)) {
        var_19 = (var_21 == 1) + 2;
      }
      *piVar15 = var_19;
      goto LAB_00038400;
    case LDPT_REGISTER_CLAIM_FILE_HOOK:
      *piVar15 = (int)register_claim_file;
      goto LAB_00038400;
    case LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK:
      *piVar15 = (int)register_all_symbols_read;
      goto LAB_00038400;
    case LDPT_REGISTER_CLEANUP_HOOK:
      *piVar15 = (int)register_cleanup;
      goto LAB_00038400;
    case LDPT_ADD_SYMBOLS:
      *piVar15 = (int)add_symbols;
      goto LAB_00038400;
    case LDPT_GET_SYMBOLS:
      *piVar15 = (int)get_symbols_v1;
      goto LAB_00038400;
    case LDPT_ADD_INPUT_FILE:
      *piVar15 = (int)add_input_file;
      goto LAB_00038400;
    default:
      *piVar15 = (int)message;
      goto LAB_00038400;
    case LDPT_GET_INPUT_FILE:
      *piVar15 = (int)get_input_file;
      goto LAB_00038400;
    case LDPT_RELEASE_INPUT_FILE:
      *piVar15 = (int)release_input_file;
      goto LAB_00038400;
    case LDPT_ADD_INPUT_LIBRARY:
      *piVar15 = (int)add_input_library;
      goto LAB_00038400;
    case LDPT_OUTPUT_NAME:
      *piVar15 = (int)output_filename;
      goto LAB_00038400;
    case LDPT_SET_EXTRA_LIBRARY_PATH:
      *piVar15 = (int)set_extra_library_path;
      goto LAB_00038400;
    case LDPT_GNU_LD_VERSION:
      *piVar15 = 0xe7;
      goto LAB_00038400;
    case LDPT_GET_VIEW:
      *piVar15 = (int)get_view;
      goto LAB_00038400;
    case var_10:
      *piVar15 = (int)get_symbols_v2;
      goto LAB_00038400;
    }
  } 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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 (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (do_statement body: (compound_statement (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (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: (pointer_expression argument: (identifier))))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (labeled_statement label: (statement_identifier) (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: (pointer_expression argument: (identifier))))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (string_literal (string_content)))))) right: (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: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (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: (identifier) right: (binary_expression left: (identifier) right: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (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: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier)))))) condition: (parenthesized_expression (true))))))

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

void MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  byte bVar4;
  int *piVar5;
  undefined4 *puVar6;
  code *pcVar7;
  int iVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  uint uVar11;
  int *piVar12;
  uint *puVar13;
  
  if (DAT_001cf954 == (int *)0x0) {
    return;
  }
  uVar11 = 0;
  piVar5 = DAT_001cf954;
  do {
    puVar13 = (uint *)(piVar5 + 4);
    piVar5 = (int *)*piVar5;
    if (uVar11 < *puVar13) {
      uVar11 = *puVar13;
    }
  } while (piVar5 != (int *)0x0);
  puVar13 = &DAT_0007e264;
  puVar6 = (undefined4 *)xmalloc(uVar11 * 8 + 0x90);
  piVar5 = puVar6 + 1;
  uVar11 = 0xb;
  *puVar6 = 0xb;
  do {
    switch(uVar11) {
    case 0:
    case 2:
    case 4:
    case 0x13:
    case 0x14:
    case 0x15:
    case 0x16:
    case 0x17:
    case 0x18:
      do {
        FUN_00034d70("../../ld/plugin.c",0x3b8);
        piVar12 = piVar5;
        if (puVar13 == (uint *)&DAT_0007e2a4) goto LAB_00038440;
LAB_00038407:
        piVar5 = piVar12 + 2;
        uVar11 = *puVar13;
        puVar13 = puVar13 + 1;
        piVar12[1] = uVar11;
      } while (0x19 < uVar11);
      break;
    case 1:
      *piVar5 = 1;
LAB_00038400:
      piVar12 = piVar5;
      if (puVar13 != (uint *)&DAT_0007e2a4) goto LAB_00038407;
LAB_00038440:
      puVar1 = DAT_001d03fc;
      for (piVar5 = DAT_001cf954; piVar5 != (int *)0x0; piVar5 = (int *)*piVar5) {
        DAT_001d03fc = puVar1;
        pcVar7 = (code *)dlsym(piVar5[2],"onload");
        if ((pcVar7 == (code *)0x0) &&
           (pcVar7 = (code *)dlsym(piVar5[2],"_onload"), pcVar7 == (code *)0x0)) {
          uVar9 = dlerror();
          iVar8 = piVar5[1];
          uVar10 = dcgettext(0,"%F%P: %s: error loading plugin: %s\n",5);
          FUN_00034d20(uVar10,iVar8,uVar9);
        }
        puVar1 = (undefined4 *)piVar5[3];
        puVar3 = puVar6 + 0x22;
        while (puVar1 != (undefined4 *)0x0) {
          uVar9 = puVar1[1];
          puVar1 = (undefined4 *)*puVar1;
          *puVar3 = 4;
          puVar3[1] = uVar9;
          puVar3 = puVar3 + 2;
        }
        *puVar3 = 0;
        puVar3[1] = 0;
        DAT_001cf948 = piVar5;
        iVar8 = (*pcVar7)(puVar6);
        DAT_001cf948 = (int *)0x0;
        if (iVar8 != 0) {
          iVar2 = piVar5[1];
          uVar9 = dcgettext(0,"%F%P: %s: plugin error: %d\n",5);
          FUN_00034d20(uVar9,iVar2,iVar8);
        }
        puVar1 = DAT_001d03fc;
      }
      uVar11 = (uint)DAT_001d03e1;
      DAT_001d03e1 = DAT_001d03e1 | 3;
      DAT_001cf940 = uVar11 & 1;
      DAT_001cf900 = *puVar1;
      DAT_001cf904 = puVar1[1];
      DAT_001cf908 = puVar1[2];
      DAT_001cf90c = puVar1[3];
      DAT_001cf910 = puVar1[4];
      DAT_001cf914 = puVar1[5];
      DAT_001cf918 = puVar1[6];
      DAT_001cf91c = puVar1[7];
      DAT_001cf920 = puVar1[8];
      DAT_001cf924 = puVar1[9];
      DAT_001cf92c = puVar1[0xb];
      DAT_001cf930 = puVar1[0xc];
      DAT_001cf934 = puVar1[0xd];
      DAT_001cf938 = puVar1[0xe];
      DAT_001cf928 = FUN_00036e80;
      DAT_001d03fc = &DAT_001cf900;
      DAT_001cf93c = puVar1;
      register_ld_plugin_object_p(FUN_00037dd0);
      return;
    case 3:
      iVar8 = 0;
      bVar4 = DAT_001d03e0 & 3;
      if ((bVar4 != 2) && (iVar8 = 1, bVar4 != 0)) {
        iVar8 = (bVar4 == 1) + 2;
      }
      *piVar5 = iVar8;
      goto LAB_00038400;
    case 5:
      *piVar5 = (int)FUN_00037250;
      goto LAB_00038400;
    case 6:
      *piVar5 = (int)FUN_000371f0;
      goto LAB_00038400;
    case 7:
      *piVar5 = (int)FUN_00037190;
      goto LAB_00038400;
    case 8:
      *piVar5 = (int)FUN_000375a0;
      goto LAB_00038400;
    case 9:
      *piVar5 = (int)FUN_00037db0;
      goto LAB_00038400;
    case 10:
      *piVar5 = (int)FUN_00037390;
      goto LAB_00038400;
    default:
      *piVar5 = (int)FUN_00037920;
      goto LAB_00038400;
    case 0xc:
      *piVar5 = (int)FUN_00037120;
      goto LAB_00038400;
    case 0xd:
      *piVar5 = (int)FUN_000370b0;
      goto LAB_00038400;
    case 0xe:
      *piVar5 = (int)FUN_00037310;
      goto LAB_00038400;
    case 0xf:
      *piVar5 = (int)PTR_DAT_001ce3fc;
      goto LAB_00038400;
    case 0x10:
      *piVar5 = (int)FUN_000372b0;
      goto LAB_00038400;
    case 0x11:
      *piVar5 = 0xe7;
      goto LAB_00038400;
    case 0x12:
      *piVar5 = (int)FUN_00037410;
      goto LAB_00038400;
    case 0x19:
      *piVar5 = (int)FUN_00037d90;
      goto LAB_00038400;
    }
  } while( true );
}

