
_Bool lbitset_test(bitset_conflict src,bitset_bindex bitno)

{
  lbitset_elt *plVar1;
  _Bool _Var2;
  
  plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND);
  _Var2 = false;
  if (plVar1 != (lbitset_elt *)0x0) {
    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &
                   1);
  }
  return _Var2;
}



uint FUN_0013c07b(long param_1,ulong param_2)

{
  long lVar1;
  uint uVar2;
  
  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);
  uVar2 = 0;
  if (lVar1 != 0) {
    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +
                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>
                  ((byte)param_2 & 0x3f)) & 1;
  }
  return uVar2;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,RDI
MOV R12,RSI
MOV RBX,RSI
SHR RBX,0x6
MOV EDX,0x0
MOV RSI,RBX
CALL 0x0013bded
MOV EDX,0x0
TEST RAX,RAX
JZ 0x0013c0b8
SUB RBX,qword ptr [RBP + 0x8]
MOV RAX,qword ptr [RBP + 0x18]
MOV RDX,qword ptr [RAX + RBX*0x8]
MOV ECX,R12D
SHR RDX,CL
AND EDX,0x1
MOV EAX,EDX
AND EAX,0x1
POP RBX
POP RBP
POP R12
RET
(translation_unit "uint FUN_0013c07b(long param_1,ulong param_2)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint FUN_0013c07b(long param_1,ulong param_2)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0013c07b(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 identifier) ))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);" (assignment_expression "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0)" identifier = (call_expression "FUN_0013bded(param_1,param_2 >> 6,0)" identifier (argument_list "(param_1,param_2 >> 6,0)" ( identifier , (binary_expression "param_2 >> 6" identifier >> number_literal) , number_literal )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" { (expression_statement "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;" (assignment_expression "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" identifier = (binary_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" (call_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" ( (binary_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)" (pointer_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" * (cast_expression "(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" ( (binary_expression "*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (parenthesized_expression "((param_2 >> 6) - *(long *)(param_1 + 8))" ( (binary_expression "(param_2 >> 6) - *(long *)(param_1 + 8)" (parenthesized_expression "(param_2 >> 6)" ( (binary_expression "param_2 >> 6" identifier >> number_literal) )) - (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) * number_literal)) )))) >> (parenthesized_expression "((byte)param_2 & 0x3f)" ( (binary_expression "(byte)param_2 & 0x3f" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) ))) & number_literal)) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "_Bool lbitset_test(bitset_conflict src,bitset_bindex bitno)\n\n{\n  lbitset_elt *plVar1;\n  _Bool _Var2;\n  \n  plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND);\n  _Var2 = false;\n  if (plVar1 != (lbitset_elt *)0x0) {\n    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);\n  }\n  return _Var2;\n}\n\n" (function_definition "_Bool lbitset_test(bitset_conflict src,bitset_bindex bitno)\n\n{\n  lbitset_elt *plVar1;\n  _Bool _Var2;\n  \n  plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND);\n  _Var2 = false;\n  if (plVar1 != (lbitset_elt *)0x0) {\n    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);\n  }\n  return _Var2;\n}" type_identifier (function_declarator "lbitset_test(bitset_conflict src,bitset_bindex bitno)" identifier (parameter_list "(bitset_conflict src,bitset_bindex bitno)" ( (parameter_declaration "bitset_conflict src" type_identifier identifier) , (parameter_declaration "bitset_bindex bitno" type_identifier identifier) ))) (compound_statement "{\n  lbitset_elt *plVar1;\n  _Bool _Var2;\n  \n  plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND);\n  _Var2 = false;\n  if (plVar1 != (lbitset_elt *)0x0) {\n    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);\n  }\n  return _Var2;\n}" { (declaration "lbitset_elt *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (expression_statement "plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND);" (assignment_expression "plVar1 = lbitset_elt_find(src,bitno >> 6,LBITSET_FIND)" identifier = (call_expression "lbitset_elt_find(src,bitno >> 6,LBITSET_FIND)" identifier (argument_list "(src,bitno >> 6,LBITSET_FIND)" ( identifier , (binary_expression "bitno >> 6" identifier >> number_literal) , identifier )))) ;) (expression_statement "_Var2 = false;" (assignment_expression "_Var2 = false" identifier = false) ;) (if_statement "if (plVar1 != (lbitset_elt *)0x0) {\n    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);\n  }" if (parenthesized_expression "(plVar1 != (lbitset_elt *)0x0)" ( (binary_expression "plVar1 != (lbitset_elt *)0x0" identifier != (cast_expression "(lbitset_elt *)0x0" ( (type_descriptor "lbitset_elt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    _Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);\n  }" { (expression_statement "_Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1);" (assignment_expression "_Var2 = (_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1)" identifier = (call_expression "(_Bool)((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1)" (parenthesized_expression "(_Bool)" ( identifier )) (argument_list "((byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1)" ( (binary_expression "(byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)) &\n                   1" (call_expression "(byte)((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f))" ( (binary_expression "(src->b).cdata[(bitno >> 6) - (src->b).cindex] >> ((byte)bitno & 0x3f)" (subscript_expression "(src->b).cdata[(bitno >> 6) - (src->b).cindex]" (field_expression "(src->b).cdata" (parenthesized_expression "(src->b)" ( (field_expression "src->b" identifier -> field_identifier) )) . field_identifier) [ (binary_expression "(bitno >> 6) - (src->b).cindex" (parenthesized_expression "(bitno >> 6)" ( (binary_expression "bitno >> 6" identifier >> number_literal) )) - (field_expression "(src->b).cindex" (parenthesized_expression "(src->b)" ( (field_expression "src->b" identifier -> field_identifier) )) . field_identifier)) ]) >> (parenthesized_expression "((byte)bitno & 0x3f)" ( (binary_expression "(byte)bitno & 0x3f" (cast_expression "(byte)bitno" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) ))) & number_literal) )))) ;) })) (return_statement "return _Var2;" return identifier ;) })))
(translation_unit "uint FUN_0013c07b(long param_1,ulong param_2)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint FUN_0013c07b(long param_1,ulong param_2)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0013c07b(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 identifier) ))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);" (assignment_expression "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0)" identifier = (call_expression "FUN_0013bded(param_1,param_2 >> 6,0)" identifier (argument_list "(param_1,param_2 >> 6,0)" ( identifier , (binary_expression "param_2 >> 6" identifier >> number_literal) , number_literal )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" { (expression_statement "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;" (assignment_expression "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" identifier = (binary_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" (call_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" ( (binary_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)" (pointer_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" * (cast_expression "(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" ( (binary_expression "*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (parenthesized_expression "((param_2 >> 6) - *(long *)(param_1 + 8))" ( (binary_expression "(param_2 >> 6) - *(long *)(param_1 + 8)" (parenthesized_expression "(param_2 >> 6)" ( (binary_expression "param_2 >> 6" identifier >> number_literal) )) - (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) * number_literal)) )))) >> (parenthesized_expression "((byte)param_2 & 0x3f)" ( (binary_expression "(byte)param_2 & 0x3f" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) ))) & number_literal)) ;) })) (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 TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT >> LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) * LIT)) )))) >> (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) ))) & LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0013c07b(long param_1,ulong param_2)\n\n{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" (type_identifier "uint") (function_declarator "FUN_0013c07b(long param_1,ulong param_2)" (identifier "FUN_0013c07b") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  uint uVar2;\n  \n  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);\n  uVar2 = 0;\n  if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }\n  return uVar2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);" (assignment_expression "lVar1 = FUN_0013bded(param_1,param_2 >> 6,0)" (identifier "lVar1") (= "=") (call_expression "FUN_0013bded(param_1,param_2 >> 6,0)" (identifier "FUN_0013bded") (argument_list "(param_1,param_2 >> 6,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 >> 6" (identifier "param_2") (>> ">>") (number_literal "6")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (lVar1 != 0) {\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;\n  }" ({ "{") (expression_statement "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1;" (assignment_expression "uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" (identifier "uVar2") (= "=") (binary_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)) & 1" (call_expression "(uint)(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f))" (( "(") (binary_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>\n                  ((byte)param_2 & 0x3f)" (pointer_expression "*(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" (* "*") (cast_expression "(ulong *)(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) +\n                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "((param_2 >> 6) - *(long *)(param_1 + 8)) * 8" (parenthesized_expression "((param_2 >> 6) - *(long *)(param_1 + 8))" (( "(") (binary_expression "(param_2 >> 6) - *(long *)(param_1 + 8)" (parenthesized_expression "(param_2 >> 6)" (( "(") (binary_expression "param_2 >> 6" (identifier "param_2") (>> ">>") (number_literal "6")) () ")")) (- "-") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (* "*") (number_literal "8"))) () ")")))) (>> ">>") (parenthesized_expression "((byte)param_2 & 0x3f)" (( "(") (binary_expression "(byte)param_2 & 0x3f" (cast_expression "(byte)param_2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_2")) (& "&") (number_literal "0x3f")) () ")"))) () ")"))) (& "&") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 function_1(type_2 src,type_3 var_2)

{
  type_4 *var_3;
  type_1 _Var2;
  
  var_3 = var_1(src,var_2 >> 6,LBITSET_FIND);
  _Var2 = false;
  if (var_3 != (type_4 *)0x0) {
    _Var2 = (type_1)((type_5)((src->b).cdata[(var_2 >> 6) - (src->b).cindex] >> ((type_5)var_2 & 0x3f)) &
                   1);
  }
  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: (type_identifier) 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: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) right: (number_literal)))))) (return_statement (identifier)))))

uint MASKED(long param_1,ulong param_2)

{
  long lVar1;
  uint uVar2;
  
  lVar1 = FUN_0013bded(param_1,param_2 >> 6,0);
  uVar2 = 0;
  if (lVar1 != 0) {
    uVar2 = (uint)(*(ulong *)(*(long *)(param_1 + 0x18) +
                             ((param_2 >> 6) - *(long *)(param_1 + 8)) * 8) >>
                  ((byte)param_2 & 0x3f)) & 1;
  }
  return uVar2;
}

