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NhbGUpKSA8IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMSkpKSA/IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMSkpIFwKICAgICAgICAgICAgICA6ICgoTE9ORykoc3JjKSA+PiAoc2NhbGUpKSApCiNlbmRpZgoKI2lmbmRlZiBTQVRVUkFURV9MRUZUX1NISUZUCiAgI2RlZmluZSBTQVRVUkFURV9MRUZUX1NISUZUKHNyYywgc2NhbGUsIGRCaXRzKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcCiAgICAgICAgICAgICggKChMT05HKShzcmMpID4gKChMT05HKSgoKDFVKTw8KChkQml0cyktMSkpLTEpPj4oc2NhbGUpKSkgICAgPyAoTE9ORykoKCgxVSk8PCgoZEJpdHMpLTEpKS0xKSAgICAgIFwKICAgICAgICAgICAgICA6ICgoTE9ORykoc3JjKSA8IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMSk+PihzY2FsZSkpKSA/IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMSkpICAgXAogICAgICAgICAgICAgIDogKChMT05HKShzcmMpIDw8IChzY2FsZSkpICkKI2VuZGlmCgojaWZuZGVmIFNBVFVSQVRFX1NISUZUCiNkZWZpbmUgU0FUVVJBVEVfU0hJRlQoc3JjLCBzY2FsZSwgZEJpdHMpICAgICAgICAgICAgICAgXAogICAgICggKChzY2FsZSkgPCAwKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogICAgICA/IFNBVFVSQVRFX0xFRlRfU0hJRlQoKHNyYyksIC0oc2NhbGUpLCAoZEJpdHMpKSAgIFwKICAgICAgOiBTQVRVUkFURV9SSUdIVF9TSElGVCgoc3JjKSwgKHNjYWxlKSwgKGRCaXRzKSkgKQojZW5kaWYKCi8qCiAqIEFsdGVybmF0aXZlIHNoaWZ0IGFuZCBzYXR1cmF0ZSBsZWZ0LCBzYXR1cmF0ZXMgdG8gLTAuOTk5OTkgaW5zdGVhZCBvZiAtMS4wMDAwCiAqIHRvIGF2b2lkIHByb2JsZW1zIHdoZW4gaW52ZXJ0aW5nIHRoZSBzaWduIG9mIHRoZSByZXN1bHQuCiAqLwojaWZuZGVmIFNBVFVSQVRFX0xFRlRfU0hJRlRfQUxUCiNkZWZpbmUgU0FUVVJBVEVfTEVGVF9TSElGVF9BTFQoc3JjLCBzY2FsZSwgZEJpdHMpICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcCiAgICAgICAgICAgICggKChMT05HKShzcmMpID4gKChMT05HKSgoKDFVKTw8KChkQml0cyktMSkpLTEpPj4oc2NhbGUpKSkgICAgPyAoTE9ORykoKCgxVSk8PCgoZEJpdHMpLTEpKS0xKSAgICAgIFwKICAgICAgICAgICAgICA6ICgoTE9ORykoc3JjKSA8IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMik+PihzY2FsZSkpKSA/IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMikpICAgXAogICAgICAgICAgICAgIDogKChMT05HKShzcmMpIDw8IChzY2FsZSkpICkKI2VuZGlmCgojaWZuZGVmIFNBVFVSQVRFX1JJR0hUX1NISUZUX0FMVAogICNkZWZpbmUgU0FUVVJBVEVfUklHSFRfU0hJRlRfQUxUKHNyYywgc2NhbGUsIGRCaXRzKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogICAgICAgICAgICAoICgoKExPTkcpKHNyYyk+PihzY2FsZSkpID4gKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMSkpICAgICAgPyAoTE9ORykoKCgxVSk8PCgoZEJpdHMpLTEpKS0xKSAgICBcCiAgICAgICAgICAgICAgOiAoKChMT05HKShzcmMpPj4oc2NhbGUpKSA8IH4oKExPTkcpKCgoMVUpPDwoKGRCaXRzKS0xKSktMikpKSA/IH4oKEx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