This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/7376: linux kernel 2.4.19-rc3 parser error w/ 3.2 CVS (works w/ 3.1) on ix86 semaphore.c


>Number:         7376
>Category:       c
>Synopsis:       linux kernel 2.4.19-rc3 parser error w/ 3.2 CVS (works w/ 3.1) on ix86 semaphore.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 22 11:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     priestwilliaml@yahoo.com
>Release:        3.2 CVS sync'ed today (7/22/02 CST)
>Organization:
>Environment:
linux ix86
>Description:
Trying to compile/build Linux Kernel 2.4.19-rc3 on ix86 using
latest bootstrapped 3.2 sync'ed from CVS today (didn't work
with sync from last week either).  File in question is
semaphore.c.  This same file compiles fine w/ 3.1.
./configure --enable-languages="c,c++" \ --prefix=/home/bpriest/usr/local
make bootstrap-lean

/home/bpriest/usr/local/bin/gcc --verbose --save-temps -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mpreferred-stack-boundary=2 -march=i686   -nostdinc -I /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include -DKBUILD_BASENAME=semaphore  -c -o semaphore.o semaphore.c
Reading specs from /home/bpriest/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc/configure --enable-languages=c,c++ --prefix=/home/bpriest/usr/local : (reconfigured) ../gcc/configure --enable-languages=c,c++ : (reconfigured) ../gcc/configure --enable-languages=c,c++ --prefix=/home/bpriest/usr/local
Thread model: single
gcc version 3.2 20020722 (experimental)
 /home/bpriest/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1 -E -quiet -nostdinc -v -I/usr/src/linux/include -I /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__KERNEL__ -DKBUILD_BASENAME=semaphore semaphore.c -Wall -Wstrict-prototypes -Wno-trigraphs -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -fno-common -fomit-frame-pointer -O2 semaphore.i
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/linux/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
End of search list.
semaphore.c:265:1: missing terminating " character
semaphore.c:290:1: missing terminating " character

same file compiled w/ 3.1
/usr/local/bin/gcc --verbose --save-temps -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mpreferred-stack-boundary=2 -march=i686   -nostdinc -I /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include -DKBUILD_BASENAME=semaphore  -c -o semaphore.o semaphore.c
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/usr/local --enable-languages=c,c++,g77
Thread model: single
gcc version 3.1
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/cpp0 -lang-c -nostdinc -v -I/usr/src/linux/include -I /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__tune_i686__ -D__tune_pentiumpro__ -D__KERNEL__ -DKBUILD_BASENAME=semaphore semaphore.c -Wall -Wstrict-prototypes -Wno-trigraphs semaphore.i
GNU CPP version 3.1 (cpplib) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/src/linux/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
End of search list.
semaphore.c:265:1: warning: multi-line string literals are deprecated
semaphore.c:269:35: warning: multi-line string literals are deprecated
semaphore.c:271:27: warning: multi-line string literals are deprecated
semaphore.c:274:35: warning: multi-line string literals are deprecated
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1 -fpreprocessed semaphore.i -quiet -dumpbase semaphore.c -mpreferred-stack-boundary=2 -march=i686 -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -version -fno-strict-aliasing -fno-common -fomit-frame-pointer -o semaphore.s
GNU CPP version 3.1 (cpplib) (i386 Linux/ELF)
GNU C version 3.1 (i686-pc-linux-gnu)
	compiled by GNU C version 3.1.
semaphore.c:265:1: warning: multi-line string literals are deprecated
semaphore.c:269:36: warning: multi-line string literals are deprecated
semaphore.c:271:23: warning: multi-line string literals are deprecated
semaphore.c:274:36: warning: multi-line string literals are deprecated
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/bin/as --traditional-format -V -Qy -o semaphore.o semaphore.s
GNU assembler version 2.12.1 (i686-pc-linux-gnu) using BFD version 2.12.1

I attached the 3.2 .i file (but since this is where the
problem is I'm not sure it will help).  I can also provide
the 3.1 .i file if that would be helpful.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="semaphore.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="semaphore.i"

IyAxICJzZW1hcGhvcmUuYyIKIyAxICI8YnVpbHQtaW4+IgojIDEgIjxjb21tYW5kIGxpbmU+Igoj
IDEgInNlbWFwaG9yZS5jIgojIDE1ICJzZW1hcGhvcmUuYyIKIyA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ogICAgICAgICAgICAgICAgOiAiPWEiICgqZWF4KSwKICAgICAgICAgICAgICAgICAg
Ij1iIiAoKmVieCksCiAgICAgICAgICAgICAgICAgICI9YyIgKCplY3gpLAogICAgICAgICAgICAg
ICAgICAiPWQiICgqZWR4KQogICAgICAgICAgICAgICAgOiAiMCIgKG9wKSk7Cn0KCgoKCnN0YXRp
YyBpbmxpbmUgdW5zaWduZWQgaW50IGNwdWlkX2VheCh1bnNpZ25lZCBpbnQgb3ApCnsKICAgICAg
ICB1bnNpZ25lZCBpbnQgZWF4OwoKICAgICAgICBfX2FzbV9fKCJjcHVpZCIKICAgICAgICAgICAg
ICAgIDogIj1hIiAoZWF4KQogICAgICAgICAgICAgICAgOiAiMCIgKG9wKQogICAgICAgICAgICAg
ICAgOiAiYngiLCAiY3giLCAiZHgiKTsKICAgICAgICByZXR1cm4gZWF4Owp9CnN0YXRpYyBpbmxp
bmUgdW5zaWduZWQgaW50IGNwdWlkX2VieCh1bnNpZ25lZCBpbnQgb3ApCnsKICAgICAgICB1bnNp
Z25lZCBpbnQgZWF4LCBlYng7CgogICAgICAgIF9fYXNtX18oImNwdWlkIgogICAgICAgICAgICAg
ICAgOiAiPWEiIChlYXgpLCAiPWIiIChlYngpCiAgICAgICAgICAgICAgICA6ICIwIiAob3ApCiAg
ICAgICAgICAgICAgICA6ICJjeCIsICJkeCIgKTsKICAgICAgICByZXR1cm4gZWJ4Owp9CnN0YXRp
YyBpbmxpbmUgdW5zaWduZWQgaW50IGNwdWlkX2VjeCh1bnNpZ25lZCBpbnQgb3ApCnsKICAgICAg
ICB1bnNpZ25lZCBpbnQgZWF4LCBlY3g7CgogICAgICAgIF9fYXNtX18oImNwdWlkIgogICAgICAg
ICAgICAgICAgOiAiPWEiIChlYXgpLCAiPWMiIChlY3gpCiAgICAgICAgICAgICAgICA6ICIwIiAo
b3ApCiAgICAgICAgICAgICAgICA6ICJieCIsICJkeCIgKTsKICAgICAgICByZXR1cm4gZWN4Owp9
CnN0YXRpYyBpbmxpbmUgdW5zaWduZWQgaW50IGNwdWlkX2VkeCh1bnNpZ25lZCBpbnQgb3ApCnsK
ICAgICAgICB1bnNpZ25lZCBpbnQgZWF4LCBlZHg7CgogICAgICAgIF9fYXNtX18oImNwdWlkIgog
ICAgICAgICAgICAgICAgOiAiPWEiIChlYXgpLCAiPWQiIChlZHgpCiAgICAgICAgICAgICAgICA6
ICIwIiAob3ApCiAgICAgICAgICAgICAgICA6ICJieCIsICJjeCIpOwogICAgICAgIHJldHVybiBl
ZHg7Cn0KIyAyMDMgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvYXNtL3Byb2Nlc3Nvci5oIgpleHRl
cm4gdW5zaWduZWQgbG9uZyBtbXVfY3I0X2ZlYXR1cmVzOwoKc3RhdGljIGlubGluZSB2b2lkIHNl
dF9pbl9jcjQgKHVuc2lnbmVkIGxvbmcgbWFzaykKewogICAgICAgIG1tdV9jcjRfZmVhdHVyZXMg
fD0gbWFzazsKICAgICAgICBfX2FzbV9fKCJtb3ZsICUlY3I0LCUlZWF4XG5cdCIKICAgICAgICAg
ICAgICAgICJvcmwgJTAsJSVlYXhcblx0IgogICAgICAgICAgICAgICAgIm1vdmwgJSVlYXgsJSVj
cjRcbiIKICAgICAgICAgICAgICAgIDogOiAiaXJnIiAobWFzaykKICAgICAgICAgICAgICAgIDoi
YXgiKTsKfQoKc3RhdGljIGlubGluZSB2b2lkIGNsZWFyX2luX2NyNCAodW5zaWduZWQgbG9uZyBt
YXNrKQp7CiAgICAgICAgbW11X2NyNF9mZWF0dXJlcyAmPSB+bWFzazsKICAgICAgICBfX2FzbV9f
KCJtb3ZsICUlY3I0LCUlZWF4XG5cdCIKICAgICAgICAgICAgICAgICJhbmRsICUwLCUlZWF4XG5c
dCIKICAgICAgICAgICAgICAgICJtb3ZsICUlZWF4LCUlY3I0XG4iCiAgICAgICAgICAgICAgICA6
IDogImlyZyIgKH5tYXNrKQogICAgICAgICAgICAgICAgOiJheCIpOwp9CiMgMjY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g
ICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAibG9jayA7ICIgInN1
YmwgJTEsJTAiCiAgICAgICAgICAgICAgICA6Ij1tIiAodi0+Y291bnRlcikKICAgICAgICAgICAg
ICAgIDoiaXIiIChpKSwgIm0iICh2LT5jb3VudGVyKSk7Cn0KIyA4NyAiL3Vzci9zcmMvbGludXgv
aW5jbHVkZS9hc20vYXRvbWljLmgiCnN0YXRpYyBfX2lubGluZV9fIGludCBhdG9taWNfc3ViX2Fu
ZF90ZXN0KGludCBpLCBhdG9taWNfdCAqdikKewogICAgICAgIHVuc2lnbmVkIGNoYXIgYzsKCiAg
ICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAibG9jayA7ICIgInN1
YmwgJTIsJTA7IHNldGUgJTEiCiAgICAgICAgICAgICAgICA6Ij1tIiAodi0+Y291bnRlciksICI9
cW0iIChjKQogICAgICAgICAgICAgICAgOiJpciIgKGkpLCAibSIgKHYtPmNvdW50ZXIpIDogIm1l
bW9yeSIpOwogICAgICAgIHJldHVybiBjOwp9CiMgMTA1ICIvdXNyL3NyYy9saW51eC9pbmNsdWRl
L2FzbS9hdG9taWMuaCIKc3RhdGljIF9faW5saW5lX18gdm9pZCBhdG9taWNfaW5jKGF0b21pY190
ICp2KQp7CiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAibG9j
ayA7ICIgImluY2wgJTAiCiAgICAgICAgICAgICAgICA6Ij1tIiAodi0+Y291bnRlcikKICAgICAg
ICAgICAgICAgIDoibSIgKHYtPmNvdW50ZXIpKTsKfQojIDEyMCAiL3Vzci9zcmMvbGludXgvaW5j
bHVkZS9hc20vYXRvbWljLmgiCnN0YXRpYyBfX2lubGluZV9fIHZvaWQgYXRvbWljX2RlYyhhdG9t
aWNfdCAqdikKewogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAgICAgICAgICAg
ImxvY2sgOyAiICJkZWNsICUwIgogICAgICAgICAgICAgICAgOiI9bSIgKHYtPmNvdW50ZXIpCiAg
ICAgICAgICAgICAgICA6Im0iICh2LT5jb3VudGVyKSk7Cn0KIyAxMzcgIi91c3Ivc3JjL2xpbnV4
L2luY2x1ZGUvYXNtL2F0b21pYy5oIgpzdGF0aWMgX19pbmxpbmVfXyBpbnQgYXRvbWljX2RlY19h
bmRfdGVzdChhdG9taWNfdCAqdikKewogICAgICAgIHVuc2lnbmVkIGNoYXIgYzsKCiAgICAgICAg
X19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAibG9jayA7ICIgImRlY2wgJTA7
IHNldGUgJTEiCiAgICAgICAgICAgICAgICA6Ij1tIiAodi0+Y291bnRlciksICI9cW0iIChjKQog
ICAgICAgICAgICAgICAgOiJtIiAodi0+Y291bnRlcikgOiAibWVtb3J5Iik7CiAgICAgICAgcmV0
dXJuIGMgIT0gMDsKfQojIDE1NyAiL3Vzci9zcmMvbGludXgvaW5jbHVkZS9hc20vYXRvbWljLmgi
CnN0YXRpYyBfX2lubGluZV9fIGludCBhdG9taWNfaW5jX2FuZF90ZXN0KGF0b21pY190ICp2KQp7
CiAgICAgICAgdW5zaWduZWQgY2hhciBjOwoKICAgICAgICBfX2FzbV9fIF9fdm9sYXRpbGVfXygK
ICAgICAgICAgICAgICAgICJsb2NrIDsgIiAiaW5jbCAlMDsgc2V0ZSAlMSIKICAgICAgICAgICAg
ICAgIDoiPW0iICh2LT5jb3VudGVyKSwgIj1xbSIgKGMpCiAgICAgICAgICAgICAgICA6Im0iICh2
LT5jb3VudGVyKSA6ICJtZW1vcnkiKTsKICAgICAgICByZXR1cm4gYyAhPSAwOwp9CiMgMTc4ICIv
dXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9hdG9taWMuaCIKc3RhdGljIF9faW5saW5lX18gaW50
IGF0b21pY19hZGRfbmVnYXRpdmUoaW50IGksIGF0b21pY190ICp2KQp7CiAg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ykKewppbnQgZDAsIGQxLCBkMiwgZDM7
Cl9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAgICJyZXBuZVxuXHQiCiAgICAgICAgInNjYXNi
XG5cdCIKICAgICAgICAiZGVjbCAlMVxuIgogICAgICAgICIxOlx0bG9kc2Jcblx0IgogICAgICAg
ICJzdG9zYlxuXHQiCiAgICAgICAgInRlc3RiICUlYWwsJSVhbFxuXHQiCiAgICAgICAgImpuZSAx
YiIKICAgICAgICA6ICI9JlMiIChkMCksICI9JkQiIChkMSksICI9JmEiIChkMiksICI9JmMiIChk
MykKICAgICAgICA6ICIwIiAoc3JjKSwgIjEiIChkZXN0KSwgIjIiICgwKSwgIjMiICgweGZmZmZm
ZmZmKToibWVtb3J5Iik7CnJldHVybiBkZXN0Owp9CgoKc3RhdGljIGlubGluZSBjaGFyICogc3Ry
bmNhdChjaGFyICogZGVzdCxjb25zdCBjaGFyICogc3JjLHNpemVfdCBjb3VudCkKewppbnQgZDAs
IGQxLCBkMiwgZDM7Cl9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAgICJyZXBuZVxuXHQiCiAg
ICAgICAgInNjYXNiXG5cdCIKICAgICAgICAiZGVjbCAlMVxuXHQiCiAgICAgICAgIm1vdmwgJTgs
JTNcbiIKICAgICAgICAiMTpcdGRlY2wgJTNcblx0IgogICAgICAgICJqcyAyZlxuXHQiCiAgICAg
ICAgImxvZHNiXG5cdCIKICAgICAgICAic3Rvc2Jcblx0IgogICAgICAgICJ0ZXN0YiAlJWFsLCUl
YWxcblx0IgogICAgICAgICJqbmUgMWJcbiIKICAgICAgICAiMjpcdHhvcmwgJTIsJTJcblx0Igog
ICAgICAgICJzdG9zYiIKICAgICAgICA6ICI9JlMiIChkMCksICI9JkQiIChkMSksICI9JmEiIChk
MiksICI9JmMiIChkMykKICAgICAgICA6ICIwIiAoc3JjKSwiMSIgKGRlc3QpLCIyIiAoMCksIjMi
ICgweGZmZmZmZmZmKSwgImciIChjb3VudCkKICAgICAgICA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gICAgICAgIjM6XHRzYmJsICUlZWF4LCUlZWF4XG5cdCIKICAgICAgICAib3Ji
ICQxLCUlYWxcbiIKICAgICAgICAiNDoiCiAgICAgICAgICAgICAgICAgICAgIDoiPWEiIChfX3Jl
cyksICI9JlMiIChkMCksICI9JkQiIChkMSksICI9JmMiIChkMikKICAgICAgICAgICAgICAgICAg
ICAgOiIxIiAoY3MpLCIyIiAoY3QpLCIzIiAoY291bnQpKTsKcmV0dXJuIF9fcmVzOwp9CgoKc3Rh
dGljIGlubGluZSBjaGFyICogc3RyY2hyKGNvbnN0IGNoYXIgKiBzLCBpbnQgYykKewppbnQgZDA7
CnJlZ2lzdGVyIGNoYXIgKiBfX3JlczsKX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgIm1v
dmIgJSVhbCwlJWFoXG4iCiAgICAgICAgIjE6XHRsb2RzYlxuXHQiCiAgICAgICAgImNtcGIgJSVh
aCwlJWFsXG5cdCIKICAgICAgICAiamUgMmZcblx0IgogICAgICAgICJ0ZXN0YiAlJWFsLCUlYWxc
blx0IgogICAgICAgICJqbmUgMWJcblx0IgogICAgICAgICJtb3ZsICQxLCUxXG4iCiAgICAgICAg
IjI6XHRtb3ZsICUxLCUwXG5cdCIKICAgICAgICAiZGVjbCAlMCIKICAgICAgICA6Ij1hIiAoX19y
ZXMpLCAiPSZTIiAoZDApIDogIjEiIChzKSwiMCIgKGMpKTsKcmV0dXJuIF9fcmVzOwp9CgoKc3Rh
dGljIGlubGluZSBjaGFyICogc3RycmNocihjb25zdCBjaGFyICogcywgaW50IGMpCnsKaW50IGQw
LCBkMTsKcmVnaXN0ZXIgY2hhciAqIF9fcmVzOwpfX2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAg
ICAibW92YiAlJWFsLCUlYWhcbiIKICAgICAgICAiMTpcdGxvZHNiXG5cdCIKICAgICAgICAiY21w
YiAlJWFoLCUlYWxcblx0IgogICAgICAgICJqbmUgMmZcblx0IgogICAgICAgICJsZWFsIC0xKCUl
ZXNpKSwlMFxuIgogICAgICAgICIyOlx0dGVzdGIgJSVhbCwlJWFsXG5cdCIKICAgICAgICAiam5l
IDFiIgogICAgICAgIDoiPWciIChfX3JlcyksICI9JlMiIChkMCksICI9JmEiIChkMSkgOiIwIiAo
MCksIjEiIChzKSwiMiIgKGMpKTsKcmV0dXJuIF9fcmVzOwp9CgoKc3RhdGljIGlubGluZSBzaXpl
X3Qgc3RybGVuKGNvbnN0IGNoYXIgKiBzKQp7CmludCBkMDsKcmVnaXN0ZXIgaW50IF9fcmVzOwpf
X2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAgICAicmVwbmVcblx0IgogICAgICAgICJzY2FzYlxu
XHQiCiAgICAgICAgIm5vdGwgJTBcblx0IgogICAgICAgICJkZWNsICUwIgogICAgICAgIDoiPWMi
IChfX3JlcyksICI9JkQiIChkMCkgOiIxIiAocyksImEiICgwKSwgIjAiICgweGZmZmZmZmZmKSk7
CnJldHVybiBfX3JlczsKfQoKc3RhdGljIGlubGluZSB2b2lkICogX19tZW1jcHkodm9pZCAqIHRv
LCBjb25zdCB2b2lkICogZnJvbSwgc2l6ZV90IG4pCnsKaW50IGQwLCBkMSwgZDI7Cl9fYXNtX18g
X192b2xhdGlsZV9fKAogICAgICAgICJyZXAgOyBtb3ZzbFxuXHQiCiAgICAgICAgInRlc3RiICQy
LCViNFxuXHQiCiAgICAgICAgImplIDFmXG5cdCIKICAgICAgICAibW92c3dcbiIKICAgICAgICAi
MTpcdHRlc3RiICQxLCViNFxuXHQiCiAgICAgICAgImplIDJmXG5cdCIKICAgICAgICAibW92c2Jc
biIKICAgICAgICAiMjoiCiAgICAgICAgOiAiPSZjIiAoZDApLCAiPSZEIiAoZDEpLCAiPSZTIiAo
ZDIpCiAgICAgICAgOiIwIiAobi80KSwgInEiIChuKSwiMSIgKChsb25nKSB0byksIjIiICgobG9u
ZykgZnJvbSkKICAgICAgICA6ICJtZW1vcnkiKTsKcmV0dXJuICh0byk7Cn0KCgoKCgpzdGF0aWMg
aW5saW5lIHZvaWQgKiBfX2NvbnN0YW50X21lbWNweSh2b2lkICogdG8sIGNvbnN0IHZvaWQgKiBm
cm9tLCBzaXplX3QgbikKewogICAgICAgIHN3aXRjaCAobikgewogICAgICAgICAgICAgICAgY2Fz
ZSAwOgogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG87CiAgICAgICAgICAgICAgICBj
YXNlIDE6CiAgICAgICAgICAgICAgICAgICAgICAgICoodW5zaWduZWQgY2hhciAqKXRvID0gKihj
b25zdCB1bnNpZ25lZCBjaGFyICopZnJvbTsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJu
IHRvOwogICAgICAgICAgICAgICAgY2FzZSAyOgogICAgICAgICAgICAgICAgICAgICAgICAqKHVu
c2lnbmVkIHNob3J0ICopdG8gPSAqKGNvbnN0IHVuc2lnbmVkIHNob3J0ICopZnJvbTsKICAgICAg
ICAgICAgICAgICAgICAgICAgcmV0dXJuIHRvOwogICAgICAgICAgICAgICAgY2FzZSAzOgogICAg
ICAgICAgICAgICAgICAgICAgICAqKHVuc2lnbmVkIHNob3J0ICopdG8gPSAqKGNvbnN0IHVuc2ln
bmVkIHNob3J0ICopZnJvbTsKICAgICAgICAgICAgICAgICAgICAgICAgKigyKyh1bnNpZ25lZCBj
aGFyICopdG8pID0gKigyKyhjb25zdCB1bnNpZ25lZCBjaGFyICopZnJvbSk7CiAgICAgICAgICAg
ICAgICAgICAgICAgIHJldHVybiB0bzsKICAgICAgICAgICAgICAgIGNhc2UgNDoKICAgICAgICAg
ICAgICAgICAgICAgICAgKih1bnNpZ25lZCBsb25nICopdG8gPSAqKGNvbnN0IHVuc2lnbmVkIGxv
bmcgKilmcm9tOwogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG87CiAgICAgICAgICAg
ICAgICBjYXNlIDY6CiAgICAgICAgICAgICAgICAgICAgICAgICoodW5zaWduZWQgbG9uZyAqKXRv
ID0gKihjb25zdCB1bnNpZ25lZCBsb25nICopZnJvbTsKICAgICAgICAgICAgICAgICAgICAgICAg
KigyKyh1bnNpZ25lZCBzaG9ydCAqKXRvKSA9ICooMisoY29uc3QgdW5zaWduZWQgc2hvcnQgKilm
cm9tKTsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRvOwogICAgICAgICAgICAgICAg
Y2FzZSA4OgogICAgICAgICAgICAgICAgICAgICAgICAqKHVuc2lnbmVkIGxvbmcgKil0byA9ICoo
Y29uc3QgdW5zaWduZWQgbG9uZyAqKWZyb207CiAgICAgICAgICAgICAgICAgICAgICAgICooMSso
dW5zaWduZWQgbG9uZyAqKXRvKSA9ICooMSsoY29uc3QgdW5zaWduZWQgbG9uZyAqKWZyb20pOwog
ICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG87CiAgICAgICAgICAgICAgICBjYXNlIDEy
OgogICAgICAgICAgICAgICAgICAgICAgICAqKHVuc2lnbmVkIGxvbmcgKil0byA9ICooY29uc3Qg
dW5zaWduZWQgbG9uZyAqKWZyb207CiAgICAgICAgICAgICAgICAgICAgICAgICooMSsodW5zaWdu
ZWQgbG9uZyAqKXRvKSA9ICooMSsoY29uc3QgdW5zaWduZWQgbG9uZyAqKWZyb20pOwogICAgICAg
ICAgICAgICAgICAgICAgICAqKDIrKHVuc2lnbmVkIGxvbmcgKil0bykgPSAqKDIrKGNvbnN0IHVu
c2lnbmVkIGxvbmcgKilmcm9tKTsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRvOwog
ICAgICAgICAgICAgICAgY2FzZSAxNjoKICAgICAgICAgICAgICAgICAgICAgICAgKih1bnNpZ25l
ZCBsb25nICopdG8gPSAqKGNvbnN0IHVuc2lnbmVkIGxvbmcgKilmcm9tOwogICAgICAgICAgICAg
ICAgICAgICAgICAqKDErKHVuc2lnbmVkIGxvbmcgKil0bykgPSAqKDErKGNvbnN0IHVuc2lnbmVk
IGxvbmcgKilmcm9tKTsKICAgICAgICAgICAgICAgICAgICAgICAgKigyKyh1bnNpZ25lZCBsb25n
ICopdG8pID0gKigyKyhjb25zdCB1bnNpZ25lZCBsb25nICopZnJvbSk7CiAgICAgICAgICAgICAg
ICAgICAgICAgICooMysodW5zaWduZWQgbG9uZyAqKXRvKSA9ICooMysoY29uc3QgdW5zaWduZWQg
bG9uZyAqKWZyb20pOwogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG87CiAgICAgICAg
ICAgICAgICBjYXNlIDIwOgogICAgICAgICAgICAgICAgICAgICAgICAqKHVuc2lnbmVkIGxvbmcg
Kil0byA9ICooY29uc3QgdW5zaWduZWQgbG9uZyAqKWZyb207CiAgICAgICAgICAgICAgICAgICAg
ICAgICooMSsodW5zaWduZWQgbG9uZyAqKXRvKSA9ICooMSsoY29uc3QgdW5zaWduZWQgbG9uZyAq
KWZyb20pOwogICAgICAgICAgICAgICAgICAgICAgICAqKDIrKHVuc2lnbmVkIGxvbmcgKil0bykg
PSAqKDIrKGNvbnN0IHVuc2lnbmVkIGxvbmcgKilmcm9tKTsKICAgICAgICAgICAgICAgICAgICAg
ICAgKigzKyh1bnNpZ25lZCBsb25nICopdG8pID0gKigzKyhjb25zdCB1bnNpZ25lZCBsb25nICop
ZnJvbSk7CiAgICAgICAgICAgICAgICAgICAgICAgICooNCsodW5zaWduZWQgbG9uZyAqKXRvKSA9
ICooNCsoY29uc3QgdW5zaWduZWQgbG9uZyAqKWZyb20pOwogICAgICAgICAgICAgICAgICAgICAg
ICByZXR1cm4gdG87CiAgICAgICAgfQoKCgoKCgoKewogICAgICAgIGludCBkMCwgZDEsIGQyOwog
ICAgICAgIHN3aXRjaCAobiAlIDQpIHsKICAgICAgICAgICAgICAgIGNhc2UgMDogX19hc21fXyBf
X3ZvbGF0aWxlX18oICJyZXAgOyBtb3ZzbCIgIiIgOiAiPSZjIiAoZDApLCAiPSZEIiAoZDEpLCAi
PSZTIiAoZDIpIDogIjAiIChuLzQpLCIxIiAoKGxvbmcpIHRvKSwiMiIgKChsb25nKSBmcm9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ZXN0PHNyYykKX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgInJlcFxuXHQi
CiAgICAgICAgIm1vdnNiIgogICAgICAgIDogIj0mYyIgKGQwKSwgIj0mUyIgKGQxKSwgIj0mRCIg
KGQyKQogICAgICAgIDoiMCIgKG4pLCIxIiAoc3JjKSwiMiIgKGRlc3QpCiAgICAgICAgOiAibWVt
b3J5Iik7CmVsc2UKX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgInN0ZFxuXHQiCiAgICAg
ICAgInJlcFxuXHQiCiAgICAgICAgIm1vdnNiXG5cdCIKICAgICAgICAiY2xkIgogICAgICAgIDog
Ij0mYyIgKGQwKSwgIj0mUyIgKGQxKSwgIj0mRCIgKGQyKQogICAgICAgIDoiMCIgKG4pLAogICAg
ICAgICAiMSIgKG4tMSsoY29uc3QgY2hhciAqKXNyYyksCiAgICAgICAgICIyIiAobi0xKyhjaGFy
ICopZGVzdCkKICAgICAgICA6Im1lbW9yeSIpOwpyZXR1cm4gZGVzdDsKfQoKCgoKc3RhdGljIGlu
bGluZSB2b2lkICogbWVtY2hyKGNvbnN0IHZvaWQgKiBjcyxpbnQgYyxzaXplX3QgY291bnQpCnsK
aW50IGQwOwpyZWdpc3RlciB2b2lkICogX19yZXM7CmlmICghY291bnQpCiAgICAgICAgcmV0dXJu
ICgodm9pZCAqKTApOwpfX2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAgICAicmVwbmVcblx0Igog
ICAgICAgICJzY2FzYlxuXHQiCiAgICAgICAgImplIDFmXG5cdCIKICAgICAgICAibW92bCAkMSwl
MFxuIgogICAgICAgICIxOlx0ZGVjbCAlMCIKICAgICAgICA6Ij1EIiAoX19yZXMpLCAiPSZjIiAo
ZDApIDogImEiIChjKSwiMCIgKGNzKSwiMSIgKGNvdW50KSk7CnJldHVybiBfX3JlczsKfQoKc3Rh
dGljIGlubGluZSB2b2lkICogX19tZW1zZXRfZ2VuZXJpYyh2b2lkICogcywgY2hhciBjLHNpemVf
dCBjb3VudCkKewppbnQgZDAsIGQxOwpfX2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAgICAicmVw
XG5cdCIKICAgICAgICAic3Rvc2IiCiAgICAgICAgOiAiPSZjIiAoZDApLCAiPSZEIiAoZDEpCiAg
ICAgICAgOiJhIiAoYyksIjEiIChzKSwiMCIgKGNvdW50KQogICAgICAgIDoibWVtb3J5Iik7CnJl
dHVybiBzOwp9CiMgNDA4ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9zdHJpbmcuaCIKc3Rh
dGljIGlubGluZSB2b2lkICogX19jb25zdGFudF9jX21lbXNldCh2b2lkICogcywgdW5zaWduZWQg
bG9uZyBjLCBzaXplX3QgY291bnQpCnsKaW50IGQwLCBkMTsKX19hc21fXyBfX3ZvbGF0aWxlX18o
CiAgICAgICAgInJlcCA7IHN0b3NsXG5cdCIKICAgICAgICAidGVzdGIgJDIsJWIzXG5cdCIKICAg
ICAgICAiamUgMWZcblx0IgogICAgICAgICJzdG9zd1xuIgogICAgICAgICIxOlx0dGVzdGIgJDEs
JWIzXG5cdCIKICAgICAgICAiamUgMmZcblx0IgogICAgICAgICJzdG9zYlxuIgogICAgICAgICIy
OiIKICAgICAgICA6ICI9JmMiIChkMCksICI9JkQiIChkMSkKICAgICAgICA6ImEiIChjKSwgInEi
IChjb3VudCksICIwIiAoY291bnQvNCksICIxIiAoKGxvbmcpIHMpCiAgICAgICAgOiJtZW1vcnki
KTsKcmV0dXJuIChzKTsKfQoKCgpzdGF0aWMgaW5saW5lIHNpemVfdCBzdHJubGVuKGNvbnN0IGNo
YXIgKiBzLCBzaXplX3QgY291bnQpCnsKaW50IGQwOwpyZWdpc3RlciBpbnQgX19yZXM7Cl9fYXNt
X18gX192b2xhdGlsZV9fKAogICAgICAgICJtb3ZsICUyLCUwXG5cdCIKICAgICAgICAiam1wIDJm
XG4iCiAgICAgICAgIjE6XHRjbXBiICQwLCglMClcblx0IgogICAgICAgICJqZSAzZlxuXHQiCiAg
ICAgICAgImluY2wgJTBcbiIKICAgICAgICAiMjpcdGRlY2wgJTFcblx0IgogICAgICAgICJjbXBs
ICQtMSwlMVxuXHQiCiAgICAgICAgImpuZSAxYlxuIgogICAgICAgICIzOlx0c3VibCAlMiwlMCIK
ICAgICAgICA6Ij1hIiAoX19yZXMpLCAiPSZkIiAoZDApCiAgICAgICAgOiJjIiAocyksIjEiIChj
b3VudCkpOwpyZXR1cm4gX19yZXM7Cn0KCgoKCmV4dGVybiBjaGFyICpzdHJzdHIoY29uc3QgY2hh
ciAqY3MsIGNvbnN0IGNoYXIgKmN0KTsKCgoKCgpzdGF0aWMgaW5saW5lIHZvaWQgKiBfX2NvbnN0
YW50X2NfYW5kX2NvdW50X21lbXNldCh2b2lkICogcywgdW5zaWduZWQgbG9uZyBwYXR0ZXJuLCBz
aXplX3QgY291bnQpCnsKICAgICAgICBzd2l0Y2ggKGNvdW50KSB7CiAgICAgICAgICAgICAgICBj
YXNlIDA6CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzOwogICAgICAgICAgICAgICAg
Y2FzZSAxOgogICAgICAgICAgICAgICAgICAgICAgICAqKHVuc2lnbmVkIGNoYXIgKilzID0gcGF0
dGVybjsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHM7CiAgICAgICAgICAgICAgICBj
YXNlIDI6CiAgICAgICAgICAgICAgICAgICAgICAgICoodW5zaWduZWQgc2hvcnQgKilzID0gcGF0
dGVybjsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHM7CiAgICAgICAgICAgICAgICBj
YXNlIDM6CiAgICAgICAgICAgICAgICAgICAgICAgICoodW5zaWduZWQgc2hvcnQgKilzID0gcGF0
dGVybjsKICAgICAgICAgICAgICAgICAgICAgICAgKigyKyh1bnNpZ25lZCBjaGFyICopcykgPSBw
YXR0ZXJuOwogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gczsKICAgICAgICAgICAgICAg
IGNhc2UgNDoKICAgICAgICAgICAgICAgICAgICAgICAgKih1bnNpZ25lZCBsb25nICopcyA9IHBh
dHRlcm47CiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzOwogICAgICAgIH0KCgoKCgoK
CnsKICAgICAgICBpbnQgZDAsIGQxOwogICAgICAgIHN3aXRjaCAoY291bnQgJSA0KSB7CiAgICAg
ICAgICAgICAgICBjYXNlIDA6IF9fYXNtX18gX192b2xhdGlsZV9fKCAicmVwIDsgc3Rvc2wiICIi
IDogIj0mYyIgKGQwKSwgIj0mRCIgKGQxKSA6ICJhIiAocGF0dGVybiksIjAiIChjb3VudC80KSwi
MSIgKChsb25nKSBzKSA6ICJtZW1vcnkiKTsgcmV0dXJuIHM7CiAgICAgICAgICAgICAgICBjYXNl
IDE6IF9fYXNtX18gX192b2xhdGlsZV9fKCAicmVwIDsgc3Rvc2wiICJcblx0c3Rvc2IiIDogIj0m
YyIgKGQwKSwgIj0mRCIgKGQxKSA6ICJhIiAocGF0dGVybiksIjAiIChjb3VudC80KSwiMSIgKChs
b25nKSBzKSA6ICJtZW1vcnkiKTsgcmV0dXJuIHM7CiAgICAgICAgICAgICAgICBjYXNlIDI6IF9f
YXNtX18gX192b2xhdGlsZV9fKCAicmVwIDsgc3Rvc2wiICJcblx0c3Rvc3ciIDogIj0mYyIgKGQw
KSwgIj0mRCIgKGQxKSA6ICJhIiAocGF0dGVybiksIjAiIChjb3VudC80KSwiMSIgKChsb25nKSBz
KSA6ICJtZW1vcnkiKTsgcmV0dXJuIHM7CiAgICAgICAgICAgICAgICBkZWZhdWx0OiBfX2FzbV9f
IF9fdm9sYXRpbGVfXyggInJlcCA7IHN0b3NsIiAiXG5cdHN0b3N3XG5cdHN0b3NiIiA6ICI9JmMi
IChkMCksICI9JkQiIChkMSkgOiAiYSIgKHBhdHRlcm4pLCIwIiAoY291bnQvNCksIjEiICgobG9u
ZykgcykgOiAibWVtb3J5Iik7IHJldHVybiBzOwogICAgICAgIH0KfQoKCn0KIyA1MTU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pbnQgbnIsIHZvbGF0aWxlIHZvaWQgKiBhZGRyKQp7CiAgICAgICAg
X19hc21fXyBfX3ZvbGF0aWxlX18oICJsb2NrIDsgIgogICAgICAgICAgICAgICAgImJ0c2wgJTEs
JTAiCiAgICAgICAgICAgICAgICA6Ij1tIiAoKCoodm9sYXRpbGUgbG9uZyAqKSBhZGRyKSkKICAg
ICAgICAgICAgICAgIDoiSXIiIChucikpOwp9CiMgNTMgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUv
YXNtL2JpdG9wcy5oIgpzdGF0aWMgX19pbmxpbmVfXyB2b2lkIF9fc2V0X2JpdChpbnQgbnIsIHZv
bGF0aWxlIHZvaWQgKiBhZGRyKQp7CiAgICAgICAgX19hc21fXygKICAgICAgICAgICAgICAgICJi
dHNsICUxLCUwIgogICAgICAgICAgICAgICAgOiI9bSIgKCgqKHZvbGF0aWxlIGxvbmcgKikgYWRk
cikpCiAgICAgICAgICAgICAgICA6IklyIiAobnIpKTsKfQojIDcxICIvdXNyL3NyYy9saW51eC9p
bmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGljIF9faW5saW5lX18gdm9pZCBjbGVhcl9iaXQoaW50
IG5yLCB2b2xhdGlsZSB2b2lkICogYWRkcikKewogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9f
KCAibG9jayA7ICIKICAgICAgICAgICAgICAgICJidHJsICUxLCUwIgogICAgICAgICAgICAgICAg
OiI9bSIgKCgqKHZvbGF0aWxlIGxvbmcgKikgYWRkcikpCiAgICAgICAgICAgICAgICA6IklyIiAo
bnIpKTsKfQojIDkwICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGlj
IF9faW5saW5lX18gdm9pZCBfX2NoYW5nZV9iaXQoaW50IG5yLCB2b2xhdGlsZSB2b2lkICogYWRk
cikKewogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAgICAgICAgICAgImJ0Y2wg
JTEsJTAiCi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woKICAgICAgICBfX2FzbV9fKAogICAg
ICAgICAgICAgICAgImJ0c2wgJTIsJTFcblx0c2JibCAlMCwlMCIKICAgICAgICAgICAgICAgIDoi
PXIiIChvbGRiaXQpLCI9bSIgKCgqKHZvbGF0aWxlIGxvbmcgKikgYWRkcikpCiAgICAgICAgICAg
ICAgICA6IklyIiAobnIpKTsKICAgICAgICByZXR1cm4gb2xkYml0Owp9CiMgMTYyICIvdXNyL3Ny
Yy9saW51eC9pbmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGljIF9faW5saW5lX18gaW50IHRlc3Rf
YW5kX2NsZWFyX2JpdChpbnQgbnIsIHZvbGF0aWxlIHZvaWQgKiBhZGRyKQp7CiAgICAgICAgaW50
IG9sZGJpdDsKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oICJsb2NrIDsgIgogICAgICAg
ICAgICAgICAgImJ0cmwgJTIsJTFcblx0c2JibCAlMCwlMCIKICAgICAgICAgICAgICAgIDoiPXIi
IChvbGRiaXQpLCI9bSIgKCgqKHZvbGF0aWxlIGxvbmcgKikgYWRkcikpCiAgICAgICAgICAgICAg
ICA6IklyIiAobnIpIDogIm1lbW9yeSIpOwogICAgICAgIHJldHVybiBvbGRiaXQ7Cn0KIyAxODIg
Ii91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvYXNtL2JpdG9wcy5oIgpzdGF0aWMgX19pbmxpbmVfXyBp
bnQgX190ZXN0X2FuZF9jbGVhcl9iaXQoaW50IG5yLCB2b2xhdGlsZSB2b2lkICogYWRkcikKewog
ICAgICAgIGludCBvbGRiaXQ7CgogICAgICAgIF9fYXNtX18oCiAgICAgICAgICAgICAgICAiYnRy
bCAlMiwlMVxuXHRzYmJsICUwLCUwIgogICAgICAgICAgICAgICAgOiI9ciIgKG9sZGJpdCksIj1t
IiAoKCoodm9sYXRpbGUgbG9uZyAqKSBhZGRyKSkKICAgICAgICAgICAgICAgIDoiSXIiIChucikp
OwogICAgICAgIHJldHVybiBvbGRiaXQ7Cn0KCgpzdGF0aWMgX19pbmxpbmVfXyBpbnQgX190ZXN0
X2FuZF9jaGFuZ2VfYml0KGludCBuciwgdm9sYXRpbGUgdm9pZCAqIGFkZHIpCnsKICAgICAgICBp
bnQgb2xkYml0OwoKICAgICAgICBfX2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAgICAgICAgICAg
ICJidGNsICUyLCUxXG5cdHNiYmwgJTAsJTAiCiAgICAgICAgICAgICAgICA6Ij1yIiAob2xkYml0
KSwiPW0iICgoKih2b2xhdGlsZSBsb25nICopIGFkZHIpKQogICAgICAgICAgICAgICAgOiJJciIg
KG5yKSA6ICJtZW1vcnkiKTsKICAgICAgICByZXR1cm4gb2xkYml0Owp9CiMgMjEzICIvdXNyL3Ny
Yy9saW51eC9pbmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGljIF9faW5saW5lX18gaW50IHRlc3Rf
YW5kX2NoYW5nZV9iaXQoaW50IG5yLCB2b2xhdGlsZSB2b2lkICogYWRkcikKewogICAgICAgIGlu
dCBvbGRiaXQ7CgogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKCAibG9jayA7ICIKICAgICAg
ICAgICAgICAgICJidGNsICUyLCUxXG5cdHNiYmwgJTAsJTAiCiAgICAgICAgICAgICAgICA6Ij1y
IiAob2xkYml0KSwiPW0iICgoKih2b2xhdGlsZSBsb25nICopIGFkZHIpKQogICAgICAgICAgICAg
ICAgOiJJciIgKG5yKSA6ICJtZW1vcnkiKTsKICAgICAgICByZXR1cm4gb2xkYml0Owp9CiMgMjMz
ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGljIF9faW5saW5lX18g
aW50IGNvbnN0YW50X3Rlc3RfYml0KGludCBuciwgY29uc3Qgdm9sYXRpbGUgdm9pZCAqIGFkZHIp
CnsKICAgICAgICByZXR1cm4gKCgxVUwgPDwgKG5yICYgMzEpKSAmICgoKGNvbnN0IHZvbGF0aWxl
IHVuc2lnbmVkIGludCAqKSBhZGRyKVtuciA+PiA1XSkpICE9IDA7Cn0KCnN0YXRpYyBfX2lubGlu
ZV9fIGludCB2YXJpYWJsZV90ZXN0X2JpdChpbnQgbnIsIHZvbGF0aWxlIHZvaWQgKiBhZGRyKQp7
CiAgICAgICAgaW50IG9sZGJpdDsKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAg
ICAgICAgICAgICAiYnRsICUyLCUxXG5cdHNiYmwgJTAsJTAiCiAgICAgICAgICAgICAgICA6Ij1y
IiAob2xkYml0KQogICAgICAgICAgICAgICAgOiJtIiAoKCoodm9sYXRpbGUgbG9uZyAqKSBhZGRy
KSksIklyIiAobnIpKTsKICAgICAgICByZXR1cm4gb2xkYml0Owp9CiMgMjYyICIvdXNyL3NyYy9s
aW51eC9pbmNsdWRlL2FzbS9iaXRvcHMuaCIKc3RhdGljIF9faW5saW5lX18gaW50IGZpbmRfZmly
c3RfemVyb19iaXQodm9pZCAqIGFkZHIsIHVuc2lnbmVkIHNpemUpCnsKICAgICAgICBpbnQgZDAs
IGQxLCBkMjsKICAgICAgICBpbnQgcmVzOwoKICAgICAgICBpZiAoIXNpemUpCiAgICAgICAgICAg
ICAgICByZXR1cm4gMDsKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAg
ICAgICAibW92bCAkLTEsJSVlYXhcblx0IgogICAgICAgICAgICAgICAgInhvcmwgJSVlZHgsJSVl
ZHhcblx0IgogICAgICAgICAgICAgICAgInJlcGU7IHNjYXNsXG5cdCIKICAgICAgICAgICAgICAg
ICJqZSAxZlxuXHQiCiAgICAgICAgICAgICAgICAieG9ybCAtNCglJWVkaSksJSVlYXhcblx0Igog
ICAgICAgICAgICAgICAgInN1YmwgJDQsJSVlZGlcblx0IgogICAgICAgICAgICAgICAgImJzZmwg
JSVlYXgsJSVlZHhcbiIKICAgICAgICAgICAgICAgICIxOlx0c3VibCAlJWVieCwlJWVkaVxuXHQi
CiAgICAgICAgICAgICAgICAic2hsbCAkMywlJWVkaVxuXHQiCiAgICAgICAgICAgICAgICAiYWRk
bCAlJWVkaSwlJWVkeCIKICAgICAgICAgICAgICAgIDoiPWQiIChyZXMpLCAiPSZjIiAoZDApLCAi
PSZEIiAoZDEpLCAiPSZhIiAoZDIpCiAgICAgICAgICAgICAgICA6IjEiICgoc2l6ZSArIDMxKSA+
PiA1KSwgIjIiIChhZGRyKSwgImIiIChhZGRyKSk7CiAgICAgICAgcmV0dXJuIHJlczsKfQoKCgoK
CgoKc3RhdGljIF9faW5saW5lX18gaW50IGZpbmRfbmV4dF96ZXJvX2JpdCAodm9pZCAqIGFkZHIs
IGludCBzaXplLCBpbnQgb2Zmc2V0KQp7CiAgICAgICAgdW5zaWduZWQgbG9uZyAqIHAgPSAoKHVu
c2lnbmVkIGxvbmcgKikgYWRkcikgKyAob2Zmc2V0ID4+IDUpOwogICAgICAgIGludCBzZXQgPSAw
LCBiaXQgPSBvZmZzZXQgJiAzMSwgcmVzOwoKICAgICAgICBpZiAoYml0KSB7CgoKCiAgICAgICAg
ICAgICAgICBfX2FzbV9fKCJic2ZsICUxLCUwXG5cdCIKICAgICAgICAgICAgICAgICAgICAgICAg
ImpuZSAxZlxuXHQiCiAgICAgICAgICAgICAgICAgICAgICAgICJtb3ZsICQzMiwgJTBcbiIKICAg
ICAgICAgICAgICAgICAgICAgICAgIjE6IgogICAgICAgICAgICAgICAgICAgICAgICA6ICI9ciIg
KHNldCkKICAgICAgICAgICAgICAgICAgICAgICAgOiAiciIgKH4oKnAgPj4gYml0KSkpOwogICAg
ICAgICAgICAgICAgaWYgKHNldCA8ICgzMiAtIGJpdCkpCiAgICAgICAgICAgICAgICAgICAgICAg
IHJldHVybiBzZXQgKyBvZmZzZXQ7CiAgICAgICAgICAgICAgICBzZXQgPSAzMiAtIGJpdDsKICAg
ICAgICAgICAgICAgIHArKzsKICAgICAgICB9CgoKCiAgICAgICAgcmVzID0gZmluZF9maXJzdF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bHVkZS9saW51eC9iaXRvcHMuaCIgMQojIDEx
ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L2JpdG9wcy5oIgpzdGF0aWMgaW5saW5lIGlu
dCBnZW5lcmljX2ZmcyhpbnQgeCkKewogICAgICAgIGludCByID0gMTsKCiAgICAgICAgaWYgKCF4
KQogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgaWYgKCEoeCAmIDB4ZmZmZikpIHsK
ICAgICAgICAgICAgICAgIHggPj49IDE2OwogICAgICAgICAgICAgICAgciArPSAxNjsKICAgICAg
ICB9CiAgICAgICAgaWYgKCEoeCAmIDB4ZmYpKSB7CiAgICAgICAgICAgICAgICB4ID4+PSA4Owog
ICAgICAgICAgICAgICAgciArPSA4OwogICAgICAgIH0KICAgICAgICBpZiAoISh4ICYgMHhmKSkg
ewogICAgICAgICAgICAgICAgeCA+Pj0gNDsKICAgICAgICAgICAgICAgIHIgKz0gNDsKICAgICAg
ICB9CiAgICAgICAgaWYgKCEoeCAmIDMpKSB7CiAgICAgICAgICAgICAgICB4ID4+PSAyOwogICAg
ICAgICAgICAgICAgciArPSAyOwogICAgICAgIH0KICAgICAgICBpZiAoISh4ICYgMSkpIHsKICAg
ICAgICAgICAgICAgIHggPj49IDE7CiAgICAgICAgICAgICAgICByICs9IDE7CiAgICAgICAgfQog
ICAgICAgIHJldHVybiByOwp9CgoKCgoKCnN0YXRpYyBpbmxpbmUgdW5zaWduZWQgaW50IGdlbmVy
aWNfaHdlaWdodDMyKHVuc2lnbmVkIGludCB3KQp7CiAgICAgICAgdW5zaWduZWQgaW50IHJlcyA9
ICh3ICYgMHg1NTU1NTU1NSkgKyAoKHcgPj4gMSkgJiAweDU1NTU1NTU1KTsKICAgICAgICByZXMg
PSAocmVzICYgMHgzMzMzMzMzMykgKyAoKHJlcyA+PiAyKSAmIDB4MzMzMzMzMzMpOwogICAgICAg
IHJlcyA9IChyZXMgJiAweDBGMEYwRjBGKSArICgocmVzID4+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uc2lnbmVkIGxvbmcgbG9uZyAqIHB0ciwKICAgICAgICAg
ICAgICAgIHVuc2lnbmVkIGludCBsb3csIHVuc2lnbmVkIGludCBoaWdoKQp7CiAgICAgICAgX19h
c21fXyBfX3ZvbGF0aWxlX18gKAogICAgICAgICAgICAgICAgIlxuMTpcdCIKICAgICAgICAgICAg
ICAgICJtb3ZsICglMCksICUlZWF4XG5cdCIKICAgICAgICAgICAgICAgICJtb3ZsIDQoJTApLCAl
JWVkeFxuXHQiCiAgICAgICAgICAgICAgICAiY21weGNoZzhiICglMClcblx0IgogICAgICAgICAg
ICAgICAgImpueiAxYiIKICAgICAgICAgICAgICAgIDoKICAgICAgICAgICAgICAgIDogIkQiKHB0
ciksCiAgICAgICAgICAgICAgICAgICAgICAgICJiIihsb3cpLAogICAgICAgICAgICAgICAgICAg
ICAgICAiYyIoaGlnaCkKICAgICAgICAgICAgICAgIDogImF4IiwiZHgiLCJtZW1vcnkiKTsKfQoK
c3RhdGljIGlubGluZSB2b2lkIF9fc2V0XzY0Yml0X2NvbnN0YW50ICh1bnNpZ25lZCBsb25nIGxv
bmcgKnB0ciwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IHVuc2lnbmVkIGxvbmcgbG9uZyB2YWx1ZSkKewogICAgICAgIF9fc2V0XzY0Yml0KHB0ciwodW5z
aWduZWQgaW50KSh2YWx1ZSksICh1bnNpZ25lZCBpbnQpKCh2YWx1ZSk+PjMyVUxMKSk7Cn0KCgoK
c3RhdGljIGlubGluZSB2b2lkIF9fc2V0XzY0Yml0X3ZhciAodW5zaWduZWQgbG9uZyBsb25nICpw
dHIsCiAgICAgICAgICAgICAgICAgICAgICAgICB1bnNpZ25lZCBsb25nIGxvbmcgdmFsdWUpCnsK
ICAgICAgICBfX3NldF82NGJpdChwdHIsKigoKHVuc2lnbmVkIGludCopJih2YWx1ZSkpKzApLCAq
KCgodW5zaWduZWQgaW50KikmKHZhbHVlKSkrMSkpOwp9CiMgMjAzICIvdXNyL3NyYy9saW51eC9p
bmNsdWRlL2FzbS9zeXN0ZW0uaCIKc3RhdGljIGlubGluZSB1bnNpZ25lZCBsb25nIF9feGNoZyh1
bnNpZ25lZCBsb25nIHgsIHZvbGF0aWxlIHZvaWQgKiBwdHIsIGludCBzaXplKQp7CiAgICAgICAg
c3dpdGNoIChzaXplKSB7CiAgICAgICAgICAgICAgICBjYXNlIDE6CiAgICAgICAgICAgICAgICAg
ICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKCJ4Y2hnYiAlYjAsJTEiCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgOiI9cSIgKHgpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgOiJtIiAoKigoc3RydWN0IF9feGNoZ19kdW1teSAqKShwdHIpKSksICIwIiAoeCkKICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA6Im1lbW9yeSIpOwogICAgICAgICAgICAgICAgICAg
ICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgMjoKICAgICAgICAgICAgICAgICAgICAg
ICAgX19hc21fXyBfX3ZvbGF0aWxlX18oInhjaGd3ICV3MCwlMSIKICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICA6Ij1yIiAoeCkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6
Im0iICgqKChzdHJ1Y3QgX194Y2hnX2R1bW15ICopKHB0cikpKSwgIjAiICh4KQogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIDoibWVtb3J5Iik7CiAgICAgICAgICAgICAgICAgICAgICAg
IGJyZWFrOwogICAgICAgICAgICAgICAgY2FzZSA0OgogICAgICAgICAgICAgICAgICAgICAgICBf
X2FzbV9fIF9fdm9sYXRpbGVfXygieGNoZ2wgJTAsJTEiCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgOiI9ciIgKHgpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiJtIiAo
Kigoc3RydWN0IF9feGNoZ19kdW1teSAqKShwdHIpKSksICIwIiAoeCkKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICA6Im1lbW9yeSIpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVh
azsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHg7Cn0KIyAyMzcgIi91c3Ivc3JjL2xpbnV4L2lu
Y2x1ZGUvYXNtL3N5c3RlbS5oIgpzdGF0aWMgaW5saW5lIHVuc2lnbmVkIGxvbmcgX19jbXB4Y2hn
KHZvbGF0aWxlIHZvaWQgKnB0ciwgdW5zaWduZWQgbG9uZyBvbGQsCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgdW5zaWduZWQgbG9uZyBuZXcsIGludCBzaXplKQp7CiAgICAg
ICAgdW5zaWduZWQgbG9uZyBwcmV2OwogICAgICAgIHN3aXRjaCAoc2l6ZSkgewogICAgICAgIGNh
c2UgMToKICAgICAgICAgICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKCJsb2NrIDsgIiAiY21w
eGNoZ2IgJWIxLCUyIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAiPWEi
KHByZXYpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6ICJxIihuZXcpLCAi
bSIoKigoc3RydWN0IF9feGNoZ19kdW1teSAqKShwdHIpKSksICIwIihvbGQpCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA6ICJtZW1vcnkiKTsKICAgICAgICAgICAgICAgIHJl
dHVybiBwcmV2OwogICAgICAgIGNhc2UgMjoKICAgICAgICAgICAgICAgIF9fYXNtX18gX192b2xh
dGlsZV9fKCJsb2NrIDsgIiAiY21weGNoZ3cgJXcxLCUyIgogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgOiAiPWEiKHByZXYpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICA6ICJxIihuZXcpLCAibSIoKigoc3RydWN0IF9feGNoZ19kdW1teSAqKShwdHIpKSks
ICIwIihvbGQpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6ICJtZW1vcnki
KTsKICAgICAgICAgICAgICAgIHJldHVybiBwcmV2OwogICAgICAgIGNhc2UgNDoKICAgICAgICAg
ICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKCJsb2NrIDsgIiAiY21weGNoZ2wgJTEsJTIiCiAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6ICI9YSIocHJldikKICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogInEiKG5ldyksICJtIigqKChzdHJ1Y3QgX194
Y2hnX2R1bW15ICopKHB0cikpKSwgIjAiKG9sZCkKICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIDogIm1lbW9yeSIpOwogICAgICAgICAgICAgICAgcmV0dXJuIHByZXY7CiAgICAg
ICAgfQogICAgICAgIHJldHVybiBvbGQ7Cn0KIyAzMjggIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUv
YXNtL3N5c3RlbS5oIgpleHRlcm4gdm9pZCBfX2dsb2JhbF9jbGkodm9pZCk7CmV4dGVybiB2b2lk
IF9fZ2xvYmFsX3N0aSh2b2lkKTsKZXh0ZXJuIHVuc2lnbmVkIGxvbmcgX19nbG9iYWxfc2F2ZV9m
bGFncyh2b2lkKTsKZXh0ZXJuIHZvaWQgX19nbG9iYWxfcmVzdG9yZV9mbGFncyh1bnNpZ25lZCBs
b25nKTsKIyAzNTAgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvYXNtL3N5c3RlbS5oIgp2b2lkIGRp
c2FibGVfaGx0KHZvaWQpOwp2b2lkIGVuYWJsZV9obHQodm9pZCk7CgpleHRlcm4gdW5zaWduZWQg
bG9uZyBkbWlfYnJva2VuOwpleHRlcm4gaW50IGlzX3NvbnlfdmFpb19sYXB0b3A7CiMgNDAgIi91
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XBob3JlICpzZW0pCnsK
ICAgICAgICBzZW0tPmNvdW50ID0gMHgwMDAwMDAwMDsKICAgICAgICBkbyB7ICooJnNlbS0+d2Fp
dF9sb2NrKSA9IChzcGlubG9ja190KSB7IDEgfTsgfSB3aGlsZSgwKTsKICAgICAgICBkbyB7ICgm
c2VtLT53YWl0X2xpc3QpLT5uZXh0ID0gKCZzZW0tPndhaXRfbGlzdCk7ICgmc2VtLT53YWl0X2xp
c3QpLT5wcmV2ID0gKCZzZW0tPndhaXRfbGlzdCk7IH0gd2hpbGUgKDApOwoKCgp9CgoKCgpzdGF0
aWMgaW5saW5lIHZvaWQgX19kb3duX3JlYWQoc3RydWN0IHJ3X3NlbWFwaG9yZSAqc2VtKQp7CiAg
ICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAiIyBiZWdpbm5pbmcg
ZG93bl9yZWFkXG5cdCIKImxvY2sgOyAiICIgIGluY2wgICAgICAoJSVlYXgpXG5cdCIKICAgICAg
ICAgICAgICAgICIgIGpzICAgICAgICAyZlxuXHQiCiAgICAgICAgICAgICAgICAiMTpcblx0Igog
ICAgICAgICAgICAgICAgIi5zdWJzZWN0aW9uIDFcblx0IiAiIiAiLmlmbmRlZiAiICIudGV4dC5s
b2NrLiIgInNlbWFwaG9yZSIgIlxuXHQiICIudGV4dC5sb2NrLiIgInNlbWFwaG9yZSIgIjpcblx0
IiAiLmVuZGlmXG5cdCIKICAgICAgICAgICAgICAgICIyOlxuXHQiCiAgICAgICAgICAgICAgICAi
ICBwdXNobCAgICAgJSVlY3hcblx0IgogICAgICAgICAgICAgICAgIiAgcHVzaGwgICAgICUlZWR4
XG5cdCIKICAgICAgICAgICAgICAgICIgIGNhbGwgICAgICByd3NlbV9kb3duX3JlYWRfZmFpbGVk
XG5cdCIKICAgICAgICAgICAgICAgICIgIHBvcGwgICAgICAlJWVkeFxuXHQiCiAgICAgICAgICAg
ICAgICAiICBwb3BsICAgICAgJSVlY3hcblx0IgogICAgICAgICAgICAgICAgIiAgam1wICAgICAg
IDFiXG4iCiAgICAgICAgICAgICAgICAiLnByZXZpb3VzXG5cdCIKICAgICAgICAgICAgICAgICIj
IGVuZGluZyBkb3duX3JlYWRcblx0IgogICAgICAgICAgICAgICAgOiAiK20iKHNlbS0+Y291bnQp
CiAgICAgICAgICAgICAgICA6ICJhIihzZW0pCiAgICAgICAgICAgICAgICA6ICJtZW1vcnkiLCAi
Y2MiKTsKfQoKCgoKc3RhdGljIGlubGluZSB2b2lkIF9fZG93bl93cml0ZShzdHJ1Y3Qgcndfc2Vt
YXBob3JlICpzZW0pCnsKICAgICAgICBpbnQgdG1wOwoKICAgICAgICB0bXAgPSAoKC0weDAwMDEw
MDAwKSArIDB4MDAwMDAwMDEpOwogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAg
ICAgICAgICAgIiMgYmVnaW5uaW5nIGRvd25fd3JpdGVcblx0IgoibG9jayA7ICIgIiAgeGFkZCAg
ICAgICUwLCglJWVheClcblx0IgogICAgICAgICAgICAgICAgIiAgdGVzdGwgICAgICUwLCUwXG5c
dCIKICAgICAgICAgICAgICAgICIgIGpueiAgICAgICAyZlxuXHQiCiAgICAgICAgICAgICAgICAi
MTpcblx0IgogICAgICAgICAgICAgICAgIi5zdWJzZWN0aW9uIDFcblx0IiAiIiAiLmlmbmRlZiAi
ICIudGV4dC5sb2NrLiIgInNlbWFwaG9yZSIgIlxuXHQiICIudGV4dC5sb2NrLiIgInNlbWFwaG9y
ZSIgIjpcblx0IiAiLmVuZGlmXG5cdCIKICAgICAgICAgICAgICAgICIyOlxuXHQiCiAgICAgICAg
ICAgICAgICAiICBwdXNobCAgICAgJSVlY3hcblx0IgogICAgICAgICAgICAgICAgIiAgY2FsbCAg
ICAgIHJ3c2VtX2Rvd25fd3JpdGVfZmFpbGVkXG5cdCIKICAgICAgICAgICAgICAgICIgIHBvcGwg
ICAgICAlJWVjeFxuXHQiCiAgICAgICAgICAgICAgICAiICBqbXAgICAgICAgMWJcbiIKICAgICAg
ICAgICAgICAgICIucHJldmlvdXNcblx0IgogICAgICAgICAgICAgICAgIiMgZW5kaW5nIGRvd25f
d3JpdGUiCiAgICAgICAgICAgICAgICA6ICIrZCIodG1wKSwgIittIihzZW0tPmNvdW50KQogICAg
ICAgICAgICAgICAgOiAiYSIoc2VtKQogICAgICAgICAgICAgICAgOiAibWVtb3J5IiwgImNjIik7
Cn0KCgoKCnN0YXRpYyBpbmxpbmUgdm9pZCBfX3VwX3JlYWQoc3RydWN0IHJ3X3NlbWFwaG9yZSAq
c2VtKQp7CiAgICAgICAgX19zMzIgdG1wID0gLTB4MDAwMDAwMDE7CiAgICAgICAgX19hc21fXyBf
X3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAiIyBiZWdpbm5pbmcgX191cF9yZWFkXG5cdCIK
ImxvY2sgOyAiICIgIHhhZGQgICAgICAlJWVkeCwoJSVlYXgpXG5cdCIKICAgICAgICAgICAgICAg
ICIgIGpzICAgICAgICAyZlxuXHQiCiAgICAgICAgICAgICAgICAiMTpcblx0IgogICAgICAgICAg
ICAgICAgIi5zdWJzZWN0aW9uIDFcblx0IiAiIiAiLmlmbmRlZiAiICIudGV4dC5sb2NrLiIgInNl
bWFwaG9yZSIgIlxuXHQiICIudGV4dC5sb2NrLiIgInNlbWFwaG9yZSIgIjpcblx0IiAiLmVuZGlm
XG5cdCIKICAgICAgICAgICAgICAgICIyOlxuXHQiCiAgICAgICAgICAgICAgICAiICBkZWN3ICAg
ICAgJSVkeFxuXHQiCiAgICAgICAgICAgICAgICAiICBqbnogICAgICAgMWJcblx0IgogICAgICAg
ICAgICAgICAgIiAgcHVzaGwgICAgICUlZWN4XG5cdCIKICAgICAgICAgICAgICAgICIgIGNhbGwg
ICAgICByd3NlbV93YWtlXG5cdCIKICAgICAgICAgICAgICAgICIgIHBvcGwgICAgICAlJWVjeFxu
XHQiCiAgICAgICAgICAgICAgICAiICBqbXAgICAgICAgMWJcbiIKICAgICAgICAgICAgICAgICIu
cHJldmlvdXNcblx0IgogICAgICAgICAgICAgICAgIiMgZW5kaW5nIF9fdXBfcmVhZFxuIgogICAg
ICAgICAgICAgICAgOiAiK20iKHNlbS0+Y291bnQpLCAiK2QiKHRtcCkKICAgICAgICAgICAgICAg
IDogImEiKHNlbSkKICAgICAgICAgICAgICAgIDogIm1lbW9yeSIsICJjYyIpOwp9CgoKCgpzdGF0
aWMgaW5saW5lIHZvaWQgX191cF93cml0ZShzdHJ1Y3Qgcndfc2VtYXBob3JlICpzZW0pCnsKICAg
ICAgICBfX2FzbV9fIF9fdm9sYXRpbGVfXygKICAgICAgICAgICAgICAgICIjIGJlZ2lubmluZyBf
X3VwX3dyaXRlXG5cdCIKICAgICAgICAgICAgICAgICIgIG1vdmwgICAgICAlMiwlJWVkeFxuXHQi
CiJsb2NrIDsgIiAiICB4YWRkbCAgICAgJSVlZHgsKCUlZWF4KVxuXHQiCiAgICAgICAgICAgICAg
ICAiICBqbnogICAgICAgMmZcblx0IgogICAgICAgICAgICAgICAgIjE6XG5cdCIKICAgICAgICAg
ICAgICAgICIuc3Vic2VjdGlvbiAxXG5cdCIgIiIgIi5pZm5kZWYgIiAiLnRleHQubG9jay4iICJz
ZW1hcGhvcmUiICJcblx0IiAiLnRleHQubG9jay4iICJzZW1hcGhvcmUiICI6XG5cdCIgIi5lbmRp
ZlxuXHQiCiAgICAgICAgICAgICAgICAiMjpcblx0IgogICAgICAgICAgICAgICAgIiAgZGVjdyAg
ICAgICUlZHhcblx0IgogICAgICAgICAgICAgICAgIiAgam56ICAgICAgIDFiXG5cdCIKICAgICAg
ICAgICAgICAgICIgIHB1c2hsICAgICAlJWVjeFxuXHQiCiAgICAgICAgICAgICAgICAiICBjYWxs
ICAgICAgcndzZW1fd2FrZVxuXHQiCiAgICAgICAgICAgICAgICAiICBwb3BsICAgICAgJSVlY3hc
blx0IgogICAgICAgICAgICAgICAgIiAgam1wICAgICAgIDFiXG4iCiAgICAgICAgICAgICAgICAi
LnByZXZpb3VzXG5cdCIKICAgICAgICAgICAgICAgICIjIGVuZGluZyBfX3VwX3dyaXRlXG4iCiAg
ICAgICAgICAgICAgICA6ICIrbSIoc2VtLT5jb3VudCkKICAgICAgICAgICAgICAgIDogImEiKHNl
bSksICJpIigtKCgtMHgwMDAxMDAwMCkgKyAweDAwMDAwMDAxKSkKICAgICAgICAgICAgICAgIDog
Im1lbW9yeSIsICJjYyIsICJlZHgiKTsKfQoKCgoKc3RhdGljIGlubGluZSB2b2lkIHJ3c2VtX2F0
b21pY19hZGQoaW50IGRlbHRhLCBzdHJ1Y3Qgcndfc2VtYXBob3JlICpzZW0pCnsKICAgICAgICBf
X2FzbV9fIF9fdm9sYXRpbGVfXygKImxvY2sgOyAiICJhZGRsICUxLCUwIgogICAgICAgICAgICAg
ICAgOiI9bSIoc2VtLT5jb3VudCkKICAgICAgICAgICAgICAgIDoiaXIiKGRlbHRhKSwgIm0iKHNl
bS0+Y291bnQpKTsKfQoKCgoKc3RhdGljIGlubGluZSBpbnQgcndzZW1fYXRvbWljX3VwZGF0ZShp
bnQgZGVsdGEsIHN0cnVjdCByd19zZW1hcGhvcmUgKnNlbSkKewogICAgICAgIGludCB0bXAgPSBk
ZWx0YTsKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiJsb2NrIDsgIiAieGFkZCAlMCwo
JTIpIgogICAgICAgICAgICAgICAgOiAiK3IiKHRtcCksICI9bSIoc2VtLT5jb3VudCkKICAgICAg
ICAgICAgICAgIDogInIiKHNlbSksICJtIihzZW0tPmNvdW50KQogICAgICAgICAgICAgICAgOiAi
bWVtb3J5Iik7CgogICAgICAgIHJldHVybiB0bXArZGVsdGE7Cn0KIyAyOCAiL3Vzci9zcmMvbGlu
dXgvaW5jbHVkZS9saW51eC9yd3NlbS5oIiAyCiMgNDEgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUv
bGludXgvcndzZW0uaCIKc3RhdGljIGlubGluZSB2b2lkIGRvd25fcmVh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AgICAgICAgICAibG9jayA7ICIgImRlY2wgJTBcblx0Igog
ICAgICAgICAgICAgICAgImpzIDJmXG4iCiAgICAgICAgICAgICAgICAiMTpcbiIKICAgICAgICAg
ICAgICAgICIuc3Vic2VjdGlvbiAxXG5cdCIgIiIgIi5pZm5kZWYgIiAiLnRleHQubG9jay4iICJz
ZW1hcGhvcmUiICJcblx0IiAiLnRleHQubG9jay4iICJzZW1hcGhvcmUiICI6XG5cdCIgIi5lbmRp
ZlxuXHQiCiAgICAgICAgICAgICAgICAiMjpcdGNhbGwgX19kb3duX2ZhaWxlZFxuXHQiCiAgICAg
ICAgICAgICAgICAiam1wIDFiXG4iCiAgICAgICAgICAgICAgICAiLnByZXZpb3VzXG5cdCIKICAg
ICAgICAgICAgICAgIDoiPW0iIChzZW0tPmNvdW50KQogICAgICAgICAgICAgICAgOiJjIiAoc2Vt
KQogICAgICAgICAgICAgICAgOiJtZW1vcnkiKTsKfQoKCgoKCnN0YXRpYyBpbmxpbmUgaW50IGRv
d25faW50ZXJydXB0aWJsZShzdHJ1Y3Qgc2VtYXBob3JlICogc2VtKQp7CiAgICAgICAgaW50IHJl
c3VsdDsKCgoKCgogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKAogICAgICAgICAgICAgICAg
IiMgYXRvbWljIGludGVycnVwdGlibGUgZG93biBvcGVyYXRpb25cblx0IgogICAgICAgICAgICAg
ICAgImxvY2sgOyAiICJkZWNsICUxXG5cdCIKICAgICAgICAgICAgICAgICJqcyAyZlxuXHQiCiAg
ICAgICAgICAgICAgICAieG9ybCAlMCwlMFxuIgogICAgICAgICAgICAgICAgIjE6XG4iCiAgICAg
ICAgICAgICAgICAiLnN1YnNlY3Rpb24gMVxuXHQiICIiICIuaWZuZGVmICIgIi50ZXh0LmxvY2su
IiAic2VtYXBob3JlIiAiXG5cdCIgIi50ZXh0LmxvY2suIiAic2VtYXBob3JlIiAiOlxuXHQiICIu
ZW5kaWZcblx0IgogICAgICAgICAgICAgICAgIjI6XHRjYWxsIF9fZG93bl9mYWlsZWRfaW50ZXJy
dXB0aWJsZVxuXHQiCiAgICAgICAgICAgICAgICAiam1wIDFiXG4iCiAgICAgICAgICAgICAgICAi
LnByZXZpb3VzXG5cdCIKICAgICAgICAgICAgICAgIDoiPWEiIChyZXN1bHQpLCAiPW0iIChzZW0t
PmNvdW50KQogICAgICAgICAgICAgICAgOiJjIiAoc2VtKQogICAgICAgICAgICAgICAgOiJtZW1v
cnkiKTsKICAgICAgICByZXR1cm4gcmVzdWx0Owp9CgoKCgoKc3RhdGljIGlubGluZSBpbnQgZG93
bl90cnlsb2NrKHN0cnVjdCBzZW1hcGhvcmUgKiBzZW0pCnsKICAgICAgICBpbnQgcmVzdWx0OwoK
CgoKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAgICAgICAgICAiIyBhdG9t
aWMgaW50ZXJydXB0aWJsZSBkb3duIG9wZXJhdGlvblxuXHQiCiAgICAgICAgICAgICAgICAibG9j
ayA7ICIgImRlY2wgJTFcblx0IgogICAgICAgICAgICAgICAgImpzIDJmXG5cdCIKICAgICAgICAg
ICAgICAgICJ4b3JsICUwLCUwXG4iCiAgICAgICAgICAgICAgICAiMTpcbiIKICAgICAgICAgICAg
ICAgICIuc3Vic2VjdGlvbiAxXG5cdCIgIiIgIi5pZm5kZWYgIiAiLnRleHQubG9jay4iICJzZW1h
cGhvcmUiICJcblx0IiAiLnRleHQubG9jay4iICJzZW1hcGhvcmUiICI6XG5cdCIgIi5lbmRpZlxu
XHQiCiAgICAgICAgICAgICAgICAiMjpcdGNhbGwgX19kb3duX2ZhaWxlZF90cnlsb2NrXG5cdCIK
ICAgICAgICAgICAgICAgICJqbXAgMWJcbiIKICAgICAgICAgICAgICAgICIucHJldmlvdXNcblx0
IgogICAgICAgICAgICAgICAgOiI9YSIgKHJlc3VsdCksICI9bSIgKHNlbS0+Y291bnQpCiAgICAg
ICAgICAgICAgICA6ImMiIChzZW0pCiAgICAgICAgICAgICAgICA6Im1lbW9yeSIpOwogICAgICAg
IHJldHVybiByZXN1bHQ7Cn0KCgoKCgoKCnN0YXRpYyBpbmxpbmUgdm9pZCB1cChzdHJ1Y3Qgc2Vt
YXBob3JlICogc2VtKQp7CgoKCiAgICAgICAgX19hc21fXyBfX3ZvbGF0aWxlX18oCiAgICAgICAg
ICAgICAgICAiIyBhdG9taWMgdXAgb3BlcmF0aW9uXG5cdCIKICAgICAgICAgICAgICAgICJsb2Nr
IDsgIiAiaW5jbCAlMFxuXHQiCiAgICAgICAgICAgICAgICAiamxlIDJmXG4iCiAgICAgICAgICAg
ICAgICAiMTpcbiIKICAgICAgICAgICAgICAgICIuc3Vic2VjdGlvbiAxXG5cdCIgIiIgIi5pZm5k
ZWYgIiAiLnRleHQubG9jay4iICJzZW1hcGhvcmUiICJcblx0IiAiLnRleHQubG9jay4iICJzZW1h
cGhvcmUiICI6XG5cdCIgIi5lbmRpZlxuXHQiCiAgICAgICAgICAgICAgICAiMjpcdGNhbGwgX191
cF93YWtldXBcblx0IgogICAgICAgICAgICAgICAgImptcCAxYlxuIgogICAgICAgICAgICAgICAg
Ii5wcmV2aW91c1xuXHQiCiAgICAgICAgICAgICAgICAiLnN1YnNlY3Rpb24gMFxuIgogICAgICAg
ICAgICAgICAgOiI9bSIgKHNlbS0+Y291bnQpCiAgICAgICAgICAgICAgICA6ImMiIChzZW0pCiAg
ICAgICAgICAgICAgICA6Im1lbW9yeSIpOwp9CiMgMjAxICIvdXNyL3NyYy9saW51eC9pbmNsdWRl
L2xpbnV4L2ZzLmgiIDIKIyAxICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9ieXRlb3JkZXIu
aCIgMQojIDEzICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2FzbS9ieXRlb3JkZXIuaCIKc3RhdGlj
IF9faW5saW5lX18gX19jb25zdF9fIF9fdTMyIF9fX2FyY2hfX3N3YWIzMihfX3UzMiB4KQp7Cgog
ICAgICAgIF9fYXNtX18oIm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QQ19DQUxMID0gMCwKICAgICAgICBSUENfUkVQTFkgPSAxCn07CgplbnVtIHJw
Y19yZXBseV9zdGF0IHsKICAgICAgICBSUENfTVNHX0FDQ0VQVEVEID0gMCwKICAgICAgICBSUENf
TVNHX0RFTklFRCA9IDEKfTsKCmVudW0gcnBjX2FjY2VwdF9zdGF0IHsKICAgICAgICBSUENfU1VD
Q0VTUyA9IDAsCiAgICAgICAgUlBDX1BST0dfVU5BVkFJTCA9IDEsCiAgICAgICAgUlBDX1BST0df
TUlTTUFUQ0ggPSAyLAogICAgICAgIFJQQ19QUk9DX1VOQVZBSUwgPSAzLAogICAgICAgIFJQQ19H
QVJCQUdFX0FSR1MgPSA0LAogICAgICAgIFJQQ19TWVNURU1fRVJSID0gNQp9OwoKZW51bSBycGNf
cmVqZWN0X3N0YXQgewogICAgICAgIFJQQ19NSVNNQVRDSCA9IDAsCiAgICAgICAgUlBDX0FVVEhf
RVJST1IgPSAxCn07CgplbnVtIHJwY19hdXRoX3N0YXQgewogICAgICAgIFJQQ19BVVRIX09LID0g
MCwKICAgICAgICBSUENfQVVUSF9CQURDUkVEID0gMSwKICAgICAgICBSUENfQVVUSF9SRUpFQ1RF
RENSRUQgPSAyLAogICAgICAgIFJQQ19BVVRIX0JBRFZFUkYgPSAzLAogICAgICAgIFJQQ19BVVRI
X1JFSkVDVEVEVkVSRiA9IDQsCiAgICAgICAgUlBDX0FVVEhfVE9PV0VBSyA9IDUKfTsKIyAxMSAi
L3Vzci9zcmMvbGludXgvaW5jbHVkZS9saW51eC9uZnMuaCIgMgojIDQxICIvdXNyL3NyYy9saW51
eC9pbmNsdWRlL2xpbnV4L25mcy5oIgogZW51bSBuZnNfc3RhdCB7CiAgICAgICAgTkZTX09LID0g
MCwKICAgICAgICBORlNFUlJfUEVSTSA9IDEsCiAgICAgICAgTkZTRVJSX05PRU5UID0gMiwKICAg
ICAgICBORlNFUlJfSU8gPSA1LAogICAgICAgIE5GU0VSUl9OWElPID0gNiwKICAgICAg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DRfZnNfaS5o
IiAyCgoKCgpzdHJ1Y3QgcW54NF9pbm9kZV9pbmZvIHsKICAgICAgICBjaGFyIGlfcmVzZXJ2ZWRb
MTZdOwogICAgICAgIHFueDRfb2ZmX3QgaV9zaXplOwogICAgICAgIHFueDRfeHRudF90IGlfZmly
c3RfeHRudDsKICAgICAgICBfX3UzMiBpX3hibGs7CiAgICAgICAgX19zMzIgaV9mdGltZTsKICAg
ICAgICBfX3MzMiBpX210aW1lOwogICAgICAgIF9fczMyIGlfYXRpbWU7CiAgICAgICAgX19zMzIg
aV9jdGltZTsKICAgICAgICBxbng0X254dG50X3QgaV9udW1feHRudHM7CiAgICAgICAgcW54NF9t
b2RlX3QgaV9tb2RlOwogICAgICAgIHFueDRfbXVpZF90IGlfdWlkOwogICAgICAgIHFueDRfbWdp
ZF90IGlfZ2lkOwogICAgICAgIHFueDRfbmxpbmtfdCBpX25saW5rOwogICAgICAgIF9fdTggaV96
ZXJvWzRdOwogICAgICAgIHFueDRfZnR5cGVfdCBpX3R5cGU7CiAgICAgICAgX191OCBpX3N0YXR1
czsKICAgICAgICB1bnNpZ25lZCBsb25nIG1tdV9wcml2YXRlOwp9OwojIDMxNCAiL3Vzci9zcmMv
bGludXgvaW5jbHVkZS9saW51eC9mcy5oIiAyCiMgMSAiL3Vzci9zcmMvbGludXgvaW5jbHVkZS9s
aW51eC9yZWlzZXJmc19mc19pLmgiIDEKCgoKCgoKdHlwZWRlZiBlbnVtIHsKCgoKICAgIGlfaXRl
bV9rZXlfdmVyc2lvbl9tYXNrID0gMHgwMDAxLAoKCiAgICBpX3N0YXRfZGF0YV92ZXJzaW9uX21h
c2sgPSAweDAwMDIsCgogICAgaV9wYWNrX29uX2Nsb3NlX21hc2sgPSAweDAwMDQsCgogICAgaV9u
b3BhY2tfbWFzayA9IDB4MDAwOCwKCgoKICAgIGlfbGlua19zYXZlZF91bmxpbmtfbWFzayA9IDB4
MDAxMCwKICAgIGlfbGlua19zYXZlZF90cnVuY2F0Z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CBjb2RhX2lub2RlX2luZm8gY29kYV9pOwogICAgICAgICAgICAgICAg
c3RydWN0IHNtYl9pbm9kZV9pbmZvIHNtYmZzX2k7CiAgICAgICAgICAgICAgICBzdHJ1Y3QgaGZz
X2lub2RlX2luZm8gaGZzX2k7CiAgICAgICAgICAgICAgICBzdHJ1Y3QgYWRmc19pbm9kZV9pbmZv
IGFkZnNfaTsKICAgICAgICAgICAgICAgIHN0cnVjdCBxbng0X2lub2RlX2luZm8gcW54NF9pOwog
ICAgICAgICAgICAgICAgc3RydWN0IHJlaXNlcmZzX2lub2RlX2luZm8gcmVpc2VyZnNfaTsKICAg
ICAgICAgICAgICAgIHN0cnVjdCBiZnNfaW5vZGVfaW5mbyBiZnNfaTsKICAgICAgICAgICAgICAg
IHN0cnVjdCB1ZGZfaW5vZGVfaW5mbyB1ZGZfaTsKICAgICAgICAgICAgICAgIHN0cnVjdCBuY3Bf
aW5vZGVfaW5mbyBuY3Bmc19pOwogICAgICAgICAgICAgICAgc3RydWN0IHByb2NfaW5vZGVfaW5m
byBwcm9jX2k7CiAgICAgICAgICAgICAgICBzdHJ1Y3Qgc29ja2V0IHNvY2tldF9pOwogICAgICAg
ICAgICAgICAgc3RydWN0IHVzYmRldl9pbm9kZV9pbmZvIHVzYmRldl9pOwogICAgICAgICAgICAg
ICAgc3RydWN0IGpmZnMyX2lub2RlX2luZm8gamZmczJfaTsKICAgICAgICAgICAgICAgIHZvaWQg
KmdlbmVyaWNfaXA7CiAgICAgICAgfSB1Owp9OwoKc3RydWN0IGZvd25fc3RydWN0IHsKICAgICAg
ICBpbnQgcGlkOwogICAgICAgIHVpZF90IHVpZCwgZXVpZDsKICAgICAgICBpbnQgc2lnbnVtOwp9
OwoKc3RydWN0IGZpbGUgewogICAgICAgIHN0cnVjdCBsaXN0X2hlYWQgZl9saXN0OwogICAgICAg
IHN0cnVjdCBkZW50cnkgKmZfZGVudHJ5OwogICAgICAgIHN0cnVjdCB2ZnNtb3VudCAqZl92ZnNt
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6b25lOwogICAgICAgICAg
ICAgICAgICAgICAgICB1bnNpZ25lZCBsb25nIHNfbG9nX3pvbmVfc2l6ZTsKICAgICAgICAgICAg
ICAgICAgICAgICAgdW5zaWduZWQgbG9uZyBzX21heF9zaXplOwogICAgICAgICAgICAgICAgICAg
ICAgICBpbnQgc19kaXJzaXplOwogICAgICAgICAgICAgICAgICAgICAgICBpbnQgc19uYW1lbGVu
OwogICAgICAgICAgICAgICAgICAgICAgICBpbnQgc19saW5rX21heDsKICAgICAgICAgICAgICAg
ICAgICAgICAgc3RydWN0IGJ1ZmZlcl9oZWFkICoqIHNfaW1hcDsKICAgICAgICAgICAgICAgICAg
ICAgICAgc3RydWN0IGJ1ZmZlcl9oZWFkICoqIHNfem1hcDsKICAgICAgICAgICAgICAgICAgICAg
ICAgc3RydWN0IGJ1ZmZlcl9oZWFkICogc19zYmg7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0
cnVjdCBtaW5peF9zdXBlcl9ibG9jayAqIHNfbXM7CiAgICAgICAgICAgICAgICAgICAgICAgIHVu
c2lnbmVkIHNob3J0IHNfbW91bnRfc3RhdGU7CiAgICAgICAgICAgICAgICAgICAgICAgIHVuc2ln
bmVkIHNob3J0IHNfdmVyc2lvbjsKfTsKIyA2ODIgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGlu
dXgvZnMuaCIgMgojIDEgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGludXgvZXh0Ml9mc19zYi5o
IiAxCiMgMzAgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGludXgvZXh0Ml9mc19zYi5oIgpzdHJ1
Y3QgZXh0Ml9zYl9pbmZvIHsKICAgICAgICB1bnNpZ25lZCBsb25nIHNfZnJhZ19zaXplOwogICAg
ICAgIHVuc2lnbmVkIGxvbmcgc19mcmFnc19wZXJfYmxvY2s7CiAgICAgICAgdW5zaWduZWQgbG9u
ZyBzX2lub2Rlc19wZXJfYmxvY2s7CiAgICAgICAgdW5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XRfbW91bnRfb3B0aW9ucyB7CiAgICAg
ICAgdWlkX3QgZnNfdWlkOwogICAgICAgIGdpZF90IGZzX2dpZDsKICAgICAgICB1bnNpZ25lZCBz
aG9ydCBmc191bWFzazsKICAgICAgICB1bnNpZ25lZCBzaG9ydCBjb2RlcGFnZTsKICAgICAgICBj
aGFyICppb2NoYXJzZXQ7CiAgICAgICAgdW5zaWduZWQgc2hvcnQgc2hvcnRuYW1lOwogICAgICAg
IHVuc2lnbmVkIGNoYXIgbmFtZV9jaGVjazsKICAgICAgICB1bnNpZ25lZCBjaGFyIGNvbnZlcnNp
b247CiAgICAgICAgdW5zaWduZWQgcXVpZXQ6MSwKICAgICAgICAgICAgICAgICBzaG93ZXhlYzox
LAogICAgICAgICAgICAgICAgIHN5c19pbW11dGFibGU6MSwKICAgICAgICAgICAgICAgICBkb3Rz
T0s6MSwKICAgICAgICAgICAgICAgICBpc3ZmYXQ6MSwKICAgICAgICAgICAgICAgICB1dGY4OjEs
CiAgICAgICAgICAgICAgICAgdW5pY29kZV94bGF0ZToxLAogICAgICAgICAgICAgICAgIHBvc2l4
ZnM6MSwKICAgICAgICAgICAgICAgICBudW10YWlsOjEsCiAgICAgICAgICAgICAgICAgYXRhcmk6
MSwKICAgICAgICAgICAgICAgICBmYXQzMjoxLAogICAgICAgICAgICAgICAgIG5vY2FzZToxOwp9
OwoKc3RydWN0IG1zZG9zX3NiX2luZm8gewogICAgICAgIHVuc2lnbmVkIHNob3J0IGNsdXN0ZXJf
c2l6ZTsKICAgICAgICB1bnNpZ25lZCBzaG9ydCBjbHVzdGVyX2JpdHM7CiAgICAgICAgdW5zaWdu
ZWQgY2hhciBmYXRzLGZhdF9iaXRzOwogICAgICAgIHVuc2lnbmVkIHNob3J0IGZhdF9zdGFydDsK
ICAgICAgICB1bnNpZ25lZCBsb25nIGZhdF9sZW5ndGg7CiAgICAgICAgdW5zaWduZWQgbG9uZyBk
aXJfc3RhcnQ7CiAgICAgICAgdW5zaWduZWQgc2h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2VzOwogICAgICAgIHVuc2lnbmVkIGludCBkdHNpemU7CiAgICAgICAgdW5z
aWduZWQgaW50IGJzaXplOwogICAgICAgIHVuc2lnbmVkIGludCBhY3JlZ21pbjsKICAgICAgICB1
bnNpZ25lZCBpbnQgYWNyZWdtYXg7CiAgICAgICAgdW5zaWduZWQgaW50IGFjZGlybWluOwogICAg
ICAgIHVuc2lnbmVkIGludCBhY2Rpcm1heDsKICAgICAgICB1bnNpZ25lZCBpbnQgbmFtZWxlbjsK
ICAgICAgICBjaGFyICogaG9zdG5hbWU7CiAgICAgICAgc3RydWN0IG5mc19yZXFsaXN0ICogcndf
cmVxdWVzdHM7CiAgICAgICAgc3RydWN0IGxpc3RfaGVhZCBscnVfcmVhZCwKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBscnVfZGlydHksCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgbHJ1X2NvbW1pdCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBscnVfYnVz
eTsKfTsKCgoKCnN0cnVjdCBuZnNfc2JfaW5mbyB7CiAgICAgICAgc3RydWN0IG5mc19zZXJ2ZXIg
c19zZXJ2ZXI7Cn07CiMgNjg5ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L2ZzLmgiIDIK
IyAxICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L3N5c3ZfZnNfc2IuaCIgMQojIDEzICIv
dXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L3N5c3ZfZnNfc2IuaCIKc3RydWN0IHN5c3Zfc2Jf
aW5mbyB7CiAgICAgICAgaW50IHNfdHlwZTsKICAgICAgICBjaGFyIHNfYnl0ZXNleDsKICAgICAg
ICBjaGFyIHNfdHJ1bmNhdGU7CgogICAgICAgIG5saW5rX3Qgc19saW5rX21heDsKICAgICAgICB1
bnNpZ25lZCBpbnQgc19pbm9kZXNfcGVyX2Jsb2NrOwogICAgICAgIHVuc2lnbmVkIGludC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F9fdTMyIGZzX2RibGtubzsKICAgICAgICBfX3UzMiBmc19jZ29m
ZnNldDsKICAgICAgICBfX3UzMiBmc19jZ21hc2s7CiAgICAgICAgX191MzIgZnNfdGltZTsKICAg
ICAgICBfX3UzMiBmc19zaXplOwogICAgICAgIF9fdTMyIGZzX2RzaXplOwogICAgICAgIF9fdTMy
IGZzX25jZzsKICAgICAgICBfX3UzMiBmc19ic2l6ZTsKICAgICAgICBfX3UzMiBmc19mc2l6ZTsK
ICAgICAgICBfX3UzMiBmc19mcmFnOwoKICAgICAgICBfX3UzMiBmc19taW5mcmVlOwogICAgICAg
IF9fdTMyIGZzX3JvdGRlbGF5OwogICAgICAgIF9fdTMyIGZzX3JwczsKCiAgICAgICAgX191MzIg
ZnNfYm1hc2s7CiAgICAgICAgX191MzIgZnNfZm1hc2s7CiAgICAgICAgX191MzIgZnNfYnNoaWZ0
OwogICAgICAgIF9fdTMyIGZzX2ZzaGlmdDsKCiAgICAgICAgX191MzIgZnNfbWF4Y29udGlnOwog
ICAgICAgIF9fdTMyIGZzX21heGJwZzsKCiAgICAgICAgX191MzIgZnNfZnJhZ3NoaWZ0OwogICAg
ICAgIF9fdTMyIGZzX2ZzYnRvZGI7CiAgICAgICAgX191MzIgZnNfc2JzaXplOwogICAgICAgIF9f
dTMyIGZzX2NzbWFzazsKICAgICAgICBfX3UzMiBmc19jc3NoaWZ0OwogICAgICAgIF9fdTMyIGZz
X25pbmRpcjsKICAgICAgICBfX3UzMiBmc19pbm9wYjsKICAgICAgICBfX3UzMiBmc19uc3BmOwoK
ICAgICAgICBfX3UzMiBmc19vcHRpbTsKCiAgICAgICAgdW5pb24gewogICAgICAgICAgICAgICAg
c3RydWN0IHsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfbnBzZWN0OwogICAgICAg
ICAgICAgICAgfSBmc19zdW47CiAgICAgICAgICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAg
ICAgICAgICAgICBfX3MzMiBmc19zdGF0ZTsKICAgICAgICAgICAgICAgIH0gZnNfc3VueDg2Owog
ICAgICAgIH0gZnNfdTE7CiAgICAgICAgX191MzIgZnNfaW50ZXJsZWF2ZTsKICAgICAgICBfX3Uz
MiBmc190cmFja3NrZXc7CgoKCgogICAgICAgIF9fdTMyIGZzX2lkWzJdOwoKICAgICAgICBfX3Uz
MiBmc19jc2FkZHI7CiAgICAgICAgX191MzIgZnNfY3NzaXplOwogICAgICAgIF9fdTMyIGZzX2Nn
c2l6ZTsKCiAgICAgICAgX191MzIgZnNfbnRyYWs7CiAgICAgICAgX191MzIgZnNfbnNlY3Q7CiAg
ICAgICAgX191MzIgZnNfc3BjOwoKICAgICAgICBfX3UzMiBmc19uY3lsOwoKICAgICAgICBfX3Uz
MiBmc19jcGc7CiAgICAgICAgX191MzIgZnNfaXBnOwogICAgICAgIF9fdTMyIGZzX2ZwZzsKCiAg
ICAgICAgc3RydWN0IHVmc19jc3VtIGZzX2NzdG90YWw7CgogICAgICAgIF9fczggZnNfZm1vZDsK
ICAgICAgICBfX3M4IGZzX2NsZWFuOwogICAgICAgIF9fczggZnNfcm9ubHk7CiAgICAgICAgX19z
OCBmc19mbGFnczsKICAgICAgICBfX3M4IGZzX2ZzbW50WzUxMl07CgogICAgICAgIF9fdTMyIGZz
X2Nncm90b3I7CiAgICAgICAgX191MzIgZnNfY3NwWzMxXTsKICAgICAgICBfX3UzMiBmc19tYXhj
bHVzdGVyOwogICAgICAgIF9fdTMyIGZzX2NwYzsKICAgICAgICBfX3UxNiBmc19vcG9zdGJsWzE2
XVs4XTsKICAgICAgICB1bmlvbiB7CiAgICAgICAgICAgICAgICBzdHJ1Y3QgewogICAgICAgICAg
ICAgICAgICAgICAgICBfX3MzMiBmc19zcGFyZWNvbls1M107CiAgICAgICAgICAgICAgICAgICAg
ICAgIF9fczMyIGZzX3JlY2xhaW07CiAgICAgICAgICAgICAgICAgICAgICAgIF9fczMyIGZzX3Nw
YXJlY29uMlsxXTsKICAgICAgICAgICAgICAgICAgICAgICAgX19zMzIgZnNfc3RhdGU7CiAgICAg
ICAgICAgICAgICAgICAgICAgIF9fdTMyIGZzX3FibWFza1syXTsKICAgICAgICAgICAgICAgICAg
ICAgICAgX191MzIgZnNfcWZtYXNrWzJdOwogICAgICAgICAgICAgICAgfSBmc19zdW47CiAgICAg
ICAgICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgICAgICAgICBfX3MzMiBmc19zcGFy
ZWNvbls1M107CiAgICAgICAgICAgICAgICAgICAgICAgIF9fczMyIGZzX3JlY2xhaW07CiAgICAg
ICAgICAgICAgICAgICAgICAgIF9fczMyIGZzX3NwYXJlY29uMlsxXTsKICAgICAgICAgICAgICAg
ICAgICAgICAgX191MzIgZnNfbnBzZWN0OwogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiBm
c19xYm1hc2tbMl07CiAgICAgICAgICAgICAgICAgICAgICAgIF9fdTMyIGZzX3FmbWFza1syXTsK
ICAgICAgICAgICAgICAgIH0gZnNfc3VueDg2OwogICAgICAgICAgICAgICAgc3RydWN0IHsKICAg
ICAgICAgICAgICAgICAgICAgICAgX19zMzIgZnNfc3BhcmVjb25bNTBdOwogICAgICAgICAgICAg
ICAgICAgICAgICBfX3MzMiBmc19jb250aWdzdW1zaXplOwogICAgICAgICAgICAgICAgICAgICAg
ICBfX3MzMiBmc19tYXhzeW1saW5rbGVuOwogICAgICAgICAgICAgICAgICAgICAgICBfX3MzMiBm
c19pbm9kZWZtdDsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfbWF4ZmlsZXNpemVb
Ml07CiAgICAgICAgICAgICAgICAgICAgICAgIF9fdTMyIGZzX3FibWFza1syXTsKICAgICAgICAg
ICAgICAgICAgICAgICAgX191MzIgZnNfcWZtYXNrWzJdOwogICAgICAgICAgICAgICAgICAgICAg
ICBfX3MzMiBmc19zdGF0ZTsKICAgICAgICAgICAgICAgIH0gZnNfNDQ7CiAgICAgICAgfSBmc191
MjsKICAgICAgICBfX3MzMiBmc19wb3N0Ymxmb3JtYXQ7CiAgICAgICAgX19zMzIgZnNfbnJwb3M7
CiAgICAgICAgX19zMzIgZnNfcG9zdGJsb2ZmOwogICAgICAgIF9fczMyIGZzX3JvdGJsb2ZmOwog
ICAgICAgIF9fczMyIGZzX21hZ2ljOwogICAgICAgIF9fdTggZnNfc3BhY2VbMV07Cn07CiMgNDE1
ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L3Vmc19mcy5oIgpzdHJ1Y3QgdWZzX2N5bGlu
ZGVyX2dyb3VwIHsKICAgICAgICBfX3UzMiBjZ19saW5rOwogICAgICAgIF9fdTMyIGNnX21hZ2lj
OwogICAgICAgIF9fdTMyIGNnX3RpbWU7CiAgICAgICAgX191MzIgY2dfY2d4OwogICAgICAgIF9f
dTE2IGNnX25jeWw7CiAgICAgICAgX191MTYgY2dfbmlibGs7CiAgICAgICAgX191MzIgY2dfbmRi
bGs7CiAgICAgICAgc3RydWN0IHVmc19jc3VtIGNnX2NzOwogICAgICAgIF9fdTMyIGNnX3JvdG9y
OwogICAgICAgIF9fdTMyIGNnX2Zyb3RvcjsKICAgICAgICBfX3UzMiBjZ19pcm90b3I7CiAgICAg
ICAgX191MzIgY2dfZnJzdW1bKDgxOTIgLyAxMDI0KV07CiAgICAgICAgX191MzIgY2dfYnRvdG9m
ZjsKICAgICAgICBfX3UzMiBjZ19ib2ZmOwogICAgICAgIF9fdTMyIGNnX2l1c2Vkb2ZmOwogICAg
ICAgIF9fdTMyIGNnX2ZyZWVvZmY7CiAgICAgICAgX191MzIgY2dfbmV4dGZyZWVvZmY7CiAgICAg
ICAgdW5pb24gewogICAgICAgICAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgICAgICAg
ICAgX191MzIgY2dfY2x1c3RlcnN1bW9mZjsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIg
Y2dfY2x1c3Rlcm9mZjsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgY2dfbmNsdXN0ZXJi
bGtzOwogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiBjZ19zcGFyZWNvblsxM107CiAgICAg
ICAgICAgICAgICB9IGNnXzQ0OwogICAgICAgICAgICAgICAgX191MzIgY2dfc3BhcmVjb25bMTZd
OwogICAgICAgIH0gY2dfdTsKICAgICAgICBfX3U4IGNnX3NwYWNlWzFdOwoKfTsKCgoKCnN0cnVj
dCB1ZnNfaW5vZGUgewogICAgICAgIF9fdTE2IHVpX21vZGU7CiAgICAgICAgX191MTYgdWlfbmxp
bms7CiAgICAgICAgdW5pb24gewogICAgICAgICAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAg
ICAgICAgICAgICAgX191MTYgdWlfc3VpZDsKICAgICAgICAgICAgICAgICAgICAgICAgX191MTYg
dWlfc2dpZDsKICAgICAgICAgICAgICAgIH0gb2xkaWRzOwogICAgICAgICAgICAgICAgX191MzIg
dWlfaW51bWJlcjsKICAgICAgICAgICAgICAgIF9fdTMyIHVpX2F1dGhvcjsKICAgICAgICB9IHVp
X3UxOwogICAgICAgIF9fdTY0IHVpX3NpemU7CiAgICAgICAgc3RydWN0IHVmc190aW1ldmFsIHVp
X2F0aW1lOwogICAgICAgIHN0cnVjdCB1ZnNfdGltZXZhbCB1aV9tdGltZTsKICAgICAgICBzdHJ1
Y3QgdWZzX3RpbWV2YWwgdWlfY3RpbWU7CiAgICAgICAgdW5pb24gewogICAgICAgICAgICAgICAg
c3RydWN0IHsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgdWlfZGJbMTJdOwogICAgICAg
ICAgICAgICAgICAgICAgICBfX3UzMiB1aV9pYlszXTsKICAgICAgICAgICAgICAgIH0gdWlfYWRk
cjsKICAgICAgICAgICAgICAgIF9fdTggdWlfc3ltbGlua1s0KigxMiArMyldOwogICAgICAgIH0g
dWlfdTI7CiAgICAgICAgX191MzIgdWlfZmxhZ3M7CiAgICAgICAgX191MzIgdWlfYmxvY2tzOwog
ICAgICAgIF9fdTMyIHVpX2dlbjsKICAgICAgICB1bmlvbiB7CiAgICAgICAgICAgICAgICBzdHJ1
Y3QgewogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiB1aV9zaGFkb3c7CiAgICAgICAgICAg
ICAgICAgICAgICAgIF9fdTMyIHVpX3VpZDsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIg
dWlfZ2lkOwogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiB1aV9vZWZ0ZmxhZzsKICAgICAg
ICAgICAgICAgIH0gdWlfc3VuOwogICAgICAgICAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAg
ICAgICAgICAgICAgX191MzIgdWlfdWlkOwogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiB1
aV9naWQ7CiAgICAgICAgICAgICAgICAgICAgICAgIF9fczMyIHVpX3NwYXJlWzJdOwogICAgICAg
ICAgICAgICAgfSB1aV80NDsKICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAg
ICAgICAgICAgIF9fdTMyIHVpX3VpZDsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgdWlf
Z2lkOwogICAgICAgICAgICAgICAgICAgICAgICBfX3UxNiB1aV9tb2RlaDsKICAgICAgICAgICAg
ICAgICAgICAgICAgX191MTYgdWlfc3BhcmU7CiAgICAgICAgICAgICAgICAgICAgICAgIF9fdTMy
IHVpX3RyYW5zOwogICAgICAgICAgICAgICAgfSB1aV9odXJkOwogICAgICAgIH0gdWlfdTM7Cn07
CiMgNTE0ICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L3Vmc19mcy5oIgpleHRlcm4gdm9p
ZCB1ZnNfZnJlZV9mcmFnbWVudHMgKHN0cnVjdCBpbm9kZSAqLCB1bnNpZ25lZCwgdW5zaWduZWQp
OwpleHRlcm4gdm9pZCB1ZnNfZnJlZV9ibG9ja3MgKHN0cnVjdCBpbm9kZSAqLCB1bnNpZ25lZCwg
dW5zaWduZWQpOwpleHRlcm4gdW5zaWduZWQgd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lub2RlICopOwojIDE4ICIvdXNyL3NyYy9saW51eC9p
bmNsdWRlL2xpbnV4L3Vmc19mc19zYi5oIiAyCgoKCgoKc3RydWN0IHVmc19idWZmZXJfaGVhZCB7
CiAgICAgICAgdW5zaWduZWQgZnJhZ21lbnQ7CiAgICAgICAgdW5zaWduZWQgY291bnQ7CiAgICAg
ICAgc3RydWN0IGJ1ZmZlcl9oZWFkICogYmhbKDgxOTIgLyAxMDI0KV07Cn07CgpzdHJ1Y3QgdWZz
X2NnX3ByaXZhdGVfaW5mbyB7CiAgICAgICAgc3RydWN0IHVmc19jeWxpbmRlcl9ncm91cCB1Y2c7
CiAgICAgICAgX191MzIgY19jZ3g7CiAgICAgICAgX191MTYgY19uY3lsOwogICAgICAgIF9fdTE2
IGNfbmlibGs7CiAgICAgICAgX191MzIgY19uZGJsazsKICAgICAgICBfX3UzMiBjX3JvdG9yOwog
ICAgICAgIF9fdTMyIGNfZnJvdG9yOwogICAgICAgIF9fdTMyIGNfaXJvdG9yOwogICAgICAgIF9f
dTMyIGNfYnRvdG9mZjsKICAgICAgICBfX3UzMiBjX2JvZmY7CiAgICAgICAgX191MzIgY19pdXNl
ZG9mZjsKICAgICAgICBfX3UzMiBjX2ZyZWVvZmY7CiAgICAgICAgX191MzIgY19uZXh0ZnJlZW9m
ZjsKICAgICAgICBfX3UzMiBjX2NsdXN0ZXJzdW1vZmY7CiAgICAgICAgX191MzIgY19jbHVzdGVy
b2ZmOwogICAgICAgIF9fdTMyIGNfbmNsdXN0ZXJibGtzOwp9OwoKc3RydWN0IHVmc19zYl9wcml2
YXRlX2luZm8gewogICAgICAgIHN0cnVjdCB1ZnNfYnVmZmVyX2hlYWQgc191Ymg7CiAgICAgICAg
X191MzIgc19zYmxrbm87CiAgICAgICAgX191MzIgc19jYmxrbm87CiAgICAgICAgX191MzIgc19p
Ymxrbm87CiAgICAgICAgX191MzIgc19kYmxrbm87CiAgICAgICAgX191MzIgc19jZ29mZnNldDsK
ICAgICAgICBfX3UzMiBzX2NnbWFzazsKICAgICAgICBfX3UzMiBzX3NpemU7CiAgICAgICAgX191
MzIgc19kc2l6ZTsKICAgICAgICBfX3UzMiBzX25jZzsKICAgICAgICBfX3UzMiBzX2JzaXplOwog
ICAgICAgIF9fdTMyIHNfZnNpemU7CiAgICAgICAgX191MzIgc19mcGI7CiAgICAgICAgX191MzIg
c19taW5mcmVlOwogICAgICAgIF9fdTMyIHNfYm1hc2s7CiAgICAgICAgX191MzIgc19mbWFzazsK
ICAgICAgICBfX3UzMiBzX2JzaGlmdDsKICAgICAgICBfX3UzMiBzX2ZzaGlmdDsKICAgICAgICBf
X3UzMiBzX2ZwYnNoaWZ0OwogICAgICAgIF9fdTMyIHNfZnNidG9kYjsKICAgICAgICBfX3UzMiBz
X3Nic2l6ZTsKICAgICAgICBfX3UzMiBzX2NzbWFzazsKICAgICAgICBfX3UzMiBzX2Nzc2hpZnQ7
CiAgICAgICAgX191MzIgc19uaW5kaXI7CiAgICAgICAgX191MzIgc19pbm9wYjsKICAgICAgICBf
X3UzMiBzX25zcGY7CiAgICAgICAgX191MzIgc19ucHNlY3Q7CiAgICAgICAgX191MzIgc19pbnRl
cmxlYXZlOwogICAgICAgIF9fdTMyIHNfdHJhY2tza2V3OwogICAgICAgIF9fdTMyIHNfY3NhZGRy
OwogICAgICAgIF9fdTMyIHNfY3NzaXplOwogICAgICAgIF9fdTMyIHNfY2dzaXplOwogICAgICAg
IF9fdTMyIHNfbnRyYWs7CiAgICAgICAgX191MzIgc19uc2VjdDsKICAgICAgICBfX3UzMiBzX3Nw
YzsKICAgICAgICBfX3UzMiBzX2lwZzsKICAgICAgICBfX3UzMiBzX2ZwZzsKICAgICAgICBfX3Uz
MiBzX2NwYzsKICAgICAgICBfX3MzMiBzX2NvbnRpZ3N1bXNpemU7CiAgICAgICAgX19zNjQgc19x
Ym1hc2s7CiAgICAgICAgX19zNjQgc19xZm1hc2s7CiAgICAgICAgX19zMzIgc19wb3N0Ymxmb3Jt
YXQ7C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1Y3QgdWZzX3N1cGVyX2Jsb2NrX2Zp
cnN0IHsKICAgICAgICBfX3UzMiBmc19saW5rOwogICAgICAgIF9fdTMyIGZzX3JsaW5rOwogICAg
ICAgIF9fdTMyIGZzX3NibGtubzsKICAgICAgICBfX3UzMiBmc19jYmxrbm87CiAgICAgICAgX191
MzIgZnNfaWJsa25vOwogICAgICAgIF9fdTMyIGZzX2RibGtubzsKICAgICAgICBfX3UzMiBmc19j
Z29mZnNldDsKICAgICAgICBfX3UzMiBmc19jZ21hc2s7CiAgICAgICAgX191MzIgZnNfdGltZTsK
ICAgICAgICBfX3UzMiBmc19zaXplOwogICAgICAgIF9fdTMyIGZzX2RzaXplOwogICAgICAgIF9f
dTMyIGZzX25jZzsKICAgICAgICBfX3UzMiBmc19ic2l6ZTsKICAgICAgICBfX3UzMiBmc19mc2l6
ZTsKICAgICAgICBfX3UzMiBmc19mcmFnOwogICAgICAgIF9fdTMyIGZzX21pbmZyZWU7CiAgICAg
ICAgX191MzIgZnNfcm90ZGVsYXk7CiAgICAgICAgX191MzIgZnNfcnBzOwogICAgICAgIF9fdTMy
IGZzX2JtYXNrOwogICAgICAgIF9fdTMyIGZzX2ZtYXNrOwogICAgICAgIF9fdTMyIGZzX2JzaGlm
dDsKICAgICAgICBfX3UzMiBmc19mc2hpZnQ7CiAgICAgICAgX191MzIgZnNfbWF4Y29udGlnOwog
ICAgICAgIF9fdTMyIGZzX21heGJwZzsKICAgICAgICBfX3UzMiBmc19mcmFnc2hpZnQ7CiAgICAg
ICAgX191MzIgZnNfZnNidG9kYjsKICAgICAgICBfX3UzMiBmc19zYnNpemU7CiAgICAgICAgX191
MzIgZnNfY3NtYXNrOwogICAgICAgIF9fdTMyIGZzX2Nzc2hpZnQ7CiAgICAgICAgX191MzIgZnNf
bmluZGlyOwogICAgICAgIF9fdTMyIGZzX2lub3BiOwogICAgICAgIF9fdTMyIGZzX25zcGY7CiAg
ICAgICAgX191MzIgZnNfb3B0aW07CiAgICAgICAgdW5pb24gewogICAgICAgICAgICAgICAgc3Ry
dWN0IHsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfbnBzZWN0OwogICAgICAgICAg
ICAgICAgfSBmc19zdW47CiAgICAgICAgICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAg
ICAgICAgICBfX3MzMiBmc19zdGF0ZTsKICAgICAgICAgICAgICAgIH0gZnNfc3VueDg2OwogICAg
ICAgIH0gZnNfdTE7CiAgICAgICAgX191MzIgZnNfaW50ZXJsZWF2ZTsKICAgICAgICBfX3UzMiBm
c190cmFja3NrZXc7CiAgICAgICAgX191MzIgZnNfaWRbMl07CiAgICAgICAgX191MzIgZnNfY3Nh
ZGRyOwogICAgICAgIF9fdTMyIGZzX2Nzc2l6ZTsKICAgICAgICBfX3UzMiBmc19jZ3NpemU7CiAg
ICAgICAgX191MzIgZnNfbnRyYWs7CiAgICAgICAgX191MzIgZnNfbnNlY3Q7CiAgICAgICAgX191
MzIgZnNfc3BjOwogICAgICAgIF9fdTMyIGZzX25jeWw7CiAgICAgICAgX191MzIgZnNfY3BnOwog
ICAgICAgIF9fdTMyIGZzX2lwZzsKICAgICAgICBfX3UzMiBmc19mcGc7CiAgICAgICAgc3RydWN0
IHVmc19jc3VtIGZzX2NzdG90YWw7CiAgICAgICAgX19zOCBmc19mbW9kOwogICAgICAgIF9fczgg
ZnNfY2xlYW47CiAgICAgICAgX19zOCBmc19yb25seTsKICAgICAgICBfX3M4IGZzX2ZsYWdzOwog
ICAgICAgIF9fczggZnNfZnNtbnRbNTEyIC0gMjEyXTsKCn07CgpzdHJ1Y3QgdWZzX3N1cGVyX2Js
b2NrX3NlY29uZCB7CiAgICAgICAgX19zOCBmc19mc21udFsyMTJdOwogICAgICAgIF9fdTMyIGZz
X2Nncm90b3I7CiAgICAgICAgX191MzIgZnNfY3NwWzMxXTsKICAgICAgICBfX3UzMiBmc19tYXhj
bHVzdGVyOwogICAgICAgIF9fdTMyIGZzX2NwYzsKICAgICAgICBfX3UxNiBmc19vcG9zdGJsWzgy
XTsKfTsKCnN0cnVjdCB1ZnNfc3VwZXJfYmxvY2tfdGhpcmQgewogICAgICAgIF9fdTE2IGZzX29w
b3N0YmxbNDZdOwogICAgICAgIHVuaW9uIHsKICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAg
ICAgICAgICAgICAgICAgICAgIF9fczMyIGZzX3NwYXJlY29uWzUzXTsKICAgICAgICAgICAgICAg
ICAgICAgICAgX19zMzIgZnNfcmVjbGFpbTsKICAgICAgICAgICAgICAgICAgICAgICAgX19zMzIg
ZnNfc3BhcmVjb24yWzFdOwogICAgICAgICAgICAgICAgICAgICAgICBfX3MzMiBmc19zdGF0ZTsK
ICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfcWJtYXNrWzJdOwogICAgICAgICAgICAg
ICAgICAgICAgICBfX3UzMiBmc19xZm1hc2tbMl07CiAgICAgICAgICAgICAgICB9IGZzX3N1bjsK
ICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICAgICAgICAgIF9fczMyIGZz
X3NwYXJlY29uWzUzXTsKICAgICAgICAgICAgICAgICAgICAgICAgX19zMzIgZnNfcmVjbGFpbTsK
ICAgICAgICAgICAgICAgICAgICAgICAgX19zMzIgZnNfc3BhcmVjb24yWzFdOwogICAgICAgICAg
ICAgICAgICAgICAgICBfX3UzMiBmc19ucHNlY3Q7CiAgICAgICAgICAgICAgICAgICAgICAgIF9f
dTMyIGZzX3FibWFza1syXTsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfcWZtYXNr
WzJdOwogICAgICAgICAgICAgICAgfSBmc19zdW54ODY7CiAgICAgICAgICAgICAgICBzdHJ1Y3Qg
ewogICAgICAgICAgICAgICAgICAgICAgICBfX3MzMiBmc19zcGFyZWNvbls1MF07CiAgICAgICAg
ICAgICAgICAgICAgICAgIF9fczMyIGZzX2NvbnRpZ3N1bXNpemU7CiAgICAgICAgICAgICAgICAg
ICAgICAgIF9fczMyIGZzX21heHN5bWxpbmtsZW47CiAgICAgICAgICAgICAgICAgICAgICAgIF9f
czMyIGZzX2lub2RlZm10OwogICAgICAgICAgICAgICAgICAgICAgICBfX3UzMiBmc19tYXhmaWxl
c2l6ZVsyXTsKICAgICAgICAgICAgICAgICAgICAgICAgX191MzIgZnNfcWJtYXNrWzJdOwogICAg
ICAgICAgICAgICAgICAgICAgICBfX3UzMiBmc19xZm1hc2tbMl07CiAgICAgICAgICAgICAgICAg
ICAgICAgIF9fczMyIGZzX3N0YXRlOwogICAgICAgICAgICAgICAgfSBmc180NDsKICAgICAgICB9
IGZzX3UyOwogICAgICAgIF9fczMyIGZzX3Bvc3RibGZvcm1hdDsKICAgICAgICBfX3MzMiBmc19u
cnBvczsKICAgICAgICBfX3MzMiBmc19wb3N0YmxvZmY7CiAgICAgICAgX19zMzIgZnNfcm90Ymxv
ZmY7CiAgICAgICAgX19zMzIgZnNfbWFnaWM7CiAgICAgICAgX191OCBmc19zcGFjZVsxXTsKfTsK
IyA2OTIgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGludXgvZnMuaCIgMgojIDEgIi91c3Ivc3Jj
L2xpbnV4L2luY2x1ZGUvbGludXgvZWZzX2ZzX3NiLmgiIDEKIyAyNSAiL3Vzci9zcmMvbGludXgv
aW5jbHVkZS9saW51eC9lZnNfZnNfc2IuaCIKc3RydWN0IGVmc19zdXBlciB7CiAgICAgICAgaW50
MzJfdCBmc19zaXplOwogICAgICAgIGludDMyX3QgZnNfZmlyc3RjZzsKICAgICAgICBpbnQzMl90
IGZzX2NnZnNpemU7CiAgICAgICAgc2hvcnQgZnNfY2dpc2l6ZTsKICAgICAgICBzaG9ydCBmc19z
ZWN0b3JzOwogICAgICAgIHNob3J0IGZzX2hlYWRzOwogICAgICAgIHNob3J0IGZzX25jZzsKICAg
ICAgICBzaG9ydCBmc19kaXJ0eTsKICAgICAgICBpbnQzMl90IGZzX3RpbWU7CiAgICAgICAgaW50
MzJfdC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L3Vzci9zcmMvbGludXgvaW5jbHVkZS9s
aW51eC9xbng0X2ZzLmgiIDEKIyA0NSAiL3Vzci9zcmMvbGludXgvaW5jbHVkZS9saW51eC9xbng0
X2ZzLmgiCnN0cnVjdCBxbng0X2lub2RlX2VudHJ5IHsKICAgICAgICBjaGFyIGRpX2ZuYW1lWzE2
XTsKICAgICAgICBxbng0X29mZl90IGRpX3NpemU7CiAgICAgICAgcW54NF94dG50X3QgZGlfZmly
c3RfeHRudDsKICAgICAgICBfX3UzMiBkaV94YmxrOwogICAgICAgIF9fczMyIGRpX2Z0aW1lOwog
ICAgICAgIF9fczMyIGRpX210aW1lOwogICAgICAgIF9fczMyIGRpX2F0aW1lOwogICAgICAgIF9f
czMyIGRpX2N0aW1lOwogICAgICAgIHFueDRfbnh0bnRfdCBkaV9udW1feHRudHM7CiAgICAgICAg
cW54NF9tb2RlX3QgZGlfbW9kZTsKICAgICAgICBxbng0X211aWRfdCBkaV91aWQ7CiAgICAgICAg
cW54NF9tZ2lkX3QgZGlfZ2lkOwogICAgICAgIHFueDRfbmxpbmtfdCBkaV9ubGluazsKICAgICAg
ICBfX3U4IGRpX3plcm9bNF07CiAgICAgICAgcW54NF9mdHlwZV90IGRpX3R5cGU7CiAgICAgICAg
X191OCBkaV9zdGF0dXM7Cn07CgpzdHJ1Y3QgcW54NF9saW5rX2luZm8gewogICAgICAgIGNoYXIg
ZGxfZm5hbWVbNDhdOwogICAgICAgIF9fdTMyIGRsX2lub2RlX2JsazsKICAgICAgICBfX3U4IGRs
X2lub2RlX25keDsKICAgICAgICBfX3U4IGRsX3NwYXJlWzEwXTsKICAgICAgICBfX3U4IGRsX3N0
YXR1czsKfTsKCnN0cnVjdCBxbng0X3hibGsgewogICAgICAgIF9fdTMyIHhibGtfbmV4dF94Ymxr
OwogICAgICAgIF9fdTMyIHhibGtfcHJldl94YmxrOwogICAgICAgIF9fdTggeGJsa19udW1feHRu
dHM7CiAgICAgICAgX191OCB4YmxrX3NwYXJlWzN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wp9OwojIDEzICIvdXNyL3NyYy9saW51eC9pbmNsdWRlL2xpbnV4L25jcF9mc19zYi5o
IiAyCgoKCgoKc3RydWN0IG5jcF9zZXJ2ZXIgewoKICAgICAgICBzdHJ1Y3QgbmNwX21vdW50X2Rh
dGFfa2VybmVsIG07CgoKCiAgICAgICAgX191OCBuYW1lX3NwYWNlWyg2NCkgKyAyXTsKCiAgICAg
ICAgc3RydWN0IGZpbGUgKm5jcF9maWxwOwoKICAgICAgICB1OCBzZXF1ZW5jZTsKICAgICAgICB1
OCB0YXNrOwogICAgICAgIHUxNiBjb25uZWN0aW9uOwoKICAgICAgICB1OCBjb21wbGV0aW9uOwog
ICAgICAgIHU4IGNvbm5fc3RhdHVzOwoKCgogICAgICAgIGludCBidWZmZXJfc2l6ZTsKCiAgICAg
ICAgaW50IHJlcGx5X3NpemU7CgogICAgICAgIGludCBwYWNrZXRfc2l6ZTsKICAgICAgICB1bnNp
Z25lZCBjaGFyICpwYWNrZXQ7CgoKICAgICAgICBpbnQgbG9jazsKICAgICAgICBzdHJ1Y3Qgc2Vt
YXBob3JlIHNlbTsKCiAgICAgICAgaW50IGN1cnJlbnRfc2l6ZTsKICAgICAgICBpbnQgaGFzX3N1
YmZ1bmN0aW9uOwogICAgICAgIGludCBuY3BfcmVwbHlfc2l6ZTsKCiAgICAgICAgaW50IHJvb3Rf
c2V0dXBlZDsKCgogICAgICAgIGludCBzaWduX3dhbnRlZDsKICAgICAgICBpbnQgc2lnbl9hY3Rp
dmU7CiAgICAgICAgY2hhciBzaWduX3Jvb3RbOF07CiAgICAgICAgY2hhciBzaWduX2xhc3RbMTZd
OwoKCiAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgIGludCBhdXRoX3R5cGU7CiAgICAg
ICAgICAgICAgICBzaXplX3Qgb2JqZWN0X25hbWVfbGVuOwogICAgICAgICAgICAgICAgdm9pZCog
b2JqZWN0X25hbWU7CiAgICAgICAgICAgICAgICBpbnQgb2JqZWN0X3R5cGU7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m9kZS0+aV9zZW0pOwogICAg
ICAgIHJldHVybiBkaXI7Cn0KCnN0YXRpYyBpbmxpbmUgc3RydWN0IGRlbnRyeSAqZ2V0X3BhcmVu
dChzdHJ1Y3QgZGVudHJ5ICpkZW50cnkpCnsKICAgICAgICByZXR1cm4gZGdldChkZW50cnktPmRf
cGFyZW50KTsKfQoKc3RhdGljIGlubGluZSB2b2lkIHVubG9ja19kaXIoc3RydWN0IGRlbnRyeSAq
ZGlyKQp7CiAgICAgICAgdXAoJmRpci0+ZF9pbm9kZS0+aV9zZW0pOwogICAgICAgIGRwdXQoZGly
KTsKfQoKCgoKCnN0YXRpYyBpbmxpbmUgdm9pZCBkb3VibGVfZG93bihzdHJ1Y3Qgc2VtYXBob3Jl
ICpzMSwgc3RydWN0IHNlbWFwaG9yZSAqczIpCnsKICAgICAgICBpZiAoczEgIT0gczIpIHsKICAg
ICAgICAgICAgICAgIGlmICgodW5zaWduZWQgbG9uZykgczEgPCAodW5zaWduZWQgbG9uZykgczIp
IHsKICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0IHNlbWFwaG9yZSAqdG1wID0gczI7CiAg
ICAgICAgICAgICAgICAgICAgICAgIHMyID0gczE7IHMxID0gdG1wOwogICAgICAgICAgICAgICAg
fQogICAgICAgICAgICAgICAgZG93bihzMSk7CiAgICAgICAgfQogICAgICAgIGRvd24oczIpOwp9
CiMgMTU2MyAiL3Vzci9zcmMvbGludXgvaW5jbHVkZS9saW51eC9mcy5oIgpzdGF0aWMgaW5saW5l
IHZvaWQgdHJpcGxlX2Rvd24oc3RydWN0IHNlbWFwaG9yZSAqczEsCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBzdHJ1Y3Qgc2VtYXBob3JlICpzMiwKICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIHN0cnVjdCBzZW1hcGhvcmUgKnMzKQp7CiAgICAgICAgaWYgKHMxICE9IHMyKSB7
CiAgICAgICAgICAgICAgICBpZiAoKHVuc2lnbmVkIGxvbmcpIHMxIDwgKHVuc2lnbmVkIGxvbmcp
IHMyKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICgodW5zaWduZWQgbG9uZykgczEgPCAo
dW5zaWduZWQgbG9uZykgczMpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1
Y3Qgc2VtYXBob3JlICp0bXAgPSBzMzsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBz
MyA9IHMxOyBzMSA9IHRtcDsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAg
ICAgICAgICAgICBpZiAoKHVuc2lnbmVkIGxvbmcpIHMxIDwgKHVuc2lnbmVkIGxvbmcpIHMyKSB7
CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0IHNlbWFwaG9yZSAqdG1wID0g
czI7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgczIgPSBzMTsgczEgPSB0bXA7CiAg
ICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAg
ICAgICAgICAgICAgICAgIGlmICgodW5zaWduZWQgbG9uZykgczEgPCAodW5zaWduZWQgbG9uZykg
czMpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1Y3Qgc2VtYXBob3JlICp0
bXAgPSBzMzsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzMyA9IHMxOyBzMSA9IHRt
cDsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBpZiAo
KHVuc2lnbmVkIGxvbmcpIHMyIDwgKHVuc2lnbmVkIGxvbmcpIHMzKSB7CiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgc3RydWN0IHNlbWFwaG9yZSAqdG1wID0gczM7CiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgczMgPSBzMjsgczIgPSB0bXA7CiAgICAgICAgICAgICAgICAg
ICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGRvd24oczEpOwogICAg
ICAgIH0gZWxzZSBpZiAoKHVuc2lnbmVkIGxvbmcpIHMyIDwgKHVuc2lnbmVkIGxvbmcpIHMzKSB7
CiAgICAgICAgICAgICAgICBzdHJ1Y3Qgc2VtYXBob3JlICp0bXAgPSBzMzsKICAgICAgICAgICAg
ICAgIHMzID0gczI7IHMyID0gdG1wOwogICAgICAgIH0KICAgICAgICBkb3duKHMyKTsKICAgICAg
ICBkb3duKHMzKTsKfQoKc3RhdGljIGlubGluZSB2b2lkIGRvdWJsZV91cChzdHJ1Y3Qgc2VtYXBo
b3JlICpzMSwgc3RydWN0IHNlbWFwaG9yZSAqczIpCnsKICAgICAgICB1cChzMSk7CiAgICAgICAg
aWYgKHMxICE9IHMyKQogICAgICAgICAgICAgICAgdXAoczIpOwp9CgpzdGF0aWMgaW5saW5lIHZv
aWQgdHJpcGxlX3VwKHN0cnVjdCBzZW1hcGhvcmUgKnMxLAogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIHN0cnVjdCBzZW1hcGhvcmUgKnMyLAogICAgICAgICAgICAgICAgICAgICAgICAgICAg
IHN0cnVjdCBzZW1hcGhvcmUgKnMzKQp7CiAgICAgICAgdXAoczEpOwogICAgICAgIGlmIChzMSAh
PSBzMikKICAgICAgICAgICAgICAgIHVwKHMyKTsKICAgICAgICB1cChzMyk7Cn0KCnN0YXRpYyBp
bmxpbmUgdm9pZCBkb3VibGVfbG9jayhzdHJ1Y3QgZGVudHJ5ICpkMSwgc3RydWN0IGRlbnRyeSAq
ZDIpCnsKICAgICAgICBkb3VibGVfZG93bigmZDEtPmRfaW5vZGUtPmlfc2VtLCAmZDItPmRfaW5v
ZGUtPmlfc2VtKTsKfQoKc3RhdGljIGlubGluZSB2b2lkIGRvdWJsZV91bmxvY2soc3RydWN0IGRl
bnRyeSAqZDEsIHN0cnVjdCBkZW50cnkgKmQyKQp7CiAgICAgICA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aWduZWQgbG9uZyBsb25nIGN5Y2xlc190
OwoKZXh0ZXJuIGN5Y2xlc190IGNhY2hlZmx1c2hfdGltZTsKCnN0YXRpYyBpbmxpbmUgY3ljbGVz
X3QgZ2V0X2N5Y2xlcyAodm9pZCkKewoKCgogICAgICAgIHVuc2lnbmVkIGxvbmcgbG9uZyByZXQ7
CgogICAgICAgIF9fYXNtX18gX192b2xhdGlsZV9fKCJyZHRzYyIgOiAiPUEiIChyZXQpKTsKICAg
ICAgICByZXR1cm4gcmV0OwoKfQoKZXh0ZXJuIHVuc2lnbmVkIGxvbmcgY3B1X2toejsKIyAxNTMg
Ii91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGludXgvdGltZXguaCIgMgojIDE2MSAiL3Vzci9zcmMv
bGludXgvaW5jbHVkZS9saW51eC90aW1leC5oIgpzdHJ1Y3QgdGltZXggewogICAgICAgIHVuc2ln
bmVkIGludCBtb2RlczsKICAgICAgICBsb25nIG9mZnNldDsKICAgICAgICBsb25nIGZyZXE7CiAg
ICAgICAgbG9uZyBtYXhlcnJvcjsKICAgICAgICBsb25nIGVzdGVycm9yOwogICAgICAgIGludCBz
dGF0dXM7CiAgICAgICAgbG9uZyBjb25zdGFudDsKICAgICAgICBsb25nIHByZWNpc2lvbjsKICAg
ICAgICBsb25nIHRvbGVyYW5jZTsKCgogICAgICAgIHN0cnVjdCB0aW1ldmFsIHRpbWU7CiAgICAg
ICAgbG9uZyB0aWNrOwoKICAgICAgICBsb25nIHBwc2ZyZXE7CiAgICAgICAgbG9uZyBqaXR0ZXI7
CiAgICAgICAgaW50IHNoaWZ0OwogICAgICAgIGxvbmcgc3RhYmlsOwogICAgICAgIGxvbmcgaml0
Y250OwogICAgICAgIGxvbmcgY2FsY250OwogICAgICAgIGxvbmcgZXJyY250OwogICAgICAgIGxv
bmcgc3RiY250OwoKICAgICAgICBpbnQgOjMyOyBpbnQgOjMyOyBpbnQgOjMyOyBpbnQgOjMyOwog
ICAgICAgIGludCA6MzI7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ydWN0IHsKICAg
ICAgICAgICAgICAgIHVuc2lnbmVkIGludCB2ZXJzaW9uIDogOCwKICAgICAgICAgICAgICAgICAg
ICAgICAgX19yZXNlcnZlZF8xIDogOCwKICAgICAgICAgICAgICAgICAgICAgICAgbWF4X2x2dCA6
IDgsCiAgICAgICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMiA6IDg7CiAgICAgICAgICAg
ICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFszXTsKICAgICAgICB9IHZlcnNpb247CgogICAg
ICAgIHN0cnVjdCB7IHVuc2lnbmVkIGludCBfX3Jlc2VydmVkWzRdOyB9IF9fcmVzZXJ2ZWRfMDM7
CgogICAgICAgIHN0cnVjdCB7IHVuc2lnbmVkIGludCBfX3Jlc2VydmVkWzRdOyB9IF9fcmVzZXJ2
ZWRfMDQ7CgogICAgICAgIHN0cnVjdCB7IHVuc2lnbmVkIGludCBfX3Jlc2VydmVkWzRdOyB9IF9f
cmVzZXJ2ZWRfMDU7CgogICAgICAgIHN0cnVjdCB7IHVuc2lnbmVkIGludCBfX3Jlc2VydmVkWzRd
OyB9IF9fcmVzZXJ2ZWRfMDY7CgogICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICB1bnNp
Z25lZCBpbnQgcHJpb3JpdHkgOiA4LAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVk
XzEgOiAyNDsKICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBfX3Jlc2VydmVkXzJbM107CiAg
ICAgICAgfSB0cHI7CgogICAgICAgIGNvbnN0CiAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAg
ICAgIHVuc2lnbmVkIGludCBwcmlvcml0eSA6IDgsCiAgICAgICAgICAgICAgICAgICAgICAgIF9f
cmVzZXJ2ZWRfMSA6IDI0OwogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRf
MlszXTsKICAgICAgICB9IGFwcjsKCiAgICAgICAgY29uc3QKICAgICAgICBzdHJ1Y3QgewogICAg
ICAgICAgICAgICAgdW5zaWduZWQgaW50IHByaW9yaXR5IDogOCwKICAgICAgICAgICAgICAgICAg
ICAgICAgX19yZXNlcnZlZF8xIDogMjQ7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19y
ZXNlcnZlZF8yWzNdOwogICAgICAgIH0gcHByOwoKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAg
ICAgICAgdW5zaWduZWQgaW50IGVvaTsKICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBfX3Jl
c2VydmVkWzNdOwogICAgICAgIH0gZW9pOwoKICAgICAgICBzdHJ1Y3QgeyB1bnNpZ25lZCBpbnQg
X19yZXNlcnZlZFs0XTsgfSBfX3Jlc2VydmVkXzA3OwoKICAgICAgICBzdHJ1Y3QgewogICAgICAg
ICAgICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRfMSA6IDI0LAogICAgICAgICAgICAgICAg
ICAgICAgICBsb2dpY2FsX2Rlc3QgOiA4OwogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IF9f
cmVzZXJ2ZWRfMlszXTsKICAgICAgICB9IGxkcjsKCiAgICAgICAgc3RydWN0IHsKICAgICAgICAg
ICAgICAgIHVuc2lnbmVkIGludCBfX3Jlc2VydmVkXzEgOiAyOCwKICAgICAgICAgICAgICAgICAg
ICAgICAgbW9kZWwgOiA0OwogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRf
MlszXTsKICAgICAgICB9IGRmcjsKCiAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgIHVu
c2lnbmVkIGludCBzcHVyaW91c192ZWN0b3IgOiA4LAogICAgICAgICAgICAgICAgICAgICAgICBh
cGljX2VuYWJsZWQgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBmb2N1c19jcHUgOiAxLAog
ICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzIgOiAyMjsKICAgICAgICAgICAgICAg
IHVuc2lnbmVkIGludCBfX3Jlc2VydmVkXzNbM107CiAgICAgICAgfSBzdnI7CgogICAgICAgIHN0
cnVjdCB7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgYml0ZmllbGQ7CiAgICAgICAgICAg
ICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFszXTsKICAgICAgICB9IGlzciBbOF07CgogICAg
ICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgYml0ZmllbGQ7CiAgICAg
ICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFszXTsKICAgICAgICB9IHRtciBbOF07
CgogICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgYml0ZmllbGQ7
CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFszXTsKICAgICAgICB9IGly
ciBbOF07CgogICAgICAgIHVuaW9uIHsKICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAgICAg
ICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBzZW5kX2NzX2Vycm9yIDogMSwKICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICByZWNlaXZlX2NzX2Vycm9yIDogMSwKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBzZW5kX2FjY2VwdF9lcnJvciA6IDEsCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgcmVjZWl2ZV9hY2NlcHRfZXJyb3IgOiAxLAogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMSA6IDEsCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgc2VuZF9pbGxlZ2FsX3ZlY3RvciA6IDEsCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgcmVjZWl2ZV9pbGxlZ2FsX3ZlY3RvciA6IDEsCiAg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B7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgdmVjdG9yIDogOCwKICAgICAg
ICAgICAgICAgICAgICAgICAgZGVsaXZlcnlfbW9kZSA6IDMsCiAgICAgICAgICAgICAgICAgICAg
ICAgIGRlc3RpbmF0aW9uX21vZGUgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBkZWxpdmVy
eV9zdGF0dXMgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzEgOiAxLAog
ICAgICAgICAgICAgICAgICAgICAgICBsZXZlbCA6IDEsCiAgICAgICAgICAgICAgICAgICAgICAg
IHRyaWdnZXIgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzIgOiAyLAog
ICAgICAgICAgICAgICAgICAgICAgICBzaG9ydGhhbmQgOiAyLAogICAgICAgICAgICAgICAgICAg
ICAgICBfX3Jlc2VydmVkXzMgOiAxMjsKICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBfX3Jl
c2VydmVkXzRbM107CiAgICAgICAgfSBpY3IxOwoKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAg
ICAgICAgdW5pb24gewogICAgICAgICAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19yZXNl
cnZlZF8xIDogMjQsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGh5c19kZXN0IDog
NCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzIgOiA0OwogICAg
ICAgICAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZF8zIDogMjQsCiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9naWNhbF9kZXN0IDogODsKICAgICAgICAgICAg
ICAgIH0gZGVzdDsKICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBfX3Jlc2VydmVkXzRbM107
CiAgICAgICAgfSBpY3IyOwoKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgdW5zaWdu
ZWQgaW50IHZlY3RvciA6IDgsCiAgICAgICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMSA6
IDQsCiAgICAgICAgICAgICAgICAgICAgICAgIGRlbGl2ZXJ5X3N0YXR1cyA6IDEsCiAgICAgICAg
ICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMiA6IDMsCiAgICAgICAgICAgICAgICAgICAgICAg
IG1hc2sgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICB0aW1lcl9tb2RlIDogMSwKICAgICAg
ICAgICAgICAgICAgICAgICAgX19yZXNlcnZlZF8zIDogMTQ7CiAgICAgICAgICAgICAgICB1bnNp
Z25lZCBpbnQgX19yZXNlcnZlZF80WzNdOwogICAgICAgIH0gbHZ0X3RpbWVyOwoKICAgICAgICBz
dHJ1Y3QgeyB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFs0XTsgfSBfX3Jlc2VydmVkXzE1OwoKICAg
ICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IHZlY3RvciA6IDgsCiAg
ICAgICAgICAgICAgICAgICAgICAgIGRlbGl2ZXJ5X21vZGUgOiAzLAogICAgICAgICAgICAgICAg
ICAgICAgICBfX3Jlc2VydmVkXzEgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBkZWxpdmVy
eV9zdGF0dXMgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzIgOiAzLAog
ICAgICAgICAgICAgICAgICAgICAgICBtYXNrIDogMSwKICAgICAgICAgICAgICAgICAgICAgICAg
X19yZXNlcnZlZF8zIDogMTU7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQgX19yZXNlcnZl
ZF80WzNdOwogICAgICAgIH0gbHZ0X3BjOwoKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAg
ICAgdW5zaWduZWQgaW50IHZlY3RvciA6IDgsCiAgICAgICAgICAgICAgICAgICAgICAgIGRlbGl2
ZXJ5X21vZGUgOiAzLAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzEgOiAxLAog
ICAgICAgICAgICAgICAgICAgICAgICBkZWxpdmVyeV9zdGF0dXMgOiAxLAogICAgICAgICAgICAg
ICAgICAgICAgICBwb2xhcml0eSA6IDEsCiAgICAgICAgICAgICAgICAgICAgICAgIHJlbW90ZV9p
cnIgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICB0cmlnZ2VyIDogMSwKICAgICAgICAgICAg
ICAgICAgICAgICAgbWFzayA6IDEsCiAgICAgICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRf
MiA6IDE1OwogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRfM1szXTsKICAg
ICAgICB9IGx2dF9saW50MDsKCiAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgIHVuc2ln
bmVkIGludCB2ZWN0b3IgOiA4LAogICAgICAgICAgICAgICAgICAgICAgICBkZWxpdmVyeV9tb2Rl
IDogMywKICAgICAgICAgICAgICAgICAgICAgICAgX19yZXNlcnZlZF8xIDogMSwKICAgICAgICAg
ICAgICAgICAgICAgICAgZGVsaXZlcnlfc3RhdHVzIDogMSwKICAgICAgICAgICAgICAgICAgICAg
ICAgcG9sYXJpdHkgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICByZW1vdGVfaXJyIDogMSwK
ICAgICAgICAgICAgICAgICAgICAgICAgdHJpZ2dlciA6IDEsCiAgICAgICAgICAgICAgICAgICAg
ICAgIG1hc2sgOiAxLAogICAgICAgICAgICAgICAgICAgICAgICBfX3Jlc2VydmVkXzIgOiAxNTsK
ICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBfX3Jlc2VydmVkXzNbM107CiAgICAgICAgfSBs
dnRfbGludDE7CgogICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBpbnQg
dmVjdG9yIDogOCwKICAgICAgICAgICAgICAgICAgICAgICAgX19yZXNlcnZlZF8xIDogNCwKICAg
ICAgICAgICAgICAgICAgICAgICAgZGVsaXZlcnlfc3RhdHVzIDogMSwKICAgICAgICAgICAgICAg
ICAgICAgICAgX19yZXNlcnZlZF8yIDogMywKICAgICAgICAgICAgICAgICAgICAgICAgbWFzayA6
IDEsCiAgICAgICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMyA6IDE1OwogICAgICAgICAg
ICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRfNFszXTsKICAgICAgICB9IGx2dF9lcnJvcjsK
CiAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBpbml0aWFsX2Nv
dW50OwogICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IF9fcmVzZXJ2ZWRfMlszXTsKICAgICAg
ICB9IHRpbWVyX2ljcjsKCiAgICAgICAgY29uc3QKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAg
ICAgICAgdW5zaWduZWQgaW50IGN1cnJfY291bnQ7CiAgICAgICAgICAgICAgICB1bnNpZ25lZCBp
bnQgX19yZXNlcnZlZF8yWzNdOwogICAgICAgIH0gdGltZXJfY2NyOwoKICAgICAgICBzdHJ1Y3Qg
eyB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFs0XTsgfSBfX3Jlc2VydmVkXzE2OwoKICAgICAgICBz
dHJ1Y3QgeyB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFs0XTsgfSBfX3Jlc2VydmVkXzE3OwoKICAg
ICAgICBzdHJ1Y3QgeyB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFs0XTsgfSBfX3Jlc2VydmVkXzE4
OwoKICAgICAgICBzdHJ1Y3QgeyB1bnNpZ25lZCBpbnQgX19yZXNlcnZlZFs0XTsgfSBfX3Jlc2Vy
dmVkXzE5OwoKICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgdW5zaWduZWQga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0V4dElOVCA9IDcKfTsKCnN0cnVjdCBJT19BUElDX3JvdXRlX2VudHJ5IHsKICAgICAgICBfX3Uz
MiB2ZWN0b3IgOiA4LAogICAgICAgICAgICAgICAgZGVsaXZlcnlfbW9kZSA6IDMsCgoKCiAgICAg
ICAgICAgICAgICBkZXN0X21vZGUgOiAxLAogICAgICAgICAgICAgICAgZGVsaXZlcnlfc3RhdHVz
IDogMSwKICAgICAgICAgICAgICAgIHBvbGFyaXR5IDogMSwKICAgICAgICAgICAgICAgIGlyciA6
IDEsCiAgICAgICAgICAgICAgICB0cmlnZ2VyIDogMSwKICAgICAgICAgICAgICAgIG1hc2sgOiAx
LAogICAgICAgICAgICAgICAgX19yZXNlcnZlZF8yIDogMTU7CgogICAgICAgIHVuaW9uIHsgc3Ry
dWN0IHsgX191MzIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9fcmVz
ZXJ2ZWRfMSA6IDI0LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGh5
c2ljYWxfZGVzdCA6IDQsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBf
X3Jlc2VydmVkXzIgOiA0OwogICAgICAgICAgICAgICAgICAgICAgICB9IHBoeXNpY2FsOwoKICAg
ICAgICAgICAgICAgICAgICAgICAgc3RydWN0IHsgX191MzIKICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIF9fcmVzZXJ2ZWRfMSA6IDI0LAogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgbG9naWNhbF9kZXN0IDogODsKICAgICAgICAgICAgICAgICAg
ICAgICAgfSBsb2dpY2FsOwogICAgICAgIH0gZGVzdDsKCn0gX19hdHRyaWJ1dGVfXyAoKHBhY2tl
ZCkpOwoKCgoKCgpleHRlcm4gc3RydWN0IG1wY19jb25maWdfaW9hcGljIG1wX2lvYXBpY3NbOF07
CgoKZXh0ZXJuIGludCBtcF9pc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3Ivc3JjL2xpbnV4L2luY2x1ZGUvbGludXgvc2lnbmFsLmgiIDIKIyAxICIvdXNyL3Ny
Yy9saW51eC9pbmNsdWRlL2FzbS9zaWdpbmZvLmgiIDEKCgoKCgoKCnR5cGVkZWYgdW5pb24gc2ln
dmFsIHsKICAgICAgICBpbnQgc2l2YWxfaW50OwogICAgICAgIHZvaWQgKnNpdmFsX3B0cjsKfSBz
aWd2YWxfdDsKCgoKCnR5cGVkZWYgc3RydWN0IHNpZ2luZm8gewogICAgICAgIGludCBzaV9zaWdu
bzsKICAgICAgICBpbnQgc2lfZXJybm87CiAgICAgICAgaW50IHNpX2NvZGU7CgogICAgICAgIHVu
aW9uIHsKICAgICAgICAgICAgICAgIGludCBfcGFkWygoMTI4L3NpemVvZihpbnQpKSAtIDMpXTsK
CgogICAgICAgICAgICAgICAgc3RydWN0IHsKICAgICAgICAgICAgICAgICAgICAgICAgcGlkX3Qg
X3BpZDsKICAgICAgICAgICAgICAgICAgICAgICAgdWlkX3QgX3VpZDsKICAgICAgICAgICAgICAg
IH0gX2tpbGw7CgoKICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICAgICAg
ICAgIHVuc2lnbmVkIGludCBfdGltZXIxOwogICAgICAgICAgICAgICAgICAgICAgICB1bnNpZ25l
ZCBpbnQgX3RpbWVyMjsKICAgICAgICAgICAgICAgIH0gX3RpbWVyOwoKCiAgICAgICAgICAgICAg
ICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgICAgICAgICBwaWRfdCBfcGlkOwogICAgICAgICAg
ICAgICAgICAgICAgICB1aWRfdCBfdWlkOwogICAgICAgICAgICAgICAgICAgICAgICBzaWd2YWxf
dCBfc2lndmFsOwogICAgICAgICAgICAgICAgfSBfcnQ7CgoKICAgICAgICAgICAgICAgIHN0cnVj
dCB7CiAgICAgICAgICAgICAgICAgICAgICAgIHBpZF90IF9waWQ7CiAgICAgICAgICAgICAgICAg
ICAgICAgIHVpZF90IF91aWQ7CiAgICAgICAgICAgICAgICAgICAgICAgIGludCBfc3RhdHVzOwog
ICAgICAgICAgICAgICAgICAgICAgICBjbG9ja190IF91dGltZTsKICAgICAgICAgICAgICAgICAg
ICAgICAgY2xvY2tfdCBfc3RpbWU7CiAgICAgICAgICAgICAgICB9IF9zaWdjaGxkOwoKCiAgICAg
ICAgICAgICAgICBzdHJ1Y3QgewogICAgICAgICAgICAgICAgICAgICAgICB2b2lkICpfYWRkcjsK
ICAgICAgICAgICAgICAgIH0gX3NpZ2ZhdWx0OwoKCiAgICAgICAgICAgICAgICBzdHJ1Y3Qgewog
ICAgICAgICAgICAgICAgICAgICAgICBpbnQgX2JhbmQ7CiAgICAgICAgICAgICAgICAgICAgICAg
IGludCBfZmQ7CiAgICAgICAgICAgICAgICB9IF9zaWdwb2xsOwogICAgICAgIH0gX3NpZmllbGRz
Owp9IHNpZ2luZm9fdDsKIyAyMDAgIi91c3Ivc3JjL2xpbnV4L2luY2x1ZGUvYXNtL3NpZ2luZm8u
aCIKdHlwZWRlZiBzdHJ1Y3Qgc2lnZXZlbnQgewogICAgICAgIHNpZ3ZhbF90IHNpZ2V2X3ZhbHVl
OwogICAgICAgIGludCBzaWdldl9zaWdubzsKICAgICAgICBpbnQgc2lnZXZfbm90aWZ5OwogICAg
ICAgIHVuaW9uIHsKICAgICAgICAgICAgICAgIGludCBfcGFkWygoNjQvc2l6ZW9mKGludCkpIC0g
MyldOwoKICAgICAgICAgICAgICAgIHN0cnVjdCB7CiAgICAgICAgICAgICAgICAgICAgICAgIHZv
aWQgKCpfZnVuY3Rpb24pKHNpZ3ZhbF90KTsKICAgICAgICAgICAgICAgICAgICAgICAgdm9pZCAq
X2F0dHJpYnV0ZTsKICAgICAgICAgICAgICAgIH0gX3NpZ2V2X3RocmVhZDsKICAgICAgICB9IF9z
aWdldl91bjsKfSBzaWdldmVudF90OwoKCgoKCgoKc3RhdGljIGlubGluZSB2b2lkIGNvcHlfc2ln
aW5mbyhzaWdpbmZvX3QgKnR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UvbGludXgvc2NoZWQuaCIKc3RhdGljIGlubGluZSBp
bnQgc3VzZXIodm9pZCkKewogICAgICAgIGlmICghKCAoMSA8PCAoMCArMSkpICYgMHgwMDAwMDAw
MCA/ICgxIDw8ICgwKSkgJiAweDAwMDAwMDAwIDogKDEgPDwgKDApKSAmIHNlY3VyZWJpdHMgKSAm
JiBnZXRfY3VycmVudCgpLT5ldWlkID09IDApIHsKICAgICAgICAgICAgICAgIGdldF9jdXJyZW50
KCktPmZsYWdzIHw9IDB4MDAwMDAxMDA7CiAgICAgICAgICAgICAgICByZXR1cm4gMTsKICAgICAg
ICB9CiAgICAgICAgcmV0dXJuIDA7Cn0KCnN0YXRpYyBpbmxpbmUgaW50IGZzdXNlcih2b2lkKQp7
CiAgICAgICAgaWYgKCEoICgxIDw8ICgwICsxKSkgJiAweDAwMDAwMDAwID8gKDEgPDwgKDApKSAm
IDB4MDAwMDAwMDAgOiAoMSA8PCAoMCkpICYgc2VjdXJlYml0cyApICYmIGdldF9jdXJyZW50KCkt
PmZzdWlkID09IDApIHsKICAgICAgICAgICAgICAgIGdldF9jdXJyZW50KCktPmZsYWdzIHw9IDB4
MDAwMDAxMDA7CiAgICAgICAgICAgICAgICByZXR1cm4gMTsKICAgICAgICB9CiAgICAgICAgcmV0
dXJuIDA7Cn0KCgoKCgoKCnN0YXRpYyBpbmxpbmUgaW50IGNhcGFibGUoaW50IGNhcCkKewoKICAg
ICAgICBpZiAoKChnZXRfY3VycmVudCgpLT5jYXBfZWZmZWN0aXZlKSAmICgxIDw8IChjYXApKSkp
CgoKCiAgICAgICAgewogICAgICAgICAgICAgICAgZ2V0X2N1cnJlbnQoKS0+ZmxhZ3MgfD0gMHgw
MDAwMDEwMDsKICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgIH0KICAgICAgICByZXR1
cm4gMDsKfQoKCgoKZXh0ZXJuIHN0cnVjdCBtbV9zdHJ1Y3QgKiBtbV9hbGxvYyh2b2lkKTsKCmV4
dGVybiBz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yb21fcnVucXVldWUoc3RydWN0IHRhc2tf
c3RydWN0ICogcCkKewogICAgICAgIG5yX3J1bm5pbmctLTsKICAgICAgICBwLT5zbGVlcF90aW1l
ID0gamlmZmllczsKICAgICAgICBsaXN0X2RlbCgmcC0+cnVuX2xpc3QpOwogICAgICAgIHAtPnJ1
bl9saXN0Lm5leHQgPSAoKHZvaWQgKikwKTsKfQoKc3RhdGljIGlubGluZSBpbnQgdGFza19vbl9y
dW5xdWV1ZShzdHJ1Y3QgdGFza19zdHJ1Y3QgKnApCnsKICAgICAgICByZXR1cm4gKHAtPnJ1bl9s
aXN0Lm5leHQgIT0gKCh2b2lkICopMCkpOwp9CgpzdGF0aWMgaW5saW5lIHZvaWQgdW5oYXNoX3By
b2Nlc3Moc3RydWN0IHRhc2tfc3RydWN0ICpwKQp7CiAgICAgICAgaWYgKHRhc2tfb25fcnVucXVl
dWUocCkpCiAgICAgICAgICAgICAgICBfX291dF9vZl9saW5lX2J1Zyg5MDgpOwogICAgICAgIGRv
IHsgX19hc21fXyBfX3ZvbGF0aWxlX18oImNsaSI6IDogOiJtZW1vcnkiKTsgd3JpdGVfbG9jaygm
dGFza2xpc3RfbG9jayk7IH0gd2hpbGUgKDApOwogICAgICAgIG5yX3RocmVhZHMtLTsKICAgICAg
ICB1bmhhc2hfcGlkKHApOwogICAgICAgIGRvIHsgKHApLT5uZXh0X3Rhc2stPnByZXZfdGFzayA9
IChwKS0+cHJldl90YXNrOyAocCktPnByZXZfdGFzay0+bmV4dF90YXNrID0gKHApLT5uZXh0X3Rh
c2s7IGlmICgocCktPnBfb3NwdHIpIChwKS0+cF9vc3B0ci0+cF95c3B0ciA9IChwKS0+cF95c3B0
cjsgaWYgKChwKS0+cF95c3B0cikgKHApLT5wX3lzcHRyLT5wX29zcHRyID0gKHApLT5wX29zcHRy
OyBlbHNlIChwKS0+cF9wcHRyLT5wX2NwdHIgPSAocCktPnBfb3NwdHI7IH0gd2hpbGUgKDApOwog
ICAgICAgIGxpc3R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cnMgPSBzZW0tPnNsZWVw
ZXJzOwoKCgoKCiAgICAgICAgICAgICAgICBpZiAoIWF0b21pY19hZGRfbmVnYXRpdmUoc2xlZXBl
cnMgLSAxLCAmc2VtLT5jb3VudCkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgc2VtLT5zbGVl
cGVycyA9IDA7CiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAg
fQogICAgICAgICAgICAgICAgc2VtLT5zbGVlcGVycyA9IDE7CiAgICAgICAgICAgICAgICBkbyB7
IHNwaW5fdW5sb2NrKCZzZW1hcGhvcmVfbG9jayk7IF9fYXNtX18gX192b2xhdGlsZV9fKCJzdGki
OiA6IDoibWVtb3J5Iik7IH0gd2hpbGUgKDApOwoKICAgICAgICAgICAgICAgIHNjaGVkdWxlKCk7
CiAgICAgICAgICAgICAgICB0c2stPnN0YXRlID0gMjsKICAgICAgICAgICAgICAgIGRvIHsgX19h
c21fXyBfX3ZvbGF0aWxlX18oImNsaSI6IDogOiJtZW1vcnkiKTsgc3Bpbl9sb2NrKCZzZW1hcGhv
cmVfbG9jayk7IH0gd2hpbGUgKDApOwogICAgICAgIH0KICAgICAgICBkbyB7IHNwaW5fdW5sb2Nr
KCZzZW1hcGhvcmVfbG9jayk7IF9fYXNtX18gX192b2xhdGlsZV9fKCJzdGkiOiA6IDoibWVtb3J5
Iik7IH0gd2hpbGUgKDApOwogICAgICAgIHJlbW92ZV93YWl0X3F1ZXVlKCZzZW0tPndhaXQsICZ3
YWl0KTsKICAgICAgICB0c2stPnN0YXRlID0gMDsKICAgICAgICBfX3dha2VfdXAoKCZzZW0tPndh
aXQpLDIgfCAxLCAxKTsKfQoKaW50IF9fZG93bl9pbnRlcnJ1cHRpYmxlKHN0cnVjdCBzZW1hcGhv
cmUgKiBzZW0pCnsKICAgICAgICBpbnQgcmV0dmFsID0gMDsKICAgICAgICBzdHJ1Y3QgdGFza19z
dHJ1Y3QgKnRzayA9IGdldF9jdXJyZW50KCk7CiAgICAgICAgd2FpdF9xdWV1ZV90IHdhaXQgPSB7
IHRhc2s6IHRzaywgdGFza19saXN0OiB7ICgodm9pZCAqKTApLCAoKHZvaWQgKikwKSB9LCB9Owog
ICAgICAgIHRzay0+c3RhdGUgPSAxOwogICAgICAgIGFkZF93YWl0X3F1ZXVlX2V4Y2x1c2l2ZSgm
c2VtLT53YWl0LCAmd2FpdCk7CgogICAgICAgIGRvIHsgX19hc21fXyBfX3ZvbGF0aWxlX18oImNs
aSI6IDogOiJtZW1vcnkiKTsgc3Bpbl9sb2NrKCZzZW1hcGhvcmVfbG9jayk7IH0gd2hpbGUgKDAp
OwogICAgICAgIHNlbS0+c2xlZXBlcnMgKys7CiAgICAgICAgZm9yICg7OykgewogICAgICAgICAg
ICAgICAgaW50IHNsZWVwZXJzID0gc2VtLT5zbGVlcGVyczsKIyAxMTAgInNlbWFwaG9yZS5jIgog
ICAgICAgICAgICAgICAgaWYgKHNpZ25hbF9wZW5kaW5nKGdldF9jdXJyZW50KCkpKSB7CiAgICAg
ICAgICAgICAgICAgICAgICAgIHJldHZhbCA9IC00OwogICAgICAgICAgICAgICAgICAgICAgICBz
ZW0tPnNsZWVwZXJzID0gMDsKICAgICAgICAgICAgICAgICAgICAgICAgYXRvbWljX2FkZChzbGVl
cGVycywgJnNlbS0+Y291bnQpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAg
ICAgICAgICAgIH0KCgoKCgoKCiAgICAgICAgICAgICAgICBpZiAoIWF0b21pY19hZGRfbmVnYXRp
dmUoc2xlZXBlcnMgLSAxLCAmc2VtLT5jb3VudCkpIHsKICAgICAgICAgICAgICAgICAgICAgICAg
c2VtLT5zbGVlcGVycyA9IDA7CiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAg
ICAgICAgICAgfQogICAgICAgICAgICAgICAgc2VtLT5zbGVlcGVycyA9IDE7CiAgICAgICAgICAg
ICAgICBkbyB7IHNwaW5fdW5sb2NrK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kZF9uZWdhdGl2ZShzbGVl
cGVycywgJnNlbS0+Y291bnQpKQogICAgICAgICAgICAgICAgX193YWtlX3VwKCgmc2VtLT53YWl0
KSwyIHwgMSwgMSk7CgogICAgICAgIGRvIHsgc3Bpbl91bmxvY2soJnNlbWFwaG9yZV9sb2NrKTsg
X19hc21fXyBfX3ZvbGF0aWxlX18oInB1c2hsICUwIDsgcG9wZmwiOiA6ImciIChmbGFncyk6Im1l
bW9yeSIsICJjYyIpOyB9IHdoaWxlICgwKTsKICAgICAgICByZXR1cm4gMTsKfQojIDE4MCAic2Vt
YXBob3JlLmMiCmFzbSgKIi50ZXh0XG4iCiIuYWxpZ24gNFxuIgoiLmdsb2JsIF9fZG93bl9mYWls
ZWRcbiIKIl9fZG93bl9mYWlsZWQ6XG5cdCIKCgoKCiAgICAgICAgInB1c2hsICVlYXhcblx0Igog
ICAgICAgICJwdXNobCAlZWR4XG5cdCIKICAgICAgICAicHVzaGwgJWVjeFxuXHQiCiAgICAgICAg
ImNhbGwgX19kb3duXG5cdCIKICAgICAgICAicG9wbCAlZWN4XG5cdCIKICAgICAgICAicG9wbCAl
ZWR4XG5cdCIKICAgICAgICAicG9wbCAlZWF4XG5cdCIKCgoKCiAgICAgICAgInJldCIKKTsKCmFz
bSgKIi50ZXh0XG4iCiIuYWxpZ24gNFxuIgoiLmdsb2JsIF9fZG93bl9mYWlsZWRfaW50ZXJydXB0
aWJsZVxuIgoiX19kb3duX2ZhaWxlZF9pbnRlcnJ1cHRpYmxlOlxuXHQiCgoKCgogICAgICAgICJw
dXNobCAlZWR4XG5cdCIKICAgICAgICAicHVzaGwgJWVjeFxuXHQiCiAgICAgICAgImNhbGwgX19k
b3duX2ludGVycnVwdGlibGVcblx0IgogICAgICAgICJwb3BsICVlY3hcblx0IgogICAgICAgICJw
b3BsICVlZHhcblx0IgoKCgoKICAgICAgICAicmV0IgopOwoKYXNtKAoiLnRleHRcbiIKIi5hbGln
biA0XG4iCiIuZ2xvYmwgX19kb3duX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E6
IHJlcDsgbm9wCiAgICAgICAgY21wbCAkMSwoJWVheCkKICAgICAgICBqcyAxYgoKICAgICAgICBs
b2NrIDsgZGVjbCAoJWVheCkKICAgICAgICBqcyBfX3JlYWRfbG9ja19mYWlsZWQKICAgICAgICBy
ZXQKIiIKKTsK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]