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

uint cfi_parse_reg(void)

{
  byte *pbVar1;
  byte bVar2;
  char c;
  char *pcVar3;
  char *name;
  expressionS exp;
  
  exp._16_2_ = 0xd798;
  exp.X_md = 1;
  bVar2 = *input_line_pointer;
  if (bVar2 == 0x20) {
    bVar2 = input_line_pointer[1];
    input_line_pointer = input_line_pointer + 1;
  }
  if (((lex_type[bVar2] & 2) == 0) &&
     ((bVar2 != 0x25 ||
      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),
      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {
    expr(0,&exp,expr_evaluate);
  }
  else {
    c = get_symbol_name(&name);
    exp._16_1_ = 2;
    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);
    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;
    restore_line_pointer(c);
  }
  if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)) {
    return (uint)exp.X_add_number;
  }
  pcVar3 = (char *)dcgettext(0,"bad register expression",5);
  as_bad(pcVar3);
  return 0;
}



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

int FUN_0001d790(void)

{
  byte *pbVar1;
  byte *pbVar2;
  byte bVar3;
  char cVar4;
  undefined4 uVar5;
  undefined4 local_24;
  undefined1 local_20 [8];
  int local_18;
  int local_14;
  undefined4 local_10;
  
  local_10 = 0x1d798;
  bVar3 = *DAT_00077838;
  if (bVar3 == 0x20) {
    bVar3 = DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&
     ((bVar3 != 0x25 ||
      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,
      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {
    FUN_00022de0(0,local_20,0);
  }
  else {
    cVar4 = FUN_000221e0(&local_24);
    local_10 = CONCAT31(local_10._1_3_,2);
    local_18 = FUN_00048120(local_24);
    local_14 = local_18 >> 0x1f;
    FUN_00024290((int)cVar4);
  }
  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {
    return local_18;
  }
  uVar5 = dcgettext(0,"bad register expression",5);
  FUN_0002bcf0(uVar5);
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016040
ADD EBX,0x50868
SUB ESP,0x20
LEA ECX,[EBX + 0x9838]
MOV EDX,dword ptr [ECX]
MOVZX EAX,byte ptr [EDX]
CMP AL,0x20
JNZ 0x0001d7bb
LEA ESI,[EDX + 0x1]
MOV dword ptr [ECX],ESI
MOVZX EAX,byte ptr [EDX + 0x1]
MOV EDX,ESI
LEA ESI,[EBX + 0x3e0]
MOVZX EDI,AL
TEST byte ptr [ESI + EDI*0x1],0x2
JNZ 0x0001d7e5
CMP AL,0x25
JNZ 0x0001d870
LEA EAX,[EDX + 0x1]
MOV dword ptr [ECX],EAX
MOVZX EAX,byte ptr [EDX + 0x1]
TEST byte ptr [ESI + EAX*0x1],0x2
JZ 0x0001d870
SUB ESP,0xc
LEA EAX,[ESP + 0x14]
PUSH EAX
CALL 0x000221e0
MOV byte ptr [ESP + 0x2c],0x2
MOV ESI,EAX
POP EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00048120
MOV dword ptr [ESP + 0x24],EAX
SAR EAX,0x1f
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,ESI
MOVSX ESI,AL
MOV dword ptr [ESP],ESI
CALL 0x00024290
ADD ESP,0x10
MOVZX EAX,byte ptr [ESP + 0x1c]
CMP AL,0x2
JZ 0x0001d82b
CMP AL,0x5
JNZ 0x0001d840
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JS 0x0001d840
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe3814]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bcf0
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
PUSH 0x0
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH 0x0
CALL 0x00022de0
ADD ESP,0x10
JMP 0x0001d81e
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0001d790(void)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}\n\n" comment (function_definition "int FUN_0001d790(void)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" primitive_type (function_declarator "FUN_0001d790(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x1d798;" (assignment_expression "local_10 = 0x1d798" identifier = number_literal) ;) (expression_statement "bVar3 = *DAT_00077838;" (assignment_expression "bVar3 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (if_statement "if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(bVar3 == 0x20)" ( (binary_expression "bVar3 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "bVar3 = DAT_00077838[1];" (assignment_expression "bVar3 = DAT_00077838[1]" identifier = (subscript_expression "DAT_00077838[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (if_statement "if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" if (parenthesized_expression "((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))))" ( (binary_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" (parenthesized_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0)" ( (binary_expression "((&DAT_0006e3e0)[bVar3] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[bVar3] & 2)" ( (binary_expression "(&DAT_0006e3e0)[bVar3] & 2" (subscript_expression "(&DAT_0006e3e0)[bVar3]" (parenthesized_expression "(&DAT_0006e3e0)" ( (pointer_expression "&DAT_0006e3e0" & identifier) )) [ identifier ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" ( (parenthesized_expression "(bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))" ( (binary_expression "bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" (binary_expression "bVar3 != 0x25" identifier != number_literal) || (parenthesized_expression "(pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" ( (comma_expression "pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar1 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) , (comma_expression "pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar2 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) , (comma_expression "DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "DAT_00077838 = pbVar1" identifier = identifier) , (binary_expression "((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[*pbVar2] & 2)" ( (binary_expression "(&DAT_0006e3e0)[*pbVar2] & 2" (subscript_expression "(&DAT_0006e3e0)[*pbVar2]" (parenthesized_expression "(&DAT_0006e3e0)" ( (pointer_expression "&DAT_0006e3e0" & identifier) )) [ (pointer_expression "*pbVar2" * identifier) ]) & number_literal) )) == number_literal)))) ))) )) ))) )) (compound_statement "{\n    FUN_00022de0(0,local_20,0);\n  }" { (expression_statement "FUN_00022de0(0,local_20,0);" (call_expression "FUN_00022de0(0,local_20,0)" identifier (argument_list "(0,local_20,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" else (compound_statement "{\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" { (expression_statement "cVar4 = FUN_000221e0(&local_24);" (assignment_expression "cVar4 = FUN_000221e0(&local_24)" identifier = (call_expression "FUN_000221e0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "local_10 = CONCAT31(local_10._1_3_,2);" (assignment_expression "local_10 = CONCAT31(local_10._1_3_,2)" identifier = (call_expression "CONCAT31(local_10._1_3_,2)" identifier (argument_list "(local_10._1_3_,2)" ( (field_expression "local_10._1_3_" identifier . field_identifier) , number_literal )))) ;) (expression_statement "local_18 = FUN_00048120(local_24);" (assignment_expression "local_18 = FUN_00048120(local_24)" identifier = (call_expression "FUN_00048120(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (expression_statement "local_14 = local_18 >> 0x1f;" (assignment_expression "local_14 = local_18 >> 0x1f" identifier = (binary_expression "local_18 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "FUN_00024290((int)cVar4);" (call_expression "FUN_00024290((int)cVar4)" identifier (argument_list "((int)cVar4)" ( (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))) (if_statement "if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }" if (parenthesized_expression "((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18))" ( (binary_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)" (parenthesized_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05'))" ( (binary_expression "((char)local_10 == '\x02') || ((char)local_10 == '\x05')" (parenthesized_expression "((char)local_10 == '\x02')" ( (binary_expression "(char)local_10 == '\x02'" (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) || (parenthesized_expression "((char)local_10 == '\x05')" ( (binary_expression "(char)local_10 == '\x05'" (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(-1 < local_18)" ( (binary_expression "-1 < local_18" number_literal < identifier) ))) )) (compound_statement "{\n    return local_18;\n  }" { (return_statement "return local_18;" return identifier ;) })) (expression_statement "uVar5 = dcgettext(0,"bad register expression",5);" (assignment_expression "uVar5 = dcgettext(0,"bad register expression",5)" identifier = (call_expression "dcgettext(0,"bad register expression",5)" identifier (argument_list "(0,"bad register expression",5)" ( number_literal , (string_literal ""bad register expression"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nuint cfi_parse_reg(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char c;\n  char *pcVar3;\n  char *name;\n  expressionS exp;\n  \n  exp._16_2_ = 0xd798;\n  exp.X_md = 1;\n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {\n    expr(0,&exp,expr_evaluate);\n  }\n  else {\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\n  }\n  if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)) {\n    return (uint)exp.X_add_number;\n  }\n  pcVar3 = (char *)dcgettext(0,"bad register expression",5);\n  as_bad(pcVar3);\n  return 0;\n}\n\n" comment comment (function_definition "uint cfi_parse_reg(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char c;\n  char *pcVar3;\n  char *name;\n  expressionS exp;\n  \n  exp._16_2_ = 0xd798;\n  exp.X_md = 1;\n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {\n    expr(0,&exp,expr_evaluate);\n  }\n  else {\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\n  }\n  if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)) {\n    return (uint)exp.X_add_number;\n  }\n  pcVar3 = (char *)dcgettext(0,"bad register expression",5);\n  as_bad(pcVar3);\n  return 0;\n}" type_identifier (function_declarator "cfi_parse_reg(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  char c;\n  char *pcVar3;\n  char *name;\n  expressionS exp;\n  \n  exp._16_2_ = 0xd798;\n  exp.X_md = 1;\n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  if (((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {\n    expr(0,&exp,expr_evaluate);\n  }\n  else {\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\n  }\n  if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)) {\n    return (uint)exp.X_add_number;\n  }\n  pcVar3 = (char *)dcgettext(0,"bad register expression",5);\n  as_bad(pcVar3);\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char c;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "expressionS exp;" type_identifier identifier ;) (expression_statement "exp._16_2_ = 0xd798;" (assignment_expression "exp._16_2_ = 0xd798" (field_expression "exp._16_2_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_md = 1;" (assignment_expression "exp.X_md = 1" (field_expression "exp.X_md" identifier . field_identifier) = number_literal) ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "bVar2 = input_line_pointer[1];" (assignment_expression "bVar2 = 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)) ;) })) (if_statement "if (((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {\n    expr(0,&exp,expr_evaluate);\n  }\n  else {\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\n  }" if (parenthesized_expression "(((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0))))" ( (binary_expression "((lex_type[bVar2] & 2) == 0) &&\n     ((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))" (parenthesized_expression "((lex_type[bVar2] & 2) == 0)" ( (binary_expression "(lex_type[bVar2] & 2) == 0" (parenthesized_expression "(lex_type[bVar2] & 2)" ( (binary_expression "lex_type[bVar2] & 2" (subscript_expression "lex_type[bVar2]" identifier [ identifier ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)))" ( (parenthesized_expression "(bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0))" ( (binary_expression "bVar2 != 0x25 ||\n      (pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)" (binary_expression "bVar2 != 0x25" identifier != number_literal) || (parenthesized_expression "(pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0)" ( (comma_expression "pcVar3 = input_line_pointer + 1, pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0" (assignment_expression "pcVar3 = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) , (comma_expression "pbVar1 = (byte *)(input_line_pointer + 1),\n      input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0" (assignment_expression "pbVar1 = (byte *)(input_line_pointer + 1)" identifier = (cast_expression "(byte *)(input_line_pointer + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_line_pointer + 1)" ( (binary_expression "input_line_pointer + 1" identifier + number_literal) )))) , (comma_expression "input_line_pointer = pcVar3, (lex_type[*pbVar1] & 2) == 0" (assignment_expression "input_line_pointer = pcVar3" identifier = identifier) , (binary_expression "(lex_type[*pbVar1] & 2) == 0" (parenthesized_expression "(lex_type[*pbVar1] & 2)" ( (binary_expression "lex_type[*pbVar1] & 2" (subscript_expression "lex_type[*pbVar1]" identifier [ (pointer_expression "*pbVar1" * identifier) ]) & number_literal) )) == number_literal)))) ))) )) ))) )) (compound_statement "{\n    expr(0,&exp,expr_evaluate);\n  }" { (expression_statement "expr(0,&exp,expr_evaluate);" (call_expression "expr(0,&exp,expr_evaluate)" identifier (argument_list "(0,&exp,expr_evaluate)" ( number_literal , (pointer_expression "&exp" & identifier) , identifier ))) ;) }) (else_clause "else {\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\n  }" else (compound_statement "{\n    c = get_symbol_name(&name);\n    exp._16_1_ = 2;\n    exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);\n    exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;\n    restore_line_pointer(c);\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) )))) ;) (expression_statement "exp._16_1_ = 2;" (assignment_expression "exp._16_1_ = 2" (field_expression "exp._16_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name);" (assignment_expression "exp.X_add_number._0_4_ = sparc_regname_to_dw2regnum(name)" (field_expression "exp.X_add_number._0_4_" (field_expression "exp.X_add_number" identifier . field_identifier) . field_identifier) = (call_expression "sparc_regname_to_dw2regnum(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f;" (assignment_expression "exp.X_add_number._4_4_ = (int)(uint)exp.X_add_number >> 0x1f" (field_expression "exp.X_add_number._4_4_" (field_expression "exp.X_add_number" identifier . field_identifier) . field_identifier) = (binary_expression "(int)(uint)exp.X_add_number >> 0x1f" (cast_expression "(int)(uint)exp.X_add_number" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)exp.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "exp.X_add_number" identifier . field_identifier))) >> number_literal)) ;) (expression_statement "restore_line_pointer(c);" (call_expression "restore_line_pointer(c)" identifier (argument_list "(c)" ( identifier ))) ;) }))) (if_statement "if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)) {\n    return (uint)exp.X_add_number;\n  }" if (parenthesized_expression "(((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number))" ( (binary_expression "((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(uint)exp.X_add_number)" (parenthesized_expression "((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05'))" ( (binary_expression "(exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')" (parenthesized_expression "(exp._16_1_ == '\x02')" ( (binary_expression "exp._16_1_ == '\x02'" (field_expression "exp._16_1_" identifier . field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) || (parenthesized_expression "(exp._16_1_ == '\x05')" ( (binary_expression "exp._16_1_ == '\x05'" (field_expression "exp._16_1_" identifier . field_identifier) == (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(-1 < (int)(uint)exp.X_add_number)" ( (binary_expression "-1 < (int)(uint)exp.X_add_number" number_literal < (cast_expression "(int)(uint)exp.X_add_number" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)exp.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "exp.X_add_number" identifier . field_identifier)))) ))) )) (compound_statement "{\n    return (uint)exp.X_add_number;\n  }" { (return_statement "return (uint)exp.X_add_number;" return (cast_expression "(uint)exp.X_add_number" ( (type_descriptor "uint" type_identifier) ) (field_expression "exp.X_add_number" identifier . field_identifier)) ;) })) (expression_statement "pcVar3 = (char *)dcgettext(0,"bad register expression",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"bad register expression",5)" identifier = (cast_expression "(char *)dcgettext(0,"bad register expression",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"bad register expression",5)" identifier (argument_list "(0,"bad register expression",5)" ( number_literal , (string_literal ""bad register expression"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar3);" (call_expression "as_bad(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int FUN_0001d790(void)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}\n\n" (function_definition "int FUN_0001d790(void)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" primitive_type (function_declarator "FUN_0001d790(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined1 local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x1d798;" (assignment_expression "local_10 = 0x1d798" identifier = number_literal) ;) (expression_statement "bVar3 = *DAT_00077838;" (assignment_expression "bVar3 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (if_statement "if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(bVar3 == 0x20)" ( (binary_expression "bVar3 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "bVar3 = DAT_00077838[1];" (assignment_expression "bVar3 = DAT_00077838[1]" identifier = (subscript_expression "DAT_00077838[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (if_statement "if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" if (parenthesized_expression "((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))))" ( (binary_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" (parenthesized_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0)" ( (binary_expression "((&DAT_0006e3e0)[bVar3] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[bVar3] & 2)" ( (binary_expression "(&DAT_0006e3e0)[bVar3] & 2" (subscript_expression "(&DAT_0006e3e0)[bVar3]" (parenthesized_expression "(&DAT_0006e3e0)" ( (pointer_expression "&DAT_0006e3e0" & identifier) )) [ identifier ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" ( (parenthesized_expression "(bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))" ( (binary_expression "bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" (binary_expression "bVar3 != 0x25" identifier != number_literal) || (parenthesized_expression "(pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" ( (comma_expression "pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar1 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) , (comma_expression "pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar2 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) , (comma_expression "DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "DAT_00077838 = pbVar1" identifier = identifier) , (binary_expression "((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[*pbVar2] & 2)" ( (binary_expression "(&DAT_0006e3e0)[*pbVar2] & 2" (subscript_expression "(&DAT_0006e3e0)[*pbVar2]" (parenthesized_expression "(&DAT_0006e3e0)" ( (pointer_expression "&DAT_0006e3e0" & identifier) )) [ (pointer_expression "*pbVar2" * identifier) ]) & number_literal) )) == number_literal)))) ))) )) ))) )) (compound_statement "{\n    FUN_00022de0(0,local_20,0);\n  }" { (expression_statement "FUN_00022de0(0,local_20,0);" (call_expression "FUN_00022de0(0,local_20,0)" identifier (argument_list "(0,local_20,0)" ( number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" else (compound_statement "{\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" { (expression_statement "cVar4 = FUN_000221e0(&local_24);" (assignment_expression "cVar4 = FUN_000221e0(&local_24)" identifier = (call_expression "FUN_000221e0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "local_10 = CONCAT31(local_10._1_3_,2);" (assignment_expression "local_10 = CONCAT31(local_10._1_3_,2)" identifier = (call_expression "CONCAT31(local_10._1_3_,2)" identifier (argument_list "(local_10._1_3_,2)" ( (field_expression "local_10._1_3_" identifier . field_identifier) , number_literal )))) ;) (expression_statement "local_18 = FUN_00048120(local_24);" (assignment_expression "local_18 = FUN_00048120(local_24)" identifier = (call_expression "FUN_00048120(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (expression_statement "local_14 = local_18 >> 0x1f;" (assignment_expression "local_14 = local_18 >> 0x1f" identifier = (binary_expression "local_18 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "FUN_00024290((int)cVar4);" (call_expression "FUN_00024290((int)cVar4)" identifier (argument_list "((int)cVar4)" ( (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) }))) (if_statement "if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }" if (parenthesized_expression "((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18))" ( (binary_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)" (parenthesized_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05'))" ( (binary_expression "((char)local_10 == '\x02') || ((char)local_10 == '\x05')" (parenthesized_expression "((char)local_10 == '\x02')" ( (binary_expression "(char)local_10 == '\x02'" (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) || (parenthesized_expression "((char)local_10 == '\x05')" ( (binary_expression "(char)local_10 == '\x05'" (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x05'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(-1 < local_18)" ( (binary_expression "-1 < local_18" number_literal < identifier) ))) )) (compound_statement "{\n    return local_18;\n  }" { (return_statement "return local_18;" return identifier ;) })) (expression_statement "uVar5 = dcgettext(0,"bad register expression",5);" (assignment_expression "uVar5 = dcgettext(0,"bad register expression",5)" identifier = (call_expression "dcgettext(0,"bad register expression",5)" identifier (argument_list "(0,"bad register expression",5)" ( number_literal , (string_literal ""bad register expression"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) & LIT) )) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) & LIT) )) == LIT)))) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (return_statement return 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 ))) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_0001d790(void)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_0001d790(void)" (identifier "FUN_0001d790") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte bVar3;\n  char cVar4;\n  undefined4 uVar5;\n  undefined4 local_24;\n  undefined1 local_20 [8];\n  int local_18;\n  int local_14;\n  undefined4 local_10;\n  \n  local_10 = 0x1d798;\n  bVar3 = *DAT_00077838;\n  if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }\n  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }\n  uVar5 = dcgettext(0,"bad register expression",5);\n  FUN_0002bcf0(uVar5);\n  return 0;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined1 local_20 [8];" (type_identifier "undefined1") (array_declarator "local_20 [8]" (identifier "local_20") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x1d798;" (assignment_expression "local_10 = 0x1d798" (identifier "local_10") (= "=") (number_literal "0x1d798")) (; ";")) (expression_statement "bVar3 = *DAT_00077838;" (assignment_expression "bVar3 = *DAT_00077838" (identifier "bVar3") (= "=") (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838"))) (; ";")) (if_statement "if (bVar3 == 0x20) {\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" (if "if") (parenthesized_expression "(bVar3 == 0x20)" (( "(") (binary_expression "bVar3 == 0x20" (identifier "bVar3") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    bVar3 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" ({ "{") (expression_statement "bVar3 = DAT_00077838[1];" (assignment_expression "bVar3 = DAT_00077838[1]" (identifier "bVar3") (= "=") (subscript_expression "DAT_00077838[1]" (identifier "DAT_00077838") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" (identifier "DAT_00077838") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {\n    FUN_00022de0(0,local_20,0);\n  }\n  else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" (if "if") (parenthesized_expression "((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))))" (( "(") (binary_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0) &&\n     ((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" (parenthesized_expression "(((&DAT_0006e3e0)[bVar3] & 2) == 0)" (( "(") (binary_expression "((&DAT_0006e3e0)[bVar3] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[bVar3] & 2)" (( "(") (binary_expression "(&DAT_0006e3e0)[bVar3] & 2" (subscript_expression "(&DAT_0006e3e0)[bVar3]" (parenthesized_expression "(&DAT_0006e3e0)" (( "(") (pointer_expression "&DAT_0006e3e0" (& "&") (identifier "DAT_0006e3e0")) () ")")) ([ "[") (identifier "bVar3") (] "]")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))" (( "(") (parenthesized_expression "(bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0))" (( "(") (binary_expression "bVar3 != 0x25 ||\n      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" (binary_expression "bVar3 != 0x25" (identifier "bVar3") (!= "!=") (number_literal "0x25")) (|| "||") (parenthesized_expression "(pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)" (( "(") (comma_expression "pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar1 = DAT_00077838 + 1" (identifier "pbVar1") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (, ",") (comma_expression "pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "pbVar2 = DAT_00077838 + 1" (identifier "pbVar2") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (, ",") (comma_expression "DAT_00077838 = pbVar1,\n      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (assignment_expression "DAT_00077838 = pbVar1" (identifier "DAT_00077838") (= "=") (identifier "pbVar1")) (, ",") (binary_expression "((&DAT_0006e3e0)[*pbVar2] & 2) == 0" (parenthesized_expression "((&DAT_0006e3e0)[*pbVar2] & 2)" (( "(") (binary_expression "(&DAT_0006e3e0)[*pbVar2] & 2" (subscript_expression "(&DAT_0006e3e0)[*pbVar2]" (parenthesized_expression "(&DAT_0006e3e0)" (( "(") (pointer_expression "&DAT_0006e3e0" (& "&") (identifier "DAT_0006e3e0")) () ")")) ([ "[") (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (] "]")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    FUN_00022de0(0,local_20,0);\n  }" ({ "{") (expression_statement "FUN_00022de0(0,local_20,0);" (call_expression "FUN_00022de0(0,local_20,0)" (identifier "FUN_00022de0") (argument_list "(0,local_20,0)" (( "(") (number_literal "0") (, ",") (identifier "local_20") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" (else "else") (compound_statement "{\n    cVar4 = FUN_000221e0(&local_24);\n    local_10 = CONCAT31(local_10._1_3_,2);\n    local_18 = FUN_00048120(local_24);\n    local_14 = local_18 >> 0x1f;\n    FUN_00024290((int)cVar4);\n  }" ({ "{") (expression_statement "cVar4 = FUN_000221e0(&local_24);" (assignment_expression "cVar4 = FUN_000221e0(&local_24)" (identifier "cVar4") (= "=") (call_expression "FUN_000221e0(&local_24)" (identifier "FUN_000221e0") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "local_10 = CONCAT31(local_10._1_3_,2);" (assignment_expression "local_10 = CONCAT31(local_10._1_3_,2)" (identifier "local_10") (= "=") (call_expression "CONCAT31(local_10._1_3_,2)" (identifier "CONCAT31") (argument_list "(local_10._1_3_,2)" (( "(") (field_expression "local_10._1_3_" (identifier "local_10") (. ".") (field_identifier "_1_3_")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "local_18 = FUN_00048120(local_24);" (assignment_expression "local_18 = FUN_00048120(local_24)" (identifier "local_18") (= "=") (call_expression "FUN_00048120(local_24)" (identifier "FUN_00048120") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";")) (expression_statement "local_14 = local_18 >> 0x1f;" (assignment_expression "local_14 = local_18 >> 0x1f" (identifier "local_14") (= "=") (binary_expression "local_18 >> 0x1f" (identifier "local_18") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "FUN_00024290((int)cVar4);" (call_expression "FUN_00024290((int)cVar4)" (identifier "FUN_00024290") (argument_list "((int)cVar4)" (( "(") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4")) () ")"))) (; ";")) (} "}")))) (if_statement "if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {\n    return local_18;\n  }" (if "if") (parenthesized_expression "((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18))" (( "(") (binary_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)" (parenthesized_expression "(((char)local_10 == '\x02') || ((char)local_10 == '\x05'))" (( "(") (binary_expression "((char)local_10 == '\x02') || ((char)local_10 == '\x05')" (parenthesized_expression "((char)local_10 == '\x02')" (( "(") (binary_expression "(char)local_10 == '\x02'" (cast_expression "(char)local_10" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_10")) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((char)local_10 == '\x05')" (( "(") (binary_expression "(char)local_10 == '\x05'" (cast_expression "(char)local_10" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_10")) (== "==") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < local_18)" (( "(") (binary_expression "-1 < local_18" (number_literal "-1") (< "<") (identifier "local_18")) () ")"))) () ")")) (compound_statement "{\n    return local_18;\n  }" ({ "{") (return_statement "return local_18;" (return "return") (identifier "local_18") (; ";")) (} "}"))) (expression_statement "uVar5 = dcgettext(0,"bad register expression",5);" (assignment_expression "uVar5 = dcgettext(0,"bad register expression",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"bad register expression",5)" (identifier "dcgettext") (argument_list "(0,"bad register expression",5)" (( "(") (number_literal "0") (, ",") (string_literal ""bad register expression"" (" """) (string_content "bad register expression") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" (identifier "FUN_0002bcf0") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 function_1(void)

{
  type_2 *pbVar1;
  type_2 var_1;
  char c;
  char *pcVar3;
  char *name;
  type_3 exp;
  
  exp._16_2_ = 0xd798;
  exp.X_md = 1;
  var_1 = *var_2;
  if (var_1 == 0x20) {
    var_1 = var_2[1];
    var_2 = var_2 + 1;
  }
  if (((lex_type[var_1] & 2) == 0) &&
     ((var_1 != 0x25 ||
      (pcVar3 = var_2 + 1, pbVar1 = (type_2 *)(var_2 + 1),
      var_2 = pcVar3, (lex_type[*pbVar1] & 2) == 0)))) {
    var_3(0,&exp,expr_evaluate);
  }
  else {
    c = var_4(&name);
    exp._16_1_ = 2;
    exp.X_add_number._0_4_ = var_5(name);
    exp.X_add_number._4_4_ = (int)(type_1)exp.X_add_number >> 0x1f;
    var_6(c);
  }
  if (((exp._16_1_ == '\x02') || (exp._16_1_ == '\x05')) && (-1 < (int)(type_1)exp.X_add_number)) {
    return (type_1)exp.X_add_number;
  }
  pcVar3 = (char *)var_7(0,"bad register expression",5);
  var_8(pcVar3);
  return 0;
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (number_literal))) 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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (number_literal))) right: (number_literal))))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (number_literal))))) (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: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (return_statement (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)))) (return_statement (number_literal)))))

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

int MASKED(void)

{
  byte *pbVar1;
  byte *pbVar2;
  byte bVar3;
  char cVar4;
  undefined4 uVar5;
  undefined4 local_24;
  undefined1 local_20 [8];
  int local_18;
  int local_14;
  undefined4 local_10;
  
  local_10 = 0x1d798;
  bVar3 = *DAT_00077838;
  if (bVar3 == 0x20) {
    bVar3 = DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  if ((((&DAT_0006e3e0)[bVar3] & 2) == 0) &&
     ((bVar3 != 0x25 ||
      (pbVar1 = DAT_00077838 + 1, pbVar2 = DAT_00077838 + 1, DAT_00077838 = pbVar1,
      ((&DAT_0006e3e0)[*pbVar2] & 2) == 0)))) {
    FUN_00022de0(0,local_20,0);
  }
  else {
    cVar4 = FUN_000221e0(&local_24);
    local_10 = CONCAT31(local_10._1_3_,2);
    local_18 = FUN_00048120(local_24);
    local_14 = local_18 >> 0x1f;
    FUN_00024290((int)cVar4);
  }
  if ((((char)local_10 == '\x02') || ((char)local_10 == '\x05')) && (-1 < local_18)) {
    return local_18;
  }
  uVar5 = dcgettext(0,"bad register expression",5);
  FUN_0002bcf0(uVar5);
  return 0;
}

