
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

flag_code i386_addressing_mode(void)

{
  byte bVar1;
  uint uVar2;
  reg_entry *prVar3;
  flag_code fVar4;
  
  uVar2 = i.prefixes;
  if (i.mem_operands != 0) {
    return flag_code;
  }
  prVar3 = i.base_reg;
  if ((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)) {
    return flag_code;
  }
  if (((byte)(prVar3->reg_num + 3) < 2) ||
     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')) {
    if (flag_code == CODE_32BIT) {
      return CODE_32BIT;
    }
    i.prefixes = i.prefixes + 1;
    fVar4 = CODE_32BIT;
    if (flag_code == CODE_64BIT) {
      i.prefix[2] = 'g';
      return CODE_32BIT;
    }
  }
  else {
    if (flag_code == CODE_64BIT) {
      return CODE_64BIT;
    }
    if ((bVar1 & 0x40) == 0) {
      return flag_code;
    }
    if (flag_code == CODE_16BIT) {
      return CODE_16BIT;
    }
    fVar4 = CODE_16BIT;
  }
  i.prefix[2] = 'g';
  i.prefixes = uVar2 + 1;
  bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2);
  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {
    i.prefix[2] = 'g';
    return fVar4;
  }
  i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);
  return fVar4;
}



int FUN_00135490(void)

{
  byte bVar1;
  int iVar2;
  long lVar3;
  int iVar4;
  
  iVar2 = DAT_001e3ce0;
  if (DAT_001e3c30 != 0) {
    return DAT_001e3b14;
  }
  lVar3 = DAT_001e3cb0;
  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {
    return DAT_001e3b14;
  }
  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {
    if (DAT_001e3b14 == 0) {
      return 0;
    }
    DAT_001e3ce0 = DAT_001e3ce0 + 1;
    iVar4 = 0;
    if (DAT_001e3b14 == 2) {
      DAT_001e3ce6 = 0x67;
      return 0;
    }
  }
  else {
    if (DAT_001e3b14 == 2) {
      return 2;
    }
    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {
      return DAT_001e3b14;
    }
    if (DAT_001e3b14 == 1) {
      return 1;
    }
    iVar4 = 1;
  }
  DAT_001e3ce6 = 0x67;
  DAT_001e3ce0 = iVar2 + 1;
  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);
  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {
    DAT_001e3ce6 = 0x67;
    return iVar4;
  }
  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;
  return iVar4;
}


MOV EDX,dword ptr [0x001e3c30]
MOV EAX,dword ptr [0x001e3b14]
TEST EDX,EDX
JNZ 0x001354f4
MOV RCX,qword ptr [0x001e3cb0]
TEST RCX,RCX
JZ 0x001354e8
MOVZX EDI,byte ptr [RCX + 0x11]
LEA ESI,[RDI + 0x3]
CMP SIL,0x1
JBE 0x001354f8
MOVZX ECX,byte ptr [RCX + 0xb]
TEST CL,CL
JS 0x001354f8
CMP EAX,0x2
JZ 0x001354f4
AND ECX,0x40
JZ 0x00135548
CMP EAX,0x1
JZ 0x001354f4
MOV byte ptr [0x001e3ce6],0x67
MOV EDX,0x1
ADD dword ptr [0x001e3ce0],0x1
JMP 0x0013550f
MOV RCX,qword ptr [0x001e3cb8]
TEST RCX,RCX
JNZ 0x001354ac
RET
TEST EAX,EAX
JZ 0x00135540
MOV byte ptr [0x001e3ce6],0x67
ADD dword ptr [0x001e3ce0],0x1
CMP EAX,0x2
JZ 0x00135540
MOVSXD RSI,dword ptr [0x001da78c]
LEA RCX,[0x1e3bc0]
MOVZX EDI,byte ptr [RCX + RSI*0x8 + 0x7a]
TEST DIL,0x2
JNZ 0x0013552f
AND EDI,0x4
MOV EAX,EDX
JZ 0x001354f4
MOV RAX,qword ptr [0x00153a88]
XOR qword ptr [RCX + RSI*0x8 + 0x78],RAX
MOV EAX,EDX
RET
XOR EAX,EAX
RET
RET
(translation_unit "int FUN_00135490(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}\n\n" (function_definition "int FUN_00135490(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00135490(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar2 = DAT_001e3ce0;" (assignment_expression "iVar2 = DAT_001e3ce0" identifier = identifier) ;) (if_statement "if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }" if (parenthesized_expression "(DAT_001e3c30 != 0)" ( (binary_expression "DAT_001e3c30 != 0" identifier != number_literal) )) (compound_statement "{\n    return DAT_001e3b14;\n  }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (expression_statement "lVar3 = DAT_001e3cb0;" (assignment_expression "lVar3 = DAT_001e3cb0" identifier = identifier) ;) (if_statement "if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }" if (parenthesized_expression "((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0))" ( (binary_expression "(DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" (parenthesized_expression "(DAT_001e3cb0 == 0)" ( (binary_expression "DAT_001e3cb0 == 0" identifier == number_literal) )) && (parenthesized_expression "(lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" ( (comma_expression "lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0" (assignment_expression "lVar3 = DAT_001e3cb8" identifier = identifier) , (binary_expression "DAT_001e3cb8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return DAT_001e3b14;\n  }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (if_statement "if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" if (parenthesized_expression "(((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0'))" ( (binary_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')" (parenthesized_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2)" ( (binary_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U) < 2" (call_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(lVar3 + 0x11) + 3U)" ( (binary_expression "*(char *)(lVar3 + 0x11) + 3U" (pointer_expression "*(char *)(lVar3 + 0x11)" * (cast_expression "(char *)(lVar3 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x11)" ( (binary_expression "lVar3 + 0x11" identifier + number_literal) )))) + number_literal) ))) < number_literal) )) || (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }" { (if_statement "if (DAT_001e3b14 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 0)" ( (binary_expression "DAT_001e3b14 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "DAT_001e3ce0 = DAT_001e3ce0 + 1;" (assignment_expression "DAT_001e3ce0 = DAT_001e3ce0 + 1" identifier = (binary_expression "DAT_001e3ce0 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 2)" ( (binary_expression "DAT_001e3b14 == 2" identifier == number_literal) )) (compound_statement "{\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" { (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" else (compound_statement "{\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" { (if_statement "if (DAT_001e3b14 == 2) {\n      return 2;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 2)" ( (binary_expression "DAT_001e3b14 == 2" identifier == number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }" if (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 0x40) == 0)" ( (binary_expression "(*(byte *)(lVar3 + 0xb) & 0x40) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 0x40)" ( (binary_expression "*(byte *)(lVar3 + 0xb) & 0x40" (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      return DAT_001e3b14;\n    }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (if_statement "if (DAT_001e3b14 == 1) {\n      return 1;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 1)" ( (binary_expression "DAT_001e3b14 == 1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }))) (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (expression_statement "DAT_001e3ce0 = iVar2 + 1;" (assignment_expression "DAT_001e3ce0 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);" (assignment_expression "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" identifier = (pointer_expression "*(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" * (cast_expression "(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" ( (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2" (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8" (cast_expression "(long)&DAT_001e3c38" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001e3c38" & identifier)) + (binary_expression "(long)DAT_001da78c * 8" (cast_expression "(long)DAT_001da78c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 4) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" { (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;" (assignment_expression "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" ( (pointer_expression "&DAT_001e3c38" & identifier) )) [ identifier ]) = (binary_expression "(&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" ( (pointer_expression "&DAT_001e3c38" & identifier) )) [ identifier ]) ^ identifier)) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nflag_code i386_addressing_mode(void)\n\n{\n  byte bVar1;\n  uint uVar2;\n  reg_entry *prVar3;\n  flag_code fVar4;\n  \n  uVar2 = i.prefixes;\n  if (i.mem_operands != 0) {\n    return flag_code;\n  }\n  prVar3 = i.base_reg;\n  if ((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)) {\n    return flag_code;\n  }\n  if (((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')) {\n    if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }\n    i.prefixes = i.prefixes + 1;\n    fVar4 = CODE_32BIT;\n    if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }\n  }\n  else {\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }\n  i.prefix[2] = 'g';\n  i.prefixes = uVar2 + 1;\n  bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    i.prefix[2] = 'g';\n    return fVar4;\n  }\n  i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);\n  return fVar4;\n}\n\n" comment comment (function_definition "flag_code i386_addressing_mode(void)\n\n{\n  byte bVar1;\n  uint uVar2;\n  reg_entry *prVar3;\n  flag_code fVar4;\n  \n  uVar2 = i.prefixes;\n  if (i.mem_operands != 0) {\n    return flag_code;\n  }\n  prVar3 = i.base_reg;\n  if ((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)) {\n    return flag_code;\n  }\n  if (((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')) {\n    if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }\n    i.prefixes = i.prefixes + 1;\n    fVar4 = CODE_32BIT;\n    if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }\n  }\n  else {\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }\n  i.prefix[2] = 'g';\n  i.prefixes = uVar2 + 1;\n  bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    i.prefix[2] = 'g';\n    return fVar4;\n  }\n  i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);\n  return fVar4;\n}" type_identifier (function_declarator "i386_addressing_mode(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  reg_entry *prVar3;\n  flag_code fVar4;\n  \n  uVar2 = i.prefixes;\n  if (i.mem_operands != 0) {\n    return flag_code;\n  }\n  prVar3 = i.base_reg;\n  if ((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)) {\n    return flag_code;\n  }\n  if (((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')) {\n    if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }\n    i.prefixes = i.prefixes + 1;\n    fVar4 = CODE_32BIT;\n    if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }\n  }\n  else {\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }\n  i.prefix[2] = 'g';\n  i.prefixes = uVar2 + 1;\n  bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    i.prefix[2] = 'g';\n    return fVar4;\n  }\n  i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);\n  return fVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "reg_entry *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (declaration "flag_code fVar4;" type_identifier identifier ;) (expression_statement "uVar2 = i.prefixes;" (assignment_expression "uVar2 = i.prefixes" identifier = (field_expression "i.prefixes" identifier . field_identifier)) ;) (if_statement "if (i.mem_operands != 0) {\n    return flag_code;\n  }" if (parenthesized_expression "(i.mem_operands != 0)" ( (binary_expression "i.mem_operands != 0" (field_expression "i.mem_operands" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    return flag_code;\n  }" { (return_statement "return flag_code;" return identifier ;) })) (expression_statement "prVar3 = i.base_reg;" (assignment_expression "prVar3 = i.base_reg" identifier = (field_expression "i.base_reg" identifier . field_identifier)) ;) (if_statement "if ((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)) {\n    return flag_code;\n  }" if (parenthesized_expression "((i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0))" ( (binary_expression "(i.base_reg == (reg_entry *)0x0) && (prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)" (parenthesized_expression "(i.base_reg == (reg_entry *)0x0)" ( (binary_expression "i.base_reg == (reg_entry *)0x0" (field_expression "i.base_reg" identifier . field_identifier) == (cast_expression "(reg_entry *)0x0" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0)" ( (comma_expression "prVar3 = i.index_reg, i.index_reg == (reg_entry *)0x0" (assignment_expression "prVar3 = i.index_reg" identifier = (field_expression "i.index_reg" identifier . field_identifier)) , (binary_expression "i.index_reg == (reg_entry *)0x0" (field_expression "i.index_reg" identifier . field_identifier) == (cast_expression "(reg_entry *)0x0" ( (type_descriptor "reg_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return flag_code;\n  }" { (return_statement "return flag_code;" return identifier ;) })) (if_statement "if (((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')) {\n    if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }\n    i.prefixes = i.prefixes + 1;\n    fVar4 = CODE_32BIT;\n    if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }\n  }\n  else {\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }" if (parenthesized_expression "(((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0'))" ( (binary_expression "((byte)(prVar3->reg_num + 3) < 2) ||\n     (bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')" (parenthesized_expression "((byte)(prVar3->reg_num + 3) < 2)" ( (binary_expression "(byte)(prVar3->reg_num + 3) < 2" (call_expression "(byte)(prVar3->reg_num + 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(prVar3->reg_num + 3)" ( (binary_expression "prVar3->reg_num + 3" (field_expression "prVar3->reg_num" identifier -> field_identifier) + number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0')" ( (comma_expression "bVar1 = *(byte *)((long)&prVar3->reg_type + 3), (char)bVar1 < '\0'" (assignment_expression "bVar1 = *(byte *)((long)&prVar3->reg_type + 3)" identifier = (pointer_expression "*(byte *)((long)&prVar3->reg_type + 3)" * (cast_expression "(byte *)((long)&prVar3->reg_type + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&prVar3->reg_type + 3)" ( (binary_expression "(long)&prVar3->reg_type + 3" (cast_expression "(long)&prVar3->reg_type" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&prVar3->reg_type" & (field_expression "prVar3->reg_type" identifier -> field_identifier))) + number_literal) ))))) , (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }\n    i.prefixes = i.prefixes + 1;\n    fVar4 = CODE_32BIT;\n    if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }\n  }" { (if_statement "if (flag_code == CODE_32BIT) {\n      return CODE_32BIT;\n    }" if (parenthesized_expression "(flag_code == CODE_32BIT)" ( (binary_expression "flag_code == CODE_32BIT" identifier == identifier) )) (compound_statement "{\n      return CODE_32BIT;\n    }" { (return_statement "return CODE_32BIT;" return identifier ;) })) (expression_statement "i.prefixes = i.prefixes + 1;" (assignment_expression "i.prefixes = i.prefixes + 1" (field_expression "i.prefixes" identifier . field_identifier) = (binary_expression "i.prefixes + 1" (field_expression "i.prefixes" identifier . field_identifier) + number_literal)) ;) (expression_statement "fVar4 = CODE_32BIT;" (assignment_expression "fVar4 = CODE_32BIT" identifier = identifier) ;) (if_statement "if (flag_code == CODE_64BIT) {\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }" if (parenthesized_expression "(flag_code == CODE_64BIT)" ( (binary_expression "flag_code == CODE_64BIT" identifier == identifier) )) (compound_statement "{\n      i.prefix[2] = 'g';\n      return CODE_32BIT;\n    }" { (expression_statement "i.prefix[2] = 'g';" (assignment_expression "i.prefix[2] = 'g'" (subscript_expression "i.prefix[2]" (field_expression "i.prefix" identifier . field_identifier) [ number_literal ]) = (char_literal "'g'" ' character ')) ;) (return_statement "return CODE_32BIT;" return identifier ;) })) }) (else_clause "else {\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }" else (compound_statement "{\n    if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }\n    if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }\n    if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }\n    fVar4 = CODE_16BIT;\n  }" { (if_statement "if (flag_code == CODE_64BIT) {\n      return CODE_64BIT;\n    }" if (parenthesized_expression "(flag_code == CODE_64BIT)" ( (binary_expression "flag_code == CODE_64BIT" identifier == identifier) )) (compound_statement "{\n      return CODE_64BIT;\n    }" { (return_statement "return CODE_64BIT;" return identifier ;) })) (if_statement "if ((bVar1 & 0x40) == 0) {\n      return flag_code;\n    }" if (parenthesized_expression "((bVar1 & 0x40) == 0)" ( (binary_expression "(bVar1 & 0x40) == 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      return flag_code;\n    }" { (return_statement "return flag_code;" return identifier ;) })) (if_statement "if (flag_code == CODE_16BIT) {\n      return CODE_16BIT;\n    }" if (parenthesized_expression "(flag_code == CODE_16BIT)" ( (binary_expression "flag_code == CODE_16BIT" identifier == identifier) )) (compound_statement "{\n      return CODE_16BIT;\n    }" { (return_statement "return CODE_16BIT;" return identifier ;) })) (expression_statement "fVar4 = CODE_16BIT;" (assignment_expression "fVar4 = CODE_16BIT" identifier = identifier) ;) }))) (expression_statement "i.prefix[2] = 'g';" (assignment_expression "i.prefix[2] = 'g'" (subscript_expression "i.prefix[2]" (field_expression "i.prefix" identifier . field_identifier) [ number_literal ]) = (char_literal "'g'" ' character ')) ;) (expression_statement "i.prefixes = uVar2 + 1;" (assignment_expression "i.prefixes = uVar2 + 1" (field_expression "i.prefixes" identifier . field_identifier) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2);" (assignment_expression "bVar1 = *(byte *)((long)i.types + (long)this_operand * 8 + 2)" identifier = (pointer_expression "*(byte *)((long)i.types + (long)this_operand * 8 + 2)" * (cast_expression "(byte *)((long)i.types + (long)this_operand * 8 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)i.types + (long)this_operand * 8 + 2)" ( (binary_expression "(long)i.types + (long)this_operand * 8 + 2" (binary_expression "(long)i.types + (long)this_operand * 8" (cast_expression "(long)i.types" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "i.types" identifier . field_identifier)) + (binary_expression "(long)this_operand * 8" (cast_expression "(long)this_operand" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    i.prefix[2] = 'g';\n    return fVar4;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 4) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    i.prefix[2] = 'g';\n    return fVar4;\n  }" { (expression_statement "i.prefix[2] = 'g';" (assignment_expression "i.prefix[2] = 'g'" (subscript_expression "i.prefix[2]" (field_expression "i.prefix" identifier . field_identifier) [ number_literal ]) = (char_literal "'g'" ' character ')) ;) (return_statement "return fVar4;" return identifier ;) })) (expression_statement "i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);" (assignment_expression "i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield)" (subscript_expression "i.types[this_operand]" (field_expression "i.types" identifier . field_identifier) [ identifier ]) = (call_expression "(i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield)" (parenthesized_expression "(i386_operand_type)" ( identifier )) (argument_list "(i.types[this_operand] ^ disp16_32.bitfield)" ( (binary_expression "i.types[this_operand] ^ disp16_32.bitfield" (subscript_expression "i.types[this_operand]" (field_expression "i.types" identifier . field_identifier) [ identifier ]) ^ (field_expression "disp16_32.bitfield" identifier . field_identifier)) )))) ;) (return_statement "return fVar4;" return identifier ;) })))
(translation_unit "int FUN_00135490(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}\n\n" (function_definition "int FUN_00135490(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00135490(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar2 = DAT_001e3ce0;" (assignment_expression "iVar2 = DAT_001e3ce0" identifier = identifier) ;) (if_statement "if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }" if (parenthesized_expression "(DAT_001e3c30 != 0)" ( (binary_expression "DAT_001e3c30 != 0" identifier != number_literal) )) (compound_statement "{\n    return DAT_001e3b14;\n  }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (expression_statement "lVar3 = DAT_001e3cb0;" (assignment_expression "lVar3 = DAT_001e3cb0" identifier = identifier) ;) (if_statement "if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }" if (parenthesized_expression "((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0))" ( (binary_expression "(DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" (parenthesized_expression "(DAT_001e3cb0 == 0)" ( (binary_expression "DAT_001e3cb0 == 0" identifier == number_literal) )) && (parenthesized_expression "(lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" ( (comma_expression "lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0" (assignment_expression "lVar3 = DAT_001e3cb8" identifier = identifier) , (binary_expression "DAT_001e3cb8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return DAT_001e3b14;\n  }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (if_statement "if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" if (parenthesized_expression "(((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0'))" ( (binary_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')" (parenthesized_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2)" ( (binary_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U) < 2" (call_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(lVar3 + 0x11) + 3U)" ( (binary_expression "*(char *)(lVar3 + 0x11) + 3U" (pointer_expression "*(char *)(lVar3 + 0x11)" * (cast_expression "(char *)(lVar3 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x11)" ( (binary_expression "lVar3 + 0x11" identifier + number_literal) )))) + number_literal) ))) < number_literal) )) || (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }" { (if_statement "if (DAT_001e3b14 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 0)" ( (binary_expression "DAT_001e3b14 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "DAT_001e3ce0 = DAT_001e3ce0 + 1;" (assignment_expression "DAT_001e3ce0 = DAT_001e3ce0 + 1" identifier = (binary_expression "DAT_001e3ce0 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 2)" ( (binary_expression "DAT_001e3b14 == 2" identifier == number_literal) )) (compound_statement "{\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" { (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" else (compound_statement "{\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" { (if_statement "if (DAT_001e3b14 == 2) {\n      return 2;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 2)" ( (binary_expression "DAT_001e3b14 == 2" identifier == number_literal) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }" if (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 0x40) == 0)" ( (binary_expression "(*(byte *)(lVar3 + 0xb) & 0x40) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 0x40)" ( (binary_expression "*(byte *)(lVar3 + 0xb) & 0x40" (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      return DAT_001e3b14;\n    }" { (return_statement "return DAT_001e3b14;" return identifier ;) })) (if_statement "if (DAT_001e3b14 == 1) {\n      return 1;\n    }" if (parenthesized_expression "(DAT_001e3b14 == 1)" ( (binary_expression "DAT_001e3b14 == 1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }))) (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (expression_statement "DAT_001e3ce0 = iVar2 + 1;" (assignment_expression "DAT_001e3ce0 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);" (assignment_expression "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" identifier = (pointer_expression "*(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" * (cast_expression "(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" ( (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2" (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8" (cast_expression "(long)&DAT_001e3c38" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001e3c38" & identifier)) + (binary_expression "(long)DAT_001da78c * 8" (cast_expression "(long)DAT_001da78c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 4) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" { (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" identifier = number_literal) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;" (assignment_expression "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" ( (pointer_expression "&DAT_001e3c38" & identifier) )) [ identifier ]) = (binary_expression "(&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" ( (pointer_expression "&DAT_001e3c38" & identifier) )) [ identifier ]) ^ identifier)) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return 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 (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) ^ IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00135490(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_00135490(void)" (identifier "FUN_00135490") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  long lVar3;\n  int iVar4;\n  \n  iVar2 = DAT_001e3ce0;\n  if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }\n  lVar3 = DAT_001e3cb0;\n  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }\n  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }\n  DAT_001e3ce6 = 0x67;\n  DAT_001e3ce0 = iVar2 + 1;\n  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }\n  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;\n  return iVar4;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar2 = DAT_001e3ce0;" (assignment_expression "iVar2 = DAT_001e3ce0" (identifier "iVar2") (= "=") (identifier "DAT_001e3ce0")) (; ";")) (if_statement "if (DAT_001e3c30 != 0) {\n    return DAT_001e3b14;\n  }" (if "if") (parenthesized_expression "(DAT_001e3c30 != 0)" (( "(") (binary_expression "DAT_001e3c30 != 0" (identifier "DAT_001e3c30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return DAT_001e3b14;\n  }" ({ "{") (return_statement "return DAT_001e3b14;" (return "return") (identifier "DAT_001e3b14") (; ";")) (} "}"))) (expression_statement "lVar3 = DAT_001e3cb0;" (assignment_expression "lVar3 = DAT_001e3cb0" (identifier "lVar3") (= "=") (identifier "DAT_001e3cb0")) (; ";")) (if_statement "if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {\n    return DAT_001e3b14;\n  }" (if "if") (parenthesized_expression "((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0))" (( "(") (binary_expression "(DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" (parenthesized_expression "(DAT_001e3cb0 == 0)" (( "(") (binary_expression "DAT_001e3cb0 == 0" (identifier "DAT_001e3cb0") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)" (( "(") (comma_expression "lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0" (assignment_expression "lVar3 = DAT_001e3cb8" (identifier "lVar3") (= "=") (identifier "DAT_001e3cb8")) (, ",") (binary_expression "DAT_001e3cb8 == 0" (identifier "DAT_001e3cb8") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return DAT_001e3b14;\n  }" ({ "{") (return_statement "return DAT_001e3b14;" (return "return") (identifier "DAT_001e3b14") (; ";")) (} "}"))) (if_statement "if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }\n  else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" (if "if") (parenthesized_expression "(((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0'))" (( "(") (binary_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')" (parenthesized_expression "((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2)" (( "(") (binary_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U) < 2" (call_expression "(byte)(*(char *)(lVar3 + 0x11) + 3U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(char *)(lVar3 + 0x11) + 3U)" (( "(") (binary_expression "*(char *)(lVar3 + 0x11) + 3U" (pointer_expression "*(char *)(lVar3 + 0x11)" (* "*") (cast_expression "(char *)(lVar3 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x11)" (( "(") (binary_expression "lVar3 + 0x11" (identifier "lVar3") (+ "+") (number_literal "0x11")) () ")")))) (+ "+") (number_literal "3U")) () ")"))) (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" (( "(") (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(byte *)(lVar3 + 0xb)" (* "*") (cast_expression "(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xb)" (( "(") (binary_expression "lVar3 + 0xb" (identifier "lVar3") (+ "+") (number_literal "0xb")) () ")"))))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    if (DAT_001e3b14 == 0) {\n      return 0;\n    }\n    DAT_001e3ce0 = DAT_001e3ce0 + 1;\n    iVar4 = 0;\n    if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }\n  }" ({ "{") (if_statement "if (DAT_001e3b14 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(DAT_001e3b14 == 0)" (( "(") (binary_expression "DAT_001e3b14 == 0" (identifier "DAT_001e3b14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "DAT_001e3ce0 = DAT_001e3ce0 + 1;" (assignment_expression "DAT_001e3ce0 = DAT_001e3ce0 + 1" (identifier "DAT_001e3ce0") (= "=") (binary_expression "DAT_001e3ce0 + 1" (identifier "DAT_001e3ce0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (DAT_001e3b14 == 2) {\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" (if "if") (parenthesized_expression "(DAT_001e3b14 == 2)" (( "(") (binary_expression "DAT_001e3b14 == 2" (identifier "DAT_001e3b14") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      DAT_001e3ce6 = 0x67;\n      return 0;\n    }" ({ "{") (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" (identifier "DAT_001e3ce6") (= "=") (number_literal "0x67")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" (else "else") (compound_statement "{\n    if (DAT_001e3b14 == 2) {\n      return 2;\n    }\n    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }\n    if (DAT_001e3b14 == 1) {\n      return 1;\n    }\n    iVar4 = 1;\n  }" ({ "{") (if_statement "if (DAT_001e3b14 == 2) {\n      return 2;\n    }" (if "if") (parenthesized_expression "(DAT_001e3b14 == 2)" (( "(") (binary_expression "DAT_001e3b14 == 2" (identifier "DAT_001e3b14") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      return 2;\n    }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {\n      return DAT_001e3b14;\n    }" (if "if") (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)(lVar3 + 0xb) & 0x40) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 0x40)" (( "(") (binary_expression "*(byte *)(lVar3 + 0xb) & 0x40" (pointer_expression "*(byte *)(lVar3 + 0xb)" (* "*") (cast_expression "(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xb)" (( "(") (binary_expression "lVar3 + 0xb" (identifier "lVar3") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return DAT_001e3b14;\n    }" ({ "{") (return_statement "return DAT_001e3b14;" (return "return") (identifier "DAT_001e3b14") (; ";")) (} "}"))) (if_statement "if (DAT_001e3b14 == 1) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(DAT_001e3b14 == 1)" (( "(") (binary_expression "DAT_001e3b14 == 1" (identifier "DAT_001e3b14") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" (identifier "DAT_001e3ce6") (= "=") (number_literal "0x67")) (; ";")) (expression_statement "DAT_001e3ce0 = iVar2 + 1;" (assignment_expression "DAT_001e3ce0 = iVar2 + 1" (identifier "DAT_001e3ce0") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);" (assignment_expression "bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" (* "*") (cast_expression "(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2)" (( "(") (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2" (binary_expression "(long)&DAT_001e3c38 + (long)DAT_001da78c * 8" (cast_expression "(long)&DAT_001e3c38" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_001e3c38" (& "&") (identifier "DAT_001e3c38"))) (+ "+") (binary_expression "(long)DAT_001da78c * 8" (cast_expression "(long)DAT_001da78c" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "DAT_001da78c")) (* "*") (number_literal "8"))) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 4) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    DAT_001e3ce6 = 0x67;\n    return iVar4;\n  }" ({ "{") (expression_statement "DAT_001e3ce6 = 0x67;" (assignment_expression "DAT_001e3ce6 = 0x67" (identifier "DAT_001e3ce6") (= "=") (number_literal "0x67")) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;" (assignment_expression "(&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" (( "(") (pointer_expression "&DAT_001e3c38" (& "&") (identifier "DAT_001e3c38")) () ")")) ([ "[") (identifier "DAT_001da78c") (] "]")) (= "=") (binary_expression "(&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88" (subscript_expression "(&DAT_001e3c38)[DAT_001da78c]" (parenthesized_expression "(&DAT_001e3c38)" (( "(") (pointer_expression "&DAT_001e3c38" (& "&") (identifier "DAT_001e3c38")) () ")")) ([ "[") (identifier "DAT_001da78c") (] "]")) (^ "^") (identifier "DAT_00153a88"))) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(void)

{
  type_2 var_3;
  type_3 var_5;
  type_4 *prVar3;
  type_1 fVar4;
  
  var_5 = i.prefixes;
  if (i.mem_operands != 0) {
    return type_1;
  }
  prVar3 = i.base_reg;
  if ((i.base_reg == (type_4 *)0x0) && (prVar3 = i.index_reg, i.index_reg == (type_4 *)0x0)) {
    return type_1;
  }
  if (((type_2)(prVar3->reg_num + 3) < 2) ||
     (var_3 = *(type_2 *)((long)&prVar3->reg_type + 3), (char)var_3 < '\0')) {
    if (type_1 == var_1) {
      return var_1;
    }
    i.prefixes = i.prefixes + 1;
    fVar4 = var_1;
    if (type_1 == var_2) {
      i.prefix[2] = 'g';
      return var_1;
    }
  }
  else {
    if (type_1 == var_2) {
      return var_2;
    }
    if ((var_3 & 0x40) == 0) {
      return type_1;
    }
    if (type_1 == var_4) {
      return var_4;
    }
    fVar4 = var_4;
  }
  i.prefix[2] = 'g';
  i.prefixes = var_5 + 1;
  var_3 = *(type_2 *)((long)i.types + (long)this_operand * 8 + 2);
  if (((var_3 & 2) == 0) && ((var_3 & 4) == 0)) {
    i.prefix[2] = 'g';
    return fVar4;
  }
  i.types[this_operand] = (i386_operand_type)(i.types[this_operand] ^ disp16_32.bitfield);
  return fVar4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (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: (primitive_type) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (char_literal (escape_sequence)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (identifier)))) (return_statement (identifier)))))

int MASKED(void)

{
  byte bVar1;
  int iVar2;
  long lVar3;
  int iVar4;
  
  iVar2 = DAT_001e3ce0;
  if (DAT_001e3c30 != 0) {
    return DAT_001e3b14;
  }
  lVar3 = DAT_001e3cb0;
  if ((DAT_001e3cb0 == 0) && (lVar3 = DAT_001e3cb8, DAT_001e3cb8 == 0)) {
    return DAT_001e3b14;
  }
  if (((byte)(*(char *)(lVar3 + 0x11) + 3U) < 2) || ((char)*(byte *)(lVar3 + 0xb) < '\0')) {
    if (DAT_001e3b14 == 0) {
      return 0;
    }
    DAT_001e3ce0 = DAT_001e3ce0 + 1;
    iVar4 = 0;
    if (DAT_001e3b14 == 2) {
      DAT_001e3ce6 = 0x67;
      return 0;
    }
  }
  else {
    if (DAT_001e3b14 == 2) {
      return 2;
    }
    if ((*(byte *)(lVar3 + 0xb) & 0x40) == 0) {
      return DAT_001e3b14;
    }
    if (DAT_001e3b14 == 1) {
      return 1;
    }
    iVar4 = 1;
  }
  DAT_001e3ce6 = 0x67;
  DAT_001e3ce0 = iVar2 + 1;
  bVar1 = *(byte *)((long)&DAT_001e3c38 + (long)DAT_001da78c * 8 + 2);
  if (((bVar1 & 2) == 0) && ((bVar1 & 4) == 0)) {
    DAT_001e3ce6 = 0x67;
    return iVar4;
  }
  (&DAT_001e3c38)[DAT_001da78c] = (&DAT_001e3c38)[DAT_001da78c] ^ DAT_00153a88;
  return iVar4;
}

