
/* WARNING: Unknown calling convention */

int _obstack_allocated_p(obstack *h,void *obj)

{
  _obstack_chunk *p_Var1;
  
  p_Var1 = h->chunk;
  if (p_Var1 == (_obstack_chunk *)0x0) {
    return 0;
  }
  while ((obj <= p_Var1 || (p_Var1->limit < obj))) {
    p_Var1 = p_Var1->prev;
    if (p_Var1 == (_obstack_chunk *)0x0) {
      return 0;
    }
  }
  return 1;
}



ulong * _obstack_allocated_p(long param_1,ulong *param_2)

{
  ulong *puVar1;
  
  puVar1 = *(ulong **)(param_1 + 8);
  if (puVar1 == (ulong *)0x0) {
    return puVar1;
  }
  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {
    puVar1 = (ulong *)puVar1[1];
    if (puVar1 == (ulong *)0x0) {
      return (ulong *)0x0;
    }
  }
  return (ulong *)0x1;
}


MOV RAX,qword ptr [RDI + 0x8]
TEST RAX,RAX
JZ 0x0012fa26
NOP dword ptr [RAX]
CMP RSI,RAX
JBE 0x0012fa0a
CMP qword ptr [RAX],RSI
JNC 0x0012fa20
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JNZ 0x0012fa00
XOR EAX,EAX
RET
MOV EAX,0x1
RET
RET
(translation_unit "ulong * _obstack_allocated_p(long param_1,ulong *param_2)\n\n{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}\n\n" (function_definition "ulong * _obstack_allocated_p(long param_1,ulong *param_2)\n\n{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" type_identifier (pointer_declarator "* _obstack_allocated_p(long param_1,ulong *param_2)" * (function_declarator "_obstack_allocated_p(long param_1,ulong *param_2)" identifier (parameter_list "(long param_1,ulong *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *(ulong **)(param_1 + 8);" (assignment_expression "puVar1 = *(ulong **)(param_1 + 8)" identifier = (pointer_expression "*(ulong **)(param_1 + 8)" * (cast_expression "(ulong **)(param_1 + 8)" ( (type_descriptor "ulong **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar1 == (ulong *)0x0)" ( (binary_expression "puVar1 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) })) (while_statement "while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" while (parenthesized_expression "((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)))" ( (parenthesized_expression "(param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))" ( (binary_expression "param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)" (binary_expression "param_2 <= puVar1" identifier <= identifier) || (parenthesized_expression "((ulong *)*puVar1 < param_2)" ( (binary_expression "(ulong *)*puVar1 < param_2" (cast_expression "(ulong *)*puVar1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) < identifier) ))) )) )) (compound_statement "{\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" { (expression_statement "puVar1 = (ulong *)puVar1[1];" (assignment_expression "puVar1 = (ulong *)puVar1[1]" identifier = (cast_expression "(ulong *)puVar1[1]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }" if (parenthesized_expression "(puVar1 == (ulong *)0x0)" ( (binary_expression "puVar1 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (ulong *)0x0;\n    }" { (return_statement "return (ulong *)0x0;" return (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (return_statement "return (ulong *)0x1;" return (cast_expression "(ulong *)0x1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint _obstack_allocated_p(obstack *h,void *obj)\n\n{\n  _obstack_chunk *p_Var1;\n  \n  p_Var1 = h->chunk;\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    return 0;\n  }\n  while ((obj <= p_Var1 || (p_Var1->limit < obj))) {\n    p_Var1 = p_Var1->prev;\n    if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" comment (function_definition "int _obstack_allocated_p(obstack *h,void *obj)\n\n{\n  _obstack_chunk *p_Var1;\n  \n  p_Var1 = h->chunk;\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    return 0;\n  }\n  while ((obj <= p_Var1 || (p_Var1->limit < obj))) {\n    p_Var1 = p_Var1->prev;\n    if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "_obstack_allocated_p(obstack *h,void *obj)" identifier (parameter_list "(obstack *h,void *obj)" ( (parameter_declaration "obstack *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "void *obj" primitive_type (pointer_declarator "*obj" * identifier)) ))) (compound_statement "{\n  _obstack_chunk *p_Var1;\n  \n  p_Var1 = h->chunk;\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    return 0;\n  }\n  while ((obj <= p_Var1 || (p_Var1->limit < obj))) {\n    p_Var1 = p_Var1->prev;\n    if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "_obstack_chunk *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "p_Var1 = h->chunk;" (assignment_expression "p_Var1 = h->chunk" identifier = (field_expression "h->chunk" identifier -> field_identifier)) ;) (if_statement "if (p_Var1 == (_obstack_chunk *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(p_Var1 == (_obstack_chunk *)0x0)" ( (binary_expression "p_Var1 == (_obstack_chunk *)0x0" identifier == (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((obj <= p_Var1 || (p_Var1->limit < obj))) {\n    p_Var1 = p_Var1->prev;\n    if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "((obj <= p_Var1 || (p_Var1->limit < obj)))" ( (parenthesized_expression "(obj <= p_Var1 || (p_Var1->limit < obj))" ( (binary_expression "obj <= p_Var1 || (p_Var1->limit < obj)" (binary_expression "obj <= p_Var1" identifier <= identifier) || (parenthesized_expression "(p_Var1->limit < obj)" ( (binary_expression "p_Var1->limit < obj" (field_expression "p_Var1->limit" identifier -> field_identifier) < identifier) ))) )) )) (compound_statement "{\n    p_Var1 = p_Var1->prev;\n    if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "p_Var1 = p_Var1->prev;" (assignment_expression "p_Var1 = p_Var1->prev" identifier = (field_expression "p_Var1->prev" identifier -> field_identifier)) ;) (if_statement "if (p_Var1 == (_obstack_chunk *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(p_Var1 == (_obstack_chunk *)0x0)" ( (binary_expression "p_Var1 == (_obstack_chunk *)0x0" identifier == (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "ulong * _obstack_allocated_p(long param_1,ulong *param_2)\n\n{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}\n\n" (function_definition "ulong * _obstack_allocated_p(long param_1,ulong *param_2)\n\n{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" type_identifier (pointer_declarator "* _obstack_allocated_p(long param_1,ulong *param_2)" * (function_declarator "_obstack_allocated_p(long param_1,ulong *param_2)" identifier (parameter_list "(long param_1,ulong *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *(ulong **)(param_1 + 8);" (assignment_expression "puVar1 = *(ulong **)(param_1 + 8)" identifier = (pointer_expression "*(ulong **)(param_1 + 8)" * (cast_expression "(ulong **)(param_1 + 8)" ( (type_descriptor "ulong **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar1 == (ulong *)0x0)" ( (binary_expression "puVar1 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) })) (while_statement "while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" while (parenthesized_expression "((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)))" ( (parenthesized_expression "(param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))" ( (binary_expression "param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)" (binary_expression "param_2 <= puVar1" identifier <= identifier) || (parenthesized_expression "((ulong *)*puVar1 < param_2)" ( (binary_expression "(ulong *)*puVar1 < param_2" (cast_expression "(ulong *)*puVar1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) < identifier) ))) )) )) (compound_statement "{\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" { (expression_statement "puVar1 = (ulong *)puVar1[1];" (assignment_expression "puVar1 = (ulong *)puVar1[1]" identifier = (cast_expression "(ulong *)puVar1[1]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }" if (parenthesized_expression "(puVar1 == (ulong *)0x0)" ( (binary_expression "puVar1 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (ulong *)0x0;\n    }" { (return_statement "return (ulong *)0x0;" return (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (return_statement "return (ulong *)0x1;" return (cast_expression "(ulong *)0x1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) < IDENT) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "ulong * _obstack_allocated_p(long param_1,ulong *param_2)\n\n{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" (type_identifier "ulong") (pointer_declarator "* _obstack_allocated_p(long param_1,ulong *param_2)" (* "*") (function_declarator "_obstack_allocated_p(long param_1,ulong *param_2)" (identifier "_obstack_allocated_p") (parameter_list "(long param_1,ulong *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong *param_2" (type_identifier "ulong") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  ulong *puVar1;\n  \n  puVar1 = *(ulong **)(param_1 + 8);\n  if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }\n  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }\n  return (ulong *)0x1;\n}" ({ "{") (declaration "ulong *puVar1;" (type_identifier "ulong") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = *(ulong **)(param_1 + 8);" (assignment_expression "puVar1 = *(ulong **)(param_1 + 8)" (identifier "puVar1") (= "=") (pointer_expression "*(ulong **)(param_1 + 8)" (* "*") (cast_expression "(ulong **)(param_1 + 8)" (( "(") (type_descriptor "ulong **" (type_identifier "ulong") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (puVar1 == (ulong *)0x0) {\n    return puVar1;\n  }" (if "if") (parenthesized_expression "(puVar1 == (ulong *)0x0)" (( "(") (binary_expression "puVar1 == (ulong *)0x0" (identifier "puVar1") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return puVar1;\n  }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (while_statement "while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" (while "while") (parenthesized_expression "((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)))" (( "(") (parenthesized_expression "(param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))" (( "(") (binary_expression "param_2 <= puVar1 || ((ulong *)*puVar1 < param_2)" (binary_expression "param_2 <= puVar1" (identifier "param_2") (<= "<=") (identifier "puVar1")) (|| "||") (parenthesized_expression "((ulong *)*puVar1 < param_2)" (( "(") (binary_expression "(ulong *)*puVar1 < param_2" (cast_expression "(ulong *)*puVar1" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (< "<") (identifier "param_2")) () ")"))) () ")")) () ")")) (compound_statement "{\n    puVar1 = (ulong *)puVar1[1];\n    if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }\n  }" ({ "{") (expression_statement "puVar1 = (ulong *)puVar1[1];" (assignment_expression "puVar1 = (ulong *)puVar1[1]" (identifier "puVar1") (= "=") (cast_expression "(ulong *)puVar1[1]" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar1 == (ulong *)0x0) {\n      return (ulong *)0x0;\n    }" (if "if") (parenthesized_expression "(puVar1 == (ulong *)0x0)" (( "(") (binary_expression "puVar1 == (ulong *)0x0" (identifier "puVar1") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return (ulong *)0x0;\n    }" ({ "{") (return_statement "return (ulong *)0x0;" (return "return") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}"))) (return_statement "return (ulong *)0x1;" (return "return") (cast_expression "(ulong *)0x1" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *h,void *var_2)

{
  type_2 *var_1;
  
  var_1 = h->chunk;
  if (var_1 == (type_2 *)0x0) {
    return 0;
  }
  while ((var_2 <= var_1 || (var_1->limit < var_2))) {
    var_1 = var_1->prev;
    if (var_1 == (type_2 *)0x0) {
      return 0;
    }
  }
  return 1;
}


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

ulong * MASKED(long param_1,ulong *param_2)

{
  ulong *puVar1;
  
  puVar1 = *(ulong **)(param_1 + 8);
  if (puVar1 == (ulong *)0x0) {
    return puVar1;
  }
  while ((param_2 <= puVar1 || ((ulong *)*puVar1 < param_2))) {
    puVar1 = (ulong *)puVar1[1];
    if (puVar1 == (ulong *)0x0) {
      return (ulong *)0x0;
    }
  }
  return (ulong *)0x1;
}

