
/* WARNING: Unknown calling convention */

int and(void)

{
  char *pcVar1;
  uint uVar2;
  int iVar3;
  undefined8 extraout_RDX;
  
  uVar2 = term();
  if ((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&
     (pcVar1[2] == '\0')) {
    pos = pos + 1;
    iVar3 = and();
    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);
  }
  return uVar2;
}



uint FUN_001738a9(void)

{
  char *pcVar1;
  uint uVar2;
  int iVar3;
  undefined8 extraout_RDX;
  
  uVar2 = FUN_00173662();
  if (DAT_00215aac < DAT_00215aa8) {
    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);
    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {
      DAT_00215aac = DAT_00215aac + 1;
      iVar3 = FUN_001738a9();
      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);
    }
  }
  return uVar2;
}


PUSH RBX
CALL 0x00173662
MOV EBX,EAX
MOV EAX,dword ptr [0x00215aac]
CMP EAX,dword ptr [0x00215aa8]
JGE 0x001738d2
MOVSXD RDX,EAX
MOV RCX,qword ptr [0x00215aa0]
MOV RDX,qword ptr [RCX + RDX*0x8]
CMP byte ptr [RDX],0x2d
JZ 0x001738d6
MOV EAX,EBX
POP RBX
RET
CMP byte ptr [RDX + 0x1],0x61
JNZ 0x001738d2
CMP byte ptr [RDX + 0x2],0x0
JNZ 0x001738d2
ADD EAX,0x1
MOV dword ptr [0x00215aac],EAX
CALL 0x001738a9
TEST EBX,EBX
SETNZ DL
TEST EAX,EAX
SETNZ BL
MOVZX EBX,BL
AND EBX,EDX
JMP 0x001738d2
(translation_unit "uint FUN_001738a9(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "uint FUN_001738a9(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001738a9(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 extraout_RDX;" type_identifier identifier ;) (expression_statement "uVar2 = FUN_00173662();" (assignment_expression "uVar2 = FUN_00173662()" identifier = (call_expression "FUN_00173662()" identifier (argument_list "()" ( )))) ;) (if_statement "if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" if (parenthesized_expression "(DAT_00215aac < DAT_00215aa8)" ( (binary_expression "DAT_00215aac < DAT_00215aa8" identifier < identifier) )) (compound_statement "{\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);" (assignment_expression "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" identifier = (pointer_expression "*(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" * (cast_expression "(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00215aa0 + (long)DAT_00215aac * 8)" ( (binary_expression "DAT_00215aa0 + (long)DAT_00215aac * 8" identifier + (binary_expression "(long)DAT_00215aac * 8" (cast_expression "(long)DAT_00215aac" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) ;) (if_statement "if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" if (parenthesized_expression "(((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0'))" ( (binary_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')" (parenthesized_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a'))" ( (binary_expression "(*pcVar1 == '-') && (pcVar1[1] == 'a')" (parenthesized_expression "(*pcVar1 == '-')" ( (binary_expression "*pcVar1 == '-'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar1[1] == 'a')" ( (binary_expression "pcVar1[1] == 'a'" (subscript_expression "pcVar1[1]" identifier [ number_literal ]) == (char_literal "'a'" ' character ')) ))) )) && (parenthesized_expression "(pcVar1[2] == '\0')" ( (binary_expression "pcVar1[2] == '\0'" (subscript_expression "pcVar1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" { (expression_statement "DAT_00215aac = DAT_00215aac + 1;" (assignment_expression "DAT_00215aac = DAT_00215aac + 1" identifier = (binary_expression "DAT_00215aac + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_001738a9();" (assignment_expression "iVar3 = FUN_001738a9()" identifier = (call_expression "FUN_001738a9()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);" (assignment_expression "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier = (binary_expression "(uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) & (cast_expression "(uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier (argument_list "((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (call_expression "(int7)((ulong)extraout_RDX >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "((ulong)extraout_RDX >> 8)" ( (binary_expression "(ulong)extraout_RDX >> 8" (cast_expression "(ulong)extraout_RDX" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "uVar2 != 0" identifier != number_literal) )))))) ;) })) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint and(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = term();\n  if ((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0')) {\n    pos = pos + 1;\n    iVar3 = and();\n    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n  }\n  return uVar2;\n}\n\n" comment (function_definition "int and(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = term();\n  if ((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0')) {\n    pos = pos + 1;\n    iVar3 = and();\n    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n  }\n  return uVar2;\n}" primitive_type (function_declarator "and(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = term();\n  if ((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0')) {\n    pos = pos + 1;\n    iVar3 = and();\n    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n  }\n  return uVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 extraout_RDX;" type_identifier identifier ;) (expression_statement "uVar2 = term();" (assignment_expression "uVar2 = term()" identifier = (call_expression "term()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0')) {\n    pos = pos + 1;\n    iVar3 = and();\n    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n  }" if (parenthesized_expression "((((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0'))" ( (binary_expression "(((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&\n     (pcVar1[2] == '\0')" (parenthesized_expression "(((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a'))" ( (binary_expression "((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')) && (pcVar1[1] == 'a')" (parenthesized_expression "((pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-'))" ( (binary_expression "(pos < argc) && (pcVar1 = argv[pos], *pcVar1 == '-')" (parenthesized_expression "(pos < argc)" ( (binary_expression "pos < argc" identifier < identifier) )) && (parenthesized_expression "(pcVar1 = argv[pos], *pcVar1 == '-')" ( (comma_expression "pcVar1 = argv[pos], *pcVar1 == '-'" (assignment_expression "pcVar1 = argv[pos]" identifier = (subscript_expression "argv[pos]" identifier [ identifier ])) , (binary_expression "*pcVar1 == '-'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'-'" ' character '))) ))) )) && (parenthesized_expression "(pcVar1[1] == 'a')" ( (binary_expression "pcVar1[1] == 'a'" (subscript_expression "pcVar1[1]" identifier [ number_literal ]) == (char_literal "'a'" ' character ')) ))) )) && (parenthesized_expression "(pcVar1[2] == '\0')" ( (binary_expression "pcVar1[2] == '\0'" (subscript_expression "pcVar1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pos = pos + 1;\n    iVar3 = and();\n    uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n  }" { (expression_statement "pos = pos + 1;" (assignment_expression "pos = pos + 1" identifier = (binary_expression "pos + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = and();" (assignment_expression "iVar3 = and()" identifier = (call_expression "and()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);" (assignment_expression "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier = (binary_expression "(uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) & (cast_expression "(uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier (argument_list "((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (call_expression "(int7)((ulong)extraout_RDX >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "((ulong)extraout_RDX >> 8)" ( (binary_expression "(ulong)extraout_RDX >> 8" (cast_expression "(ulong)extraout_RDX" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "uVar2 != 0" identifier != number_literal) )))))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "uint FUN_001738a9(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "uint FUN_001738a9(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001738a9(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined8 extraout_RDX;" type_identifier identifier ;) (expression_statement "uVar2 = FUN_00173662();" (assignment_expression "uVar2 = FUN_00173662()" identifier = (call_expression "FUN_00173662()" identifier (argument_list "()" ( )))) ;) (if_statement "if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" if (parenthesized_expression "(DAT_00215aac < DAT_00215aa8)" ( (binary_expression "DAT_00215aac < DAT_00215aa8" identifier < identifier) )) (compound_statement "{\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);" (assignment_expression "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" identifier = (pointer_expression "*(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" * (cast_expression "(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00215aa0 + (long)DAT_00215aac * 8)" ( (binary_expression "DAT_00215aa0 + (long)DAT_00215aac * 8" identifier + (binary_expression "(long)DAT_00215aac * 8" (cast_expression "(long)DAT_00215aac" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) ;) (if_statement "if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" if (parenthesized_expression "(((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0'))" ( (binary_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')" (parenthesized_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a'))" ( (binary_expression "(*pcVar1 == '-') && (pcVar1[1] == 'a')" (parenthesized_expression "(*pcVar1 == '-')" ( (binary_expression "*pcVar1 == '-'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar1[1] == 'a')" ( (binary_expression "pcVar1[1] == 'a'" (subscript_expression "pcVar1[1]" identifier [ number_literal ]) == (char_literal "'a'" ' character ')) ))) )) && (parenthesized_expression "(pcVar1[2] == '\0')" ( (binary_expression "pcVar1[2] == '\0'" (subscript_expression "pcVar1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" { (expression_statement "DAT_00215aac = DAT_00215aac + 1;" (assignment_expression "DAT_00215aac = DAT_00215aac + 1" identifier = (binary_expression "DAT_00215aac + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_001738a9();" (assignment_expression "iVar3 = FUN_001738a9()" identifier = (call_expression "FUN_001738a9()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);" (assignment_expression "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier = (binary_expression "(uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) & (cast_expression "(uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" identifier (argument_list "((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" ( (call_expression "(int7)((ulong)extraout_RDX >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "((ulong)extraout_RDX >> 8)" ( (binary_expression "(ulong)extraout_RDX >> 8" (cast_expression "(ulong)extraout_RDX" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "uVar2 != 0" identifier != number_literal) )))))) ;) })) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))) & (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (binary_expression IDENT != LIT) )))))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_001738a9(void)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" (type_identifier "uint") (function_declarator "FUN_001738a9(void)" (identifier "FUN_001738a9") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  int iVar3;\n  undefined8 extraout_RDX;\n  \n  uVar2 = FUN_00173662();\n  if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined8 extraout_RDX;" (type_identifier "undefined8") (identifier "extraout_RDX") (; ";")) (expression_statement "uVar2 = FUN_00173662();" (assignment_expression "uVar2 = FUN_00173662()" (identifier "uVar2") (= "=") (call_expression "FUN_00173662()" (identifier "FUN_00173662") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (DAT_00215aac < DAT_00215aa8) {\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00215aac < DAT_00215aa8)" (( "(") (binary_expression "DAT_00215aac < DAT_00215aa8" (identifier "DAT_00215aac") (< "<") (identifier "DAT_00215aa8")) () ")")) (compound_statement "{\n    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);\n    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);" (assignment_expression "pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" (* "*") (cast_expression "(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00215aa0 + (long)DAT_00215aac * 8)" (( "(") (binary_expression "DAT_00215aa0 + (long)DAT_00215aac * 8" (identifier "DAT_00215aa0") (+ "+") (binary_expression "(long)DAT_00215aac * 8" (cast_expression "(long)DAT_00215aac" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "DAT_00215aac")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" (if "if") (parenthesized_expression "(((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0'))" (( "(") (binary_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')" (parenthesized_expression "((*pcVar1 == '-') && (pcVar1[1] == 'a'))" (( "(") (binary_expression "(*pcVar1 == '-') && (pcVar1[1] == 'a')" (parenthesized_expression "(*pcVar1 == '-')" (( "(") (binary_expression "*pcVar1 == '-'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar1[1] == 'a')" (( "(") (binary_expression "pcVar1[1] == 'a'" (subscript_expression "pcVar1[1]" (identifier "pcVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'a'" (' "'") (character "a") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar1[2] == '\0')" (( "(") (binary_expression "pcVar1[2] == '\0'" (subscript_expression "pcVar1[2]" (identifier "pcVar1") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      DAT_00215aac = DAT_00215aac + 1;\n      iVar3 = FUN_001738a9();\n      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);\n    }" ({ "{") (expression_statement "DAT_00215aac = DAT_00215aac + 1;" (assignment_expression "DAT_00215aac = DAT_00215aac + 1" (identifier "DAT_00215aac") (= "=") (binary_expression "DAT_00215aac + 1" (identifier "DAT_00215aac") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = FUN_001738a9();" (assignment_expression "iVar3 = FUN_001738a9()" (identifier "iVar3") (= "=") (call_expression "FUN_001738a9()" (identifier "FUN_001738a9") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);" (assignment_expression "uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (identifier "uVar2") (= "=") (binary_expression "(uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (call_expression "(uint)(iVar3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")"))) (& "&") (cast_expression "(uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (identifier "CONCAT71") (argument_list "((int7)((ulong)extraout_RDX >> 8),uVar2 != 0)" (( "(") (call_expression "(int7)((ulong)extraout_RDX >> 8)" (parenthesized_expression "(int7)" (( "(") (identifier "int7") () ")")) (argument_list "((ulong)extraout_RDX >> 8)" (( "(") (binary_expression "(ulong)extraout_RDX >> 8" (cast_expression "(ulong)extraout_RDX" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "extraout_RDX")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")))))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  char *pcVar1;
  type_1 var_6;
  int var_4;
  type_2 extraout_RDX;
  
  var_6 = var_1();
  if ((((var_2 < var_3) && (pcVar1 = argv[var_2], *pcVar1 == '-')) && (pcVar1[1] == 'a')) &&
     (pcVar1[2] == '\0')) {
    var_2 = var_2 + 1;
    var_4 = function_1();
    var_6 = (type_1)(var_4 != 0) & (type_1)var_5((int7)((type_3)extraout_RDX >> 8),var_6 != 0);
  }
  return var_6;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (binary_expression left: (identifier) right: (number_literal)))))))))))) (return_statement (identifier)))))

uint MASKED(void)

{
  char *pcVar1;
  uint uVar2;
  int iVar3;
  undefined8 extraout_RDX;
  
  uVar2 = FUN_00173662();
  if (DAT_00215aac < DAT_00215aa8) {
    pcVar1 = *(char **)(DAT_00215aa0 + (long)DAT_00215aac * 8);
    if (((*pcVar1 == '-') && (pcVar1[1] == 'a')) && (pcVar1[2] == '\0')) {
      DAT_00215aac = DAT_00215aac + 1;
      iVar3 = MASKED();
      uVar2 = (uint)(iVar3 != 0) & (uint)CONCAT71((int7)((ulong)extraout_RDX >> 8),uVar2 != 0);
    }
  }
  return uVar2;
}

