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

void check_local_sym_xref(lang_input_statement_type *statement)

{
  bfd *abfd;
  bfd_symbol **ppbVar1;
  bfd_symbol *pbVar2;
  uint uVar3;
  bfd_section *pbVar4;
  lang_nocrossref_type *plVar5;
  lang_nocrossrefs *ncrs;
  int iVar6;
  char *pcVar7;
  char *local_28;
  
  abfd = statement->the_bfd;
  if (abfd != (bfd *)0x0) {
    iVar6 = bfd_generic_link_read_symbols(abfd);
    if (iVar6 == 0) {
      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
      einfo(pcVar7,abfd);
    }
    ppbVar1 = abfd->outsymbols;
    pbVar2 = *ppbVar1;
    while (pbVar2 != (bfd_symbol *)0x0) {
      uVar3 = pbVar2->flags;
      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&
         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {
        pcVar7 = pbVar4->name;
        local_28 = (char *)0x0;
        ncrs = nocrossref_list;
        if ((uVar3 & 0x100) == 0) {
          local_28 = pbVar2->name;
        }
        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {
          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {
            iVar6 = strcmp(plVar5->name,pcVar7);
            if (iVar6 == 0) {
              check_refs(local_28,0,pbVar2->section,abfd,ncrs);
              iVar6 = ncrs->onlyfirst;
            }
            else {
              iVar6 = ncrs->onlyfirst;
            }
            if (iVar6 != 0) break;
          }
        }
      }
      ppbVar1 = ppbVar1 + 1;
      pbVar2 = *ppbVar1;
    }
  }
  return;
}



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

void FUN_00035f10(int param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  char *__s2;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  
  iVar1 = *(int *)(param_1 + 0x10);
  if (iVar1 != 0) {
    iVar5 = bfd_generic_link_read_symbols(iVar1);
    if (iVar5 == 0) {
      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
      FUN_00034d20(uVar6,iVar1);
    }
    piVar2 = *(int **)(iVar1 + 0x78);
    iVar5 = *piVar2;
    while (iVar5 != 0) {
      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&
         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {
        __s2 = (char *)*puVar3;
        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {
          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;
              puVar4 = (undefined4 *)*puVar4) {
            iVar5 = strcmp((char *)puVar4[1],__s2);
            if (iVar5 == 0) {
              FUN_00035e70(iVar1,puVar3);
              iVar5 = puVar3[2];
            }
            else {
              iVar5 = puVar3[2];
            }
            if (iVar5 != 0) break;
          }
        }
      }
      piVar2 = piVar2 + 1;
      iVar5 = *piVar2;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x1980e7
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x10],EAX
TEST EAX,EAX
JZ 0x00036028
SUB ESP,0xc
PUSH EAX
CALL 0x00016180
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003603c
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x78]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
TEST EAX,EAX
JZ 0x00036028
LEA EAX,[EBX + 0x2374]
MOV dword ptr [ESP + 0x1c],EAX
JMP 0x00035f87
ADD dword ptr [ESP + 0x18],0x4
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
TEST EAX,EAX
JZ 0x00036028
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ECX + 0x10]
TEST EAX,0x7002
JNZ 0x00035f70
TEST EAX,0x101
JZ 0x00035f70
MOV EDX,dword ptr [ECX + 0x14]
MOV EDX,dword ptr [EDX + 0x54]
TEST EDX,EDX
JZ 0x00035f70
MOV EBP,dword ptr [EDX]
MOV dword ptr [ESP + 0x14],0x0
TEST AH,0x1
JZ 0x00036030
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDI,dword ptr [EAX]
TEST EDI,EDI
JZ 0x00035f70
NOP
MOV ESI,dword ptr [EDI + 0x4]
TEST ESI,ESI
JNZ 0x00035fdd
JMP 0x00036018
MOV EAX,dword ptr [EDI + 0x8]
TEST EAX,EAX
JNZ 0x00036018
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x00036018
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESI + 0x4]
CALL 0x000160c0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00035fd0
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0x8
XOR EDX,EDX
MOV ECX,dword ptr [EAX + 0x14]
PUSH EDI
PUSH dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x24]
CALL 0x00035e70
MOV EAX,dword ptr [EDI + 0x8]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00035fd7
LEA ESI,[ESI]
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JNZ 0x00035fc0
JMP 0x00035f70
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ECX + 0x4]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x00035fb5
SUB ESP,0x4
LEA EAX,[EBX + 0xffeae370]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x18]
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x00035f49
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00035f10(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00035f10(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00035f10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" { (expression_statement "iVar5 = bfd_generic_link_read_symbols(iVar1);" (assignment_expression "iVar5 = bfd_generic_link_read_symbols(iVar1)" identifier = (call_expression "bfd_generic_link_read_symbols(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" { (expression_statement "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6,iVar1);" (call_expression "FUN_00034d20(uVar6,iVar1)" identifier (argument_list "(uVar6,iVar1)" ( identifier , identifier ))) ;) })) (expression_statement "piVar2 = *(int **)(iVar1 + 0x78);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x78)" identifier = (pointer_expression "*(int **)(iVar1 + 0x78)" * (cast_expression "(int **)(iVar1 + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x78)" ( (binary_expression "iVar1 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" { (if_statement "if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" if (parenthesized_expression "((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0))" ( (binary_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" (parenthesized_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0))" ( (binary_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0)" ( (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x7002) == 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x7002)" ( (binary_expression "*(uint *)(iVar5 + 0x10) & 0x7002" (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" ( (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x101) != 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x101)" ( (binary_expression "*(uint *)(iVar5 + 0x10) & 0x101" (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" * (cast_expression "(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar5 + 0x14) + 0x54)" ( (binary_expression "*(int *)(iVar5 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar5 + 0x14)" * (cast_expression "(int *)(iVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" { (expression_statement "__s2 = (char *)*puVar3;" (assignment_expression "__s2 = (char *)*puVar3" identifier = (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (for_statement "for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" for ( (assignment_expression "puVar3 = DAT_001d0374" identifier = identifier) ; (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar3 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ) (compound_statement "{\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" { (for_statement "for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" for ( (assignment_expression "puVar4 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ; (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ) (compound_statement "{\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" { (expression_statement "iVar5 = strcmp((char *)puVar4[1],__s2);" (assignment_expression "iVar5 = strcmp((char *)puVar4[1],__s2)" identifier = (call_expression "strcmp((char *)puVar4[1],__s2)" identifier (argument_list "((char *)puVar4[1],__s2)" ( (cast_expression "(char *)puVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }" { (expression_statement "FUN_00035e70(iVar1,puVar3);" (call_expression "FUN_00035e70(iVar1,puVar3)" identifier (argument_list "(iVar1,puVar3)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar5 = puVar3[2];\n            }" else (compound_statement "{\n              iVar5 = puVar3[2];\n            }" { (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar5 != 0) break;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid check_local_sym_xref(lang_input_statement_type *statement)\n\n{\n  bfd *abfd;\n  bfd_symbol **ppbVar1;\n  bfd_symbol *pbVar2;\n  uint uVar3;\n  bfd_section *pbVar4;\n  lang_nocrossref_type *plVar5;\n  lang_nocrossrefs *ncrs;\n  int iVar6;\n  char *pcVar7;\n  char *local_28;\n  \n  abfd = statement->the_bfd;\n  if (abfd != (bfd *)0x0) {\n    iVar6 = bfd_generic_link_read_symbols(abfd);\n    if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }\n    ppbVar1 = abfd->outsymbols;\n    pbVar2 = *ppbVar1;\n    while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void check_local_sym_xref(lang_input_statement_type *statement)\n\n{\n  bfd *abfd;\n  bfd_symbol **ppbVar1;\n  bfd_symbol *pbVar2;\n  uint uVar3;\n  bfd_section *pbVar4;\n  lang_nocrossref_type *plVar5;\n  lang_nocrossrefs *ncrs;\n  int iVar6;\n  char *pcVar7;\n  char *local_28;\n  \n  abfd = statement->the_bfd;\n  if (abfd != (bfd *)0x0) {\n    iVar6 = bfd_generic_link_read_symbols(abfd);\n    if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }\n    ppbVar1 = abfd->outsymbols;\n    pbVar2 = *ppbVar1;\n    while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "check_local_sym_xref(lang_input_statement_type *statement)" identifier (parameter_list "(lang_input_statement_type *statement)" ( (parameter_declaration "lang_input_statement_type *statement" type_identifier (pointer_declarator "*statement" * identifier)) ))) (compound_statement "{\n  bfd *abfd;\n  bfd_symbol **ppbVar1;\n  bfd_symbol *pbVar2;\n  uint uVar3;\n  bfd_section *pbVar4;\n  lang_nocrossref_type *plVar5;\n  lang_nocrossrefs *ncrs;\n  int iVar6;\n  char *pcVar7;\n  char *local_28;\n  \n  abfd = statement->the_bfd;\n  if (abfd != (bfd *)0x0) {\n    iVar6 = bfd_generic_link_read_symbols(abfd);\n    if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }\n    ppbVar1 = abfd->outsymbols;\n    pbVar2 = *ppbVar1;\n    while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }\n  }\n  return;\n}" { (declaration "bfd *abfd;" type_identifier (pointer_declarator "*abfd" * identifier) ;) (declaration "bfd_symbol **ppbVar1;" type_identifier (pointer_declarator "**ppbVar1" * (pointer_declarator "*ppbVar1" * identifier)) ;) (declaration "bfd_symbol *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "bfd_section *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "lang_nocrossref_type *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "lang_nocrossrefs *ncrs;" type_identifier (pointer_declarator "*ncrs" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (expression_statement "abfd = statement->the_bfd;" (assignment_expression "abfd = statement->the_bfd" identifier = (field_expression "statement->the_bfd" identifier -> field_identifier)) ;) (if_statement "if (abfd != (bfd *)0x0) {\n    iVar6 = bfd_generic_link_read_symbols(abfd);\n    if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }\n    ppbVar1 = abfd->outsymbols;\n    pbVar2 = *ppbVar1;\n    while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }\n  }" if (parenthesized_expression "(abfd != (bfd *)0x0)" ( (binary_expression "abfd != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = bfd_generic_link_read_symbols(abfd);\n    if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }\n    ppbVar1 = abfd->outsymbols;\n    pbVar2 = *ppbVar1;\n    while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }\n  }" { (expression_statement "iVar6 = bfd_generic_link_read_symbols(abfd);" (assignment_expression "iVar6 = bfd_generic_link_read_symbols(abfd)" identifier = (call_expression "bfd_generic_link_read_symbols(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) {\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      einfo(pcVar7,abfd);\n    }" { (expression_statement "pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar7,abfd);" (call_expression "einfo(pcVar7,abfd)" identifier (argument_list "(pcVar7,abfd)" ( identifier , identifier ))) ;) })) (expression_statement "ppbVar1 = abfd->outsymbols;" (assignment_expression "ppbVar1 = abfd->outsymbols" identifier = (field_expression "abfd->outsymbols" identifier -> field_identifier)) ;) (expression_statement "pbVar2 = *ppbVar1;" (assignment_expression "pbVar2 = *ppbVar1" identifier = (pointer_expression "*ppbVar1" * identifier)) ;) (while_statement "while (pbVar2 != (bfd_symbol *)0x0) {\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }" while (parenthesized_expression "(pbVar2 != (bfd_symbol *)0x0)" ( (binary_expression "pbVar2 != (bfd_symbol *)0x0" identifier != (cast_expression "(bfd_symbol *)0x0" ( (type_descriptor "bfd_symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = pbVar2->flags;\n      if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }\n      ppbVar1 = ppbVar1 + 1;\n      pbVar2 = *ppbVar1;\n    }" { (expression_statement "uVar3 = pbVar2->flags;" (assignment_expression "uVar3 = pbVar2->flags" identifier = (field_expression "pbVar2->flags" identifier -> field_identifier)) ;) (if_statement "if ((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)) {\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }" if (parenthesized_expression "((((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0))" ( (binary_expression "(((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)) &&\n         (pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)" (parenthesized_expression "(((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0))" ( (binary_expression "((uVar3 & 0x7002) == 0) && ((uVar3 & 0x101) != 0)" (parenthesized_expression "((uVar3 & 0x7002) == 0)" ( (binary_expression "(uVar3 & 0x7002) == 0" (parenthesized_expression "(uVar3 & 0x7002)" ( (binary_expression "uVar3 & 0x7002" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((uVar3 & 0x101) != 0)" ( (binary_expression "(uVar3 & 0x101) != 0" (parenthesized_expression "(uVar3 & 0x101)" ( (binary_expression "uVar3 & 0x101" identifier & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0)" ( (comma_expression "pbVar4 = pbVar2->section->output_section, pbVar4 != (bfd_section *)0x0" (assignment_expression "pbVar4 = pbVar2->section->output_section" identifier = (field_expression "pbVar2->section->output_section" (field_expression "pbVar2->section" identifier -> field_identifier) -> field_identifier)) , (binary_expression "pbVar4 != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        pcVar7 = pbVar4->name;\n        local_28 = (char *)0x0;\n        ncrs = nocrossref_list;\n        if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }\n        for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }\n      }" { (expression_statement "pcVar7 = pbVar4->name;" (assignment_expression "pcVar7 = pbVar4->name" identifier = (field_expression "pbVar4->name" identifier -> field_identifier)) ;) (expression_statement "local_28 = (char *)0x0;" (assignment_expression "local_28 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ncrs = nocrossref_list;" (assignment_expression "ncrs = nocrossref_list" identifier = identifier) ;) (if_statement "if ((uVar3 & 0x100) == 0) {\n          local_28 = pbVar2->name;\n        }" if (parenthesized_expression "((uVar3 & 0x100) == 0)" ( (binary_expression "(uVar3 & 0x100) == 0" (parenthesized_expression "(uVar3 & 0x100)" ( (binary_expression "uVar3 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          local_28 = pbVar2->name;\n        }" { (expression_statement "local_28 = pbVar2->name;" (assignment_expression "local_28 = pbVar2->name" identifier = (field_expression "pbVar2->name" identifier -> field_identifier)) ;) })) (for_statement "for (; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }" for ( ; (binary_expression "ncrs != (lang_nocrossrefs *)0x0" identifier != (cast_expression "(lang_nocrossrefs *)0x0" ( (type_descriptor "lang_nocrossrefs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "ncrs = ncrs->next" identifier = (field_expression "ncrs->next" identifier -> field_identifier)) ) (compound_statement "{\n          for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }\n        }" { (for_statement "for (plVar5 = ncrs->list; plVar5 != (lang_nocrossref_type *)0x0; plVar5 = plVar5->next) {\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }" for ( (assignment_expression "plVar5 = ncrs->list" identifier = (field_expression "ncrs->list" identifier -> field_identifier)) ; (binary_expression "plVar5 != (lang_nocrossref_type *)0x0" identifier != (cast_expression "(lang_nocrossref_type *)0x0" ( (type_descriptor "lang_nocrossref_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar5 = plVar5->next" identifier = (field_expression "plVar5->next" identifier -> field_identifier)) ) (compound_statement "{\n            iVar6 = strcmp(plVar5->name,pcVar7);\n            if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }\n            if (iVar6 != 0) break;\n          }" { (expression_statement "iVar6 = strcmp(plVar5->name,pcVar7);" (assignment_expression "iVar6 = strcmp(plVar5->name,pcVar7)" identifier = (call_expression "strcmp(plVar5->name,pcVar7)" identifier (argument_list "(plVar5->name,pcVar7)" ( (field_expression "plVar5->name" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }\n            else {\n              iVar6 = ncrs->onlyfirst;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              check_refs(local_28,0,pbVar2->section,abfd,ncrs);\n              iVar6 = ncrs->onlyfirst;\n            }" { (expression_statement "check_refs(local_28,0,pbVar2->section,abfd,ncrs);" (call_expression "check_refs(local_28,0,pbVar2->section,abfd,ncrs)" identifier (argument_list "(local_28,0,pbVar2->section,abfd,ncrs)" ( identifier , number_literal , (field_expression "pbVar2->section" identifier -> field_identifier) , identifier , identifier ))) ;) (expression_statement "iVar6 = ncrs->onlyfirst;" (assignment_expression "iVar6 = ncrs->onlyfirst" identifier = (field_expression "ncrs->onlyfirst" identifier -> field_identifier)) ;) }) (else_clause "else {\n              iVar6 = ncrs->onlyfirst;\n            }" else (compound_statement "{\n              iVar6 = ncrs->onlyfirst;\n            }" { (expression_statement "iVar6 = ncrs->onlyfirst;" (assignment_expression "iVar6 = ncrs->onlyfirst" identifier = (field_expression "ncrs->onlyfirst" identifier -> field_identifier)) ;) }))) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })) (expression_statement "ppbVar1 = ppbVar1 + 1;" (assignment_expression "ppbVar1 = ppbVar1 + 1" identifier = (binary_expression "ppbVar1 + 1" identifier + number_literal)) ;) (expression_statement "pbVar2 = *ppbVar1;" (assignment_expression "pbVar2 = *ppbVar1" identifier = (pointer_expression "*ppbVar1" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00035f10(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00035f10(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00035f10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" { (expression_statement "iVar5 = bfd_generic_link_read_symbols(iVar1);" (assignment_expression "iVar5 = bfd_generic_link_read_symbols(iVar1)" identifier = (call_expression "bfd_generic_link_read_symbols(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" { (expression_statement "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6,iVar1);" (call_expression "FUN_00034d20(uVar6,iVar1)" identifier (argument_list "(uVar6,iVar1)" ( identifier , identifier ))) ;) })) (expression_statement "piVar2 = *(int **)(iVar1 + 0x78);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x78)" identifier = (pointer_expression "*(int **)(iVar1 + 0x78)" * (cast_expression "(int **)(iVar1 + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x78)" ( (binary_expression "iVar1 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" { (if_statement "if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" if (parenthesized_expression "((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0))" ( (binary_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" (parenthesized_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0))" ( (binary_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0)" ( (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x7002) == 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x7002)" ( (binary_expression "*(uint *)(iVar5 + 0x10) & 0x7002" (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" ( (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x101) != 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x101)" ( (binary_expression "*(uint *)(iVar5 + 0x10) & 0x101" (pointer_expression "*(uint *)(iVar5 + 0x10)" * (cast_expression "(uint *)(iVar5 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" ( (comma_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" * (cast_expression "(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar5 + 0x14) + 0x54)" ( (binary_expression "*(int *)(iVar5 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar5 + 0x14)" * (cast_expression "(int *)(iVar5 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" { (expression_statement "__s2 = (char *)*puVar3;" (assignment_expression "__s2 = (char *)*puVar3" identifier = (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (for_statement "for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" for ( (assignment_expression "puVar3 = DAT_001d0374" identifier = identifier) ; (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar3 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ) (compound_statement "{\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" { (for_statement "for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" for ( (assignment_expression "puVar4 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ; (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ) (compound_statement "{\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" { (expression_statement "iVar5 = strcmp((char *)puVar4[1],__s2);" (assignment_expression "iVar5 = strcmp((char *)puVar4[1],__s2)" identifier = (call_expression "strcmp((char *)puVar4[1],__s2)" identifier (argument_list "((char *)puVar4[1],__s2)" ( (cast_expression "(char *)puVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }" { (expression_statement "FUN_00035e70(iVar1,puVar3);" (call_expression "FUN_00035e70(iVar1,puVar3)" identifier (argument_list "(iVar1,puVar3)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar5 = puVar3[2];\n            }" else (compound_statement "{\n              iVar5 = puVar3[2];\n            }" { (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" identifier = (subscript_expression "puVar3[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar5 != 0) break;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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 { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) })) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00035f10(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00035f10(int param_1)" (identifier "FUN_00035f10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  char *__s2;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  iVar1 = *(int *)(param_1 + 0x10);\n  if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = bfd_generic_link_read_symbols(iVar1);\n    if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }\n    piVar2 = *(int **)(iVar1 + 0x78);\n    iVar5 = *piVar2;\n    while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }\n  }" ({ "{") (expression_statement "iVar5 = bfd_generic_link_read_symbols(iVar1);" (assignment_expression "iVar5 = bfd_generic_link_read_symbols(iVar1)" (identifier "iVar5") (= "=") (call_expression "bfd_generic_link_read_symbols(iVar1)" (identifier "bfd_generic_link_read_symbols") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n      FUN_00034d20(uVar6,iVar1);\n    }" ({ "{") (expression_statement "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: %pB: could not read symbols: %E\n"" (" """) (string_content "%F%P: %pB: could not read symbols: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar6,iVar1);" (call_expression "FUN_00034d20(uVar6,iVar1)" (identifier "FUN_00034d20") (argument_list "(uVar6,iVar1)" (( "(") (identifier "uVar6") (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)(iVar1 + 0x78);" (assignment_expression "piVar2 = *(int **)(iVar1 + 0x78)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(iVar1 + 0x78)" (* "*") (cast_expression "(int **)(iVar1 + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x78)" (( "(") (binary_expression "iVar1 + 0x78" (identifier "iVar1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" (identifier "iVar5") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (while_statement "while (iVar5 != 0) {\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }\n      piVar2 = piVar2 + 1;\n      iVar5 = *piVar2;\n    }" ({ "{") (if_statement "if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" (if "if") (parenthesized_expression "((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0))" (( "(") (binary_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&\n         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" (parenthesized_expression "(((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0))" (( "(") (binary_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x7002) == 0)" (( "(") (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x7002) == 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x7002)" (( "(") (binary_expression "*(uint *)(iVar5 + 0x10) & 0x7002" (pointer_expression "*(uint *)(iVar5 + 0x10)" (* "*") (cast_expression "(uint *)(iVar5 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0x7002")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(iVar5 + 0x10) & 0x101) != 0)" (( "(") (binary_expression "(*(uint *)(iVar5 + 0x10) & 0x101) != 0" (parenthesized_expression "(*(uint *)(iVar5 + 0x10) & 0x101)" (( "(") (binary_expression "*(uint *)(iVar5 + 0x10) & 0x101" (pointer_expression "*(uint *)(iVar5 + 0x10)" (* "*") (cast_expression "(uint *)(iVar5 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0x101")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0" (assignment_expression "puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" (* "*") (cast_expression "(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar5 + 0x14) + 0x54)" (( "(") (binary_expression "*(int *)(iVar5 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar5 + 0x14)" (* "*") (cast_expression "(int *)(iVar5 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x54")) () ")"))))) (, ",") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n        __s2 = (char *)*puVar3;\n        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }\n      }" ({ "{") (expression_statement "__s2 = (char *)*puVar3;" (assignment_expression "__s2 = (char *)*puVar3" (identifier "__s2") (= "=") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (for_statement "for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" (for "for") (( "(") (assignment_expression "puVar3 = DAT_001d0374" (identifier "puVar3") (= "=") (identifier "DAT_001d0374")) (; ";") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar3 = (undefined4 *)*puVar3" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) () ")") (compound_statement "{\n          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }\n        }" ({ "{") (for_statement "for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;\n              puVar4 = (undefined4 *)*puVar4) {\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" (for "for") (( "(") (assignment_expression "puVar4 = (undefined4 *)puVar3[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)puVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")))) (; ";") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar4 = (undefined4 *)*puVar4" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) () ")") (compound_statement "{\n            iVar5 = strcmp((char *)puVar4[1],__s2);\n            if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }\n            if (iVar5 != 0) break;\n          }" ({ "{") (expression_statement "iVar5 = strcmp((char *)puVar4[1],__s2);" (assignment_expression "iVar5 = strcmp((char *)puVar4[1],__s2)" (identifier "iVar5") (= "=") (call_expression "strcmp((char *)puVar4[1],__s2)" (identifier "strcmp") (argument_list "((char *)puVar4[1],__s2)" (( "(") (cast_expression "(char *)puVar4[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "__s2") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }\n            else {\n              iVar5 = puVar3[2];\n            }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              FUN_00035e70(iVar1,puVar3);\n              iVar5 = puVar3[2];\n            }" ({ "{") (expression_statement "FUN_00035e70(iVar1,puVar3);" (call_expression "FUN_00035e70(iVar1,puVar3)" (identifier "FUN_00035e70") (argument_list "(iVar1,puVar3)" (( "(") (identifier "iVar1") (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n              iVar5 = puVar3[2];\n            }" (else "else") (compound_statement "{\n              iVar5 = puVar3[2];\n            }" ({ "{") (expression_statement "iVar5 = puVar3[2];" (assignment_expression "iVar5 = puVar3[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (if_statement "if (iVar5 != 0) break;" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (} "}"))) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = *piVar2;" (assignment_expression "iVar5 = *piVar2" (identifier "iVar5") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *statement)

{
  type_2 *var_1;
  type_3 **var_13;
  type_3 *var_6;
  type_4 var_7;
  type_5 *var_8;
  type_6 *var_10;
  type_7 *var_9;
  int var_3;
  char *pcVar7;
  char *local_28;
  
  var_1 = statement->the_bfd;
  if (var_1 != (type_2 *)0x0) {
    var_3 = var_2(var_1);
    if (var_3 == 0) {
      pcVar7 = (char *)var_4(0,"%F%P: %pB: could not read symbols: %E\n",5);
      var_5(pcVar7,var_1);
    }
    var_13 = var_1->outsymbols;
    var_6 = *var_13;
    while (var_6 != (type_3 *)0x0) {
      var_7 = var_6->flags;
      if ((((var_7 & 0x7002) == 0) && ((var_7 & 0x101) != 0)) &&
         (var_8 = var_6->section->output_section, var_8 != (type_5 *)0x0)) {
        pcVar7 = var_8->name;
        local_28 = (char *)0x0;
        var_9 = nocrossref_list;
        if ((var_7 & 0x100) == 0) {
          local_28 = var_6->name;
        }
        for (; var_9 != (type_7 *)0x0; var_9 = var_9->next) {
          for (var_10 = var_9->list; var_10 != (type_6 *)0x0; var_10 = var_10->next) {
            var_3 = var_11(var_10->name,pcVar7);
            if (var_3 == 0) {
              var_12(local_28,0,var_6->section,var_1,var_9);
              var_3 = var_9->onlyfirst;
            }
            else {
              var_3 = var_9->onlyfirst;
            }
            if (var_3 != 0) break;
          }
        }
      }
      var_13 = var_13 + 1;
      var_6 = *var_13;
    }
  }
  return;
}


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

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

void MASKED(int param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  char *__s2;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  
  iVar1 = *(int *)(param_1 + 0x10);
  if (iVar1 != 0) {
    iVar5 = bfd_generic_link_read_symbols(iVar1);
    if (iVar5 == 0) {
      uVar6 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
      FUN_00034d20(uVar6,iVar1);
    }
    piVar2 = *(int **)(iVar1 + 0x78);
    iVar5 = *piVar2;
    while (iVar5 != 0) {
      if ((((*(uint *)(iVar5 + 0x10) & 0x7002) == 0) && ((*(uint *)(iVar5 + 0x10) & 0x101) != 0)) &&
         (puVar3 = *(undefined4 **)(*(int *)(iVar5 + 0x14) + 0x54), puVar3 != (undefined4 *)0x0)) {
        __s2 = (char *)*puVar3;
        for (puVar3 = DAT_001d0374; puVar3 != (undefined4 *)0x0; puVar3 = (undefined4 *)*puVar3) {
          for (puVar4 = (undefined4 *)puVar3[1]; puVar4 != (undefined4 *)0x0;
              puVar4 = (undefined4 *)*puVar4) {
            iVar5 = strcmp((char *)puVar4[1],__s2);
            if (iVar5 == 0) {
              FUN_00035e70(iVar1,puVar3);
              iVar5 = puVar3[2];
            }
            else {
              iVar5 = puVar3[2];
            }
            if (iVar5 != 0) break;
          }
        }
      }
      piVar2 = piVar2 + 1;
      iVar5 = *piVar2;
    }
  }
  return;
}

