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

int tc_get_register(int frame)

{
  char cVar1;
  char *format;
  symbolS *s_00;
  size_t sVar2;
  int iVar3;
  uint uVar4;
  valueT vVar5;
  char *s;
  undefined4 uStack_14;
  
  uStack_14 = 0x4e389;
  cVar1 = *input_line_pointer;
  if (cVar1 == ' ') {
    cVar1 = input_line_pointer[1];
    input_line_pointer = input_line_pointer + 1;
  }
  uVar4 = 0x40000000;
  iVar3 = 0x1e;
  if (cVar1 == '$') {
    cVar1 = get_symbol_name(&s);
    if (*s == '$') {
      s_00 = md_undefined_symbol(s);
      sVar2 = strlen(s);
      s[sVar2] = cVar1;
      if (s_00 != (symbolS *)0x0) {
        vVar5 = S_GET_VALUE(s_00);
        iVar3 = (int)vVar5;
        uVar4 = 1 << ((byte)vVar5 & 0x1f);
        if (iVar3 < 0x20) goto LAB_0004e3d7;
      }
    }
    else {
      sVar2 = strlen(s);
      s[sVar2] = cVar1;
    }
  }
  format = (char *)dcgettext(0,"frame reg expected, using $%d.",5);
  as_warn(format,iVar3);
LAB_0004e3d7:
  alpha_gprmask = alpha_gprmask | uVar4;
  return iVar3;
}



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

int FUN_0004e380(void)

{
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  int iVar5;
  uint uVar6;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x4e389;
  cVar1 = *DAT_00081578;
  if (cVar1 == ' ') {
    cVar1 = DAT_00081578[1];
    DAT_00081578 = DAT_00081578 + 1;
  }
  uVar6 = 0x40000000;
  iVar5 = 0x1e;
  if (cVar1 == '$') {
    cVar1 = FUN_000279b0(local_20);
    if (*local_20[0] == '$') {
      iVar3 = FUN_0004a980();
      sVar4 = strlen(local_20[0]);
      local_20[0][sVar4] = cVar1;
      if (iVar3 != 0) {
        iVar5 = FUN_0003fad0(iVar3);
        uVar6 = 1 << ((byte)iVar5 & 0x1f);
        if (iVar5 < 0x20) goto LAB_0004e3d7;
      }
    }
    else {
      sVar4 = strlen(local_20[0]);
      local_20[0][sVar4] = cVar1;
    }
  }
  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);
  FUN_00031540(uVar2,iVar5);
LAB_0004e3d7:
  DAT_00081724 = DAT_00081724 | uVar6;
  return iVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016070
ADD EBX,0x29c77
SUB ESP,0x2c
LEA ECX,[EBX + 0x9578]
MOV EDX,dword ptr [ECX]
MOVZX EAX,byte ptr [EDX]
CMP AL,0x20
JNZ 0x0004e3aa
LEA EAX,[EDX + 0x1]
MOV dword ptr [ECX],EAX
MOVZX EAX,byte ptr [EDX + 0x1]
MOV EDI,0x40000000
MOV ESI,0x1e
CMP AL,0x24
JZ 0x0004e3f0
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe589c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141e0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00031540
ADD ESP,0x10
LEA EAX,[EBX + 0x9724]
OR dword ptr [EAX],EDI
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[ESP + 0x28]
PUSH EAX
CALL 0x000279b0
MOV EBP,dword ptr [ESP + 0x2c]
ADD ESP,0x10
CMP byte ptr [EBP],0x24
JNZ 0x0004e468
MOV byte ptr [ESP + 0xf],AL
MOV EAX,EBP
CALL 0x0004a980
MOV EBP,dword ptr [ESP + 0x1c]
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
PUSH EBP
CALL 0x00014480
ADD ESP,0x10
MOVZX ECX,byte ptr [ESP + 0xf]
MOV EDX,dword ptr [ESP + 0x8]
MOV byte ptr [EBP + EAX*0x1],CL
TEST EDX,EDX
JZ 0x0004e3b8
SUB ESP,0xc
MOV EDI,0x1
PUSH EDX
CALL 0x0003fad0
ADD ESP,0x10
MOV ECX,EAX
MOV ESI,EAX
SHL EDI,CL
CMP EAX,0x1f
JG 0x0004e3b8
JMP 0x0004e3d7
MOV byte ptr [ESP + 0x8],AL
SUB ESP,0xc
PUSH EBP
CALL 0x00014480
ADD ESP,0x10
MOVZX ECX,byte ptr [ESP + 0x8]
MOV byte ptr [EBP + EAX*0x1],CL
JMP 0x0004e3b8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0004e380(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}\n\n" comment (function_definition "int FUN_0004e380(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" primitive_type (function_declarator "FUN_0004e380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4e389;" (assignment_expression "uStack_14 = 0x4e389" identifier = number_literal) ;) (expression_statement "cVar1 = *DAT_00081578;" (assignment_expression "cVar1 = *DAT_00081578" identifier = (pointer_expression "*DAT_00081578" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" { (expression_statement "cVar1 = DAT_00081578[1];" (assignment_expression "cVar1 = DAT_00081578[1]" identifier = (subscript_expression "DAT_00081578[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00081578 = DAT_00081578 + 1;" (assignment_expression "DAT_00081578 = DAT_00081578 + 1" identifier = (binary_expression "DAT_00081578 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar6 = 0x40000000;" (assignment_expression "uVar6 = 0x40000000" identifier = number_literal) ;) (expression_statement "iVar5 = 0x1e;" (assignment_expression "iVar5 = 0x1e" identifier = number_literal) ;) (if_statement "if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" if (parenthesized_expression "(cVar1 == '$')" ( (binary_expression "cVar1 == '$'" identifier == (char_literal "'$'" ' character ')) )) (compound_statement "{\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" { (expression_statement "cVar1 = FUN_000279b0(local_20);" (assignment_expression "cVar1 = FUN_000279b0(local_20)" identifier = (call_expression "FUN_000279b0(local_20)" identifier (argument_list "(local_20)" ( identifier )))) ;) (if_statement "if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" if (parenthesized_expression "(*local_20[0] == '$')" ( (binary_expression "*local_20[0] == '$'" (pointer_expression "*local_20[0]" * (subscript_expression "local_20[0]" identifier [ number_literal ])) == (char_literal "'$'" ' character ')) )) (compound_statement "{\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }" { (expression_statement "iVar3 = FUN_0004a980();" (assignment_expression "iVar3 = FUN_0004a980()" identifier = (call_expression "FUN_0004a980()" identifier (argument_list "()" ( )))) ;) (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" identifier = (call_expression "strlen(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" identifier [ number_literal ]) [ identifier ]) = identifier) ;) (if_statement "if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" { (expression_statement "iVar5 = FUN_0003fad0(iVar3);" (assignment_expression "iVar5 = FUN_0003fad0(iVar3)" identifier = (call_expression "FUN_0003fad0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar6 = 1 << ((byte)iVar5 & 0x1f);" (assignment_expression "uVar6 = 1 << ((byte)iVar5 & 0x1f)" identifier = (binary_expression "1 << ((byte)iVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar5 & 0x1f)" ( (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (iVar5 < 0x20) goto LAB_0004e3d7;" if (parenthesized_expression "(iVar5 < 0x20)" ( (binary_expression "iVar5 < 0x20" identifier < number_literal) )) (goto_statement "goto LAB_0004e3d7;" goto statement_identifier ;)) })) }) (else_clause "else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" else (compound_statement "{\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" { (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" identifier = (call_expression "strlen(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" identifier [ number_literal ]) [ identifier ]) = identifier) ;) }))) })) (expression_statement "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);" (assignment_expression "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5)" identifier = (call_expression "dcgettext(0,"frame reg expected, using $%d.",5)" identifier (argument_list "(0,"frame reg expected, using $%d.",5)" ( number_literal , (string_literal ""frame reg expected, using $%d."" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar2,iVar5);" (call_expression "FUN_00031540(uVar2,iVar5)" identifier (argument_list "(uVar2,iVar5)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;" statement_identifier : (expression_statement "DAT_00081724 = DAT_00081724 | uVar6;" (assignment_expression "DAT_00081724 = DAT_00081724 | uVar6" identifier = (binary_expression "DAT_00081724 | uVar6" identifier | identifier)) ;)) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint tc_get_register(int frame)\n\n{\n  char cVar1;\n  char *format;\n  symbolS *s_00;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  valueT vVar5;\n  char *s;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  uVar4 = 0x40000000;\n  iVar3 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = get_symbol_name(&s);\n    if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }\n  }\n  format = (char *)dcgettext(0,"frame reg expected, using $%d.",5);\n  as_warn(format,iVar3);\nLAB_0004e3d7:\n  alpha_gprmask = alpha_gprmask | uVar4;\n  return iVar3;\n}\n\n" comment comment (function_definition "int tc_get_register(int frame)\n\n{\n  char cVar1;\n  char *format;\n  symbolS *s_00;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  valueT vVar5;\n  char *s;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  uVar4 = 0x40000000;\n  iVar3 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = get_symbol_name(&s);\n    if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }\n  }\n  format = (char *)dcgettext(0,"frame reg expected, using $%d.",5);\n  as_warn(format,iVar3);\nLAB_0004e3d7:\n  alpha_gprmask = alpha_gprmask | uVar4;\n  return iVar3;\n}" primitive_type (function_declarator "tc_get_register(int frame)" identifier (parameter_list "(int frame)" ( (parameter_declaration "int frame" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  char *format;\n  symbolS *s_00;\n  size_t sVar2;\n  int iVar3;\n  uint uVar4;\n  valueT vVar5;\n  char *s;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  uVar4 = 0x40000000;\n  iVar3 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = get_symbol_name(&s);\n    if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }\n  }\n  format = (char *)dcgettext(0,"frame reg expected, using $%d.",5);\n  as_warn(format,iVar3);\nLAB_0004e3d7:\n  alpha_gprmask = alpha_gprmask | uVar4;\n  return iVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "symbolS *s_00;" type_identifier (pointer_declarator "*s_00" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "valueT vVar5;" type_identifier identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4e389;" (assignment_expression "uStack_14 = 0x4e389" identifier = number_literal) ;) (expression_statement "cVar1 = *input_line_pointer;" (assignment_expression "cVar1 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "cVar1 = input_line_pointer[1];" (assignment_expression "cVar1 = input_line_pointer[1]" identifier = (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])) ;) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = 0x40000000;" (assignment_expression "uVar4 = 0x40000000" identifier = number_literal) ;) (expression_statement "iVar3 = 0x1e;" (assignment_expression "iVar3 = 0x1e" identifier = number_literal) ;) (if_statement "if (cVar1 == '$') {\n    cVar1 = get_symbol_name(&s);\n    if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }\n  }" if (parenthesized_expression "(cVar1 == '$')" ( (binary_expression "cVar1 == '$'" identifier == (char_literal "'$'" ' character ')) )) (compound_statement "{\n    cVar1 = get_symbol_name(&s);\n    if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }\n  }" { (expression_statement "cVar1 = get_symbol_name(&s);" (assignment_expression "cVar1 = get_symbol_name(&s)" identifier = (call_expression "get_symbol_name(&s)" identifier (argument_list "(&s)" ( (pointer_expression "&s" & identifier) )))) ;) (if_statement "if (*s == '$') {\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }" if (parenthesized_expression "(*s == '$')" ( (binary_expression "*s == '$'" (pointer_expression "*s" * identifier) == (char_literal "'$'" ' character ')) )) (compound_statement "{\n      s_00 = md_undefined_symbol(s);\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n      if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }\n    }" { (expression_statement "s_00 = md_undefined_symbol(s);" (assignment_expression "s_00 = md_undefined_symbol(s)" identifier = (call_expression "md_undefined_symbol(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "sVar2 = strlen(s);" (assignment_expression "sVar2 = strlen(s)" identifier = (call_expression "strlen(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "s[sVar2] = cVar1;" (assignment_expression "s[sVar2] = cVar1" (subscript_expression "s[sVar2]" identifier [ identifier ]) = identifier) ;) (if_statement "if (s_00 != (symbolS *)0x0) {\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }" if (parenthesized_expression "(s_00 != (symbolS *)0x0)" ( (binary_expression "s_00 != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        vVar5 = S_GET_VALUE(s_00);\n        iVar3 = (int)vVar5;\n        uVar4 = 1 << ((byte)vVar5 & 0x1f);\n        if (iVar3 < 0x20) goto LAB_0004e3d7;\n      }" { (expression_statement "vVar5 = S_GET_VALUE(s_00);" (assignment_expression "vVar5 = S_GET_VALUE(s_00)" identifier = (call_expression "S_GET_VALUE(s_00)" identifier (argument_list "(s_00)" ( identifier )))) ;) (expression_statement "iVar3 = (int)vVar5;" (assignment_expression "iVar3 = (int)vVar5" identifier = (cast_expression "(int)vVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 1 << ((byte)vVar5 & 0x1f);" (assignment_expression "uVar4 = 1 << ((byte)vVar5 & 0x1f)" identifier = (binary_expression "1 << ((byte)vVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)vVar5 & 0x1f)" ( (binary_expression "(byte)vVar5 & 0x1f" (cast_expression "(byte)vVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (iVar3 < 0x20) goto LAB_0004e3d7;" if (parenthesized_expression "(iVar3 < 0x20)" ( (binary_expression "iVar3 < 0x20" identifier < number_literal) )) (goto_statement "goto LAB_0004e3d7;" goto statement_identifier ;)) })) }) (else_clause "else {\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }" else (compound_statement "{\n      sVar2 = strlen(s);\n      s[sVar2] = cVar1;\n    }" { (expression_statement "sVar2 = strlen(s);" (assignment_expression "sVar2 = strlen(s)" identifier = (call_expression "strlen(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "s[sVar2] = cVar1;" (assignment_expression "s[sVar2] = cVar1" (subscript_expression "s[sVar2]" identifier [ identifier ]) = identifier) ;) }))) })) (expression_statement "format = (char *)dcgettext(0,"frame reg expected, using $%d.",5);" (assignment_expression "format = (char *)dcgettext(0,"frame reg expected, using $%d.",5)" identifier = (cast_expression "(char *)dcgettext(0,"frame reg expected, using $%d.",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"frame reg expected, using $%d.",5)" identifier (argument_list "(0,"frame reg expected, using $%d.",5)" ( number_literal , (string_literal ""frame reg expected, using $%d."" " string_content ") , number_literal ))))) ;) (expression_statement "as_warn(format,iVar3);" (call_expression "as_warn(format,iVar3)" identifier (argument_list "(format,iVar3)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0004e3d7:\n  alpha_gprmask = alpha_gprmask | uVar4;" statement_identifier : (expression_statement "alpha_gprmask = alpha_gprmask | uVar4;" (assignment_expression "alpha_gprmask = alpha_gprmask | uVar4" identifier = (binary_expression "alpha_gprmask | uVar4" identifier | identifier)) ;)) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int FUN_0004e380(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}\n\n" (function_definition "int FUN_0004e380(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" primitive_type (function_declarator "FUN_0004e380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4e389;" (assignment_expression "uStack_14 = 0x4e389" identifier = number_literal) ;) (expression_statement "cVar1 = *DAT_00081578;" (assignment_expression "cVar1 = *DAT_00081578" identifier = (pointer_expression "*DAT_00081578" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" { (expression_statement "cVar1 = DAT_00081578[1];" (assignment_expression "cVar1 = DAT_00081578[1]" identifier = (subscript_expression "DAT_00081578[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00081578 = DAT_00081578 + 1;" (assignment_expression "DAT_00081578 = DAT_00081578 + 1" identifier = (binary_expression "DAT_00081578 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar6 = 0x40000000;" (assignment_expression "uVar6 = 0x40000000" identifier = number_literal) ;) (expression_statement "iVar5 = 0x1e;" (assignment_expression "iVar5 = 0x1e" identifier = number_literal) ;) (if_statement "if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" if (parenthesized_expression "(cVar1 == '$')" ( (binary_expression "cVar1 == '$'" identifier == (char_literal "'$'" ' character ')) )) (compound_statement "{\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" { (expression_statement "cVar1 = FUN_000279b0(local_20);" (assignment_expression "cVar1 = FUN_000279b0(local_20)" identifier = (call_expression "FUN_000279b0(local_20)" identifier (argument_list "(local_20)" ( identifier )))) ;) (if_statement "if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" if (parenthesized_expression "(*local_20[0] == '$')" ( (binary_expression "*local_20[0] == '$'" (pointer_expression "*local_20[0]" * (subscript_expression "local_20[0]" identifier [ number_literal ])) == (char_literal "'$'" ' character ')) )) (compound_statement "{\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }" { (expression_statement "iVar3 = FUN_0004a980();" (assignment_expression "iVar3 = FUN_0004a980()" identifier = (call_expression "FUN_0004a980()" identifier (argument_list "()" ( )))) ;) (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" identifier = (call_expression "strlen(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" identifier [ number_literal ]) [ identifier ]) = identifier) ;) (if_statement "if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" { (expression_statement "iVar5 = FUN_0003fad0(iVar3);" (assignment_expression "iVar5 = FUN_0003fad0(iVar3)" identifier = (call_expression "FUN_0003fad0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar6 = 1 << ((byte)iVar5 & 0x1f);" (assignment_expression "uVar6 = 1 << ((byte)iVar5 & 0x1f)" identifier = (binary_expression "1 << ((byte)iVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar5 & 0x1f)" ( (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (iVar5 < 0x20) goto LAB_0004e3d7;" if (parenthesized_expression "(iVar5 < 0x20)" ( (binary_expression "iVar5 < 0x20" identifier < number_literal) )) (goto_statement "goto LAB_0004e3d7;" goto statement_identifier ;)) })) }) (else_clause "else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" else (compound_statement "{\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" { (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" identifier = (call_expression "strlen(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) )))) ;) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" identifier [ number_literal ]) [ identifier ]) = identifier) ;) }))) })) (expression_statement "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);" (assignment_expression "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5)" identifier = (call_expression "dcgettext(0,"frame reg expected, using $%d.",5)" identifier (argument_list "(0,"frame reg expected, using $%d.",5)" ( number_literal , (string_literal ""frame reg expected, using $%d."" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00031540(uVar2,iVar5);" (call_expression "FUN_00031540(uVar2,iVar5)" identifier (argument_list "(uVar2,iVar5)" ( identifier , identifier ))) ;) (labeled_statement "LAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;" statement_identifier : (expression_statement "DAT_00081724 = DAT_00081724 | uVar6;" (assignment_expression "DAT_00081724 = DAT_00081724 | uVar6" identifier = (binary_expression "DAT_00081724 | uVar6" identifier | identifier)) ;)) (return_statement "return iVar5;" return identifier ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (subscript_expression IDENT [ LIT ])) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression (subscript_expression IDENT [ LIT ]) [ IDENT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression (subscript_expression IDENT [ LIT ]) [ IDENT ]) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;)) (return_statement return IDENT ;) })))
(function_definition "int FUN_0004e380(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" (primitive_type "int") (function_declarator "FUN_0004e380(void)" (identifier "FUN_0004e380") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  int iVar5;\n  uint uVar6;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4e389;\n  cVar1 = *DAT_00081578;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }\n  uVar6 = 0x40000000;\n  iVar5 = 0x1e;\n  if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }\n  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);\n  FUN_00031540(uVar2,iVar5);\nLAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;\n  return iVar5;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "char *local_20 [3];" (primitive_type "char") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x4e389;" (assignment_expression "uStack_14 = 0x4e389" (identifier "uStack_14") (= "=") (number_literal "0x4e389")) (; ";")) (expression_statement "cVar1 = *DAT_00081578;" (assignment_expression "cVar1 = *DAT_00081578" (identifier "cVar1") (= "=") (pointer_expression "*DAT_00081578" (* "*") (identifier "DAT_00081578"))) (; ";")) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" (if "if") (parenthesized_expression "(cVar1 == ' ')" (( "(") (binary_expression "cVar1 == ' '" (identifier "cVar1") (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n    cVar1 = DAT_00081578[1];\n    DAT_00081578 = DAT_00081578 + 1;\n  }" ({ "{") (expression_statement "cVar1 = DAT_00081578[1];" (assignment_expression "cVar1 = DAT_00081578[1]" (identifier "cVar1") (= "=") (subscript_expression "DAT_00081578[1]" (identifier "DAT_00081578") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00081578 = DAT_00081578 + 1;" (assignment_expression "DAT_00081578 = DAT_00081578 + 1" (identifier "DAT_00081578") (= "=") (binary_expression "DAT_00081578 + 1" (identifier "DAT_00081578") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x40000000;" (assignment_expression "uVar6 = 0x40000000" (identifier "uVar6") (= "=") (number_literal "0x40000000")) (; ";")) (expression_statement "iVar5 = 0x1e;" (assignment_expression "iVar5 = 0x1e" (identifier "iVar5") (= "=") (number_literal "0x1e")) (; ";")) (if_statement "if (cVar1 == '$') {\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" (if "if") (parenthesized_expression "(cVar1 == '$')" (( "(") (binary_expression "cVar1 == '$'" (identifier "cVar1") (== "==") (char_literal "'$'" (' "'") (character "$") (' "'"))) () ")")) (compound_statement "{\n    cVar1 = FUN_000279b0(local_20);\n    if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }\n  }" ({ "{") (expression_statement "cVar1 = FUN_000279b0(local_20);" (assignment_expression "cVar1 = FUN_000279b0(local_20)" (identifier "cVar1") (= "=") (call_expression "FUN_000279b0(local_20)" (identifier "FUN_000279b0") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")")))) (; ";")) (if_statement "if (*local_20[0] == '$') {\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }\n    else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" (if "if") (parenthesized_expression "(*local_20[0] == '$')" (( "(") (binary_expression "*local_20[0] == '$'" (pointer_expression "*local_20[0]" (* "*") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (== "==") (char_literal "'$'" (' "'") (character "$") (' "'"))) () ")")) (compound_statement "{\n      iVar3 = FUN_0004a980();\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n      if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_0004a980();" (assignment_expression "iVar3 = FUN_0004a980()" (identifier "iVar3") (= "=") (call_expression "FUN_0004a980()" (identifier "FUN_0004a980") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" (identifier "sVar4") (= "=") (call_expression "strlen(local_20[0])" (identifier "strlen") (argument_list "(local_20[0])" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) ([ "[") (identifier "sVar4") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (if_statement "if (iVar3 != 0) {\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = FUN_0003fad0(iVar3);\n        uVar6 = 1 << ((byte)iVar5 & 0x1f);\n        if (iVar5 < 0x20) goto LAB_0004e3d7;\n      }" ({ "{") (expression_statement "iVar5 = FUN_0003fad0(iVar3);" (assignment_expression "iVar5 = FUN_0003fad0(iVar3)" (identifier "iVar5") (= "=") (call_expression "FUN_0003fad0(iVar3)" (identifier "FUN_0003fad0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "uVar6 = 1 << ((byte)iVar5 & 0x1f);" (assignment_expression "uVar6 = 1 << ((byte)iVar5 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "1 << ((byte)iVar5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar5 & 0x1f)" (( "(") (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar5")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (iVar5 < 0x20) goto LAB_0004e3d7;" (if "if") (parenthesized_expression "(iVar5 < 0x20)" (( "(") (binary_expression "iVar5 < 0x20" (identifier "iVar5") (< "<") (number_literal "0x20")) () ")")) (goto_statement "goto LAB_0004e3d7;" (goto "goto") (statement_identifier "LAB_0004e3d7") (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" (else "else") (compound_statement "{\n      sVar4 = strlen(local_20[0]);\n      local_20[0][sVar4] = cVar1;\n    }" ({ "{") (expression_statement "sVar4 = strlen(local_20[0]);" (assignment_expression "sVar4 = strlen(local_20[0])" (identifier "sVar4") (= "=") (call_expression "strlen(local_20[0])" (identifier "strlen") (argument_list "(local_20[0])" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (expression_statement "local_20[0][sVar4] = cVar1;" (assignment_expression "local_20[0][sVar4] = cVar1" (subscript_expression "local_20[0][sVar4]" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) ([ "[") (identifier "sVar4") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);" (assignment_expression "uVar2 = dcgettext(0,"frame reg expected, using $%d.",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"frame reg expected, using $%d.",5)" (identifier "dcgettext") (argument_list "(0,"frame reg expected, using $%d.",5)" (( "(") (number_literal "0") (, ",") (string_literal ""frame reg expected, using $%d."" (" """) (string_content "frame reg expected, using $%d.") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031540(uVar2,iVar5);" (call_expression "FUN_00031540(uVar2,iVar5)" (identifier "FUN_00031540") (argument_list "(uVar2,iVar5)" (( "(") (identifier "uVar2") (, ",") (identifier "iVar5") () ")"))) (; ";")) (labeled_statement "LAB_0004e3d7:\n  DAT_00081724 = DAT_00081724 | uVar6;" (statement_identifier "LAB_0004e3d7") (: ":") (expression_statement "DAT_00081724 = DAT_00081724 | uVar6;" (assignment_expression "DAT_00081724 = DAT_00081724 | uVar6" (identifier "DAT_00081724") (= "=") (binary_expression "DAT_00081724 | uVar6" (identifier "DAT_00081724") (| "|") (identifier "uVar6"))) (; ";"))) (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))

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

int function_1(int frame)

{
  char var_1;
  char *format;
  type_1 *var_6;
  size_t sVar2;
  int var_8;
  type_2 var_12;
  type_3 vVar5;
  char *s;
  type_4 uStack_14;
  
  uStack_14 = 0x4e389;
  var_1 = *var_2;
  if (var_1 == ' ') {
    var_1 = var_2[1];
    var_2 = var_2 + 1;
  }
  var_12 = 0x40000000;
  var_8 = 0x1e;
  if (var_1 == '$') {
    var_1 = var_3(&s);
    if (*s == '$') {
      var_6 = var_4(s);
      sVar2 = var_5(s);
      s[sVar2] = var_1;
      if (var_6 != (type_1 *)0x0) {
        vVar5 = var_7(var_6);
        var_8 = (int)vVar5;
        var_12 = 1 << ((type_5)vVar5 & 0x1f);
        if (var_8 < 0x20) goto LAB_0004e3d7;
      }
    }
    else {
      sVar2 = var_5(s);
      s[sVar2] = var_1;
    }
  }
  format = (char *)var_9(0,"frame reg expected, using $%d.",5);
  var_10(format,var_8);
LAB_0004e3d7:
  var_11 = var_11 | var_12;
  return var_8;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_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: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (character)))) consequence: (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (subscript_expression argument: (identifier) index: (number_literal)) index: (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 (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (subscript_expression argument: (identifier) index: (number_literal)) index: (identifier)) right: (identifier)))))))) (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) (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))))

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

int MASKED(void)

{
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  int iVar5;
  uint uVar6;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x4e389;
  cVar1 = *DAT_00081578;
  if (cVar1 == ' ') {
    cVar1 = DAT_00081578[1];
    DAT_00081578 = DAT_00081578 + 1;
  }
  uVar6 = 0x40000000;
  iVar5 = 0x1e;
  if (cVar1 == '$') {
    cVar1 = FUN_000279b0(local_20);
    if (*local_20[0] == '$') {
      iVar3 = FUN_0004a980();
      sVar4 = strlen(local_20[0]);
      local_20[0][sVar4] = cVar1;
      if (iVar3 != 0) {
        iVar5 = FUN_0003fad0(iVar3);
        uVar6 = 1 << ((byte)iVar5 & 0x1f);
        if (iVar5 < 0x20) goto LAB_0004e3d7;
      }
    }
    else {
      sVar4 = strlen(local_20[0]);
      local_20[0][sVar4] = cVar1;
    }
  }
  uVar2 = dcgettext(0,"frame reg expected, using $%d.",5);
  FUN_00031540(uVar2,iVar5);
LAB_0004e3d7:
  DAT_00081724 = DAT_00081724 | uVar6;
  return iVar5;
}

