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AgICAgTWFya3VzIE11bHRydXMKICAgQ29udGVudHMvRGVzY3JpcHRpb246IFBTIFdyYXBwZXIsIERvd25taXggaGVhZGVyIGZpbGUKCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8KCiNpZm5kZWYgX19JTkNMVURFRF9QU19NQUlOX0gKI2RlZmluZSBfX0lOQ0xVREVEX1BTX01BSU5fSAoKLyogSW5jbHVkZXMgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLwojaW5jbHVkZSAic2JyX2RlZi5oIgojaW5jbHVkZSAicW1mLmgiCiNpbmNsdWRlICJwc19lbmNvZGUuaCIKI2luY2x1ZGUgIkZES19iaXRzdHJlYW0uaCIKI2luY2x1ZGUgIkZES19oeWJyaWQuaCIKCgovKiBEYXRhIFR5cGVzICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovCnR5cGVkZWYgZW51bSB7CiAgUFNFTkNfU1RFUkVPX0JBTkRTX0lOVkFMSUQgPSAwLAogIFBTRU5DX1NURVJFT19CQU5EU18xMCAgICAgID0gMTAsCiAgUFNFTkNfU1RFUkVPX0JBTkRTXzIwICAgICAgPSAyMAoKfSBQU0VOQ19TVEVSRU9fQkFORFNfQ09ORklHOwoKdHlwZWRlZiBlbnVtIHsKICBQU0VOQ19ORU5WXzEgICAgICAgICAgICAgICA9IDEsCiAgUFNFTkNfTkVOVl8yICAgICAgICAgICAgICAgPSAyLAogIFBTRU5DX05FTlZfNCAgICAgICAgICAgICAgID0gNCwKICBQU0VOQ19ORU5WX0RFRkFVTFQgICAgICAgICA9IFBTRU5DX05FTlZfMiwKICBQU0VOQ19ORU5WX01BWCAgICAgICAgICAgICA9IFBTRU5DX05FTlZfNAoKfSBQU0VOQ19ORU5WX0NPTkZJRzsKCnR5cGVkZWYgc3RydWN0IHsKICBVSU5UICAgICAgICAgICAgICAgICAgICAgICAgYml0cmF0ZUZyb207ICAgLyogaW5jbHVzaXZlICovCiAgVUlOVCAgICAgICAgICAgICAgICAgICAgICAgIGJpdHJhdGVUbzsgICAgIC8qIGV4Y2x1c2l2ZSAqLwogIFBTRU5DX1NURVJFT19CQU5EU19DT05GSUcgICBuU3RlcmVvQmFuZHM7CiAgUFNFTkNfTkVOVl9DT05GSUcgICAgICAgICAgIG5FbnZlbG9wZXM7CiAgTE9ORyAgICAgICAgICAgICAgICAgICAgICAgIGlpZFF1YW50RXJyb3JUaHJlc2hvbGQ7ICAvKiBxdWFudGl6YXRpb24gdGhyZXNob2xkIHRvIHN3aXRjaCBiZXR3ZWVuIGNvYXJzZSBhbmQgZmluZSBpaWQgcXVhbnRpemF0aW9uICovCgp9IHBzVHVuaW5nVGFibGVfdDsKCi8qIEZ1bmN0aW9uIC8gQ2xhc3MgRGVjbGFyYXRpb25zICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8KCnR5cGVkZWYgc3RydWN0IFRfUEFSQU1FVFJJQ19TVEVSRU8gewogIEhBTkRMRV9QU19FTkNPREUgICAgICAgICAgICBoUHNFbmNvZGU7CiAgUFNfT1VUICAgICAgICAgICAgICAgICAgICAgIHBzT3V0WzJdOwoKICBGSVhQX0RCTCAgICAgICAgICAgICAgICAgICAgX19zdGF0aWNIeWJyaWREYXRhW0hZQlJJRF9SRUFEX09GRlNFVF1bTUFYX1BTX0NIQU5ORUxTXVsyXVtNQVhfSFlCUklEX0JBTkRTXTsKICBGSVhQX0RCTCAgICAgICAgICAgICAgICAgICAqcEh5YnJpZERhdGFbSFlCUklEX1JFQURfT0ZGU0VUK0hZQlJJRF9GUkFNRVNJWkVdW01BWF9QU19DSEFOTkVMU11bMl07CgogIEZJWFBfUU1GICAgICAgICAgICAgICAgICAgICBxbWZEZWxheUxpbmVzWzJdW1FNRl9NQVhfVElNRV9TTE9UUz4+MV1bUU1GX0NIQU5ORUxTXTsKICBpbnQgICAgICAgICAgICAgICAgICAgICAgICAgcW1mRGVsYXlTY2FsZTsKCiAgSU5UICAgICAgICAgICAgICAgICAgICAgICAgIHBzRGVsYXk7CiAgVUlOVCAgICAgICAgICAgICAgICAgICAgICAgIG1heEVudmVsb3BlczsKICBVQ0hBUiAgICAgICAgICAgICAgICAgICAgICAgZHluQmFuZFNjYWxlW1BTX01BWF9CQU5EU107CiAgRklYUF9EQkwgICAgICAgICAgICAgICAgICAgIG1heEJhbmRWYWx1ZVtQU19NQVhfQkFORFNdOwogIFNDSEFSICAgICAgICAgICAgICAgICAgICAgICBkbXhTY2FsZTsKICBJTlQgICAgICAgICAgICAgICAgICAgICAgICAgaW5pdFBTOwogIElOVCAgICAgICAgICAgICAgICAgICAgICAgICBub1FtZlNsb3RzOwogIElOVCAgICAgICAgICAgICAgICAgICAgICAgICBub1FtZkJhbmRzOwoKICBGSVhQX0RCTCAgICAgICAgICAgICAgICAgICAgX19zdGF0aWNIeWJBbmFTdGF0ZXNMRltNQVhfUFNfQ0hBTk5FTFNdWzIqSFlCUklEX0ZJTFRFUl9MRU5HVEgqSFlCUklEX01BWF9RTUZfQkFORFNdOwogIEZJWFBfREJMICAgICAgICAgICAgICAgICAgICBfX3N0YXRpY0h5YkFuYVN0YXRlc0hGW01BWF9QU19DSEFOTkVMU11bMipIWUJSSURfRklMVEVSX0RFTEFZKihRTUZfQ0hBTk5FTFMtSFlCUklEX01BWF9RTUZfQkFORFMpXTsKICBGREtfQU5BX0hZQl9GSUxURVIgICAgICAgICAgZmRrSHliQW5hRmlsdGVyW01BWF9QU19DSEFOTkVMU107CiAgRkRLX1NZTl9IWUJfRklMVEVSICAgICAgICAgIGZka0h5YlN5bkZpbHRlcjsKCn0gUEFSQU1FVFJJQ19TVEVSRU87CgoKdHlwZWRlZiBzdHJ1Y3QgVF9QU0VOQ19DT05GSUcgewogIElOVCAgICAgICAgICAgICAgICAgICAgICAgICBmcm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4KICogXHBhcmFtIHNiclN5bnRoUW1mICAgICAgICAgICBQb2ludGVyIHRvIFFNRiBzeW50aGVzaXMgZmlsdGVyYmFuay4KICogXHBhcmFtIHFtZlNjYWxlICAgICAgICAgICAgICBSZXR1cm4gc2NhbGluZyBmYWN0b3Igb2YgdGhlIHFtZiBkYXRhLgogKiBccGFyYW0gc2VuZEhlYWRlciAgICAgICAgICAgIFNpZ25hbCB3aGV0aGVyIHRvIHdyaXRlIGhlYWRlciBkYXRhLgogKgogKiBccmV0dXJuCiAqICAgICAgICAgIC0gUFNFTkNfT0ssIG9uIHN1Y2Nlcy4KICogICAgICAgICAgLSBQU0VOQ19JTlZBTElEX0hBTkRMRSwgUFNFTkNfRU5DT0RFX0VSUk9SLCBvbiBmYWlsdXJlLgogKi8KRkRLX1BTRU5DX0VSUk9SIEZES3NickVuY19QU0VuY19QYXJhbWV0cmljU3RlcmVvUHJvY2Vzc2luZygKICAgICAgICBIQU5ETEVfUEFSQU1FVFJJQ19TVEVSRU8gIGhQYXJhbWV0cmljU3RlcmVvLAogICAgICAgIElOVF9QQ00gICAgICAgICAgICAgICAgICAqc2FtcGxlc1syXSwKICAgICAgICBVSU5UICAgICAgICAgICAgICAgICAgICAgIHRpbWVJblN0cmlkZSwKICAgICAgICBRTUZfRklMVEVSX0JBTksgICAgICAgICAqKmhRbWZBbmFseXNpcywKICAgICAgICBGSVhQX1FNRiAqKlJFU1RSSUNUICAgICAgIGRvd25taXhlZFJlYWxRbWZEYXRhLAogICAgICAgIEZJWFBfUU1GICoqUkVTVFJJQ1QgICAgICAgZG93bm1peGVkSW1hZ1FtZkRhdGEsCiAgICAgICAgSU5UX1BDTSAgICAgICAgICAgICAgICAgICpkb3duc2FtcGxlZE91dFNpZ25hbCwKICAgICAgICBIQU5ETEVfUU1GX0ZJTFRFUl9CQU5LICAgIHNiclN5bnRoUW1mLAogICAgICAgIFNDSEFSICAgICAgICAgICAgICAgICAgICAqcW1mU2NhbGUsCiAgICAgICAgY29uc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