
void setstackmark(stackmark *mark)

{
  uint uVar1;
  
  uVar1 = 0;
  if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {
    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)
    ;
  }
  pushstackmark(mark,(long)(int)uVar1);
  return;
}



void FUN_001490af(undefined8 param_1)

{
  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&
                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);
  return;
}


SUB RSP,0x8
MOV RAX,qword ptr [0x001c65e8]
MOV RDX,qword ptr [RAX]
LEA RCX,[RDX + 0x8]
MOV ESI,0x0
CMP qword ptr [RAX + 0x8],RCX
JNZ 0x001490db
ADD RAX,0x20
CMP RDX,RAX
SETNZ SIL
MOVZX ESI,SIL
MOVSXD RSI,ESI
CALL 0x00149081
ADD RSP,0x8
RET
(translation_unit "void FUN_001490af(undefined8 param_1)\n\n{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}\n\n" (function_definition "void FUN_001490af(undefined8 param_1)\n\n{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" primitive_type (function_declarator "FUN_001490af(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" { (expression_statement "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);" (call_expression "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" identifier (argument_list "(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" ( identifier , (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1" (cast_expression "(long *)DAT_001c65e8[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "DAT_001c65e8[1]" identifier [ number_literal ])) == (binary_expression "(long *)*DAT_001c65e8 + 1" (cast_expression "(long *)*DAT_001c65e8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_001c65e8" * identifier)) + number_literal)) && (binary_expression "(long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (cast_expression "(long *)*DAT_001c65e8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_001c65e8" * identifier)) != (binary_expression "DAT_001c65e8 + 4" identifier + number_literal))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void setstackmark(stackmark *mark)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {\n    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;\n  }\n  pushstackmark(mark,(long)(int)uVar1);\n  return;\n}\n\n" (function_definition "void setstackmark(stackmark *mark)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {\n    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;\n  }\n  pushstackmark(mark,(long)(int)uVar1);\n  return;\n}" primitive_type (function_declarator "setstackmark(stackmark *mark)" identifier (parameter_list "(stackmark *mark)" ( (parameter_declaration "stackmark *mark" type_identifier (pointer_declarator "*mark" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {\n    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;\n  }\n  pushstackmark(mark,(long)(int)uVar1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {\n    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;\n  }" if (parenthesized_expression "(ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space)" ( (binary_expression "ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space" (field_expression "ash_ptr_to_globals_memstack->g_stacknxt" identifier -> field_identifier) == (field_expression "ash_ptr_to_globals_memstack->g_stackp->space" (field_expression "ash_ptr_to_globals_memstack->g_stackp" identifier -> field_identifier) -> field_identifier)) )) (compound_statement "{\n    uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;\n  }" { (expression_statement "uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)\n    ;" (assignment_expression "uVar1 = (uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)" identifier = (call_expression "(uint)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)" ( (binary_expression "ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase" (field_expression "ash_ptr_to_globals_memstack->g_stackp" identifier -> field_identifier) != (pointer_expression "&ash_ptr_to_globals_memstack->stackbase" & (field_expression "ash_ptr_to_globals_memstack->stackbase" identifier -> field_identifier))) )))) ;) })) (expression_statement "pushstackmark(mark,(long)(int)uVar1);" (call_expression "pushstackmark(mark,(long)(int)uVar1)" identifier (argument_list "(mark,(long)(int)uVar1)" ( identifier , (cast_expression "(long)(int)uVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001490af(undefined8 param_1)\n\n{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}\n\n" (function_definition "void FUN_001490af(undefined8 param_1)\n\n{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" primitive_type (function_declarator "FUN_001490af(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" { (expression_statement "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);" (call_expression "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" identifier (argument_list "(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" ( identifier , (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1" (cast_expression "(long *)DAT_001c65e8[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "DAT_001c65e8[1]" identifier [ number_literal ])) == (binary_expression "(long *)*DAT_001c65e8 + 1" (cast_expression "(long *)*DAT_001c65e8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_001c65e8" * identifier)) + number_literal)) && (binary_expression "(long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (cast_expression "(long *)*DAT_001c65e8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_001c65e8" * identifier)) != (binary_expression "DAT_001c65e8 + 4" identifier + number_literal))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT)) && (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001490af(undefined8 param_1)\n\n{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001490af(undefined8 param_1)" (identifier "FUN_001490af") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);\n  return;\n}" ({ "{") (expression_statement "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);" (call_expression "FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" (identifier "FUN_00149081") (argument_list "(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4)" (( "(") (identifier "param_1") (, ",") (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&\n                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (binary_expression "(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1" (cast_expression "(long *)DAT_001c65e8[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "DAT_001c65e8[1]" (identifier "DAT_001c65e8") ([ "[") (number_literal "1") (] "]"))) (== "==") (binary_expression "(long *)*DAT_001c65e8 + 1" (cast_expression "(long *)*DAT_001c65e8" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_001c65e8" (* "*") (identifier "DAT_001c65e8"))) (+ "+") (number_literal "1"))) (&& "&&") (binary_expression "(long *)*DAT_001c65e8 != DAT_001c65e8 + 4" (cast_expression "(long *)*DAT_001c65e8" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_001c65e8" (* "*") (identifier "DAT_001c65e8"))) (!= "!=") (binary_expression "DAT_001c65e8 + 4" (identifier "DAT_001c65e8") (+ "+") (number_literal "4")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *mark)

{
  type_2 uVar1;
  
  uVar1 = 0;
  if (ash_ptr_to_globals_memstack->g_stacknxt == ash_ptr_to_globals_memstack->g_stackp->space) {
    uVar1 = (type_2)(ash_ptr_to_globals_memstack->g_stackp != &ash_ptr_to_globals_memstack->stackbase)
    ;
  }
  var_1(mark,(long)(int)uVar1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (binary_expression left: (identifier) right: (number_literal))))))) (return_statement))))

void MASKED(undefined8 param_1)

{
  FUN_00149081(param_1,(long *)DAT_001c65e8[1] == (long *)*DAT_001c65e8 + 1 &&
                       (long *)*DAT_001c65e8 != DAT_001c65e8 + 4);
  return;
}

