Guaranteed payments - partnership

I know guaranteed payments DECREASE each partner's basis in the partnership based on their ownership % but is it a direct reduction or is it reduced through the deduction of partnership income since it decreases total partnership income?