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

void ecoff_directive_end(int ignore)

{
  fragS *frag;
  char c;
  symbolS *psVar1;
  char *pcVar2;
  addressT valu;
  char *name;
  
  name = (char *)0x22388;
  if (cur_file_ptr == (efdr_t *)0x0) {
    pcVar2 = ".end directive without a preceding .file directive";
  }
  else {
    if (cur_proc_ptr != (proc_t *)0x0) {
      c = get_symbol_name(&name);
      if (name != input_line_pointer) {
        psVar1 = symbol_find(name);
        frag = frag_now;
        if (psVar1 == (symbolS *)0x0) {
          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);
          as_warn(pcVar2);
        }
        else {
          valu = frag_now_fix();
          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);
          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);
        }
        cur_proc_ptr = (proc_t *)0x0;
        restore_line_pointer(c);
        demand_empty_rest_of_line();
        return;
      }
      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);
      as_warn(pcVar2);
      restore_line_pointer(c);
      demand_empty_rest_of_line();
      return;
    }
    pcVar2 = ".end directive without a preceding .ent directive";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  as_warn(pcVar2);
  demand_empty_rest_of_line();
  return;
}



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

void FUN_00022380(void)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  char *pcVar4;
  undefined8 uVar5;
  int local_10;
  
  local_10 = 0x22388;
  if (DAT_000809f0 == 0) {
    pcVar4 = ".end directive without a preceding .file directive";
  }
  else {
    if (DAT_000809ec != 0) {
      cVar1 = FUN_000279b0(&local_10);
      if (local_10 != DAT_00081578) {
        iVar2 = FUN_000400c0(local_10);
        uVar3 = DAT_000814a4;
        if (iVar2 == 0) {
          uVar3 = dcgettext(0,".end directive names unknown symbol",5);
          FUN_00031540(uVar3);
        }
        else {
          uVar5 = FUN_0002a520();
          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);
          FUN_00020930(uVar3,0,0,0,0);
        }
        DAT_000809ec = 0;
        FUN_00029a60((int)cVar1);
        FUN_00033c40();
        return;
      }
      uVar3 = dcgettext(0,".end directive has no name",5);
      FUN_00031540(uVar3);
      FUN_00029a60((int)cVar1);
      FUN_00033c40();
      return;
    }
    pcVar4 = ".end directive without a preceding .ent directive";
  }
  uVar3 = dcgettext(0,pcVar4,5);
  FUN_00031540(uVar3);
  FUN_00033c40();
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016070
ADD EBX,0x55c78
SUB ESP,0x10
MOV EDX,dword ptr [EBX + 0x89f0]
TEST EDX,EDX
JZ 0x000224e0
MOV EAX,dword ptr [EBX + 0x89ec]
TEST EAX,EAX
JZ 0x00022470
SUB ESP,0xc
LEA EAX,[ESP + 0x18]
PUSH EAX
CALL 0x000279b0
LEA EDX,[EBX + 0x9578]
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
CMP EAX,dword ptr [EDX]
JZ 0x000224a0
SUB ESP,0xc
PUSH EAX
CALL 0x000400c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00022450
LEA EAX,[EBX + 0x94a4]
MOV ESI,dword ptr [EAX]
CALL 0x0002a520
SUB ESP,0xc
PUSH ESI
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x937c]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xfffdfaa7]
PUSH EAX
CALL 0x0003e420
ADD ESP,0x14
MOV ECX,0x1
MOV EDX,0x8
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EAX
XOR EAX,EAX
CALL 0x00020930
ADD ESP,0x20
MOV dword ptr [EBX + 0x89ec],0x0
MOV EAX,EDI
SUB ESP,0xc
MOVSX EDI,AL
PUSH EDI
CALL 0x00029a60
CALL 0x00033c40
ADD ESP,0x10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe00ac]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141e0
MOV dword ptr [ESP],EAX
CALL 0x00031540
ADD ESP,0x10
JMP 0x00022428
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe0078]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141e0
MOV dword ptr [ESP],EAX
CALL 0x00031540
CALL 0x00033c40
ADD ESP,0x10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdfb45]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141e0
MOV dword ptr [ESP],EAX
CALL 0x00031540
MOV EAX,EDI
MOVSX EDI,AL
MOV dword ptr [ESP],EDI
CALL 0x00029a60
CALL 0x00033c40
ADD ESP,0x10
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe0044]
PUSH 0x5
JMP 0x0002247b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00022380(void)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}\n\n" comment (function_definition "void FUN_00022380(void)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" primitive_type (function_declarator "FUN_00022380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = 0x22388;" (assignment_expression "local_10 = 0x22388" identifier = number_literal) ;) (if_statement "if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" if (parenthesized_expression "(DAT_000809f0 == 0)" ( (binary_expression "DAT_000809f0 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = ".end directive without a preceding .file directive";\n  }" { (expression_statement "pcVar4 = ".end directive without a preceding .file directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .file directive"" identifier = (string_literal "".end directive without a preceding .file directive"" " string_content ")) ;) }) (else_clause "else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" else (compound_statement "{\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" { (if_statement "if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" if (parenthesized_expression "(DAT_000809ec != 0)" ( (binary_expression "DAT_000809ec != 0" identifier != number_literal) )) (compound_statement "{\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" { (expression_statement "cVar1 = FUN_000279b0(&local_10);" (assignment_expression "cVar1 = FUN_000279b0(&local_10)" identifier = (call_expression "FUN_000279b0(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) )))) ;) (if_statement "if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" if (parenthesized_expression "(local_10 != DAT_00081578)" ( (binary_expression "local_10 != DAT_00081578" identifier != identifier) )) (compound_statement "{\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" { (expression_statement "iVar2 = FUN_000400c0(local_10);" (assignment_expression "iVar2 = FUN_000400c0(local_10)" identifier = (call_expression "FUN_000400c0(local_10)" identifier (argument_list "(local_10)" ( identifier )))) ;) (expression_statement "uVar3 = DAT_000814a4;" (assignment_expression "uVar3 = DAT_000814a4" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }" { (expression_statement "uVar3 = dcgettext(0,".end directive names unknown symbol",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive names unknown symbol",5)" identifier = (call_expression "dcgettext(0,".end directive names unknown symbol",5)" identifier (argument_list "(0,".end directive names unknown symbol",5)" ( number_literal , (string_literal "".end directive names unknown symbol"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) }) (else_clause "else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" else (compound_statement "{\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" { (expression_statement "uVar5 = FUN_0002a520();" (assignment_expression "uVar5 = FUN_0002a520()" identifier = (call_expression "FUN_0002a520()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);" (assignment_expression "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" identifier = (call_expression "FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" identifier (argument_list "(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" ( (pointer_expression "&DAT_00057aa7" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "FUN_00020930(uVar3,0,0,0,0);" (call_expression "FUN_00020930(uVar3,0,0,0,0)" identifier (argument_list "(uVar3,0,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "DAT_000809ec = 0;" (assignment_expression "DAT_000809ec = 0" identifier = number_literal) ;) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = dcgettext(0,".end directive has no name",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive has no name",5)" identifier = (call_expression "dcgettext(0,".end directive has no name",5)" identifier (argument_list "(0,".end directive has no name",5)" ( number_literal , (string_literal "".end directive has no name"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar4 = ".end directive without a preceding .ent directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .ent directive"" identifier = (string_literal "".end directive without a preceding .ent directive"" " string_content ")) ;) }))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" identifier = (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid ecoff_directive_end(int ignore)\n\n{\n  fragS *frag;\n  char c;\n  symbolS *psVar1;\n  char *pcVar2;\n  addressT valu;\n  char *name;\n  \n  name = (char *)0x22388;\n  if (cur_file_ptr == (efdr_t *)0x0) {\n    pcVar2 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_warn(pcVar2);\n  demand_empty_rest_of_line();\n  return;\n}\n\n" comment comment (function_definition "void ecoff_directive_end(int ignore)\n\n{\n  fragS *frag;\n  char c;\n  symbolS *psVar1;\n  char *pcVar2;\n  addressT valu;\n  char *name;\n  \n  name = (char *)0x22388;\n  if (cur_file_ptr == (efdr_t *)0x0) {\n    pcVar2 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_warn(pcVar2);\n  demand_empty_rest_of_line();\n  return;\n}" primitive_type (function_declarator "ecoff_directive_end(int ignore)" identifier (parameter_list "(int ignore)" ( (parameter_declaration "int ignore" primitive_type identifier) ))) (compound_statement "{\n  fragS *frag;\n  char c;\n  symbolS *psVar1;\n  char *pcVar2;\n  addressT valu;\n  char *name;\n  \n  name = (char *)0x22388;\n  if (cur_file_ptr == (efdr_t *)0x0) {\n    pcVar2 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_warn(pcVar2);\n  demand_empty_rest_of_line();\n  return;\n}" { (declaration "fragS *frag;" type_identifier (pointer_declarator "*frag" * identifier) ;) (declaration "char c;" primitive_type identifier ;) (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "addressT valu;" type_identifier identifier ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (expression_statement "name = (char *)0x22388;" (assignment_expression "name = (char *)0x22388" identifier = (cast_expression "(char *)0x22388" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (cur_file_ptr == (efdr_t *)0x0) {\n    pcVar2 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }" if (parenthesized_expression "(cur_file_ptr == (efdr_t *)0x0)" ( (binary_expression "cur_file_ptr == (efdr_t *)0x0" identifier == (cast_expression "(efdr_t *)0x0" ( (type_descriptor "efdr_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar2 = ".end directive without a preceding .file directive";\n  }" { (expression_statement "pcVar2 = ".end directive without a preceding .file directive";" (assignment_expression "pcVar2 = ".end directive without a preceding .file directive"" identifier = (string_literal "".end directive without a preceding .file directive"" " string_content ")) ;) }) (else_clause "else {\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }" else (compound_statement "{\n    if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }\n    pcVar2 = ".end directive without a preceding .ent directive";\n  }" { (if_statement "if (cur_proc_ptr != (proc_t *)0x0) {\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }" if (parenthesized_expression "(cur_proc_ptr != (proc_t *)0x0)" ( (binary_expression "cur_proc_ptr != (proc_t *)0x0" identifier != (cast_expression "(proc_t *)0x0" ( (type_descriptor "proc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      c = get_symbol_name(&name);\n      if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,".end directive has no name",5);\n      as_warn(pcVar2);\n      restore_line_pointer(c);\n      demand_empty_rest_of_line();\n      return;\n    }" { (expression_statement "c = get_symbol_name(&name);" (assignment_expression "c = get_symbol_name(&name)" identifier = (call_expression "get_symbol_name(&name)" identifier (argument_list "(&name)" ( (pointer_expression "&name" & identifier) )))) ;) (if_statement "if (name != input_line_pointer) {\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }" if (parenthesized_expression "(name != input_line_pointer)" ( (binary_expression "name != input_line_pointer" identifier != identifier) )) (compound_statement "{\n        psVar1 = symbol_find(name);\n        frag = frag_now;\n        if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }\n        cur_proc_ptr = (proc_t *)0x0;\n        restore_line_pointer(c);\n        demand_empty_rest_of_line();\n        return;\n      }" { (expression_statement "psVar1 = symbol_find(name);" (assignment_expression "psVar1 = symbol_find(name)" identifier = (call_expression "symbol_find(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "frag = frag_now;" (assignment_expression "frag = frag_now" identifier = identifier) ;) (if_statement "if (psVar1 == (symbolS *)0x0) {\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }\n        else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }" if (parenthesized_expression "(psVar1 == (symbolS *)0x0)" ( (binary_expression "psVar1 == (symbolS *)0x0" identifier == (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);\n          as_warn(pcVar2);\n        }" { (expression_statement "pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,".end directive names unknown symbol",5)" identifier = (cast_expression "(char *)dcgettext(0,".end directive names unknown symbol",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,".end directive names unknown symbol",5)" identifier (argument_list "(0,".end directive names unknown symbol",5)" ( number_literal , (string_literal "".end directive names unknown symbol"" " string_content ") , number_literal ))))) ;) (expression_statement "as_warn(pcVar2);" (call_expression "as_warn(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) }) (else_clause "else {\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }" else (compound_statement "{\n          valu = frag_now_fix();\n          psVar1 = symbol_new("L0\x01",now_seg,valu,frag);\n          add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);\n        }" { (expression_statement "valu = frag_now_fix();" (assignment_expression "valu = frag_now_fix()" identifier = (call_expression "frag_now_fix()" identifier (argument_list "()" ( )))) ;) (expression_statement "psVar1 = symbol_new("L0\x01",now_seg,valu,frag);" (assignment_expression "psVar1 = symbol_new("L0\x01",now_seg,valu,frag)" identifier = (call_expression "symbol_new("L0\x01",now_seg,valu,frag)" identifier (argument_list "("L0\x01",now_seg,valu,frag)" ( (string_literal ""L0\x01"" " string_content escape_sequence ") , identifier , identifier , identifier )))) ;) (expression_statement "add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0);" (call_expression "add_ecoff_symbol((char *)0x0,st_End,sc_Text,psVar1,0,0,0)" identifier (argument_list "((char *)0x0,st_End,sc_Text,psVar1,0,0,0)" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , identifier , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "cur_proc_ptr = (proc_t *)0x0;" (assignment_expression "cur_proc_ptr = (proc_t *)0x0" identifier = (cast_expression "(proc_t *)0x0" ( (type_descriptor "proc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "restore_line_pointer(c);" (call_expression "restore_line_pointer(c)" identifier (argument_list "(c)" ( identifier ))) ;) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,".end directive has no name",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,".end directive has no name",5)" identifier = (cast_expression "(char *)dcgettext(0,".end directive has no name",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,".end directive has no name",5)" identifier (argument_list "(0,".end directive has no name",5)" ( number_literal , (string_literal "".end directive has no name"" " string_content ") , number_literal ))))) ;) (expression_statement "as_warn(pcVar2);" (call_expression "as_warn(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "restore_line_pointer(c);" (call_expression "restore_line_pointer(c)" identifier (argument_list "(c)" ( identifier ))) ;) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = ".end directive without a preceding .ent directive";" (assignment_expression "pcVar2 = ".end directive without a preceding .ent directive"" identifier = (string_literal "".end directive without a preceding .ent directive"" " string_content ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "as_warn(pcVar2);" (call_expression "as_warn(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00022380(void)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}\n\n" (function_definition "void FUN_00022380(void)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" primitive_type (function_declarator "FUN_00022380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = 0x22388;" (assignment_expression "local_10 = 0x22388" identifier = number_literal) ;) (if_statement "if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" if (parenthesized_expression "(DAT_000809f0 == 0)" ( (binary_expression "DAT_000809f0 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = ".end directive without a preceding .file directive";\n  }" { (expression_statement "pcVar4 = ".end directive without a preceding .file directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .file directive"" identifier = (string_literal "".end directive without a preceding .file directive"" " string_content ")) ;) }) (else_clause "else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" else (compound_statement "{\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" { (if_statement "if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" if (parenthesized_expression "(DAT_000809ec != 0)" ( (binary_expression "DAT_000809ec != 0" identifier != number_literal) )) (compound_statement "{\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" { (expression_statement "cVar1 = FUN_000279b0(&local_10);" (assignment_expression "cVar1 = FUN_000279b0(&local_10)" identifier = (call_expression "FUN_000279b0(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) )))) ;) (if_statement "if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" if (parenthesized_expression "(local_10 != DAT_00081578)" ( (binary_expression "local_10 != DAT_00081578" identifier != identifier) )) (compound_statement "{\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" { (expression_statement "iVar2 = FUN_000400c0(local_10);" (assignment_expression "iVar2 = FUN_000400c0(local_10)" identifier = (call_expression "FUN_000400c0(local_10)" identifier (argument_list "(local_10)" ( identifier )))) ;) (expression_statement "uVar3 = DAT_000814a4;" (assignment_expression "uVar3 = DAT_000814a4" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }" { (expression_statement "uVar3 = dcgettext(0,".end directive names unknown symbol",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive names unknown symbol",5)" identifier = (call_expression "dcgettext(0,".end directive names unknown symbol",5)" identifier (argument_list "(0,".end directive names unknown symbol",5)" ( number_literal , (string_literal "".end directive names unknown symbol"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) }) (else_clause "else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" else (compound_statement "{\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" { (expression_statement "uVar5 = FUN_0002a520();" (assignment_expression "uVar5 = FUN_0002a520()" identifier = (call_expression "FUN_0002a520()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);" (assignment_expression "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" identifier = (call_expression "FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" identifier (argument_list "(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" ( (pointer_expression "&DAT_00057aa7" & identifier) , identifier , identifier , identifier )))) ;) (expression_statement "FUN_00020930(uVar3,0,0,0,0);" (call_expression "FUN_00020930(uVar3,0,0,0,0)" identifier (argument_list "(uVar3,0,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "DAT_000809ec = 0;" (assignment_expression "DAT_000809ec = 0" identifier = number_literal) ;) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar3 = dcgettext(0,".end directive has no name",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive has no name",5)" identifier = (call_expression "dcgettext(0,".end directive has no name",5)" identifier (argument_list "(0,".end directive has no name",5)" ( number_literal , (string_literal "".end directive has no name"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar4 = ".end directive without a preceding .ent directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .ent directive"" identifier = (string_literal "".end directive without a preceding .ent directive"" " string_content ")) ;) }))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" identifier = (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00022380(void)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00022380(void)" (identifier "FUN_00022380") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  int local_10;\n  \n  local_10 = 0x22388;\n  if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00031540(uVar3);\n  FUN_00033c40();\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x22388;" (assignment_expression "local_10 = 0x22388" (identifier "local_10") (= "=") (number_literal "0x22388")) (; ";")) (if_statement "if (DAT_000809f0 == 0) {\n    pcVar4 = ".end directive without a preceding .file directive";\n  }\n  else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" (if "if") (parenthesized_expression "(DAT_000809f0 == 0)" (( "(") (binary_expression "DAT_000809f0 == 0" (identifier "DAT_000809f0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar4 = ".end directive without a preceding .file directive";\n  }" ({ "{") (expression_statement "pcVar4 = ".end directive without a preceding .file directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .file directive"" (identifier "pcVar4") (= "=") (string_literal "".end directive without a preceding .file directive"" (" """) (string_content ".end directive without a preceding .file directive") (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" (else "else") (compound_statement "{\n    if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }\n    pcVar4 = ".end directive without a preceding .ent directive";\n  }" ({ "{") (if_statement "if (DAT_000809ec != 0) {\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_000809ec != 0)" (( "(") (binary_expression "DAT_000809ec != 0" (identifier "DAT_000809ec") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      cVar1 = FUN_000279b0(&local_10);\n      if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }\n      uVar3 = dcgettext(0,".end directive has no name",5);\n      FUN_00031540(uVar3);\n      FUN_00029a60((int)cVar1);\n      FUN_00033c40();\n      return;\n    }" ({ "{") (expression_statement "cVar1 = FUN_000279b0(&local_10);" (assignment_expression "cVar1 = FUN_000279b0(&local_10)" (identifier "cVar1") (= "=") (call_expression "FUN_000279b0(&local_10)" (identifier "FUN_000279b0") (argument_list "(&local_10)" (( "(") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")")))) (; ";")) (if_statement "if (local_10 != DAT_00081578) {\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" (if "if") (parenthesized_expression "(local_10 != DAT_00081578)" (( "(") (binary_expression "local_10 != DAT_00081578" (identifier "local_10") (!= "!=") (identifier "DAT_00081578")) () ")")) (compound_statement "{\n        iVar2 = FUN_000400c0(local_10);\n        uVar3 = DAT_000814a4;\n        if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }\n        DAT_000809ec = 0;\n        FUN_00029a60((int)cVar1);\n        FUN_00033c40();\n        return;\n      }" ({ "{") (expression_statement "iVar2 = FUN_000400c0(local_10);" (assignment_expression "iVar2 = FUN_000400c0(local_10)" (identifier "iVar2") (= "=") (call_expression "FUN_000400c0(local_10)" (identifier "FUN_000400c0") (argument_list "(local_10)" (( "(") (identifier "local_10") () ")")))) (; ";")) (expression_statement "uVar3 = DAT_000814a4;" (assignment_expression "uVar3 = DAT_000814a4" (identifier "uVar3") (= "=") (identifier "DAT_000814a4")) (; ";")) (if_statement "if (iVar2 == 0) {\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }\n        else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = dcgettext(0,".end directive names unknown symbol",5);\n          FUN_00031540(uVar3);\n        }" ({ "{") (expression_statement "uVar3 = dcgettext(0,".end directive names unknown symbol",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive names unknown symbol",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,".end directive names unknown symbol",5)" (identifier "dcgettext") (argument_list "(0,".end directive names unknown symbol",5)" (( "(") (number_literal "0") (, ",") (string_literal "".end directive names unknown symbol"" (" """) (string_content ".end directive names unknown symbol") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" (identifier "FUN_00031540") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" (else "else") (compound_statement "{\n          uVar5 = FUN_0002a520();\n          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);\n          FUN_00020930(uVar3,0,0,0,0);\n        }" ({ "{") (expression_statement "uVar5 = FUN_0002a520();" (assignment_expression "uVar5 = FUN_0002a520()" (identifier "uVar5") (= "=") (call_expression "FUN_0002a520()" (identifier "FUN_0002a520") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);" (assignment_expression "uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" (identifier "uVar3") (= "=") (call_expression "FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" (identifier "FUN_0003e420") (argument_list "(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3)" (( "(") (pointer_expression "&DAT_00057aa7" (& "&") (identifier "DAT_00057aa7")) (, ",") (identifier "DAT_0008137c") (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "FUN_00020930(uVar3,0,0,0,0);" (call_expression "FUN_00020930(uVar3,0,0,0,0)" (identifier "FUN_00020930") (argument_list "(uVar3,0,0,0,0)" (( "(") (identifier "uVar3") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (expression_statement "DAT_000809ec = 0;" (assignment_expression "DAT_000809ec = 0" (identifier "DAT_000809ec") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" (identifier "FUN_00029a60") (argument_list "((int)cVar1)" (( "(") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")"))) (; ";")) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" (identifier "FUN_00033c40") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = dcgettext(0,".end directive has no name",5);" (assignment_expression "uVar3 = dcgettext(0,".end directive has no name",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,".end directive has no name",5)" (identifier "dcgettext") (argument_list "(0,".end directive has no name",5)" (( "(") (number_literal "0") (, ",") (string_literal "".end directive has no name"" (" """) (string_content ".end directive has no name") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" (identifier "FUN_00031540") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00029a60((int)cVar1);" (call_expression "FUN_00029a60((int)cVar1)" (identifier "FUN_00029a60") (argument_list "((int)cVar1)" (( "(") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")"))) (; ";")) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" (identifier "FUN_00033c40") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar4 = ".end directive without a preceding .ent directive";" (assignment_expression "pcVar4 = ".end directive without a preceding .ent directive"" (identifier "pcVar4") (= "=") (string_literal "".end directive without a preceding .ent directive"" (" """) (string_content ".end directive without a preceding .ent directive") (" """))) (; ";")) (} "}")))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,pcVar4,5)" (identifier "dcgettext") (argument_list "(0,pcVar4,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar4") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031540(uVar3);" (call_expression "FUN_00031540(uVar3)" (identifier "FUN_00031540") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00033c40();" (call_expression "FUN_00033c40()" (identifier "FUN_00033c40") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int ignore)

{
  type_1 *frag;
  char c;
  type_2 *var_7;
  char *pcVar2;
  type_3 valu;
  char *var_4;
  
  var_4 = (char *)0x22388;
  if (var_1 == (type_4 *)0x0) {
    pcVar2 = ".end directive without a preceding .file directive";
  }
  else {
    if (var_2 != (type_5 *)0x0) {
      c = var_3(&var_4);
      if (var_4 != var_5) {
        var_7 = var_6(var_4);
        frag = frag_now;
        if (var_7 == (type_2 *)0x0) {
          pcVar2 = (char *)var_8(0,".end directive names unknown symbol",5);
          var_9(pcVar2);
        }
        else {
          valu = var_10();
          var_7 = var_11("L0\x01",now_seg,valu,frag);
          var_12((char *)0x0,st_End,sc_Text,var_7,0,0,0);
        }
        var_2 = (type_5 *)0x0;
        var_13(c);
        var_14();
        return;
      }
      pcVar2 = (char *)var_8(0,".end directive has no name",5);
      var_9(pcVar2);
      var_13(c);
      var_14();
      return;
    }
    pcVar2 = ".end directive without a preceding .ent directive";
  }
  pcVar2 = (char *)var_8(0,pcVar2,5);
  var_9(pcVar2);
  var_14();
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

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

void MASKED(void)

{
  char cVar1;
  int iVar2;
  undefined4 uVar3;
  char *pcVar4;
  undefined8 uVar5;
  int local_10;
  
  local_10 = 0x22388;
  if (DAT_000809f0 == 0) {
    pcVar4 = ".end directive without a preceding .file directive";
  }
  else {
    if (DAT_000809ec != 0) {
      cVar1 = FUN_000279b0(&local_10);
      if (local_10 != DAT_00081578) {
        iVar2 = FUN_000400c0(local_10);
        uVar3 = DAT_000814a4;
        if (iVar2 == 0) {
          uVar3 = dcgettext(0,".end directive names unknown symbol",5);
          FUN_00031540(uVar3);
        }
        else {
          uVar5 = FUN_0002a520();
          uVar3 = FUN_0003e420(&DAT_00057aa7,DAT_0008137c,uVar5,uVar3);
          FUN_00020930(uVar3,0,0,0,0);
        }
        DAT_000809ec = 0;
        FUN_00029a60((int)cVar1);
        FUN_00033c40();
        return;
      }
      uVar3 = dcgettext(0,".end directive has no name",5);
      FUN_00031540(uVar3);
      FUN_00029a60((int)cVar1);
      FUN_00033c40();
      return;
    }
    pcVar4 = ".end directive without a preceding .ent directive";
  }
  uVar3 = dcgettext(0,pcVar4,5);
  FUN_00031540(uVar3);
  FUN_00033c40();
  return;
}

