Lyogdmk6IHNldCBzdz00IHRzPTQ6ICovCi8qCiAqIHNldHNpZC5jIC0tIGV4ZWN1dGUgYSBjb21tYW5kIGluIGEgbmV3IHNlc3Npb24KICogUmljayBTbGFka2V5IDxqcnNAd29ybGQuc3RkLmNvbT4KICogSW4gdGhlIHB1YmxpYyBkb21haW4uCiAqCiAqIDE5OTktMDItMjIgQXJrYWRpdXN6IE1ptmtpZXdpY3ogPG1pc2lla0BwbGQuT1JHLlBMPgogKiAtIGFkZGVkIE5hdGl2ZSBMYW5ndWFnZSBTdXBwb3J0CiAqCiAqIDIwMDEtMDEtMTggSm9obiBGcmVtbGluIDx2aWlAcGVuZ3VpbnBvd2VyZWQuY29tPgogKiAtIGZvcmsgaW4gY2FzZSB3ZSBhcmUgcHJvY2VzcyBncm91cCBsZWFkZXIKICoKICogMjAwNC0xMS0xMiBQYXVsIEZveAogKiAtIGJ1c3lib3hlZAogKi8KCiNpbmNsdWRlICJidXN5Ym94LmgiCgppbnQgc2V0c2lkX21haW4oaW50IGFyZ2MsIGNoYXIgKiphcmd2KTsKaW50IHNldHNpZF9tYWluKGludCBhcmdjLCBjaGFyICoqYXJndikKewoJaWYgKGFyZ2MgPCAyKQoJCWJiX3Nob3dfdXNhZ2UoKTsKCgkvKiBDb21tZW50IHdoeSBpcyB0aGlzIG5lY2Vzc2FyeT8gKi8KCWlmIChnZXRwZ3JwKCkgPT0gZ2V0cGlkKCkpCgkJZm9ya2V4aXRfb3JfcmV4ZWMoYXJndik7CgoJc2V0c2lkKCk7ICAvKiBubyBlcnJvciBwb3NzaWJsZSAqLwoKCUJCX0VYRUNWUChhcmd2WzFdLCBhcmd2ICsgMSk7CgliYl9wZXJyb3JfbXNnX2FuZF9kaWUoIiVzIiwgYXJndlsxXSk7Cn0K