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4gdGhlIE1pY3JvV2lyZSBwYXJ0ICovCiNkZWZpbmUgQ09ORklHX1NQSV9YIDEKI2RlZmluZSBDRkdfSkZGUzJfRklSU1RfQkFOSyAgICAwICAgICAgICAgICAvKiB1c2UgZm9yIEpGRlMyICovCiNkZWZpbmUgQ0ZHX0pGRlMyX05VTV9CQU5LUyAgICAgMSAgICAgICAgICAgLyogICovCgovKi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiAqIERldmljZSBkcml2ZXJzCiAqLwojZGVmaW5lIENPTkZJR19ORVRfTVVMVEkgICAgICAgIC8qIE11bHRpIGV0aGVybmV0IGNhcmRzIHN1cHBvcnQgKi8KI2RlZmluZSBDT05GSUdfUENORVQKI2RlZmluZSBDT05GSUdfUENORVRfNzlDOTczCiNkZWZpbmUgQ09ORklHX1BDTkVUXzc5Qzk3NQojZGVmaW5lIFBDTkVUX0hBU19QUk9NICAgICAgICAgMQoKLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogKiBJREUvQVRBIHN0dWZmCiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovCiNkZWZpbmUgQ0ZHX0lERV9NQVhCVVMJCTEgICAvKiBtYXguIDIgSURFIGJ1c3NlcwkqLwojZGVmaW5lIENGR19JREVfTUFYREVWSUNFCShDRkdfSURFX01BWEJVUyoyKSAvKiBtYXguIDIgZHJpdmVzIHBlciBJREUgYnVzICovCgojZGVmaW5lIENGR19BVEFfSURFMF9PRkZTRVQJMHgwMUYwCS8qIGlkZTAgb2Zmc3RlICovCi8vI2RlZmluZSBDRkdfQVRBX0lERTFfT0ZGU0VUCTB4MDE3MAkvKiBpZGUxIG9mZnNldCAqLwojZGVmaW5lIENGR19BVEFfREFUQV9PRkZTRVQJMAkvKiBkYXRhIHJlZyBvZmZzZXQJKi8KI2RlZmluZSBDRkdfQVRBX1JFR19PRkZTRVQJMAkvKiByZWcgb2Zmc2V0ICovCiNkZWZpbmUgQ0ZHX0FUQV9BTFRfT0ZGU0VUCTB4MjAwCS8qIGFsdGVybmF0ZSByZWdpc3RlciBvZmZzZXQgKi8KI2RlZmluZSBDRkdfQVRBX0JBU0VfQUREUiAgICAgICAwCgojdW5kZWYJQ09ORklHX0lERV9MRUQJCQkvKiBubyBsZWQgZm9yIGlkZSBzdXBwb3J0ZWQJKi8KI3VuZGVmICBDT05GSUdfSURFX1JFU0VUCQkvKiByZXNldCBmb3IgaWRlIHVuc3VwcG9ydGVkLi4uCSovCiN1bmRlZiAgQ09ORklHX0lERV9SRVNFVF9ST1VUSU5FCS8qIG5vIHNwZWNpYWwgcmVzZXQgZnVuY3Rpb24gKi8KCi8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKICogQVRBUEkgc3VwcG9ydCAoZXhwZXJpbWVudGFsKQogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLwojZGVmaW5lIENPTkZJR19BVEFQSQkJCS8qIGVuYWJsZSBBVEFQSSBTdXBwb3J0ICovCgovKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiAqIERJU0sgUGFydGl0aW9uIHN1cHBvcnQKICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8KI2RlZmluZSBDT05GSUdfRE9TX1BBUlRJVElPTgojZGVmaW5lIENPTkZJR19NQUNfUEFSVElUSU9OCiNkZWZpbmUgQ09ORklHX0lTT19QQVJUSVRJT04gLyogRXhwZXJpbWVudGFsICovCgovKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiAqIFZpZGVvL0tleWJvYXJkIHN1cHBvcnQKICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8KI2RlZmluZSBDT05GSUdfVklERU8JCQkvKiBUbyBlbmFibGUgdmlkZW8gY29udHJvbGxlciBzdXBwb3J0ICovCiNkZWZpbmUgQ09ORklHX0k4MDQyX0tCRAojZGVmaW5lIENGR19JU0FfSU8gMAoKCgovKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCiAqIFJUQwogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovCiNkZWZpbmUgQ09ORklHX1JUQ19NQzE0NjgxOAojdW5kZWYgQ09ORklHX1dBVENIRE9HCQkJLyogd2F0Y2hkb2cgZGlzYWJsZWQJCSovCgovKgogKiBQQ0kgc3R1ZmYKICovCiNkZWZpbmUgQ09ORklHX1BDSSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyogaW5jbHVkZSBwY2kgc3VwcG9ydCAqLwojZGVmaW5lIENPTkZJR19QQ0lfUE5QICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIHBjaSBwbHVnLWFuZC1wbGF5ICovCiNkZWZpbmUgQ09ORklHX1BDSV9TQ0FOX1NIT1cKCiNkZWZpbmUJQ0ZHX0ZJUlNUX1BDSV9JUlEgICAxMAojZGVmaW5lCUNGR19TRUNPTkRfUENJX0lSUSAgOSAKI2RlZmluZSBDRkdfVEhJUkRfUENJX0lSUSAgIDExIAojZGVmaW5lCUNGR19GT1JUSF9QQ0lfSVJRICAgMTUKCgojZW5kaWYJLyogX19DT05GSUdfSCAqLwo=