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mFsbGVsICovCgovKiBGVERJX1NJT19SRVNFVCAqLwojZGVmaW5lIEZURElfU0lPX1JFU0VUX1JFUVVFU1QgRlRESV9TSU9fUkVTRVQKI2RlZmluZSBGVERJX1NJT19SRVNFVF9SRVFVRVNUX1RZUEUgMHg0MAojZGVmaW5lIEZURElfU0lPX1JFU0VUX1NJTyAwCiNkZWZpbmUgRlRESV9TSU9fUkVTRVRfUFVSR0VfUlggMQojZGVmaW5lIEZURElfU0lPX1JFU0VUX1BVUkdFX1RYIDIKCi8qCiAqIEJtUmVxdWVzdFR5cGU6ICAwMTAwIDAwMDBCCiAqIGJSZXF1ZXN0OiAgICAgICBGVERJX1NJT19SRVNFVAogKiB3VmFsdWU6ICAgICAgICAgQ29udHJvbCBWYWx1ZSAKICogICAgICAgICAgICAgICAgICAgMCA9IFJlc2V0IFNJTwogKiAgICAgICAgICAgICAgICAgICAxID0gUHVyZ2UgUlggYnVmZmVyCiAqICAgICAgICAgICAgICAgICAgIDIgPSBQdXJnZSBUWCBidWZmZXIKICogd0luZGV4OiAgICAgICAgIFBvcnQKICogd0xlbmd0aDogICAgICAgIDAKICogRGF0YTogICAgICAgICAgIE5vbmUKICoKICogVGhlIFJlc2V0IFNJTyBjb21tYW5kIGhhcyB0aGlzIGVmZmVjdDoKICoKICogICAgU2V0cyBmbG93IGNvbnRyb2wgc2V0IHRvICdub25lJwogKiAgICBFdmVudCBjaGFyID0gJDBECiAqICAgIEV2ZW50IHRyaWdnZXIgPSBkaXNhYmxlZAogKiAgICBQdXJnZSBSWCBidWZmZXIKICogICAgUHVyZ2UgVFggYnVmZmVyCiAqICAgIENsZWFyIERUUgogKiAgICBDbGVhciBSVFMKICogICAgYmF1ZCBhbmQgZGF0YSBmb3JtYXQgbm90IHJlc2V0CiAqCiAqIFRoZSBQdXJnZSBSWCBhbmQgVFggYnVmZmVyIGNvbW1hbmRzIGFmZmVjdCBub3RoaW5nIGV4Y2VwdCB0aGUgYnVmZmVycwogKgogICAqLwoKLyogR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PDwgOCApCiNkZWZpbmUgRlRESV9TSU9fU0VUX0RBVEFfUEFSSVRZX0VWRU4gKDB4MiA8PCA4ICkKI2RlZmluZSBGVERJX1NJT19TRVRfREFUQV9QQVJJVFlfTUFSSyAoMHgzIDw8IDggKQojZGVmaW5lIEZURElfU0lPX1NFVF9EQVRBX1BBUklUWV9TUEFDRSAoMHg0IDw8IDggKQojZGVmaW5lIEZURElfU0lPX1NFVF9EQVRBX1NUT1BfQklUU18xICgweDAgPDwgMTEgKQojZGVmaW5lIEZURElfU0lPX1NFVF9EQVRBX1NUT1BfQklUU18xNSAoMHgxIDw8IDExICkKI2RlZmluZSBGVERJX1NJT19TRVRfREFUQV9TVE9QX0JJVFNfMiAoMHgyIDw8IDExICkKI2RlZmluZSBGVERJX1NJT19TRVRfQlJFQUsgKDB4MSA8PCAxNCkKLyogRlRESV9TSU9fU0VUX0RBVEEgKi8KCi8qCiAqIEJtUmVxdWVzdFR5cGU6ICAwMTAwIDAwMDBCIAogKiBiUmVxdWVzdDogICAgICAgRlRESV9TSU9fU0VUX0RBVEEKICogd1ZhbHVlOiAgICAgICAgIERhdGEgY2hhcmFjdGVyaXN0aWNzIChzZWUgYmVsb3cpCiAqIHdJbmRleDogICAgICAgICBQb3J0CiAqIHdMZW5ndGg6ICAgICAgICAwCiAqIERhdGE6ICAgICAgICAgICBObwogKgogKiBEYXRhIGNoYXJhY3RlcmlzdGljcwogKgogKiAgIEIwLi43ICAgTnVtYmVyIG9mIGRhdGEgYml0cwogKiAgIEI4Li4xMCAgUGFyaXR5CiAqICAgICAgICAgICAwID0gTm9uZQogKiAgICAgICAgICAgMSA9IE9kZAogKiAgICAgICAgICAgMiA9IEV2ZW4KICogICAgICAgICAgIDMgPSBNYXJrCiAqICAgICAgICAgICA0ID0gU3BhY2UKICogICBCMTEuLjEzIFN0b3AgQml0cwogKiAgICAgICAgICAgMCA9IDEKICogICAgICAgICAgIDEgPSAxLjUKICogICAgICAgICAgIDIgPSAyCiAqICAgQjE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