to the COVID-19 pandemic in fiscal 2021. The Company continues to see higher prices for material components, commodities, and freight. As necessary, the Company considers price increases and other initiatives to attempt to offset these increases.
Selling, general and administrative expenses for the three months ended September 30, 2021 were $1.9 million compared to $2.0 million for the three months ended September 30, 2020. The decrease is primarily due to a decrease in legal costs by approximately $0.1 million.
Loss from operations was $1.0 million for the three months ended September 30, 2021 compared to loss from operations of $0.1 million for the three months ended September 30, 2020.
Allied had a loss before benefit from income taxes in the first quarter of fiscal 2022 of $984,000 compared to a loss before benefit from income taxes in the first quarter of fiscal 2021 of $153,000. The Company’s tax provision net of valuation allowance reflects a tax benefit of $0 for the three months ended September 30, 2021 and 2020. In the quarter ended September 30, 2021 the tax benefit of losses in the amount of approximately $251,000 was fully offset by a valuation allowance of equivalent amount. In the quarter ended September 30, 2020 the Company recorded the tax benefit of losses incurred in the amount of approximately $39,000 net of additions to the valuation allowance of like amount. To the extent that the Company’s losses continue in future quarters, the tax benefit of those losses will be fully offset by a valuation allowance.
Net loss for the first quarter of fiscal 2022 was $984,000 or $0.25 per basic and diluted share compared to net loss of $153,000 or $0.04 per basic and diluted share for the first quarter of fiscal 2021. The weighted average number of common shares outstanding, used in the calculation of basic and diluted earnings per share for the first quarters of fiscal 2021 and 2020 were 4,013,537.
Liquidity and Capital Resources
The Company’s primary sources of liquidity are its cash and cash equivalents, other items of working capital and borrowing availability under the Credit Agreement, discussed below.
The Company’s working capital was $5.4 million at September 30, 2021 compared to $6.3 million at June 30, 2021. Cash decreased by $0.5 million, inventory decreased by $0.5 million, debt increased by $0.2 million and customer deposits increased by $0.3 million. During the quarter, these decreases in working capital were offset by an increase in accounts receivable by $0.2 million, an increase in other current assets by $0.3 million and a decrease in other accrued liabilities by $0.2 million. Accounts payable and other accrued liabilities are subject to normal fluctuations in purchasing levels and the timing of payments within the quarter. Accounts receivable was $3.1 million at September 30, 2021 and as measured in days sales outstanding (“DSO”) was 41 DSO compared to a 40 DSO at June 30, 2020. The Company does adjust product forecast, order quantities and safety stock based on changes in demand patterns in order to manage inventory levels.
North Mill Loan
The Company is party to a Loan and Security Agreement with North Mill Capital, LLC (“North Mill”), as successor in interest to Summit Financial Resources, L.P., dated effective February 27, 2017, as amended April 16, 2018, April 24, 2019, December 18, 2020 and October 7, 2021 (as amended, the “Credit Agreement”). Pursuant to the Credit Agreement, the Company obtained a secured revolving credit facility (the “Credit Facility”). The Company’s obligations under the Credit Facility are secured by all of the Company’s personal property, both tangible and intangible, pursuant to the terms and subject to the conditions set forth in the Credit Agreement. Availability of funds under the Credit Agreement is based on the Company’s accounts receivable and inventory but will not exceed $4,000,000. At September 30, 2021 availability under the agreement was approximately $756,000.
The Credit Facility will be available, subject to its terms, on a revolving basis until it expires on February 27, 2023, at which time all amounts outstanding under the Credit Facility will be due and payable. Advances will bear interest at a rate equal to 2.00% in excess of the prime rate as reported in the Wall Street Journal. Interest is computed based on the actual number of days elapsed over a year of 360 days. In addition to interest, the Credit facility requires that the