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

valueT __regparm3 S_GET_VALUE(symbolS *s)

{
  char cVar1;
  byte bVar2;
  char *format;
  byte bVar3;
  symbolS *psVar4;
  segT paVar5;
  valueT vVar6;
  
  do {
    bVar2 = *(byte *)&s->sy_flags;
    bVar3 = bVar2 & 1;
    if ((bVar2 & 1) == 0) {
      psVar4 = s;
      if ((bVar2 & 4) == 0) goto LAB_00037512;
    }
    else {
      if ((segT)s->bsym != reg_section) {
        vVar6 = resolve_symbol_value(s);
        return vVar6;
      }
      s = (s->sy_value).X_op_symbol;
      bVar2 = *(byte *)&s->sy_flags;
      if ((bVar2 & 4) == 0) {
LAB_00037512:
        vVar6 = resolve_symbol_value(s);
        if (finalize_syms == 0) {
          return vVar6;
        }
        bVar2 = *(byte *)&s->sy_flags;
      }
      bVar3 = bVar2 & 1;
      psVar4 = s;
      if ((bVar2 & 1) != 0) {
        if ((segT)s->bsym != reg_section) break;
        psVar4 = (s->sy_value).X_op_symbol;
      }
    }
    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;
    s = (s->sy_value).X_add_symbol;
  } while( true );
  cVar1 = (s->sy_value).field_0x10;
  if (cVar1 == '\x02') goto LAB_000374e7;
  paVar5 = (segT)s->bsym;
  if (((bVar2 & 4) == 0) || (cVar1 != '\x03')) {
    if (bVar3 != 0) {
      if (reg_section != paVar5) goto LAB_0003754a;
      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;
    }
LAB_000374c5:
    psVar4 = (symbolS *)paVar5->id;
  }
  else {
    if (bVar3 == 0) {
LAB_000375b1:
      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||
         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;
      goto LAB_000374c5;
    }
    if (reg_section == paVar5) {
      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;
      goto LAB_000375b1;
    }
    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;
LAB_0003754a:
    psVar4 = (s->sy_value).X_add_symbol;
  }
  format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);
  as_bad(format,psVar4);
LAB_000374e7:
  return (s->sy_value).X_add_number;
}



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

undefined4 __regparm3 FUN_00037440(byte *param_1)

{
  byte bVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  byte bVar4;
  byte *pbVar5;
  undefined *puVar6;
  
  do {
    bVar1 = *param_1;
    bVar4 = bVar1 & 1;
    if ((bVar1 & 1) == 0) {
      pbVar5 = param_1;
      if ((bVar1 & 4) == 0) goto LAB_00037512;
    }
    else {
      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {
        uVar3 = FUN_00036220(param_1);
        return uVar3;
      }
      param_1 = *(byte **)(param_1 + 0xc);
      bVar1 = *param_1;
      if ((bVar1 & 4) == 0) {
LAB_00037512:
        uVar3 = FUN_00036220(param_1);
        if (DAT_0008768c == 0) {
          return uVar3;
        }
        bVar1 = *param_1;
      }
      bVar4 = bVar1 & 1;
      pbVar5 = param_1;
      if ((bVar1 & 1) != 0) {
        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;
        pbVar5 = *(byte **)(param_1 + 0xc);
      }
    }
    if ((pbVar5[1] & 2) == 0) break;
    param_1 = *(byte **)(param_1 + 8);
  } while( true );
  if (param_1[0x18] == 2) goto LAB_000374e7;
  puVar6 = *(undefined **)(param_1 + 4);
  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {
    if (bVar4 != 0) {
      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;
      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
    }
LAB_000374c5:
    uVar3 = *(undefined4 *)(puVar6 + 4);
  }
  else {
    if (bVar4 == 0) {
LAB_000375b1:
      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||
         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;
      goto LAB_000374c5;
    }
    if (DAT_00087fb4 == puVar6) {
      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
      goto LAB_000375b1;
    }
    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;
LAB_0003754a:
    uVar3 = *(undefined4 *)(param_1 + 8);
  }
  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);
  FUN_00029550(uVar2,uVar3);
LAB_000374e7:
  return *(undefined4 *)(param_1 + 0x10);
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00016030
ADD EBX,0x46bb5
SUB ESP,0x1c
LEA EBP,[EBX + 0x9fb4]
LEA ECX,[EBX + 0x968c]
MOVZX EAX,byte ptr [ESI]
MOV EDX,EAX
AND EDX,0x1
JZ 0x000374f8
LEA EAX,[EBX + 0x9fb4]
MOV EAX,dword ptr [EAX]
CMP dword ptr [ESI + 0x4],EAX
JNZ 0x00037558
MOV EDI,dword ptr [ESI + 0xc]
MOVZX EAX,byte ptr [EDI]
TEST AL,0x4
JZ 0x00037510
MOV EDX,EAX
AND EDX,0x1
JZ 0x0003753c
MOV ESI,dword ptr [EBP]
CMP dword ptr [EDI + 0x4],ESI
JZ 0x00037570
MOVZX ECX,byte ptr [EDI + 0x18]
CMP CL,0x2
JZ 0x000374e7
MOV ESI,dword ptr [EDI + 0x4]
TEST AL,0x4
JZ 0x000374bd
CMP CL,0x3
JZ 0x00037578
TEST DL,DL
JNZ 0x00037540
MOV ESI,dword ptr [ESI + 0x4]
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe1bd0]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141b0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00029550
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x10]
MOV EDX,dword ptr [EDI + 0x14]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,ESI
TEST AL,0x4
JZ 0x00037512
TEST byte ptr [ESI + 0x1],0x2
JZ 0x000374a4
MOV ESI,dword ptr [EDI + 0x8]
JMP 0x00037460
MOV ESI,EDI
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0xc
PUSH ESI
CALL 0x00036220
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV EDI,dword ptr [ECX]
TEST EDI,EDI
JZ 0x000374ed
MOVZX EAX,byte ptr [ESI]
MOV EDI,ESI
MOV EDX,EAX
AND EDX,0x1
JNZ 0x00037498
MOV ESI,EDI
JMP 0x000374fe
LEA EAX,[EBX + 0x9fb4]
CMP dword ptr [EAX],ESI
JZ 0x000375a0
MOV ESI,dword ptr [EDI + 0x8]
JMP 0x000374c8
SUB ESP,0xc
PUSH ESI
CALL 0x00036220
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [EDI + 0xc]
JMP 0x000374fe
TEST DL,DL
JZ 0x000375b1
LEA EAX,[EBX + 0x9fb4]
CMP dword ptr [EAX],ESI
JZ 0x000375ab
MOV EAX,dword ptr [EBX + 0xffffffb4]
ADD EAX,0xc0
CMP ESI,EAX
JNZ 0x0003754a
JMP 0x000374e7
MOV EAX,dword ptr [EDI + 0xc]
MOV ESI,dword ptr [EAX + 0x4]
JMP 0x000374c5
MOV EAX,dword ptr [EDI + 0xc]
MOV ESI,dword ptr [EAX + 0x4]
MOV EDX,dword ptr [EBX + 0xffffffb4]
MOV EAX,dword ptr [ESI + 0x14]
ADD EDX,0xc0
CMP EAX,EDX
JZ 0x000374e7
TEST byte ptr [EAX + 0x15],0x10
JZ 0x000374c5
JMP 0x000374e7
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00037440(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00037440(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00037440(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (do_statement "do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );" do (compound_statement "{\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" identifier = (binary_expression "bVar1 & 1" identifier & number_literal)) ;) (if_statement "if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }" { (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (if_statement "if ((bVar1 & 4) == 0) goto LAB_00037512;" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00037512;" goto statement_identifier ;)) }) (else_clause "else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" else (compound_statement "{\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" { (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" identifier = (call_expression "FUN_00036220(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" { (labeled_statement "LAB_00037512:\n        uVar3 = FUN_00036220(param_1);" statement_identifier : (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" identifier = (call_expression "FUN_00036220(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (DAT_0008768c == 0) {\n          return uVar3;\n        }" if (parenthesized_expression "(DAT_0008768c == 0)" ( (binary_expression "DAT_0008768c == 0" identifier == number_literal) )) (compound_statement "{\n          return uVar3;\n        }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" identifier = (binary_expression "bVar1 & 1" identifier & number_literal)) ;) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (if_statement "if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar5 = *(byte **)(param_1 + 0xc);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) }))) (if_statement "if ((pbVar5[1] & 2) == 0) break;" if (parenthesized_expression "((pbVar5[1] & 2) == 0)" ( (binary_expression "(pbVar5[1] & 2) == 0" (parenthesized_expression "(pbVar5[1] & 2)" ( (binary_expression "pbVar5[1] & 2" (subscript_expression "pbVar5[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_1 = *(byte **)(param_1 + 8);" (assignment_expression "param_1 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (if_statement "if (param_1[0x18] == 2) goto LAB_000374e7;" if (parenthesized_expression "(param_1[0x18] == 2)" ( (binary_expression "param_1[0x18] == 2" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (expression_statement "puVar6 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar6 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" if (parenthesized_expression "(((bVar1 & 4) == 0) || (param_1[0x18] != 3))" ( (binary_expression "((bVar1 & 4) == 0) || (param_1[0x18] != 3)" (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_1[0x18] != 3)" ( (binary_expression "param_1[0x18] != 3" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }" { (if_statement "if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" if (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" { (if_statement "if (DAT_00087fb4 != puVar6) goto LAB_0003754a;" if (parenthesized_expression "(DAT_00087fb4 != puVar6)" ( (binary_expression "DAT_00087fb4 != puVar6" identifier != identifier) )) (goto_statement "goto LAB_0003754a;" goto statement_identifier ;)) (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (labeled_statement "LAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 4)" identifier = (pointer_expression "*(undefined4 *)(puVar6 + 4)" * (cast_expression "(undefined4 *)(puVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" else (compound_statement "{\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" { (if_statement "if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" { (labeled_statement "LAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" statement_identifier : (if_statement "if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" if (parenthesized_expression "((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0))" ( (binary_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0" (pointer_expression "*(undefined **)(puVar6 + 0x14)" * (cast_expression "(undefined **)(puVar6 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) == (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal)) )) || (parenthesized_expression "(((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" ( (binary_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0" (parenthesized_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10)" ( (binary_expression "(*(undefined **)(puVar6 + 0x14))[0x15] & 0x10" (subscript_expression "(*(undefined **)(puVar6 + 0x14))[0x15]" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14))" ( (pointer_expression "*(undefined **)(puVar6 + 0x14)" * (cast_expression "(undefined **)(puVar6 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) )) [ number_literal ]) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;))) (goto_statement "goto LAB_000374c5;" goto statement_identifier ;) })) (if_statement "if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" if (parenthesized_expression "(DAT_00087fb4 == puVar6)" ( (binary_expression "DAT_00087fb4 == puVar6" identifier == identifier) )) (compound_statement "{\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" { (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_000375b1;" goto statement_identifier ;) })) (if_statement "if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;" if (parenthesized_expression "(puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal)) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (labeled_statement "LAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;)) }))) (expression_statement "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);" (assignment_expression "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier = (call_expression "dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier (argument_list "(0,"attempt to get value of unresolved symbol `%s\'",5)" ( number_literal , (string_literal ""attempt to get value of unresolved symbol `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00029550(uVar2,uVar3);" (call_expression "FUN_00029550(uVar2,uVar3)" identifier (argument_list "(uVar2,uVar3)" ( identifier , identifier ))) ;) (labeled_statement "LAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);" statement_identifier : (return_statement "return *(undefined4 *)(param_1 + 0x10);" return (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvalueT __regparm3 S_GET_VALUE(symbolS *s)\n\n{\n  char cVar1;\n  byte bVar2;\n  char *format;\n  byte bVar3;\n  symbolS *psVar4;\n  segT paVar5;\n  valueT vVar6;\n  \n  do {\n    bVar2 = *(byte *)&s->sy_flags;\n    bVar3 = bVar2 & 1;\n    if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }\n    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;\n    s = (s->sy_value).X_add_symbol;\n  } while( true );\n  cVar1 = (s->sy_value).field_0x10;\n  if (cVar1 == '\x02') goto LAB_000374e7;\n  paVar5 = (segT)s->bsym;\n  if (((bVar2 & 4) == 0) || (cVar1 != '\x03')) {\n    if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\nLAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;\n  }\n  else {\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }\n  format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  as_bad(format,psVar4);\nLAB_000374e7:\n  return (s->sy_value).X_add_number;\n}\n\n" comment (function_definition "valueT __regparm3 S_GET_VALUE(symbolS *s)\n\n{\n  char cVar1;\n  byte bVar2;\n  char *format;\n  byte bVar3;\n  symbolS *psVar4;\n  segT paVar5;\n  valueT vVar6;\n  \n  do {\n    bVar2 = *(byte *)&s->sy_flags;\n    bVar3 = bVar2 & 1;\n    if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }\n    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;\n    s = (s->sy_value).X_add_symbol;\n  } while( true );\n  cVar1 = (s->sy_value).field_0x10;\n  if (cVar1 == '\x02') goto LAB_000374e7;\n  paVar5 = (segT)s->bsym;\n  if (((bVar2 & 4) == 0) || (cVar1 != '\x03')) {\n    if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\nLAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;\n  }\n  else {\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }\n  format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  as_bad(format,psVar4);\nLAB_000374e7:\n  return (s->sy_value).X_add_number;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "S_GET_VALUE(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  char *format;\n  byte bVar3;\n  symbolS *psVar4;\n  segT paVar5;\n  valueT vVar6;\n  \n  do {\n    bVar2 = *(byte *)&s->sy_flags;\n    bVar3 = bVar2 & 1;\n    if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }\n    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;\n    s = (s->sy_value).X_add_symbol;\n  } while( true );\n  cVar1 = (s->sy_value).field_0x10;\n  if (cVar1 == '\x02') goto LAB_000374e7;\n  paVar5 = (segT)s->bsym;\n  if (((bVar2 & 4) == 0) || (cVar1 != '\x03')) {\n    if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\nLAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;\n  }\n  else {\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }\n  format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  as_bad(format,psVar4);\nLAB_000374e7:\n  return (s->sy_value).X_add_number;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "symbolS *psVar4;" type_identifier (pointer_declarator "*psVar4" * identifier) ;) (declaration "segT paVar5;" type_identifier identifier ;) (declaration "valueT vVar6;" type_identifier identifier ;) (do_statement "do {\n    bVar2 = *(byte *)&s->sy_flags;\n    bVar3 = bVar2 & 1;\n    if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }\n    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;\n    s = (s->sy_value).X_add_symbol;\n  } while( true );" do (compound_statement "{\n    bVar2 = *(byte *)&s->sy_flags;\n    bVar3 = bVar2 & 1;\n    if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }\n    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;\n    s = (s->sy_value).X_add_symbol;\n  }" { (expression_statement "bVar2 = *(byte *)&s->sy_flags;" (assignment_expression "bVar2 = *(byte *)&s->sy_flags" identifier = (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) ;) (expression_statement "bVar3 = bVar2 & 1;" (assignment_expression "bVar3 = bVar2 & 1" identifier = (binary_expression "bVar2 & 1" identifier & number_literal)) ;) (if_statement "if ((bVar2 & 1) == 0) {\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }" if (parenthesized_expression "((bVar2 & 1) == 0)" ( (binary_expression "(bVar2 & 1) == 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      psVar4 = s;\n      if ((bVar2 & 4) == 0) goto LAB_00037512;\n    }" { (expression_statement "psVar4 = s;" (assignment_expression "psVar4 = s" identifier = identifier) ;) (if_statement "if ((bVar2 & 4) == 0) goto LAB_00037512;" if (parenthesized_expression "((bVar2 & 4) == 0)" ( (binary_expression "(bVar2 & 4) == 0" (parenthesized_expression "(bVar2 & 4)" ( (binary_expression "bVar2 & 4" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00037512;" goto statement_identifier ;)) }) (else_clause "else {\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }" else (compound_statement "{\n      if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }\n      s = (s->sy_value).X_op_symbol;\n      bVar2 = *(byte *)&s->sy_flags;\n      if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }\n      bVar3 = bVar2 & 1;\n      psVar4 = s;\n      if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }\n    }" { (if_statement "if ((segT)s->bsym != reg_section) {\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }" if (parenthesized_expression "((segT)s->bsym != reg_section)" ( (binary_expression "(segT)s->bsym != reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n        vVar6 = resolve_symbol_value(s);\n        return vVar6;\n      }" { (expression_statement "vVar6 = resolve_symbol_value(s);" (assignment_expression "vVar6 = resolve_symbol_value(s)" identifier = (call_expression "resolve_symbol_value(s)" identifier (argument_list "(s)" ( identifier )))) ;) (return_statement "return vVar6;" return identifier ;) })) (expression_statement "s = (s->sy_value).X_op_symbol;" (assignment_expression "s = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "bVar2 = *(byte *)&s->sy_flags;" (assignment_expression "bVar2 = *(byte *)&s->sy_flags" identifier = (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) ;) (if_statement "if ((bVar2 & 4) == 0) {\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }" if (parenthesized_expression "((bVar2 & 4) == 0)" ( (binary_expression "(bVar2 & 4) == 0" (parenthesized_expression "(bVar2 & 4)" ( (binary_expression "bVar2 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00037512:\n        vVar6 = resolve_symbol_value(s);\n        if (finalize_syms == 0) {\n          return vVar6;\n        }\n        bVar2 = *(byte *)&s->sy_flags;\n      }" { (labeled_statement "LAB_00037512:\n        vVar6 = resolve_symbol_value(s);" statement_identifier : (expression_statement "vVar6 = resolve_symbol_value(s);" (assignment_expression "vVar6 = resolve_symbol_value(s)" identifier = (call_expression "resolve_symbol_value(s)" identifier (argument_list "(s)" ( identifier )))) ;)) (if_statement "if (finalize_syms == 0) {\n          return vVar6;\n        }" if (parenthesized_expression "(finalize_syms == 0)" ( (binary_expression "finalize_syms == 0" identifier == number_literal) )) (compound_statement "{\n          return vVar6;\n        }" { (return_statement "return vVar6;" return identifier ;) })) (expression_statement "bVar2 = *(byte *)&s->sy_flags;" (assignment_expression "bVar2 = *(byte *)&s->sy_flags" identifier = (pointer_expression "*(byte *)&s->sy_flags" * (cast_expression "(byte *)&s->sy_flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) ;) })) (expression_statement "bVar3 = bVar2 & 1;" (assignment_expression "bVar3 = bVar2 & 1" identifier = (binary_expression "bVar2 & 1" identifier & number_literal)) ;) (expression_statement "psVar4 = s;" (assignment_expression "psVar4 = s" identifier = identifier) ;) (if_statement "if ((bVar2 & 1) != 0) {\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }" if (parenthesized_expression "((bVar2 & 1) != 0)" ( (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        if ((segT)s->bsym != reg_section) break;\n        psVar4 = (s->sy_value).X_op_symbol;\n      }" { (if_statement "if ((segT)s->bsym != reg_section) break;" if (parenthesized_expression "((segT)s->bsym != reg_section)" ( (binary_expression "(segT)s->bsym != reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) != identifier) )) (break_statement "break;" break ;)) (expression_statement "psVar4 = (s->sy_value).X_op_symbol;" (assignment_expression "psVar4 = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) }))) (if_statement "if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;" if (parenthesized_expression "(((psVar4->sy_flags).field_0x1 & 2) == 0)" ( (binary_expression "((psVar4->sy_flags).field_0x1 & 2) == 0" (parenthesized_expression "((psVar4->sy_flags).field_0x1 & 2)" ( (binary_expression "(psVar4->sy_flags).field_0x1 & 2" (field_expression "(psVar4->sy_flags).field_0x1" (parenthesized_expression "(psVar4->sy_flags)" ( (field_expression "psVar4->sy_flags" identifier -> field_identifier) )) . field_identifier) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "s = (s->sy_value).X_add_symbol;" (assignment_expression "s = (s->sy_value).X_add_symbol" identifier = (field_expression "(s->sy_value).X_add_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (expression_statement "cVar1 = (s->sy_value).field_0x10;" (assignment_expression "cVar1 = (s->sy_value).field_0x10" identifier = (field_expression "(s->sy_value).field_0x10" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (cVar1 == '\x02') goto LAB_000374e7;" if (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (expression_statement "paVar5 = (segT)s->bsym;" (assignment_expression "paVar5 = (segT)s->bsym" identifier = (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier))) ;) (if_statement "if (((bVar2 & 4) == 0) || (cVar1 != '\x03')) {\n    if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\nLAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;\n  }\n  else {\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }" if (parenthesized_expression "(((bVar2 & 4) == 0) || (cVar1 != '\x03'))" ( (binary_expression "((bVar2 & 4) == 0) || (cVar1 != '\x03')" (parenthesized_expression "((bVar2 & 4) == 0)" ( (binary_expression "(bVar2 & 4) == 0" (parenthesized_expression "(bVar2 & 4)" ( (binary_expression "bVar2 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(cVar1 != '\x03')" ( (binary_expression "cVar1 != '\x03'" identifier != (char_literal "'\x03'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\nLAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;\n  }" { (if_statement "if (bVar3 != 0) {\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }" if (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if (reg_section != paVar5) goto LAB_0003754a;\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }" { (if_statement "if (reg_section != paVar5) goto LAB_0003754a;" if (parenthesized_expression "(reg_section != paVar5)" ( (binary_expression "reg_section != paVar5" identifier != identifier) )) (goto_statement "goto LAB_0003754a;" goto statement_identifier ;)) (expression_statement "paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;" (assignment_expression "paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym" identifier = (field_expression "(segT)((s->sy_value).X_op_symbol)->bsym" (call_expression "(segT)((s->sy_value).X_op_symbol)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) })) (labeled_statement "LAB_000374c5:\n    psVar4 = (symbolS *)paVar5->id;" statement_identifier : (expression_statement "psVar4 = (symbolS *)paVar5->id;" (assignment_expression "psVar4 = (symbolS *)paVar5->id" identifier = (cast_expression "(symbolS *)paVar5->id" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar5->id" identifier -> field_identifier))) ;)) }) (else_clause "else {\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }" else (compound_statement "{\n    if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }\n    if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;\nLAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;\n  }" { (if_statement "if (bVar3 == 0) {\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" { (labeled_statement "LAB_000375b1:\n      if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;" statement_identifier : (if_statement "if (((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;" if (parenthesized_expression "(((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0))" ( (binary_expression "((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         ((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)" (parenthesized_expression "((undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "(undefined *)paVar5->flags == PTR__bfd_std_section_0007dfb4 + 0xc0" (cast_expression "(undefined *)paVar5->flags" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar5->flags" identifier -> field_identifier)) == (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal)) )) || (parenthesized_expression "((((undefined *)paVar5->flags)[0x15] & 0x10) != 0)" ( (binary_expression "(((undefined *)paVar5->flags)[0x15] & 0x10) != 0" (parenthesized_expression "(((undefined *)paVar5->flags)[0x15] & 0x10)" ( (binary_expression "((undefined *)paVar5->flags)[0x15] & 0x10" (subscript_expression "((undefined *)paVar5->flags)[0x15]" (parenthesized_expression "((undefined *)paVar5->flags)" ( (cast_expression "(undefined *)paVar5->flags" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar5->flags" identifier -> field_identifier)) )) [ number_literal ]) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;))) (goto_statement "goto LAB_000374c5;" goto statement_identifier ;) })) (if_statement "if (reg_section == paVar5) {\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }" if (parenthesized_expression "(reg_section == paVar5)" ( (binary_expression "reg_section == paVar5" identifier == identifier) )) (compound_statement "{\n      paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;\n      goto LAB_000375b1;\n    }" { (expression_statement "paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym;" (assignment_expression "paVar5 = (segT)((s->sy_value).X_op_symbol)->bsym" identifier = (field_expression "(segT)((s->sy_value).X_op_symbol)->bsym" (call_expression "(segT)((s->sy_value).X_op_symbol)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) (goto_statement "goto LAB_000375b1;" goto statement_identifier ;) })) (if_statement "if (paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)) goto LAB_000374e7;" if (parenthesized_expression "(paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0))" ( (binary_expression "paVar5 == (segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)" identifier == (call_expression "(segT)(PTR__bfd_std_section_0007dfb4 + 0xc0)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal) )))) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (labeled_statement "LAB_0003754a:\n    psVar4 = (s->sy_value).X_add_symbol;" statement_identifier : (expression_statement "psVar4 = (s->sy_value).X_add_symbol;" (assignment_expression "psVar4 = (s->sy_value).X_add_symbol" identifier = (field_expression "(s->sy_value).X_add_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;)) }))) (expression_statement "format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);" (assignment_expression "format = (char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier = (cast_expression "(char *)dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier (argument_list "(0,"attempt to get value of unresolved symbol `%s\'",5)" ( number_literal , (string_literal ""attempt to get value of unresolved symbol `%s\'"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "as_bad(format,psVar4);" (call_expression "as_bad(format,psVar4)" identifier (argument_list "(format,psVar4)" ( identifier , identifier ))) ;) (labeled_statement "LAB_000374e7:\n  return (s->sy_value).X_add_number;" statement_identifier : (return_statement "return (s->sy_value).X_add_number;" return (field_expression "(s->sy_value).X_add_number" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ;)) })))
(translation_unit "undefined4 __regparm3 FUN_00037440(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00037440(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00037440(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (do_statement "do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );" do (compound_statement "{\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" identifier = (binary_expression "bVar1 & 1" identifier & number_literal)) ;) (if_statement "if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" if (parenthesized_expression "((bVar1 & 1) == 0)" ( (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }" { (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (if_statement "if ((bVar1 & 4) == 0) goto LAB_00037512;" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00037512;" goto statement_identifier ;)) }) (else_clause "else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" else (compound_statement "{\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" { (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" identifier = (call_expression "FUN_00036220(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" { (labeled_statement "LAB_00037512:\n        uVar3 = FUN_00036220(param_1);" statement_identifier : (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" identifier = (call_expression "FUN_00036220(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (DAT_0008768c == 0) {\n          return uVar3;\n        }" if (parenthesized_expression "(DAT_0008768c == 0)" ( (binary_expression "DAT_0008768c == 0" identifier == number_literal) )) (compound_statement "{\n          return uVar3;\n        }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" identifier = (binary_expression "bVar1 & 1" identifier & number_literal)) ;) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" identifier = identifier) ;) (if_statement "if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" if (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar5 = *(byte **)(param_1 + 0xc);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) }))) (if_statement "if ((pbVar5[1] & 2) == 0) break;" if (parenthesized_expression "((pbVar5[1] & 2) == 0)" ( (binary_expression "(pbVar5[1] & 2) == 0" (parenthesized_expression "(pbVar5[1] & 2)" ( (binary_expression "pbVar5[1] & 2" (subscript_expression "pbVar5[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_1 = *(byte **)(param_1 + 8);" (assignment_expression "param_1 = *(byte **)(param_1 + 8)" identifier = (pointer_expression "*(byte **)(param_1 + 8)" * (cast_expression "(byte **)(param_1 + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) (if_statement "if (param_1[0x18] == 2) goto LAB_000374e7;" if (parenthesized_expression "(param_1[0x18] == 2)" ( (binary_expression "param_1[0x18] == 2" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (expression_statement "puVar6 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar6 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" if (parenthesized_expression "(((bVar1 & 4) == 0) || (param_1[0x18] != 3))" ( (binary_expression "((bVar1 & 4) == 0) || (param_1[0x18] != 3)" (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_1[0x18] != 3)" ( (binary_expression "param_1[0x18] != 3" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }" { (if_statement "if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" if (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" { (if_statement "if (DAT_00087fb4 != puVar6) goto LAB_0003754a;" if (parenthesized_expression "(DAT_00087fb4 != puVar6)" ( (binary_expression "DAT_00087fb4 != puVar6" identifier != identifier) )) (goto_statement "goto LAB_0003754a;" goto statement_identifier ;)) (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (labeled_statement "LAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 4)" identifier = (pointer_expression "*(undefined4 *)(puVar6 + 4)" * (cast_expression "(undefined4 *)(puVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" else (compound_statement "{\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" { (if_statement "if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" { (labeled_statement "LAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" statement_identifier : (if_statement "if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" if (parenthesized_expression "((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0))" ( (binary_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0" (pointer_expression "*(undefined **)(puVar6 + 0x14)" * (cast_expression "(undefined **)(puVar6 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) == (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal)) )) || (parenthesized_expression "(((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" ( (binary_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0" (parenthesized_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10)" ( (binary_expression "(*(undefined **)(puVar6 + 0x14))[0x15] & 0x10" (subscript_expression "(*(undefined **)(puVar6 + 0x14))[0x15]" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14))" ( (pointer_expression "*(undefined **)(puVar6 + 0x14)" * (cast_expression "(undefined **)(puVar6 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x14)" ( (binary_expression "puVar6 + 0x14" identifier + number_literal) )))) )) [ number_literal ]) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;))) (goto_statement "goto LAB_000374c5;" goto statement_identifier ;) })) (if_statement "if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" if (parenthesized_expression "(DAT_00087fb4 == puVar6)" ( (binary_expression "DAT_00087fb4 == puVar6" identifier == identifier) )) (compound_statement "{\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" { (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_000375b1;" goto statement_identifier ;) })) (if_statement "if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;" if (parenthesized_expression "(puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0)" ( (binary_expression "puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" identifier + number_literal)) )) (goto_statement "goto LAB_000374e7;" goto statement_identifier ;)) (labeled_statement "LAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;)) }))) (expression_statement "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);" (assignment_expression "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier = (call_expression "dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" identifier (argument_list "(0,"attempt to get value of unresolved symbol `%s\'",5)" ( number_literal , (string_literal ""attempt to get value of unresolved symbol `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00029550(uVar2,uVar3);" (call_expression "FUN_00029550(uVar2,uVar3)" identifier (argument_list "(uVar2,uVar3)" ( identifier , identifier ))) ;) (labeled_statement "LAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);" statement_identifier : (return_statement "return *(undefined4 *)(param_1 + 0x10);" return (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (binary_expression IDENT + LIT)) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) [ LIT ]) & LIT) )) != LIT) ))) )) (goto_statement goto statement_identifier ;))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;)) })))
(function_definition "undefined4 __regparm3 FUN_00037440(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00037440(byte *param_1)" (identifier "FUN_00037440") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  byte *pbVar5;\n  undefined *puVar6;\n  \n  do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );\n  if (param_1[0x18] == 2) goto LAB_000374e7;\n  puVar6 = *(undefined **)(param_1 + 4);\n  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }\n  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);\n  FUN_00029550(uVar2,uVar3);\nLAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (do_statement "do {\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  } while( true );" (do "do") (compound_statement "{\n    bVar1 = *param_1;\n    bVar4 = bVar1 & 1;\n    if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }\n    if ((pbVar5[1] & 2) == 0) break;\n    param_1 = *(byte **)(param_1 + 8);\n  }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" (identifier "bVar4") (= "=") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1"))) (; ";")) (if_statement "if ((bVar1 & 1) == 0) {\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }\n    else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" (if "if") (parenthesized_expression "((bVar1 & 1) == 0)" (( "(") (binary_expression "(bVar1 & 1) == 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar5 = param_1;\n      if ((bVar1 & 4) == 0) goto LAB_00037512;\n    }" ({ "{") (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" (identifier "pbVar5") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((bVar1 & 4) == 0) goto LAB_00037512;" (if "if") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00037512;" (goto "goto") (statement_identifier "LAB_00037512") (; ";"))) (} "}")) (else_clause "else {\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" (else "else") (compound_statement "{\n      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }\n      param_1 = *(byte **)(param_1 + 0xc);\n      bVar1 = *param_1;\n      if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }\n      bVar4 = bVar1 & 1;\n      pbVar5 = param_1;\n      if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }\n    }" ({ "{") (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" (if "if") (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" (( "(") (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "DAT_00087fb4")) () ")")) (compound_statement "{\n        uVar3 = FUN_00036220(param_1);\n        return uVar3;\n      }" ({ "{") (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" (identifier "uVar3") (= "=") (call_expression "FUN_00036220(param_1)" (identifier "FUN_00036220") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0xc)" (* "*") (cast_expression "(byte **)(param_1 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((bVar1 & 4) == 0) {\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" (if "if") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00037512:\n        uVar3 = FUN_00036220(param_1);\n        if (DAT_0008768c == 0) {\n          return uVar3;\n        }\n        bVar1 = *param_1;\n      }" ({ "{") (labeled_statement "LAB_00037512:\n        uVar3 = FUN_00036220(param_1);" (statement_identifier "LAB_00037512") (: ":") (expression_statement "uVar3 = FUN_00036220(param_1);" (assignment_expression "uVar3 = FUN_00036220(param_1)" (identifier "uVar3") (= "=") (call_expression "FUN_00036220(param_1)" (identifier "FUN_00036220") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (if_statement "if (DAT_0008768c == 0) {\n          return uVar3;\n        }" (if "if") (parenthesized_expression "(DAT_0008768c == 0)" (( "(") (binary_expression "DAT_0008768c == 0" (identifier "DAT_0008768c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return uVar3;\n        }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "bVar4 = bVar1 & 1;" (assignment_expression "bVar4 = bVar1 & 1" (identifier "bVar4") (= "=") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = param_1;" (assignment_expression "pbVar5 = param_1" (identifier "pbVar5") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((bVar1 & 1) != 0) {\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" (if "if") (parenthesized_expression "((bVar1 & 1) != 0)" (( "(") (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;\n        pbVar5 = *(byte **)(param_1 + 0xc);\n      }" ({ "{") (if_statement "if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;" (if "if") (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_00087fb4)" (( "(") (binary_expression "*(undefined **)(param_1 + 4) != DAT_00087fb4" (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "DAT_00087fb4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar5 = *(byte **)(param_1 + 0xc);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0xc)" (identifier "pbVar5") (= "=") (pointer_expression "*(byte **)(param_1 + 0xc)" (* "*") (cast_expression "(byte **)(param_1 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((pbVar5[1] & 2) == 0) break;" (if "if") (parenthesized_expression "((pbVar5[1] & 2) == 0)" (( "(") (binary_expression "(pbVar5[1] & 2) == 0" (parenthesized_expression "(pbVar5[1] & 2)" (( "(") (binary_expression "pbVar5[1] & 2" (subscript_expression "pbVar5[1]" (identifier "pbVar5") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = *(byte **)(param_1 + 8);" (assignment_expression "param_1 = *(byte **)(param_1 + 8)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 8)" (* "*") (cast_expression "(byte **)(param_1 + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (if_statement "if (param_1[0x18] == 2) goto LAB_000374e7;" (if "if") (parenthesized_expression "(param_1[0x18] == 2)" (( "(") (binary_expression "param_1[0x18] == 2" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000374e7;" (goto "goto") (statement_identifier "LAB_000374e7") (; ";"))) (expression_statement "puVar6 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar6 = *(undefined **)(param_1 + 4)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }\n  else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" (if "if") (parenthesized_expression "(((bVar1 & 4) == 0) || (param_1[0x18] != 3))" (( "(") (binary_expression "((bVar1 & 4) == 0) || (param_1[0x18] != 3)" (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1[0x18] != 3)" (( "(") (binary_expression "param_1[0x18] != 3" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (!= "!=") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n    if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\nLAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);\n  }" ({ "{") (if_statement "if (bVar4 != 0) {\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" (if "if") (parenthesized_expression "(bVar4 != 0)" (( "(") (binary_expression "bVar4 != 0" (identifier "bVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" ({ "{") (if_statement "if (DAT_00087fb4 != puVar6) goto LAB_0003754a;" (if "if") (parenthesized_expression "(DAT_00087fb4 != puVar6)" (( "(") (binary_expression "DAT_00087fb4 != puVar6" (identifier "DAT_00087fb4") (!= "!=") (identifier "puVar6")) () ")")) (goto_statement "goto LAB_0003754a;" (goto "goto") (statement_identifier "LAB_0003754a") (; ";"))) (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (labeled_statement "LAB_000374c5:\n    uVar3 = *(undefined4 *)(puVar6 + 4);" (statement_identifier "LAB_000374c5") (: ":") (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(puVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" (else "else") (compound_statement "{\n    if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }\n    if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }\n    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;\nLAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);\n  }" ({ "{") (if_statement "if (bVar4 == 0) {\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" (if "if") (parenthesized_expression "(bVar4 == 0)" (( "(") (binary_expression "bVar4 == 0" (identifier "bVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;\n      goto LAB_000374c5;\n    }" ({ "{") (labeled_statement "LAB_000375b1:\n      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" (statement_identifier "LAB_000375b1") (: ":") (if_statement "if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;" (if "if") (parenthesized_expression "((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0))" (( "(") (binary_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||\n         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0)" (( "(") (binary_expression "*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0" (pointer_expression "*(undefined **)(puVar6 + 0x14)" (* "*") (cast_expression "(undefined **)(puVar6 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" (identifier "PTR__bfd_std_section_0007dfb4") (+ "+") (number_literal "0xc0"))) () ")")) (|| "||") (parenthesized_expression "(((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)" (( "(") (binary_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0" (parenthesized_expression "((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10)" (( "(") (binary_expression "(*(undefined **)(puVar6 + 0x14))[0x15] & 0x10" (subscript_expression "(*(undefined **)(puVar6 + 0x14))[0x15]" (parenthesized_expression "(*(undefined **)(puVar6 + 0x14))" (( "(") (pointer_expression "*(undefined **)(puVar6 + 0x14)" (* "*") (cast_expression "(undefined **)(puVar6 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x14)" (( "(") (binary_expression "puVar6 + 0x14" (identifier "puVar6") (+ "+") (number_literal "0x14")) () ")")))) () ")")) ([ "[") (number_literal "0x15") (] "]")) (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_000374e7;" (goto "goto") (statement_identifier "LAB_000374e7") (; ";")))) (goto_statement "goto LAB_000374c5;" (goto "goto") (statement_identifier "LAB_000374c5") (; ";")) (} "}"))) (if_statement "if (DAT_00087fb4 == puVar6) {\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" (if "if") (parenthesized_expression "(DAT_00087fb4 == puVar6)" (( "(") (binary_expression "DAT_00087fb4 == puVar6" (identifier "DAT_00087fb4") (== "==") (identifier "puVar6")) () ")")) (compound_statement "{\n      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n      goto LAB_000375b1;\n    }" ({ "{") (expression_statement "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_000375b1;" (goto "goto") (statement_identifier "LAB_000375b1") (; ";")) (} "}"))) (if_statement "if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;" (if "if") (parenthesized_expression "(puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0)" (( "(") (binary_expression "puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0" (identifier "puVar6") (== "==") (binary_expression "PTR__bfd_std_section_0007dfb4 + 0xc0" (identifier "PTR__bfd_std_section_0007dfb4") (+ "+") (number_literal "0xc0"))) () ")")) (goto_statement "goto LAB_000374e7;" (goto "goto") (statement_identifier "LAB_000374e7") (; ";"))) (labeled_statement "LAB_0003754a:\n    uVar3 = *(undefined4 *)(param_1 + 8);" (statement_identifier "LAB_0003754a") (: ":") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (} "}")))) (expression_statement "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);" (assignment_expression "uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5)" (identifier "dcgettext") (argument_list "(0,"attempt to get value of unresolved symbol `%s\'",5)" (( "(") (number_literal "0") (, ",") (string_literal ""attempt to get value of unresolved symbol `%s\'"" (" """) (string_content "attempt to get value of unresolved symbol `%s") (escape_sequence "\'") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00029550(uVar2,uVar3);" (call_expression "FUN_00029550(uVar2,uVar3)" (identifier "FUN_00029550") (argument_list "(uVar2,uVar3)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (labeled_statement "LAB_000374e7:\n  return *(undefined4 *)(param_1 + 0x10);" (statement_identifier "LAB_000374e7") (: ":") (return_statement "return *(undefined4 *)(param_1 + 0x10);" (return "return") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (; ";"))) (} "}")))

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

type_1 __regparm3 function_1(type_2 *s)

{
  char var_5;
  type_3 var_1;
  char *format;
  type_3 var_6;
  type_2 *psVar4;
  type_4 var_7;
  type_1 vVar6;
  
  do {
    var_1 = *(type_3 *)&s->sy_flags;
    var_6 = var_1 & 1;
    if ((var_1 & 1) == 0) {
      psVar4 = s;
      if ((var_1 & 4) == 0) goto LAB_00037512;
    }
    else {
      if ((type_4)s->bsym != var_2) {
        vVar6 = var_3(s);
        return vVar6;
      }
      s = (s->sy_value).X_op_symbol;
      var_1 = *(type_3 *)&s->sy_flags;
      if ((var_1 & 4) == 0) {
LAB_00037512:
        vVar6 = var_3(s);
        if (var_4 == 0) {
          return vVar6;
        }
        var_1 = *(type_3 *)&s->sy_flags;
      }
      var_6 = var_1 & 1;
      psVar4 = s;
      if ((var_1 & 1) != 0) {
        if ((type_4)s->bsym != var_2) break;
        psVar4 = (s->sy_value).X_op_symbol;
      }
    }
    if (((psVar4->sy_flags).field_0x1 & 2) == 0) break;
    s = (s->sy_value).X_add_symbol;
  } while( true );
  var_5 = (s->sy_value).field_0x10;
  if (var_5 == '\x02') goto LAB_000374e7;
  var_7 = (type_4)s->bsym;
  if (((var_1 & 4) == 0) || (var_5 != '\x03')) {
    if (var_6 != 0) {
      if (var_2 != var_7) goto LAB_0003754a;
      var_7 = (type_4)((s->sy_value).X_op_symbol)->bsym;
    }
LAB_000374c5:
    psVar4 = (type_2 *)var_7->id;
  }
  else {
    if (var_6 == 0) {
LAB_000375b1:
      if (((type_5 *)var_7->flags == var_8 + 0xc0) ||
         ((((type_5 *)var_7->flags)[0x15] & 0x10) != 0)) goto LAB_000374e7;
      goto LAB_000374c5;
    }
    if (var_2 == var_7) {
      var_7 = (type_4)((s->sy_value).X_op_symbol)->bsym;
      goto LAB_000375b1;
    }
    if (var_7 == (type_4)(var_8 + 0xc0)) goto LAB_000374e7;
LAB_0003754a:
    psVar4 = (s->sy_value).X_add_symbol;
  }
  format = (char *)var_9(0,"attempt to get value of unresolved symbol `%s\'",5);
  var_10(format,psVar4);
LAB_000374e7:
  return (s->sy_value).X_add_number;
}


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

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

undefined4 __regparm3 MASKED(byte *param_1)

{
  byte bVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  byte bVar4;
  byte *pbVar5;
  undefined *puVar6;
  
  do {
    bVar1 = *param_1;
    bVar4 = bVar1 & 1;
    if ((bVar1 & 1) == 0) {
      pbVar5 = param_1;
      if ((bVar1 & 4) == 0) goto LAB_00037512;
    }
    else {
      if (*(undefined **)(param_1 + 4) != DAT_00087fb4) {
        uVar3 = FUN_00036220(param_1);
        return uVar3;
      }
      param_1 = *(byte **)(param_1 + 0xc);
      bVar1 = *param_1;
      if ((bVar1 & 4) == 0) {
LAB_00037512:
        uVar3 = FUN_00036220(param_1);
        if (DAT_0008768c == 0) {
          return uVar3;
        }
        bVar1 = *param_1;
      }
      bVar4 = bVar1 & 1;
      pbVar5 = param_1;
      if ((bVar1 & 1) != 0) {
        if (*(undefined **)(param_1 + 4) != DAT_00087fb4) break;
        pbVar5 = *(byte **)(param_1 + 0xc);
      }
    }
    if ((pbVar5[1] & 2) == 0) break;
    param_1 = *(byte **)(param_1 + 8);
  } while( true );
  if (param_1[0x18] == 2) goto LAB_000374e7;
  puVar6 = *(undefined **)(param_1 + 4);
  if (((bVar1 & 4) == 0) || (param_1[0x18] != 3)) {
    if (bVar4 != 0) {
      if (DAT_00087fb4 != puVar6) goto LAB_0003754a;
      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
    }
LAB_000374c5:
    uVar3 = *(undefined4 *)(puVar6 + 4);
  }
  else {
    if (bVar4 == 0) {
LAB_000375b1:
      if ((*(undefined **)(puVar6 + 0x14) == PTR__bfd_std_section_0007dfb4 + 0xc0) ||
         (((*(undefined **)(puVar6 + 0x14))[0x15] & 0x10) != 0)) goto LAB_000374e7;
      goto LAB_000374c5;
    }
    if (DAT_00087fb4 == puVar6) {
      puVar6 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
      goto LAB_000375b1;
    }
    if (puVar6 == PTR__bfd_std_section_0007dfb4 + 0xc0) goto LAB_000374e7;
LAB_0003754a:
    uVar3 = *(undefined4 *)(param_1 + 8);
  }
  uVar2 = dcgettext(0,"attempt to get value of unresolved symbol `%s\'",5);
  FUN_00029550(uVar2,uVar3);
LAB_000374e7:
  return *(undefined4 *)(param_1 + 0x10);
}

