Ariz. Rev. Stat. § 47-9324
B. Subject to subsection C of this section and except as otherwise provided in subsection G of this section, a perfected purchase money security interest in inventory has priority over a conflicting security interest in the same inventory, has priority over a conflicting security interest in chattel paper or an instrument constituting proceeds of the inventory and in proceeds of the chattel paper, if so provided in section 47-9330, and, except as otherwise provided in section 47-9327, also has priority in identifiable cash proceeds of the inventory to the extent the identifiable cash proceeds are received on or before the delivery of the inventory to a buyer, if:
C. Subsection B, paragraphs 2, 3 and 4 of this section apply only if the holder of the conflicting security interest had filed a financing statement covering the same types of inventory:
D. Subject to subsection E of this section and except as otherwise provided in subsection G of this section, a perfected purchase money security interest in livestock that are farm products has priority over a conflicting security interest in the same livestock, and, except as otherwise provided in section 47-9327, a perfected security interest in their identifiable proceeds and identifiable products in their unmanufactured states also has priority, if:
E. Subsection D, paragraphs 2, 3 and 4 of this section apply only if the holder of the conflicting security interest had filed a financing statement covering the same types of livestock:
G. If more than one security interest qualifies for priority in the same collateral under subsection A, B, D or F of this section: