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

_Bool Curl_meets_timecondition(Curl_easy *data,time_t timeofdoc)

{
  long lVar1;
  _Bool _Var2;
  
  _Var2 = true;
  if ((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)) {
    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {
      _Var2 = true;
      if (lVar1 <= timeofdoc) {
        Curl_infof(data,"The requested document is not old enough\n");
        (data->info).timecond = true;
        _Var2 = false;
      }
    }
    else if (timeofdoc <= lVar1) {
      Curl_infof(data,"The requested document is not new enough\n");
      (data->info).timecond = true;
      _Var2 = false;
    }
    return _Var2;
  }
  return _Var2;
}



undefined8 FUN_0012c569(long param_1,long param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  uVar2 = 1;
  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {
    if (*(int *)(param_1 + 0xa68) == 2) {
      uVar2 = 1;
      if (lVar1 <= param_2) {
        FUN_0011a8d8(param_1,"The requested document is not old enough\n");
        *(undefined1 *)(param_1 + 0x17b8) = 1;
        uVar2 = 0;
      }
    }
    else if (param_2 <= lVar1) {
      FUN_0011a8d8(param_1,"The requested document is not new enough\n");
      *(undefined1 *)(param_1 + 0x17b8) = 1;
      uVar2 = 0;
    }
    return uVar2;
  }
  return uVar2;
}


MOV EAX,0x1
TEST RSI,RSI
JZ 0x0012c5db
MOV RDX,qword ptr [RDI + 0xa70]
TEST RDX,RDX
JZ 0x0012c5db
PUSH RBX
MOV RBX,RDI
CMP dword ptr [RDI + 0xa68],0x2
JZ 0x0012c5b2
CMP RDX,RSI
JGE 0x0012c593
POP RBX
RET
LEA RSI,[0x16ef48]
MOV EAX,0x0
CALL 0x0011a8d8
MOV byte ptr [RBX + 0x17b8],0x1
MOV EAX,0x0
JMP 0x0012c591
MOV EAX,0x1
CMP RDX,RSI
JG 0x0012c591
LEA RSI,[0x16ef78]
MOV EAX,0x0
CALL 0x0011a8d8
MOV byte ptr [RBX + 0x17b8],0x1
MOV EAX,0x0
JMP 0x0012c591
RET
(translation_unit "undefined8 FUN_0012c569(long param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 FUN_0012c569(long param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0012c569(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" if (parenthesized_expression "((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0))" ( (binary_expression "(param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" ( (comma_expression "lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0" (assignment_expression "lVar1 = *(long *)(param_1 + 0xa70)" identifier = (pointer_expression "*(long *)(param_1 + 0xa70)" * (cast_expression "(long *)(param_1 + 0xa70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa70)" ( (binary_expression "param_1 + 0xa70" identifier + number_literal) ))))) , (binary_expression "lVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xa68) == 2)" ( (binary_expression "*(int *)(param_1 + 0xa68) == 2" (pointer_expression "*(int *)(param_1 + 0xa68)" * (cast_expression "(int *)(param_1 + 0xa68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa68)" ( (binary_expression "param_1 + 0xa68" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(lVar1 <= param_2)" ( (binary_expression "lVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" { (expression_statement "FUN_0011a8d8(param_1,"The requested document is not old enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not old enough\n")" identifier (argument_list "(param_1,"The requested document is not old enough\n")" ( identifier , (string_literal ""The requested document is not old enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" * (cast_expression "(undefined1 *)(param_1 + 0x17b8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17b8)" ( (binary_expression "param_1 + 0x17b8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) }) (else_clause "else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" else (if_statement "if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(param_2 <= lVar1)" ( (binary_expression "param_2 <= lVar1" identifier <= identifier) )) (compound_statement "{\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" { (expression_statement "FUN_0011a8d8(param_1,"The requested document is not new enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not new enough\n")" identifier (argument_list "(param_1,"The requested document is not new enough\n")" ( identifier , (string_literal ""The requested document is not new enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" * (cast_expression "(undefined1 *)(param_1 + 0x17b8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17b8)" ( (binary_expression "param_1 + 0x17b8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })))) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\n_Bool Curl_meets_timecondition(Curl_easy *data,time_t timeofdoc)\n\n{\n  long lVar1;\n  _Bool _Var2;\n  \n  _Var2 = true;\n  if ((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)) {\n    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }\n    return _Var2;\n  }\n  return _Var2;\n}\n\n" comment (function_definition "_Bool Curl_meets_timecondition(Curl_easy *data,time_t timeofdoc)\n\n{\n  long lVar1;\n  _Bool _Var2;\n  \n  _Var2 = true;\n  if ((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)) {\n    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }\n    return _Var2;\n  }\n  return _Var2;\n}" type_identifier (function_declarator "Curl_meets_timecondition(Curl_easy *data,time_t timeofdoc)" identifier (parameter_list "(Curl_easy *data,time_t timeofdoc)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "time_t timeofdoc" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  _Bool _Var2;\n  \n  _Var2 = true;\n  if ((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)) {\n    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }\n    return _Var2;\n  }\n  return _Var2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (expression_statement "_Var2 = true;" (assignment_expression "_Var2 = true" identifier = true) ;) (if_statement "if ((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)) {\n    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }\n    return _Var2;\n  }" if (parenthesized_expression "((timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0))" ( (binary_expression "(timeofdoc != 0) && (lVar1 = (data->set).timevalue, lVar1 != 0)" (parenthesized_expression "(timeofdoc != 0)" ( (binary_expression "timeofdoc != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar1 = (data->set).timevalue, lVar1 != 0)" ( (comma_expression "lVar1 = (data->set).timevalue, lVar1 != 0" (assignment_expression "lVar1 = (data->set).timevalue" identifier = (field_expression "(data->set).timevalue" (parenthesized_expression "(data->set)" ( (field_expression "data->set" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "lVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }\n    return _Var2;\n  }" { (if_statement "if ((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE) {\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }\n    else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }" if (parenthesized_expression "((data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE)" ( (binary_expression "(data->set).timecondition == CURL_TIMECOND_IFUNMODSINCE" (field_expression "(data->set).timecondition" (parenthesized_expression "(data->set)" ( (field_expression "data->set" identifier -> field_identifier) )) . field_identifier) == identifier) )) (compound_statement "{\n      _Var2 = true;\n      if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }\n    }" { (expression_statement "_Var2 = true;" (assignment_expression "_Var2 = true" identifier = true) ;) (if_statement "if (lVar1 <= timeofdoc) {\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }" if (parenthesized_expression "(lVar1 <= timeofdoc)" ( (binary_expression "lVar1 <= timeofdoc" identifier <= identifier) )) (compound_statement "{\n        Curl_infof(data,"The requested document is not old enough\n");\n        (data->info).timecond = true;\n        _Var2 = false;\n      }" { (expression_statement "Curl_infof(data,"The requested document is not old enough\n");" (call_expression "Curl_infof(data,"The requested document is not old enough\n")" identifier (argument_list "(data,"The requested document is not old enough\n")" ( identifier , (string_literal ""The requested document is not old enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "(data->info).timecond = true;" (assignment_expression "(data->info).timecond = true" (field_expression "(data->info).timecond" (parenthesized_expression "(data->info)" ( (field_expression "data->info" identifier -> field_identifier) )) . field_identifier) = true) ;) (expression_statement "_Var2 = false;" (assignment_expression "_Var2 = false" identifier = false) ;) })) }) (else_clause "else if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }" else (if_statement "if (timeofdoc <= lVar1) {\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }" if (parenthesized_expression "(timeofdoc <= lVar1)" ( (binary_expression "timeofdoc <= lVar1" identifier <= identifier) )) (compound_statement "{\n      Curl_infof(data,"The requested document is not new enough\n");\n      (data->info).timecond = true;\n      _Var2 = false;\n    }" { (expression_statement "Curl_infof(data,"The requested document is not new enough\n");" (call_expression "Curl_infof(data,"The requested document is not new enough\n")" identifier (argument_list "(data,"The requested document is not new enough\n")" ( identifier , (string_literal ""The requested document is not new enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "(data->info).timecond = true;" (assignment_expression "(data->info).timecond = true" (field_expression "(data->info).timecond" (parenthesized_expression "(data->info)" ( (field_expression "data->info" identifier -> field_identifier) )) . field_identifier) = true) ;) (expression_statement "_Var2 = false;" (assignment_expression "_Var2 = false" identifier = false) ;) })))) (return_statement "return _Var2;" return identifier ;) })) (return_statement "return _Var2;" return identifier ;) })))
(translation_unit "undefined8 FUN_0012c569(long param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 FUN_0012c569(long param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0012c569(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" if (parenthesized_expression "((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0))" ( (binary_expression "(param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" ( (comma_expression "lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0" (assignment_expression "lVar1 = *(long *)(param_1 + 0xa70)" identifier = (pointer_expression "*(long *)(param_1 + 0xa70)" * (cast_expression "(long *)(param_1 + 0xa70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa70)" ( (binary_expression "param_1 + 0xa70" identifier + number_literal) ))))) , (binary_expression "lVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xa68) == 2)" ( (binary_expression "*(int *)(param_1 + 0xa68) == 2" (pointer_expression "*(int *)(param_1 + 0xa68)" * (cast_expression "(int *)(param_1 + 0xa68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa68)" ( (binary_expression "param_1 + 0xa68" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (if_statement "if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" if (parenthesized_expression "(lVar1 <= param_2)" ( (binary_expression "lVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" { (expression_statement "FUN_0011a8d8(param_1,"The requested document is not old enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not old enough\n")" identifier (argument_list "(param_1,"The requested document is not old enough\n")" ( identifier , (string_literal ""The requested document is not old enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" * (cast_expression "(undefined1 *)(param_1 + 0x17b8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17b8)" ( (binary_expression "param_1 + 0x17b8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) }) (else_clause "else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" else (if_statement "if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" if (parenthesized_expression "(param_2 <= lVar1)" ( (binary_expression "param_2 <= lVar1" identifier <= identifier) )) (compound_statement "{\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" { (expression_statement "FUN_0011a8d8(param_1,"The requested document is not new enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not new enough\n")" identifier (argument_list "(param_1,"The requested document is not new enough\n")" ( identifier , (string_literal ""The requested document is not new enough\n"" " string_content escape_sequence ") ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" * (cast_expression "(undefined1 *)(param_1 + 0x17b8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17b8)" ( (binary_expression "param_1 + 0x17b8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })))) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })))) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_0012c569(long param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" (type_identifier "undefined8") (function_declarator "FUN_0012c569(long param_1,long param_2)" (identifier "FUN_0012c569") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  uVar2 = 1;\n  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0))" (( "(") (binary_expression "(param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)" (( "(") (comma_expression "lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0" (assignment_expression "lVar1 = *(long *)(param_1 + 0xa70)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0xa70)" (* "*") (cast_expression "(long *)(param_1 + 0xa70)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa70)" (( "(") (binary_expression "param_1 + 0xa70" (identifier "param_1") (+ "+") (number_literal "0xa70")) () ")"))))) (, ",") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0xa68) == 2) {\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }\n    else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xa68) == 2)" (( "(") (binary_expression "*(int *)(param_1 + 0xa68) == 2" (pointer_expression "*(int *)(param_1 + 0xa68)" (* "*") (cast_expression "(int *)(param_1 + 0xa68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa68)" (( "(") (binary_expression "param_1 + 0xa68" (identifier "param_1") (+ "+") (number_literal "0xa68")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      uVar2 = 1;\n      if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }\n    }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (if_statement "if (lVar1 <= param_2) {\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" (if "if") (parenthesized_expression "(lVar1 <= param_2)" (( "(") (binary_expression "lVar1 <= param_2" (identifier "lVar1") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n        FUN_0011a8d8(param_1,"The requested document is not old enough\n");\n        *(undefined1 *)(param_1 + 0x17b8) = 1;\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "FUN_0011a8d8(param_1,"The requested document is not old enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not old enough\n")" (identifier "FUN_0011a8d8") (argument_list "(param_1,"The requested document is not old enough\n")" (( "(") (identifier "param_1") (, ",") (string_literal ""The requested document is not old enough\n"" (" """) (string_content "The requested document is not old enough") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x17b8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x17b8)" (( "(") (binary_expression "param_1 + 0x17b8" (identifier "param_1") (+ "+") (number_literal "0x17b8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" (else "else") (if_statement "if (param_2 <= lVar1) {\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" (if "if") (parenthesized_expression "(param_2 <= lVar1)" (( "(") (binary_expression "param_2 <= lVar1" (identifier "param_2") (<= "<=") (identifier "lVar1")) () ")")) (compound_statement "{\n      FUN_0011a8d8(param_1,"The requested document is not new enough\n");\n      *(undefined1 *)(param_1 + 0x17b8) = 1;\n      uVar2 = 0;\n    }" ({ "{") (expression_statement "FUN_0011a8d8(param_1,"The requested document is not new enough\n");" (call_expression "FUN_0011a8d8(param_1,"The requested document is not new enough\n")" (identifier "FUN_0011a8d8") (argument_list "(param_1,"The requested document is not new enough\n")" (( "(") (identifier "param_1") (, ",") (string_literal ""The requested document is not new enough\n"" (" """) (string_content "The requested document is not new enough") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x17b8) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x17b8) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x17b8)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x17b8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x17b8)" (( "(") (binary_expression "param_1 + 0x17b8" (identifier "param_1") (+ "+") (number_literal "0x17b8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

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

type_1 function_1(type_2 *data,type_3 var_1)

{
  long var_2;
  type_1 _Var2;
  
  _Var2 = true;
  if ((var_1 != 0) && (var_2 = (data->set).timevalue, var_2 != 0)) {
    if ((data->set).timecondition == var_3) {
      _Var2 = true;
      if (var_2 <= var_1) {
        var_4(data,"The requested document is not old enough\n");
        (data->info).timecond = true;
        _Var2 = false;
      }
    }
    else if (var_1 <= var_2) {
      var_4(data,"The requested document is not new enough\n");
      (data->info).timecond = true;
      _Var2 = false;
    }
    return _Var2;
  }
  return _Var2;
}


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

undefined8 MASKED(long param_1,long param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  uVar2 = 1;
  if ((param_2 != 0) && (lVar1 = *(long *)(param_1 + 0xa70), lVar1 != 0)) {
    if (*(int *)(param_1 + 0xa68) == 2) {
      uVar2 = 1;
      if (lVar1 <= param_2) {
        FUN_0011a8d8(param_1,"The requested document is not old enough\n");
        *(undefined1 *)(param_1 + 0x17b8) = 1;
        uVar2 = 0;
      }
    }
    else if (param_2 <= lVar1) {
      FUN_0011a8d8(param_1,"The requested document is not new enough\n");
      *(undefined1 *)(param_1 + 0x17b8) = 1;
      uVar2 = 0;
    }
    return uVar2;
  }
  return uVar2;
}

