Either, Apple, because you register your device with your Apple ID and the warranty is with Apple, or the reseller because you bought the item from them, but unless they are an Apple authorised service centre they will probably just send the device to Apple anyway!
I purchased a brand new...