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

bfd_reloc_code_real_type x86_cons(expressionS *exp,int size)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  char *pcVar4;
  char c;
  bfd_reloc_code_real *in_stack_ffffffc4;
  int *in_stack_ffffffc8;
  i386_operand_type *in_stack_ffffffcc;
  bfd_reloc_code_real_type got_reloc;
  int adjust;
  
  exp->X_md = 0;
  pcVar3 = input_line_pointer;
  intel_syntax = -intel_syntax;
  if ((size == 4) || ((object_64bit != 0 && (size == 8)))) {
    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);
    if (pcVar4 != (char *)0x0) {
      input_line_pointer = pcVar4;
      expr(0,exp,expr_normal);
      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);
      free(pcVar4);
      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {
        cVar1 = *input_line_pointer;
        *input_line_pointer = '\0';
        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);
        as_bad(pcVar4,pcVar3);
        *input_line_pointer = cVar1;
      }
      goto LAB_000514a2;
    }
  }
  expr(0,exp,expr_normal);
LAB_000514a2:
  iVar2 = intel_syntax;
  intel_syntax = -intel_syntax;
  if (iVar2 == 0) {
    return BFD_RELOC_NONE;
  }
  i386_intel_simplify(exp);
  return BFD_RELOC_NONE;
}



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

undefined4 FUN_00051450(int param_1,int param_2)

{
  undefined1 uVar1;
  int iVar2;
  undefined1 *puVar3;
  void *__ptr;
  undefined4 uVar4;
  
  *(undefined2 *)(param_1 + 0x12) = 0;
  puVar3 = DAT_00089978;
  DAT_00088ef4 = -DAT_00088ef4;
  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {
    __ptr = (void *)FUN_000453b0();
    if (__ptr != (void *)0x0) {
      DAT_00089978 = (undefined1 *)__ptr;
      FUN_000221d0(0,param_1,1);
      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);
      free(__ptr);
      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {
        uVar1 = *DAT_00089978;
        *DAT_00089978 = 0;
        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);
        FUN_0002bd60(uVar4,puVar3);
        *DAT_00089978 = uVar1;
      }
      goto LAB_000514a2;
    }
  }
  FUN_000221d0(0,param_1,1);
LAB_000514a2:
  iVar2 = DAT_00088ef4;
  DAT_00088ef4 = -DAT_00088ef4;
  if (iVar2 == 0) {
    return 0x47;
  }
  FUN_00049de0();
  return 0x47;
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x2eba5
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x18],0x47
MOV word ptr [ESI + 0x12],BP
NEG dword ptr [EBX + 0x8ef4]
CMP EAX,0x4
JZ 0x000514d0
MOV EDI,dword ptr [EBX + 0x8f08]
TEST EDI,EDI
JZ 0x00051492
CMP EAX,0x8
JZ 0x000514d0
SUB ESP,0x4
PUSH 0x1
PUSH ESI
PUSH 0x0
CALL 0x000221d0
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0x8ef4]
MOV EDX,EAX
NEG EDX
MOV dword ptr [EBX + 0x8ef4],EDX
TEST EAX,EAX
JNZ 0x00051570
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDI,[EBX + 0x9978]
XOR ECX,ECX
LEA EDX,[ESP + 0x1c]
LEA EAX,[ESP + 0x18]
MOV dword ptr [ESP + 0x1c],0x0
MOV EBP,dword ptr [EDI]
CALL 0x000453b0
TEST EAX,EAX
JZ 0x00051492
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0x4
MOV dword ptr [EDI],EAX
PUSH 0x1
PUSH ESI
PUSH 0x0
CALL 0x000221d0
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EDI]
SUB EAX,EDX
ADD EAX,dword ptr [ESP + 0x2c]
ADD EAX,EBP
MOV dword ptr [EDI],EAX
MOV dword ptr [ESP],EDX
CALL 0x00014780
MOVZX EAX,byte ptr [ESI + 0x10]
ADD ESP,0x10
LEA EDX,[EAX + -0x5]
CMP DL,0x1
JBE 0x00051535
CMP AL,0x2
JA 0x000514a2
MOV EAX,dword ptr [EDI]
SUB ESP,0x4
MOVZX EDX,byte ptr [EAX]
MOV byte ptr [EAX],0x0
LEA EAX,[EBX + 0xfffe2f50]
MOV byte ptr [ESP + 0x10],DL
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x0002bd60
MOVZX EDX,byte ptr [ESP + 0x1c]
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
MOV byte ptr [EAX],DL
JMP 0x000514a2
MOV EAX,ESI
CALL 0x00049de0
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00051450(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}\n\n" comment (function_definition "undefined4 FUN_00051450(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" type_identifier (function_declarator "FUN_00051450(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "*(undefined2 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x12)" * (cast_expression "(undefined2 *)(param_1 + 0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = DAT_00089978;" (assignment_expression "puVar3 = DAT_00089978" identifier = identifier) ;) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" identifier = (unary_expression "-DAT_00088ef4" - identifier)) ;) (if_statement "if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" if (parenthesized_expression "((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8))))" ( (binary_expression "(param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))" (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) || (parenthesized_expression "((DAT_00088f08 != 0 && (param_2 == 8)))" ( (parenthesized_expression "(DAT_00088f08 != 0 && (param_2 == 8))" ( (binary_expression "DAT_00088f08 != 0 && (param_2 == 8)" (binary_expression "DAT_00088f08 != 0" identifier != number_literal) && (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" { (expression_statement "__ptr = (void *)FUN_000453b0();" (assignment_expression "__ptr = (void *)FUN_000453b0()" identifier = (cast_expression "(void *)FUN_000453b0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000453b0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" { (expression_statement "DAT_00089978 = (undefined1 *)__ptr;" (assignment_expression "DAT_00089978 = (undefined1 *)__ptr" identifier = (cast_expression "(undefined1 *)__ptr" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" identifier (argument_list "(0,param_1,1)" ( number_literal , identifier , number_literal ))) ;) (expression_statement "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);" (assignment_expression "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr)" identifier = (binary_expression "puVar3 + ((int)DAT_00089978 - (int)__ptr)" identifier + (parenthesized_expression "((int)DAT_00089978 - (int)__ptr)" ( (binary_expression "(int)DAT_00089978 - (int)__ptr" (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" if (parenthesized_expression "(((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3))" ( (binary_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)" (parenthesized_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2)" ( (binary_expression "(byte)(*(byte *)(param_1 + 0x10) - 5) < 2" (call_expression "(byte)(*(byte *)(param_1 + 0x10) - 5)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(byte *)(param_1 + 0x10) - 5)" ( (binary_expression "*(byte *)(param_1 + 0x10) - 5" (pointer_expression "*(byte *)(param_1 + 0x10)" * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - number_literal) ))) < number_literal) )) || (parenthesized_expression "(*(byte *)(param_1 + 0x10) < 3)" ( (binary_expression "*(byte *)(param_1 + 0x10) < 3" (pointer_expression "*(byte *)(param_1 + 0x10)" * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" { (expression_statement "uVar1 = *DAT_00089978;" (assignment_expression "uVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" * identifier) = number_literal) ;) (expression_statement "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);" (assignment_expression "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5)" identifier = (call_expression "dcgettext(0,"missing or invalid expression `%s\'",5)" identifier (argument_list "(0,"missing or invalid expression `%s\'",5)" ( number_literal , (string_literal ""missing or invalid expression `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar4,puVar3);" (call_expression "FUN_0002bd60(uVar4,puVar3)" identifier (argument_list "(uVar4,puVar3)" ( identifier , identifier ))) ;) (expression_statement "*DAT_00089978 = uVar1;" (assignment_expression "*DAT_00089978 = uVar1" (pointer_expression "*DAT_00089978" * identifier) = identifier) ;) })) (goto_statement "goto LAB_000514a2;" goto statement_identifier ;) })) })) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" identifier (argument_list "(0,param_1,1)" ( number_literal , identifier , number_literal ))) ;) (labeled_statement "LAB_000514a2:\n  iVar2 = DAT_00088ef4;" statement_identifier : (expression_statement "iVar2 = DAT_00088ef4;" (assignment_expression "iVar2 = DAT_00088ef4" identifier = identifier) ;)) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" identifier = (unary_expression "-DAT_00088ef4" - identifier)) ;) (if_statement "if (iVar2 == 0) {\n    return 0x47;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x47;\n  }" { (return_statement "return 0x47;" return number_literal ;) })) (expression_statement "FUN_00049de0();" (call_expression "FUN_00049de0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0x47;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_reloc_code_real_type x86_cons(expressionS *exp,int size)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char c;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  bfd_reloc_code_real_type got_reloc;\n  int adjust;\n  \n  exp->X_md = 0;\n  pcVar3 = input_line_pointer;\n  intel_syntax = -intel_syntax;\n  if ((size == 4) || ((object_64bit != 0 && (size == 8)))) {\n    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n    if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  expr(0,exp,expr_normal);\nLAB_000514a2:\n  iVar2 = intel_syntax;\n  intel_syntax = -intel_syntax;\n  if (iVar2 == 0) {\n    return BFD_RELOC_NONE;\n  }\n  i386_intel_simplify(exp);\n  return BFD_RELOC_NONE;\n}\n\n" comment comment (function_definition "bfd_reloc_code_real_type x86_cons(expressionS *exp,int size)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char c;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  bfd_reloc_code_real_type got_reloc;\n  int adjust;\n  \n  exp->X_md = 0;\n  pcVar3 = input_line_pointer;\n  intel_syntax = -intel_syntax;\n  if ((size == 4) || ((object_64bit != 0 && (size == 8)))) {\n    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n    if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  expr(0,exp,expr_normal);\nLAB_000514a2:\n  iVar2 = intel_syntax;\n  intel_syntax = -intel_syntax;\n  if (iVar2 == 0) {\n    return BFD_RELOC_NONE;\n  }\n  i386_intel_simplify(exp);\n  return BFD_RELOC_NONE;\n}" type_identifier (function_declarator "x86_cons(expressionS *exp,int size)" identifier (parameter_list "(expressionS *exp,int size)" ( (parameter_declaration "expressionS *exp" type_identifier (pointer_declarator "*exp" * identifier)) , (parameter_declaration "int size" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  char c;\n  bfd_reloc_code_real *in_stack_ffffffc4;\n  int *in_stack_ffffffc8;\n  i386_operand_type *in_stack_ffffffcc;\n  bfd_reloc_code_real_type got_reloc;\n  int adjust;\n  \n  exp->X_md = 0;\n  pcVar3 = input_line_pointer;\n  intel_syntax = -intel_syntax;\n  if ((size == 4) || ((object_64bit != 0 && (size == 8)))) {\n    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n    if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  expr(0,exp,expr_normal);\nLAB_000514a2:\n  iVar2 = intel_syntax;\n  intel_syntax = -intel_syntax;\n  if (iVar2 == 0) {\n    return BFD_RELOC_NONE;\n  }\n  i386_intel_simplify(exp);\n  return BFD_RELOC_NONE;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char c;" primitive_type identifier ;) (declaration "bfd_reloc_code_real *in_stack_ffffffc4;" type_identifier (pointer_declarator "*in_stack_ffffffc4" * identifier) ;) (declaration "int *in_stack_ffffffc8;" primitive_type (pointer_declarator "*in_stack_ffffffc8" * identifier) ;) (declaration "i386_operand_type *in_stack_ffffffcc;" type_identifier (pointer_declarator "*in_stack_ffffffcc" * identifier) ;) (declaration "bfd_reloc_code_real_type got_reloc;" type_identifier identifier ;) (declaration "int adjust;" primitive_type identifier ;) (expression_statement "exp->X_md = 0;" (assignment_expression "exp->X_md = 0" (field_expression "exp->X_md" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar3 = input_line_pointer;" (assignment_expression "pcVar3 = input_line_pointer" identifier = identifier) ;) (expression_statement "intel_syntax = -intel_syntax;" (assignment_expression "intel_syntax = -intel_syntax" identifier = (unary_expression "-intel_syntax" - identifier)) ;) (if_statement "if ((size == 4) || ((object_64bit != 0 && (size == 8)))) {\n    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n    if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" if (parenthesized_expression "((size == 4) || ((object_64bit != 0 && (size == 8))))" ( (binary_expression "(size == 4) || ((object_64bit != 0 && (size == 8)))" (parenthesized_expression "(size == 4)" ( (binary_expression "size == 4" identifier == number_literal) )) || (parenthesized_expression "((object_64bit != 0 && (size == 8)))" ( (parenthesized_expression "(object_64bit != 0 && (size == 8))" ( (binary_expression "object_64bit != 0 && (size == 8)" (binary_expression "object_64bit != 0" identifier != number_literal) && (parenthesized_expression "(size == 8)" ( (binary_expression "size == 8" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);\n    if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" { (expression_statement "pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);" (assignment_expression "pcVar4 = lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" identifier = (call_expression "lex_got(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" identifier (argument_list "(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc)" ( identifier , identifier , identifier )))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      input_line_pointer = pcVar4;\n      expr(0,exp,expr_normal);\n      input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);\n      free(pcVar4);\n      if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }\n      goto LAB_000514a2;\n    }" { (expression_statement "input_line_pointer = pcVar4;" (assignment_expression "input_line_pointer = pcVar4" identifier = identifier) ;) (expression_statement "expr(0,exp,expr_normal);" (call_expression "expr(0,exp,expr_normal)" identifier (argument_list "(0,exp,expr_normal)" ( number_literal , identifier , identifier ))) ;) (expression_statement "input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4);" (assignment_expression "input_line_pointer = pcVar3 + ((int)input_line_pointer - (int)pcVar4)" identifier = (binary_expression "pcVar3 + ((int)input_line_pointer - (int)pcVar4)" identifier + (parenthesized_expression "((int)input_line_pointer - (int)pcVar4)" ( (binary_expression "(int)input_line_pointer - (int)pcVar4" (cast_expression "(int)input_line_pointer" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if (((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)) {\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }" if (parenthesized_expression "(((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3))" ( (binary_expression "((byte)(exp->field_0x10 - 5) < 2) || ((byte)exp->field_0x10 < 3)" (parenthesized_expression "((byte)(exp->field_0x10 - 5) < 2)" ( (binary_expression "(byte)(exp->field_0x10 - 5) < 2" (call_expression "(byte)(exp->field_0x10 - 5)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(exp->field_0x10 - 5)" ( (binary_expression "exp->field_0x10 - 5" (field_expression "exp->field_0x10" identifier -> field_identifier) - number_literal) ))) < number_literal) )) || (parenthesized_expression "((byte)exp->field_0x10 < 3)" ( (binary_expression "(byte)exp->field_0x10 < 3" (cast_expression "(byte)exp->field_0x10" ( (type_descriptor "byte" type_identifier) ) (field_expression "exp->field_0x10" identifier -> field_identifier)) < number_literal) ))) )) (compound_statement "{\n        cVar1 = *input_line_pointer;\n        *input_line_pointer = '\0';\n        pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);\n        as_bad(pcVar4,pcVar3);\n        *input_line_pointer = cVar1;\n      }" { (expression_statement "cVar1 = *input_line_pointer;" (assignment_expression "cVar1 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "*input_line_pointer = '\0';" (assignment_expression "*input_line_pointer = '\0'" (pointer_expression "*input_line_pointer" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"missing or invalid expression `%s\'",5)" identifier = (cast_expression "(char *)dcgettext(0,"missing or invalid expression `%s\'",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"missing or invalid expression `%s\'",5)" identifier (argument_list "(0,"missing or invalid expression `%s\'",5)" ( number_literal , (string_literal ""missing or invalid expression `%s\'"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar4,pcVar3);" (call_expression "as_bad(pcVar4,pcVar3)" identifier (argument_list "(pcVar4,pcVar3)" ( identifier , identifier ))) ;) (expression_statement "*input_line_pointer = cVar1;" (assignment_expression "*input_line_pointer = cVar1" (pointer_expression "*input_line_pointer" * identifier) = identifier) ;) })) (goto_statement "goto LAB_000514a2;" goto statement_identifier ;) })) })) (expression_statement "expr(0,exp,expr_normal);" (call_expression "expr(0,exp,expr_normal)" identifier (argument_list "(0,exp,expr_normal)" ( number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_000514a2:\n  iVar2 = intel_syntax;" statement_identifier : (expression_statement "iVar2 = intel_syntax;" (assignment_expression "iVar2 = intel_syntax" identifier = identifier) ;)) (expression_statement "intel_syntax = -intel_syntax;" (assignment_expression "intel_syntax = -intel_syntax" identifier = (unary_expression "-intel_syntax" - identifier)) ;) (if_statement "if (iVar2 == 0) {\n    return BFD_RELOC_NONE;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return BFD_RELOC_NONE;\n  }" { (return_statement "return BFD_RELOC_NONE;" return identifier ;) })) (expression_statement "i386_intel_simplify(exp);" (call_expression "i386_intel_simplify(exp)" identifier (argument_list "(exp)" ( identifier ))) ;) (return_statement "return BFD_RELOC_NONE;" return identifier ;) })))
(translation_unit "undefined4 FUN_00051450(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}\n\n" (function_definition "undefined4 FUN_00051450(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" type_identifier (function_declarator "FUN_00051450(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "*(undefined2 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x12)" * (cast_expression "(undefined2 *)(param_1 + 0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar3 = DAT_00089978;" (assignment_expression "puVar3 = DAT_00089978" identifier = identifier) ;) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" identifier = (unary_expression "-DAT_00088ef4" - identifier)) ;) (if_statement "if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" if (parenthesized_expression "((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8))))" ( (binary_expression "(param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))" (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) || (parenthesized_expression "((DAT_00088f08 != 0 && (param_2 == 8)))" ( (parenthesized_expression "(DAT_00088f08 != 0 && (param_2 == 8))" ( (binary_expression "DAT_00088f08 != 0 && (param_2 == 8)" (binary_expression "DAT_00088f08 != 0" identifier != number_literal) && (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" { (expression_statement "__ptr = (void *)FUN_000453b0();" (assignment_expression "__ptr = (void *)FUN_000453b0()" identifier = (cast_expression "(void *)FUN_000453b0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000453b0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" { (expression_statement "DAT_00089978 = (undefined1 *)__ptr;" (assignment_expression "DAT_00089978 = (undefined1 *)__ptr" identifier = (cast_expression "(undefined1 *)__ptr" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" identifier (argument_list "(0,param_1,1)" ( number_literal , identifier , number_literal ))) ;) (expression_statement "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);" (assignment_expression "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr)" identifier = (binary_expression "puVar3 + ((int)DAT_00089978 - (int)__ptr)" identifier + (parenthesized_expression "((int)DAT_00089978 - (int)__ptr)" ( (binary_expression "(int)DAT_00089978 - (int)__ptr" (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" if (parenthesized_expression "(((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3))" ( (binary_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)" (parenthesized_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2)" ( (binary_expression "(byte)(*(byte *)(param_1 + 0x10) - 5) < 2" (call_expression "(byte)(*(byte *)(param_1 + 0x10) - 5)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(byte *)(param_1 + 0x10) - 5)" ( (binary_expression "*(byte *)(param_1 + 0x10) - 5" (pointer_expression "*(byte *)(param_1 + 0x10)" * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) - number_literal) ))) < number_literal) )) || (parenthesized_expression "(*(byte *)(param_1 + 0x10) < 3)" ( (binary_expression "*(byte *)(param_1 + 0x10) < 3" (pointer_expression "*(byte *)(param_1 + 0x10)" * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" { (expression_statement "uVar1 = *DAT_00089978;" (assignment_expression "uVar1 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" * identifier) = number_literal) ;) (expression_statement "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);" (assignment_expression "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5)" identifier = (call_expression "dcgettext(0,"missing or invalid expression `%s\'",5)" identifier (argument_list "(0,"missing or invalid expression `%s\'",5)" ( number_literal , (string_literal ""missing or invalid expression `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar4,puVar3);" (call_expression "FUN_0002bd60(uVar4,puVar3)" identifier (argument_list "(uVar4,puVar3)" ( identifier , identifier ))) ;) (expression_statement "*DAT_00089978 = uVar1;" (assignment_expression "*DAT_00089978 = uVar1" (pointer_expression "*DAT_00089978" * identifier) = identifier) ;) })) (goto_statement "goto LAB_000514a2;" goto statement_identifier ;) })) })) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" identifier (argument_list "(0,param_1,1)" ( number_literal , identifier , number_literal ))) ;) (labeled_statement "LAB_000514a2:\n  iVar2 = DAT_00088ef4;" statement_identifier : (expression_statement "iVar2 = DAT_00088ef4;" (assignment_expression "iVar2 = DAT_00088ef4" identifier = identifier) ;)) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" identifier = (unary_expression "-DAT_00088ef4" - identifier)) ;) (if_statement "if (iVar2 == 0) {\n    return 0x47;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x47;\n  }" { (return_statement "return 0x47;" return number_literal ;) })) (expression_statement "FUN_00049de0();" (call_expression "FUN_00049de0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0x47;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00051450(int param_1,int param_2)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" (type_identifier "undefined4") (function_declarator "FUN_00051450(int param_1,int param_2)" (identifier "FUN_00051450") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  void *__ptr;\n  undefined4 uVar4;\n  \n  *(undefined2 *)(param_1 + 0x12) = 0;\n  puVar3 = DAT_00089978;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }\n  FUN_000221d0(0,param_1,1);\nLAB_000514a2:\n  iVar2 = DAT_00088ef4;\n  DAT_00088ef4 = -DAT_00088ef4;\n  if (iVar2 == 0) {\n    return 0x47;\n  }\n  FUN_00049de0();\n  return 0x47;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x12)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x12)" (( "(") (binary_expression "param_1 + 0x12" (identifier "param_1") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = DAT_00089978;" (assignment_expression "puVar3 = DAT_00089978" (identifier "puVar3") (= "=") (identifier "DAT_00089978")) (; ";")) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" (identifier "DAT_00088ef4") (= "=") (unary_expression "-DAT_00088ef4" (- "-") (identifier "DAT_00088ef4"))) (; ";")) (if_statement "if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" (if "if") (parenthesized_expression "((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8))))" (( "(") (binary_expression "(param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))" (parenthesized_expression "(param_2 == 4)" (( "(") (binary_expression "param_2 == 4" (identifier "param_2") (== "==") (number_literal "4")) () ")")) (|| "||") (parenthesized_expression "((DAT_00088f08 != 0 && (param_2 == 8)))" (( "(") (parenthesized_expression "(DAT_00088f08 != 0 && (param_2 == 8))" (( "(") (binary_expression "DAT_00088f08 != 0 && (param_2 == 8)" (binary_expression "DAT_00088f08 != 0" (identifier "DAT_00088f08") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(param_2 == 8)" (( "(") (binary_expression "param_2 == 8" (identifier "param_2") (== "==") (number_literal "8")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    __ptr = (void *)FUN_000453b0();\n    if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }\n  }" ({ "{") (expression_statement "__ptr = (void *)FUN_000453b0();" (assignment_expression "__ptr = (void *)FUN_000453b0()" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_000453b0()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000453b0()" (identifier "FUN_000453b0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      DAT_00089978 = (undefined1 *)__ptr;\n      FUN_000221d0(0,param_1,1);\n      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);\n      free(__ptr);\n      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }\n      goto LAB_000514a2;\n    }" ({ "{") (expression_statement "DAT_00089978 = (undefined1 *)__ptr;" (assignment_expression "DAT_00089978 = (undefined1 *)__ptr" (identifier "DAT_00089978") (= "=") (cast_expression "(undefined1 *)__ptr" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" (identifier "FUN_000221d0") (argument_list "(0,param_1,1)" (( "(") (number_literal "0") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);" (assignment_expression "DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr)" (identifier "DAT_00089978") (= "=") (binary_expression "puVar3 + ((int)DAT_00089978 - (int)__ptr)" (identifier "puVar3") (+ "+") (parenthesized_expression "((int)DAT_00089978 - (int)__ptr)" (( "(") (binary_expression "(int)DAT_00089978 - (int)__ptr" (cast_expression "(int)DAT_00089978" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00089978")) (- "-") (cast_expression "(int)__ptr" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr"))) () ")")))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" (if "if") (parenthesized_expression "(((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3))" (( "(") (binary_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)" (parenthesized_expression "((byte)(*(byte *)(param_1 + 0x10) - 5) < 2)" (( "(") (binary_expression "(byte)(*(byte *)(param_1 + 0x10) - 5) < 2" (call_expression "(byte)(*(byte *)(param_1 + 0x10) - 5)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(byte *)(param_1 + 0x10) - 5)" (( "(") (binary_expression "*(byte *)(param_1 + 0x10) - 5" (pointer_expression "*(byte *)(param_1 + 0x10)" (* "*") (cast_expression "(byte *)(param_1 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (- "-") (number_literal "5")) () ")"))) (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(*(byte *)(param_1 + 0x10) < 3)" (( "(") (binary_expression "*(byte *)(param_1 + 0x10) < 3" (pointer_expression "*(byte *)(param_1 + 0x10)" (* "*") (cast_expression "(byte *)(param_1 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (< "<") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n        uVar1 = *DAT_00089978;\n        *DAT_00089978 = 0;\n        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);\n        FUN_0002bd60(uVar4,puVar3);\n        *DAT_00089978 = uVar1;\n      }" ({ "{") (expression_statement "uVar1 = *DAT_00089978;" (assignment_expression "uVar1 = *DAT_00089978" (identifier "uVar1") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (expression_statement "*DAT_00089978 = 0;" (assignment_expression "*DAT_00089978 = 0" (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);" (assignment_expression "uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"missing or invalid expression `%s\'",5)" (identifier "dcgettext") (argument_list "(0,"missing or invalid expression `%s\'",5)" (( "(") (number_literal "0") (, ",") (string_literal ""missing or invalid expression `%s\'"" (" """) (string_content "missing or invalid expression `%s") (escape_sequence "\'") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd60(uVar4,puVar3);" (call_expression "FUN_0002bd60(uVar4,puVar3)" (identifier "FUN_0002bd60") (argument_list "(uVar4,puVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "*DAT_00089978 = uVar1;" (assignment_expression "*DAT_00089978 = uVar1" (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (goto_statement "goto LAB_000514a2;" (goto "goto") (statement_identifier "LAB_000514a2") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000221d0(0,param_1,1);" (call_expression "FUN_000221d0(0,param_1,1)" (identifier "FUN_000221d0") (argument_list "(0,param_1,1)" (( "(") (number_literal "0") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (labeled_statement "LAB_000514a2:\n  iVar2 = DAT_00088ef4;" (statement_identifier "LAB_000514a2") (: ":") (expression_statement "iVar2 = DAT_00088ef4;" (assignment_expression "iVar2 = DAT_00088ef4" (identifier "iVar2") (= "=") (identifier "DAT_00088ef4")) (; ";"))) (expression_statement "DAT_00088ef4 = -DAT_00088ef4;" (assignment_expression "DAT_00088ef4 = -DAT_00088ef4" (identifier "DAT_00088ef4") (= "=") (unary_expression "-DAT_00088ef4" (- "-") (identifier "DAT_00088ef4"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    return 0x47;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0x47;\n  }" ({ "{") (return_statement "return 0x47;" (return "return") (number_literal "0x47") (; ";")) (} "}"))) (expression_statement "FUN_00049de0();" (call_expression "FUN_00049de0()" (identifier "FUN_00049de0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0x47;" (return "return") (number_literal "0x47") (; ";")) (} "}")))

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

type_1 function_1(type_2 *exp,int var_1)

{
  char cVar1;
  int var_10;
  char *var_6;
  char *var_4;
  char c;
  type_3 *in_stack_ffffffc4;
  int *in_stack_ffffffc8;
  type_4 *in_stack_ffffffcc;
  type_1 got_reloc;
  int adjust;
  
  exp->X_md = 0;
  var_6 = input_line_pointer;
  intel_syntax = -intel_syntax;
  if ((var_1 == 4) || ((var_2 != 0 && (var_1 == 8)))) {
    var_4 = var_3(in_stack_ffffffc4,in_stack_ffffffc8,in_stack_ffffffcc);
    if (var_4 != (char *)0x0) {
      input_line_pointer = var_4;
      var_5(0,exp,expr_normal);
      input_line_pointer = var_6 + ((int)input_line_pointer - (int)var_4);
      var_7(var_4);
      if (((type_5)(exp->field_0x10 - 5) < 2) || ((type_5)exp->field_0x10 < 3)) {
        cVar1 = *input_line_pointer;
        *input_line_pointer = '\0';
        var_4 = (char *)var_8(0,"missing or invalid expression `%s\'",5);
        var_9(var_4,var_6);
        *input_line_pointer = cVar1;
      }
      goto LAB_000514a2;
    }
  }
  var_5(0,exp,expr_normal);
LAB_000514a2:
  var_10 = intel_syntax;
  intel_syntax = -intel_syntax;
  if (var_10 == 0) {
    return BFD_RELOC_NONE;
  }
  var_11(exp);
  return BFD_RELOC_NONE;
}


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

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

undefined4 MASKED(int param_1,int param_2)

{
  undefined1 uVar1;
  int iVar2;
  undefined1 *puVar3;
  void *__ptr;
  undefined4 uVar4;
  
  *(undefined2 *)(param_1 + 0x12) = 0;
  puVar3 = DAT_00089978;
  DAT_00088ef4 = -DAT_00088ef4;
  if ((param_2 == 4) || ((DAT_00088f08 != 0 && (param_2 == 8)))) {
    __ptr = (void *)FUN_000453b0();
    if (__ptr != (void *)0x0) {
      DAT_00089978 = (undefined1 *)__ptr;
      FUN_000221d0(0,param_1,1);
      DAT_00089978 = puVar3 + ((int)DAT_00089978 - (int)__ptr);
      free(__ptr);
      if (((byte)(*(byte *)(param_1 + 0x10) - 5) < 2) || (*(byte *)(param_1 + 0x10) < 3)) {
        uVar1 = *DAT_00089978;
        *DAT_00089978 = 0;
        uVar4 = dcgettext(0,"missing or invalid expression `%s\'",5);
        FUN_0002bd60(uVar4,puVar3);
        *DAT_00089978 = uVar1;
      }
      goto LAB_000514a2;
    }
  }
  FUN_000221d0(0,param_1,1);
LAB_000514a2:
  iVar2 = DAT_00088ef4;
  DAT_00088ef4 = -DAT_00088ef4;
  if (iVar2 == 0) {
    return 0x47;
  }
  FUN_00049de0();
  return 0x47;
}

