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

lang_statement_union_type ** __regparm3 insert_os_after(lang_output_section_statement_type *after)

{
  lang_statement_union *plVar1;
  asection *paVar2;
  wildcard_list *pwVar3;
  lang_statement_union *plVar4;
  lang_statement_union *plVar5;
  bool bVar6;
  
  bVar6 = lang_output_section_statement.head == (lang_statement_union *)after;
  plVar4 = (after->header).next;
  if (plVar4 != (lang_statement_union *)0x0) {
    plVar5 = (lang_statement_union *)0x0;
    do {
      switch((plVar4->wild_statement).header.type) {
      case lang_output_section_statement_enum:
        if (plVar5 == (lang_statement_union *)0x0) {
          return (lang_statement_union_type **)(lang_statement_union *)after;
        }
        paVar2 = (plVar4->output_section_statement).bfd_section;
        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))
        {
          if ((paVar2->flags & 1) != 0) {
            after = (lang_output_section_statement_type *)plVar5;
          }
          return (lang_statement_union_type **)after;
        }
        return (lang_statement_union_type **)plVar5;
      case lang_assignment_statement_enum:
        if ((((plVar5 != (lang_statement_union *)0x0) ||
             (plVar1 = (plVar4->output_section_statement).children.head,
             (plVar1->wild_statement).filenames_sorted == 8)) ||
            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||
           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {
          after = (lang_output_section_statement_type *)plVar5;
        }
        bVar6 = false;
        plVar1 = (plVar4->wild_statement).header.next;
        plVar5 = (lang_statement_union *)after;
        break;
      case lang_wild_statement_enum:
      case lang_input_section_enum:
      case lang_object_symbols_statement_enum:
      case lang_fill_statement_enum:
      case lang_data_statement_enum:
      case lang_reloc_statement_enum:
      case lang_padding_statement_enum:
      case lang_constructors_statement_enum:
        plVar5 = (lang_statement_union *)0x0;
      case lang_input_statement_enum:
      case lang_address_statement_enum:
      case lang_target_statement_enum:
      case lang_output_statement_enum:
      case lang_group_statement_enum:
      case lang_insert_statement_enum:
        plVar1 = (plVar4->wild_statement).header.next;
        break;
      default:
        goto switchD_00020049_caseD_10;
      }
      after = (lang_output_section_statement_type *)plVar4;
      plVar4 = plVar1;
    } while (plVar1 != (lang_statement_union *)0x0);
  }
switchD_00020049_caseD_10:
  return (lang_statement_union_type **)after;
}



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

int * __regparm3 FUN_00020010(int *param_1)

{
  int *piVar1;
  int iVar2;
  char *pcVar3;
  int *piVar4;
  int *piVar5;
  bool bVar6;
  
  bVar6 = DAT_001c45a0 == param_1;
  if ((int *)*param_1 != (int *)0x0) {
    piVar5 = (int *)0x0;
    piVar4 = (int *)*param_1;
    do {
      switch(piVar4[1]) {
      case 0:
        if (piVar5 == (int *)0x0) {
          return param_1;
        }
        iVar2 = piVar4[7];
        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {
          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {
            param_1 = piVar5;
          }
          return param_1;
        }
        return piVar5;
      case 1:
        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||
            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||
           ((pcVar3[1] != '\0' || (bVar6)))) {
          param_1 = piVar5;
        }
        bVar6 = false;
        piVar1 = (int *)*piVar4;
        piVar5 = param_1;
        break;
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 0xc:
      case 0xf:
        piVar5 = (int *)0x0;
      case 2:
      case 3:
      case 10:
      case 0xb:
      case 0xd:
      case 0xe:
        piVar1 = (int *)*piVar4;
        break;
      default:
        goto LAB_0002005a;
      }
      param_1 = piVar4;
      piVar4 = piVar1;
    } while (piVar1 != (int *)0x0);
  }
LAB_0002005a:
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017c50
ADD EBX,0x1a1fe7
LEA EDX,[EBX + 0x25a0]
CMP dword ptr [EDX],EAX
MOV EDX,dword ptr [EAX]
SETZ CL
TEST EDX,EDX
JZ 0x0002005a
MOVZX ECX,CL
XOR EDI,EDI
MOV ESI,ECX
CMP dword ptr [EDX + 0x4],0xf
JA 0x0002005a
MOV ECX,dword ptr [EDX + 0x4]
MOV EBP,dword ptr [EBX + ECX*0x4 + 0xffebc8bc]
ADD EBP,EBX
JMP EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_00020010(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}\n\n" comment (function_definition "int * __regparm3 FUN_00020010(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00020010(int *param_1)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00020010(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar6 = DAT_001c45a0 == param_1;" (assignment_expression "bVar6 = DAT_001c45a0 == param_1" identifier = (binary_expression "DAT_001c45a0 == param_1" identifier == identifier)) ;) (if_statement "if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "((int *)*param_1 != (int *)0x0)" ( (binary_expression "(int *)*param_1 != (int *)0x0" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (do_statement "do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    }" { (switch_statement "switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" switch (parenthesized_expression "(piVar4[1])" ( (subscript_expression "piVar4[1]" identifier [ number_literal ]) )) (compound_statement "{\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" { (case_statement "case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;" case number_literal : (if_statement "if (piVar5 == (int *)0x0) {\n          return param_1;\n        }" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar2 = piVar4[7];" (assignment_expression "iVar2 = piVar4[7]" identifier = (subscript_expression "piVar4[7]" identifier [ number_literal ])) ;) (if_statement "if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" if (parenthesized_expression "((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0))" ( (binary_expression "(iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar2 + 0xb8) != 0)" ( (binary_expression "*(int *)(iVar2 + 0xb8) != 0" (pointer_expression "*(int *)(iVar2 + 0xb8)" * (cast_expression "(int *)(iVar2 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb8)" ( (binary_expression "iVar2 + 0xb8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" { (if_statement "if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x14) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x14) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x14) & 1" (pointer_expression "*(byte *)(iVar2 + 0x14)" * (cast_expression "(byte *)(iVar2 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            param_1 = piVar5;\n          }" { (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" identifier = identifier) ;) })) (return_statement "return param_1;" return identifier ;) })) (return_statement "return piVar5;" return identifier ;)) (case_statement "case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;" case number_literal : (if_statement "if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }" if (parenthesized_expression "((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6))))" ( (binary_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))" (parenthesized_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'))" ( (binary_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" (parenthesized_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8))" ( (binary_expression "(piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)" (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*(int *)(piVar4[2] + 0xc) == 8)" ( (binary_expression "*(int *)(piVar4[2] + 0xc) == 8" (pointer_expression "*(int *)(piVar4[2] + 0xc)" * (cast_expression "(int *)(piVar4[2] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[2] + 0xc)" ( (binary_expression "piVar4[2] + 0xc" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "(pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" ( (comma_expression "pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'" (assignment_expression "pcVar3 = *(char **)(piVar4[2] + 0x10)" identifier = (pointer_expression "*(char **)(piVar4[2] + 0x10)" * (cast_expression "(char **)(piVar4[2] + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + 0x10)" ( (binary_expression "piVar4[2] + 0x10" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*pcVar3 != '.'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'.'" ' character '))) ))) )) || (parenthesized_expression "((pcVar3[1] != '\0' || (bVar6)))" ( (parenthesized_expression "(pcVar3[1] != '\0' || (bVar6))" ( (binary_expression "pcVar3[1] != '\0' || (bVar6)" (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(bVar6)" ( identifier ))) )) ))) )) (compound_statement "{\n          param_1 = piVar5;\n        }" { (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" identifier = identifier) ;) })) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" identifier = identifier) ;) (break_statement "break;" break ;)) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xf:\n        piVar5 = (int *)0x0;" case number_literal : (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 10:" case number_literal :) (case_statement "case 0xb:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;" case number_literal : (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (break_statement "break;" break ;)) (case_statement "default:\n        goto LAB_0002005a;" default : (goto_statement "goto LAB_0002005a;" goto statement_identifier ;)) })) (expression_statement "param_1 = piVar4;" (assignment_expression "param_1 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar1;" (assignment_expression "piVar4 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0002005a:\n  return param_1;" statement_identifier : (return_statement "return param_1;" return identifier ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nlang_statement_union_type ** __regparm3 insert_os_after(lang_output_section_statement_type *after)\n\n{\n  lang_statement_union *plVar1;\n  asection *paVar2;\n  wildcard_list *pwVar3;\n  lang_statement_union *plVar4;\n  lang_statement_union *plVar5;\n  bool bVar6;\n  \n  bVar6 = lang_output_section_statement.head == (lang_statement_union *)after;\n  plVar4 = (after->header).next;\n  if (plVar4 != (lang_statement_union *)0x0) {\n    plVar5 = (lang_statement_union *)0x0;\n    do {\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }\nswitchD_00020049_caseD_10:\n  return (lang_statement_union_type **)after;\n}\n\n" comment (ERROR "lang_statement_union_type ** __regparm3 insert_os_after(lang_output_section_statement_type *after)" (binary_expression "lang_statement_union_type ** __regparm3 insert_os_after(lang_output_section_statement_type *after)" identifier * (ERROR "* __regparm3" (pointer_expression "* __regparm3" * identifier)) (call_expression "insert_os_after(lang_output_section_statement_type *after)" identifier (argument_list "(lang_output_section_statement_type *after)" ( (binary_expression "lang_output_section_statement_type *after" identifier * identifier) ))))) (compound_statement "{\n  lang_statement_union *plVar1;\n  asection *paVar2;\n  wildcard_list *pwVar3;\n  lang_statement_union *plVar4;\n  lang_statement_union *plVar5;\n  bool bVar6;\n  \n  bVar6 = lang_output_section_statement.head == (lang_statement_union *)after;\n  plVar4 = (after->header).next;\n  if (plVar4 != (lang_statement_union *)0x0) {\n    plVar5 = (lang_statement_union *)0x0;\n    do {\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }\nswitchD_00020049_caseD_10:\n  return (lang_statement_union_type **)after;\n}" { (declaration "lang_statement_union *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "asection *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "wildcard_list *pwVar3;" type_identifier (pointer_declarator "*pwVar3" * identifier) ;) (declaration "lang_statement_union *plVar4;" type_identifier (pointer_declarator "*plVar4" * identifier) ;) (declaration "lang_statement_union *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar6 = lang_output_section_statement.head == (lang_statement_union *)after;" (assignment_expression "bVar6 = lang_output_section_statement.head == (lang_statement_union *)after" identifier = (binary_expression "lang_output_section_statement.head == (lang_statement_union *)after" (field_expression "lang_output_section_statement.head" identifier . field_identifier) == (cast_expression "(lang_statement_union *)after" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "plVar4 = (after->header).next;" (assignment_expression "plVar4 = (after->header).next" identifier = (field_expression "(after->header).next" (parenthesized_expression "(after->header)" ( (field_expression "after->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (plVar4 != (lang_statement_union *)0x0) {\n    plVar5 = (lang_statement_union *)0x0;\n    do {\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }" if (parenthesized_expression "(plVar4 != (lang_statement_union *)0x0)" ( (binary_expression "plVar4 != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    plVar5 = (lang_statement_union *)0x0;\n    do {\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    } while (plVar1 != (lang_statement_union *)0x0);\n  }" { (expression_statement "plVar5 = (lang_statement_union *)0x0;" (assignment_expression "plVar5 = (lang_statement_union *)0x0" identifier = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    } while (plVar1 != (lang_statement_union *)0x0);" do (compound_statement "{\n      switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }\n      after = (lang_output_section_statement_type *)plVar4;\n      plVar4 = plVar1;\n    }" { (switch_statement "switch((plVar4->wild_statement).header.type) {\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }" switch (parenthesized_expression "((plVar4->wild_statement).header.type)" ( (field_expression "(plVar4->wild_statement).header.type" (field_expression "(plVar4->wild_statement).header" (parenthesized_expression "(plVar4->wild_statement)" ( (field_expression "plVar4->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) )) (compound_statement "{\n      case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;\n      case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;\n      case lang_wild_statement_enum:\n      case lang_input_section_enum:\n      case lang_object_symbols_statement_enum:\n      case lang_fill_statement_enum:\n      case lang_data_statement_enum:\n      case lang_reloc_statement_enum:\n      case lang_padding_statement_enum:\n      case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;\n      case lang_input_statement_enum:\n      case lang_address_statement_enum:\n      case lang_target_statement_enum:\n      case lang_output_statement_enum:\n      case lang_group_statement_enum:\n      case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;\n      default:\n        goto switchD_00020049_caseD_10;\n      }" { (case_statement "case lang_output_section_statement_enum:\n        if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }\n        paVar2 = (plVar4->output_section_statement).bfd_section;\n        if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }\n        return (lang_statement_union_type **)plVar5;" case identifier : (if_statement "if (plVar5 == (lang_statement_union *)0x0) {\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }" if (parenthesized_expression "(plVar5 == (lang_statement_union *)0x0)" ( (binary_expression "plVar5 == (lang_statement_union *)0x0" identifier == (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return (lang_statement_union_type **)(lang_statement_union *)after;\n        }" { (return_statement "return (lang_statement_union_type **)(lang_statement_union *)after;" return (cast_expression "(lang_statement_union_type **)(lang_statement_union *)after" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(lang_statement_union *)after" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "paVar2 = (plVar4->output_section_statement).bfd_section;" (assignment_expression "paVar2 = (plVar4->output_section_statement).bfd_section" identifier = (field_expression "(plVar4->output_section_statement).bfd_section" (parenthesized_expression "(plVar4->output_section_statement)" ( (field_expression "plVar4->output_section_statement" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))\n        {\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }" if (parenthesized_expression "((paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0))" ( (binary_expression "(paVar2 != (asection *)0x0) && ((paVar2->map_head).link_order != (bfd_link_order *)0x0)" (parenthesized_expression "(paVar2 != (asection *)0x0)" ( (binary_expression "paVar2 != (asection *)0x0" identifier != (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((paVar2->map_head).link_order != (bfd_link_order *)0x0)" ( (binary_expression "(paVar2->map_head).link_order != (bfd_link_order *)0x0" (field_expression "(paVar2->map_head).link_order" (parenthesized_expression "(paVar2->map_head)" ( (field_expression "paVar2->map_head" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(bfd_link_order *)0x0" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n          if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }\n          return (lang_statement_union_type **)after;\n        }" { (if_statement "if ((paVar2->flags & 1) != 0) {\n            after = (lang_output_section_statement_type *)plVar5;\n          }" if (parenthesized_expression "((paVar2->flags & 1) != 0)" ( (binary_expression "(paVar2->flags & 1) != 0" (parenthesized_expression "(paVar2->flags & 1)" ( (binary_expression "paVar2->flags & 1" (field_expression "paVar2->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n            after = (lang_output_section_statement_type *)plVar5;\n          }" { (expression_statement "after = (lang_output_section_statement_type *)plVar5;" (assignment_expression "after = (lang_output_section_statement_type *)plVar5" identifier = (cast_expression "(lang_output_section_statement_type *)plVar5" ( (type_descriptor "lang_output_section_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return (lang_statement_union_type **)after;" return (cast_expression "(lang_statement_union_type **)after" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ;) })) (return_statement "return (lang_statement_union_type **)plVar5;" return (cast_expression "(lang_statement_union_type **)plVar5" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ;)) (case_statement "case lang_assignment_statement_enum:\n        if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }\n        bVar6 = false;\n        plVar1 = (plVar4->wild_statement).header.next;\n        plVar5 = (lang_statement_union *)after;\n        break;" case identifier : (if_statement "if ((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {\n          after = (lang_output_section_statement_type *)plVar5;\n        }" if (parenthesized_expression "((((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6))))" ( (binary_expression "(((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||\n           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))" (parenthesized_expression "(((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.'))" ( (binary_expression "((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)) ||\n            (pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')" (parenthesized_expression "((plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8))" ( (binary_expression "(plVar5 != (lang_statement_union *)0x0) ||\n             (plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)" (parenthesized_expression "(plVar5 != (lang_statement_union *)0x0)" ( (binary_expression "plVar5 != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8)" ( (comma_expression "plVar1 = (plVar4->output_section_statement).children.head,\n             (plVar1->wild_statement).filenames_sorted == 8" (assignment_expression "plVar1 = (plVar4->output_section_statement).children.head" identifier = (field_expression "(plVar4->output_section_statement).children.head" (field_expression "(plVar4->output_section_statement).children" (parenthesized_expression "(plVar4->output_section_statement)" ( (field_expression "plVar4->output_section_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , (binary_expression "(plVar1->wild_statement).filenames_sorted == 8" (field_expression "(plVar1->wild_statement).filenames_sorted" (parenthesized_expression "(plVar1->wild_statement)" ( (field_expression "plVar1->wild_statement" identifier -> field_identifier) )) . field_identifier) == number_literal)) ))) )) || (parenthesized_expression "(pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.')" ( (comma_expression "pwVar3 = (plVar1->wild_statement).section_list, *(char *)&pwVar3->next != '.'" (assignment_expression "pwVar3 = (plVar1->wild_statement).section_list" identifier = (field_expression "(plVar1->wild_statement).section_list" (parenthesized_expression "(plVar1->wild_statement)" ( (field_expression "plVar1->wild_statement" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "*(char *)&pwVar3->next != '.'" (pointer_expression "*(char *)&pwVar3->next" * (cast_expression "(char *)&pwVar3->next" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pwVar3->next" & (field_expression "pwVar3->next" identifier -> field_identifier)))) != (char_literal "'.'" ' character '))) ))) )) || (parenthesized_expression "((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))" ( (parenthesized_expression "(*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6))" ( (binary_expression "*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)" (binary_expression "*(char *)((int)&pwVar3->next + 1) != '\0'" (pointer_expression "*(char *)((int)&pwVar3->next + 1)" * (cast_expression "(char *)((int)&pwVar3->next + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pwVar3->next + 1)" ( (binary_expression "(int)&pwVar3->next + 1" (cast_expression "(int)&pwVar3->next" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pwVar3->next" & (field_expression "pwVar3->next" identifier -> field_identifier))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(bVar6)" ( identifier ))) )) ))) )) (compound_statement "{\n          after = (lang_output_section_statement_type *)plVar5;\n        }" { (expression_statement "after = (lang_output_section_statement_type *)plVar5;" (assignment_expression "after = (lang_output_section_statement_type *)plVar5" identifier = (cast_expression "(lang_output_section_statement_type *)plVar5" ( (type_descriptor "lang_output_section_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "plVar1 = (plVar4->wild_statement).header.next;" (assignment_expression "plVar1 = (plVar4->wild_statement).header.next" identifier = (field_expression "(plVar4->wild_statement).header.next" (field_expression "(plVar4->wild_statement).header" (parenthesized_expression "(plVar4->wild_statement)" ( (field_expression "plVar4->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "plVar5 = (lang_statement_union *)after;" (assignment_expression "plVar5 = (lang_statement_union *)after" identifier = (cast_expression "(lang_statement_union *)after" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (break_statement "break;" break ;)) (case_statement "case lang_wild_statement_enum:" case identifier :) (case_statement "case lang_input_section_enum:" case identifier :) (case_statement "case lang_object_symbols_statement_enum:" case identifier :) (case_statement "case lang_fill_statement_enum:" case identifier :) (case_statement "case lang_data_statement_enum:" case identifier :) (case_statement "case lang_reloc_statement_enum:" case identifier :) (case_statement "case lang_padding_statement_enum:" case identifier :) (case_statement "case lang_constructors_statement_enum:\n        plVar5 = (lang_statement_union *)0x0;" case identifier : (expression_statement "plVar5 = (lang_statement_union *)0x0;" (assignment_expression "plVar5 = (lang_statement_union *)0x0" identifier = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (case_statement "case lang_input_statement_enum:" case identifier :) (case_statement "case lang_address_statement_enum:" case identifier :) (case_statement "case lang_target_statement_enum:" case identifier :) (case_statement "case lang_output_statement_enum:" case identifier :) (case_statement "case lang_group_statement_enum:" case identifier :) (case_statement "case lang_insert_statement_enum:\n        plVar1 = (plVar4->wild_statement).header.next;\n        break;" case identifier : (expression_statement "plVar1 = (plVar4->wild_statement).header.next;" (assignment_expression "plVar1 = (plVar4->wild_statement).header.next" identifier = (field_expression "(plVar4->wild_statement).header.next" (field_expression "(plVar4->wild_statement).header" (parenthesized_expression "(plVar4->wild_statement)" ( (field_expression "plVar4->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (break_statement "break;" break ;)) (case_statement "default:\n        goto switchD_00020049_caseD_10;" default : (goto_statement "goto switchD_00020049_caseD_10;" goto statement_identifier ;)) })) (expression_statement "after = (lang_output_section_statement_type *)plVar4;" (assignment_expression "after = (lang_output_section_statement_type *)plVar4" identifier = (cast_expression "(lang_output_section_statement_type *)plVar4" ( (type_descriptor "lang_output_section_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "plVar4 = plVar1;" (assignment_expression "plVar4 = plVar1" identifier = identifier) ;) }) while (parenthesized_expression "(plVar1 != (lang_statement_union *)0x0)" ( (binary_expression "plVar1 != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "switchD_00020049_caseD_10:\n  return (lang_statement_union_type **)after;" statement_identifier : (return_statement "return (lang_statement_union_type **)after;" return (cast_expression "(lang_statement_union_type **)after" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) ;)) }))
(translation_unit "int * __regparm3 FUN_00020010(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}\n\n" (function_definition "int * __regparm3 FUN_00020010(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00020010(int *param_1)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00020010(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar6 = DAT_001c45a0 == param_1;" (assignment_expression "bVar6 = DAT_001c45a0 == param_1" identifier = (binary_expression "DAT_001c45a0 == param_1" identifier == identifier)) ;) (if_statement "if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "((int *)*param_1 != (int *)0x0)" ( (binary_expression "(int *)*param_1 != (int *)0x0" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" { (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (do_statement "do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    }" { (switch_statement "switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" switch (parenthesized_expression "(piVar4[1])" ( (subscript_expression "piVar4[1]" identifier [ number_literal ]) )) (compound_statement "{\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" { (case_statement "case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;" case number_literal : (if_statement "if (piVar5 == (int *)0x0) {\n          return param_1;\n        }" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar2 = piVar4[7];" (assignment_expression "iVar2 = piVar4[7]" identifier = (subscript_expression "piVar4[7]" identifier [ number_literal ])) ;) (if_statement "if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" if (parenthesized_expression "((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0))" ( (binary_expression "(iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar2 + 0xb8) != 0)" ( (binary_expression "*(int *)(iVar2 + 0xb8) != 0" (pointer_expression "*(int *)(iVar2 + 0xb8)" * (cast_expression "(int *)(iVar2 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb8)" ( (binary_expression "iVar2 + 0xb8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" { (if_statement "if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x14) & 1) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x14) & 1)" ( (binary_expression "*(byte *)(iVar2 + 0x14) & 1" (pointer_expression "*(byte *)(iVar2 + 0x14)" * (cast_expression "(byte *)(iVar2 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            param_1 = piVar5;\n          }" { (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" identifier = identifier) ;) })) (return_statement "return param_1;" return identifier ;) })) (return_statement "return piVar5;" return identifier ;)) (case_statement "case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;" case number_literal : (if_statement "if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }" if (parenthesized_expression "((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6))))" ( (binary_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))" (parenthesized_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'))" ( (binary_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" (parenthesized_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8))" ( (binary_expression "(piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)" (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*(int *)(piVar4[2] + 0xc) == 8)" ( (binary_expression "*(int *)(piVar4[2] + 0xc) == 8" (pointer_expression "*(int *)(piVar4[2] + 0xc)" * (cast_expression "(int *)(piVar4[2] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[2] + 0xc)" ( (binary_expression "piVar4[2] + 0xc" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "(pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" ( (comma_expression "pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'" (assignment_expression "pcVar3 = *(char **)(piVar4[2] + 0x10)" identifier = (pointer_expression "*(char **)(piVar4[2] + 0x10)" * (cast_expression "(char **)(piVar4[2] + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + 0x10)" ( (binary_expression "piVar4[2] + 0x10" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*pcVar3 != '.'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'.'" ' character '))) ))) )) || (parenthesized_expression "((pcVar3[1] != '\0' || (bVar6)))" ( (parenthesized_expression "(pcVar3[1] != '\0' || (bVar6))" ( (binary_expression "pcVar3[1] != '\0' || (bVar6)" (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(bVar6)" ( identifier ))) )) ))) )) (compound_statement "{\n          param_1 = piVar5;\n        }" { (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" identifier = identifier) ;) })) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" identifier = identifier) ;) (break_statement "break;" break ;)) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0xc:" case number_literal :) (case_statement "case 0xf:\n        piVar5 = (int *)0x0;" case number_literal : (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 10:" case number_literal :) (case_statement "case 0xb:" case number_literal :) (case_statement "case 0xd:" case number_literal :) (case_statement "case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;" case number_literal : (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (break_statement "break;" break ;)) (case_statement "default:\n        goto LAB_0002005a;" default : (goto_statement "goto LAB_0002005a;" goto statement_identifier ;)) })) (expression_statement "param_1 = piVar4;" (assignment_expression "param_1 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = piVar1;" (assignment_expression "piVar4 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (labeled_statement "LAB_0002005a:\n  return param_1;" statement_identifier : (return_statement "return param_1;" return identifier ;)) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_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 *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (switch_statement switch (parenthesized_expression ( (subscript_expression IDENT [ LIT ]) )) (compound_statement { (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })) (return_statement return IDENT ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_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 (subscript_expression IDENT [ LIT ]) + LIT) ))))) , (binary_expression (pointer_expression * IDENT) != (char_literal ' character '))) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( IDENT ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (break_statement break ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (break_statement break ;)) (case_statement default : (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (labeled_statement statement_identifier : (return_statement return IDENT ;)) })))
(function_definition "int * __regparm3 FUN_00020010(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_00020010(int *param_1)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00020010(int *param_1)" (identifier "FUN_00020010") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  char *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  bool bVar6;\n  \n  bVar6 = DAT_001c45a0 == param_1;\n  if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\nLAB_0002005a:\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (expression_statement "bVar6 = DAT_001c45a0 == param_1;" (assignment_expression "bVar6 = DAT_001c45a0 == param_1" (identifier "bVar6") (= "=") (binary_expression "DAT_001c45a0 == param_1" (identifier "DAT_001c45a0") (== "==") (identifier "param_1"))) (; ";")) (if_statement "if ((int *)*param_1 != (int *)0x0) {\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "((int *)*param_1 != (int *)0x0)" (( "(") (binary_expression "(int *)*param_1 != (int *)0x0" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar5 = (int *)0x0;\n    piVar4 = (int *)*param_1;\n    do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" ({ "{") (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" (identifier "piVar5") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar4 = (int *)*param_1;" (assignment_expression "piVar4 = (int *)*param_1" (identifier "piVar4") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (do_statement "do {\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    } while (piVar1 != (int *)0x0);" (do "do") (compound_statement "{\n      switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }\n      param_1 = piVar4;\n      piVar4 = piVar1;\n    }" ({ "{") (switch_statement "switch(piVar4[1]) {\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" (switch "switch") (parenthesized_expression "(piVar4[1])" (( "(") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) () ")")) (compound_statement "{\n      case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;\n      case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;\n      case 4:\n      case 5:\n      case 6:\n      case 7:\n      case 8:\n      case 9:\n      case 0xc:\n      case 0xf:\n        piVar5 = (int *)0x0;\n      case 2:\n      case 3:\n      case 10:\n      case 0xb:\n      case 0xd:\n      case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;\n      default:\n        goto LAB_0002005a;\n      }" ({ "{") (case_statement "case 0:\n        if (piVar5 == (int *)0x0) {\n          return param_1;\n        }\n        iVar2 = piVar4[7];\n        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }\n        return piVar5;" (case "case") (number_literal "0") (: ":") (if_statement "if (piVar5 == (int *)0x0) {\n          return param_1;\n        }" (if "if") (parenthesized_expression "(piVar5 == (int *)0x0)" (( "(") (binary_expression "piVar5 == (int *)0x0" (identifier "piVar5") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return param_1;\n        }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar2 = piVar4[7];" (assignment_expression "iVar2 = piVar4[7]" (identifier "iVar2") (= "=") (subscript_expression "piVar4[7]" (identifier "piVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" (if "if") (parenthesized_expression "((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0))" (( "(") (binary_expression "(iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar2 + 0xb8) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0xb8) != 0" (pointer_expression "*(int *)(iVar2 + 0xb8)" (* "*") (cast_expression "(int *)(iVar2 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb8)" (( "(") (binary_expression "iVar2 + 0xb8" (identifier "iVar2") (+ "+") (number_literal "0xb8")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }\n          return param_1;\n        }" ({ "{") (if_statement "if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {\n            param_1 = piVar5;\n          }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0x14) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0x14) & 1) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x14) & 1)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x14) & 1" (pointer_expression "*(byte *)(iVar2 + 0x14)" (* "*") (cast_expression "(byte *)(iVar2 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            param_1 = piVar5;\n          }" ({ "{") (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" (identifier "param_1") (= "=") (identifier "piVar5")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (return_statement "return piVar5;" (return "return") (identifier "piVar5") (; ";"))) (case_statement "case 1:\n        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }\n        bVar6 = false;\n        piVar1 = (int *)*piVar4;\n        piVar5 = param_1;\n        break;" (case "case") (number_literal "1") (: ":") (if_statement "if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))) {\n          param_1 = piVar5;\n        }" (if "if") (parenthesized_expression "((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6))))" (( "(") (binary_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||\n           ((pcVar3[1] != '\0' || (bVar6)))" (parenthesized_expression "(((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'))" (( "(") (binary_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||\n            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" (parenthesized_expression "((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8))" (( "(") (binary_expression "(piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)" (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(piVar4[2] + 0xc) == 8)" (( "(") (binary_expression "*(int *)(piVar4[2] + 0xc) == 8" (pointer_expression "*(int *)(piVar4[2] + 0xc)" (* "*") (cast_expression "(int *)(piVar4[2] + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4[2] + 0xc)" (( "(") (binary_expression "piVar4[2] + 0xc" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "8")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')" (( "(") (comma_expression "pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.'" (assignment_expression "pcVar3 = *(char **)(piVar4[2] + 0x10)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(piVar4[2] + 0x10)" (* "*") (cast_expression "(char **)(piVar4[2] + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar4[2] + 0x10)" (( "(") (binary_expression "piVar4[2] + 0x10" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "*pcVar3 != '.'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((pcVar3[1] != '\0' || (bVar6)))" (( "(") (parenthesized_expression "(pcVar3[1] != '\0' || (bVar6))" (( "(") (binary_expression "pcVar3[1] != '\0' || (bVar6)" (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          param_1 = piVar5;\n        }" ({ "{") (expression_statement "param_1 = piVar5;" (assignment_expression "param_1 = piVar5" (identifier "param_1") (= "=") (identifier "piVar5")) (; ";")) (} "}"))) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (; ";")) (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" (identifier "piVar5") (= "=") (identifier "param_1")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:" (case "case") (number_literal "4") (: ":")) (case_statement "case 5:" (case "case") (number_literal "5") (: ":")) (case_statement "case 6:" (case "case") (number_literal "6") (: ":")) (case_statement "case 7:" (case "case") (number_literal "7") (: ":")) (case_statement "case 8:" (case "case") (number_literal "8") (: ":")) (case_statement "case 9:" (case "case") (number_literal "9") (: ":")) (case_statement "case 0xc:" (case "case") (number_literal "0xc") (: ":")) (case_statement "case 0xf:\n        piVar5 = (int *)0x0;" (case "case") (number_literal "0xf") (: ":") (expression_statement "piVar5 = (int *)0x0;" (assignment_expression "piVar5 = (int *)0x0" (identifier "piVar5") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (case_statement "case 2:" (case "case") (number_literal "2") (: ":")) (case_statement "case 3:" (case "case") (number_literal "3") (: ":")) (case_statement "case 10:" (case "case") (number_literal "10") (: ":")) (case_statement "case 0xb:" (case "case") (number_literal "0xb") (: ":")) (case_statement "case 0xd:" (case "case") (number_literal "0xd") (: ":")) (case_statement "case 0xe:\n        piVar1 = (int *)*piVar4;\n        break;" (case "case") (number_literal "0xe") (: ":") (expression_statement "piVar1 = (int *)*piVar4;" (assignment_expression "piVar1 = (int *)*piVar4" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n        goto LAB_0002005a;" (default "default") (: ":") (goto_statement "goto LAB_0002005a;" (goto "goto") (statement_identifier "LAB_0002005a") (; ";"))) (} "}"))) (expression_statement "param_1 = piVar4;" (assignment_expression "param_1 = piVar4" (identifier "param_1") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = piVar1;" (assignment_expression "piVar4 = piVar1" (identifier "piVar4") (= "=") (identifier "piVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0002005a:\n  return param_1;" (statement_identifier "LAB_0002005a") (: ":") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";"))) (} "}")))

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

type_4 ** __regparm3 insert_os_after(type_6 *after)

{
  type_1 *var_4;
  type_2 *var_3;
  type_3 *pwVar3;
  type_1 *var_1;
  type_1 *var_2;
  bool bVar6;
  
  bVar6 = lang_output_section_statement.head == (type_1 *)after;
  var_1 = (after->header).next;
  if (var_1 != (type_1 *)0x0) {
    var_2 = (type_1 *)0x0;
    do {
      switch((var_1->wild_statement).header.type) {
      case lang_output_section_statement_enum:
        if (var_2 == (type_1 *)0x0) {
          return (type_4 **)(type_1 *)after;
        }
        var_3 = (var_1->output_section_statement).bfd_section;
        if ((var_3 != (type_2 *)0x0) && ((var_3->map_head).link_order != (type_5 *)0x0))
        {
          if ((var_3->flags & 1) != 0) {
            after = (type_6 *)var_2;
          }
          return (type_4 **)after;
        }
        return (type_4 **)var_2;
      case lang_assignment_statement_enum:
        if ((((var_2 != (type_1 *)0x0) ||
             (var_4 = (var_1->output_section_statement).children.head,
             (var_4->wild_statement).filenames_sorted == 8)) ||
            (pwVar3 = (var_4->wild_statement).section_list, *(char *)&pwVar3->next != '.')) ||
           ((*(char *)((int)&pwVar3->next + 1) != '\0' || (bVar6)))) {
          after = (type_6 *)var_2;
        }
        bVar6 = false;
        var_4 = (var_1->wild_statement).header.next;
        var_2 = (type_1 *)after;
        break;
      case lang_wild_statement_enum:
      case lang_input_section_enum:
      case lang_object_symbols_statement_enum:
      case lang_fill_statement_enum:
      case lang_data_statement_enum:
      case lang_reloc_statement_enum:
      case lang_padding_statement_enum:
      case lang_constructors_statement_enum:
        var_2 = (type_1 *)0x0;
      case lang_input_statement_enum:
      case lang_address_statement_enum:
      case lang_target_statement_enum:
      case lang_output_statement_enum:
      case lang_group_statement_enum:
      case lang_insert_statement_enum:
        var_4 = (var_1->wild_statement).header.next;
        break;
      default:
        goto switchD_00020049_caseD_10;
      }
      after = (type_6 *)var_1;
      var_1 = var_4;
    } while (var_4 != (type_1 *)0x0);
  }
switchD_00020049_caseD_10:
  return (type_4 **)after;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type) 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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (switch_statement condition: (parenthesized_expression (subscript_expression argument: (identifier) index: (number_literal))) body: (compound_statement (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))) (return_statement (identifier))) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (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: (subscript_expression argument: (identifier) index: (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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (identifier))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (break_statement)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (break_statement)) (case_statement (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (labeled_statement label: (statement_identifier) (return_statement (identifier))))))

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

int * __regparm3 MASKED(int *param_1)

{
  int *piVar1;
  int iVar2;
  char *pcVar3;
  int *piVar4;
  int *piVar5;
  bool bVar6;
  
  bVar6 = DAT_001c45a0 == param_1;
  if ((int *)*param_1 != (int *)0x0) {
    piVar5 = (int *)0x0;
    piVar4 = (int *)*param_1;
    do {
      switch(piVar4[1]) {
      case 0:
        if (piVar5 == (int *)0x0) {
          return param_1;
        }
        iVar2 = piVar4[7];
        if ((iVar2 != 0) && (*(int *)(iVar2 + 0xb8) != 0)) {
          if ((*(byte *)(iVar2 + 0x14) & 1) != 0) {
            param_1 = piVar5;
          }
          return param_1;
        }
        return piVar5;
      case 1:
        if ((((piVar5 != (int *)0x0) || (*(int *)(piVar4[2] + 0xc) == 8)) ||
            (pcVar3 = *(char **)(piVar4[2] + 0x10), *pcVar3 != '.')) ||
           ((pcVar3[1] != '\0' || (bVar6)))) {
          param_1 = piVar5;
        }
        bVar6 = false;
        piVar1 = (int *)*piVar4;
        piVar5 = param_1;
        break;
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 0xc:
      case 0xf:
        piVar5 = (int *)0x0;
      case 2:
      case 3:
      case 10:
      case 0xb:
      case 0xd:
      case 0xe:
        piVar1 = (int *)*piVar4;
        break;
      default:
        goto LAB_0002005a;
      }
      param_1 = piVar4;
      piVar4 = piVar1;
    } while (piVar1 != (int *)0x0);
  }
LAB_0002005a:
  return param_1;
}

