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WYWx1ZTogICAgICAgICBEYXRhIGNoYXJhY3RlcmlzdGljcyAoc2VlIGJlbG93KQogKiB3SW5kZXg6ICAgICAgICAgUG9ydAogKiB3TGVuZ3RoOiAgICAgICAgMAogKiBEYXRhOiAgICAgICAgICAgTm8KICoKICogRGF0YSBjaGFyYWN0ZXJpc3RpY3MKICoKICogICBCMC4uNyAgIE51bWJlciBvZiBkYXRhIGJpdHMKICogICBCOC4uMTAgIFBhcml0eQogKiAgICAgICAgICAgMCA9IE5vbmUKICogICAgICAgICAgIDEgPSBPZGQKICogICAgICAgICAgIDIgPSBFdmVuCiAqICAgICAgICAgICAzID0gTWFyawogKiAgICAgICAgICAgNCA9IFNwYWNlCiAqICAgQjExLi4xMyBTdG9wIEJpdHMKICogICAgICAgICAgIDAgPSAxCiAqICAgICAgICAgICAxID0gMS41CiAqICAgICAgICAgICAyID0gMgogKiAgIEIxNAogKiAgICAgICAgICAgMSA9IFRYIE9OIChicmVhaykKICogICAgICAgICAgIDAgPSBUWCBPRkYgKG5vcm1hbCBzdGF0ZSkKICogICBCMTUgUmVzZXJ2ZWQKICoKICovCgoKCi8qIEZURElfU0lPX01PREVNX0NUUkwgKi8KI2RlZmluZSBGVERJX1NJT19TRVRfTU9ERU1fQ1RSTF9SRVFVRVNUX1RZUEUgMHg0MAojZGVmaW5lIEZURElfU0lPX1NFVF9NT0RFTV9DVFJMX1JFUVVFU1QgRlRESV9TSU9fTU9ERU1fQ1RSTAoKLyogCiAqIEJtUmVxdWVzdFR5cGU6ICAgMDEwMCAwMDAwQgogKiBiUmVxdWVzdDogICAgICAgIEZURElfU0lPX01PREVNX0NUUkwKICogd1ZhbHVlOiAgICAgICAgICBDb250cm9sVmFsdWUgKHNlZSBiZWxvdykKICogd0luZGV4OiAgICAgICAgICBQb3J0CiAqIHdMZW5ndGg6ICAgICAgICAgMAogKiBEYXRhOiAgICAgICAgICAgIE5vbmUKICoKICogTk9URTogSWYgdGhlIGRldmljZSBpcyBpbiBSVFMvQ1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maW5lIEZURElfU0lPX1JJX01BU0sgIDB4NDAKI2RlZmluZSBGVERJX1NJT19STFNEX01BU0sgMHg4MAovKiAKICogICBCbVJlcXVlc3RUeXBlOiAgIDExMDAgMDAwMGIKICogICBiUmVxdWVzdDogICAgICAgIEZURElfU0lPX0dFVF9NT0RFTV9TVEFUVVMKICogICB3VmFsdWU6ICAgICAgICAgIHplcm8KICogICB3SW5kZXg6ICAgICAgICAgIFBvcnQKICogICB3TGVuZ3RoOiAgICAgICAgIDEKICogICBEYXRhOiAgICAgICAgICAgIFN0YXR1cwogKiAKICogT25lIGJ5dGUgb2YgZGF0YSBpcyByZXR1cm5lZCAKICogQjAuLjMgMAogKiBCNCAgICBDVFMKICogICAgICAgICAwID0gaW5hY3RpdmUKICogICAgICAgICAxID0gYWN0aXZlCiAqIEI1ICAgIERTUgogKiAgICAgICAgIDAgPSBpbmFjdGl2ZQogKiAgICAgICAgIDEgPSBhY3RpdmUKICogQjYgICAgUmluZyBJbmRpY2F0b3IgKFJJKQogKiAgICAgICAgIDAgPSBpbmFjdGl2ZQogKiAgICAgICAgIDEgPSBhY3RpdmUKICogQjcgICAgUmVjZWl2ZSBMaW5lIFNpZ25hbCBEZXRlY3QgKFJMU0QpCiAqICAgICAgICAgMCA9IGluYWN0aXZlCiAqICAgICAgICAgMSA9IGFjdGl2ZSAKICovCgoKCi8qIERlc2NyaXB0b3JzIHJldHVybmVkIGJ5IHRoZSBkZXZpY2UgCiAqIAogKiAgRGV2aWNlIERlc2NyaXB0b3IKICogCiAqIE9mZnNldAlGaWVsZAkJU2l6ZQlWYWx1ZQlEZXNjcmlwdGlvbgogKiAwCWJMZW5ndGgJCTEJMHgxMglTaXplIG9mIGRlc2NyaXB0b3IgaW4gYnl0ZXMKICogMQliRGVzY3JpcHRvclR5cGUJMQkweDAxCURFVklDRSBEZXNjcmlwdG9yIFR5cGUKICogMgliY2RVU0IJCTIJMHgwMTEwCVVTQiBTcGVjIFJlbGVhc2UgTnVtYmVyCiA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