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IENPTkZJR19TWVNfU0FUQV9NQVhCVVMKI3VuZGVmIENPTkZJR19TWVNfU0FUQV9ERVZTX1BFUl9CVVMKI3VuZGVmIENPTkZJR19TWVNfU0FUQV9NQVhfREVWSUNFCiN1bmRlZiBDT05GSUdfQVRBX1BJSVgKI2VuZGlmCgoKLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogKiBESVNLIFBhcnRpdGlvbiBzdXBwb3J0CiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovCiNkZWZpbmUgQ09ORklHX0RPU19QQVJUSVRJT04KI2RlZmluZSBDT05GSUdfTUFDX1BBUlRJVElPTgojZGVmaW5lIENPTkZJR19JU09fUEFSVElUSU9OIC8qIEV4cGVyaW1lbnRhbCAqLwoKLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogKiBWaWRlby9LZXlib2FyZCBzdXBwb3J0CiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovCiNpZm5kZWYgR1JVU1NfVEVTVElORwojZGVmaW5lIENPTkZJR19WSURFTwkJCS8qIFRvIGVuYWJsZSB2aWRlbyBjb250cm9sbGVyIHN1cHBvcnQgKi8KI2Vsc2UKI3VuZGVmIENPTkZJR19WSURFTwojZW5kaWYKI2RlZmluZSBDT05GSUdfSTgwNDJfS0JECiNkZWZpbmUgQ09ORklHX1NZU19JU0FfSU8gMAoKLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogKiBSVEMKICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLwojZGVmaW5lIENPTkZJR19SVENfTUMxNDY4MTgKI3VuZGVmIENPTkZJR19XQVRDSERPRwkJCS8qIHdhdGNoZG9nIGRpc2FibGVkCQkqLwoKLyoKICogUENJIHN0dWZmCiAqLwojaWZuZGVmIEdSVVNTX1RFU1RJTkcKI2RlZmluZSBDT05GSUdfUENJICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvKiBpbmNsdWRlIHBjaSBzdXBwb3J0ICovCiNkZWZpbmUgQ09ORklHX1BDSV9QTlAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyogcGNpIHBsdWctYW5kLXBsYXkgKi8KI2RlZmluZSBDT05GSUdfUENJX1NDQU5fU0hPVwoKI2RlZmluZQlDT05GSUdfU1lTX0ZJUlNUX1BDSV9JUlEgICAxMAojZGVmaW5lCUNPTkZJR19TWVNfU0VDT05EX1BDSV9JUlEgIDkKI2RlZmluZSBDT05GSUdfU1lTX1RISVJEX1BDSV9JUlEgICAxMQojZGVmaW5lCUNPTkZJR19TWVNfRk9SVEhfUENJX0lSUSAgIDE1CiNlbHNlCiN1bmRlZiBDT05GSUdfUENJCiN1bmRlZiBDT05GSUdfUENJX1BOUAojdW5kZWYgQ09ORklHX1BDSV9TQ0FOX1NIT1cKI2VuZGlmCgoKI2VuZGlmCS8qIF9fQ09ORklHX0ggKi8K