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

symbolS * make_expr_symbol(expressionS *expressionP)

{
  char cVar1;
  segT segment;
  symbolS *s;
  expr_symbol_line *peVar2;
  char *pcVar3;
  expressionS zero;
  
  zero._16_2_ = 0x1368;
  zero.X_md = 2;
  cVar1 = expressionP->field_0x10;
  if (cVar1 == '\x03') {
    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {
      return expressionP->X_add_symbol;
    }
  }
  else {
    if (cVar1 == '\x06') {
      if (-*(int *)((int)&expressionP->X_add_number + 4) <
          (int)(uint)((int)expressionP->X_add_number != 0)) {
        pcVar3 = "bignum invalid";
      }
      else {
        pcVar3 = "floating point number invalid";
      }
      pcVar3 = (char *)dcgettext(0,pcVar3,5);
      as_bad(pcVar3);
      expressionP = &zero;
      zero.X_add_number._0_4_ = 0;
      zero.X_add_number._4_4_ = 0;
      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;
      clean_up_expression(expressionP);
      cVar1 = zero._16_1_;
    }
    if (cVar1 == '\x02') {
      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);
      goto LAB_0002140c;
    }
    segment = reg_section;
    if (cVar1 == '\x05') goto LAB_0002140c;
  }
  segment = expr_section;
LAB_0002140c:
  s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);
  symbol_set_value_expression(s,expressionP);
  if (expressionP->field_0x10 == '\x02') {
    resolve_symbol_value(s);
  }
  peVar2 = (expr_symbol_line *)xmalloc(0x10);
  peVar2->sym = s;
  pcVar3 = as_where(&peVar2->line);
  peVar2->file = pcVar3;
  peVar2->next = expr_symbol_lines;
  expr_symbol_lines = peVar2;
  return s;
}



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

undefined4 FUN_00021360(undefined4 *param_1)

{
  char cVar1;
  char *pcVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  undefined4 local_20 [2];
  undefined4 local_18;
  undefined4 local_14;
  uint local_10;
  
  local_10 = 0x21368;
  cVar1 = *(char *)(param_1 + 4);
  if (cVar1 == '\x03') {
    if (param_1[3] == 0 && param_1[2] == 0) {
      return *param_1;
    }
  }
  else {
    if (cVar1 == '\x06') {
      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {
        pcVar2 = "bignum invalid";
      }
      else {
        pcVar2 = "floating point number invalid";
      }
      uVar4 = dcgettext(0,pcVar2,5);
      FUN_0002bcf0(uVar4);
      param_1 = local_20;
      local_18 = 0;
      local_14 = 0;
      local_10 = local_10 & 0xfffffc00 | 2;
      FUN_00020a40();
      cVar1 = (char)local_10;
    }
    if (cVar1 == '\x02') {
      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;
      goto LAB_0002140c;
    }
    puVar3 = DAT_000776d0;
    if (cVar1 == '\x05') goto LAB_0002140c;
  }
  puVar3 = DAT_00077620;
LAB_0002140c:
  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);
  FUN_0003b070(uVar4,param_1);
  if (*(char *)(param_1 + 4) == '\x02') {
    FUN_00038a20(uVar4);
  }
  puVar5 = (undefined4 *)xmalloc(0x10);
  puVar5[1] = uVar4;
  uVar6 = FUN_00026480(puVar5 + 3);
  puVar5[2] = uVar6;
  *puVar5 = DAT_000770a4;
  DAT_000770a4 = puVar5;
  return uVar4;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016040
ADD EBX,0x4cc98
SUB ESP,0x20
MOV ESI,dword ptr [ESP + 0x30]
MOVZX EAX,byte ptr [ESI + 0x10]
CMP AL,0x3
JZ 0x00021478
CMP AL,0x6
JZ 0x000213a0
CMP AL,0x2
JZ 0x00021401
CMP AL,0x5
JNZ 0x00021480
LEA EAX,[EBX + 0x96d0]
MOV EAX,dword ptr [EAX]
JMP 0x0002140c
XOR EAX,EAX
CMP EAX,dword ptr [ESI + 0x8]
SBB EAX,dword ptr [ESI + 0xc]
JGE 0x00021490
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe3b15]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bcf0
ADD ESP,0x10
MOVZX EAX,word ptr [ESP + 0x1c]
LEA ESI,[ESP + 0xc]
AND AX,0xfc00
MOV dword ptr [ESP + 0x14],0x0
OR EAX,0x2
MOV dword ptr [ESP + 0x18],0x0
MOV word ptr [ESP + 0x1c],AX
MOV EAX,ESI
CALL 0x00020a40
MOVZX EAX,byte ptr [ESP + 0x1c]
CMP AL,0x2
JNZ 0x00021389
MOV EAX,dword ptr [EBX + 0xffffffa8]
ADD EAX,0x180
SUB ESP,0xc
PUSH dword ptr [EBX + 0xffffff6c]
PUSH 0x0
PUSH 0x0
PUSH EAX
LEA EAX,[EBX + 0xfffe3b42]
PUSH EAX
CALL 0x000385b0
ADD ESP,0x18
PUSH ESI
MOV EDI,EAX
PUSH EAX
CALL 0x0003b070
ADD ESP,0x10
CMP byte ptr [ESI + 0x10],0x2
JZ 0x000214b0
SUB ESP,0xc
PUSH 0x10
CALL 0x000147d0
MOV dword ptr [EAX + 0x4],EDI
MOV ESI,EAX
LEA EAX,[EAX + 0xc]
MOV dword ptr [ESP],EAX
CALL 0x00026480
ADD ESP,0x10
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [EBX + 0x90a4]
MOV dword ptr [EBX + 0x90a4],ESI
MOV dword ptr [ESI],EAX
ADD ESP,0x20
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [ESI + 0xc]
OR EAX,dword ptr [ESI + 0x8]
JZ 0x000214a0
LEA EAX,[EBX + 0x9620]
MOV EAX,dword ptr [EAX]
JMP 0x0002140c
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe3b24]
PUSH 0x5
JMP 0x000213b9
MOV EDI,dword ptr [ESI]
ADD ESP,0x20
POP EBX
POP ESI
MOV EAX,EDI
POP EDI
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00038a20
ADD ESP,0x10
JMP 0x0002143b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00021360(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}\n\n" comment (function_definition "undefined4 FUN_00021360(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00021360(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 local_20 [2];" type_identifier (array_declarator "local_20 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "uint local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x21368;" (assignment_expression "local_10 = 0x21368" identifier = number_literal) ;) (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" identifier = (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" if (parenthesized_expression "(cVar1 == '\x03')" ( (binary_expression "cVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }" { (if_statement "if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }" if (parenthesized_expression "(param_1[3] == 0 && param_1[2] == 0)" ( (binary_expression "param_1[3] == 0 && param_1[2] == 0" (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) && (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal)) )) (compound_statement "{\n      return *param_1;\n    }" { (return_statement "return *param_1;" return (pointer_expression "*param_1" * identifier) ;) })) }) (else_clause "else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" else (compound_statement "{\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" { (if_statement "if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" if (parenthesized_expression "(cVar1 == '\x06')" ( (binary_expression "cVar1 == '\x06'" identifier == (char_literal "'\x06'" ' escape_sequence ')) )) (compound_statement "{\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" { (if_statement "if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }" if (parenthesized_expression "((int)-param_1[3] < (int)(uint)(param_1[2] != 0))" ( (binary_expression "(int)-param_1[3] < (int)(uint)(param_1[2] != 0)" (cast_expression "(int)-param_1[3]" ( (type_descriptor "int" primitive_type) ) (unary_expression "-param_1[3]" - (subscript_expression "param_1[3]" identifier [ number_literal ]))) < (cast_expression "(int)(uint)(param_1[2] != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(param_1[2] != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))))) )) (compound_statement "{\n        pcVar2 = "bignum invalid";\n      }" { (expression_statement "pcVar2 = "bignum invalid";" (assignment_expression "pcVar2 = "bignum invalid"" identifier = (string_literal ""bignum invalid"" " string_content ")) ;) }) (else_clause "else {\n        pcVar2 = "floating point number invalid";\n      }" else (compound_statement "{\n        pcVar2 = "floating point number invalid";\n      }" { (expression_statement "pcVar2 = "floating point number invalid";" (assignment_expression "pcVar2 = "floating point number invalid"" identifier = (string_literal ""floating point number invalid"" " string_content ")) ;) }))) (expression_statement "uVar4 = dcgettext(0,pcVar2,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar2,5)" identifier = (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar4);" (call_expression "FUN_0002bcf0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "param_1 = local_20;" (assignment_expression "param_1 = local_20" identifier = identifier) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "local_10 = local_10 & 0xfffffc00 | 2;" (assignment_expression "local_10 = local_10 & 0xfffffc00 | 2" identifier = (binary_expression "local_10 & 0xfffffc00 | 2" (binary_expression "local_10 & 0xfffffc00" identifier & number_literal) | number_literal)) ;) (expression_statement "FUN_00020a40();" (call_expression "FUN_00020a40()" identifier (argument_list "()" ( ))) ;) (expression_statement "cVar1 = (char)local_10;" (assignment_expression "cVar1 = (char)local_10" identifier = (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier)) ;) })) (if_statement "if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" if (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" { (expression_statement "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;" (assignment_expression "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180" identifier = (binary_expression "PTR__bfd_std_section_0006dfa8 + 0x180" identifier + number_literal)) ;) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;) })) (expression_statement "puVar3 = DAT_000776d0;" (assignment_expression "puVar3 = DAT_000776d0" identifier = identifier) ;) (if_statement "if (cVar1 == '\x05') goto LAB_0002140c;" if (parenthesized_expression "(cVar1 == '\x05')" ( (binary_expression "cVar1 == '\x05'" identifier == (char_literal "'\x05'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;)) }))) (expression_statement "puVar3 = DAT_00077620;" (assignment_expression "puVar3 = DAT_00077620" identifier = identifier) ;) (labeled_statement "LAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" statement_identifier : (expression_statement "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" (assignment_expression "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" identifier = (call_expression "FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" identifier (argument_list "(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" ( (pointer_expression "&DAT_00051b42" & identifier) , identifier , number_literal , number_literal , identifier )))) ;)) (expression_statement "FUN_0003b070(uVar4,param_1);" (call_expression "FUN_0003b070(uVar4,param_1)" identifier (argument_list "(uVar4,param_1)" ( identifier , identifier ))) ;) (if_statement "if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 4) == '\x02')" ( (binary_expression "*(char *)(param_1 + 4) == '\x02'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00038a20(uVar4);\n  }" { (expression_statement "FUN_00038a20(uVar4);" (call_expression "FUN_00038a20(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "puVar5 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar5 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "puVar5[1] = uVar4;" (assignment_expression "puVar5[1] = uVar4" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = FUN_00026480(puVar5 + 3);" (assignment_expression "uVar6 = FUN_00026480(puVar5 + 3)" identifier = (call_expression "FUN_00026480(puVar5 + 3)" identifier (argument_list "(puVar5 + 3)" ( (binary_expression "puVar5 + 3" identifier + number_literal) )))) ;) (expression_statement "puVar5[2] = uVar6;" (assignment_expression "puVar5[2] = uVar6" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = DAT_000770a4;" (assignment_expression "*puVar5 = DAT_000770a4" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "DAT_000770a4 = puVar5;" (assignment_expression "DAT_000770a4 = puVar5" identifier = identifier) ;) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nsymbolS * make_expr_symbol(expressionS *expressionP)\n\n{\n  char cVar1;\n  segT segment;\n  symbolS *s;\n  expr_symbol_line *peVar2;\n  char *pcVar3;\n  expressionS zero;\n  \n  zero._16_2_ = 0x1368;\n  zero.X_md = 2;\n  cVar1 = expressionP->field_0x10;\n  if (cVar1 == '\x03') {\n    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  segment = expr_section;\nLAB_0002140c:\n  s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);\n  symbol_set_value_expression(s,expressionP);\n  if (expressionP->field_0x10 == '\x02') {\n    resolve_symbol_value(s);\n  }\n  peVar2 = (expr_symbol_line *)xmalloc(0x10);\n  peVar2->sym = s;\n  pcVar3 = as_where(&peVar2->line);\n  peVar2->file = pcVar3;\n  peVar2->next = expr_symbol_lines;\n  expr_symbol_lines = peVar2;\n  return s;\n}\n\n" comment (function_definition "symbolS * make_expr_symbol(expressionS *expressionP)\n\n{\n  char cVar1;\n  segT segment;\n  symbolS *s;\n  expr_symbol_line *peVar2;\n  char *pcVar3;\n  expressionS zero;\n  \n  zero._16_2_ = 0x1368;\n  zero.X_md = 2;\n  cVar1 = expressionP->field_0x10;\n  if (cVar1 == '\x03') {\n    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  segment = expr_section;\nLAB_0002140c:\n  s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);\n  symbol_set_value_expression(s,expressionP);\n  if (expressionP->field_0x10 == '\x02') {\n    resolve_symbol_value(s);\n  }\n  peVar2 = (expr_symbol_line *)xmalloc(0x10);\n  peVar2->sym = s;\n  pcVar3 = as_where(&peVar2->line);\n  peVar2->file = pcVar3;\n  peVar2->next = expr_symbol_lines;\n  expr_symbol_lines = peVar2;\n  return s;\n}" type_identifier (pointer_declarator "* make_expr_symbol(expressionS *expressionP)" * (function_declarator "make_expr_symbol(expressionS *expressionP)" identifier (parameter_list "(expressionS *expressionP)" ( (parameter_declaration "expressionS *expressionP" type_identifier (pointer_declarator "*expressionP" * identifier)) )))) (compound_statement "{\n  char cVar1;\n  segT segment;\n  symbolS *s;\n  expr_symbol_line *peVar2;\n  char *pcVar3;\n  expressionS zero;\n  \n  zero._16_2_ = 0x1368;\n  zero.X_md = 2;\n  cVar1 = expressionP->field_0x10;\n  if (cVar1 == '\x03') {\n    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  segment = expr_section;\nLAB_0002140c:\n  s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);\n  symbol_set_value_expression(s,expressionP);\n  if (expressionP->field_0x10 == '\x02') {\n    resolve_symbol_value(s);\n  }\n  peVar2 = (expr_symbol_line *)xmalloc(0x10);\n  peVar2->sym = s;\n  pcVar3 = as_where(&peVar2->line);\n  peVar2->file = pcVar3;\n  peVar2->next = expr_symbol_lines;\n  expr_symbol_lines = peVar2;\n  return s;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "segT segment;" type_identifier identifier ;) (declaration "symbolS *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "expr_symbol_line *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "expressionS zero;" type_identifier identifier ;) (expression_statement "zero._16_2_ = 0x1368;" (assignment_expression "zero._16_2_ = 0x1368" (field_expression "zero._16_2_" identifier . field_identifier) = number_literal) ;) (expression_statement "zero.X_md = 2;" (assignment_expression "zero.X_md = 2" (field_expression "zero.X_md" identifier . field_identifier) = number_literal) ;) (expression_statement "cVar1 = expressionP->field_0x10;" (assignment_expression "cVar1 = expressionP->field_0x10" identifier = (field_expression "expressionP->field_0x10" identifier -> field_identifier)) ;) (if_statement "if (cVar1 == '\x03') {\n    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" if (parenthesized_expression "(cVar1 == '\x03')" ( (binary_expression "cVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }\n  }" { (if_statement "if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {\n      return expressionP->X_add_symbol;\n    }" if (parenthesized_expression "(*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0)" ( (binary_expression "*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0" (binary_expression "*(int *)((int)&expressionP->X_add_number + 4) == 0" (pointer_expression "*(int *)((int)&expressionP->X_add_number + 4)" * (cast_expression "(int *)((int)&expressionP->X_add_number + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&expressionP->X_add_number + 4)" ( (binary_expression "(int)&expressionP->X_add_number + 4" (cast_expression "(int)&expressionP->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&expressionP->X_add_number" & (field_expression "expressionP->X_add_number" identifier -> field_identifier))) + number_literal) )))) == number_literal) && (binary_expression "(int)expressionP->X_add_number == 0" (cast_expression "(int)expressionP->X_add_number" ( (type_descriptor "int" primitive_type) ) (field_expression "expressionP->X_add_number" identifier -> field_identifier)) == number_literal)) )) (compound_statement "{\n      return expressionP->X_add_symbol;\n    }" { (return_statement "return expressionP->X_add_symbol;" return (field_expression "expressionP->X_add_symbol" identifier -> field_identifier) ;) })) }) (else_clause "else {\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" else (compound_statement "{\n    if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }\n    if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }\n    segment = reg_section;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" { (if_statement "if (cVar1 == '\x06') {\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }" if (parenthesized_expression "(cVar1 == '\x06')" ( (binary_expression "cVar1 == '\x06'" identifier == (char_literal "'\x06'" ' escape_sequence ')) )) (compound_statement "{\n      if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }\n      pcVar3 = (char *)dcgettext(0,pcVar3,5);\n      as_bad(pcVar3);\n      expressionP = &zero;\n      zero.X_add_number._0_4_ = 0;\n      zero.X_add_number._4_4_ = 0;\n      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;\n      clean_up_expression(expressionP);\n      cVar1 = zero._16_1_;\n    }" { (if_statement "if (-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)) {\n        pcVar3 = "bignum invalid";\n      }\n      else {\n        pcVar3 = "floating point number invalid";\n      }" if (parenthesized_expression "(-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0))" ( (binary_expression "-*(int *)((int)&expressionP->X_add_number + 4) <\n          (int)(uint)((int)expressionP->X_add_number != 0)" (unary_expression "-*(int *)((int)&expressionP->X_add_number + 4)" - (pointer_expression "*(int *)((int)&expressionP->X_add_number + 4)" * (cast_expression "(int *)((int)&expressionP->X_add_number + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&expressionP->X_add_number + 4)" ( (binary_expression "(int)&expressionP->X_add_number + 4" (cast_expression "(int)&expressionP->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&expressionP->X_add_number" & (field_expression "expressionP->X_add_number" identifier -> field_identifier))) + number_literal) ))))) < (cast_expression "(int)(uint)((int)expressionP->X_add_number != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((int)expressionP->X_add_number != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)expressionP->X_add_number != 0)" ( (binary_expression "(int)expressionP->X_add_number != 0" (cast_expression "(int)expressionP->X_add_number" ( (type_descriptor "int" primitive_type) ) (field_expression "expressionP->X_add_number" identifier -> field_identifier)) != number_literal) ))))) )) (compound_statement "{\n        pcVar3 = "bignum invalid";\n      }" { (expression_statement "pcVar3 = "bignum invalid";" (assignment_expression "pcVar3 = "bignum invalid"" identifier = (string_literal ""bignum invalid"" " string_content ")) ;) }) (else_clause "else {\n        pcVar3 = "floating point number invalid";\n      }" else (compound_statement "{\n        pcVar3 = "floating point number invalid";\n      }" { (expression_statement "pcVar3 = "floating point number invalid";" (assignment_expression "pcVar3 = "floating point number invalid"" identifier = (string_literal ""floating point number invalid"" " string_content ")) ;) }))) (expression_statement "pcVar3 = (char *)dcgettext(0,pcVar3,5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,pcVar3,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar3,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "as_bad(pcVar3);" (call_expression "as_bad(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "expressionP = &zero;" (assignment_expression "expressionP = &zero" identifier = (pointer_expression "&zero" & identifier)) ;) (expression_statement "zero.X_add_number._0_4_ = 0;" (assignment_expression "zero.X_add_number._0_4_ = 0" (field_expression "zero.X_add_number._0_4_" (field_expression "zero.X_add_number" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "zero.X_add_number._4_4_ = 0;" (assignment_expression "zero.X_add_number._4_4_ = 0" (field_expression "zero.X_add_number._4_4_" (field_expression "zero.X_add_number" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;" (assignment_expression "zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2" (field_expression "zero._16_4_" identifier . field_identifier) = (binary_expression "zero._16_4_ & 0xfffffc00 | 2" (binary_expression "zero._16_4_ & 0xfffffc00" (field_expression "zero._16_4_" identifier . field_identifier) & number_literal) | number_literal)) ;) (expression_statement "clean_up_expression(expressionP);" (call_expression "clean_up_expression(expressionP)" identifier (argument_list "(expressionP)" ( identifier ))) ;) (expression_statement "cVar1 = zero._16_1_;" (assignment_expression "cVar1 = zero._16_1_" identifier = (field_expression "zero._16_1_" identifier . field_identifier)) ;) })) (if_statement "if (cVar1 == '\x02') {\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }" if (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);\n      goto LAB_0002140c;\n    }" { (expression_statement "segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180);" (assignment_expression "segment = (segT)(PTR__bfd_std_section_0006dfa8 + 0x180)" identifier = (call_expression "(segT)(PTR__bfd_std_section_0006dfa8 + 0x180)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0006dfa8 + 0x180)" ( (binary_expression "PTR__bfd_std_section_0006dfa8 + 0x180" identifier + number_literal) )))) ;) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;) })) (expression_statement "segment = reg_section;" (assignment_expression "segment = reg_section" identifier = identifier) ;) (if_statement "if (cVar1 == '\x05') goto LAB_0002140c;" if (parenthesized_expression "(cVar1 == '\x05')" ( (binary_expression "cVar1 == '\x05'" identifier == (char_literal "'\x05'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;)) }))) (expression_statement "segment = expr_section;" (assignment_expression "segment = expr_section" identifier = identifier) ;) (labeled_statement "LAB_0002140c:\n  s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);" statement_identifier : (expression_statement "s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c);" (assignment_expression "s = symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c)" identifier = (call_expression "symbol_create("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c)" identifier (argument_list "("L0\x01",segment,0,(fragS *)PTR_zero_address_frag_0006df6c)" ( (string_literal ""L0\x01"" " string_content escape_sequence ") , identifier , number_literal , (cast_expression "(fragS *)PTR_zero_address_frag_0006df6c" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;)) (expression_statement "symbol_set_value_expression(s,expressionP);" (call_expression "symbol_set_value_expression(s,expressionP)" identifier (argument_list "(s,expressionP)" ( identifier , identifier ))) ;) (if_statement "if (expressionP->field_0x10 == '\x02') {\n    resolve_symbol_value(s);\n  }" if (parenthesized_expression "(expressionP->field_0x10 == '\x02')" ( (binary_expression "expressionP->field_0x10 == '\x02'" (field_expression "expressionP->field_0x10" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    resolve_symbol_value(s);\n  }" { (expression_statement "resolve_symbol_value(s);" (call_expression "resolve_symbol_value(s)" identifier (argument_list "(s)" ( identifier ))) ;) })) (expression_statement "peVar2 = (expr_symbol_line *)xmalloc(0x10);" (assignment_expression "peVar2 = (expr_symbol_line *)xmalloc(0x10)" identifier = (cast_expression "(expr_symbol_line *)xmalloc(0x10)" ( (type_descriptor "expr_symbol_line *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "peVar2->sym = s;" (assignment_expression "peVar2->sym = s" (field_expression "peVar2->sym" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar3 = as_where(&peVar2->line);" (assignment_expression "pcVar3 = as_where(&peVar2->line)" identifier = (call_expression "as_where(&peVar2->line)" identifier (argument_list "(&peVar2->line)" ( (pointer_expression "&peVar2->line" & (field_expression "peVar2->line" identifier -> field_identifier)) )))) ;) (expression_statement "peVar2->file = pcVar3;" (assignment_expression "peVar2->file = pcVar3" (field_expression "peVar2->file" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar2->next = expr_symbol_lines;" (assignment_expression "peVar2->next = expr_symbol_lines" (field_expression "peVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "expr_symbol_lines = peVar2;" (assignment_expression "expr_symbol_lines = peVar2" identifier = identifier) ;) (return_statement "return s;" return identifier ;) })))
(translation_unit "undefined4 FUN_00021360(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_00021360(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00021360(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 local_20 [2];" type_identifier (array_declarator "local_20 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "uint local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x21368;" (assignment_expression "local_10 = 0x21368" identifier = number_literal) ;) (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" identifier = (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" if (parenthesized_expression "(cVar1 == '\x03')" ( (binary_expression "cVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }" { (if_statement "if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }" if (parenthesized_expression "(param_1[3] == 0 && param_1[2] == 0)" ( (binary_expression "param_1[3] == 0 && param_1[2] == 0" (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) && (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal)) )) (compound_statement "{\n      return *param_1;\n    }" { (return_statement "return *param_1;" return (pointer_expression "*param_1" * identifier) ;) })) }) (else_clause "else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" else (compound_statement "{\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" { (if_statement "if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" if (parenthesized_expression "(cVar1 == '\x06')" ( (binary_expression "cVar1 == '\x06'" identifier == (char_literal "'\x06'" ' escape_sequence ')) )) (compound_statement "{\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" { (if_statement "if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }" if (parenthesized_expression "((int)-param_1[3] < (int)(uint)(param_1[2] != 0))" ( (binary_expression "(int)-param_1[3] < (int)(uint)(param_1[2] != 0)" (cast_expression "(int)-param_1[3]" ( (type_descriptor "int" primitive_type) ) (unary_expression "-param_1[3]" - (subscript_expression "param_1[3]" identifier [ number_literal ]))) < (cast_expression "(int)(uint)(param_1[2] != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(param_1[2] != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) ))))) )) (compound_statement "{\n        pcVar2 = "bignum invalid";\n      }" { (expression_statement "pcVar2 = "bignum invalid";" (assignment_expression "pcVar2 = "bignum invalid"" identifier = (string_literal ""bignum invalid"" " string_content ")) ;) }) (else_clause "else {\n        pcVar2 = "floating point number invalid";\n      }" else (compound_statement "{\n        pcVar2 = "floating point number invalid";\n      }" { (expression_statement "pcVar2 = "floating point number invalid";" (assignment_expression "pcVar2 = "floating point number invalid"" identifier = (string_literal ""floating point number invalid"" " string_content ")) ;) }))) (expression_statement "uVar4 = dcgettext(0,pcVar2,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar2,5)" identifier = (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar4);" (call_expression "FUN_0002bcf0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "param_1 = local_20;" (assignment_expression "param_1 = local_20" identifier = identifier) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "local_10 = local_10 & 0xfffffc00 | 2;" (assignment_expression "local_10 = local_10 & 0xfffffc00 | 2" identifier = (binary_expression "local_10 & 0xfffffc00 | 2" (binary_expression "local_10 & 0xfffffc00" identifier & number_literal) | number_literal)) ;) (expression_statement "FUN_00020a40();" (call_expression "FUN_00020a40()" identifier (argument_list "()" ( ))) ;) (expression_statement "cVar1 = (char)local_10;" (assignment_expression "cVar1 = (char)local_10" identifier = (cast_expression "(char)local_10" ( (type_descriptor "char" primitive_type) ) identifier)) ;) })) (if_statement "if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" if (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" { (expression_statement "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;" (assignment_expression "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180" identifier = (binary_expression "PTR__bfd_std_section_0006dfa8 + 0x180" identifier + number_literal)) ;) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;) })) (expression_statement "puVar3 = DAT_000776d0;" (assignment_expression "puVar3 = DAT_000776d0" identifier = identifier) ;) (if_statement "if (cVar1 == '\x05') goto LAB_0002140c;" if (parenthesized_expression "(cVar1 == '\x05')" ( (binary_expression "cVar1 == '\x05'" identifier == (char_literal "'\x05'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002140c;" goto statement_identifier ;)) }))) (expression_statement "puVar3 = DAT_00077620;" (assignment_expression "puVar3 = DAT_00077620" identifier = identifier) ;) (labeled_statement "LAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" statement_identifier : (expression_statement "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" (assignment_expression "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" identifier = (call_expression "FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" identifier (argument_list "(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" ( (pointer_expression "&DAT_00051b42" & identifier) , identifier , number_literal , number_literal , identifier )))) ;)) (expression_statement "FUN_0003b070(uVar4,param_1);" (call_expression "FUN_0003b070(uVar4,param_1)" identifier (argument_list "(uVar4,param_1)" ( identifier , identifier ))) ;) (if_statement "if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 4) == '\x02')" ( (binary_expression "*(char *)(param_1 + 4) == '\x02'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00038a20(uVar4);\n  }" { (expression_statement "FUN_00038a20(uVar4);" (call_expression "FUN_00038a20(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (expression_statement "puVar5 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar5 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "puVar5[1] = uVar4;" (assignment_expression "puVar5[1] = uVar4" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = FUN_00026480(puVar5 + 3);" (assignment_expression "uVar6 = FUN_00026480(puVar5 + 3)" identifier = (call_expression "FUN_00026480(puVar5 + 3)" identifier (argument_list "(puVar5 + 3)" ( (binary_expression "puVar5 + 3" identifier + number_literal) )))) ;) (expression_statement "puVar5[2] = uVar6;" (assignment_expression "puVar5[2] = uVar6" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = DAT_000770a4;" (assignment_expression "*puVar5 = DAT_000770a4" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "DAT_000770a4 = puVar5;" (assignment_expression "DAT_000770a4 = puVar5" identifier = identifier) ;) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) )) (compound_statement { (return_statement return (pointer_expression * IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (unary_expression - (subscript_expression IDENT [ LIT ]))) < (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT , LIT , IDENT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00021360(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_00021360(undefined4 *param_1)" (identifier "FUN_00021360") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 local_20 [2];\n  undefined4 local_18;\n  undefined4 local_14;\n  uint local_10;\n  \n  local_10 = 0x21368;\n  cVar1 = *(char *)(param_1 + 4);\n  if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }\n  puVar3 = DAT_00077620;\nLAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);\n  FUN_0003b070(uVar4,param_1);\n  if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }\n  puVar5 = (undefined4 *)xmalloc(0x10);\n  puVar5[1] = uVar4;\n  uVar6 = FUN_00026480(puVar5 + 3);\n  puVar5[2] = uVar6;\n  *puVar5 = DAT_000770a4;\n  DAT_000770a4 = puVar5;\n  return uVar4;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 local_20 [2];" (type_identifier "undefined4") (array_declarator "local_20 [2]" (identifier "local_20") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "uint local_10;" (type_identifier "uint") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x21368;" (assignment_expression "local_10 = 0x21368" (identifier "local_10") (= "=") (number_literal "0x21368")) (; ";")) (expression_statement "cVar1 = *(char *)(param_1 + 4);" (assignment_expression "cVar1 = *(char *)(param_1 + 4)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (cVar1 == '\x03') {\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }\n  else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" (if "if") (parenthesized_expression "(cVar1 == '\x03')" (( "(") (binary_expression "cVar1 == '\x03'" (identifier "cVar1") (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n    if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }\n  }" ({ "{") (if_statement "if (param_1[3] == 0 && param_1[2] == 0) {\n      return *param_1;\n    }" (if "if") (parenthesized_expression "(param_1[3] == 0 && param_1[2] == 0)" (( "(") (binary_expression "param_1[3] == 0 && param_1[2] == 0" (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      return *param_1;\n    }" ({ "{") (return_statement "return *param_1;" (return "return") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" (else "else") (compound_statement "{\n    if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }\n    if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }\n    puVar3 = DAT_000776d0;\n    if (cVar1 == '\x05') goto LAB_0002140c;\n  }" ({ "{") (if_statement "if (cVar1 == '\x06') {\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" (if "if") (parenthesized_expression "(cVar1 == '\x06')" (( "(") (binary_expression "cVar1 == '\x06'" (identifier "cVar1") (== "==") (char_literal "'\x06'" (' "'") (escape_sequence "\x06") (' "'"))) () ")")) (compound_statement "{\n      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }\n      uVar4 = dcgettext(0,pcVar2,5);\n      FUN_0002bcf0(uVar4);\n      param_1 = local_20;\n      local_18 = 0;\n      local_14 = 0;\n      local_10 = local_10 & 0xfffffc00 | 2;\n      FUN_00020a40();\n      cVar1 = (char)local_10;\n    }" ({ "{") (if_statement "if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {\n        pcVar2 = "bignum invalid";\n      }\n      else {\n        pcVar2 = "floating point number invalid";\n      }" (if "if") (parenthesized_expression "((int)-param_1[3] < (int)(uint)(param_1[2] != 0))" (( "(") (binary_expression "(int)-param_1[3] < (int)(uint)(param_1[2] != 0)" (cast_expression "(int)-param_1[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (unary_expression "-param_1[3]" (- "-") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (< "<") (cast_expression "(int)(uint)(param_1[2] != 0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(param_1[2] != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")"))))) () ")")) (compound_statement "{\n        pcVar2 = "bignum invalid";\n      }" ({ "{") (expression_statement "pcVar2 = "bignum invalid";" (assignment_expression "pcVar2 = "bignum invalid"" (identifier "pcVar2") (= "=") (string_literal ""bignum invalid"" (" """) (string_content "bignum invalid") (" """))) (; ";")) (} "}")) (else_clause "else {\n        pcVar2 = "floating point number invalid";\n      }" (else "else") (compound_statement "{\n        pcVar2 = "floating point number invalid";\n      }" ({ "{") (expression_statement "pcVar2 = "floating point number invalid";" (assignment_expression "pcVar2 = "floating point number invalid"" (identifier "pcVar2") (= "=") (string_literal ""floating point number invalid"" (" """) (string_content "floating point number invalid") (" """))) (; ";")) (} "}")))) (expression_statement "uVar4 = dcgettext(0,pcVar2,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar2,5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,pcVar2,5)" (identifier "dcgettext") (argument_list "(0,pcVar2,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar2") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bcf0(uVar4);" (call_expression "FUN_0002bcf0(uVar4)" (identifier "FUN_0002bcf0") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "param_1 = local_20;" (assignment_expression "param_1 = local_20" (identifier "param_1") (= "=") (identifier "local_20")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" (identifier "local_14") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_10 = local_10 & 0xfffffc00 | 2;" (assignment_expression "local_10 = local_10 & 0xfffffc00 | 2" (identifier "local_10") (= "=") (binary_expression "local_10 & 0xfffffc00 | 2" (binary_expression "local_10 & 0xfffffc00" (identifier "local_10") (& "&") (number_literal "0xfffffc00")) (| "|") (number_literal "2"))) (; ";")) (expression_statement "FUN_00020a40();" (call_expression "FUN_00020a40()" (identifier "FUN_00020a40") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "cVar1 = (char)local_10;" (assignment_expression "cVar1 = (char)local_10" (identifier "cVar1") (= "=") (cast_expression "(char)local_10" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_10"))) (; ";")) (} "}"))) (if_statement "if (cVar1 == '\x02') {\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" (if "if") (parenthesized_expression "(cVar1 == '\x02')" (( "(") (binary_expression "cVar1 == '\x02'" (identifier "cVar1") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;\n      goto LAB_0002140c;\n    }" ({ "{") (expression_statement "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;" (assignment_expression "puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180" (identifier "puVar3") (= "=") (binary_expression "PTR__bfd_std_section_0006dfa8 + 0x180" (identifier "PTR__bfd_std_section_0006dfa8") (+ "+") (number_literal "0x180"))) (; ";")) (goto_statement "goto LAB_0002140c;" (goto "goto") (statement_identifier "LAB_0002140c") (; ";")) (} "}"))) (expression_statement "puVar3 = DAT_000776d0;" (assignment_expression "puVar3 = DAT_000776d0" (identifier "puVar3") (= "=") (identifier "DAT_000776d0")) (; ";")) (if_statement "if (cVar1 == '\x05') goto LAB_0002140c;" (if "if") (parenthesized_expression "(cVar1 == '\x05')" (( "(") (binary_expression "cVar1 == '\x05'" (identifier "cVar1") (== "==") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (goto_statement "goto LAB_0002140c;" (goto "goto") (statement_identifier "LAB_0002140c") (; ";"))) (} "}")))) (expression_statement "puVar3 = DAT_00077620;" (assignment_expression "puVar3 = DAT_00077620" (identifier "puVar3") (= "=") (identifier "DAT_00077620")) (; ";")) (labeled_statement "LAB_0002140c:\n  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" (statement_identifier "LAB_0002140c") (: ":") (expression_statement "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);" (assignment_expression "uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" (identifier "uVar4") (= "=") (call_expression "FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" (identifier "FUN_000385b0") (argument_list "(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c)" (( "(") (pointer_expression "&DAT_00051b42" (& "&") (identifier "DAT_00051b42")) (, ",") (identifier "puVar3") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "PTR_DAT_0006df6c") () ")")))) (; ";"))) (expression_statement "FUN_0003b070(uVar4,param_1);" (call_expression "FUN_0003b070(uVar4,param_1)" (identifier "FUN_0003b070") (argument_list "(uVar4,param_1)" (( "(") (identifier "uVar4") (, ",") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (*(char *)(param_1 + 4) == '\x02') {\n    FUN_00038a20(uVar4);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 4) == '\x02')" (( "(") (binary_expression "*(char *)(param_1 + 4) == '\x02'" (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    FUN_00038a20(uVar4);\n  }" ({ "{") (expression_statement "FUN_00038a20(uVar4);" (call_expression "FUN_00038a20(uVar4)" (identifier "FUN_00038a20") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar5 = (undefined4 *)xmalloc(0x10)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)xmalloc(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "puVar5[1] = uVar4;" (assignment_expression "puVar5[1] = uVar4" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar6 = FUN_00026480(puVar5 + 3);" (assignment_expression "uVar6 = FUN_00026480(puVar5 + 3)" (identifier "uVar6") (= "=") (call_expression "FUN_00026480(puVar5 + 3)" (identifier "FUN_00026480") (argument_list "(puVar5 + 3)" (( "(") (binary_expression "puVar5 + 3" (identifier "puVar5") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "puVar5[2] = uVar6;" (assignment_expression "puVar5[2] = uVar6" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*puVar5 = DAT_000770a4;" (assignment_expression "*puVar5 = DAT_000770a4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "DAT_000770a4")) (; ";")) (expression_statement "DAT_000770a4 = puVar5;" (assignment_expression "DAT_000770a4 = puVar5" (identifier "DAT_000770a4") (= "=") (identifier "puVar5")) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *expressionP)

{
  char var_1;
  type_3 segment;
  type_1 *s;
  type_4 *peVar2;
  char *pcVar3;
  type_2 zero;
  
  zero._16_2_ = 0x1368;
  zero.X_md = 2;
  var_1 = expressionP->field_0x10;
  if (var_1 == '\x03') {
    if (*(int *)((int)&expressionP->X_add_number + 4) == 0 && (int)expressionP->X_add_number == 0) {
      return expressionP->X_add_symbol;
    }
  }
  else {
    if (var_1 == '\x06') {
      if (-*(int *)((int)&expressionP->X_add_number + 4) <
          (int)(uint)((int)expressionP->X_add_number != 0)) {
        pcVar3 = "bignum invalid";
      }
      else {
        pcVar3 = "floating point number invalid";
      }
      pcVar3 = (char *)var_2(0,pcVar3,5);
      var_3(pcVar3);
      expressionP = &zero;
      zero.X_add_number._0_4_ = 0;
      zero.X_add_number._4_4_ = 0;
      zero._16_4_ = zero._16_4_ & 0xfffffc00 | 2;
      var_4(expressionP);
      var_1 = zero._16_1_;
    }
    if (var_1 == '\x02') {
      segment = (type_3)(var_5 + 0x180);
      goto LAB_0002140c;
    }
    segment = reg_section;
    if (var_1 == '\x05') goto LAB_0002140c;
  }
  segment = expr_section;
LAB_0002140c:
  s = var_6("L0\x01",segment,0,(type_5 *)PTR_zero_address_frag_0006df6c);
  var_7(s,expressionP);
  if (expressionP->field_0x10 == '\x02') {
    var_8(s);
  }
  peVar2 = (type_4 *)var_9(0x10);
  peVar2->sym = s;
  pcVar3 = var_10(&peVar2->line);
  peVar2->file = pcVar3;
  peVar2->next = expr_symbol_lines;
  expr_symbol_lines = peVar2;
  return s;
}


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

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

undefined4 MASKED(undefined4 *param_1)

{
  char cVar1;
  char *pcVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  undefined4 local_20 [2];
  undefined4 local_18;
  undefined4 local_14;
  uint local_10;
  
  local_10 = 0x21368;
  cVar1 = *(char *)(param_1 + 4);
  if (cVar1 == '\x03') {
    if (param_1[3] == 0 && param_1[2] == 0) {
      return *param_1;
    }
  }
  else {
    if (cVar1 == '\x06') {
      if ((int)-param_1[3] < (int)(uint)(param_1[2] != 0)) {
        pcVar2 = "bignum invalid";
      }
      else {
        pcVar2 = "floating point number invalid";
      }
      uVar4 = dcgettext(0,pcVar2,5);
      FUN_0002bcf0(uVar4);
      param_1 = local_20;
      local_18 = 0;
      local_14 = 0;
      local_10 = local_10 & 0xfffffc00 | 2;
      FUN_00020a40();
      cVar1 = (char)local_10;
    }
    if (cVar1 == '\x02') {
      puVar3 = PTR__bfd_std_section_0006dfa8 + 0x180;
      goto LAB_0002140c;
    }
    puVar3 = DAT_000776d0;
    if (cVar1 == '\x05') goto LAB_0002140c;
  }
  puVar3 = DAT_00077620;
LAB_0002140c:
  uVar4 = FUN_000385b0(&DAT_00051b42,puVar3,0,0,PTR_DAT_0006df6c);
  FUN_0003b070(uVar4,param_1);
  if (*(char *)(param_1 + 4) == '\x02') {
    FUN_00038a20(uVar4);
  }
  puVar5 = (undefined4 *)xmalloc(0x10);
  puVar5[1] = uVar4;
  uVar6 = FUN_00026480(puVar5 + 3);
  puVar5[2] = uVar6;
  *puVar5 = DAT_000770a4;
  DAT_000770a4 = puVar5;
  return uVar4;
}

