def advanced_stats_table(soup):
    """Parses a soup object for advanced_passing and advanced_rushing_and_receiving tables"""
    passing_table = soup.find('table', id='advanced_passing')
    rush_rec_table = soup.find('table', id='advanced_rushing_and_receiving')
    return passing_table, rush_rec_table