
/* WARNING: Unknown calling convention */

size_t AD_hash(void *x,size_t table_size)

{
  Active_dir *ax;
  
  return *(ulong *)((long)x + 8) % table_size;
}



ulong FUN_00106088(long param_1,ulong param_2)

{
  return *(ulong *)(param_1 + 8) % param_2;
}


MOV RAX,qword ptr [RDI + 0x8]
MOV EDX,0x0
DIV RSI
MOV RAX,RDX
RET
(translation_unit "ulong FUN_00106088(long param_1,ulong param_2)\n\n{\n  return *(ulong *)(param_1 + 8) % param_2;\n}\n\n" (function_definition "ulong FUN_00106088(long param_1,ulong param_2)\n\n{\n  return *(ulong *)(param_1 + 8) % param_2;\n}" type_identifier (function_declarator "FUN_00106088(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  return *(ulong *)(param_1 + 8) % param_2;\n}" { (return_statement "return *(ulong *)(param_1 + 8) % param_2;" return (binary_expression "*(ulong *)(param_1 + 8) % param_2" (pointer_expression "*(ulong *)(param_1 + 8)" * (cast_expression "(ulong *)(param_1 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) % identifier) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nsize_t AD_hash(void *x,size_t table_size)\n\n{\n  Active_dir *ax;\n  \n  return *(ulong *)((long)x + 8) % table_size;\n}\n\n" comment (function_definition "size_t AD_hash(void *x,size_t table_size)\n\n{\n  Active_dir *ax;\n  \n  return *(ulong *)((long)x + 8) % table_size;\n}" primitive_type (function_declarator "AD_hash(void *x,size_t table_size)" identifier (parameter_list "(void *x,size_t table_size)" ( (parameter_declaration "void *x" primitive_type (pointer_declarator "*x" * identifier)) , (parameter_declaration "size_t table_size" primitive_type identifier) ))) (compound_statement "{\n  Active_dir *ax;\n  \n  return *(ulong *)((long)x + 8) % table_size;\n}" { (declaration "Active_dir *ax;" type_identifier (pointer_declarator "*ax" * identifier) ;) (return_statement "return *(ulong *)((long)x + 8) % table_size;" return (binary_expression "*(ulong *)((long)x + 8) % table_size" (pointer_expression "*(ulong *)((long)x + 8)" * (cast_expression "(ulong *)((long)x + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)x + 8)" ( (binary_expression "(long)x + 8" (cast_expression "(long)x" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) % identifier) ;) })))
(translation_unit "ulong FUN_00106088(long param_1,ulong param_2)\n\n{\n  return *(ulong *)(param_1 + 8) % param_2;\n}\n\n" (function_definition "ulong FUN_00106088(long param_1,ulong param_2)\n\n{\n  return *(ulong *)(param_1 + 8) % param_2;\n}" type_identifier (function_declarator "FUN_00106088(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  return *(ulong *)(param_1 + 8) % param_2;\n}" { (return_statement "return *(ulong *)(param_1 + 8) % param_2;" return (binary_expression "*(ulong *)(param_1 + 8) % param_2" (pointer_expression "*(ulong *)(param_1 + 8)" * (cast_expression "(ulong *)(param_1 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) % identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT) ;) })))
(function_definition "ulong FUN_00106088(long param_1,ulong param_2)\n\n{\n  return *(ulong *)(param_1 + 8) % param_2;\n}" (type_identifier "ulong") (function_declarator "FUN_00106088(long param_1,ulong param_2)" (identifier "FUN_00106088") (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  return *(ulong *)(param_1 + 8) % param_2;\n}" ({ "{") (return_statement "return *(ulong *)(param_1 + 8) % param_2;" (return "return") (binary_expression "*(ulong *)(param_1 + 8) % param_2" (pointer_expression "*(ulong *)(param_1 + 8)" (* "*") (cast_expression "(ulong *)(param_1 + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (% "%") (identifier "param_2")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

size_t function_1(void *x,size_t var_1)

{
  type_1 *ax;
  
  return *(type_2 *)((long)x + 8) % var_1;
}


(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 (return_statement (binary_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: (identifier))))))

ulong MASKED(long param_1,ulong param_2)

{
  return *(ulong *)(param_1 + 8) % param_2;
}

