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QogKiB3VmFsdWU6ICAgICAgICAgRGF0YSBjaGFyYWN0ZXJpc3RpY3MgKHNlZSBiZWxvdykKICogd0luZGV4OiAgICAgICAgIFBvcnQKICogd0xlbmd0aDogICAgICAgIDAKICogRGF0YTogICAgICAgICAgIE5vCiAqCiAqIERhdGEgY2hhcmFjdGVyaXN0aWNzCiAqCiAqICAgQjAuLjcgICBOdW1iZXIgb2YgZGF0YSBiaXRzCiAqICAgQjguLjEwICBQYXJpdHkKICogICAgICAgICAgIDAgPSBOb25lCiAqICAgICAgICAgICAxID0gT2RkCiAqICAgICAgICAgICAyID0gRXZlbgogKiAgICAgICAgICAgMyA9IE1hcmsKICogICAgICAgICAgIDQgPSBTcGFjZQogKiAgIEIxMS4uMTMgU3RvcCBCaXRzCiAqICAgICAgICAgICAwID0gMQogKiAgICAgICAgICAgMSA9IDEuNQogKiAgICAgICAgICAgMiA9IDIKICogICBCMTQKICogICAgICAgICAgIDEgPSBUWCBPTiAoYnJlYWspCiAqICAgICAgICAgICAwID0gVFggT0ZGIChub3JtYWwgc3RhdGUpCiAqICAgQjE1IFJlc2VydmVkCiAqCiAqLwoKCgovKiBGVERJX1NJT19NT0RFTV9DVFJMICovCiNkZWZpbmUgRlRESV9TSU9fU0VUX01PREVNX0NUUkxfUkVRVUVTVF9UWVBFIDB4NDAKI2RlZmluZSBGVERJX1NJT19TRVRfTU9ERU1fQ1RSTF9SRVFVRVNUIEZURElfU0lPX01PREVNX0NUUkwKCi8qIAogKiBCbVJlcXVlc3RUeXBlOiAgIDAxMDAgMDAwMEIKICogYlJlcXVlc3Q6ICAgICAgICBGVERJX1NJT19NT0RFTV9DVFJMCiAqIHdWYWx1ZTogICAgICAgICAgQ29udHJvbFZhbHVlIChzZWUgYmVsb3cpCiAqIHdJbmRleDogICAgICAgICAgUG9ydAogKiB3TGVuZ3RoOiAgICAgICAgIDAKICogRGF0YTogICAgICAgICAgICBOb25lCiAqCiAqIE5PVEU6IElmIHRoZSBkZXZpY2UgaXMg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