diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 261ac5e..e8e1b07 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -31,8 +31,8 @@ jobs: sudo DEBIAN_FRONTEND=noninteractive apt-get install -y perl minisat curl gnupg2 locales clang-11 wget - name: Install wasmfx-tools run: | - #cd third-party/wasmfx-tools - #cargo build --release + cd third-party/wasmfx-tools + cargo build --release - name: Run tests run: | sbt 'test' diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..74800c2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "third-party/wasmfx-tools"] + path = third-party/wasmfx-tools + url = https://github.com/wasmfx/wasmfx-tools.git diff --git a/benchmarks/wasm/.gitignore b/benchmarks/wasm/.gitignore new file mode 100644 index 0000000..01bed35 --- /dev/null +++ b/benchmarks/wasm/.gitignore @@ -0,0 +1,3 @@ +*.wasm +!2o1u.wat +!2o1u-no-label.wat diff --git a/benchmarks/wasm/ack.rs b/benchmarks/wasm/ack.rs new file mode 100644 index 0000000..f6e385f --- /dev/null +++ b/benchmarks/wasm/ack.rs @@ -0,0 +1,16 @@ +#[no_mangle] +#[inline(never)] +fn ack(m: i32, n: i32) -> i32 { + if m == 0 { + n + 1 + } else if n == 0 { + ack(m - 1, 1) + } else { + ack(m - 1, ack(m, n - 1)) + } +} + +#[no_mangle] +fn real_main() -> i32 { + ack(2, 2) +} diff --git a/benchmarks/wasm/ack.wat b/benchmarks/wasm/ack.wat new file mode 100644 index 0000000..e28608e --- /dev/null +++ b/benchmarks/wasm/ack.wat @@ -0,0 +1,57 @@ +(module $ack.wat.temp + (type (;0;) (func (param i32 i32) (result i32))) + (type (;1;) (func (result i32))) + (func $ack (type 0) (param i32 i32) (result i32) + local.get 0 + local.set 0 + local.get 1 + local.set 1 + block ;; label = @1 + loop ;; label = @2 + local.get 1 + local.set 1 + local.get 0 + local.tee 0 + i32.eqz + br_if 1 (;@1;) + block ;; label = @3 + block ;; label = @4 + local.get 1 + br_if 0 (;@4;) + i32.const 1 + local.set 1 + br 1 (;@3;) + end + local.get 0 + local.get 1 + i32.const -1 + i32.add + call $ack + local.set 1 + end + local.get 0 + i32.const -1 + i32.add + local.set 0 + local.get 1 + local.set 1 + br 0 (;@2;) + end + end + local.get 1 + i32.const 1 + i32.add) + (func $real_main (type 1) (result i32) + i32.const 2 + i32.const 2 + call $ack) + (table (;0;) 1 1 funcref) + (memory (;0;) 16) + (global $__stack_pointer (mut i32) (i32.const 1048576)) + (global (;1;) i32 (i32.const 1048576)) + (global (;2;) i32 (i32.const 1048576)) + (export "memory" (memory 0)) + (export "ack" (func 0)) + (export "real_main" (func 1)) + (export "__data_end" (global 1)) + (export "__heap_base" (global 2))) diff --git a/benchmarks/wasm/block.wat b/benchmarks/wasm/block.wat new file mode 100644 index 0000000..d445695 --- /dev/null +++ b/benchmarks/wasm/block.wat @@ -0,0 +1,70 @@ +(module + (func $test_block (param i32 i32 i32) (result i32) + local.get 0 + local.get 1 + local.get 2 + block (param i32 i32 i32) (result i32 i32) + i32.add + end + i32.add + ) + (func $real_main (result i32) + i32.const 1 + i32.const 3 + i32.const 5 + call $test_block + ) + ;; Sum from [0, 10] + (func $test_loop_input (result i32) + (local i32) + i32.const 10 + local.set 0 + i32.const 0 + loop (param i32) (result i32) + local.get 0 + i32.add + local.get 0 + i32.const 1 + i32.sub + local.set 0 + i32.const 0 + local.get 0 + i32.ne + br_if 0 + end + ) + (func $test_if_input (result i32) + i32.const 10 + i32.const 5 + i32.const 1 + if (param i32 i32) (result i32 i32) + i32.const 10 + i32.add + else + end + i32.add + ) + (func $test_poly_br (result i32) + i32.const -30 + i32.const 0 ;; unused + i32.const 0 ;; unused + i32.const 0 ;; unused + block (param i32 i32 i32) (result i32 i32) + i32.const 0 ;; truncated + i32.const 10000 ;; truncated + i32.const 10 + i32.const 20 + br 0 + i32.add + end + i32.add + i32.add ;; add value -30 and 30 + ;; i32.add + ;; We can't use i32.add instruction here, because the overflowed value has been truncted + ;; when block exited. + ) + (export "real_main" (func 1)) + (export "test_loop_input" (func 2)) + (export "test_if_input" (func 3)) + (export "test_poly_br" (func 4)) +) diff --git a/benchmarks/wasm/bst.c b/benchmarks/wasm/bst.c new file mode 100644 index 0000000..e69de29 diff --git a/benchmarks/wasm/btree/2o1u-unlabeled.wat b/benchmarks/wasm/btree/2o1u-unlabeled.wat new file mode 100644 index 0000000..096f100 --- /dev/null +++ b/benchmarks/wasm/btree/2o1u-unlabeled.wat @@ -0,0 +1,2635 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (param i32 i32) (result i32))) + (type (;2;) (func (param i32 i32))) + (type (;3;) (func (param i32 i32 i32))) + (type (;4;) (func)) + (func (;0;) (type 0) (param i32) (result i32) + i32.const 0 + local.get 0 + i32.store + i32.const 0 + i32.const 1 + i32.store offset=4 + i32.const 0 + i32.const 65536 + i32.store offset=8 + i32.const 1 + memory.grow + i32.const -1 + i32.ne + if ;; label = @1 + i32.const 65536 + i32.const 1 + i32.store + i32.const 65536 + i32.const 0 + i32.store offset=4 + end + i32.const 65536) + (func (;1;) (type 1) (param i32 i32) (result i32) + (local i32) + i32.const 0 + local.set 2 + block ;; label = @1 + loop ;; label = @2 + local.get 2 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.le_s + if ;; label = @3 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.gt_s + if ;; label = @4 + i32.const 1 + local.get 2 + i32.add + local.set 2 + br 2 (;@2;) + else + br 3 (;@1;) + end + else + br 2 (;@1;) + end + end + end + local.get 2 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.le_s + if (result i32) ;; label = @1 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.eq + if (result i32) ;; label = @2 + local.get 0 + i32.const 8 + i32.add + i32.const 4 + local.get 2 + i32.mul + i32.add + else + local.get 0 + i32.load + i32.const 1 + i32.eq + if (result i32) ;; label = @3 + i32.const -1 + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.get 1 + call 1 + end + end + else + local.get 0 + i32.load + i32.const 1 + i32.eq + if (result i32) ;; label = @2 + i32.const -1 + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.get 1 + call 1 + end + end) + (func (;2;) (type 2) (param i32 i32) + (local i32 i32) + i32.const 1 + memory.grow + i32.const -1 + i32.ne + if ;; label = @1 + i32.const 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.const 65536 + i32.mul + local.set 2 + i32.const 0 + i32.const 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load + i32.const 1 + i32.eq + if ;; label = @2 + local.get 2 + i32.const 1 + i32.store + else + local.get 2 + i32.const 0 + i32.store + end + local.get 2 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.store offset=4 + i32.const 0 + local.set 3 + block ;; label = @2 + loop ;; label = @3 + local.get 3 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.eq + if ;; label = @4 + br 2 (;@2;) + else + local.get 2 + i32.const 4 + local.get 3 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + local.get 3 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@3;) + end + end + end + i32.const 0 + local.set 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load + i32.const 1 + i32.ne + if ;; label = @2 + block ;; label = @3 + loop ;; label = @4 + local.get 3 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.eq + if ;; label = @5 + br 2 (;@3;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 2 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.add + i32.const 4 + i32.mul + i32.add + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@4;) + end + end + end + end + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.store offset=4 + local.get 0 + i32.load offset=4 + local.set 3 + block ;; label = @2 + loop ;; label = @3 + local.get 1 + local.get 3 + i32.eq + if ;; label = @4 + br 2 (;@2;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.sub + local.set 3 + br 1 (;@3;) + end + end + end + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + local.get 2 + i32.store offset=8 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + local.set 3 + block ;; label = @2 + loop ;; label = @3 + local.get 1 + i32.const 1 + i32.sub + local.get 3 + i32.eq + if ;; label = @4 + br 2 (;@2;) + else + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + local.get 0 + i32.add + local.get 3 + i32.const 4 + i32.mul + local.get 0 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.sub + local.set 3 + br 1 (;@3;) + end + end + end + local.get 1 + i32.const 4 + i32.mul + local.get 0 + i32.add + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 1 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + end) + (func (;3;) (type 2) (param i32 i32) + (local i32 i32) + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + local.set 2 + local.get 0 + i32.load + i32.const 1 + i32.eq + if ;; label = @1 + block ;; label = @2 + loop ;; label = @3 + local.get 2 + i32.const 0 + i32.ge_s + if (result i32) ;; label = @4 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.lt_s + else + i32.const 0 + end + local.get 2 + i32.const 0 + i32.ge_s + i32.and + if ;; label = @4 + local.get 0 + i32.const 4 + local.get 2 + i32.const 1 + i32.add + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 2 + i32.const 1 + i32.sub + local.set 2 + br 1 (;@3;) + else + br 2 (;@2;) + end + end + end + local.get 0 + i32.const 4 + local.get 2 + i32.const 1 + i32.add + i32.mul + i32.add + local.get 1 + i32.store offset=8 + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + else + block ;; label = @2 + loop ;; label = @3 + local.get 2 + i32.const 0 + i32.ge_s + if ;; label = @4 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.lt_s + if ;; label = @5 + local.get 2 + i32.const 1 + i32.sub + local.set 2 + br 2 (;@3;) + else + br 3 (;@2;) + end + else + br 2 (;@2;) + end + end + end + local.get 2 + i32.const 1 + i32.add + local.set 2 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.eq + if ;; label = @2 + local.get 0 + local.get 2 + call 2 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.gt_s + if ;; label = @3 + local.get 2 + i32.const 1 + i32.add + local.set 2 + end + end + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.get 1 + call 3 + end) + (func (;4;) (type 0) (param i32) (result i32) + (local i32 i32) + i32.const 0 + i32.load offset=8 + local.tee 2 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.eq + if (result i32) ;; label = @1 + i32.const 1 + memory.grow + i32.const -1 + i32.ne + if (result i32) ;; label = @2 + i32.const 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.const 65536 + i32.mul + local.set 1 + i32.const 0 + i32.const 0 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + i32.const 0 + local.get 1 + i32.store offset=8 + local.get 1 + i32.const 0 + i32.store + local.get 1 + i32.const 0 + i32.store offset=4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.const 4 + i32.mul + i32.add + local.get 1 + i32.add + local.get 2 + i32.store offset=8 + local.get 1 + i32.const 0 + call 2 + local.get 1 + local.get 0 + call 3 + local.get 1 + else + i32.const -1 + end + else + local.get 2 + local.get 0 + call 3 + local.get 2 + end) + (func (;5;) (type 1) (param i32 i32) (result i32) + (local i32 i32 i32 i32) + local.get 0 + i32.load + i32.const 1 + i32.eq + if ;; label = @1 + i32.const 0 + local.set 2 + block ;; label = @2 + loop ;; label = @3 + local.get 0 + i32.load offset=4 + local.get 2 + i32.eq + if ;; label = @4 + br 2 (;@2;) + else + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + local.get 1 + i32.eq + if ;; label = @5 + local.get 2 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + local.get 0 + i32.const 4 + local.get 3 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 3 + i32.const 1 + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + br 3 (;@2;) + end + end + i32.const 1 + local.get 2 + i32.add + local.set 2 + br 0 (;@3;) + end + end + else + i32.const 0 + local.set 2 + block ;; label = @2 + loop ;; label = @3 + local.get 2 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.le_s + if (result i32) ;; label = @4 + local.get 1 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.gt_s + else + i32.const 0 + end + local.get 2 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.le_s + i32.and + if ;; label = @4 + local.get 2 + i32.const 1 + i32.add + local.set 2 + br 1 (;@3;) + else + br 2 (;@2;) + end + end + end + local.get 2 + local.get 0 + i32.load offset=4 + i32.lt_s + if (result i32) ;; label = @2 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + local.get 1 + i32.eq + else + i32.const 0 + end + if ;; label = @2 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.tee 5 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.ge_s + if ;; label = @3 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.load offset=8 + local.get 5 + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.load offset=8 + call 5 + drop + i32.store offset=8 + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.tee 5 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.ge_s + if ;; label = @4 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + local.get 5 + i32.const 4 + i32.const 0 + i32.mul + i32.add + i32.load offset=8 + local.get 5 + local.get 5 + i32.const 4 + i32.const 0 + i32.mul + i32.add + i32.load offset=8 + call 5 + drop + i32.store offset=8 + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.set 5 + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + i32.mul + i32.add + local.get 1 + i32.store offset=8 + i32.const 0 + local.set 3 + block ;; label = @5 + loop ;; label = @6 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.eq + if ;; label = @7 + br 2 (;@5;) + else + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + local.get 3 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@6;) + end + end + end + local.get 5 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.add + i32.store offset=4 + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @5 + i32.const 0 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.add + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 5 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + end + local.get 2 + local.set 3 + block ;; label = @5 + loop ;; label = @6 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + local.get 3 + i32.eq + if ;; label = @7 + br 2 (;@5;) + else + local.get 0 + i32.const 4 + local.get 3 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 3 + i32.const 1 + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@6;) + end + end + end + local.get 2 + i32.const 1 + i32.add + local.set 3 + block ;; label = @5 + loop ;; label = @6 + local.get 0 + i32.load offset=4 + local.get 3 + i32.eq + if ;; label = @7 + br 2 (;@5;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@6;) + end + end + end + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + local.get 5 + local.get 1 + call 5 + drop + end + end + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.set 5 + local.get 5 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.eq + if ;; label = @3 + i32.const -1 + local.set 4 + local.get 2 + i32.const 1 + i32.add + local.get 0 + i32.load offset=4 + i32.le_s + if ;; label = @4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.ge_s + if ;; label = @5 + local.get 5 + i32.const 4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 1 + i32.sub + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 5 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + i32.const 0 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + end + local.get 5 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.store offset=4 + i32.const 0 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.sub + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + local.get 3 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + local.get 3 + i32.const 1 + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + i32.const 0 + local.set 3 + block ;; label = @7 + loop ;; label = @8 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.eq + if ;; label = @9 + br 2 (;@7;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@8;) + end + end + end + end + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + i32.const 0 + local.set 4 + end + end + local.get 4 + i32.const -1 + i32.eq + local.get 2 + i32.const 1 + i32.sub + i32.const 0 + i32.ge_s + i32.and + if ;; label = @4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 2 + i32.div_s + i32.ge_s + if ;; label = @5 + local.get 5 + i32.load offset=4 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + i32.const 0 + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + local.get 5 + i32.const 4 + local.get 3 + i32.mul + i32.add + local.get 5 + i32.const 4 + local.get 3 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.sub + local.set 3 + br 1 (;@7;) + end + end + end + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.add + local.set 3 + block ;; label = @7 + loop ;; label = @8 + local.get 3 + i32.const 0 + i32.eq + if ;; label = @9 + br 2 (;@7;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.sub + local.set 3 + br 1 (;@8;) + end + end + end + end + local.get 5 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.add + i32.store offset=4 + local.get 5 + i32.const 4 + i32.const 0 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 2 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + local.get 0 + i32.const 4 + local.get 2 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + end + i32.const 0 + local.set 4 + end + end + local.get 4 + i32.const -1 + i32.eq + if ;; label = @4 + local.get 2 + i32.const 1 + i32.add + local.get 0 + i32.load offset=4 + i32.le_s + if ;; label = @5 + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 2 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + i32.const 0 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + local.get 5 + i32.const 4 + local.get 5 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + local.get 3 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + i32.const 0 + local.set 3 + block ;; label = @7 + loop ;; label = @8 + local.get 3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.const 1 + i32.add + i32.eq + if ;; label = @9 + br 2 (;@7;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 5 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@8;) + end + end + end + end + local.get 5 + local.get 5 + i32.load offset=4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.add + i32.const 1 + i32.add + i32.store offset=4 + local.get 2 + i32.const 1 + i32.add + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 0 + i32.load offset=4 + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 2 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + local.get 0 + i32.const 4 + local.get 3 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 3 + i32.const 1 + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + i32.const 0 + local.set 4 + end + local.get 4 + i32.const -1 + i32.eq + local.get 2 + i32.const 1 + i32.sub + i32.const 0 + i32.ge_s + i32.and + if ;; label = @5 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 2 + i32.const 1 + i32.sub + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + i32.const 0 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 5 + i32.load offset=4 + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 4 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.mul + i32.add + local.get 5 + i32.const 4 + local.get 3 + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 5 + i32.load + i32.const 1 + i32.ne + if ;; label = @6 + i32.const 0 + local.set 3 + block ;; label = @7 + loop ;; label = @8 + local.get 3 + local.get 5 + i32.load offset=4 + i32.const 1 + i32.add + i32.eq + if ;; label = @9 + br 2 (;@7;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + local.get 3 + i32.add + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 5 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@8;) + end + end + end + end + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.load offset=4 + local.get 5 + i32.load offset=4 + i32.add + i32.const 1 + i32.add + i32.store offset=4 + local.get 2 + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 0 + i32.load offset=4 + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 3 + i32.const 1 + i32.add + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 2 + i32.const 1 + i32.sub + local.set 3 + block ;; label = @6 + loop ;; label = @7 + local.get 3 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.eq + if ;; label = @8 + br 2 (;@6;) + else + local.get 0 + i32.const 4 + local.get 3 + i32.mul + i32.add + local.get 0 + i32.const 4 + local.get 3 + i32.const 1 + i32.add + i32.mul + i32.add + i32.load offset=8 + i32.store offset=8 + local.get 3 + i32.const 1 + i32.add + local.set 3 + br 1 (;@7;) + end + end + end + local.get 0 + local.get 0 + i32.load offset=4 + i32.const 1 + i32.sub + i32.store offset=4 + end + end + end + local.get 4 + i32.const -1 + i32.eq + if ;; label = @3 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + local.get 2 + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.add + local.get 0 + i32.add + i32.load offset=8 + local.get 1 + call 5 + drop + else + local.get 5 + local.get 1 + call 5 + drop + end + end + end + i32.const 0 + i32.load offset=8 + i32.load offset=4 + i32.const 0 + i32.eq + if ;; label = @1 + i32.const 0 + i32.const 0 + i32.load + i32.const 1 + i32.sub + i32.const 4 + i32.mul + i32.const 0 + i32.const 4 + i32.mul + i32.add + i32.const 0 + i32.load offset=8 + i32.add + i32.load offset=8 + i32.store offset=8 + end + i32.const 0 + i32.load offset=8) + (func (;6;) (type 3) (param i32 i32 i32) + (local i32) + local.get 0 + local.get 1 + i32.gt_s + local.get 0 + local.get 2 + i32.ne + local.get 1 + local.get 2 + i32.ne + i32.and + i32.and + i32.eqz + if ;; label = @1 + unreachable + end + i32.const 4 + call 0 + local.set 3 + local.get 0 + call 4 + local.set 3 + local.get 1 + call 4 + local.set 3 + local.get 2 + call 4 + local.set 3 + local.get 3 + local.get 0 + call 1 + i32.const -1 + i32.ne + local.get 3 + local.get 1 + call 1 + i32.const -1 + i32.ne + local.get 3 + local.get 2 + call 1 + i32.const -1 + i32.ne + i32.and + i32.and + local.get 3 + local.get 0 + call 5 + local.tee 3 + local.get 0 + call 1 + i32.const -1 + i32.eq + local.get 3 + local.get 1 + call 5 + local.tee 3 + local.get 1 + call 1 + i32.const -1 + i32.eq + i32.and + i32.and + drop) + (func (;7;) (type 4) + i32.const 3 + i32.const 2 + i32.const 1 + call 6) + (memory (;0;) 2) + (export "main" (func 7)) + (start 7)) diff --git a/benchmarks/wasm/btree/2o1u.wat b/benchmarks/wasm/btree/2o1u.wat new file mode 100644 index 0000000..880e175 --- /dev/null +++ b/benchmarks/wasm/btree/2o1u.wat @@ -0,0 +1,2821 @@ +(module + ;; (import "env" "log" (func $log (param i32))) + (memory $0 2) + (func $createBtree (param i32) (result i32) ;; createBtree(t), where t: degree of the btree + (i32.const 0) + (local.get 0) + (i32.store) ;; store t at address 0 + (i32.const 0) + (i32.const 1) + (i32.store offset=4) ;; store the number of nodes in the btree = 1 + (i32.const 0) + (i32.const 65536) + (i32.store offset=8) ;; store the root addr + (i32.const 1) ;; Now create root + (memory.grow) ;; create new page + (i32.const -1) + (i32.ne) + (if ;; if we can grow memory + (then + (i32.const 65536) ;; 64KiB = 65536 bytes + (i32.const 1) + (i32.store) ;; store 1(TRUE) regarding if node is leaf + (i32.const 65536) ;; now store number of keys + (i32.const 0) + (i32.store offset=4) ;; store number of keys = 0 + ) + ) + (i32.const 65536) ;; returns the address of the root + ) + ;; btreeSearch(x, k), where x: node address; k: key to search. Returns address of the key or -1 if key is not in tree. + (func $btreeSearch (param i32) (param i32) (result i32) (local i32) + (i32.const 0) + (local.set 2) ;; i = 0 + (block $loop_break + (loop $loop + (local.get 2) ;; i + (local.get 0) ;; x + (i32.load offset=4) ;; x.children + (i32.const 1) + (i32.sub) ;; x.n -1 + (i32.le_s) ;; i <= x.children-1 + (if + (then + (local.get 1) ;; k + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.gt_s) ;; k > x.keys[i] + (if + (then + (i32.const 1) + (local.get 2) + (i32.add) + (local.set 2) ;; i = i+1 + (br $loop) + ) + (else + (br $loop_break) + ) + ) + ) + (else + (br $loop_break) + ) + ) + ) + ) + (local.get 2) ;; i + (local.get 0) ;; x + (i32.load offset=4) ;; x.children + (i32.const 1) + (i32.sub) ;; x.n - 1 + (i32.le_s) ;; i <= x.children - 1 + (if (result i32) + (then + (local.get 1) ;; k + (local.get 0) ;; x + ;; x+4*i + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.eq) + ;; k == x.keys[i] + (if (result i32) + (then + (local.get 0) ;; save the address, which is x+8+i*4 + (i32.const 8) + (i32.add) ;; x+8 + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x+8+i*4 + ) + (else + (local.get 0) ;; x + (i32.load) ;; x is leaf? + (i32.const 1) ;; if == 1, then yes + (i32.eq) + (if (result i32) + (then + (i32.const -1) + ) + (else + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + i*4 + (i32.load offset=8) ;; load the address of the child in index i + (local.get 1) ;; k + (call $btreeSearch) ;; btreeSearch(x.children[i], k) + ) + ) + ) + ) + ) + (else + (local.get 0) ;; x + (i32.load) ;; x is leaf? + (i32.const 1) ;; if == 1, then yes + (i32.eq) + (if (result i32) + (then + (i32.const -1) + ) + (else + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + i*4 + (i32.load offset=8) ;; load the address of the child in index i + (local.get 1) ;; k + (call $btreeSearch) ;; btreeSearch(x.children[i], k) + ) + ) + ) + ) + ) + ;; btreeSplitChild(x, i), where x: addr of a non full internal node; i: index such that x.children[i] is a full child of x + (func $btreeSplitChild (param i32) (param i32) (local i32) (local i32) + (i32.const 1) ;; create a new node + (memory.grow) ;; create new page + (i32.const -1) + (i32.ne) + (if ;; if we can grow memory + (then ;; get the number of nodes in the tree + (i32.const 0) + (i32.load offset=4) ;; number of nodes in the tree + (i32.const 1) + (i32.add) ;; number of nodes + 1 + (i32.const 65536) + (i32.mul) ;; address is 64KiB*(number of nodes+1) + (local.set 2) + (i32.const 0) ;; change number of nodes + (i32.const 0) + (i32.load offset=4) + (i32.const 1) + (i32.add) + (i32.store offset=4) ;; set number of nodes to + 1 + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + i*4 + (i32.load offset=8) ;; load the addr of the child in index i : y + (i32.load) ;; check if x.children[i] is leaf ;; load the first i32 in the child + (i32.const 1) + (i32.eq) ;; is y leaf? + (if + (then ;; yes + (local.get 2) ;; addr of new node z + (i32.const 1) + (i32.store) ;; store 1(TRUE) regarding if node is leaf + ) + (else ;; no + (local.get 2) ;; addr of new node z + (i32.const 0) + (i32.store) ;; store 0(FALSE) regarding if node is leaf + ) + ) + (local.get 2) ;; now store number of children, which will be t/2 -1 ;; addr of z + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.const 1) + (i32.sub) ;; (t/2)-1 + (i32.store offset=4) ;; store number of children = (t/2)-1 + (i32.const 0) ;; now to store the keys + (local.set 3) ;; counter = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; counter + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.const 1) + (i32.sub) ;; (t/2)-1 + (i32.eq) ;; counter == (t/2)-1 + (if + (then + (br $loop_break) + ) + (else + (local.get 2) ;; addr of z ;; we will store in the new node's address. z.keys[counter] + (i32.const 4) + (local.get 3) ;; counter + (i32.mul) ;; counter * 4 + (i32.add) ;; addr + counter * 4 -> where the key is goint to be located + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + i*4 + (i32.load offset=8) ;; load the address of the child in index i = y + (i32.const 4) ;; now get x.children[i].keys[counter+(t/2)] + (local.get 3) ;; counter + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.add) ;; counter + (t/2) + (i32.mul) ;; counter + (t/2) *4 + (i32.add) ;; y + counter + (t/2) *4 + (i32.load offset=8) ;; y.keys[counter + (t/2)] + (i32.store offset=8) ;; z.keys[counter] = y.keys[counter + (t/2)] + (local.get 3) ;; increment counter + (i32.const 1) + (i32.add) + (local.set 3) + (br $loop) + ) + ) + ) + ) + (i32.const 0) + (local.set 3) ;; set counter back to 0 + (i32.const 0) ;; check if x.children[i] is leaf + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + i*4 + (i32.load offset=8) ;; load the address of the child in index i = y + (i32.load) ;; get first i32 in child --> isLeaf + (i32.const 1) + (i32.ne) ;; is leaf? + (if + (then ;; not leaf so we have to update the children + (block $loop_break + (loop $loop + (local.get 3) ;; counter + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.eq) ;; counter == (t/2) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;; now get z.children[counter] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; counter + (i32.const 4) + (i32.mul) ;; counter*4 + (i32.add) ;; (t-1)*4 + counter*4 + (local.get 2) ;; z + (i32.add) ;; z + (t-1)*4 + counter*4 --> address where addr of child is stored + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; load the address of the child in index i = y + (i32.const 0) ;; get x.children[i].children[counter+(t/2)] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; counter + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.add) ;; counter + t/2 + (i32.const 4) + (i32.mul) ;; counter+t/2 * 4 + (i32.add) ;; (t-1)*4 + (counter+(t/2))*4 + (i32.add) ;; x.children[i] + (t-1)*4 + (counter + (t/2))*4 + (i32.load offset=8) ;; load the address of the child in index counter + t/2 + (i32.store offset=8) ;; z.children[counter] = x.children[i].children[counter] + (local.get 3) ;; increment counter + (i32.const 1) + (i32.add) + (local.set 3) + (br $loop) + ) + ) + ) + ) + ) + ) + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; load the address of the child in index i = y + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.const 1) + (i32.sub) ;; t/2 -1 + (i32.store offset=4) ;; number of keys of x.children[i] is now t/2 -1 + (local.get 0) ;; x + (i32.load offset=4) ;; get x.n + (local.set 3) ;; counter = x.n + (block $loop_break + (loop $loop + (local.get 1) ;; i + (local.get 3) ;; counter + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;; get x.children[counter + 1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; counter + (i32.const 1) + (i32.add) ;; counter + 1 + (i32.const 4) + (i32.mul) ;; (counter + 1)*4 + (i32.add) ;; (t-1)*4 + (counter + 1)*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (counter + 1)*4 -->address where addr of child is stored + (i32.const 0) ;; get x.children[counter] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; counter + (i32.const 4) + (i32.mul) ;; (counter)*4 + (i32.add) ;; (t-1)*4 + (counter)*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (counter)*4 + (i32.load offset=8) ;; load the addr of the child in index (counter) + (i32.store offset=8) ;; x.children[counter+1] = x.children[counter] + (local.get 3) ;; decrement counter + (i32.const 1) + (i32.sub) + (local.set 3) + (br $loop) + ) + ) + ) + ) + (i32.const 0) ;; get x.children[i + 1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 1) + (i32.add) ;; i + 1 + (i32.const 4) + (i32.mul) ;; (i + 1)*4 + (i32.add) ;; (t-1)*4 + (i + 1)*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i + 1)*4 --> addr where we will store the new addr of the child + (local.get 2) ;; addr of z + (i32.store offset=8) ;; x.children[i+1] = z + (local.get 0) ;; x + (i32.load offset=4) ;; get x.n + (i32.const 1) + (i32.sub) + (local.set 3) ;; counter = x.n -1 + (block $loop_break + (loop $loop + (local.get 1) ;; i + (i32.const 1) + (i32.sub) ;; i-1 + (local.get 3) ;; counter + (i32.eq) ;; counter == i-1 + (if + (then + (br $loop_break) + ) + (else + (local.get 3) ;; get x.keys[counter + 1] ;; counter + (i32.const 1) + (i32.add) ;; counter + 1 + (i32.const 4) + (i32.mul) ;; (counter + 1)*4 + (local.get 0) ;; x + (i32.add) ;; x +(counter + 1)*4 --> addr where we will store the new key + (local.get 3) ;; counter + (i32.const 4) + (i32.mul) ;; (counter)*4 + (local.get 0) ;; x + (i32.add) ;; x +(counter)*4 + (i32.load offset=8) ;; load the key in index (counter) + (i32.store offset=8) ;; x.keys[counter+1] = x.keys[counter] + (local.get 3) ;; decrement counter + (i32.const 1) + (i32.sub) + (local.set 3) + (br $loop) + ) + ) + ) + ) + (local.get 1) ;; get x.keys[i] + (i32.const 4) + (i32.mul) ;; i*4 + (local.get 0) ;; x + (i32.add) ;; x +i*4 --> addr of the key + (i32.const 0) ;; get x.children[i].keys[t/2] + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.const 1) + (i32.sub) ;; t/2 -1 + (i32.const 4) + (i32.mul) ;; (t/2)-1 *4 + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 1) ;; i + (i32.const 4) + (i32.mul) ;; (i)*4 + (i32.add) ;; (t-1)*4 + (i)*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i)*4 + (i32.load offset=8) ;; load the address of the child in index (i) + (i32.add) ;; y + (t/2)-1 *4 + (i32.load offset=8) ;; load the key in index (t/2)-1 from node x.children[i] + (i32.store offset=8) ;; store the new key in the addr + (local.get 0) + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.add) ;; x.n + 1 + (i32.store offset=4) ;; x.n = x.n + 1 + ) + ) + ) + ;; btreeInsertNonFull(x, k), where x: addr of a non full internal node; k: the key to insert + (func $btreeInsertNonFull (param i32) (param i32) (local i32) (local $tmp i32) + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) ;; x.n -1 + (local.set 2) ;; i = x.n -1 + (local.get 0) ;; x + (i32.load) ;; get first i32 --> isLeaf + (i32.const 1) + (i32.eq) ;; is leaf? + (if + (then ;; x is leaf + (block $loop_break + (loop $loop + (local.get 2) ;; i + (i32.const 0) + (i32.ge_s) ;; i <= 0? + (if (result i32) + (then + (local.get 1) ;; k + (local.get 0) ;; x + ;; x+4*i + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.lt_s) ;; k < x.keys[i] + ) + (else + (i32.const 0) + ) + ) + (local.get 2) ;; i + (i32.const 0) + (i32.ge_s) ;; i <= 0? + (i32.and) + (if + (then + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.mul) ;; i+1 *4 + (i32.add) ;; x + i+1 *4 --> addr of x.keys[i+1] + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i *4 + (i32.add) ;; x + i *4 --> addr of x.keys[i] + (i32.load offset=8) ;; x.keys[i] + (i32.store offset=8) ;; x.keys[i+1] = x.keys[i] + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (local.set 2) ;; i = i-1 + (br $loop) + ) + (else + (br $loop_break) + ) + ) + ) + ) + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.mul) ;; i+1 *4 + (i32.add) ;; x + i+1 *4 --> addr of x.keys[i+1] + (local.get 1) ;; k + (i32.store offset=8) ;; x.keys[i+1] = k + (local.get 0) + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.add) + (i32.store offset=4) ;; x.n = x.n +1 + ) + (else ;; x is not leaf + (block $loop_break + (loop $loop + (local.get 2) ;; i + (i32.const 0) + (i32.ge_s) ;; i >= 0 + (if + (then + (local.get 1) ;; k + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.lt_s) ;; k < x.keys[i] + (if + (then + (local.get 2) ;; i + (i32.const 1) + (i32.sub) ;; i -1 + (local.set 2) ;; i = i-1 + (br $loop) + ) + (else + (br $loop_break) + ) + ) + ) + (else + (br $loop_break) + ) + ) + ) + ) + (local.get 2) + (i32.const 1) + (i32.add) + (local.set 2) ;;i = i+1 + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> address of the child in index i = y + (i32.load offset=8) ;; load the address of the child in index i = y + (i32.load offset=4) ;; get y.n + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.eq) ;; y.n == t-1 --> node is full + (if + (then + (local.get 0) ;; x + (local.get 2) ;; i + (call $btreeSplitChild) + (local.get 1) ;; k + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.gt_s) ;; k>x.keys[i] + (if + (then + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (local.set 2) ;; i = i+1 + ) + ) + ) + ) + (i32.const 0) ;; get x.children[i] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; load the address of the child in index i = y + (local.get 1) ;; k + (call $btreeInsertNonFull) + ) + ) + ) + (func $btreeInsert (param i32) (result i32) (local i32) (local i32) + (i32.const 0) + (i32.load offset=8) ;; root addr + (local.tee 2) ;; set r + (i32.load offset=4) ;; r.n + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.eq) ;; r.n == t-1 --> root is full + (if (result i32) + (then + (i32.const 1) ;; create a new node + (memory.grow) ;; create new page + (i32.const -1) + (i32.ne) + (if (result i32) ;; if we can grow memory + (then + (i32.const 0) ;; get the number of nodes in the tree + (i32.load offset=4) ;; number of nodes in the tree + (i32.const 1) + (i32.add) ;; number of nodes + 1 + (i32.const 65536) + (i32.mul) ;; address of s is 64KiB*(number of nodes+1) + (local.set 1) + (i32.const 0) ;; change number of nodes + (i32.const 0) + (i32.load offset=4) + (i32.const 1) + (i32.add) + (i32.store offset=4) ;; set number of nodes to + 1 + (i32.const 0) + (local.get 1) ;; s + (i32.store offset=8) ;; root addr is now s + (local.get 1) ;; s + (i32.const 0) + (i32.store) ;; store 0(FALSE) regarding if node is leaf + (local.get 1) ;; now store number of keys + (i32.const 0) + (i32.store offset=4) ;; store number of keys = 0 + (i32.const 0) ;; store children addresses + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) ;; index = 0 + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 1) ;; x + (i32.add) ;; x + (t-1)*4 --> addre where addr of child number 0 is located + (local.get 2) + (i32.store offset=8) ;; s.children[0] = r + (local.get 1) ;; s + (i32.const 0) + (call $btreeSplitChild) + (local.get 1) ;; s + (local.get 0) ;; k + (call $btreeInsertNonFull) + (local.get 1) ;; return the address of the new root + ) + (else + (i32.const -1) ;; return -1 because we could not create a new node + ) + ) + ) + (else + (local.get 2) ;; r + (local.get 0) ;; k + (call $btreeInsertNonFull) + (local.get 2) ;; return the address of the root, which is the same + ) + ) + ) + ;; Returns the address of the new root (if applicable, otherwise returns the addres of the root) + (func $btreeDelete (param i32) (param i32) (result i32) (local i32) (local i32) (local i32) (local i32) + (local.get 0) ;; x + (i32.load) ;; get first i32 --> isLeaf + (i32.const 1) + (i32.eq) ;; is leaf? + (if + (then ;; x is leaf + (i32.const 0) + (local.set 2) ;; i = 0 + (block $loop_break + (loop $loop + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (local.get 2) ;; i + (i32.eq) ;; i == x.n + (if + (then + (br $loop_break) ;; break from loop + ) + (else + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (local.get 1) ;; k + (i32.eq) ;; k == x.keys[i] + (if + (then + (local.get 2) ;; i + (local.set 3) ;; j = i + (block $while_break + (loop $while + (local.get 3) ;; j + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) ;; x.n-1 + (i32.eq) ;; j == x.n-1 + (if + (then + (br $while_break) + ) + (else + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; j + (i32.mul) ;; j*4 + (i32.add) ;; x + j*4 --> addr where x.keys[j] is stored + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; j + (i32.const 1) + (i32.add) ;; j+1 + (i32.mul) ;; j+1 *4 + (i32.add) ;; x + j+1 *4 --> addr where x.keys[j+1] is stored + (i32.load offset=8) ;; x.keys[j+1] + (i32.store offset=8) ;; x.keys[j] = x.keys[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $while) + ) + ) + ) + ) + (local.get 0) ;; x + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.store offset=4) ;; x.n = x.n -1 + (br $loop_break) + ) + ) + ) + ) + (i32.const 1) + (local.get 2) + (i32.add) + (local.set 2) ;; i = i+1 + (br $loop) ;; continue + ) + ) + ) + (else ;; x is not leaf + (i32.const 0) ;;get the index of the appropriate child/key + (local.set 2) ;; i = 0 + (block $loop_break + (loop $loop + (local.get 2) ;; i + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.le_s) ;; i <= x.n - 1 + (if (result i32) + (then + (local.get 1) ;; k + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (i32.gt_s) ;; k > x.keys[i] + ) + (else + (i32.const 0) + ) + ) + (local.get 2) ;; i + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.le_s) ;; i <= x.n - 1 + (i32.and) ;; i <= x.n - 1 && k > x.keys[i] + (if + (then + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (local.set 2) ;; i = i + 1 + (br $loop) + ) + (else + (br $loop_break) + ) + ) + ) + ) + (local.get 2) + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.lt_s) ;; i < x.n + (if (result i32) + (then + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[i] + (local.get 1) ;; k + (i32.eq) ;; k == x.keys[i] + ) + (else + (i32.const 0) + ) + ) + (if + (then ;; key is present in node x + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> address where addr of child in index i is located + (i32.load offset=8) ;; x.c[i] + (local.tee 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.ge_s) ;; x.c[i].n >= t/2 + (if + (then + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i] + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.sub) ;; index = x.c[i].n - 1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i].keys[x.c[i].n - 1] + (local.get 5) ;; x.c[i] + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.sub) ;; index = x.c[i].n - 1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i].keys[x.c[i].n - 1] + (call $btreeDelete) ;; (x.c[i], x.c[i].keys[x.c[i].n - 1]) + (drop) + (i32.store offset=8) ;; x.keys[i] = x.c[i].keys[x.c[i].n - 1] + ) + (else + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> address where addr of child in index i is located + (i32.load offset=8) ;; x.c[i+1] + (local.tee 5) + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.ge_s) ;; x.c[i+1].n >= t/2 + (if + (then + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i] + (local.get 5) ;; x.c[i+1] + (i32.const 4) + (i32.const 0) ;; index = 0 + (i32.mul) ;; i *4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i+1].keys[0] + (local.get 5) ;; x.c[i+1] + (local.get 5) ;; x.c[i+1] + (i32.const 4) + (i32.const 0) ;; index = 0 + (i32.mul) ;; i *4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i+1].keys[0] + (call $btreeDelete) + (drop) + (i32.store offset=8) ;; x.keys[i] = x.c[i+1].keys[0] + ) + (else + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> address where addr of child in index i is located + (i32.load offset=8) ;; x.c[i] + (local.set 5) + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) ;; index = x.c[i].n + (i32.mul) ;; i *4 + (i32.add) ;; x + i*4 --> addr where x.c[i].keys[x.c[i].n] will be stored + (local.get 1) ;; k + (i32.store offset=8) ;; x.c[i].keys[x.c[i].n] = k + (i32.const 0) ;; now merge x.c[i] with x.c[i+1] + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.eq) + (if ;; j == x.c[i+1].n + (then + (br $loop_break) + ) + (else + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) + (local.get 3) + (i32.add) + (i32.const 1) + (i32.add) ;; index = x.c[i].n + j + 1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[index] + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x.c[i+1] + i*4 ;; addr of x.c[i+1].keys[j] + (i32.load offset=8) ;; x.c[i+1].keys[j] + (i32.store offset=8) ;; x.c[i].keys[index] = x.c[i+1].keys[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + (local.get 5) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.add) ;; x.c[i].n +1 + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.add) + (i32.store offset=4) ;; x.c[i].n = x.c[i].n + 1 + x.c[i+1].n + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if + (then + (i32.const 0) ;; now adjust the children + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 1) + (i32.add) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i].c[x.c[i].n+j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (local.get 3) ;; j + (i32.add) ;; index = x.c[i].n+j + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x.c[i] + (t-1)*4 --> address where x.c[i].c[x.c[i].n+j] is stored + (i32.const 0) ;;get x.c[i+1].c[j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; j + (i32.const 4) + (i32.mul) ;; j *4 + (i32.add) ;; (t-1)*4 + j *4 + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.add) ;; x.c[i+1] + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1].c[j] + (i32.store offset=8) ;; x.c[i].c[x.c[i].n+j] = x.c[i+1].c[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + ) + ) + (local.get 2) ;; i + (local.set 3) ;; j = i + (block $loop_break + (loop $loop + (local.get 0) + (i32.load offset=4) + (i32.const 1) + (i32.sub) + (local.get 3) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; j + (i32.mul) ;; j*4 + (i32.add) ;; x + j*4 ;; addr of x.keys[j] + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; j + (i32.const 1) + (i32.add) + (i32.mul) ;; j+1*4 + (i32.add) ;; x + j+1*4 ;; addr of x.keys[j+1] + (i32.load offset=8) + (i32.store offset=8) ;; x.keys[j] = x.keys[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + (local.get 2) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = i+1 + (block $loop_break + (loop $loop + (local.get 0) + (i32.load offset=4) + (local.get 3) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; j + (i32.const 4) + (i32.mul) ;; j *4 + (i32.add) ;; (t-1)*4 + j+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j] + (i32.const 0) ;;get x.c[j+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; j + (i32.const 1) + (i32.add) ;; j+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j+1] + (i32.load offset=8) + (i32.store offset=8) ;; x.c[j] = x.c[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + (local.get 0) + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.store offset=4) ;; x.n = x.n-1 + (local.get 5) ;; x.c[i] + (local.get 1) ;; k + (call $btreeDelete) + (drop) + ) + ) + ) + ) + ) + (else ;; key not present in node x + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 4) + (i32.mul) ;; i*4 + (i32.add) ;; (t-1)*4 + i*4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> address where addr of child in index i is located + (i32.load offset=8) ;; x.c[i] + (local.set 5) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) + (i32.const 1) + (i32.sub) ;; t/2 - 1 + (i32.eq) + (if + (then + (i32.const -1) + (local.set 4) ;; changed = -1 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.le_s) ;; i+1 <= x.n + (if + (then + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.ge_s) ;; x.c[i+1].n >= t/2 + (if + (then + (local.get 5) ;; x.c[i] + (i32.const 4) + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.const 1) + (i32.sub) ;; index = t/2 -1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[t/2-1] + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i] + (i32.load offset=8) ;; x.keys[i] + (i32.store offset=8) ;; x.c[i].keys[t/2-1] = x.keys[i] + (local.get 5) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.add) + (i32.store offset=4) ;;x.c[i].n = x.c[i].n +1 + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i] + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.const 4) + (i32.const 0) ;; index = 0 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i+1].keys[0] + (i32.load offset=8) ;; x.c[i+1].keys[0] + (i32.store offset=8) ;; x.keys[i] = x.c[i+1].keys[0] + (local.get 5) + (i32.load) ;; x.c[i] is leaf? + (i32.const 1) + (i32.ne) + (if ;; if x.c[i] is not leaf, we have to adjust children + (then + (i32.const 0) ;;get x.c[i].c[t/2] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; index = t/2 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x + (t-1)*4 --> addr of x.c[i].c[t/2] + (i32.const 0) ;;get x.c[i+1].c[0] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) ;; index = 0 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1].c[0] + (i32.store offset=8) ;; x.c[i].c[t/2] = x.c[i+1].c[0] + ) + ) + (local.get 5) ;; x.c[i] + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.store offset=4) ;; x.c[i].n = t/2 + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 1) + (i32.sub) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 --> address where x.c[i+1].keys[j] is located + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.const 4) + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j+1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i+1].keys[j+1] + (i32.store offset=8) ;; x.c[i+1].keys[j] = x.c[i+1].keys[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if ;; if x.c[i] is not leaf, we have to adjust children + (then + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; index = j + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.add) ;; x + (t-1)*4 --> address where x.c[i+1].c[j] is located + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j+1 + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1].c[j+1] + (i32.store offset=8) ;; x.c[i+1].c[j] = x.c[i+1].c[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j+1 + (br $loop) + ) + ) + ) + ) + ) + ) + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr where x.c[i+1] is located + (i32.load offset=8) + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 1) + (i32.sub) + (i32.store offset=4) ;; x.c[i+1].n = x.c[i+1].n - 1 + (i32.const 0) + (local.set 4) ;; changed = 0 + ) + ) + ) + ) + (local.get 4) ;; changed + (i32.const -1) + (i32.eq) + (local.get 2) ;; i + (i32.const 1) + (i32.sub) ;; i - 1 + (i32.const 0) + (i32.ge_s) ;; i -1 >= 0 + (i32.and) ;; changed == -1 && i -1 >= 0 + (if + (then + (i32.const 0) ;;get x.c[i-1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) + (i32.load offset=4) ;; x.c[i-1].n + (i32.const 0) + (i32.load) ;; t + (i32.const 2) + (i32.div_s) ;; t/2 + (i32.ge_s) ;; x.c[i-1].n >= t/2 + (if + (then + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (local.set 3) ;; j = x.c[i].n + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 3) ;; j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[j] + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 3) ;; j + (i32.const 1) + (i32.sub) ;; j-1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[j-1] + (i32.load offset=8) ;; x.c[i].keys[j-1] + (i32.store offset=8) ;; x.c[i].keys[j] = x.c[i].keys[j-1] + (local.get 3) + (i32.const 1) + (i32.sub) + (local.set 3) ;; j = j-1 + (br $loop) + ) + ) + ) + ) + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if + (then + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.add) + (local.set 3) ;; j = x.c[i].n + 1 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i].c[j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; j + (i32.const 4) + (i32.mul) ;; j *4 + (i32.add) ;; (t-1)*4 + j *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x + (t-1)*4 --> address where x.c[i].c[j] is located + (i32.const 0) ;;get x.c[i].c[j-1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; j + (i32.const 1) + (i32.sub) ;; j-1 + (i32.const 4) + (i32.mul) ;; j *4 + (i32.add) ;; (t-1)*4 + j *4 + (local.get 5) ;; x.c[i] + (i32.add) + (i32.load offset=8) ;; x.c[i].c[j-1] + (i32.store offset=8) ;; x.c[i].c[j] = x.c[i].c[j-1] + (local.get 3) + (i32.const 1) + (i32.sub) + (local.set 3) ;; j = j-1 + (br $loop) + ) + ) + ) + ) + ) + ) + (local.get 5) + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.add) + (i32.store offset=4) ;; ;; x.c[i].n = x.c[i].n + 1 + (local.get 5) ;; x.c[i] + (i32.const 4) + (i32.const 0) ;; index = 0 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[0] + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.const 1) + (i32.sub) ;; index = i-1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i-1] + (i32.load offset=8) ;; x.keys[i-1] + (i32.store offset=8) ;; x.c[i].keys[0] = x.keys[i-1] + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) + (i32.load offset=4) ;; x.c[i-1].n + (i32.const 1) + (i32.sub) + (i32.store offset=4) ;; x.c[i-1].n = x.c[i-1].n - 1 + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; i + (i32.const 1) + (i32.sub) ;; index = i-1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i-1] + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.const 4) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) ;; index = x.c[i-1].n + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i-1].keys[x.c[i-1].n] + (i32.load offset=8) + (i32.store offset=8) ;; x.keys[i-1] = x.c[i-1].keys[x.c[i-1].n] + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if + (then + (i32.const 0) ;; get x.c[i].c[0] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) ;; index = 0 + (i32.const 4) + (i32.mul) ;; i *4 + (i32.add) ;; (t-1)*4 + i *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x + (t-1)*4 ;; addr where x.c[i].c[0] is located + (i32.const 0) ;; get x.c[i-1].c[x.c[i-1].n + 1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) ;; x.c[i-1].n + (i32.const 1) + (i32.add) ;; index = x.c[i-1.n + 1] + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (i32.const 0) ;;get x.c[i-1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1].c[x.c[i-1].n + 1] + (i32.store offset=8) ;; x.c[i].c[0] = x.c[i-1].c[x.c[i-1].n + 1] + ) + ) + (i32.const 0) + (local.set 4) ;; changed = 0 + ) + ) + ) + ) + (local.get 4) ;; changed + (i32.const -1) + (i32.eq) + (if ;; changed == -1? + (then + (local.get 2) ;; we have to merge x.c[i] with one sibling;; i + (i32.const 1) + (i32.add) ;; i+1 + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.le_s) + (if ;; i+1 <= x.n + (then + (local.get 5) ;; merge with right sibling;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) ;; index = x.c[i].n + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[x.c[i].n] + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; index = i + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i] + (i32.load offset=8) ;; x.keys[i] + (i32.store offset=8) ;; x.c[i].keys[x.c[i].n] = x.keys[i] + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 5) + (i32.load offset=4) + (local.get 3) + (i32.add) + (i32.const 1) + (i32.add) ;; index = x.c[i].n+j+1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i].keys[x.c[i].n+j] + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i+1].keys[j] + (i32.store offset=8) ;; x.c[i].keys[x.c[i].n+j] = x.c[i+1].keys[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if + (then + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.const 1) + (i32.add) ;; x.c[i+1].n + 1 + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i].c[x.c[i].n+j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 5) + (i32.load offset=4) + (local.get 3) + (i32.add) + (i32.const 1) + (i32.add) ;; index = x.c[i].n+j+1 + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x + (t-1)*4 --> addr of x.c[i].c[x.c[i].n+j] + (i32.const 0) ;;get x.c[i].c[x.c[i].n+j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; index = j + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1].c[j] + (i32.store offset=8) ;; x.c[i].c[x.c[i].n+j] = x.c[i+1].c[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + ) + ) + (local.get 5) ;; x.c[i] + (local.get 5) ;; x.c[i] + (i32.load offset=4) ;; x.c[i].n + (i32.const 0) ;;get x.c[i+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.add) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i+1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i+1] + (i32.load offset=4) ;; x.c[i+1].n + (i32.add) ;; x.c[i].n + x.c[i+1].n + (i32.const 1) + (i32.add) ;; x.c[i].n + x.c[i+1].n + 1 + (i32.store offset=4) ;; x.c[i].n = x.c[i].n + x.c[i+1].n + 1 + (local.get 2) ;; i + (i32.const 1) + (i32.add) ;; i+1 + (local.set 3) ;; j = i+1 + (block $loop_break ;; re-organize x + (loop $loop + (local.get 3) + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; index = j + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j] + (i32.const 0) ;;get x.c[j+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j + 1 + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j+1] + (i32.load offset=8) ;; x.c[j+1] + (i32.store offset=8) ;; x.c[j] = x.c[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 2) ;; i + (local.set 3) ;; j = i + (block $loop_break + (loop $loop + (local.get 3) ;; j + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[j] + (local.get 0) ;; x + (i32.const 4) + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j + 1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[j+1] + (i32.store offset=8) ;; x.keys[j] = x.keys[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 0) ;; x + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) ;; x.n - 1 + (i32.store offset=4) ;; x.n = x.n - 1 + (i32.const 0) + (local.set 4) ;; changed = 0 + ) + ) + (local.get 4) ;; changed + (i32.const -1) + (i32.eq) ;; changed == -1 ? + (local.get 2) ;; i + (i32.const 1) + (i32.sub) ;; i - 1 + (i32.const 0) + (i32.ge_s) ;; i - 1 >= 0? + (i32.and) ;; changed == -1 && i - 1 >= 0 + (if + (then + (i32.const 0) ;; merge with left sibling ;;get x.c[i-1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.const 4) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) ;; index = x.c[i-1].n + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i-1].keys[x.c[i-1].n] + (local.get 0) ;; x + (i32.const 4) + (local.get 2) ;; index = i + (i32.const 1) + (i32.sub) ;; index = i-1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[i-1] + (i32.load offset=8) ;; x.keys[i] + (i32.store offset=8) ;; x.c[i-1].keys[x.c[i-1].n] = x.keys[i-1] + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (local.get 5) ;; x.c[i] + (i32.load offset=4) ;; x.c[i].n + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;; x.c[i-1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.const 4) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) ;; x.c[i-1].n + (local.get 3) + (i32.add) + (i32.const 1) + (i32.add) ;; index = x.c[i-1].n+j+1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.c[i-1].keys[x.c[i-1].n+j] + (local.get 5) ;; x.c[i] + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.c[i].keys[j] + (i32.store offset=8) ;; x.c[i-1].keys[x.c[i-1].n+j] = x.c[i].keys[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 5) + (i32.load) + (i32.const 1) + (i32.ne) + (if + (then + (i32.const 0) + (local.set 3) ;; j = 0 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (local.get 5) ;; x.c[i] + (i32.load offset=4) ;; x.c[i].n + (i32.const 1) + (i32.add) ;; x.c[i].n + 1 + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[i-1].c[x.c[i-1].n+j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) + (local.get 3) + (i32.add) + (i32.const 1) + (i32.add) ;; index = x.c[i-1].n+j+1 + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.add) ;; x + (t-1)*4 --> addr of x.c[i-1].c[x.c[i-1].n+j] + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; index = j + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 5) ;; x.c[i] + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i].c[j] + (i32.store offset=8) ;; x.c[i-1].c[x.c[i-1].n+j] = x.c[i].c[j] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + ) + ) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (i32.load offset=4) ;; x.c[i-1].n + (local.get 5) + (i32.load offset=4) ;; x.c[i].n + (i32.add) ;; x.c[i-1].n + x.c[i].n + (i32.const 1) + (i32.add) ;; x.c[i].n + x.c[i+1].n + 1 + (i32.store offset=4) ;; x.c[i-1].n = x.c[i-1].n + x.c[i].n + 1 + (local.get 2) ;; i + (local.set 3) ;; j = i + (block $loop_break ;; re-organize x + (loop $loop + (local.get 3) + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (i32.const 0) ;;get x.c[j] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) ;; index = j + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j] + (i32.const 0) ;;get x.c[j+1] + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j + 1 + (i32.const 4) + (i32.mul) ;; i-1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 --> addr of x.c[j] + (i32.load offset=8) ;; x.c[j+1] + (i32.store offset=8) ;; x.c[j] = x.c[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (local.set 3) ;; j = i - 1 + (block $loop_break + (loop $loop + (local.get 3) ;; j + (local.get 0) + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) + (i32.eq) + (if + (then + (br $loop_break) + ) + (else + (local.get 0) ;; x + (i32.const 4) + (local.get 3) ;; index = j + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 ;; addr of x.keys[j] + (local.get 0) ;; x + (i32.const 4) + (local.get 3) + (i32.const 1) + (i32.add) ;; index = j + 1 + (i32.mul) ;; i*4 + (i32.add) ;; x + i*4 + (i32.load offset=8) ;; x.keys[j+1] + (i32.store offset=8) ;; x.keys[j] = x.keys[j+1] + (local.get 3) + (i32.const 1) + (i32.add) + (local.set 3) ;; j = j + 1 + (br $loop) + ) + ) + ) + ) + (local.get 0) ;; x + (local.get 0) ;; x + (i32.load offset=4) ;; x.n + (i32.const 1) + (i32.sub) ;; x.n - 1 + (i32.store offset=4) ;; x.n = x.n - 1 + ) + ) + ) + ) + ) + ) + (local.get 4) + (i32.const -1) + (i32.eq) + (if ;; changed == -1? if yes, we merged with left sibling + (then + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (local.get 2) ;; i + (i32.const 1) + (i32.sub) + (i32.const 4) + (i32.mul) ;; i+1 *4 + (i32.add) ;; (t-1)*4 + i-1 *4 + (local.get 0) ;; x + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; x.c[i-1] + (local.get 1) + (call $btreeDelete) + (drop) + ) + (else + (local.get 5) ;; x.c[i] + (local.get 1) + (call $btreeDelete) + (drop) + ) + ) + ) + ) + ) ;; end of if x is not leaf + ) + (i32.const 0) + (i32.load offset=8) ;; root addr + (i32.load offset=4) + (i32.const 0) + (i32.eq) + (if ;; if root is empty + (then + (i32.const 0) + (i32.const 0) + (i32.load) ;; t + (i32.const 1) + (i32.sub) ;; t-1 + (i32.const 4) + (i32.mul) ;; (t-1)*4 + (i32.const 0) ;; index = 0 + (i32.const 4) + (i32.mul) ;; i *4 + (i32.add) ;; (t-1)*4 + i *4 + (i32.const 0) + (i32.load offset=8) ;; root addr + (i32.add) ;; x + (t-1)*4 + (i32.load offset=8) ;; root.c[0] + (i32.store offset=8) ;; root = root.c[0] + ) + ) + (i32.const 0) + (i32.load offset=8) ;; root addr + ) + (func $main (param $a i32) (param $b i32) (param $h i32) + (local $btree i32) + (local.get $a) + (local.get $b) + (i32.gt_s) ;; a > b + (local.get $a) + (local.get $h) + (i32.ne) ;; a != h + (local.get $b) + (local.get $h) + (i32.ne) ;; b != h + (i32.and) + (i32.and) + (i32.eqz) + (if (then (unreachable))) + (i32.const 4) ;;create a tree with degree 4 + (call $createBtree) + (local.set $btree) + ;; insert variables + (local.get $a) + (call $btreeInsert) + (local.set $btree) + (local.get $b) + (call $btreeInsert) + (local.set $btree) + (local.get $h) + (call $btreeInsert) + (local.set $btree) + ;; search for variables & check that they were inserted + (local.get $btree) + (local.get $a) + (call $btreeSearch) + (i32.const -1) + (i32.ne) + (local.get $btree) + (local.get $b) + (call $btreeSearch) + (i32.const -1) + (i32.ne) + (local.get $btree) + (local.get $h) + (call $btreeSearch) + (i32.const -1) + (i32.ne) + (i32.and) + (i32.and) + ;; delete & check that it was deleted + ;; a + (local.get $btree) + (local.get $a) + (call $btreeDelete) + (local.tee $btree) + (local.get $a) + (call $btreeSearch) + (i32.const -1) + (i32.eq) + ;; b + (local.get $btree) + (local.get $b) + (call $btreeDelete) + (local.tee $btree) + (local.get $b) + (call $btreeSearch) + (i32.const -1) + (i32.eq) + (i32.and) + (i32.and) + (drop) + ) + (export "main" (func $real_main)) + (func $real_main + i32.const 3 + i32.const 2 + i32.const 1 + call $main + ) + (start $real_main) +) diff --git a/benchmarks/wasm/btree/start.js b/benchmarks/wasm/btree/start.js new file mode 100644 index 0000000..8104d9d --- /dev/null +++ b/benchmarks/wasm/btree/start.js @@ -0,0 +1,19 @@ +const fs = require("fs"); + +async function main() { + const bytes = fs.readFileSync("2o1u.wasm"); + const env = { log: val => console.log(`logged ${val}`), }; + const { instance } = await WebAssembly.instantiate( + bytes, + { + env: { + log(val) { + console.log(`log saw ${val}`); + } + } + } + ); + instance.exports.real_main(); + console.log(`finished`); +} +main(); \ No newline at end of file diff --git a/benchmarks/wasm/build_wat_c.sh b/benchmarks/wasm/build_wat_c.sh new file mode 100755 index 0000000..e56d784 --- /dev/null +++ b/benchmarks/wasm/build_wat_c.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# TODO: use clang? zig compiles stdlib to wasm +# also figure out how to compile to freestanding? + +# zig cc -target wasm32-wasi -O3 -o "$2.temp" $1 +# zig cc -target wasm32-freestanding -O3 -o "$2.temp" $1 + +sudo docker run --rm \ + --volume "$(pwd):/home/wasp/tmp" \ + -w "/home/wasp/tmp" \ + ghcr.io/wasp-platform/wasp:latest \ + clang --target=wasm32 -O0 --no-standard-libraries -Wl,--export-all -Wl,--no-entry -o "$2.temp" $1 + +# clang-15 --target=wasm32 --no-standard-libraries -Wl,--export-all -Wl,--no-entry -o $2.temp $1 + +wasm2wat "$2.temp" > "$2" +rm "$2.temp" +./Collections-C/scripts/patch_wat.py "$2" +# wasp "$2" -e '(invoke "__original_main")' -o "$2.wasp.wat" +# ./Collections-C/scripts/patch_wat.py "$2.wasp.wat" +# mv "$2.wasp.wat" "$2" diff --git a/benchmarks/wasm/build_wat_rs.sh b/benchmarks/wasm/build_wat_rs.sh new file mode 100755 index 0000000..c3b4466 --- /dev/null +++ b/benchmarks/wasm/build_wat_rs.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# c has a lot of extra stuff for WASI I think +# also ran into a case where the wasm2wat output was incorrect +# clang -O1 -target wasm32 -nostdlib -Wl,--no-entry -Wl,--export-all -Wl,--allow-undefined -o "$2.temp" "$1" + +# zig isn't making wasm files with build-lib +# zig build-exe -target wasm32-freestanding --name "$2" "$1" -lc +# zig build-exe -target wasm32-wasi --name "$2" "$1" -lc + +# rust makes a clean wat file +rustc -C opt-level=1 --crate-type cdylib "$1" -o "$2.temp" --target wasm32-unknown-unknown + +# wasm-tools print will print all the dwarf info +wasm2wat "$2.temp" > "$2" +rm "$2.temp" diff --git a/benchmarks/wasm/count.wat b/benchmarks/wasm/count.wat new file mode 100644 index 0000000..1bb0ee6 --- /dev/null +++ b/benchmarks/wasm/count.wat @@ -0,0 +1,24 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func)) + (func (;0;) (type 0) (param i32) (result i32) + local.get 0 + i32.eqz + if (result i32) ;; label = @1 + local.get 0 + else + local.get 0 + i32.const 1 + i32.sub + return_call 0 + end + ) + (func (;1;) (type 1) + ;; TODO: now setting it to 100K will result in stack overflow + i32.const 1000 ;; it will not terminate when it's 1mil + ;; TODO: this doesn't seem like an error in our semantics + ;; but something about sbt. But why? + call 0 + ) + (start 1) +) diff --git a/benchmarks/wasm/even_odd.rs b/benchmarks/wasm/even_odd.rs new file mode 100644 index 0000000..91ff319 --- /dev/null +++ b/benchmarks/wasm/even_odd.rs @@ -0,0 +1,18 @@ +#[no_mangle] +#[inline(never)] +fn is_even(n: u32) -> bool { + if n == 0 { true } + else { is_odd(n - 1) } +} + +#[no_mangle] +#[inline(never)] +fn is_odd(n: u32) -> bool { + if n == 0 { false } + else { is_even(n - 1) } +} + +#[no_mangle] +fn real_main() -> bool { + is_even(12) +} diff --git a/benchmarks/wasm/even_odd.wat b/benchmarks/wasm/even_odd.wat new file mode 100644 index 0000000..27e1036 --- /dev/null +++ b/benchmarks/wasm/even_odd.wat @@ -0,0 +1,31 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (result i32))) + (func (;0;) (type 0) (param i32) (result i32) + block ;; label = @1 + local.get 0 + br_if 0 (;@1;) + i32.const 1 + return + end + local.get 0 + i32.const -1 + i32.add + call 1) + (func (;1;) (type 0) (param i32) (result i32) + block ;; label = @1 + local.get 0 + br_if 0 (;@1;) + i32.const 0 + return + end + local.get 0 + i32.const -1 + i32.add + call 0) + (func (;2;) (type 1) (result i32) + i32.const 13 + call 1) + (start 2) + (memory (;0;) 16) +) diff --git a/benchmarks/wasm/fact.wat b/benchmarks/wasm/fact.wat new file mode 100644 index 0000000..2eb2f73 --- /dev/null +++ b/benchmarks/wasm/fact.wat @@ -0,0 +1,40 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func (param i32) (result i32))) + (type (;2;) (func (result i32))) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) (param i32) (result i32) + (local i32 i32) + local.get 0 + local.set 1 + i32.const 1 + local.set 2 + block ;; label = @1 + loop ;; label = @2 + local.get 2 + call 0 + local.get 1 + i32.const 0 + i32.eq + if ;; label = @3 + br 2 (;@1;) + else + local.get 1 + local.get 2 + i32.mul + local.set 2 + local.get 1 + i32.const 1 + i32.sub + local.set 1 + end + br 0 (;@2;) + end + end + local.get 2) + (func $main (type 2) (result i32) + i32.const 5 + call 1 + ) + (start 2) +) \ No newline at end of file diff --git a/benchmarks/wasm/fib.rs b/benchmarks/wasm/fib.rs new file mode 100644 index 0000000..a9fb792 --- /dev/null +++ b/benchmarks/wasm/fib.rs @@ -0,0 +1,12 @@ +#[no_mangle] +#[inline(never)] +fn fibonacci(n: i32) -> i32 { + if n == 0 { 0 } + else if n == 1 { 1 } + else { fibonacci(n - 1) + fibonacci(n - 2) } +} + +#[no_mangle] +fn real_main() -> i32 { + fibonacci(12) +} diff --git a/benchmarks/wasm/fib.wat b/benchmarks/wasm/fib.wat new file mode 100644 index 0000000..86bd955 --- /dev/null +++ b/benchmarks/wasm/fib.wat @@ -0,0 +1,59 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (result i32))) + (func (;0;) (type 0) (param i32) (result i32) + (local i32) + i32.const 0 + local.set 1 + local.get 0 + local.set 0 + block ;; label = @1 + loop ;; label = @2 + local.get 1 + local.set 1 + block ;; label = @3 + block ;; label = @4 + block ;; label = @5 + local.get 0 + local.tee 0 + br_table 0 (;@5;) 1 (;@4;) 2 (;@3;) + end + local.get 0 + local.set 0 + br 3 (;@1;) + end + i32.const 1 + local.set 0 + br 2 (;@1;) + end + local.get 1 + local.get 0 + i32.const -1 + i32.add + call 0 + i32.add + local.set 1 + local.get 0 + i32.const -2 + i32.add + local.set 0 + br 0 (;@2;) + end + end + local.get 1 + local.get 0 + i32.add) + (func (;1;) (type 1) (result i32) + i32.const 12 + call 0) + (start 1) + (table (;0;) 1 1 funcref) + (memory (;0;) 16) + (global (;0;) (mut i32) (i32.const 1048576)) + (global (;1;) i32 (i32.const 1048576)) + (global (;2;) i32 (i32.const 1048576)) + (export "memory" (memory 0)) + (export "fibonacci" (func 0)) + (export "real_main" (func 1)) + (export "__data_end" (global 1)) + (export "__heap_base" (global 2))) diff --git a/benchmarks/wasm/for_loop.wat b/benchmarks/wasm/for_loop.wat new file mode 100644 index 0000000..404a01b --- /dev/null +++ b/benchmarks/wasm/for_loop.wat @@ -0,0 +1,40 @@ +(module + (func $for_loop (result i32) + (local i32) + (local i32) + + for + ( + ;; init + i32.const 0 + local.set 0 + i32.const 0 + local.set 1 + | + ;; cond + local.get 1 + i32.const 10 + i32.gt_s + i32.eqz + | + ;; post + local.get 1 + i32.const 1 + i32.add + local.set 1 + ) + + ;; es + local.get 0 + local.get 1 + i32.add + local.set 0 + + local.get 0 + + + ) + + (export "for_loop" (func 0)) + + ) \ No newline at end of file diff --git a/benchmarks/wasm/linsearch.rs b/benchmarks/wasm/linsearch.rs new file mode 100644 index 0000000..312e679 --- /dev/null +++ b/benchmarks/wasm/linsearch.rs @@ -0,0 +1 @@ +fn diff --git a/benchmarks/wasm/load.wat b/benchmarks/wasm/load.wat new file mode 100644 index 0000000..916328a --- /dev/null +++ b/benchmarks/wasm/load.wat @@ -0,0 +1,19 @@ +(module + (type (;0;) (func (result i32))) + (type (;1;) (func)) + (func (;0;) (type 0) (result i32) + i32.const 0 + i32.const 1 + i32.store + i32.const 0 + i32.load + ) + (func (;1;) (type 1) + call 0 + ;; should be 65536 + ;; drop + ) + (start 1) + (memory (;0;) 2) + (export "main" (func 1)) +) \ No newline at end of file diff --git a/benchmarks/wasm/loop.wat b/benchmarks/wasm/loop.wat new file mode 100644 index 0000000..b51e251 --- /dev/null +++ b/benchmarks/wasm/loop.wat @@ -0,0 +1,21 @@ +;; https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Control_flow/loop +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + loop ;; label = @1 + local.get 0 + i32.const 1 + i32.add + local.set 0 + local.get 0 + call 0 + local.get 0 + i32.const 10 + i32.lt_s + br_if 0 (;@1;) + end + local.get 0) + (start 1)) diff --git a/benchmarks/wasm/loop_poly.wat b/benchmarks/wasm/loop_poly.wat new file mode 100644 index 0000000..7cbb2e2 --- /dev/null +++ b/benchmarks/wasm/loop_poly.wat @@ -0,0 +1,20 @@ +(module + (type (;0;) (func)) + (type (;1;) (func (param i32) (result i32))) + (func $test_poly_loop (;0;) (type 0) + i32.const 42 + i32.const 0 + block (param i32 i32) (result i32 i32) + loop (type 1) (param i32) (result i32) ;; label = @1 + i32.const 1 + i32.const 2 + br 1 (;@1;) + end + end + ;; this is not a valid wasm program due to the mismatch of stack shape, + ;; we only do this for testing purposes. + ;; i32.add + ;; drop + ) + (start 0) +) \ No newline at end of file diff --git a/benchmarks/wasm/pow.rs b/benchmarks/wasm/pow.rs new file mode 100644 index 0000000..3ce1cda --- /dev/null +++ b/benchmarks/wasm/pow.rs @@ -0,0 +1,14 @@ +#[no_mangle] +#[inline(never)] +fn power(a: i32, b: i32) -> i32 { + if b == 0 { + 1 + } else { + a * power(a, b - 1) + } +} + +#[no_mangle] +fn real_main() -> i32 { + power(2, 10) +} diff --git a/benchmarks/wasm/pow.wat b/benchmarks/wasm/pow.wat new file mode 100644 index 0000000..cd537b7 --- /dev/null +++ b/benchmarks/wasm/pow.wat @@ -0,0 +1,43 @@ +(module $pow.temp + (type (;0;) (func (param i32 i32) (result i32))) + (type (;1;) (func (result i32))) + (func $power (type 0) (param i32 i32) (result i32) + (local i32) + i32.const 1 + local.set 2 + local.get 1 + local.set 1 + block ;; label = @1 + loop ;; label = @2 + local.get 2 + local.set 2 + local.get 1 + local.tee 1 + i32.eqz + br_if 1 (;@1;) + local.get 2 + local.get 0 + i32.mul + local.set 2 + local.get 1 + i32.const -1 + i32.add + local.set 1 + br 0 (;@2;) + end + end + local.get 2) + (func $real_main (type 1) (result i32) + i32.const 2 + i32.const 10 + call $power) + (table (;0;) 1 1 funcref) + (memory (;0;) 16) + (global $__stack_pointer (mut i32) (i32.const 1048576)) + (global (;1;) i32 (i32.const 1048576)) + (global (;2;) i32 (i32.const 1048576)) + (export "memory" (memory 0)) + (export "power" (func 0)) + (export "real_main" (func 1)) + (export "__data_end" (global 1)) + (export "__heap_base" (global 2))) diff --git a/benchmarks/wasm/return.wat b/benchmarks/wasm/return.wat new file mode 100644 index 0000000..f62890a --- /dev/null +++ b/benchmarks/wasm/return.wat @@ -0,0 +1,16 @@ +(module + (type (;0;) (func)) + (type (;1;) (func (result i32))) + (func (type 1) + block + i32.const 42 + return + end + i32.const 100 + ) + (func (type 0) + call 0 + unreachable + ) + (export "$real_main" (func 1)) +) diff --git a/benchmarks/wasm/return_call.wat b/benchmarks/wasm/return_call.wat new file mode 100644 index 0000000..8e30615 --- /dev/null +++ b/benchmarks/wasm/return_call.wat @@ -0,0 +1,33 @@ +(module + (type (;0;) (func (param i64) (result i32))) + (type (;1;) (func)) + (func (;0;) (type 0) (param i64) (result i32) + local.get 0 + i64.eqz + if (result i32) ;; label = @1 + i32.const 44 + else + local.get 0 + i64.const 1 + i64.sub + return_call 1 + end + ) + (func (;1;) (type 0) (param i64) (result i32) + local.get 0 + i64.eqz + if (result i32) ;; label = @1 + i32.const 99 + else + local.get 0 + i64.const 1 + i64.sub + return_call 0 + end + ) + (func (;2;) (type 1) + i64.const 10000 ;; 100000 seems causing Github CI failed + call 0 + ) + (start 2) +) diff --git a/benchmarks/wasm/script/script_basic.bin.wast b/benchmarks/wasm/script/script_basic.bin.wast new file mode 100644 index 0000000..e0ae65f --- /dev/null +++ b/benchmarks/wasm/script/script_basic.bin.wast @@ -0,0 +1,7 @@ +(module binary + "\00\61\73\6d\01\00\00\00\01\85\80\80\80\00\01\60" + "\00\01\7f\03\82\80\80\80\00\01\00\07\87\80\80\80" + "\00\01\03\6f\6e\65\00\00\0a\8a\80\80\80\00\01\84" + "\80\80\80\00\00\41\01\0b" +) +(assert_return (invoke "one") (i32.const 0x1)) diff --git a/benchmarks/wasm/script/script_basic.wast b/benchmarks/wasm/script/script_basic.wast new file mode 100644 index 0000000..4d1d1cb --- /dev/null +++ b/benchmarks/wasm/script/script_basic.wast @@ -0,0 +1,8 @@ +(module + (func $one (result i32) + i32.const 1) + (export "one" (func 0)) +) + +(assert_return (invoke "one") (i32.const 1)) + diff --git a/benchmarks/wasm/spectest/return_call.bin.wast b/benchmarks/wasm/spectest/return_call.bin.wast new file mode 100644 index 0000000..a3ad319 --- /dev/null +++ b/benchmarks/wasm/spectest/return_call.bin.wast @@ -0,0 +1,194 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\c8\80\80\80\00\0e\60" + "\00\01\7f\60\00\01\7e\60\00\01\7d\60\00\01\7c\60" + "\01\7f\01\7f\60\01\7e\01\7e\60\01\7d\01\7d\60\01" + "\7c\01\7c\60\02\7d\7f\01\7f\60\02\7f\7e\01\7e\60" + "\02\7c\7d\01\7d\60\02\7e\7c\01\7c\60\02\7e\7e\01" + "\7e\60\01\7e\01\7f\03\9d\80\80\80\00\1c\00\01\02" + "\03\04\05\06\07\08\09\0a\0b\00\01\02\03\00\01\02" + "\03\00\01\02\03\0c\05\0d\0d\07\d8\81\80\80\00\10" + "\08\74\79\70\65\2d\69\33\32\00\0c\08\74\79\70\65" + "\2d\69\36\34\00\0d\08\74\79\70\65\2d\66\33\32\00" + "\0e\08\74\79\70\65\2d\66\36\34\00\0f\0e\74\79\70" + "\65\2d\66\69\72\73\74\2d\69\33\32\00\10\0e\74\79" + "\70\65\2d\66\69\72\73\74\2d\69\36\34\00\11\0e\74" + "\79\70\65\2d\66\69\72\73\74\2d\66\33\32\00\12\0e" + "\74\79\70\65\2d\66\69\72\73\74\2d\66\36\34\00\13" + "\0f\74\79\70\65\2d\73\65\63\6f\6e\64\2d\69\33\32" + "\00\14\0f\74\79\70\65\2d\73\65\63\6f\6e\64\2d\69" + "\36\34\00\15\0f\74\79\70\65\2d\73\65\63\6f\6e\64" + "\2d\66\33\32\00\16\0f\74\79\70\65\2d\73\65\63\6f" + "\6e\64\2d\66\36\34\00\17\07\66\61\63\2d\61\63\63" + "\00\18\05\63\6f\75\6e\74\00\19\04\65\76\65\6e\00" + "\1a\03\6f\64\64\00\1b\0a\80\83\80\80\00\1c\85\80" + "\80\80\00\00\41\b2\02\0b\85\80\80\80\00\00\42\e4" + "\02\0b\87\80\80\80\00\00\43\00\20\73\45\0b\8b\80" + "\80\80\00\00\44\00\00\00\00\00\c8\ae\40\0b\84\80" + "\80\80\00\00\20\00\0b\84\80\80\80\00\00\20\00\0b" + "\84\80\80\80\00\00\20\00\0b\84\80\80\80\00\00\20" + "\00\0b\84\80\80\80\00\00\20\01\0b\84\80\80\80\00" + "\00\20\01\0b\84\80\80\80\00\00\20\01\0b\84\80\80" + "\80\00\00\20\01\0b\84\80\80\80\00\00\12\00\0b\84" + "\80\80\80\00\00\12\01\0b\84\80\80\80\00\00\12\02" + "\0b\84\80\80\80\00\00\12\03\0b\86\80\80\80\00\00" + "\41\20\12\04\0b\87\80\80\80\00\00\42\c0\00\12\05" + "\0b\89\80\80\80\00\00\43\c3\f5\a8\3f\12\06\0b\8d" + "\80\80\80\00\00\44\3d\0a\d7\a3\70\3d\fa\3f\12\07" + "\0b\8b\80\80\80\00\00\43\66\66\00\42\41\20\12\08" + "\0b\89\80\80\80\00\00\41\20\42\c0\00\12\09\0b\92" + "\80\80\80\00\00\44\00\00\00\00\00\00\50\40\43\00" + "\00\00\42\12\0a\0b\90\80\80\80\00\00\42\c0\00\44" + "\66\66\66\66\66\06\50\40\12\0b\0b\97\80\80\80\00" + "\00\20\00\50\04\7e\20\01\05\20\00\42\01\7d\20\00" + "\20\01\7e\12\18\0b\0b\92\80\80\80\00\00\20\00\50" + "\04\7e\20\00\05\20\00\42\01\7d\12\19\0b\0b\92\80" + "\80\80\00\00\20\00\50\04\7f\41\2c\05\20\00\42\01" + "\7d\12\1b\0b\0b\93\80\80\80\00\00\20\00\50\04\7f" + "\41\e3\00\05\20\00\42\01\7d\12\1a\0b\0b" +) +(module instance) +(assert_return (invoke "type-i32") (i32.const 0x132)) +(assert_return (invoke "type-i64") (i64.const 0x164)) +;; (assert_return (invoke "type-f32") (f32.const 0x1.e64p+11)) +;; (assert_return (invoke "type-f64") (f64.const 0x1.ec8p+11)) +(assert_return (invoke "type-first-i32") (i32.const 0x20)) +(assert_return (invoke "type-first-i64") (i64.const 0x40)) +;; (assert_return (invoke "type-first-f32") (f32.const 0x1.51eb_86p+0)) +;; (assert_return (invoke "type-first-f64") (f64.const 0x1.a3d7_0a3d_70a3_dp+0)) +(assert_return (invoke "type-second-i32") (i32.const 0x20)) +(assert_return (invoke "type-second-i64") (i64.const 0x40)) +(assert_return (invoke "type-second-f32") (f32.const 0x1p+5)) +;; (assert_return (invoke "type-second-f64") (f64.const 0x1.0066_6666_6666_6p+6)) +(assert_return + (invoke "fac-acc" (i64.const 0x0) (i64.const 0x1)) + (i64.const 0x1) +) +(assert_return + (invoke "fac-acc" (i64.const 0x1) (i64.const 0x1)) + (i64.const 0x1) +) +(assert_return + (invoke "fac-acc" (i64.const 0x5) (i64.const 0x1)) + (i64.const 0x78) +) +(assert_return (invoke "count" (i64.const 0x0)) (i64.const 0x0)) +(assert_return (invoke "count" (i64.const 0x3e8)) (i64.const 0x0)) +;; See `count.wat` for why this is commented out +;; (assert_return (invoke "count" (i64.const 0xf_4240)) (i64.const 0x0)) +(assert_return (invoke "even" (i64.const 0x0)) (i32.const 0x2c)) +(assert_return (invoke "even" (i64.const 0x1)) (i32.const 0x63)) +(assert_return (invoke "even" (i64.const 0x64)) (i32.const 0x2c)) +(assert_return (invoke "even" (i64.const 0x4d)) (i32.const 0x63)) +;; See `return_call.wat` for why these are commented out +;; (assert_return (invoke "even" (i64.const 0xf_4240)) (i32.const 0x2c)) +;; (assert_return (invoke "even" (i64.const 0xf_4241)) (i32.const 0x63)) +(assert_return (invoke "odd" (i64.const 0x0)) (i32.const 0x63)) +(assert_return (invoke "odd" (i64.const 0x1)) (i32.const 0x2c)) +(assert_return (invoke "odd" (i64.const 0xc8)) (i32.const 0x63)) +(assert_return (invoke "odd" (i64.const 0x4d)) (i32.const 0x2c)) +;; (assert_return (invoke "odd" (i64.const 0xf_4240)) (i32.const 0x63)) +;; (assert_return (invoke "odd" (i64.const 0xf_423f)) (i32.const 0x2c)) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\00\01\7f\60\00\00\03\83\80\80\80\00\02\00\01\0a" + "\93\80\80\80\00\02\86\80\80\80\00\00\12\01\41\00" + "\0b\82\80\80\80\00\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\01\7f\60\00\01\7e\03\83\80\80\80\00\02\00\01" + "\0a\95\80\80\80\00\02\86\80\80\80\00\00\12\01\41" + "\00\0b\84\80\80\80\00\00\42\01\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\00\00\60\01\7f\00\03\83\80\80\80\00\02\00\01\0a" + "\91\80\80\80\00\02\84\80\80\80\00\00\12\01\0b\82" + "\80\80\80\00\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\00\60\02\7c\7f\00\03\83\80\80\80\00\02\00\01" + "\0a\91\80\80\80\00\02\84\80\80\80\00\00\12\01\0b" + "\82\80\80\80\00\00\0b" + ) + "type mismatch" +) +(module definition binary + "\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60" + "\00\00\03\83\80\80\80\00\02\00\00\0a\93\80\80\80" + "\00\02\86\80\80\80\00\00\41\01\12\01\0b\82\80\80" + "\80\00\00\0b" +) +(module instance) +(module definition binary + "\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60" + "\00\00\03\83\80\80\80\00\02\00\00\0a\9c\80\80\80" + "\00\02\8f\80\80\80\00\00\44\00\00\00\00\00\00\00" + "\40\41\01\12\01\0b\82\80\80\80\00\00\0b" +) +(module instance) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\00\60\02\7f\7f\00\03\83\80\80\80\00\02\00\01" + "\0a\94\80\80\80\00\02\87\80\80\80\00\00\01\41\01" + "\12\01\0b\82\80\80\80\00\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\00\60\02\7f\7f\00\03\83\80\80\80\00\02\00\01" + "\0a\94\80\80\80\00\02\87\80\80\80\00\00\41\01\01" + "\12\01\0b\82\80\80\80\00\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\00\60\02\7f\7c\00\03\83\80\80\80\00\02\00\01" + "\0a\9c\80\80\80\00\02\8f\80\80\80\00\00\44\00\00" + "\00\00\00\00\f0\3f\41\01\12\01\0b\82\80\80\80\00" + "\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\00\00\60\02\7c\7f\00\03\83\80\80\80\00\02\00\01" + "\0a\9c\80\80\80\00\02\8f\80\80\80\00\00\41\01\44" + "\00\00\00\00\00\00\f0\3f\12\01\0b\82\80\80\80\00" + "\00\0b" + ) + "type mismatch" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60" + "\00\00\03\82\80\80\80\00\01\00\0a\8a\80\80\80\00" + "\01\84\80\80\80\00\00\12\01\0b" + ) + "unknown function" +) +(assert_invalid + (module binary + "\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60" + "\00\00\03\82\80\80\80\00\01\00\0a\8e\80\80\80\00" + "\01\88\80\80\80\00\00\12\94\98\db\e2\03\0b" + ) + "unknown function" +) diff --git a/benchmarks/wasm/spectest/return_call.wast b/benchmarks/wasm/spectest/return_call.wast new file mode 100644 index 0000000..e1b0aa6 --- /dev/null +++ b/benchmarks/wasm/spectest/return_call.wast @@ -0,0 +1,199 @@ +;; Test `return_call` operator + +(module + ;; Auxiliary definitions + (func $const-i32 (result i32) (i32.const 0x132)) + (func $const-i64 (result i64) (i64.const 0x164)) + (func $const-f32 (result f32) (f32.const 0xf32)) + (func $const-f64 (result f64) (f64.const 0xf64)) + + (func $id-i32 (param i32) (result i32) (local.get 0)) + (func $id-i64 (param i64) (result i64) (local.get 0)) + (func $id-f32 (param f32) (result f32) (local.get 0)) + (func $id-f64 (param f64) (result f64) (local.get 0)) + + (func $f32-i32 (param f32 i32) (result i32) (local.get 1)) + (func $i32-i64 (param i32 i64) (result i64) (local.get 1)) + (func $f64-f32 (param f64 f32) (result f32) (local.get 1)) + (func $i64-f64 (param i64 f64) (result f64) (local.get 1)) + + ;; Typing + + (func (export "type-i32") (result i32) (return_call $const-i32)) + (func (export "type-i64") (result i64) (return_call $const-i64)) + (func (export "type-f32") (result f32) (return_call $const-f32)) + (func (export "type-f64") (result f64) (return_call $const-f64)) + + (func (export "type-first-i32") (result i32) (return_call $id-i32 (i32.const 32))) + (func (export "type-first-i64") (result i64) (return_call $id-i64 (i64.const 64))) + (func (export "type-first-f32") (result f32) (return_call $id-f32 (f32.const 1.32))) + (func (export "type-first-f64") (result f64) (return_call $id-f64 (f64.const 1.64))) + + (func (export "type-second-i32") (result i32) + (return_call $f32-i32 (f32.const 32.1) (i32.const 32)) + ) + (func (export "type-second-i64") (result i64) + (return_call $i32-i64 (i32.const 32) (i64.const 64)) + ) + (func (export "type-second-f32") (result f32) + (return_call $f64-f32 (f64.const 64) (f32.const 32)) + ) + (func (export "type-second-f64") (result f64) + (return_call $i64-f64 (i64.const 64) (f64.const 64.1)) + ) + + ;; Recursion + + (func $fac-acc (export "fac-acc") (param i64 i64) (result i64) + (if (result i64) (i64.eqz (local.get 0)) + (then (local.get 1)) + (else + (return_call $fac-acc + (i64.sub (local.get 0) (i64.const 1)) + (i64.mul (local.get 0) (local.get 1)) + ) + ) + ) + ) + + (func $count (export "count") (param i64) (result i64) + (if (result i64) (i64.eqz (local.get 0)) + (then (local.get 0)) + (else (return_call $count (i64.sub (local.get 0) (i64.const 1)))) + ) + ) + + (func $even (export "even") (param i64) (result i32) + (if (result i32) (i64.eqz (local.get 0)) + (then (i32.const 44)) + (else (return_call $odd (i64.sub (local.get 0) (i64.const 1)))) + ) + ) + (func $odd (export "odd") (param i64) (result i32) + (if (result i32) (i64.eqz (local.get 0)) + (then (i32.const 99)) + (else (return_call $even (i64.sub (local.get 0) (i64.const 1)))) + ) + ) +) + +(assert_return (invoke "type-i32") (i32.const 0x132)) +(assert_return (invoke "type-i64") (i64.const 0x164)) +(assert_return (invoke "type-f32") (f32.const 0xf32)) +(assert_return (invoke "type-f64") (f64.const 0xf64)) + +(assert_return (invoke "type-first-i32") (i32.const 32)) +(assert_return (invoke "type-first-i64") (i64.const 64)) +(assert_return (invoke "type-first-f32") (f32.const 1.32)) +(assert_return (invoke "type-first-f64") (f64.const 1.64)) + +(assert_return (invoke "type-second-i32") (i32.const 32)) +(assert_return (invoke "type-second-i64") (i64.const 64)) +(assert_return (invoke "type-second-f32") (f32.const 32)) +(assert_return (invoke "type-second-f64") (f64.const 64.1)) + +(assert_return (invoke "fac-acc" (i64.const 0) (i64.const 1)) (i64.const 1)) +(assert_return (invoke "fac-acc" (i64.const 1) (i64.const 1)) (i64.const 1)) +(assert_return (invoke "fac-acc" (i64.const 5) (i64.const 1)) (i64.const 120)) + +(assert_return (invoke "count" (i64.const 0)) (i64.const 0)) +(assert_return (invoke "count" (i64.const 1000)) (i64.const 0)) +;; (assert_return (invoke "count" (i64.const 1_000_000)) (i64.const 0)) + +(assert_return (invoke "even" (i64.const 0)) (i32.const 44)) +(assert_return (invoke "even" (i64.const 1)) (i32.const 99)) +(assert_return (invoke "even" (i64.const 100)) (i32.const 44)) +(assert_return (invoke "even" (i64.const 77)) (i32.const 99)) +;; (assert_return (invoke "even" (i64.const 1_000_000)) (i32.const 44)) +;; (assert_return (invoke "even" (i64.const 1_000_001)) (i32.const 99)) +(assert_return (invoke "odd" (i64.const 0)) (i32.const 99)) +(assert_return (invoke "odd" (i64.const 1)) (i32.const 44)) +(assert_return (invoke "odd" (i64.const 200)) (i32.const 99)) +(assert_return (invoke "odd" (i64.const 77)) (i32.const 44)) +;; TODO: also look at the follwoing test +;; (assert_return (invoke "odd" (i64.const 1_000_000)) (i32.const 99)) +;; (assert_return (invoke "odd" (i64.const 999_999)) (i32.const 44)) + + +;; Invalid typing + +(assert_invalid + (module + (func $type-void-vs-num (result i32) (return_call 1) (i32.const 0)) + (func) + ) + "type mismatch" +) +(assert_invalid + (module + (func $type-num-vs-num (result i32) (return_call 1) (i32.const 0)) + (func (result i64) (i64.const 1)) + ) + "type mismatch" +) + +(assert_invalid + (module + (func $arity-0-vs-1 (return_call 1)) + (func (param i32)) + ) + "type mismatch" +) +(assert_invalid + (module + (func $arity-0-vs-2 (return_call 1)) + (func (param f64 i32)) + ) + "type mismatch" +) + +(module + (func $arity-1-vs-0 (i32.const 1) (return_call 1)) + (func) +) + +(module + (func $arity-2-vs-0 (f64.const 2) (i32.const 1) (return_call 1)) + (func) +) + +(assert_invalid + (module + (func $type-first-void-vs-num (return_call 1 (nop) (i32.const 1))) + (func (param i32 i32)) + ) + "type mismatch" +) +(assert_invalid + (module + (func $type-second-void-vs-num (return_call 1 (i32.const 1) (nop))) + (func (param i32 i32)) + ) + "type mismatch" +) +(assert_invalid + (module + (func $type-first-num-vs-num (return_call 1 (f64.const 1) (i32.const 1))) + (func (param i32 f64)) + ) + "type mismatch" +) +(assert_invalid + (module + (func $type-second-num-vs-num (return_call 1 (i32.const 1) (f64.const 1))) + (func (param f64 i32)) + ) + "type mismatch" +) + + +;; Unbound function + +(assert_invalid + (module (func $unbound-func (return_call 1))) + "unknown function" +) +(assert_invalid + (module (func $large-func (return_call 1012321300))) + "unknown function" +) \ No newline at end of file diff --git a/benchmarks/wasm/start.wat b/benchmarks/wasm/start.wat new file mode 100644 index 0000000..4d4dca3 --- /dev/null +++ b/benchmarks/wasm/start.wat @@ -0,0 +1,14 @@ +(module + (type (;0;) (func)) + (func (;0;) (type 0) + i32.const 1 + i32.const 3 + i32.add + drop) + (func (;1;) (type 1) + i32.const 4 + i32.const 3 + i32.add + drop) + (start 0) +) diff --git a/benchmarks/wasm/sum.wat b/benchmarks/wasm/sum.wat new file mode 100644 index 0000000..8841f58 --- /dev/null +++ b/benchmarks/wasm/sum.wat @@ -0,0 +1,24 @@ +(module + (type (;0;) (func (param i32))) + (import "console" "log" (func (type 0))) + (func (param i32 i32) (result i32) + local.get 0 + i32.eqz + if (result i32) + local.get 1 + else + local.get 0 + i32.const 1 + i32.sub + local.get 1 + local.get 0 + i32.add + (return_call 1) + end + ) + (func (result i32) + i32.const 10 + i32.const 0 + (return_call 1)) + (export "sum10" (func 2)) +) \ No newline at end of file diff --git a/benchmarks/wasm/test.c b/benchmarks/wasm/test.c new file mode 100644 index 0000000..f229930 --- /dev/null +++ b/benchmarks/wasm/test.c @@ -0,0 +1,15 @@ +static int cnt = 0; + +int sym_int(char* name) { return cnt++; } +void assert(int expr) {} + +int main() { + int a = sym_int("a"); + int b = sym_int("b"); + + if (a == b) { + return 1; + } else { + return 0; + } +} diff --git a/benchmarks/wasm/test.rs b/benchmarks/wasm/test.rs new file mode 100644 index 0000000..b96e8d0 --- /dev/null +++ b/benchmarks/wasm/test.rs @@ -0,0 +1,103 @@ +// #[no_mangle] +// #[inline(never)] +// fn test(a: i32, b: i32) -> i32 { +// a + b +// } + +// #[no_mangle] +// #[inline(never)] +// fn factorial(n: i32) -> i32 { +// if n == 0 { +// 1 +// } else { +// n * factorial(n - 1) +// } +// } + +/* +#[no_mangle] +#[inline(never)] +fn test_ret(a: i32) -> i32 { + let mut n = 1; + + // Loop while `n` is less than 101 + while n < 101 { + if n % 15 == 0 { + //println!("fizzbuzz"); + return 1; + } else if n % 3 == 0 { + return 2; + //println!("fizz"); + } else if n % 5 == 0 { + return 3; + //println!("buzz"); + } else { + n += 1; + return 4; + //println!("{}", n); + } + // Increment counter + } + + return -1; +} +*/ + +#[no_mangle] +#[inline(never)] +fn power(a: i32, b: i32) -> i32 { + if b == 0 { + 1 + } else { + a * power(a, b - 1) + } +} + +#[no_mangle] +#[inline(never)] +fn ack(m: i32, n: i32) -> i32 { + if m == 0 { + n + 1 + } else if n == 0 { + ack(m - 1, 1) + } else { + ack(m - 1, ack(m, n - 1)) + } +} + +#[no_mangle] +#[inline(never)] +fn opaque(x: i32) -> i32 { + x + 1 +} + +#[no_mangle] +#[inline(never)] +fn opaque1(x: i32) -> i32 { + x + 5 +} + +#[no_mangle] +#[inline(never)] +fn opaque2(x: i32) -> i32 { + x + 100 +} + +#[no_mangle] +#[inline(never)] +fn conditional(x: i32) -> i32 { + if x == 0 { + x + 10 + } else { + opaque(x) + } +} + +#[no_mangle] +fn real_main() -> i32 { + // conditional(5) + // factorial(5) + // power(3, 3) + ack(2, 2) + //test_ret(11) +} diff --git a/benchmarks/wasm/test.wat b/benchmarks/wasm/test.wat new file mode 100644 index 0000000..2ad9ed8 --- /dev/null +++ b/benchmarks/wasm/test.wat @@ -0,0 +1,164 @@ +(module + (type (;0;) (func)) + (type (;1;) (func (param i32) (result i32))) + (type (;2;) (func (param i32))) + (type (;3;) (func (result i32))) + (type (;4;) (func (param i32 i32) (result i32))) + (func $__wasm_call_ctors (type 0)) + (func $sym_int (type 1) (param i32) (result i32) + (local i32 i32 i32 i32 i32 i32 i32 i32) + global.get 0 + local.set 1 + i32.const 16 + local.set 2 + local.get 1 + local.get 2 + i32.sub + local.set 3 + local.get 3 + local.get 0 + i32.store offset=12 + i32.const 0 + local.set 4 + local.get 4 + i32.load offset=1028 + local.set 5 + i32.const 1 + local.set 6 + local.get 5 + local.get 6 + i32.add + local.set 7 + i32.const 0 + local.set 8 + local.get 8 + local.get 7 + i32.store offset=1028 + local.get 5 + return) + (func $assert (type 2) (param i32) + (local i32 i32 i32) + global.get 0 + local.set 1 + i32.const 16 + local.set 2 + local.get 1 + local.get 2 + i32.sub + local.set 3 + local.get 3 + local.get 0 + i32.store offset=12 + return) + (func $__original_main (type 3) (result i32) + (local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32) + global.get 0 + local.set 0 + i32.const 16 + local.set 1 + local.get 0 + local.get 1 + i32.sub + local.set 2 + local.get 2 + global.set 0 + i32.const 1026 + local.set 3 + i32.const 1024 + local.set 4 + i32.const 0 + local.set 5 + local.get 2 + local.get 5 + i32.store offset=12 + local.get 4 + i32.symbolic + local.set 6 + local.get 2 + local.get 6 + i32.store offset=8 + local.get 3 + i32.symbolic + local.set 7 + local.get 2 + local.get 7 + i32.store offset=4 + local.get 2 + i32.load offset=8 + local.set 8 + local.get 2 + i32.load offset=4 + local.set 9 + local.get 8 + local.set 10 + local.get 9 + local.set 11 + local.get 10 + local.get 11 + i32.eq + local.set 12 + i32.const 1 + local.set 13 + local.get 12 + local.get 13 + i32.and + local.set 14 + block ;; label = @1 + block ;; label = @2 + local.get 14 + i32.eqz + br_if 0 (;@2;) + i32.const 1 + local.set 15 + local.get 2 + local.get 15 + i32.store offset=12 + br 1 (;@1;) + end + i32.const 0 + local.set 16 + local.get 2 + local.get 16 + i32.store offset=12 + end + local.get 2 + i32.load offset=12 + local.set 17 + i32.const 16 + local.set 18 + local.get 2 + local.get 18 + i32.add + local.set 19 + local.get 19 + global.set 0 + local.get 17 + return) + (func $main (type 4) (param i32 i32) (result i32) + (local i32) + call $__original_main + local.set 2 + local.get 2 + return) + (table (;0;) 1 1 funcref) + (memory (;0;) 2) + (global (;0;) (mut i32) (i32.const 66576)) + (global (;1;) i32 (i32.const 1024)) + (global (;2;) i32 (i32.const 1032)) + (global (;3;) i32 (i32.const 1024)) + (global (;4;) i32 (i32.const 66576)) + (global (;5;) i32 (i32.const 0)) + (global (;6;) i32 (i32.const 1)) + (export "memory" (memory 0)) + (export "__wasm_call_ctors" (func $__wasm_call_ctors)) + (export "sym_int" (func $sym_int)) + (export "assert" (func $assert)) + (export "__original_main" (func $__original_main)) + (export "main" (func $main)) + (export "__dso_handle" (global 1)) + (export "__data_end" (global 2)) + (export "__global_base" (global 3)) + (export "__heap_base" (global 4)) + (export "__memory_base" (global 5)) + (export "__table_base" (global 6)) + (data (;0;) (i32.const 1024) "a\00b\00")) diff --git a/benchmarks/wasm/test_loop.c b/benchmarks/wasm/test_loop.c new file mode 100644 index 0000000..f236f0a --- /dev/null +++ b/benchmarks/wasm/test_loop.c @@ -0,0 +1,15 @@ +int sym_int(char* name) { return (int) name; } +void assert(int expr) {} + +int main() { + int a = sym_int("a"); + int b = sym_int("b"); + int n = 0; + + while (a < b) { + a++; + n++; + } + + return n; +} diff --git a/benchmarks/wasm/tribonacci.c b/benchmarks/wasm/tribonacci.c new file mode 100644 index 0000000..9556656 --- /dev/null +++ b/benchmarks/wasm/tribonacci.c @@ -0,0 +1,10 @@ +int tribonacci(int n) { + if (n == 0) { return 0; } + else if (n == 1) { return 1; } + else if (n == 2) { return 1; } + else { return tribonacci(n - 1) + tribonacci(n - 2) + tribonacci(n - 3); } +} + +int real_main() { + return tribonacci(12); +} diff --git a/benchmarks/wasm/tribonacci.wat b/benchmarks/wasm/tribonacci.wat new file mode 100644 index 0000000..01a5084 --- /dev/null +++ b/benchmarks/wasm/tribonacci.wat @@ -0,0 +1,43 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (result i32))) + (func (;0;) (type 0) (param i32) (result i32) + local.get 0 + if (result i32) ;; label = @1 + local.get 0 + i32.const 1 + i32.eq + if (result i32) ;; label = @2 + i32.const 1 + else + local.get 0 + i32.const 2 + i32.eq + if (result i32) ;; label = @3 + i32.const 1 + else + local.get 0 + i32.const 1 + i32.sub + call 0 + local.get 0 + i32.const 2 + i32.sub + call 0 + i32.add + local.get 0 + i32.const 3 + i32.sub + call 0 + i32.add + end + end + else + i32.const 0 + end) + (func (;1;) (type 1) (result i32) + i32.const 12 + call 0) + (start 1) + (memory (;0;) 0) + (export "memory" (memory 0))) diff --git a/benchmarks/wasm/tribonacci_ret.rs b/benchmarks/wasm/tribonacci_ret.rs new file mode 100644 index 0000000..ae57605 --- /dev/null +++ b/benchmarks/wasm/tribonacci_ret.rs @@ -0,0 +1,13 @@ +#[no_mangle] +#[inline(never)] +fn tribonacci(n: i32) -> i32 { + if n == 0 { 0 } + else if n == 1 { 1 } + else if n == 2 { 1 } + else { tribonacci(n - 1) + tribonacci(n - 2) + tribonacci(n - 3) } +} + +#[no_mangle] +fn real_main() -> i32 { + tribonacci(12) +} diff --git a/benchmarks/wasm/tribonacci_ret.wat b/benchmarks/wasm/tribonacci_ret.wat new file mode 100644 index 0000000..88e70e2 --- /dev/null +++ b/benchmarks/wasm/tribonacci_ret.wat @@ -0,0 +1,68 @@ +(module $tribonacci.wat.temp + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (result i32))) + (func $tribonacci (type 0) (param i32) (result i32) + (local i32 i32) + local.get 0 + i32.const 2 + i32.shl + i32.const 1048576 + i32.add + local.set 1 + i32.const 0 + local.set 2 + local.get 0 + local.set 0 + loop (result i32) ;; label = @1 + local.get 2 + local.set 2 + local.get 1 + local.set 1 + block ;; label = @2 + local.get 0 + local.tee 0 + i32.const 2 + i32.gt_u + br_if 0 (;@2;) + local.get 1 + i32.load + local.get 2 + i32.add + return + end + local.get 1 + i32.const -12 + i32.add + local.set 1 + local.get 0 + i32.const -1 + i32.add + call $tribonacci + local.get 0 + i32.const -2 + i32.add + call $tribonacci + i32.add + local.get 2 + i32.add + local.set 2 + local.get 0 + i32.const -3 + i32.add + local.set 0 + br 0 (;@1;) + end) + (func $real_main (type 1) (result i32) + i32.const 12 + call $tribonacci) + (table (;0;) 1 1 funcref) + (memory (;0;) 17) + (global $__stack_pointer (mut i32) (i32.const 1048576)) + (global (;1;) i32 (i32.const 1048588)) + (global (;2;) i32 (i32.const 1048592)) + (export "memory" (memory 0)) + (export "tribonacci" (func $tribonacci)) + (export "real_main" (func $real_main)) + (export "__data_end" (global 1)) + (export "__heap_base" (global 2)) + (data $.rodata (i32.const 1048576) "\00\00\00\00\01\00\00\00\01\00\00\00")) diff --git a/benchmarks/wasm/trycatch/deep.wat b/benchmarks/wasm/trycatch/deep.wat new file mode 100644 index 0000000..fe05f99 --- /dev/null +++ b/benchmarks/wasm/trycatch/deep.wat @@ -0,0 +1,30 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try ;; 1 2 3 2 4 4 5 + i32.const 1 + call 0 + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + i32.const -1 + ;; [-1] + throw + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/multishot.wat b/benchmarks/wasm/trycatch/multishot.wat new file mode 100644 index 0000000..bd5846f --- /dev/null +++ b/benchmarks/wasm/trycatch/multishot.wat @@ -0,0 +1,31 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + local.set 0 ;; now we are really abusing the type system ... + local.get 0 + resume0 + i32.const 4 + call 0 + local.get 0 + resume0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/nested_try_catch.wat b/benchmarks/wasm/trycatch/nested_try_catch.wat new file mode 100644 index 0000000..c18429f --- /dev/null +++ b/benchmarks/wasm/trycatch/nested_try_catch.wat @@ -0,0 +1,43 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + try + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop ;; [resume] + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + i32.const -1 + throw + i32.const 7 + call 0 + catch + ;; [-1, resume] + drop + i32.const 6 + call 0 + resume0 + i32.const 8 + call 0 + end + i32.const 9 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/throw_twice.wat b/benchmarks/wasm/trycatch/throw_twice.wat new file mode 100644 index 0000000..dc960f4 --- /dev/null +++ b/benchmarks/wasm/trycatch/throw_twice.wat @@ -0,0 +1,38 @@ +;; kept in delimited continuation example +(module + ;; output: 1, 2, 6, 2, 3, 4, 4, 5 + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + block + i32.const 42 + ;; [42] + throw + i32.const 6 + call 0 + i32.const 42 + ;; [42] + throw + end + end + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/throw_twice2.wat b/benchmarks/wasm/trycatch/throw_twice2.wat new file mode 100644 index 0000000..2fe3297 --- /dev/null +++ b/benchmarks/wasm/trycatch/throw_twice2.wat @@ -0,0 +1,38 @@ +;; pushed to meta continuation example +(module + ;; output: 1, 2, 6, 2, 3, 4, 5 + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + block + i32.const 42 + ;; [42] + throw + end + i32.const 6 + call 0 + i32.const 42 + ;; [42] + throw + end + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 ;; |---> adk + call 0 ;; | + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch.wat b/benchmarks/wasm/trycatch/try_catch.wat new file mode 100644 index 0000000..2577fd8 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch.wat @@ -0,0 +1,27 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_block.wat b/benchmarks/wasm/trycatch/try_catch_block.wat new file mode 100644 index 0000000..b4ba3c6 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_block.wat @@ -0,0 +1,31 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + block + i32.const 42 + ;; [42] + throw + end + end + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_br.wat b/benchmarks/wasm/trycatch/try_catch_br.wat new file mode 100644 index 0000000..aaefdf2 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_br.wat @@ -0,0 +1,32 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + block (result i32) + try + i32.const 1 + call 0 + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + ;;drop + br 0 + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + end + i32.const 6 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_br2.wat b/benchmarks/wasm/trycatch/try_catch_br2.wat new file mode 100644 index 0000000..19e19ed --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_br2.wat @@ -0,0 +1,32 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + i32.const 42 + ;; [42] + throw + br 0 + i32.const 3 + call 0 + end + i32.const 6 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_br3.wat b/benchmarks/wasm/trycatch/try_catch_br3.wat new file mode 100644 index 0000000..3e6a41d --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_br3.wat @@ -0,0 +1,36 @@ +;; ignored example +(module + ;; output: 1, 2, 3, 4, 5 + ;; 4 is printed, because the delimited continuation is kept when breaking out of the block, + ;; it's inside the trail1 + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + block + i32.const 42 + ;; [42] + throw + br 0 + end + end + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_br4.wat b/benchmarks/wasm/trycatch/try_catch_br4.wat new file mode 100644 index 0000000..9b10ef3 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_br4.wat @@ -0,0 +1,52 @@ +;; pushed to meta continuation example +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32 i32) + i32.const 0 + local.set 1 + try + i32.const 1 + call 0 + block + block + i32.const 42 + ;; [42] + throw + end + i32.const 6 + call 0 + i32.const 42 + ;; [42] + throw + end + i32.const 3 + call 0 + catch + ;; increment local 1 + i32.const 1 + local.get 1 + i32.add + local.set 1 + ;; [42, resume] + i32.const 2 + call 0 + drop + local.get 1 + i32.const 1 + i32.eq + if (param i32 (; input cont actually ;)) + resume0 + else + i32.const 7 + call 0 + end + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_catch_br.wat b/benchmarks/wasm/trycatch/try_catch_catch_br.wat new file mode 100644 index 0000000..d515df3 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_catch_br.wat @@ -0,0 +1,39 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + block + i32.const 42 + ;; [42] + throw + br 0 + i32.const 3 + call 0 + end + i32.const 6 + call 0 + catch + ;; [42, resume] + drop + local.set 0 ;; abusing the type system + local.get 0 ;; + block (param i32) ;; + i32.const 2 + call 0 + resume0 + br 0 + end + i32.const 4 + call 0 + local.get 0 + resume0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_discard.wat b/benchmarks/wasm/trycatch/try_catch_discard.wat new file mode 100644 index 0000000..c44341a --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_discard.wat @@ -0,0 +1,25 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + i32.const 42 + ;; [42] + throw + i32.const 3 + call 0 + catch + ;; [42, resume] + call 0 + drop + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/trycatch/try_catch_succ.wat b/benchmarks/wasm/trycatch/try_catch_succ.wat new file mode 100644 index 0000000..78e9809 --- /dev/null +++ b/benchmarks/wasm/trycatch/try_catch_succ.wat @@ -0,0 +1,24 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func)) + (import "console" "log" (func (;0;) (type 0))) + (func (;1;) (type 1) + (local i32) + try + i32.const 1 + call 0 + i32.const 3 + call 0 + catch + ;; [42, resume] + i32.const 2 + call 0 + drop + resume0 + i32.const 4 + call 0 + end + i32.const 5 + call 0 + ) + (start 1)) diff --git a/benchmarks/wasm/wasmfx/README.md b/benchmarks/wasm/wasmfx/README.md new file mode 100644 index 0000000..b2125c6 --- /dev/null +++ b/benchmarks/wasm/wasmfx/README.md @@ -0,0 +1,9 @@ +# Tests for wasmfx + +Shorter tests: https://github.com/titzer/wizard-engine/tree/master/test/regress/ext:stack-switching + +Wasm reference interpreter tests: https://github.com/WebAssembly/stack-switching/blob/wasmfx/test/core/stack-switching/cont.wast + +Stack Switching proposal examples: https://github.com/WebAssembly/stack-switching/tree/main/proposals/stack-switching/examples + + diff --git a/benchmarks/wasm/wasmfx/callcont.bin.wast b/benchmarks/wasm/wasmfx/callcont.bin.wast new file mode 100644 index 0000000..bc0a467 --- /dev/null +++ b/benchmarks/wasm/wasmfx/callcont.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\01\7f\01\7f\5d\00\60\01\7f\00\60\00\01\7f\02\96" + "\80\80\80\00\01\08\73\70\65\63\74\65\73\74\09\70" + "\72\69\6e\74\5f\69\33\32\00\02\03\83\80\80\80\00" + "\02\00\03\07\88\80\80\80\00\01\04\6d\61\69\6e\00" + "\02\09\85\80\80\80\00\01\03\00\01\01\0a\9d\80\80" + "\80\00\02\87\80\80\80\00\00\20\00\41\01\6a\0b\8b" + "\80\80\80\00\00\41\0a\d2\01\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0xb)) diff --git a/benchmarks/wasm/wasmfx/callcont.wast b/benchmarks/wasm/wasmfx/callcont.wast new file mode 100644 index 0000000..63d0b44 --- /dev/null +++ b/benchmarks/wasm/wasmfx/callcont.wast @@ -0,0 +1,26 @@ + +(module + ;; Import only required for printing + (import "spectest" "print_i32" (func $print_i32 (param i32))) + + (func (param i32) (result i32) + local.get 0 + i32.const 1 + i32.add + ) + + (elem declare func 1) + + (func (export "main") (result i32) + i32.const 10 + ref.func 1 + cont.new 1 + (resume 1) + ) + + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (cont 0)) + +) + +(assert_return (invoke "main") (i32.const 11)) diff --git a/benchmarks/wasm/wasmfx/callref-strip.wast b/benchmarks/wasm/wasmfx/callref-strip.wast new file mode 100644 index 0000000..6666fd3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/callref-strip.wast @@ -0,0 +1,58 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func (param i32 i32))) + (type (;2;) (func (param (ref 0) (ref 0)))) + (type (;3;) (func)) + (import "spectest" "print_i32" (func (;0;) (type 0))) + (export "_start" (func 6)) + (start 6) + (elem (;0;) declare func 4) + (elem (;1;) declare func 5) + (func (;1;) (type 0) (param i32) + local.get 0 + call 0 + ) + (func (;2;) (type 1) (param i32 i32) + (local i32) + local.get 0 + local.set 2 + block ;; label = @1 + loop ;; label = @2 + local.get 2 + local.get 1 + i32.gt_u + br_if 1 (;@1;) + local.get 2 + call 1 + local.get 2 + i32.const 1 + i32.add + local.set 2 + br 0 (;@2;) + end + end + ) + (func (;3;) (type 2) (param (ref 0) (ref 0)) + i32.const 10 + local.get 0 + call_ref 0 + i32.const 20 + local.get 1 + call_ref 0 + ) + (func (;4;) (type 0) (param i32) + local.get 0 + i32.const 13 + call 2 + ) + (func (;5;) (type 0) (param i32) + local.get 0 + i32.const 23 + call 2 + ) + (func (;6;) (type 3) + ref.func 4 + ref.func 5 + call 3 + ) +) diff --git a/benchmarks/wasm/wasmfx/callref.wast b/benchmarks/wasm/wasmfx/callref.wast new file mode 100644 index 0000000..76bb589 --- /dev/null +++ b/benchmarks/wasm/wasmfx/callref.wast @@ -0,0 +1,33 @@ +(module + + ;; Import only required for printing + (import "spectest" "print_i32" (func $print_i32 (param i32))) + + (func $process (param $x i32) + (call $print_i32 (local.get $x)) + ) + + (func $range (param $from i32) (param $to i32) + (local $i i32) + (local.set $i (local.get $from)) + (block $b + (loop $l + (br_if $b (i32.gt_u (local.get $i) (local.get $to))) + (call $process (local.get $i)) + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (br $l)))) + + (type $task (func (param i32))) + (func $run (param $task1 (ref $task)) (param $task2 (ref $task)) + (call_ref $task (i32.const 10) (local.get $task1)) + (call_ref $task (i32.const 20) (local.get $task2))) + + (elem declare func $task1) + (elem declare func $task2) + + (func $task1 (param $x i32) (call $range (local.get $x) (i32.const 13))) + (func $task2 (param $x i32) (call $range (local.get $x) (i32.const 23))) + (func $main (export "_start") + (call $run (ref.func $task1) (ref.func $task2))) + (start $main) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/cont1-stripped.wat b/benchmarks/wasm/wasmfx/cont1-stripped.wat new file mode 100644 index 0000000..1480bb5 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont1-stripped.wat @@ -0,0 +1,11 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (func (param i64))) + (type (;2;) (func (param f32))) + (type (;3;) (func (param f64))) + (type (;4;) (cont 0)) + (type (;5;) (cont 1)) + (type (;6;) (cont 2)) + (type (;7;) (cont 3)) + (tag (;0;) (type 0) (param i32)) +) diff --git a/benchmarks/wasm/wasmfx/cont1.wat b/benchmarks/wasm/wasmfx/cont1.wat new file mode 100644 index 0000000..592fe64 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont1.wat @@ -0,0 +1,12 @@ +;; Check that continuations can be made from all basic primitives types +(module + (type $func1 (func (param i32))) + (type $func2 (func (param i64))) + (type $func3 (func (param f32))) + (type $func4 (func (param f64))) + (type $cont1 (cont $func1)) + (type $cont2 (cont $func2)) + (type $cont3 (cont $func3)) + (type $cont4 (cont $func4)) + (tag $tag1 (param i32)) +) diff --git a/benchmarks/wasm/wasmfx/cont_bind3.bin.wast b/benchmarks/wasm/wasmfx/cont_bind3.bin.wast new file mode 100644 index 0000000..518c6c0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind3.bin.wast @@ -0,0 +1,13 @@ +(module binary + "\00\61\73\6d\01\00\00\00\01\91\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7f\01\7f\03" + "\83\80\80\80\00\02\02\04\06\86\80\80\80\00\01\7f" + "\01\41\0b\0b\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a1\80" + "\80\80\00\02\86\80\80\80\00\00\20\00\24\00\0b\90" + "\80\80\80\00\00\20\00\d2\00\e0\03\e1\03\01\e3\01" + "\00\23\00\0b" +) +;; (module instance) +(assert_return (invoke "main" (i32.const 0x16)) (i32.const 0x16)) +(assert_return (invoke "main" (i32.const 0xffff_fe44)) (i32.const 0xffff_fe44)) diff --git a/benchmarks/wasm/wasmfx/cont_bind4.bin.wast b/benchmarks/wasm/wasmfx/cont_bind4.bin.wast new file mode 100644 index 0000000..3c93687 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind4.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\03\83\80\80" + "\80\00\02\02\02\07\88\80\80\80\00\01\04\6d\61\69" + "\6e\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a0" + "\80\80\80\00\02\87\80\80\80\00\00\20\00\41\2c\6a" + "\0b\8e\80\80\80\00\00\20\00\d2\00\e0\03\e1\03\01" + "\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x16)) (i32.const 0x42)) +(assert_return (invoke "main" (i32.const 0xffff_fe44)) (i32.const 0xffff_fe70)) diff --git a/benchmarks/wasm/wasmfx/cont_bind4.wast b/benchmarks/wasm/wasmfx/cont_bind4.wast new file mode 100644 index 0000000..214a287 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind4.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (func $add44 (param i32) (result i32) (i32.add (local.get 0) (i32.const 44))) + (elem declare func $add44) + + (func (export "main") (param i32) (result i32) + (resume $c1 + (cont.bind $c2 $c1 + (local.get 0) + (cont.new $c2 (ref.func $add44)))) + ) +) + +(assert_return (invoke "main" (i32.const 22)) (i32.const 66)) +(assert_return (invoke "main" (i32.const -444)) (i32.const -400)) + diff --git a/benchmarks/wasm/wasmfx/cont_bind5-strip.wast b/benchmarks/wasm/wasmfx/cont_bind5-strip.wast new file mode 100644 index 0000000..4e56e37 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind5-strip.wast @@ -0,0 +1,31 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32 i32) (result i32))) + (type (;3;) (cont 2)) + (type (;4;) (func (param i32))) + (type (;5;) (func)) + (import "spectest" "print_i32" (func (;0;) (type 4))) + (export "main" (func 3)) + (start 3) + (elem (;0;) declare func 1) + (func (;1;) (type 2) (param i32 i32) (result i32) + local.get 0 + local.get 1 + i32.sub + ) + (func (;2;) (type 2) (param i32 i32) (result i32) + local.get 1 + local.get 0 + ref.func 1 + cont.new 3 + cont.bind 3 1 + resume 1 + ) + (func (;3;) (type 5) + i32.const 22 + i32.const 44 + call 2 + call 0 + ) +) diff --git a/benchmarks/wasm/wasmfx/cont_bind5.bin.wast b/benchmarks/wasm/wasmfx/cont_bind5.bin.wast new file mode 100644 index 0000000..3f710ca --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind5.bin.wast @@ -0,0 +1,18 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\01\7f\01\7f\5d\00\60\02\7f\7f\01\7f\5d\02\03\83" + "\80\80\80\00\02\02\02\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\a2\80\80\80\00\02\87\80\80\80\00\00\20\00\20" + "\01\6b\0b\90\80\80\80\00\00\20\01\20\00\d2\00\e0" + "\03\e1\03\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i32.const 0x16) (i32.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i32.const 0xffff_fe44) (i32.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/cont_bind5.wast b/benchmarks/wasm/wasmfx/cont_bind5.wast new file mode 100644 index 0000000..c003420 --- /dev/null +++ b/benchmarks/wasm/wasmfx/cont_bind5.wast @@ -0,0 +1,25 @@ +(module +;; (type $f1 (func (result i32))) +;; (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i32 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i32 i32) (result i32) (i32.sub (local.get 0) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i32 i32) (result i32) + (resume $c2 + (local.get 1) + (cont.bind $c3 $c2 + (local.get 0) + (cont.new $c3 (ref.func $sub)))) + ) +) + +;; (assert_return (invoke "main" (i32.const 22) (i32.const 44)) (i32.const -22)) +;; (assert_return (invoke "main" (i32.const -444) (i32.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/diff_handler.wast b/benchmarks/wasm/wasmfx/diff_handler.wast new file mode 100644 index 0000000..1bc735b --- /dev/null +++ b/benchmarks/wasm/wasmfx/diff_handler.wast @@ -0,0 +1,42 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 2))) + (tag (;0;) (type 0)) + (tag (;1;) (type 0)) + (export "_start" (func 3)) + (start 3) + (elem (;0;) declare func 1 2) + (func (;1;) (type 0) + suspend 0 + suspend 1 + ) + (func (;2;) (type 0) + block ;; label = @1 + block (result (ref 1)) ;; label = @2 + ref.func 1 + cont.new 1 + resume 1 (on 0 0 (;@2;)) + call 0 + br 1 (;@1;) + end + i32.const 0 + call 0 + resume 1 + end + ) + (func (;3;) (type 0) + block ;; label = @1 + block (result (ref 1)) ;; label = @2 + ref.func 2 + cont.new 1 + resume 1 (on 1 0 (;@2;)) + br 1 (;@1;) + end + drop + i32.const 1 + call 0 + end + ) +) diff --git a/benchmarks/wasm/wasmfx/diff_resume-strip.wat b/benchmarks/wasm/wasmfx/diff_resume-strip.wat new file mode 100644 index 0000000..964aca3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/diff_resume-strip.wat @@ -0,0 +1,53 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (cont 0)) + (type (;2;) (func (result i32))) + (type (;3;) (func)) + (import "spectest" "print_i32" (func (;0;) (type 0))) + (tag (;0;) (type 2) (result i32)) + (export "_start" (func 2)) + (start 2) + (elem (;0;) declare func 1) + (func (;1;) (type 0) (param i32) + local.get 0 + call 0 + suspend 0 + call 0 + ) + (func (;2;) (type 3) + (local i32 (ref 1)) + ref.func 1 + cont.new 1 + local.set 1 + i32.const 10 + local.set 0 + block ;; label = @1 + block (result (ref 1)) ;; label = @2 + local.get 0 + local.get 1 + resume 1 (on 0 0 (;@2;)) + i32.const -2 + call 0 + br 1 (;@1;) + end + local.set 1 + local.get 0 + i32.const 1 + i32.add + local.set 0 + block ;; label = @2 + block (result (ref 1)) ;; label = @3 + local.get 0 + local.get 1 + resume 1 (on 0 0 (;@3;)) + i32.const 42 + call 0 + br 1 (;@2;) + end + i32.const 111 + call 0 + drop + end + end + ) +) diff --git a/benchmarks/wasm/wasmfx/diff_resume.wast b/benchmarks/wasm/wasmfx/diff_resume.wast new file mode 100644 index 0000000..80b20ef --- /dev/null +++ b/benchmarks/wasm/wasmfx/diff_resume.wast @@ -0,0 +1,52 @@ +(module + (import "spectest" "print_i32" (func $print_i32 (param i32))) + (type $task (func (param i32))) + (type $cont (cont $task)) + + (tag $yield (result i32)) + + (func $task1 (param $x i32) + (call $print_i32 (local.get $x)) + (suspend $yield) ;; DH: levaes a continuation on the stack, jump to the tag $yield + ;; when come back, the stack should contains a i32 value, since the return type of $yield is i32 + (call $print_i32) + ) + + (func $main (export "_start") + (local $i i32) + (local $k (ref $cont)) + (local.set $k (cont.new $cont (ref.func $task1))) + (local.set $i (i32.const 10)) + (block $h + (block $on_yield (result (ref $cont)) + (resume $cont + (on $yield $on_yield) + (local.get $i) + (local.get $k) + ) + (call $print_i32 (i32.const -2)) + (br $h)) + ;; $on_yield lands here, with the continuation on the stack + (local.set $k) + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (block $h + (block $on_yield2 (result (ref $cont)) + (resume $cont + (on $yield $on_yield2) + (local.get $i) + (local.get $k) + ) + (call $print_i32 (i32.const 42)) + (br $h) + ) + ;; $on_yield2 lands here, with the continuation on the stack + (call $print_i32 (i32.const 111)) + drop + ) + ) + ) + + (elem declare func $task1) + + (start $main) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/fun-pipes-strip.wast b/benchmarks/wasm/wasmfx/fun-pipes-strip.wast new file mode 100644 index 0000000..621d789 --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-pipes-strip.wast @@ -0,0 +1,116 @@ +(module + (type (;0;) (func (result i32))) + (type (;1;) (func (param i32) (result i32))) + (type (;2;) (cont 0)) + (type (;3;) (cont 1)) + (type (;4;) (func (param i32))) + (type (;5;) (func (param i32 (ref 2) (ref 3)))) + (type (;6;) (func (param (ref 3) (ref 2)))) + (type (;7;) (func (result i32 (ref 2)))) + (type (;8;) (func (param (ref 2) (ref 3)))) + (type (;9;) (func)) + ;; (import "spectest" "print_i32" (func (;0;) (type 4))) + + (tag (;0;) (type 4) (param i32)) + (tag (;1;) (type 0) (result i32)) + (export "pipe" (func 3)) + (export "run" (func 6)) + (start 7) + (export "main" (func 7)) + (elem (;0;) declare func 4 5) + (func (type 4) (param i32) + ) + + (func (;1;) (type 5) (param i32 (ref 2) (ref 3)) + block (result (ref 3)) ;; label = @1 + local.get 0 + local.get 2 + resume 3 (on 1 0 (;@1;)) + return + end + local.set 2 + local.get 2 + local.get 1 + return_call 2 + ) + (func (;2;) (type 6) (param (ref 3) (ref 2)) + (local i32) + block (type 7) (result i32 (ref 2)) ;; label = @1 + local.get 1 + resume 2 (on 0 0 (;@1;)) + return + end + local.set 1 + local.set 2 + local.get 2 + local.get 1 + local.get 0 + return_call 1 + ) + (func (;3;) (type 8) (param (ref 2) (ref 3)) + i32.const -1 + local.get 0 + local.get 1 + call 1 + ) + (func (;4;) (type 1) (param i32) (result i32) + loop ;; label = @1 + i32.const -1 + call 0 + local.get 0 + call 0 + local.get 0 + suspend 0 + i32.const 44444 + call 0 + local.get 0 + i32.const 1 + i32.add + local.set 0 + br 0 (;@1;) + end + unreachable + ) + (func (;5;) (type 1) (param i32) (result i32) + (local i32 i32) + i32.const 3 + local.set 1 + i32.const 0 + local.set 2 + loop ;; label = @1 + local.get 2 + suspend 1 + i32.const 55555 + call 0 + i32.add + local.set 2 + i32.const -2 + call 0 + local.get 2 + call 0 + local.get 1 + i32.const 1 + i32.sub + local.set 1 + local.get 1 + i32.const 0 + i32.ne + br_if 0 (;@1;) + end + local.get 2 + return + ) + (func (;6;) (type 4) (param i32) + local.get 0 + ref.func 4 + cont.new 3 + cont.bind 3 2 + ref.func 5 + cont.new 3 + call 3 + ) + (func (;7;) (type 9) + i32.const 1 + call 6 + ) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/fun-pipes.bin.wast b/benchmarks/wasm/wasmfx/fun-pipes.bin.wast new file mode 100644 index 0000000..0c91234 --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-pipes.bin.wast @@ -0,0 +1,27 @@ +(module definition $pipes binary + "\00\61\73\6d\01\00\00\00\01\b1\80\80\80\00\0a\60" + "\00\01\7f\60\01\7f\01\7f\5d\00\5d\01\60\01\7f\00" + "\60\03\7f\64\02\64\03\00\60\02\64\03\64\02\00\60" + "\00\02\7f\64\02\60\02\64\02\64\03\00\60\00\00\02" + "\96\80\80\80\00\01\08\73\70\65\63\74\65\73\74\09" + "\70\72\69\6e\74\5f\69\33\32\00\04\03\88\80\80\80" + "\00\07\05\06\08\01\01\04\09\0d\85\80\80\80\00\02" + "\00\04\00\00\07\8e\80\80\80\00\02\04\70\69\70\65" + "\00\03\03\72\75\6e\00\06\08\81\80\80\80\00\07\09" + "\86\80\80\80\00\01\03\00\02\04\05\0a\c4\81\80\80" + "\00\07\99\80\80\80\00\00\02\64\03\20\00\20\02\e3" + "\03\01\00\01\00\0f\0b\21\02\20\02\20\01\12\02\0b" + "\9c\80\80\80\00\01\01\7f\02\07\20\01\e3\02\01\00" + "\00\00\0f\0b\21\01\21\02\20\02\20\01\20\00\12\01" + "\0b\8a\80\80\80\00\00\41\7f\20\00\20\01\10\01\0b" + "\9b\80\80\80\00\00\03\40\41\7f\10\00\20\00\10\00" + "\20\00\e2\00\20\00\41\01\6a\21\00\0c\00\0b\00\0b" + "\af\80\80\80\00\01\02\7f\41\0a\21\01\41\00\21\02" + "\03\40\20\02\e2\01\6a\21\02\41\7e\10\00\20\02\10" + "\00\20\01\41\01\6b\21\01\20\01\41\00\47\0d\00\0b" + "\20\02\0f\0b\91\80\80\80\00\00\20\00\d2\04\e0\03" + "\e1\03\02\d2\05\e0\03\10\03\0b\86\80\80\80\00\00" + "\41\00\10\06\0b" +) +(module instance $pipes $pipes) +(invoke "run" (i32.const 0x0)) diff --git a/benchmarks/wasm/wasmfx/fun-pipes.wast b/benchmarks/wasm/wasmfx/fun-pipes.wast new file mode 100644 index 0000000..6759b7e --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-pipes.wast @@ -0,0 +1,82 @@ + +;; Simple pipes example (functional version) +;; modified for just a single module +(module $pipes + (type $pfun (func (result i32))) + (type $cfun (func (param i32) (result i32))) + (type $producer (cont $pfun)) + (type $consumer (cont $cfun)) + + (start $main) + + (func $log (import "spectest" "print_i32") (param i32)) + (tag $send (param i32)) + (tag $receive (result i32)) + + + (func $piper (param $n i32) (param $p (ref $producer)) (param $c (ref $consumer)) + (block $on-receive (result (ref $consumer)) + (resume $consumer (on $receive $on-receive) (local.get $n) (local.get $c)) + (return) + ) ;; receive + (local.set $c) + (return_call $copiper (local.get $c) (local.get $p)) + ) + + (func $copiper (param $c (ref $consumer)) (param $p (ref $producer)) + (local $n i32) + (block $on-send (result i32 (ref $producer)) + (resume $producer (on $send $on-send) (local.get $p)) + (return) + ) ;; send + (local.set $p) + (local.set $n) + (return_call $piper (local.get $n) (local.get $p) (local.get $c)) + ) + + (func $pipe (export "pipe") (param $p (ref $producer)) (param $c (ref $consumer)) + (call $piper (i32.const -1) (local.get $p) (local.get $c)) + ) + + (elem declare func $nats $sum) + + ;; send n, n+1, ... + (func $nats (param $n i32) (result i32) + (loop $l + (call $log (i32.const -1)) + (call $log (local.get $n)) + (suspend $send (local.get $n)) + (local.set $n (i32.add (local.get $n) (i32.const 1))) + (br $l) + ) + (unreachable) + ) + + ;; receive 10 nats and return their sum + (func $sum (param $dummy i32) (result i32) + (local $i i32) + (local $a i32) + (local.set $i (i32.const 10)) + (local.set $a (i32.const 0)) + (loop $l + (local.set $a (i32.add (local.get $a) (suspend $receive))) + (call $log (i32.const -2)) + (call $log (local.get $a)) + (local.set $i (i32.sub (local.get $i) (i32.const 1))) + (br_if $l (i32.ne (local.get $i) (i32.const 0))) + ) + (return (local.get $a)) + ) + + (func $run (export "run") (param $n i32) + (call $pipe (cont.bind $consumer $producer (local.get $n) (cont.new $consumer (ref.func $nats))) + (cont.new $consumer (ref.func $sum)) + ) + ) + (func $main + (call $run (i32.const 0)) + ) + +) + +(invoke "run" (i32.const 0)) diff --git a/benchmarks/wasm/wasmfx/fun-state-strip.wat b/benchmarks/wasm/wasmfx/fun-state-strip.wat new file mode 100644 index 0000000..3a05afa --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-state-strip.wat @@ -0,0 +1,59 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (func (result i32))) + (type (;2;) (cont 0)) + (type (;3;) (cont 1)) + (type (;4;) (func (param i32))) + (type (;5;) (func (param (ref 2) i32) (result i32))) + (type (;6;) (func (result i32 (ref 3)))) + (type (;7;) (func (param i32 (ref 3)) (result i32))) + (tag (;0;) (type 1) (result i32)) + (tag (;1;) (type 4) (param i32)) + (export "main" (func 3)) + (start 3) + (elem (;0;) declare func 2) + (func (;0;) (type 5) (param (ref 2) i32) (result i32) + block (result (ref 2)) ;; label = @1 + block (type 6) (result i32 (ref 3)) ;; label = @2 + local.get 1 + local.get 0 + resume 2 (on 0 1 (;@1;)) (on 1 0 (;@2;)) + return + end + return_call 1 + end + local.get 1 + return_call 0 + ) + (func (;1;) (type 7) (param i32 (ref 3)) (result i32) + block (result (ref 2)) ;; label = @1 + block (type 6) (result i32 (ref 3)) ;; label = @2 + local.get 1 + resume 3 (on 0 1 (;@1;)) (on 1 0 (;@2;)) + return + end + return_call 1 + end + local.get 0 + return_call 0 + ) + (func (;2;) (type 1) (result i32) + i32.const 7 + suspend 1 + suspend 0 + i32.const 2 + i32.const 3 + suspend 1 + i32.const 3 + suspend 0 + i32.add + i32.mul + i32.add + ) + (func (;3;) (type 1) (result i32) + i32.const 0 + ref.func 2 + cont.new 3 + call 1 + ) +) diff --git a/benchmarks/wasm/wasmfx/fun-state.bin.wast b/benchmarks/wasm/wasmfx/fun-state.bin.wast new file mode 100644 index 0000000..fe7d9b3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-state.bin.wast @@ -0,0 +1,18 @@ +(module definition $state binary + "\00\61\73\6d\01\00\00\00\01\a6\80\80\80\00\08\60" + "\01\7f\01\7f\60\00\01\7f\5d\00\5d\01\60\01\7f\00" + "\60\02\64\02\7f\01\7f\60\00\02\7f\64\03\60\02\7f" + "\64\03\01\7f\03\85\80\80\80\00\04\05\07\01\01\0d" + "\85\80\80\80\00\02\00\01\00\04\07\87\80\80\80\00" + "\01\03\72\75\6e\00\03\09\85\80\80\80\00\01\03\00" + "\01\02\0a\ec\80\80\80\00\04\9d\80\80\80\00\00\02" + "\64\02\02\06\20\01\20\00\e3\02\02\00\00\01\00\01" + "\00\0f\0b\12\01\0b\20\01\12\00\0b\9b\80\80\80\00" + "\00\02\64\02\02\06\20\01\e3\03\02\00\00\01\00\01" + "\00\0f\0b\12\01\0b\20\00\12\00\0b\95\80\80\80\00" + "\00\41\07\e2\01\e2\00\41\02\41\03\e2\01\41\03\e2" + "\00\6a\6c\6a\0b\8a\80\80\80\00\00\41\00\d2\02\e0" + "\03\10\01\0b" +) +(module instance $state $state) +(assert_return (invoke "run") (i32.const 0x13)) diff --git a/benchmarks/wasm/wasmfx/fun-state.strip.wat b/benchmarks/wasm/wasmfx/fun-state.strip.wat new file mode 100644 index 0000000..3996404 --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-state.strip.wat @@ -0,0 +1,59 @@ +(module $state + (type $gf (;0;) (func (param i32) (result i32))) + (type $sf (;1;) (func (result i32))) + (type $gk (;2;) (cont $gf)) + (type $sk (;3;) (cont $sf)) + (type (;4;) (func (param i32))) + (type (;5;) (func (param (ref $gk) i32) (result i32))) + (type (;6;) (func (result i32 (ref $sk)))) + (type (;7;) (func (param i32 (ref $sk)) (result i32))) + (tag $get (;0;) (type $sf) (result i32)) + (tag $set (;1;) (type 4) (param i32)) + ;; (export "run" (func $run)) + (export "main" (func $run)) + (elem (;0;) declare func $f) + (func $getting (;0;) (type 5) (param $k (ref $gk)) (param $s i32) (result i32) + block $on_get (result (ref $gk)) + block $on_set (type 6) (result i32 (ref $sk)) + local.get $s + local.get $k + resume $gk (on $get $on_get) (on $set $on_set) + return + end + return_call $setting + end + local.get $s + return_call $getting + ) + (func $setting (;1;) (type 7) (param $s i32) (param $k (ref $sk)) (result i32) + block $on_get (result (ref $gk)) + block $on_set (type 6) (result i32 (ref $sk)) + local.get $k + resume $sk (on $get $on_get) (on $set $on_set) + return + end + return_call $setting + end + local.get $s + return_call $getting + ) + (func $f (;2;) (type $sf) (result i32) + i32.const 7 + suspend $set + suspend $get + i32.const 2 + i32.const 3 + suspend $set + i32.const 3 + suspend $get + i32.add + i32.mul + i32.add + ) + (func $run (;3;) (type $sf) (result i32) + i32.const 0 + ref.func $f + cont.new $sk + call $setting + ) +) diff --git a/benchmarks/wasm/wasmfx/fun-state.wast b/benchmarks/wasm/wasmfx/fun-state.wast new file mode 100644 index 0000000..c5d8712 --- /dev/null +++ b/benchmarks/wasm/wasmfx/fun-state.wast @@ -0,0 +1,61 @@ +;; Simple state example - functional with heterogeneous continuations +(module $state + (tag $get (result i32)) + (tag $set (param i32)) + + (type $gf (func (param i32) (result i32))) + (type $sf (func (result i32))) + + (type $gk (cont $gf)) + (type $sk (cont $sf)) + + (func $getting (param $k (ref $gk)) (param $s i32) (result i32) + (block $on_get (result (ref $gk)) + (block $on_set (result i32 (ref $sk)) + (resume $gk (on $get $on_get) (on $set $on_set) + (local.get $s) (local.get $k) + ) + (return) + ) ;; $on_set (result i32 (ref $sk)) + (return_call $setting) + ) ;; $on_get (result (ref $gk)) + (local.get $s) + (return_call $getting) + ) + + (func $setting (param $s i32) (param $k (ref $sk)) (result i32) + (block $on_get (result (ref $gk)) + (block $on_set (result i32 (ref $sk)) + (resume $sk (on $get $on_get) (on $set $on_set) + (local.get $k) + ) + (return) + ) ;; $on_set (result i32 (ref $sk)) + (return_call $setting) + ) ;; $on_get (result (ref $gk)) + (local.get $s) + (return_call $getting) + ) + + (func $f (result i32) + (suspend $set (i32.const 7)) + (i32.add + (suspend $get) + (i32.mul + (i32.const 2) + (suspend $set (i32.const 3)) + (i32.add + (i32.const 3) + (suspend $get) + ) + ) + ) + ) + + (elem declare func $f) + (func $run (export "run") (result i32) + (call $setting (i32.const 0) (cont.new $sk (ref.func $f))) + ) +) + +(assert_return (invoke "run") (i32.const 19)) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/gen-stripped.wast b/benchmarks/wasm/wasmfx/gen-stripped.wast new file mode 100644 index 0000000..83c9fed --- /dev/null +++ b/benchmarks/wasm/wasmfx/gen-stripped.wast @@ -0,0 +1,42 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32))) + (type (;3;) (func (result i32 (ref 1)))) + (import "spectest" "print_i32" (func (;0;) (type 2))) + (tag (;0;) (type 2) (param i32)) + (start 2) + (elem (;0;) declare func 1) + (func (;1;) (type 0) + (local i32) + i32.const 100 + local.set 0 + loop ;; label = @1 + local.get 0 + suspend 0 + local.get 0 + i32.const 1 + i32.sub + local.tee 0 + br_if 0 (;@1;) + end + ) + (func (;2;) (type 0) + (local (ref 1)) + ref.func 1 + cont.new 1 + local.set 0 + loop ;; label = @1 + block (result i32 (ref 1)) ;; label = @2 + local.get 0 + resume 1 (on 0 0 (;@2;)) ;; wasmfx ref interpreter has a bug on this, you can add a bracket around `resume ..` to get around + i32.const 42 + call 0 + br 2 (;@2;) + end + local.set 0 + call 0 + br 0 (;@1;) + end + ) +) diff --git a/benchmarks/wasm/wasmfx/gen-stripped.wat b/benchmarks/wasm/wasmfx/gen-stripped.wat new file mode 100644 index 0000000..0579335 --- /dev/null +++ b/benchmarks/wasm/wasmfx/gen-stripped.wat @@ -0,0 +1,40 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32))) + (type (;3;) (func (result i32 (ref 1)))) + (import "spectest" "print_i32" (func (;0;) (type 2))) + (tag (;0;) (type 2) (param i32)) + (start 2) + (elem (;0;) declare func 1) + (func (;1;) (type 0) + (local i32) + i32.const 100 + local.set 0 + loop ;; label = @1 + local.get 0 + suspend 0 + local.get 0 + i32.const 1 + i32.sub + local.tee 0 + br_if 0 (;@1;) + end + ) + (func (;2;) (type 0) + (local (ref 1)) + ref.func 1 + cont.new 1 + local.set 0 + loop ;; label = @1 + block (type 3) (result i32 (ref 1)) ;; label = @2 + local.get 0 + resume 1 (on 0 0 (;@2;)) + return + end + local.set 0 + call 0 + br 0 (;@1;) + end + ) +) diff --git a/benchmarks/wasm/wasmfx/gen.wat b/benchmarks/wasm/wasmfx/gen.wat new file mode 100644 index 0000000..29367f3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/gen.wat @@ -0,0 +1,52 @@ +(module $generator + (type $ft (func)) + ;; Types of continuations used by the generator: + ;; No need for param or result types: No data passed back to the + ;; generator when resuming it, and $generator function has no return + ;; values. + (type $ct (cont $ft)) + (func $print (import "spectest" "print_i32") (param i32)) + + ;; Tag used to coordinate between generator and consumer: The i32 param + ;; corresponds to the generated values passed; no values passed back from + ;; generator to consumer. + (tag $gen (param i32)) + + ;; Simple generator yielding values from 100 down to 1 + (func $generator + (local $i i32) + (local.set $i (i32.const 100)) + (loop $l + ;; Suspend execution, pass current value of $i to consumer + (suspend $gen (local.get $i)) + ;; Decrement $i and exit loop once $i reaches 0 + (local.tee $i (i32.sub (local.get $i) (i32.const 1))) + (br_if $l) + ) + ) + (elem declare func $generator) + + (func $consumer + (local $c (ref $ct)) + ;; Create continuation executing function $generator. + ;; Execution only starts when resumed for the first time. + (local.set $c (cont.new $ct (ref.func $generator))) + + (loop $loop + (block $on_gen (result i32 (ref $ct)) + ;; Resume continuation $c + (resume $ct (on $gen $on_gen) (local.get $c)) + ;; $generator returned: no more data + (return) + ) + ;; Generator suspended, stack now contains [i32 (ref $ct)] + ;; Save continuation to resume it in the next iteration + (local.set $c) + ;; Stack now contains the i32 value produced by $generator + (call $print) + + (br $loop) + ) + ) + (start $consumer) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/nested-strip.wat b/benchmarks/wasm/wasmfx/nested-strip.wat new file mode 100644 index 0000000..c7c58c5 --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested-strip.wat @@ -0,0 +1,54 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func)) + (type (;3;) (cont 2)) + (type (;4;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 4))) + (tag (;0;) (type 0)) + (export "main" (func 4)) + (start 4) + (elem (;0;) declare func 1) + (elem (;1;) declare func 2) + (func (;1;) (type 0) + i32.const 111 + call 0 + suspend 0 + i32.const 333 + call 0 + ) + (func (;2;) (type 0) + i32.const 0 + call 0 + ref.func 1 + cont.new 1 + resume 1 + i32.const 444 + call 0 + return + ) + (func (;3;) (type 0) + block (result (ref null 3)) ;; label = @1 + ref.func 2 + cont.new 1 + resume 1 (on 0 0 (;@1;)) + i32.const 404 + call 0 + return + end + i32.const 222 + call 0 + resume 3 + i32.const 555 + call 0 + ) + (func (;4;) (type 0) + i32.const 0 + call 0 + ref.func 3 + cont.new 1 + resume 1 + i32.const 666 + call 0 + ) +) diff --git a/benchmarks/wasm/wasmfx/nested.wast b/benchmarks/wasm/wasmfx/nested.wast new file mode 100644 index 0000000..4591d0b --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested.wast @@ -0,0 +1,41 @@ +(module + (type $f (func)) + (type $c (cont $f)) + (type $fb (func)) + (type $cb (cont $fb)) + (import "spectest" "print_i32" (func $print_i32 (param i32))) + (tag $fetch) + (start $main) + + (func $func_b + (call $print_i32 (i32.const 111)) + (suspend $fetch) + (call $print_i32 (i32.const 333)) + ) + (elem declare func $func_b) + + (func $func_a + (call $print_i32 (i32.const 000)) + (resume $c (cont.new $c (ref.func $func_b))) + (call $print_i32 (i32.const 444)) + (return) + ) + (elem declare func $func_a) + + (func $func_c + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_a))) + (call $print_i32 (i32.const 404)) + (return) + ) + (call $print_i32 (i32.const 222)) + (resume $cb) + (call $print_i32 (i32.const 555)) + ) + + (func $main (export "main") + (call $print_i32 (i32.const 0)) + (resume $c (cont.new $c (ref.func $func_c))) + (call $print_i32 (i32.const 666)) + ) +) diff --git a/benchmarks/wasm/wasmfx/nested_resume-strip.wast b/benchmarks/wasm/wasmfx/nested_resume-strip.wast new file mode 100644 index 0000000..b1356dd --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested_resume-strip.wast @@ -0,0 +1,45 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func)) + (type (;3;) (cont 2)) + (type (;4;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 4))) + (tag (;0;) (type 0)) + (export "main" (func 3)) + (start 3) + (elem (;0;) declare func 1) + (elem (;1;) declare func 2) + (func (;1;) (type 0) + i32.const 111 + call 0 + suspend 0 + i32.const 333 + call 0 + ) + (func (;2;) (type 0) + i32.const 0 + call 0 + ref.func 1 + cont.new 1 + resume 1 + i32.const 444 + call 0 + return + ) + (func (;3;) (type 0) + block (result (ref null 3)) ;; label = @1 + ref.func 2 + cont.new 1 + resume 1 (on 0 0 (;@1;)) + i32.const 404 + call 0 + return + end + i32.const 222 + call 0 + resume 3 + i32.const 555 + call 0 + ) +) diff --git a/benchmarks/wasm/wasmfx/nested_resume-strip.wat b/benchmarks/wasm/wasmfx/nested_resume-strip.wat new file mode 100644 index 0000000..86b35b9 --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested_resume-strip.wat @@ -0,0 +1,46 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func)) + (type (;3;) (cont 2)) + (type (;4;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 4))) + (tag (;0;) (type 0)) + (export "main" (func 3)) + (start 3) + (elem (;0;) declare func 1) + (elem (;1;) declare func 2) + + (func (;1;) (type 0) + i32.const 111 + call 0 ;; output buffer [0, 111] + suspend 0 + i32.const 333 ;; output buffer [0, 111, 222, 333] + call 0 + ) + + (func (;2;) (type 0) + i32.const 0 + call 0 ;; output buffer: [0] + ref.func 1 + cont.new 1 + resume 1 + i32.const 444 ;; output buffer [0, 111, 222, 333, 444] + call 0 + return + ) + + (func (;3;) (type 0) + block (result (ref null 3)) ;; label = @1 + ref.func 2 + cont.new 1 + resume 1 (on 0 0 (;@1;)) + unreachable + end + i32.const 222 + call 0 ;; output buffer [0, 111, 222] + resume 3 + i32.const 555 ;; output buffer [0, 111, 222, 333, 444, 555] + call 0 + ) +) diff --git a/benchmarks/wasm/wasmfx/nested_resume.wast b/benchmarks/wasm/wasmfx/nested_resume.wast new file mode 100644 index 0000000..2136b0d --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested_resume.wast @@ -0,0 +1,35 @@ +(module + (type $f (func)) + (type $c (cont $f)) + (type $fb (func)) + (type $cb (cont $fb)) + (import "spectest" "print_i32" (func $print_i32 (param i32))) + (tag $fetch) + (start $main) + + (func $func_b + (call $print_i32 (i32.const 111)) + (suspend $fetch) + (call $print_i32 (i32.const 333)) + ) + (elem declare func $func_b) + + (func $func_a + (call $print_i32 (i32.const 000)) + (resume $c (cont.new $c (ref.func $func_b))) + (call $print_i32 (i32.const 444)) + (return) + ) + (elem declare func $func_a) + + (func $main (export "main") + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_a))) + (call $print_i32 (i32.const 404)) + (return) + ) + (call $print_i32 (i32.const 222)) + (resume $cb) + (call $print_i32 (i32.const 555)) + ) +) diff --git a/benchmarks/wasm/wasmfx/nested_suspend-strip.wat b/benchmarks/wasm/wasmfx/nested_suspend-strip.wat new file mode 100644 index 0000000..ab5e2bd --- /dev/null +++ b/benchmarks/wasm/wasmfx/nested_suspend-strip.wat @@ -0,0 +1,39 @@ +(module + (type (;0;) (func)) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 2))) + (tag (;0;) (type 0)) + (export "_start" (func 3)) + (start 3) + ;; (elem (;0;) declare func 1 2) + (func (;1;) (type 0) + suspend 0 + ) + (func (;2;) (type 0) + block ;; label = @1 + block (result (ref 1)) ;; label = @2 + ref.func 1 + cont.new 1 + resume 1 (on 0 0 (;@2;)) + br 1 (;@1;) + end + drop + i32.const 0 + call 0 + end + ) + (func (;3;) (type 0) + block ;; label = @1 + block (result (ref 1)) ;; label = @2 + ref.func 2 + cont.new 1 + resume 1 (on 0 0 (;@2;)) + br 1 (;@1;) + end + drop + i32.const 1 + call 0 + end + ) +) diff --git a/benchmarks/wasm/wasmfx/resume1.bin.wast b/benchmarks/wasm/wasmfx/resume1.bin.wast new file mode 100644 index 0000000..da7fa5d --- /dev/null +++ b/benchmarks/wasm/wasmfx/resume1.bin.wast @@ -0,0 +1,12 @@ +(module binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\02\96\80\80" + "\80\00\01\08\73\70\65\63\74\65\73\74\09\70\72\69" + "\6e\74\5f\69\33\32\00\02\03\83\80\80\80\00\02\00" + "\03\07\88\80\80\80\00\01\04\6d\61\69\6e\00\02\09" + "\85\80\80\80\00\01\03\00\01\01\0a\9e\80\80\80\00" + "\02\88\80\80\80\00\00\41\b2\f2\19\10\00\0b\8b\80" + "\80\80\00\00\d2\01\e0\01\e3\01\00\41\2a\0b" +) +;; (module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/resume1.wast b/benchmarks/wasm/wasmfx/resume1.wast new file mode 100644 index 0000000..e285990 --- /dev/null +++ b/benchmarks/wasm/wasmfx/resume1.wast @@ -0,0 +1,16 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (import "spectest" "print_i32" (func $print_i32 (param i32))) + (func $empty + i32.const 424242 + call $print_i32 + ) + (elem declare func $empty) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $empty))) + i32.const 42 + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/resume2.wat b/benchmarks/wasm/wasmfx/resume2.wat new file mode 100644 index 0000000..86de1fa --- /dev/null +++ b/benchmarks/wasm/wasmfx/resume2.wat @@ -0,0 +1,9 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + (func $f42 (result i32) (i32.const 42)) + (elem declare func $f42) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/resume_chain1-strip.wast b/benchmarks/wasm/wasmfx/resume_chain1-strip.wast new file mode 100644 index 0000000..047bf76 --- /dev/null +++ b/benchmarks/wasm/wasmfx/resume_chain1-strip.wast @@ -0,0 +1,31 @@ +(module + (type (;0;) (func (param i32) (result i32))) + (type (;1;) (cont 0)) + (export "main" (func 2)) + ;; (elem (;0;) declare func 0 1) + (func (;0;) (type 0) (param i32) (result i32) + local.get 0 + i32.const 10 + i32.add + ) + (func (;1;) (type 0) (param i32) (result i32) + local.get 0 + i32.const 100 + i32.add + ref.func 0 + cont.new 1 + resume 1 + i32.const 1000 + i32.add + ) + (func (;2;) (type 0) (param i32) (result i32) + local.get 0 + ref.func 1 + cont.new 1 + resume 1 + ) +) + +(assert_return (invoke "main" (i32.const 4)) (i32.const 1114)) +(assert_return (invoke "main" (i32.const 5)) (i32.const 1115)) +(assert_return (invoke "main" (i32.const 9)) (i32.const 1119)) diff --git a/benchmarks/wasm/wasmfx/suspend16-strip.wast b/benchmarks/wasm/wasmfx/suspend16-strip.wast new file mode 100644 index 0000000..6a85ad3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/suspend16-strip.wast @@ -0,0 +1,45 @@ +(module + (type (;0;) (func (result i32))) + (type (;1;) (cont 0)) + (type (;2;) (func (param i32) (result i32))) + (type (;3;) (cont 2)) + (type (;4;) (func)) + (type (;5;) (func (param i32))) + (import "spectest" "print_i32" (func (;0;) (type 5))) + (tag (;0;) (type 4)) + (tag (;1;) (type 0) (result i32)) + (start 4) + (elem (;0;) declare func 1) + (elem (;1;) declare func 2) + (func (;1;) (type 0) (result i32) + suspend 1 + i32.const 111 + call 0 + i32.const 78 + ) + (func (;2;) (type 0) (result i32) + ref.func 1 + cont.new 1 + resume 1 + i32.const 100 + call 0 + i32.const 10 + i32.add + return + ) + (func (;3;) (type 0) (result i32) + i32.const 78 + block (result (ref null 3)) ;; label = @1 + ref.func 2 + cont.new 1 + resume 1 (on 1 0 (;@1;)) + i32.const 404 + return + end + resume 3 + ) + (func + call 3 + call 0 + ) +) diff --git a/benchmarks/wasm/wasmfx/suspend16.bin.wast b/benchmarks/wasm/wasmfx/suspend16.bin.wast new file mode 100644 index 0000000..aeb8d7a --- /dev/null +++ b/benchmarks/wasm/wasmfx/suspend16.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\91\80\80\80\00\05\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\00\00\03" + "\84\80\80\80\00\03\00\00\00\0d\85\80\80\80\00\02" + "\00\04\00\00\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\02\09\89\80\80\80\00\02\03\00\01\00\03\00\01" + "\01\0a\bb\80\80\80\00\03\84\80\80\80\00\00\e2\01" + "\0b\8d\80\80\80\00\00\d2\00\e0\01\e3\01\00\41\0a" + "\6a\0f\0b\9a\80\80\80\00\00\41\ce\00\02\63\03\d2" + "\01\e0\01\e3\01\01\00\01\00\41\94\03\0f\0b\e3\03" + "\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x58)) diff --git a/benchmarks/wasm/wasmfx/suspend16.wast b/benchmarks/wasm/wasmfx/suspend16.wast new file mode 100644 index 0000000..da968d8 --- /dev/null +++ b/benchmarks/wasm/wasmfx/suspend16.wast @@ -0,0 +1,31 @@ +(module + (type $f (func (result i32))) + (type $c (cont $f)) + (type $fb (func (param i32) (result i32))) + (type $cb (cont $fb)) + (tag $dummy) + (tag $fetch (result i32)) + ;; (import "spectest" "print_i32" (func $print (param i32))) + + (func $func_b (result i32) + (suspend $fetch) + ) + (elem declare func $func_b) + + (func $func_a (result i32) + (resume $c (cont.new $c (ref.func $func_b))) + (i32.add (i32.const 10)) + (return) + ) + (elem declare func $func_a) + (func (export "main") (result i32) + (i32.const 78) + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_a))) + (return (i32.const 404)) + ) + (resume $cb) + ) +) + +;; (assert_return (invoke "main") (i32.const 88)) diff --git a/benchmarks/wasm/wasmfx/test_cont-strip.wast b/benchmarks/wasm/wasmfx/test_cont-strip.wast new file mode 100644 index 0000000..6e7eadb --- /dev/null +++ b/benchmarks/wasm/wasmfx/test_cont-strip.wast @@ -0,0 +1,71 @@ +(module + (type (;0;) (func (param i32))) + (type (;1;) (cont 0)) + (type (;2;) (func (result i32))) + (type (;3;) (func (param i32 i32))) + (type (;4;) (func)) + (import "spectest" "print_i32" (func (;0;) (type 0))) + (tag (;0;) (type 2) (result i32)) + (export "_start" (func 4)) + (start 4) + (elem (;0;) declare func 3) + (func (;1;) (type 0) (param i32) + local.get 0 + call 0 + suspend 0 + call 0 + ) + (func (;2;) (type 3) (param i32 i32) + (local i32) + local.get 0 + local.set 2 + block ;; label = @1 + loop ;; label = @2 + local.get 2 + local.get 1 + i32.gt_u + br_if 1 (;@1;) + local.get 2 + call 1 + local.get 2 + i32.const 1 + i32.add + local.set 2 + br 0 (;@2;) + end + end + ) + (func (;3;) (type 0) (param i32) + local.get 0 + i32.const 13 + call 2 + ) + (func (;4;) (type 4) + (local (ref 1) i32) + ref.func 3 + cont.new 1 + local.set 0 + i32.const 10 + local.set 1 + block ;; label = @1 + loop ;; label = @2 + block (result (ref 1)) ;; label = @3 + local.get 1 + local.get 0 + resume 1 (on 0 0 (;@3;)) + i32.const -2 + call 0 + br 2 (;@1;) + end + local.set 0 + local.get 1 + i32.const 1 + i32.add + local.set 1 + i32.const -1 + call 0 + br 0 (;@2;) + end + end + ) +) diff --git a/benchmarks/wasm/wasmfx/test_cont.wast b/benchmarks/wasm/wasmfx/test_cont.wast new file mode 100644 index 0000000..8f54088 --- /dev/null +++ b/benchmarks/wasm/wasmfx/test_cont.wast @@ -0,0 +1,55 @@ +(module + (import "spectest" "print_i32" (func $print_i32 (param i32))) + (type $task (func (param i32))) + (type $cont (cont $task)) + + (tag $yield (result i32)) + ;; DH: tag's input + continuation + ;; == block's output ((ref $cont)) + ;; == the values on the stack after suspend + ;; tag's output + ;; == continuation's input + ;; == the values on the stack when suspended computation is resumed + + (func $process (param $x i32) + (call $print_i32 (local.get $x)) + (suspend $yield) ;; DH: levaes a continuation on the stack, jump to the tag $yield + ;; when come back, the stack should contains a i32 value, since the return type of $yield is i32 + (call $print_i32)) + + (func $range (param $from i32) (param $to i32) + (local $i i32) + (local.set $i (local.get $from)) + (block $b + (loop $l + (br_if $b (i32.gt_u (local.get $i) (local.get $to))) + (call $process (local.get $i)) + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (br $l)))) + + (func $task1 (param $x i32) (call $range (local.get $x) (i32.const 13))) + + (func $main (export "_start") + (local $k (ref $cont)) + (local $i i32) + (local.set $k (cont.new $cont (ref.func $task1))) + (local.set $i (i32.const 10)) + (block $h + (loop $l + (block $on_yield (result (ref $cont)) + (resume $cont + (on $yield $on_yield) + (local.get $i) + (local.get $k)) + (call $print_i32 (i32.const -2)) ;; this code is executed only when no suspend is called in $k + (br $h)) + ;; $on_yield lands here, with the continuation on the stack + (local.set $k) ;; grab the continuation and save it + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (call $print_i32 (i32.const -1)) + (br $l)))) + + (elem declare func $task1) + + (start $main) +) \ No newline at end of file diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/TODO b/benchmarks/wasm/wasmfx/wizard-stack-switching/TODO new file mode 100644 index 0000000..def2352 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/TODO @@ -0,0 +1,15 @@ +- typechecking tests + - cont.new + - resume + - resume_throw + - suspend + - handlers + - cont.bind +- passing parameters of GC types +- order of arguments to resumes +- more chains of resumes +- more matching of tags for a suspend +- suspends +- nested suspends +- throwing + catching on another stack +- repeat all exception handling tests and systematically split the stacks? diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/build.sh b/benchmarks/wasm/wasmfx/wizard-stack-switching/build.sh new file mode 100755 index 0000000..4fefbc7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/build.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +SOURCE="${BASH_SOURCE[0]}" +while [ -h "$SOURCE" ]; do + HERE="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" + SOURCE="$(readlink "$SOURCE")" + [[ $SOURCE != /* ]] && SOURCE="$HERE/$SOURCE" +done +HERE="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" + +cd $HERE + +export WIZENG_LOC=$(cd $HERE/../../../ && pwd) +export SPEC_LOC=${SPEC_LOC:=$(cd $WIZENG_LOC/wasm-spec/repos/stack-switching && pwd)} + +if [ ! -d $SPEC_LOC ]; then + echo "WebAssembly specification repo not found: $SPEC_LOC" + exit 1 +fi + +../build.sh "$@" diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.bin.wast new file mode 100644 index 0000000..4439c09 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.bin.wast @@ -0,0 +1,6 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\99\80\80\80\00\08\60" + "\00\00\60\01\7f\00\60\00\01\7f\60\01\7f\01\7f\5d" + "\00\5d\01\5d\02\5d\03" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.wast new file mode 100644 index 0000000..47d7f9e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont0.wast @@ -0,0 +1,10 @@ +(module + (type $f1 (func)) + (type $f2 (func (param i32))) + (type $f3 (func (result i32))) + (type $f4 (func (param i32) (result i32))) + (type $c1 (cont $f1)) + (type $c2 (cont $f2)) + (type $c3 (cont $f3)) + (type $c4 (cont $f4)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.bin.wast new file mode 100644 index 0000000..4a3f5ef --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.bin.wast @@ -0,0 +1,6 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9f\80\80\80\00\0a\60" + "\01\7f\00\60\01\7e\00\60\01\7d\00\60\01\7c\00\60" + "\01\7b\00\5d\00\5d\01\5d\02\5d\03\5d\04" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.wast new file mode 100644 index 0000000..35dbdcc --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont1.wast @@ -0,0 +1,13 @@ +;; Check that continuations can be made from all basic primitives types +(module + (type $func1 (func (param i32))) + (type $func2 (func (param i64))) + (type $func3 (func (param f32))) + (type $func4 (func (param f64))) + (type $func5 (func (param v128))) + (type $cont1 (cont $func1)) + (type $cont2 (cont $func2)) + (type $cont3 (cont $func3)) + (type $cont4 (cont $func4)) + (type $cont5 (cont $func5)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.bin.wast new file mode 100644 index 0000000..797cee0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.bin.wast @@ -0,0 +1,7 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\a5\80\80\80\00\0c\60" + "\01\6e\00\60\01\6f\00\60\01\70\00\60\01\6b\00\60" + "\01\6a\00\60\01\6c\00\5d\00\5d\01\5d\02\5d\03\5d" + "\04\5d\05" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.wast new file mode 100644 index 0000000..48736d0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont2.wast @@ -0,0 +1,15 @@ +;; Check that continuations can be made from all reference and simple GC types +(module + (type $func1 (func (param anyref))) + (type $func2 (func (param externref))) + (type $func3 (func (param funcref))) + (type $func4 (func (param structref))) + (type $func5 (func (param arrayref))) + (type $func6 (func (param i31ref))) + (type $cont1 (cont $func1)) + (type $cont2 (cont $func2)) + (type $cont3 (cont $func3)) + (type $cont4 (cont $func4)) + (type $cont5 (cont $func5)) + (type $cont6 (cont $func6)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.bin.wast new file mode 100644 index 0000000..d6aa6e7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.bin.wast @@ -0,0 +1,9 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\82\80\80\80\00\01\00\07\88\80\80" + "\80\00\01\04\6d\61\69\6e\00\00\0a\91\80\80\80\00" + "\01\8b\80\80\80\00\01\01\63\01\20\00\e1\01\01\1a" + "\0b" +) +(module instance) +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.wast new file mode 100644 index 0000000..e3127f4 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind0.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func (export "main") + (local $x (ref null $c1)) + (cont.bind $c1 $c1 (local.get $x)) + drop + ) +) + +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.bin.wast new file mode 100644 index 0000000..0a84c61 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\97\80\80\80\00\02\82\80\80" + "\80\00\00\0b\8a\80\80\80\00\00\d2\00\e0\01\e1\01" + "\01\1a\0b" +) +(module instance) +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.wast new file mode 100644 index 0000000..254ca02 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind1.wast @@ -0,0 +1,13 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $nop) + (elem declare func $nop) + + (func (export "main") + (cont.bind $c1 $c1 (cont.new $c1 (ref.func $nop))) + drop + ) +) + +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.bin.wast new file mode 100644 index 0000000..b8d3b30 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.bin.wast @@ -0,0 +1,21 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\96\80\80\80\00\06\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\02\7e\7f" + "\01\7f\5d\04\03\83\80\80\80\00\02\04\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\c5\80\80\80\00\02\88\80\80" + "\80\00\00\20\00\a7\20\01\6b\0b\b2\80\80\80\00\03" + "\01\64\05\01\64\03\01\64\01\d2\00\e0\05\21\02\20" + "\00\20\02\e1\05\03\21\03\20\01\20\03\e1\03\01\21" + "\04\20\04\e3\01\00\41\f1\b1\7f\20\03\e3\03\00\1a" + "\0b" +) +(module instance) +(assert_trap + (invoke "main" (i64.const 0x16) (i32.const 0x2c)) + "continuation already consumed" +) +(assert_trap + (invoke "main" (i64.const 0xffff_ffff_ffff_fe44) (i32.const 0x6f)) + "continuation already consumed" +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.wast new file mode 100644 index 0000000..cfa936e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind10.wast @@ -0,0 +1,29 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i64 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i64 i32) (result i32) (i32.sub (i32.wrap_i64 (local.get 0)) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i64 i32) (result i32) + (local $x3 (ref $c3)) + (local $x2 (ref $c2)) + (local $x1 (ref $c1)) + (local.set $x3 (cont.new $c3 (ref.func $sub))) + (local.set $x2 (cont.bind $c3 $c2 (local.get 0) (local.get $x3))) + (local.set $x1 (cont.bind $c2 $c1 (local.get 1) (local.get $x2))) + + (resume $c1 (local.get $x1)) + (drop (resume $c2 (i32.const -9999) (local.get $x2))) + ) +) + +(assert_trap (invoke "main" (i64.const 22) (i32.const 44)) "continuation already consumed") +(assert_trap (invoke "main" (i64.const -444) (i32.const 111)) "continuation already consumed") + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.bin.wast new file mode 100644 index 0000000..1e9b975 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.bin.wast @@ -0,0 +1,21 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\96\80\80\80\00\06\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\02\7e\7f" + "\01\7f\5d\04\03\83\80\80\80\00\02\04\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\c9\80\80\80\00\02\88\80\80" + "\80\00\00\20\00\a7\20\01\6b\0b\b6\80\80\80\00\03" + "\01\64\05\01\64\03\01\64\01\d2\00\e0\05\21\02\20" + "\00\20\02\e1\05\03\21\03\20\01\20\03\e1\03\01\21" + "\04\20\04\e3\01\00\42\f1\b1\7f\41\c8\ba\7f\20\02" + "\e3\05\00\1a\0b" +) +(module instance) +(assert_trap + (invoke "main" (i64.const 0x16) (i32.const 0x2c)) + "continuation already consumed" +) +(assert_trap + (invoke "main" (i64.const 0xffff_ffff_ffff_fe44) (i32.const 0x6f)) + "continuation already consumed" +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.wast new file mode 100644 index 0000000..2e31646 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind11.wast @@ -0,0 +1,29 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i64 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i64 i32) (result i32) (i32.sub (i32.wrap_i64 (local.get 0)) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i64 i32) (result i32) + (local $x3 (ref $c3)) + (local $x2 (ref $c2)) + (local $x1 (ref $c1)) + (local.set $x3 (cont.new $c3 (ref.func $sub))) + (local.set $x2 (cont.bind $c3 $c2 (local.get 0) (local.get $x3))) + (local.set $x1 (cont.bind $c2 $c1 (local.get 1) (local.get $x2))) + + (resume $c1 (local.get $x1)) + (drop (resume $c3 (i64.const -9999) (i32.const -8888) (local.get $x3))) + ) +) + +(assert_trap (invoke "main" (i64.const 22) (i32.const 44)) "continuation already consumed") +(assert_trap (invoke "main" (i64.const -444) (i32.const 111)) "continuation already consumed") + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.bin.wast new file mode 100644 index 0000000..a1e1f33 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\99\80\80\80\00\02\82\80\80" + "\80\00\00\0b\8c\80\80\80\00\00\d2\00\e0\01\e1\01" + "\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.wast new file mode 100644 index 0000000..72a98b8 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind2.wast @@ -0,0 +1,12 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $nop) + (elem declare func $nop) + + (func (export "main") + (resume $c1 (cont.bind $c1 $c1 (cont.new $c1 (ref.func $nop)))) + ) +) + +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.bin.wast new file mode 100644 index 0000000..5e76cc3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.bin.wast @@ -0,0 +1,13 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\91\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7f\01\7f\03" + "\83\80\80\80\00\02\02\04\06\86\80\80\80\00\01\7f" + "\01\41\0b\0b\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a1\80" + "\80\80\00\02\86\80\80\80\00\00\20\00\24\00\0b\90" + "\80\80\80\00\00\20\00\d2\00\e0\03\e1\03\01\e3\01" + "\00\23\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x16)) (i32.const 0x16)) +(assert_return (invoke "main" (i32.const 0xffff_fe44)) (i32.const 0xffff_fe44)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.wast new file mode 100644 index 0000000..dd7b16e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind3.wast @@ -0,0 +1,24 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + + (global $g1 (mut i32) (i32.const 11)) + + (func $set (param i32) (global.set $g1 (local.get 0))) + (elem declare func $set) + + (func (export "main") (param i32) (result i32) + (resume $c1 + (cont.bind $c2 $c1 + (local.get 0) + (cont.new $c2 (ref.func $set)))) + (global.get $g1) + ) +) + +(assert_return (invoke "main" (i32.const 22)) (i32.const 22)) +(assert_return (invoke "main" (i32.const -444)) (i32.const -444)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.bin.wast new file mode 100644 index 0000000..3c93687 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\03\83\80\80" + "\80\00\02\02\02\07\88\80\80\80\00\01\04\6d\61\69" + "\6e\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a0" + "\80\80\80\00\02\87\80\80\80\00\00\20\00\41\2c\6a" + "\0b\8e\80\80\80\00\00\20\00\d2\00\e0\03\e1\03\01" + "\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x16)) (i32.const 0x42)) +(assert_return (invoke "main" (i32.const 0xffff_fe44)) (i32.const 0xffff_fe70)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.wast new file mode 100644 index 0000000..214a287 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind4.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (func $add44 (param i32) (result i32) (i32.add (local.get 0) (i32.const 44))) + (elem declare func $add44) + + (func (export "main") (param i32) (result i32) + (resume $c1 + (cont.bind $c2 $c1 + (local.get 0) + (cont.new $c2 (ref.func $add44)))) + ) +) + +(assert_return (invoke "main" (i32.const 22)) (i32.const 66)) +(assert_return (invoke "main" (i32.const -444)) (i32.const -400)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.bin.wast new file mode 100644 index 0000000..3f710ca --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.bin.wast @@ -0,0 +1,18 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\01\7f\01\7f\5d\00\60\02\7f\7f\01\7f\5d\02\03\83" + "\80\80\80\00\02\02\02\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\a2\80\80\80\00\02\87\80\80\80\00\00\20\00\20" + "\01\6b\0b\90\80\80\80\00\00\20\01\20\00\d2\00\e0" + "\03\e1\03\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i32.const 0x16) (i32.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i32.const 0xffff_fe44) (i32.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.wast new file mode 100644 index 0000000..d40aedf --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind5.wast @@ -0,0 +1,25 @@ +(module +;; (type $f1 (func (result i32))) +;; (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i32 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i32 i32) (result i32) (i32.sub (local.get 0) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i32 i32) (result i32) + (resume $c2 + (local.get 1) + (cont.bind $c3 $c2 + (local.get 0) + (cont.new $c3 (ref.func $sub)))) + ) +) + +(assert_return (invoke "main" (i32.const 22) (i32.const 44)) (i32.const -22)) +(assert_return (invoke "main" (i32.const -444) (i32.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.bin.wast new file mode 100644 index 0000000..2e63dac --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.bin.wast @@ -0,0 +1,18 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\01\7e\01\7f\5d\00\60\02\7f\7e\01\7f\5d\02\03\83" + "\80\80\80\00\02\02\02\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\a3\80\80\80\00\02\88\80\80\80\00\00\20\00\20" + "\01\a7\6b\0b\90\80\80\80\00\00\20\01\20\00\d2\00" + "\e0\03\e1\03\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i32.const 0x16) (i64.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i32.const 0xffff_fe44) (i64.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.wast new file mode 100644 index 0000000..7e619dd --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind6.wast @@ -0,0 +1,25 @@ +(module +;; (type $f1 (func (result i32))) +;; (type $c1 (cont $f1)) + + (type $f2 (func (param i64) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i32 i64) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i32 i64) (result i32) (i32.sub (local.get 0) (i32.wrap_i64 (local.get 1)))) + (elem declare func $sub) + + (func (export "main") (param i32 i64) (result i32) + (resume $c2 + (local.get 1) + (cont.bind $c3 $c2 + (local.get 0) + (cont.new $c3 (ref.func $sub)))) + ) +) + +(assert_return (invoke "main" (i32.const 22) (i64.const 44)) (i32.const -22)) +(assert_return (invoke "main" (i32.const -444) (i64.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.bin.wast new file mode 100644 index 0000000..9d0939c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.bin.wast @@ -0,0 +1,18 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\01\7f\01\7f\5d\00\60\02\7e\7f\01\7f\5d\02\03\83" + "\80\80\80\00\02\02\02\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\a3\80\80\80\00\02\88\80\80\80\00\00\20\00\a7" + "\20\01\6b\0b\90\80\80\80\00\00\20\01\20\00\d2\00" + "\e0\03\e1\03\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0x16) (i32.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fe44) (i32.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.wast new file mode 100644 index 0000000..bb8be34 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind7.wast @@ -0,0 +1,25 @@ +(module +;; (type $f1 (func (result i32))) +;; (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i64 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i64 i32) (result i32) (i32.sub (i32.wrap_i64 (local.get 0)) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i64 i32) (result i32) + (resume $c2 + (local.get 1) + (cont.bind $c3 $c2 + (local.get 0) + (cont.new $c3 (ref.func $sub)))) + ) +) + +(assert_return (invoke "main" (i64.const 22) (i32.const 44)) (i32.const -22)) +(assert_return (invoke "main" (i64.const -444) (i32.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.bin.wast new file mode 100644 index 0000000..860ea90 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.bin.wast @@ -0,0 +1,19 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\96\80\80\80\00\06\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\02\7e\7f" + "\01\7f\5d\04\03\83\80\80\80\00\02\04\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\a6\80\80\80\00\02\88\80\80" + "\80\00\00\20\00\a7\20\01\6b\0b\93\80\80\80\00\00" + "\20\01\20\00\d2\00\e0\05\e1\05\03\e1\03\01\e3\01" + "\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0x16) (i32.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fe44) (i32.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.wast new file mode 100644 index 0000000..b648092 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind8.wast @@ -0,0 +1,26 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i64 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i64 i32) (result i32) (i32.sub (i32.wrap_i64 (local.get 0)) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i64 i32) (result i32) + (resume $c1 + (cont.bind $c2 $c1 + (local.get 1) + (cont.bind $c3 $c2 + (local.get 0) + (cont.new $c3 (ref.func $sub))))) + ) +) + +(assert_return (invoke "main" (i64.const 22) (i32.const 44)) (i32.const -22)) +(assert_return (invoke "main" (i64.const -444) (i32.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.bin.wast new file mode 100644 index 0000000..11b3cdb --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.bin.wast @@ -0,0 +1,20 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\96\80\80\80\00\06\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\02\7e\7f" + "\01\7f\5d\04\03\83\80\80\80\00\02\04\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\bb\80\80\80\00\02\88\80\80" + "\80\00\00\20\00\a7\20\01\6b\0b\a8\80\80\80\00\03" + "\01\64\05\01\64\03\01\64\01\d2\00\e0\05\21\02\20" + "\00\20\02\e1\05\03\21\03\20\01\20\03\e1\03\01\21" + "\04\20\04\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0x16) (i32.const 0x2c)) + (i32.const 0xffff_ffea) +) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fe44) (i32.const 0x6f)) + (i32.const 0xffff_fdd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.wast new file mode 100644 index 0000000..9183b85 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_bind9.wast @@ -0,0 +1,28 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (type $f2 (func (param i32) (result i32))) + (type $c2 (cont $f2)) + + (type $f3 (func (param i64 i32) (result i32))) + (type $c3 (cont $f3)) + + (func $sub (param i64 i32) (result i32) (i32.sub (i32.wrap_i64 (local.get 0)) (local.get 1))) + (elem declare func $sub) + + (func (export "main") (param i64 i32) (result i32) + (local $x3 (ref $c3)) + (local $x2 (ref $c2)) + (local $x1 (ref $c1)) + (local.set $x3 (cont.new $c3 (ref.func $sub))) + (local.set $x2 (cont.bind $c3 $c2 (local.get 0) (local.get $x3))) + (local.set $x1 (cont.bind $c2 $c1 (local.get 1) (local.get $x2))) + + (resume $c1 (local.get $x1)) + ) +) + +(assert_return (invoke "main" (i64.const 22) (i32.const 44)) (i32.const -22)) +(assert_return (invoke "main" (i64.const -444) (i32.const 111)) (i32.const -555)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.bin.wast new file mode 100644 index 0000000..c502a6f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09" + "\85\80\80\80\00\01\03\00\01\00\0a\96\80\80\80\00" + "\02\82\80\80\80\00\00\0b\89\80\80\80\00\00\d2\00" + "\e0\01\1a\41\2a\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.wast new file mode 100644 index 0000000..ecc2e8d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new0.wast @@ -0,0 +1,12 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (cont.new $c1 (ref.func $empty)) + drop + i32.const 42 + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.bin.wast new file mode 100644 index 0000000..c5046f0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8b\80\80\80\00\03\60" + "\00\00\5d\00\60\01\7f\01\7f\03\83\80\80\80\00\02" + "\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01" + "\09\85\80\80\80\00\01\03\00\01\00\0a\9d\80\80\80" + "\00\02\82\80\80\80\00\00\0b\90\80\80\80\00\00\20" + "\00\04\63\01\d2\00\e0\01\05\d0\01\0b\d1\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x1)) +(assert_return (invoke "main" (i32.const 0x457)) (i32.const 0x0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.wast new file mode 100644 index 0000000..4e65c95 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new1.wast @@ -0,0 +1,17 @@ +;; Check if cont.new produces a non-null reference value +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $empty) (elem declare func $empty) + (func (export "main") (param i32) (result i32) + (ref.is_null + (if (result (ref null $c1)) (local.get 0) + (then (cont.new $c1 (ref.func $empty))) + (else ref.null $c1) + ) + ) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 1)) +(assert_return (invoke "main" (i32.const 1111)) (i32.const 0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.bin.wast new file mode 100644 index 0000000..752f327 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\01\7f\60\01\7f\01\68\03\84" + "\80\80\80\00\03\00\02\03\07\88\80\80\80\00\01\04" + "\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01" + "\00\0a\a8\80\80\80\00\03\82\80\80\80\00\00\0b\87" + "\80\80\80\00\00\20\00\10\02\d1\0b\8f\80\80\80\00" + "\00\20\00\04\63\01\d2\00\e0\01\05\d0\01\0b\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x1)) +(assert_return (invoke "main" (i32.const 0x457)) (i32.const 0x0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.wast new file mode 100644 index 0000000..c001f84 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new2.wast @@ -0,0 +1,18 @@ +;; Check if cont.new produces a non-null reference value +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $empty) (elem declare func $empty) + (func (export "main") (param i32) (result i32) + (ref.is_null (call $alloc (local.get 0))) + ) + (func $alloc (param i32) (result (ref null cont)) + (if (result (ref null $c1)) (local.get 0) + (then (cont.new $c1 (ref.func $empty))) + (else ref.null $c1) + ) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 1)) +(assert_return (invoke "main" (i32.const 1111)) (i32.const 0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.bin.wast new file mode 100644 index 0000000..8a11963 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.bin.wast @@ -0,0 +1,9 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\82\80\80\80\00\01\02" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\00\0a\8f" + "\80\80\80\00\01\89\80\80\80\00\00\d0\00\e0\01\1a" + "\41\2a\0b" +) +(module instance) +(assert_trap (invoke "main") "null function reference") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.wast new file mode 100644 index 0000000..1a6b413 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_new_null.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func (export "main") (result i32) + (cont.new $c1 (ref.null $f1)) + drop + i32.const 42 + ) +) + +(assert_trap (invoke "main") "null function reference") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.bin.wast new file mode 100644 index 0000000..9c622a3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\87\80\80\80\00\02\60" + "\00\01\7f\5d\00\03\83\80\80\80\00\02\00\00\04\85" + "\80\80\80\00\01\63\01\00\05\07\88\80\80\80\00\01" + "\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03\00" + "\01\00\0a\a1\80\80\80\00\02\85\80\80\80\00\00\41" + "\2a\0f\0b\91\80\80\80\00\00\41\00\d2\00\e0\01\26" + "\00\41\00\25\00\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.wast new file mode 100644 index 0000000..3d9a99b --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table0.wast @@ -0,0 +1,15 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (table $t1 5 (ref null $c1)) + + (func $f42 (result i32) (return (i32.const 42))) (elem declare func $f42) + + (func (export "main") (result i32) + (table.set $t1 (i32.const 0) (cont.new $c1 (ref.func $f42))) + (resume $c1 (table.get $t1 (i32.const 0))) + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.bin.wast new file mode 100644 index 0000000..85be4a7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.bin.wast @@ -0,0 +1,16 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8c\80\80\80\00\03\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\03\83\80\80\80\00" + "\02\00\02\04\85\80\80\80\00\01\63\01\00\05\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\a1\80\80\80\00\02\85\80" + "\80\80\00\00\41\2a\0f\0b\91\80\80\80\00\00\20\00" + "\d2\00\e0\01\26\00\20\00\25\00\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x1)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x2)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x3)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x4)) (i32.const 0x2a)) +(assert_trap (invoke "main" (i32.const 0x5)) "out of bounds table access") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.wast new file mode 100644 index 0000000..330523e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/cont_table1.wast @@ -0,0 +1,20 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + + (table $t1 5 (ref null $c1)) + + (func $f42 (result i32) (return (i32.const 42))) (elem declare func $f42) + + (func (export "main") (param i32) (result i32) + (table.set $t1 (local.get 0) (cont.new $c1 (ref.func $f42))) + (resume $c1 (table.get $t1 (local.get 0))) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 1)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 2)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 3)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 4)) (i32.const 42)) +(assert_trap (invoke "main" (i32.const 5)) "out of bounds table access") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.bin.wast new file mode 100644 index 0000000..c3bf4e9 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.bin.wast @@ -0,0 +1,13 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\92\80\80\80\00\04\60" + "\01\7f\01\7c\5d\00\60\01\7d\02\7f\7f\60\01\7f\00" + "\03\83\80\80\80\00\02\00\00\0d\83\80\80\80\00\01" + "\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01" + "\09\85\80\80\80\00\01\03\00\01\00\0a\b9\80\80\80" + "\00\02\99\80\80\80\00\01\01\7d\20\00\03\03\b2\20" + "\01\92\21\01\20\01\e2\00\0d\00\1a\0b\20\01\bb\0b" + "\95\80\80\80\00\01\01\64\01\d2\00\e0\01\21\01\03" + "\7c\41\00\20\01\e3\01\00\0b\0b" +) +(module instance) +(assert_suspension (invoke "main" (i32.const 0x0)) "unhandled tag") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.wast new file mode 100644 index 0000000..567af82 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/coret1.wast @@ -0,0 +1,31 @@ +(module + (type $f1 (func (param i32) (result f64))) + (type $c1 (cont $f1)) + + (tag $s (param f32) (result i32 i32)) + + (func $add (param i32) (result f64) + (local $sum f32) + (local.get 0) + (loop (param i32) + (f32.convert_i32_s) + (local.set $sum (f32.add (local.get $sum))) + (suspend $s (local.get $sum)) + (br_if 0) + drop + ) + (f64.promote_f32 (local.get $sum)) + ) + + (elem declare func $add) + + (func (export "main") (param i32) (result f64) + (local $x1 (ref $c1)) + (local.set $x1 (cont.new $c1 (ref.func $add))) + (loop (result f64) + (resume $c1 (i32.const 0) (local.get $x1)) + ) + ) +) + +(assert_suspension (invoke "main" (i32.const 0)) "unhandled tag") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.bin.wast new file mode 100644 index 0000000..ee553fe --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.bin.wast @@ -0,0 +1,8 @@ +(module definition $f binary + "\00\61\73\6d\01\00\00\00\01\84\80\80\80\00\01\60" + "\00\00\03\82\80\80\80\00\01\00\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\00\0a\88\80\80\80\00\01\82" + "\80\80\80\00\00\0b" +) +(module instance $f $f) +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.wast new file mode 100644 index 0000000..6f93fa3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/foo.wast @@ -0,0 +1,5 @@ +(module $f + (func (export "main")) +) + +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.bin.wast new file mode 100644 index 0000000..5628a67 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.bin.wast @@ -0,0 +1,8 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\82\80\80\80\00\01\00\07\88\80\80" + "\80\00\01\04\6d\61\69\6e\00\00\0a\90\80\80\80\00" + "\01\8a\80\80\80\00\01\01\63\01\20\00\e3\01\00\0b" +) +(module instance) +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.wast new file mode 100644 index 0000000..d639641 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume0.wast @@ -0,0 +1,10 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func (export "main") + (local $x (ref null $c1)) + (resume $c1 (local.get 0)) + ) +) + +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.bin.wast new file mode 100644 index 0000000..2785fc3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09" + "\85\80\80\80\00\01\03\00\01\00\0a\98\80\80\80\00" + "\02\82\80\80\80\00\00\0b\8b\80\80\80\00\00\d2\00" + "\e0\01\e3\01\00\41\2a\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.wast new file mode 100644 index 0000000..8c16b99 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume1.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $empty))) + i32.const 42 + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.bin.wast new file mode 100644 index 0000000..02235c8 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\01\6f\01\6f\5d\00\03\83\80\80\80\00\02\00\00\07" + "\8c\80\80\80\00\01\08\63\61\6c\6c\5f\65\5f\65\00" + "\01\09\85\80\80\80\00\01\03\00\01\00\0a\9a\80\80" + "\80\00\02\84\80\80\80\00\00\20\00\0b\8b\80\80\80" + "\00\00\20\00\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "call_e_e" (ref.extern 0)) (ref.extern 0)) +(assert_return (invoke "call_e_e" (ref.extern 1)) (ref.extern 1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.wast new file mode 100644 index 0000000..effa91f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume10.wast @@ -0,0 +1,21 @@ +;; Test round-tripping externref through a continuation works. +(module + (type $e_e (func (param externref) (result externref))) + (type $k_e_e (cont $e_e)) + + (func $id_e_e (param externref) (result externref) (local.get 0)) + + (elem declare func $id_e_e) + + (func (export "call_e_e") (param externref) (result externref) + (resume $k_e_e (local.get 0) (cont.new $k_e_e (ref.func $id_e_e))) + ) +) + +(assert_return (invoke "call_e_e" (ref.extern 0)) (ref.extern 0)) +(assert_return (invoke "call_e_e" (ref.extern 1)) (ref.extern 1)) + +;; TODO: host references? +;;(assert_return (invoke "call_e_e" (ref.host 0)) (ref.host 0)) +;;(assert_return (invoke "call_e_e" (ref.host 1)) (ref.host 1)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.bin.wast new file mode 100644 index 0000000..5c44eba --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\00\02\7f\7f\5d\00\03\83\80\80\80\00\02\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\9a\80\80\80\00\02\86" + "\80\80\80\00\00\41\2a\41\37\0b\89\80\80\80\00\00" + "\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a) (i32.const 0x37)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.wast new file mode 100644 index 0000000..cd25bd3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume11.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func (result i32 i32))) + (type $c1 (cont $f1)) + (func $f42 (result i32 i32) (i32.const 42) (i32.const 55)) + (elem declare func $f42) + (func (export "main") (result i32 i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) +) + +(assert_return (invoke "main") (i32.const 42) (i32.const 55)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.bin.wast new file mode 100644 index 0000000..4c14120 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\00\02\7f\7e\5d\00\03\83\80\80\80\00\02\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\9a\80\80\80\00\02\86" + "\80\80\80\00\00\41\56\42\49\0b\89\80\80\80\00\00" + "\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main") + (i32.const 0xffff_ffd6) + (i64.const 0xffff_ffff_ffff_ffc9) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.wast new file mode 100644 index 0000000..f1df5ef --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume12.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func (result i32 i64))) + (type $c1 (cont $f1)) + (func $f42 (result i32 i64) (i32.const -42) (i64.const -55)) + (elem declare func $f42) + (func (export "main") (result i32 i64) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) +) + +(assert_return (invoke "main") (i32.const -42) (i64.const -55)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.bin.wast new file mode 100644 index 0000000..9b2046d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.bin.wast @@ -0,0 +1,25 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\89\80\80\80\00\02\60" + "\01\7f\02\7f\7e\5d\00\03\83\80\80\80\00\02\00\00" + "\07\8d\80\80\80\00\01\09\63\61\6c\6c\5f\69\5f\69" + "\6c\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\9d" + "\80\80\80\00\02\87\80\80\80\00\00\20\00\42\bc\03" + "\0b\8b\80\80\80\00\00\20\00\d2\00\e0\01\e3\01\00" + "\0b" +) +(module instance) +(assert_return + (invoke "call_i_il" (i32.const 0xb)) + (i32.const 0xb) + (i64.const 0x1bc) +) +(assert_return + (invoke "call_i_il" (i32.const 0xffff_ff22)) + (i32.const 0xffff_ff22) + (i64.const 0x1bc) +) +(assert_return + (invoke "call_i_il" (i32.const 0xffff_face)) + (i32.const 0xffff_face) + (i64.const 0x1bc) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.wast new file mode 100644 index 0000000..4660a0e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume13.wast @@ -0,0 +1,17 @@ +;; Test round-tripping integers through a continuation works. +(module + (type $i_il (func (param i32) (result i32 i64))) + (type $k_i_il (cont $i_il)) + + (func $id_i_il (param i32) (result i32 i64) (local.get 0) (i64.const 444)) + + (elem declare func $id_i_il) + + (func (export "call_i_il") (param i32) (result i32 i64) + (resume $k_i_il (local.get 0) (cont.new $k_i_il (ref.func $id_i_il))) + ) +) + +(assert_return (invoke "call_i_il" (i32.const 11)) (i32.const 11) (i64.const 444)) +(assert_return (invoke "call_i_il" (i32.const -222)) (i32.const -222) (i64.const 444)) +(assert_return (invoke "call_i_il" (i32.const 0xFFFF_FACE)) (i32.const 0xFFFF_FACE) (i64.const 444)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.bin.wast new file mode 100644 index 0000000..50e2648 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.bin.wast @@ -0,0 +1,20 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\02\60" + "\02\7f\7f\02\7f\7f\5d\00\03\83\80\80\80\00\02\00" + "\00\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09" + "\85\80\80\80\00\01\03\00\01\00\0a\a4\80\80\80\00" + "\02\8c\80\80\80\00\00\20\00\41\0b\6a\20\01\41\16" + "\6a\0b\8d\80\80\80\00\00\20\00\20\01\d2\00\e0\01" + "\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i32.const 0x0) (i32.const 0x0)) + (i32.const 0xb) + (i32.const 0x16) +) +(assert_return + (invoke "main" (i32.const 0xa) (i32.const 0xffff_ffec)) + (i32.const 0x15) + (i32.const 0x2) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.wast new file mode 100644 index 0000000..824b591 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume14.wast @@ -0,0 +1,16 @@ +(module + (type $f1 (func (param i32 i32) (result i32 i32))) + (type $c1 (cont $f1)) + (func $add (param i32 i32) (result i32 i32) + (i32.add (local.get 0) (i32.const 11)) + (i32.add (local.get 1) (i32.const 22)) + ) + (elem declare func $add) + (func (export "main") (param i32 i32) (result i32 i32) + (resume $c1 (local.get 0) (local.get 1) (cont.new $c1 (ref.func $add))) + ) +) + +(assert_return (invoke "main" (i32.const 0) (i32.const 0)) (i32.const 11) (i32.const 22)) +(assert_return (invoke "main" (i32.const 10) (i32.const -20)) (i32.const 21) (i32.const 2)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.bin.wast new file mode 100644 index 0000000..6f84256 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.bin.wast @@ -0,0 +1,35 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\02\60" + "\04\7f\7f\7f\7f\04\7f\7f\7f\7f\5d\00\03\83\80\80" + "\80\00\02\00\00\07\88\80\80\80\00\01\04\6d\61\69" + "\6e\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\b2" + "\80\80\80\00\02\96\80\80\80\00\00\20\00\41\0b\6a" + "\20\01\41\16\6a\20\02\41\21\6a\20\03\41\2c\6a\0b" + "\91\80\80\80\00\00\20\00\20\01\20\02\20\03\d2\00" + "\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" + (i32.const 0x0) + (i32.const 0x0) + (i32.const 0x0) + (i32.const 0x0) + ) + (i32.const 0xb) + (i32.const 0x16) + (i32.const 0x21) + (i32.const 0x2c) +) +(assert_return + (invoke "main" + (i32.const 0xa) + (i32.const 0xffff_ffec) + (i32.const 0x28) + (i32.const 0xffff_ffce) + ) + (i32.const 0x15) + (i32.const 0x2) + (i32.const 0x49) + (i32.const 0xffff_fffa) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.wast new file mode 100644 index 0000000..50d44cd --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume15.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func (param i32 i32 i32 i32) (result i32 i32 i32 i32))) + (type $c1 (cont $f1)) + (func $add (param i32 i32 i32 i32) (result i32 i32 i32 i32) + (i32.add (local.get 0) (i32.const 11)) + (i32.add (local.get 1) (i32.const 22)) + (i32.add (local.get 2) (i32.const 33)) + (i32.add (local.get 3) (i32.const 44)) + ) + (elem declare func $add) + (func (export "main") (param i32 i32 i32 i32) (result i32 i32 i32 i32) + (resume $c1 (local.get 0) (local.get 1) (local.get 2) (local.get 3) + (cont.new $c1 (ref.func $add))) + ) +) + +(assert_return (invoke "main" (i32.const 0) (i32.const 0) (i32.const 0) (i32.const 0)) + (i32.const 11) (i32.const 22) (i32.const 33) (i32.const 44)) +(assert_return (invoke "main" (i32.const 10) (i32.const -20) (i32.const 40) (i32.const -50)) + (i32.const 21) (i32.const 2) (i32.const 73) (i32.const -6)) + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.bin.wast new file mode 100644 index 0000000..6f70e0e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.bin.wast @@ -0,0 +1,53 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\96\80\80\80\00\02\60" + "\08\7f\7f\7f\7f\7e\7e\7e\7e\08\7f\7f\7f\7f\7e\7e" + "\7e\7e\5d\00\03\83\80\80\80\00\02\00\00\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\d2\80\80\80\00\02\ae\80\80" + "\80\00\00\20\00\41\0b\6a\20\01\41\16\6a\20\02\41" + "\21\6a\20\03\41\2c\6a\20\04\42\ab\04\7c\20\05\42" + "\9a\05\7c\20\06\42\89\06\7c\20\07\42\f8\06\7c\0b" + "\99\80\80\80\00\00\20\00\20\01\20\02\20\03\20\04" + "\20\05\20\06\20\07\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "main" + (i32.const 0x0) + (i32.const 0x0) + (i32.const 0x0) + (i32.const 0x0) + (i64.const 0x0) + (i64.const 0x0) + (i64.const 0x0) + (i64.const 0x0) + ) + (i32.const 0xb) + (i32.const 0x16) + (i32.const 0x21) + (i32.const 0x2c) + (i64.const 0x22b) + (i64.const 0x29a) + (i64.const 0x309) + (i64.const 0x378) +) +(assert_return + (invoke "main" + (i32.const 0x64) + (i32.const 0xc8) + (i32.const 0x12c) + (i32.const 0x190) + (i64.const 0x1388) + (i64.const 0x1770) + (i64.const 0x1b58) + (i64.const 0x1f40) + ) + (i32.const 0x6f) + (i32.const 0xde) + (i32.const 0x14d) + (i32.const 0x1bc) + (i64.const 0x15b3) + (i64.const 0x1a0a) + (i64.const 0x1e61) + (i64.const 0x22b8) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.wast new file mode 100644 index 0000000..7bd6309 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume16.wast @@ -0,0 +1,38 @@ +(module + (type $f1 (func (param i32 i32 i32 i32 i64 i64 i64 i64) + (result i32 i32 i32 i32 i64 i64 i64 i64))) + (type $c1 (cont $f1)) + (func $add (param i32 i32 i32 i32 i64 i64 i64 i64) + (result i32 i32 i32 i32 i64 i64 i64 i64) + (i32.add (local.get 0) (i32.const 11)) + (i32.add (local.get 1) (i32.const 22)) + (i32.add (local.get 2) (i32.const 33)) + (i32.add (local.get 3) (i32.const 44)) + (i64.add (local.get 4) (i64.const 555)) + (i64.add (local.get 5) (i64.const 666)) + (i64.add (local.get 6) (i64.const 777)) + (i64.add (local.get 7) (i64.const 888)) + ) + (elem declare func $add) + (func (export "main") (param i32 i32 i32 i32 i64 i64 i64 i64) + (result i32 i32 i32 i32 i64 i64 i64 i64) + (resume $c1 (local.get 0) (local.get 1) (local.get 2) (local.get 3) (local.get 4) (local.get 5) (local.get 6) (local.get 7) + (cont.new $c1 (ref.func $add))) + ) +) + +(assert_return (invoke "main" + (i32.const 0) (i32.const 0) (i32.const 0) (i32.const 0) + (i64.const 0) (i64.const 0) (i64.const 0) (i64.const 0)) +;; results + (i32.const 11) (i32.const 22) (i32.const 33) (i32.const 44) + (i64.const 555) (i64.const 666) (i64.const 777) (i64.const 888)) + +(assert_return (invoke "main" + (i32.const 100) (i32.const 200) (i32.const 300) (i32.const 400) + (i64.const 5000) (i64.const 6000) (i64.const 7000) (i64.const 8000)) +;; results + (i32.const 111) (i32.const 222) (i32.const 333) (i32.const 444) + (i64.const 5555) (i64.const 6666) (i64.const 7777) (i64.const 8888)) + + diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.bin.wast new file mode 100644 index 0000000..c136052 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8c\80\80\80\00\04\60" + "\01\7f\00\5d\00\60\00\00\5d\02\03\83\80\80\80\00" + "\02\00\02\0d\83\80\80\80\00\01\00\02\07\88\80\80" + "\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00" + "\01\03\00\01\00\0a\a7\80\80\80\00\02\83\80\80\80" + "\00\00\01\0b\99\80\80\80\00\00\02\63\03\41\c5\00" + "\d2\00\e0\01\e3\01\02\00\00\00\00\00\00\d0\03\0b" + "\1a\0b" +) +(module instance) +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.wast new file mode 100644 index 0000000..dc99e15 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume17.wast @@ -0,0 +1,20 @@ +(module + (type $f1 (func (param i32))) + (type $c1 (cont $f1)) + (type $f2 (func)) + (type $c2 (cont $f2)) + (tag $ts) + (func $f42 (param i32) (nop)) + (elem declare func $f42) + (func (export "main") + (block (result (ref null $c2)) + (i32.const 69) + (cont.new $c1 (ref.func $f42)) + (resume $c1 (on $ts 0) (on $ts 0)) + (ref.null $c2) + ) + (drop) + ) +) + +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.bin.wast new file mode 100644 index 0000000..4b461df --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\87\80\80\80\00\02\60" + "\00\01\7f\5d\00\03\83\80\80\80\00\02\00\00\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\98\80\80\80\00\02\84\80" + "\80\80\00\00\41\2a\0b\89\80\80\80\00\00\d2\00\e0" + "\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.wast new file mode 100644 index 0000000..5f537dc --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume2.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + (func $f42 (result i32) (i32.const 42)) + (elem declare func $f42) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.bin.wast new file mode 100644 index 0000000..7d5c2b2 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8c\80\80\80\00\03\60" + "\01\7f\01\7f\5d\00\60\00\01\7f\03\83\80\80\80\00" + "\02\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e\00" + "\01\09\85\80\80\80\00\01\03\00\01\00\0a\9d\80\80" + "\80\00\02\87\80\80\80\00\00\20\00\41\2a\6a\0b\8b" + "\80\80\80\00\00\41\15\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x3f)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.wast new file mode 100644 index 0000000..1402c24 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume3.wast @@ -0,0 +1,12 @@ +(module + (type $f1 (func (param i32) (result i32))) + (type $c1 (cont $f1)) + (func $add42 (param i32) (result i32) + (i32.add (local.get 0) (i32.const 42))) + (elem declare func $add42) + (func (export "main") (result i32) + (resume $c1 (i32.const 21) (cont.new $c1 (ref.func $add42))) + ) +) + +(assert_return (invoke "main") (i32.const 63)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.bin.wast new file mode 100644 index 0000000..8ea0632 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\87\80\80\80\00\02\60" + "\00\01\7f\5d\00\03\83\80\80\80\00\02\00\00\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\99\80\80\80\00\02\85\80" + "\80\80\00\00\41\2a\0f\0b\89\80\80\80\00\00\d2\00" + "\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.wast new file mode 100644 index 0000000..78f180f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume4.wast @@ -0,0 +1,10 @@ +(module + (type $f1 (func (result i32))) + (type $c1 (cont $f1)) + (func $f42 (result i32) (return (i32.const 42))) (elem declare func $f42) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.bin.wast new file mode 100644 index 0000000..e758d69 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\06\86\80\80\80\00\01\7f\01\41\0f\0b\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\9c\80\80\80\00\02\86\80\80" + "\80\00\00\41\2a\24\00\0b\8b\80\80\80\00\00\d2\00" + "\e0\01\e3\01\00\23\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.wast new file mode 100644 index 0000000..701c117 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume5.wast @@ -0,0 +1,13 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (global $g (mut i32) (i32.const 15)) + (func $f42 (global.set $g (i32.const 42))) + (elem declare func $f42) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + (global.get $g) + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.bin.wast new file mode 100644 index 0000000..771477e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\03\84\80\80" + "\80\00\03\02\00\03\06\86\80\80\80\00\01\7f\01\41" + "\0f\0b\07\88\80\80\80\00\01\04\6d\61\69\6e\00\02" + "\09\85\80\80\80\00\01\03\00\01\01\0a\a7\80\80\80" + "\00\03\86\80\80\80\00\00\20\00\24\00\0b\86\80\80" + "\80\00\00\41\2a\10\00\0b\8b\80\80\80\00\00\d2\01" + "\e0\01\e3\01\00\23\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.wast new file mode 100644 index 0000000..b77b992 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume6.wast @@ -0,0 +1,14 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (global $g (mut i32) (i32.const 15)) + (func $set (param i32) (global.set $g (local.get 0))) + (func $f42 (call $set (i32.const 42))) + (elem declare func $f42) + (func (export "main") (result i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + (global.get $g) + ) +) + +(assert_return (invoke "main") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.bin.wast new file mode 100644 index 0000000..fc1a610 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.bin.wast @@ -0,0 +1,30 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\04\60" + "\01\7f\01\7f\5d\00\60\01\7e\01\7e\5d\02\03\85\80" + "\80\80\00\04\00\02\00\02\07\97\80\80\80\00\02\08" + "\63\61\6c\6c\5f\69\5f\69\00\02\08\63\61\6c\6c\5f" + "\6c\5f\6c\00\03\09\86\80\80\80\00\01\03\00\02\00" + "\01\0a\b3\80\80\80\00\04\84\80\80\80\00\00\20\00" + "\0b\84\80\80\80\00\00\20\00\0b\8b\80\80\80\00\00" + "\20\00\d2\00\e0\01\e3\01\00\0b\8b\80\80\80\00\00" + "\20\00\d2\01\e0\03\e3\03\00\0b" +) +(module instance) +(assert_return (invoke "call_i_i" (i32.const 0xb)) (i32.const 0xb)) +(assert_return + (invoke "call_i_i" (i32.const 0xffff_ff22)) + (i32.const 0xffff_ff22) +) +(assert_return + (invoke "call_i_i" (i32.const 0xffff_face)) + (i32.const 0xffff_face) +) +(assert_return (invoke "call_l_l" (i64.const 0x113b)) (i64.const 0x113b)) +(assert_return + (invoke "call_l_l" (i64.const 0xffff_ffff_ffff_7e3a)) + (i64.const 0xffff_ffff_ffff_7e3a) +) +(assert_return + (invoke "call_l_l" (i64.const 0xdead_ffff_face)) + (i64.const 0xdead_ffff_face) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.wast new file mode 100644 index 0000000..a14f0df --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume7.wast @@ -0,0 +1,29 @@ +;; Test round-tripping integers through a continuation works. +(module + (type $i_i (func (param i32) (result i32))) + (type $k_i_i (cont $i_i)) + + (type $l_l (func (param i64) (result i64))) + (type $k_l_l (cont $l_l)) + + (func $id_i_i (param i32) (result i32) (local.get 0)) + (func $id_l_l (param i64) (result i64) (local.get 0)) + + (elem declare func $id_i_i $id_l_l) + + (func (export "call_i_i") (param i32) (result i32) + (resume $k_i_i (local.get 0) (cont.new $k_i_i (ref.func $id_i_i))) + ) + + (func (export "call_l_l") (param i64) (result i64) + (resume $k_l_l (local.get 0) (cont.new $k_l_l (ref.func $id_l_l))) + ) +) + +(assert_return (invoke "call_i_i" (i32.const 11)) (i32.const 11)) +(assert_return (invoke "call_i_i" (i32.const -222)) (i32.const -222)) +(assert_return (invoke "call_i_i" (i32.const 0xFFFF_FACE)) (i32.const 0xFFFF_FACE)) + +(assert_return (invoke "call_l_l" (i64.const 4411)) (i64.const 4411)) +(assert_return (invoke "call_l_l" (i64.const -33222)) (i64.const -33222)) +(assert_return (invoke "call_l_l" (i64.const 0xDEAD_FFFF_FACE)) (i64.const 0xDEAD_FFFF_FACE)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.bin.wast new file mode 100644 index 0000000..0410bf4 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.bin.wast @@ -0,0 +1,33 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\04\60" + "\01\7d\01\7d\5d\00\60\01\7c\01\7c\5d\02\03\85\80" + "\80\80\00\04\00\02\00\02\07\97\80\80\80\00\02\08" + "\63\61\6c\6c\5f\66\5f\66\00\02\08\63\61\6c\64\5f" + "\64\5f\6c\00\03\09\86\80\80\80\00\01\03\00\02\00" + "\01\0a\b3\80\80\80\00\04\84\80\80\80\00\00\20\00" + "\0b\84\80\80\80\00\00\20\00\0b\8b\80\80\80\00\00" + "\20\00\d2\00\e0\01\e3\01\00\0b\8b\80\80\80\00\00" + "\20\00\d2\01\e0\03\e3\03\00\0b" +) +(module instance) +(assert_return (invoke "call_f_f" (f32.const 0x1.6p+3)) (f32.const 0x1.6p+3)) +(assert_return + (invoke "call_f_f" (f32.const -0x1.bcp+7)) + (f32.const -0x1.bcp+7) +) +(assert_return + (invoke "call_f_f" (f32.const 0x1.ffff_f6p+31)) + (f32.const 0x1.ffff_f6p+31) +) +(assert_return + (invoke "cald_d_l" (f64.const 0x1.13bp+12)) + (f64.const 0x1.13bp+12) +) +(assert_return + (invoke "cald_d_l" (f64.const -0x1.038cp+15)) + (f64.const -0x1.038cp+15) +) +(assert_return + (invoke "cald_d_l" (f64.const 0x1.bd5b_ffff_f59cp+47)) + (f64.const 0x1.bd5b_ffff_f59cp+47) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.wast new file mode 100644 index 0000000..635157c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume8.wast @@ -0,0 +1,29 @@ +;; Test round-tripping floats through a continuation works. +(module + (type $f_f (func (param f32) (result f32))) + (type $k_f_f (cont $f_f)) + + (type $d_d (func (param f64) (result f64))) + (type $k_d_d (cont $d_d)) + + (func $id_f_f (param f32) (result f32) (local.get 0)) + (func $id_d_d (param f64) (result f64) (local.get 0)) + + (elem declare func $id_f_f $id_d_d) + + (func (export "call_f_f") (param f32) (result f32) + (resume $k_f_f (local.get 0) (cont.new $k_f_f (ref.func $id_f_f))) + ) + + (func (export "cald_d_l") (param f64) (result f64) + (resume $k_d_d (local.get 0) (cont.new $k_d_d (ref.func $id_d_d))) + ) +) + +(assert_return (invoke "call_f_f" (f32.const 11)) (f32.const 11)) +(assert_return (invoke "call_f_f" (f32.const -222)) (f32.const -222)) +(assert_return (invoke "call_f_f" (f32.const 0xFFFF_FACE)) (f32.const 0xFFFF_FACE)) + +(assert_return (invoke "cald_d_l" (f64.const 4411)) (f64.const 4411)) +(assert_return (invoke "cald_d_l" (f64.const -33222)) (f64.const -33222)) +(assert_return (invoke "cald_d_l" (f64.const 0xDEAD_FFFF_FACE)) (f64.const 0xDEAD_FFFF_FACE)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.bin.wast new file mode 100644 index 0000000..87dd64c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.bin.wast @@ -0,0 +1,38 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\01\7b\01\7b\5d\00\03\83\80\80\80\00\02\00\00\07" + "\8c\80\80\80\00\01\08\63\61\6c\6c\5f\73\5f\73\00" + "\01\09\85\80\80\80\00\01\03\00\01\00\0a\9a\80\80" + "\80\00\02\84\80\80\80\00\00\20\00\0b\8b\80\80\80" + "\00\00\20\00\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return + (invoke "call_s_s" + (v128.const i32x4 0x302_0100 0x706_0504 0xb0a_0908 0xf0e_0d0c) + ) + (v128.const i8x16 + 0x0 + 0x1 + 0x2 + 0x3 + 0x4 + 0x5 + 0x6 + 0x7 + 0x8 + 0x9 + 0xa + 0xb + 0xc + 0xd + 0xe + 0xf + ) +) +(assert_return + (invoke "call_s_s" + (v128.const i32x4 0x6465_6667 0x6869_6a6b 0x6c6d_6e6f 0x7071_7273) + ) + (v128.const i32x4 0x6465_6667 0x6869_6a6b 0x6c6d_6e6f 0x7071_7273) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.wast new file mode 100644 index 0000000..d6b8c91 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume9.wast @@ -0,0 +1,19 @@ +;; Test round-tripping V128 through a continuation works. +(module + (type $s_s (func (param v128) (result v128))) + (type $k_s_s (cont $s_s)) + + (func $id_s_s (param v128) (result v128) (local.get 0)) + + (elem declare func $id_s_s) + + (func (export "call_s_s") (param v128) (result v128) + (resume $k_s_s (local.get 0) (cont.new $k_s_s (ref.func $id_s_s))) + ) +) + +(assert_return (invoke "call_s_s" (v128.const i8x16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) + (v128.const i8x16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) + +(assert_return (invoke "call_s_s" (v128.const i32x4 0x64656667 0x68696a6b 0x6c6d6e6f 0x70717273)) + (v128.const i32x4 0x64656667 0x68696a6b 0x6c6d6e6f 0x70717273)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.bin.wast new file mode 100644 index 0000000..bd97bcc --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\03\83\80\80" + "\80\00\02\00\03\0d\83\80\80\80\00\01\00\02\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\a3\80\80\80\00\02\86\80" + "\80\80\00\00\41\2f\08\00\0b\92\80\80\80\00\00\1f" + "\40\01\00\00\00\d2\00\e0\01\e3\01\00\0b\41\2a\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2f)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.wast new file mode 100644 index 0000000..46dade3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw0.wast @@ -0,0 +1,19 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i32)) + (func $throw + (throw $t (i32.const 47)) + ) + (elem declare func $throw) + (func (export "main") (result i32) + (try_table (catch $t 0) + (resume + $c1 + (cont.new $c1 (ref.func $throw))) + ) + i32.const 42 ;; unreachable + ) +) + +(assert_return (invoke "main") (i32.const 47)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.bin.wast new file mode 100644 index 0000000..b1635c6 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\01\7f\01\7f\03\83\80" + "\80\80\00\02\00\03\0d\83\80\80\80\00\01\00\02\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\a3\80\80\80\00\02\86" + "\80\80\80\00\00\41\2f\08\00\0b\92\80\80\80\00\00" + "\1f\40\01\00\00\00\d2\00\e0\01\e3\01\00\0b\41\2a" + "\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x2c)) (i32.const 0x2f)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.wast new file mode 100644 index 0000000..77aa1c8 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw1.wast @@ -0,0 +1,19 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i32)) + (func $throw + (throw $t (i32.const 47)) + ) + (elem declare func $throw) + (func (export "main") (param i32) (result i32) + (try_table (catch $t 0) + (resume + $c1 + (cont.new $c1 (ref.func $throw))) + ) + i32.const 42 ;; unreachable + ) +) + +(assert_return (invoke "main" (i32.const 44)) (i32.const 47)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.bin.wast new file mode 100644 index 0000000..1b7eb17 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8c\80\80\80\00\03\60" + "\01\7f\00\5d\00\60\01\7f\01\7f\03\83\80\80\80\00" + "\02\00\02\0d\83\80\80\80\00\01\00\00\07\88\80\80" + "\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00" + "\01\03\00\01\00\0a\a5\80\80\80\00\02\86\80\80\80" + "\00\00\20\00\08\00\0b\94\80\80\80\00\00\1f\40\01" + "\00\00\00\20\00\d2\00\e0\01\e3\01\00\0b\41\2a\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x2c)) (i32.const 0x2c)) +(assert_return (invoke "main" (i32.const 0xffff_ffd1)) (i32.const 0xffff_ffd1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.wast new file mode 100644 index 0000000..4198f6c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw2.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func (param i32))) + (type $c1 (cont $f1)) + (tag $t (param i32)) + (func $throw (param i32) + (throw $t (local.get 0)) + ) + (elem declare func $throw) + (func (export "main") (param i32) (result i32) + (try_table (catch $t 0) + (resume + $c1 + (local.get 0) + (cont.new $c1 (ref.func $throw))) + ) + i32.const 42 ;; unreachable + ) +) + +(assert_return (invoke "main" (i32.const 44)) (i32.const 44)) +(assert_return (invoke "main" (i32.const -47)) (i32.const -47)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.bin.wast new file mode 100644 index 0000000..01eb18e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.bin.wast @@ -0,0 +1,21 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\03\60" + "\02\7e\7c\00\5d\00\60\02\7e\7c\02\7e\7c\03\83\80" + "\80\80\00\02\00\02\0d\83\80\80\80\00\01\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\b2\80\80\80\00\02\88" + "\80\80\80\00\00\20\00\20\01\08\00\0b\9f\80\80\80" + "\00\00\1f\40\01\00\00\00\20\00\20\01\d2\00\e0\01" + "\e3\01\00\0b\42\2a\44\00\00\00\00\00\80\47\40\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fba9) (f64.const 0x1.a0ap+11)) + (i64.const 0xffff_ffff_ffff_fba9) + (f64.const 0x1.a0ap+11) +) +(assert_return + (invoke "main" (i64.const 0xface_b00c) (f64.const 0x1.a0ap+11)) + (i64.const 0xface_b00c) + (f64.const 0x1.a0ap+11) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.wast new file mode 100644 index 0000000..3667a61 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw3.wast @@ -0,0 +1,23 @@ +(module + (type $f1 (func (param i64 f64))) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $throw (param i64 f64) + (throw $t (local.get 0) (local.get 1)) + ) + (elem declare func $throw) + (func (export "main") (param i64 f64) (result i64 f64) + (try_table (catch $t 0) + (resume + $c1 + (local.get 0) + (local.get 1) + (cont.new $c1 (ref.func $throw))) + ) + i64.const 42 ;; unreachable + f64.const 47 + ) +) + +(assert_return (invoke "main" (i64.const -1111) (f64.const 3333)) (i64.const -1111) (f64.const 3333)) +(assert_return (invoke "main" (i64.const 0xFACE_B00C) (f64.const 3333)) (i64.const 0xFACE_B00C) (f64.const 3333)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.bin.wast new file mode 100644 index 0000000..80600ac --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.bin.wast @@ -0,0 +1,22 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\03\60" + "\02\7e\7c\00\5d\00\60\02\7e\7c\02\7e\7c\03\84\80" + "\80\80\00\03\00\00\02\0d\83\80\80\80\00\01\00\00" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\02\09\85" + "\80\80\80\00\01\03\00\01\01\0a\bf\80\80\80\00\03" + "\88\80\80\80\00\00\20\00\20\01\08\00\0b\88\80\80" + "\80\00\00\20\00\20\01\10\00\0b\9f\80\80\80\00\00" + "\1f\40\01\00\00\00\20\00\20\01\d2\01\e0\01\e3\01" + "\00\0b\42\2a\44\00\00\00\00\00\80\47\40\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fba9) (f64.const 0x1.a0ap+11)) + (i64.const 0xffff_ffff_ffff_fba9) + (f64.const 0x1.a0ap+11) +) +(assert_return + (invoke "main" (i64.const 0x5a1a_d1ce_bad1_c0de) (f64.const 0x1.a62p+11)) + (i64.const 0x5a1a_d1ce_bad1_c0de) + (f64.const 0x1.a62p+11) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.wast new file mode 100644 index 0000000..9e3803e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_and_throw4.wast @@ -0,0 +1,26 @@ +(module + (type $f1 (func (param i64 f64))) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $throw (param i64 f64) + (throw $t (local.get 0) (local.get 1)) + ) + (func $call (param i64 f64) + (call $throw (local.get 0) (local.get 1)) + ) + (elem declare func $call) + (func (export "main") (param i64 f64) (result i64 f64) + (try_table (catch $t 0) + (resume + $c1 + (local.get 0) + (local.get 1) + (cont.new $c1 (ref.func $call))) + ) + i64.const 42 ;; unreachable + f64.const 47 + ) +) + +(assert_return (invoke "main" (i64.const -1111) (f64.const 3333)) (i64.const -1111) (f64.const 3333)) +(assert_return (invoke "main" (i64.const 0x5A1AD1CEBAD1C0DE) (f64.const 3377)) (i64.const 0x5A1AD1CEBAD1C0DE) (f64.const 3377)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.bin.wast new file mode 100644 index 0000000..f364c77 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\00\02\7f\7f\5d\00\03\84\80\80\80\00\03\00\00\00" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\02\09\86" + "\80\80\80\00\01\03\00\02\00\01\0a\a8\80\80\80\00" + "\03\86\80\80\80\00\00\41\2a\41\37\0b\89\80\80\80" + "\00\00\d2\00\e0\01\e3\01\00\0b\89\80\80\80\00\00" + "\d2\01\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2a) (i32.const 0x37)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.wast new file mode 100644 index 0000000..5ace696 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain0.wast @@ -0,0 +1,14 @@ +(module + (type $f1 (func (result i32 i32))) + (type $c1 (cont $f1)) + (func $f42 (result i32 i32) (i32.const 42) (i32.const 55)) + (func $cf42 (result i32 i32) + (resume $c1 (cont.new $c1 (ref.func $f42))) + ) + (elem declare func $f42 $cf42) + (func (export "main") (result i32 i32) + (resume $c1 (cont.new $c1 (ref.func $cf42))) + ) +) + +(assert_return (invoke "main") (i32.const 42) (i32.const 55)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.bin.wast new file mode 100644 index 0000000..e4f1a1d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\01\7f\01\7f\5d\00\03\84\80\80\80\00\03\00\00\00" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\02\09\86" + "\80\80\80\00\01\03\00\02\00\01\0a\b5\80\80\80\00" + "\03\87\80\80\80\00\00\20\00\41\0a\6a\0b\93\80\80" + "\80\00\00\20\00\41\e4\00\6a\d2\00\e0\01\e3\01\00" + "\41\e8\07\6a\0b\8b\80\80\80\00\00\20\00\d2\01\e0" + "\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x4)) (i32.const 0x45a)) +(assert_return (invoke "main" (i32.const 0x5)) (i32.const 0x45b)) +(assert_return (invoke "main" (i32.const 0x9)) (i32.const 0x45f)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.wast new file mode 100644 index 0000000..a2cf5dd --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain1.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func (param i32) (result i32))) + (type $c1 (cont $f1)) + (func $f42 (param i32) (result i32) + (i32.add (local.get 0) (i32.const 10))) + (func $cf42 (param i32) (result i32) + (i32.add + (resume $c1 + (i32.add (local.get 0) (i32.const 100)) + (cont.new $c1 (ref.func $f42))) + (i32.const 1000)) + ) + (elem declare func $f42 $cf42) + (func (export "main") (param i32) (result i32) + (resume $c1 (local.get 0) (cont.new $c1 (ref.func $cf42))) + ) +) + +(assert_return (invoke "main" (i32.const 4)) (i32.const 1114)) +(assert_return (invoke "main" (i32.const 5)) (i32.const 1115)) +(assert_return (invoke "main" (i32.const 9)) (i32.const 1119)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.bin.wast new file mode 100644 index 0000000..a802187 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.bin.wast @@ -0,0 +1,21 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\a2\80\80\80\00\09\60" + "\02\7f\7d\00\5d\00\60\02\7d\7f\00\5d\02\60\01\7f" + "\00\5d\04\60\01\7d\00\5d\06\60\02\7f\7d\02\7d\7f" + "\03\86\80\80\80\00\05\04\06\02\00\08\06\8e\80\80" + "\80\00\02\7f\01\41\0b\0b\7d\01\43\00\00\30\41\0b" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\04\09\88" + "\80\80\80\00\01\03\00\04\00\01\02\03\0a\d8\80\80" + "\80\00\05\86\80\80\80\00\00\20\00\24\00\0b\86\80" + "\80\80\00\00\20\00\24\01\0b\94\80\80\80\00\00\20" + "\01\d2\00\e0\05\e3\05\00\20\00\d2\01\e0\07\e3\07" + "\00\0b\8d\80\80\80\00\00\20\01\20\00\d2\02\e0\03" + "\e3\03\00\0b\91\80\80\80\00\00\20\00\20\01\d2\03" + "\e0\01\e3\01\00\23\01\23\00\0b" +) +(module instance) +(assert_return + (invoke "main" (i32.const 0x16) (f32.const 0x1.6p+4)) + (f32.const 0x1.6p+4) + (i32.const 0x16) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.wast new file mode 100644 index 0000000..a7d582b --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain2.wast @@ -0,0 +1,41 @@ +(module + (global $g_i (mut i32) (i32.const 11)) + (global $g_f (mut f32) (f32.const 11)) + + (type $f_if (func (param i32 f32))) + (type $c_if (cont $f_if)) + + (type $f_fi (func (param f32 i32))) + (type $c_fi (cont $f_fi)) + + (type $f_i (func (param i32))) + (type $c_i (cont $f_i)) + + (type $f_f (func (param f32))) + (type $c_f (cont $f_f)) + + (func $set_i (param i32) + (global.set $g_i (local.get 0))) + + (func $set_f (param f32) + (global.set $g_f (local.get 0))) + + (func $set_fi (param f32 i32) + (resume $c_i (local.get 1) (cont.new $c_i (ref.func $set_i))) + (resume $c_f (local.get 0) (cont.new $c_f (ref.func $set_f))) + ) + + (elem declare func $set_i $set_f $set_fi $set_if) + + (func $set_if (param i32 f32) + (resume $c_fi (local.get 1) (local.get 0) (cont.new $c_fi (ref.func $set_fi))) + ) + + (func (export "main") (param i32 f32) (result f32 i32) + (resume $c_if (local.get 0) (local.get 1) (cont.new $c_if (ref.func $set_if))) + (global.get $g_f) + (global.get $g_i) + ) +) + +(assert_return (invoke "main" (i32.const 22) (f32.const 22)) (f32.const 22) (i32.const 22)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.bin.wast new file mode 100644 index 0000000..789cb1d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.bin.wast @@ -0,0 +1,16 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\88\80\80\80\00\02\60" + "\01\7f\01\7f\5d\00\03\83\80\80\80\00\02\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\b0\80\80\80\00\02\9a" + "\80\80\80\00\00\20\00\45\04\7f\41\00\05\41\01\20" + "\00\41\01\6b\d2\00\e0\01\e3\01\00\6a\0b\0b\8b\80" + "\80\80\00\00\20\00\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x0)) +(assert_return (invoke "main" (i32.const 0x1)) (i32.const 0x1)) +(assert_return (invoke "main" (i32.const 0x2)) (i32.const 0x2)) +(assert_return (invoke "main" (i32.const 0x5)) (i32.const 0x5)) +(assert_return (invoke "main" (i32.const 0x2a)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x80)) (i32.const 0x80)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.wast new file mode 100644 index 0000000..fc867db --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_chain3.wast @@ -0,0 +1,29 @@ +(module + (type $f1 (func (param i32) (result i32))) + (type $c1 (cont $f1)) + (func $foo (param i32) (result i32) + (if (result i32) (i32.eqz (local.get 0)) + (then (i32.const 0)) + (else + (i32.add + (i32.const 1) + (resume $c1 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c1 (ref.func $foo)) + ) + ) + ) + ) + ) + (elem declare func $foo) + (func (export "main") (param i32) (result i32) + (resume $c1 (local.get 0) (cont.new $c1 (ref.func $foo))) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 0)) +(assert_return (invoke "main" (i32.const 1)) (i32.const 1)) +(assert_return (invoke "main" (i32.const 2)) (i32.const 2)) +(assert_return (invoke "main" (i32.const 5)) (i32.const 5)) +(assert_return (invoke "main" (i32.const 42)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 128)) (i32.const 128)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.bin.wast new file mode 100644 index 0000000..84878fe --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\06\86\80\80\80\00\01\7f\01\41\0f\0b\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\a8\80\80\80\00\02\86\80\80" + "\80\00\00\41\2a\24\00\0b\97\80\80\80\00\01\01\64" + "\01\d2\00\e0\01\21\00\20\00\e3\01\00\23\00\20\00" + "\e3\01\00\0b" +) +(module instance) +(assert_trap (invoke "main") "continuation already consumed") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.wast new file mode 100644 index 0000000..31f9f54 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_expired0.wast @@ -0,0 +1,16 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (global $g (mut i32) (i32.const 15)) + (func $f42 (global.set $g (i32.const 42))) + (elem declare func $f42) + (func (export "main") (result i32) + (local $x (ref $c1)) + (local.set $x (cont.new $c1 (ref.func $f42))) + (resume $c1 (local.get $x)) + (global.get $g) + (resume $c1 (local.get $x)) ;; must trap + ) +) + +(assert_trap (invoke "main") "continuation already consumed") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.bin.wast new file mode 100644 index 0000000..00785ac --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\93\80\80\80\00\04\5f" + "\02\7f\00\7f\00\60\01\63\00\01\7f\5d\01\60\00\01" + "\7f\03\83\80\80\80\00\02\01\03\07\89\80\80\80\00" + "\01\05\67\65\74\5f\30\00\01\09\85\80\80\80\00\01" + "\03\00\01\00\0a\a3\80\80\80\00\02\88\80\80\80\00" + "\00\20\00\fb\02\00\00\0b\90\80\80\80\00\00\41\2a" + "\41\18\fb\00\00\d2\00\e0\02\e3\02\00\0b" +) +(module instance) +(assert_return (invoke "get_0") (i32.const 0x2a)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.wast new file mode 100644 index 0000000..fa19ee1 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype0.wast @@ -0,0 +1,16 @@ +(module + (type $s (struct (field i32) (field i32))) + (type $f (func (param (ref null $s)) (result i32))) + (type $c (cont $f)) + + (func $foo (param (ref null $s)) (result i32) + (struct.get $s 0 (local.get 0)) + ) + (elem declare func $foo) + (func (export "get_0") (result i32) + (struct.new $s (i32.const 42) (i32.const 24)) + (resume $c (cont.new $c (ref.func $foo))) + ) +) + +(assert_return (invoke "get_0") (i32.const 42)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.bin.wast new file mode 100644 index 0000000..3754e0c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.bin.wast @@ -0,0 +1,15 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\99\80\80\80\00\05\5f" + "\02\7f\01\7f\00\60\00\01\7f\5d\01\60\01\63\00\00" + "\60\00\02\63\00\63\02\03\83\80\80\80\00\02\01\01" + "\0d\83\80\80\80\00\01\00\03\07\89\80\80\80\00\01" + "\05\67\65\74\5f\30\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\c8\80\80\80\00\02\98\80\80\80\00\01" + "\01\63\00\41\2a\41\18\fb\00\00\21\00\20\00\e2\00" + "\20\00\fb\02\00\00\0b\a5\80\80\80\00\01\01\63\02" + "\02\04\d2\00\e0\02\e3\02\01\00\00\00\1a\d0\00\d0" + "\02\0b\21\00\41\80\10\fb\05\00\00\20\00\e3\02\00" + "\0b" +) +(module instance) +(assert_return (invoke "get_0") (i32.const 0x800)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.wast new file mode 100644 index 0000000..e463373 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype1.wast @@ -0,0 +1,31 @@ +(module + (type $s (struct (field (mut i32)) (field i32))) + (type $f (func (result i32))) + (type $c (cont $f)) + (tag $tag (param (ref null $s))) + + (func $foo (result i32) + (local $struct (ref null $s)) + (local.set $struct (struct.new $s (i32.const 42) (i32.const 24))) + + (suspend $tag (local.get $struct)) + (struct.get $s 0 (local.get $struct)) + ) + (elem declare func $foo) + (func (export "get_0") (result i32) + (local $temp (ref null $c)) + + (block $b (result (ref null $s) (ref null $c)) + (cont.new $c (ref.func $foo)) + (resume $c (on $tag $b)) + (drop) + (ref.null $s) + (ref.null $c) + ) + (local.set $temp) + (struct.set $s 0 (i32.const 2048)) + (resume $c (local.get $temp)) + ) +) + +(assert_return (invoke "get_0") (i32.const 2048)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.bin.wast new file mode 100644 index 0000000..9628cda --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.bin.wast @@ -0,0 +1,49 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\ac\80\80\80\00\0a\5e" + "\7d\01\60\02\7f\7d\01\63\00\5d\01\60\01\7d\01\63" + "\00\5d\03\60\00\01\63\00\5d\05\60\00\01\7d\60\01" + "\7f\01\7d\60\01\63\04\01\63\00\03\83\80\80\80\00" + "\02\01\08\0d\83\80\80\80\00\01\00\07\07\88\80\80" + "\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00" + "\01\03\00\01\00\0a\99\81\80\80\00\02\af\80\80\80" + "\00\02\01\63\00\01\7f\43\00\00\00\00\20\00\fb\06" + "\00\21\02\03\40\20\02\20\03\e2\00\fb\0e\00\20\03" + "\41\01\6a\21\03\20\03\20\00\49\0d\00\0b\20\02\0b" + "\df\80\80\80\00\04\01\63\04\01\63\00\01\7d\01\7f" + "\20\00\d2\00\e0\02\e1\02\04\41\00\21\04\03\09\21" + "\01\20\04\b3\20\01\e1\04\06\41\01\20\04\6a\21\04" + "\e3\06\01\00\00\00\0b\21\02\43\00\00\00\00\21\03" + "\41\00\21\04\03\40\20\02\20\04\fb\0b\00\20\03\92" + "\21\03\20\04\41\01\6a\21\04\20\04\20\00\49\0d\00" + "\0b\20\03\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x1)) (f32.const 0x1p+0)) +(assert_return (invoke "main" (i32.const 0x2)) (f32.const 0x1.8p+1)) +(assert_return (invoke "main" (i32.const 0x3)) (f32.const 0x1.8p+2)) +(assert_return (invoke "main" (i32.const 0x4)) (f32.const 0x1.4p+3)) +(assert_return (invoke "main" (i32.const 0x5)) (f32.const 0x1.ep+3)) +(assert_return (invoke "main" (i32.const 0x6)) (f32.const 0x1.5p+4)) +(assert_return (invoke "main" (i32.const 0x7)) (f32.const 0x1.cp+4)) +(assert_return (invoke "main" (i32.const 0x8)) (f32.const 0x1.2p+5)) +(assert_return (invoke "main" (i32.const 0x9)) (f32.const 0x1.68p+5)) +(assert_return (invoke "main" (i32.const 0xa)) (f32.const 0x1.b8p+5)) +(assert_return (invoke "main" (i32.const 0xb)) (f32.const 0x1.08p+6)) +(assert_return (invoke "main" (i32.const 0xc)) (f32.const 0x1.38p+6)) +(assert_return (invoke "main" (i32.const 0xd)) (f32.const 0x1.6cp+6)) +(assert_return (invoke "main" (i32.const 0xe)) (f32.const 0x1.a4p+6)) +(assert_return (invoke "main" (i32.const 0xf)) (f32.const 0x1.ep+6)) +(assert_return (invoke "main" (i32.const 0x10)) (f32.const 0x1.1p+7)) +(assert_return (invoke "main" (i32.const 0x11)) (f32.const 0x1.32p+7)) +(assert_return (invoke "main" (i32.const 0x12)) (f32.const 0x1.56p+7)) +(assert_return (invoke "main" (i32.const 0x13)) (f32.const 0x1.7cp+7)) +(assert_return (invoke "main" (i32.const 0x14)) (f32.const 0x1.a4p+7)) +(assert_return (invoke "main" (i32.const 0x15)) (f32.const 0x1.cep+7)) +(assert_return (invoke "main" (i32.const 0x16)) (f32.const 0x1.fap+7)) +(assert_return (invoke "main" (i32.const 0x17)) (f32.const 0x1.14p+8)) +(assert_return (invoke "main" (i32.const 0x18)) (f32.const 0x1.2cp+8)) +(assert_return (invoke "main" (i32.const 0x19)) (f32.const 0x1.45p+8)) +(assert_return (invoke "main" (i32.const 0x1a)) (f32.const 0x1.5fp+8)) +(assert_return (invoke "main" (i32.const 0x1b)) (f32.const 0x1.7ap+8)) +(assert_return (invoke "main" (i32.const 0x1c)) (f32.const 0x1.96p+8)) +(assert_return (invoke "main" (i32.const 0x1d)) (f32.const 0x1.b3p+8)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.wast new file mode 100644 index 0000000..0d95cb3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_heaptype2.wast @@ -0,0 +1,87 @@ +(module + (type $vec (array (mut f32))) + + (type $f (func (param i32 f32) (result (ref null $vec)))) + (type $c (cont $f)) + (type $f1 (func (param f32) (result (ref null $vec)))) + (type $c1 (cont $f1)) + (type $f2 (func (result (ref null $vec)))) + (type $c2 (cont $f2)) + (tag $tag (result f32)) + + (func $foo (param i32 f32) (result (ref null $vec)) + (local $v (ref null $vec)) + (local $i i32) + (local.set $v (array.new $vec (f32.const 0) (local.get 0))) + + (loop $l + (local.get $v) + (local.get $i) + (suspend $tag) + (array.set $vec) + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (br_if $l (i32.lt_u (local.get $i) (local.get 0))) + ) + (local.get $v) + ) + (elem declare func $foo) + (func (export "main") (param i32) (result f32) + (local $temp (ref null $c1)) + (local $v (ref null $vec)) + (local $sum f32) + (local $i i32) + + (cont.bind $c $c1 (local.get 0) (cont.new $c (ref.func $foo))) + + (local.set $i (i32.const 0)) + (loop $l (param (ref null $c1)) (result (ref null $vec)) + (local.set $temp) + (cont.bind $c1 $c2 (f32.convert_i32_u (local.get $i)) (local.get $temp)) + (local.set $i (i32.add (i32.const 1) (local.get $i))) + (resume $c2 (on $tag $l)) + ) + + (local.set $v) + (local.set $sum (f32.const 0)) + (local.set $i (i32.const 0)) + (loop $l + (array.get $vec (local.get $v) (local.get $i)) + (f32.add (local.get $sum)) + (local.set $sum) + (local.set $i (i32.add (local.get $i) (i32.const 1))) + (br_if $l (i32.lt_u (local.get $i) (local.get 0))) + ) + + (local.get $sum) + ) +) + +(assert_return (invoke "main" (i32.const 1)) (f32.const 1)) +(assert_return (invoke "main" (i32.const 2)) (f32.const 3)) +(assert_return (invoke "main" (i32.const 3)) (f32.const 6)) +(assert_return (invoke "main" (i32.const 4)) (f32.const 10)) +(assert_return (invoke "main" (i32.const 5)) (f32.const 15)) +(assert_return (invoke "main" (i32.const 6)) (f32.const 21)) +(assert_return (invoke "main" (i32.const 7)) (f32.const 28)) +(assert_return (invoke "main" (i32.const 8)) (f32.const 36)) +(assert_return (invoke "main" (i32.const 9)) (f32.const 45)) +(assert_return (invoke "main" (i32.const 10)) (f32.const 55)) +(assert_return (invoke "main" (i32.const 11)) (f32.const 66)) +(assert_return (invoke "main" (i32.const 12)) (f32.const 78)) +(assert_return (invoke "main" (i32.const 13)) (f32.const 91)) +(assert_return (invoke "main" (i32.const 14)) (f32.const 105)) +(assert_return (invoke "main" (i32.const 15)) (f32.const 120)) +(assert_return (invoke "main" (i32.const 16)) (f32.const 136)) +(assert_return (invoke "main" (i32.const 17)) (f32.const 153)) +(assert_return (invoke "main" (i32.const 18)) (f32.const 171)) +(assert_return (invoke "main" (i32.const 19)) (f32.const 190)) +(assert_return (invoke "main" (i32.const 20)) (f32.const 210)) +(assert_return (invoke "main" (i32.const 21)) (f32.const 231)) +(assert_return (invoke "main" (i32.const 22)) (f32.const 253)) +(assert_return (invoke "main" (i32.const 23)) (f32.const 276)) +(assert_return (invoke "main" (i32.const 24)) (f32.const 300)) +(assert_return (invoke "main" (i32.const 25)) (f32.const 325)) +(assert_return (invoke "main" (i32.const 26)) (f32.const 351)) +(assert_return (invoke "main" (i32.const 27)) (f32.const 378)) +(assert_return (invoke "main" (i32.const 28)) (f32.const 406)) +(assert_return (invoke "main" (i32.const 29)) (f32.const 435)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.bin.wast new file mode 100644 index 0000000..c7c0fb7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.bin.wast @@ -0,0 +1,16 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\97\80\80\80\00\06\5f" + "\02\7f\00\7f\00\60\01\7f\00\5d\01\60\00\00\5d\03" + "\60\01\7f\01\7f\03\84\80\80\80\00\03\01\01\05\0d" + "\85\80\80\80\00\02\00\03\00\03\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\02\09\89\80\80\80\00\02\03" + "\00\01\00\03\00\01\01\0a\c9\80\80\80\00\03\8d\80" + "\80\80\00\00\20\00\45\04\40\e2\00\05\e2\01\0b\0b" + "\8b\80\80\80\00\00\20\00\d2\00\e0\02\e3\02\00\0b" + "\a1\80\80\80\00\00\02\63\04\02\63\04\20\00\d2\01" + "\e0\02\e3\02\02\00\00\01\00\01\00\d0\04\0b\41\01" + "\0f\0b\41\00\0f\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x0)) +(assert_return (invoke "main" (i32.const 0x1)) (i32.const 0x1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.wast new file mode 100644 index 0000000..d16dfb2 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested0.wast @@ -0,0 +1,40 @@ +(module + (type $s (struct (field i32) (field i32))) + (type $f0 (func (param i32))) + (type $c0 (cont $f0)) + (type $f1 (func)) + (type $c1 (cont $f1)) + + (tag $a) + (tag $b) + + (func $func_b (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $a)) + (else (suspend $b)) + ) + ) + (elem declare func $func_b) + + (func $func_a (param i32) + (resume $c0 (local.get 0) (cont.new $c0 (ref.func $func_b))) + ) + (elem declare func $func_a) + + (func (export "main") (param i32) (result i32) + (block $jump_a (result (ref null $c1)) + (block $jump_b (result (ref null $c1)) + (resume $c0 (on $a $jump_a) (on $b $jump_b) + (local.get 0) + (cont.new $c0 (ref.func $func_a)) + ) + (ref.null $c1) + ) + (return (i32.const 1)) + ) + (return (i32.const 0)) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 0)) +(assert_return (invoke "main" (i32.const 1)) (i32.const 1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.bin.wast new file mode 100644 index 0000000..02bb1e4 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.bin.wast @@ -0,0 +1,38 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\97\80\80\80\00\06\5f" + "\02\7f\00\7f\00\60\01\7f\00\5d\01\60\00\00\5d\03" + "\60\01\7f\01\7f\03\89\80\80\80\00\08\01\01\01\01" + "\01\01\01\05\0d\8f\80\80\80\00\07\00\03\00\03\00" + "\03\00\03\00\03\00\03\00\03\07\88\80\80\80\00\01" + "\04\6d\61\69\6e\00\07\09\9d\80\80\80\00\07\03\00" + "\01\00\03\00\01\01\03\00\01\02\03\00\01\03\03\00" + "\01\04\03\00\01\05\03\00\01\06\0a\8a\82\80\80\00" + "\08\84\80\80\80\00\00\e2\06\0b\97\80\80\80\00\00" + "\20\00\45\04\40\e2\05\05\20\00\41\01\6b\d2\00\e0" + "\02\e3\02\00\0b\0b\97\80\80\80\00\00\20\00\45\04" + "\40\e2\04\05\20\00\41\01\6b\d2\01\e0\02\e3\02\00" + "\0b\0b\97\80\80\80\00\00\20\00\45\04\40\e2\03\05" + "\20\00\41\01\6b\d2\02\e0\02\e3\02\00\0b\0b\97\80" + "\80\80\00\00\20\00\45\04\40\e2\02\05\20\00\41\01" + "\6b\d2\03\e0\02\e3\02\00\0b\0b\97\80\80\80\00\00" + "\20\00\45\04\40\e2\01\05\20\00\41\01\6b\d2\04\e0" + "\02\e3\02\00\0b\0b\97\80\80\80\00\00\20\00\45\04" + "\40\e2\00\05\20\00\41\01\6b\d2\05\e0\02\e3\02\00" + "\0b\0b\d3\80\80\80\00\00\02\63\04\02\63\04\02\63" + "\04\02\63\04\02\63\04\02\63\04\02\63\04\20\00\d2" + "\06\e0\02\e3\02\07\00\00\06\00\01\05\00\02\04\00" + "\03\03\00\04\02\00\05\01\00\06\00\d0\04\0b\41\06" + "\0f\0b\41\05\0f\0b\41\04\0f\0b\41\03\0f\0b\41\02" + "\0f\0b\41\01\0f\0b\41\00\0f\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x0)) +(assert_return (invoke "main" (i32.const 0x1)) (i32.const 0x1)) +(assert_return (invoke "main" (i32.const 0x2)) (i32.const 0x2)) +(assert_return (invoke "main" (i32.const 0x3)) (i32.const 0x3)) +(assert_return (invoke "main" (i32.const 0x4)) (i32.const 0x4)) +(assert_return (invoke "main" (i32.const 0x5)) (i32.const 0x5)) +(assert_return (invoke "main" (i32.const 0x6)) (i32.const 0x6)) +(assert_return (invoke "main" (i32.const 0x7)) (i32.const 0x6)) +(assert_return (invoke "main" (i32.const 0x8)) (i32.const 0x6)) +(assert_return (invoke "main" (i32.const 0x1_0000)) (i32.const 0x6)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.wast new file mode 100644 index 0000000..eb1d4b9 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_nested1.wast @@ -0,0 +1,147 @@ +(module + (type $s (struct (field i32) (field i32))) + (type $f0 (func (param i32))) + (type $c0 (cont $f0)) + (type $f1 (func)) + (type $c1 (cont $f1)) + + (tag $a) + (tag $b) + (tag $c) + (tag $d) + (tag $e) + (tag $f) + (tag $g) + + (func $func_g (param i32) + (suspend $g) + ) + (elem declare func $func_g) + + (func $func_f (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $f)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_g)) + ) + ) + ) + ) + (elem declare func $func_f) + + (func $func_e (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $e)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_f)) + ) + ) + ) + ) + (elem declare func $func_e) + + (func $func_d (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $d)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_e)) + ) + ) + ) + ) + (elem declare func $func_d) + + (func $func_c (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $c)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_d)) + ) + ) + ) + ) + (elem declare func $func_c) + + (func $func_b (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $b)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_c)) + ) + ) + ) + ) + (elem declare func $func_b) + + (func $func_a (param i32) + (if (i32.eqz (local.get 0)) + (then (suspend $a)) + (else + (resume $c0 + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c0 (ref.func $func_b)) + ) + ) + ) + ) + (elem declare func $func_a) + + (func (export "main") (param i32) (result i32) + + (block $jump_a (result (ref null $c1)) + (block $jump_b (result (ref null $c1)) + (block $jump_c (result (ref null $c1)) + (block $jump_d (result (ref null $c1)) + (block $jump_e (result (ref null $c1)) + (block $jump_f (result (ref null $c1)) + (block $jump_g (result (ref null $c1)) + (resume $c0 + (on $a $jump_a) + (on $b $jump_b) + (on $c $jump_c) + (on $d $jump_d) + (on $e $jump_e) + (on $f $jump_f) + (on $g $jump_g) + + (local.get 0) + (cont.new $c0 (ref.func $func_a)) + ) + (ref.null $c1) + ) + (return (i32.const 6)) + ) + (return (i32.const 5)) + ) + (return (i32.const 4)) + ) + (return (i32.const 3)) + ) + (return (i32.const 2)) + ) + (return (i32.const 1)) + ) + (return (i32.const 0)) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 0)) +(assert_return (invoke "main" (i32.const 1)) (i32.const 1)) +(assert_return (invoke "main" (i32.const 2)) (i32.const 2)) +(assert_return (invoke "main" (i32.const 3)) (i32.const 3)) +(assert_return (invoke "main" (i32.const 4)) (i32.const 4)) +(assert_return (invoke "main" (i32.const 5)) (i32.const 5)) +(assert_return (invoke "main" (i32.const 6)) (i32.const 6)) +(assert_return (invoke "main" (i32.const 7)) (i32.const 6)) +(assert_return (invoke "main" (i32.const 8)) (i32.const 6)) +(assert_return (invoke "main" (i32.const 65536)) (i32.const 6)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.bin.wast new file mode 100644 index 0000000..49fdfb6 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.bin.wast @@ -0,0 +1,9 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\82\80\80\80\00\01\02" + "\0d\83\80\80\80\00\01\00\00\07\88\80\80\80\00\01" + "\04\6d\61\69\6e\00\00\0a\90\80\80\80\00\01\8a\80" + "\80\80\00\00\d0\01\e4\01\00\00\41\2a\0b" +) +(module instance) +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.wast new file mode 100644 index 0000000..e3633eb --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw0.wast @@ -0,0 +1,13 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t) + (func (export "main") (result i32) + (resume_throw + $c1 $t + (ref.null $c1)) + i32.const 42 + ) +) + +(assert_trap (invoke "main") "null continuation") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.bin.wast new file mode 100644 index 0000000..c31e65f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\0d\83\80\80\80\00\01\00\00\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\99\80\80\80\00\02\82\80\80\80\00\00" + "\0b\8c\80\80\80\00\00\d2\00\e0\01\e4\01\00\00\41" + "\2a\0b" +) +(module instance) +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.wast new file mode 100644 index 0000000..e7a9bd0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw1.wast @@ -0,0 +1,14 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (resume_throw + $c1 $t + (cont.new $c1 (ref.func $empty))) + i32.const 42 + ) +) + +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.bin.wast new file mode 100644 index 0000000..482c714 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\03\83\80\80" + "\80\00\02\00\03\0d\83\80\80\80\00\01\00\02\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\9b\80\80\80\00\02\82\80" + "\80\80\00\00\0b\8e\80\80\80\00\00\41\2a\d2\00\e0" + "\01\e4\01\00\00\41\2a\0b" +) +(module instance) +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.wast new file mode 100644 index 0000000..f1b7199 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw2.wast @@ -0,0 +1,14 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i32)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (resume_throw + $c1 $t + (i32.const 42) (cont.new $c1 (ref.func $empty))) + i32.const 42 + ) +) + +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.bin.wast new file mode 100644 index 0000000..e76efd6 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\00\00\5d\00\60\03\7e\7d\7c\00\60\00\01\7f\03\83" + "\80\80\80\00\02\00\03\0d\83\80\80\80\00\01\00\02" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85" + "\80\80\80\00\01\03\00\01\00\0a\a9\80\80\80\00\02" + "\82\80\80\80\00\00\0b\9c\80\80\80\00\00\42\2a\43" + "\00\00\30\41\44\00\00\00\00\00\00\36\40\d2\00\e0" + "\01\e4\01\00\00\41\2a\0b" +) +(module instance) +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.wast new file mode 100644 index 0000000..cf2e64d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw3.wast @@ -0,0 +1,14 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i64 f32 f64)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (resume_throw + $c1 $t + (i64.const 42) (f32.const 11) (f64.const 22) (cont.new $c1 (ref.func $empty))) + i32.const 42 + ) +) + +(assert_exception (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.bin.wast new file mode 100644 index 0000000..ef99485 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\03\83\80\80" + "\80\00\02\00\03\0d\83\80\80\80\00\01\00\02\07\88" + "\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80" + "\80\00\01\03\00\01\00\0a\a2\80\80\80\00\02\82\80" + "\80\80\00\00\0b\95\80\80\80\00\00\1f\40\01\00\00" + "\00\41\2f\d2\00\e0\01\e4\01\00\00\0b\41\2a\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2f)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.wast new file mode 100644 index 0000000..0912bab --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw4.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i32)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i32) + (try_table (catch $t 0) + (resume_throw + $c1 $t + (i32.const 47) + (cont.new $c1 (ref.func $empty))) + ) + i32.const 42 ;; unreachable + ) +) + +(assert_return (invoke "main") (i32.const 47)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.bin.wast new file mode 100644 index 0000000..9e71a2f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.bin.wast @@ -0,0 +1,17 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\00\00\5d\00\60\02\7e\7c\00\60\00\02\7e\7c\03\83" + "\80\80\80\00\02\00\03\0d\83\80\80\80\00\01\00\02" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85" + "\80\80\80\00\01\03\00\01\00\0a\b5\80\80\80\00\02" + "\82\80\80\80\00\00\0b\a8\80\80\80\00\00\1f\40\01" + "\00\00\00\42\51\44\9a\99\99\99\99\99\01\c0\d2\00" + "\e0\01\e4\01\00\00\0b\42\bc\03\44\00\00\00\00\00" + "\38\8f\40\0b" +) +(module instance) +(assert_return + (invoke "main") + (i64.const 0xffff_ffff_ffff_ffd1) + (f64.const -0x1.1999_9999_9999_ap+1) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.wast new file mode 100644 index 0000000..5fe24c1 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw5.wast @@ -0,0 +1,18 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i64 f64) + (try_table (catch $t 0) + (resume_throw + $c1 $t + (i64.const -47) (f64.const -2.2) + (cont.new $c1 (ref.func $empty))) + ) + i64.const 444 ;; unreachable + f64.const 999 + ) +) + +(assert_return (invoke "main") (i64.const -47) (f64.const -2.2)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.bin.wast new file mode 100644 index 0000000..f814a16 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.bin.wast @@ -0,0 +1,16 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\00\00\5d\00\60\02\7e\7c\00\60\00\02\7e\7c\03\83" + "\80\80\80\00\02\00\03\0d\83\80\80\80\00\01\00\02" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85" + "\80\80\80\00\01\03\00\01\00\0a\aa\80\80\80\00\02" + "\82\80\80\80\00\00\0b\9d\80\80\80\00\00\1f\40\01" + "\00\00\00\42\51\44\9a\99\99\99\99\99\01\c0\d2\00" + "\e0\01\e4\01\00\00\0b\00\0b" +) +(module instance) +(assert_return + (invoke "main") + (i64.const 0xffff_ffff_ffff_ffd1) + (f64.const -0x1.1999_9999_9999_ap+1) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.wast new file mode 100644 index 0000000..8ee9839 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw6.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i64 f64) + (try_table (catch $t 0) + (resume_throw + $c1 $t + (i64.const -47) (f64.const -2.2) + (cont.new $c1 (ref.func $empty))) + ) + unreachable + ) +) + +(assert_return (invoke "main") (i64.const -47) (f64.const -2.2)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.bin.wast new file mode 100644 index 0000000..278c278 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.bin.wast @@ -0,0 +1,17 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\90\80\80\80\00\04\60" + "\00\00\5d\00\60\02\7e\7c\00\60\00\02\7e\7c\03\83" + "\80\80\80\00\02\00\03\0d\83\80\80\80\00\01\00\02" + "\07\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85" + "\80\80\80\00\01\03\00\01\00\0a\b6\80\80\80\00\02" + "\82\80\80\80\00\00\0b\a9\80\80\80\00\00\1f\40\01" + "\00\00\00\42\51\44\9a\99\99\99\99\99\01\c0\d2\00" + "\e0\01\e4\01\00\00\00\0b\42\89\06\44\00\00\00\00" + "\00\d0\74\40\0b" +) +(module instance) +(assert_return + (invoke "main") + (i64.const 0xffff_ffff_ffff_ffd1) + (f64.const -0x1.1999_9999_9999_ap+1) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.wast new file mode 100644 index 0000000..3e34757 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw7.wast @@ -0,0 +1,19 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $empty) (elem declare func $empty) + (func (export "main") (result i64 f64) + (try_table (catch $t 0) + (resume_throw + $c1 $t + (i64.const -47) (f64.const -2.2) + (cont.new $c1 (ref.func $empty))) + unreachable + ) + (i64.const 777) + (f64.const 333) + ) +) + +(assert_return (invoke "main") (i64.const -47) (f64.const -2.2)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.bin.wast new file mode 100644 index 0000000..88eb6ec --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.bin.wast @@ -0,0 +1,27 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\03\60" + "\02\7e\7c\00\5d\00\60\02\7e\7c\02\7e\7c\03\83\80" + "\80\80\00\02\00\02\0d\83\80\80\80\00\01\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\bb\80\80\80\00\02\90" + "\80\80\80\00\00\42\9a\05\44\00\00\00\00\00\48\88" + "\40\08\00\0b\a0\80\80\80\00\00\1f\40\01\00\00\00" + "\20\00\20\01\d2\00\e0\01\e4\01\00\00\0b\42\2a\44" + "\00\00\00\00\00\80\47\40\0b" +) +(module instance) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_fba9) (f64.const 0x1.a0ap+11)) + (i64.const 0xffff_ffff_ffff_fba9) + (f64.const 0x1.a0ap+11) +) +(assert_return + (invoke "main" (i64.const 0xffff_ffff_ffff_f752) (f64.const 0x1.15cp+12)) + (i64.const 0xffff_ffff_ffff_f752) + (f64.const 0x1.15cp+12) +) +(assert_return + (invoke "main" (i64.const 0xbad_f00d_dead_beef) (f64.const 0x1.15cp+12)) + (i64.const 0xbad_f00d_dead_beef) + (f64.const 0x1.15cp+12) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.wast new file mode 100644 index 0000000..4585723 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_throw8.wast @@ -0,0 +1,25 @@ +(module + (type $f1 (func (param i64 f64))) + (type $c1 (cont $f1)) + (tag $t (param i64 f64)) + (func $throw (param i64 f64) + (throw $t (i64.const 666) (f64.const 777)) + ) + (elem declare func $throw) + (func (export "main") (param i64 f64) (result i64 f64) + (try_table (catch $t 0) + (resume_throw + $c1 + $t + (local.get 0) + (local.get 1) + (cont.new $c1 (ref.func $throw))) + ) + i64.const 42 ;; unreachable + f64.const 47 + ) +) + +(assert_return (invoke "main" (i64.const -1111) (f64.const 3333)) (i64.const -1111) (f64.const 3333)) +(assert_return (invoke "main" (i64.const -2222) (f64.const 4444)) (i64.const -2222) (f64.const 4444)) +(assert_return (invoke "main" (i64.const 0x0BAD_F00D_DEAD_BEEF) (f64.const 4444)) (i64.const 0x0BAD_F00D_DEAD_BEEF) (f64.const 4444)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.bin.wast new file mode 100644 index 0000000..7ab2690 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\97\80\80\80\00\02\83\80\80" + "\80\00\00\00\0b\89\80\80\80\00\00\d2\00\e0\01\e3" + "\01\00\0b" +) +(module instance) +(assert_trap (invoke "main") "unreachable") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.wast new file mode 100644 index 0000000..11160ec --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/resume_trap0.wast @@ -0,0 +1,11 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (func $trap unreachable) + (elem declare func $trap) + (func (export "main") + (resume $c1 (cont.new $c1 (ref.func $trap))) + ) +) + +(assert_trap (invoke "main") "unreachable") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.bin.wast new file mode 100644 index 0000000..95444e1 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.bin.wast @@ -0,0 +1,10 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\0d\83\80" + "\80\80\00\01\00\00\07\88\80\80\80\00\01\04\6d\61" + "\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00\0a" + "\98\80\80\80\00\02\84\80\80\80\00\00\e2\00\0b\89" + "\80\80\80\00\00\d2\00\e0\01\e3\01\00\0b" +) +(module instance) +(assert_suspension (invoke "main") "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.wast new file mode 100644 index 0000000..7b0c96b --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend0.wast @@ -0,0 +1,12 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e) + (func $s (suspend $e)) + (elem declare func $s) + (func (export "main") + (resume $c1 (cont.new $c1 (ref.func $s))) + ) +) + +(assert_suspension (invoke "main") "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.bin.wast new file mode 100644 index 0000000..6fbbae5 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\0d\83\80" + "\80\80\00\01\00\00\07\88\80\80\80\00\01\04\6d\61" + "\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00\0a" + "\a2\80\80\80\00\02\84\80\80\80\00\00\e2\00\0b\93" + "\80\80\80\00\00\02\63\01\d2\00\e0\01\e3\01\01\00" + "\00\00\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.wast new file mode 100644 index 0000000..d918cf2 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend1.wast @@ -0,0 +1,16 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e) + (func $s (suspend $e)) + (elem declare func $s) + (func (export "main") + (block (result (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main")) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.bin.wast new file mode 100644 index 0000000..4a0955d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9a\80\80\80\00\06\60" + "\01\7d\01\7c\5d\00\60\01\7e\01\7c\5d\02\60\01\7f" + "\01\7e\60\00\02\7f\63\03\03\83\80\80\80\00\02\00" + "\00\0d\83\80\80\80\00\01\00\04\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\b0\80\80\80\00\02\88\80\80\80\00\00" + "\20\00\a8\e2\00\b9\0b\9d\80\80\80\00\01\01\63\03" + "\02\05\20\00\d2\00\e0\01\e3\01\01\00\00\00\00\0b" + "\21\01\ac\20\01\e3\03\00\0b" +) +(module instance) +(assert_return (invoke "main" (f32.const 0x1.6p+3)) (f64.const 0x1.6p+3)) +(assert_return (invoke "main" (f32.const -0x1.1ep+10)) (f64.const -0x1.1ep+10)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.wast new file mode 100644 index 0000000..b545d95 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend10.wast @@ -0,0 +1,29 @@ +(module + (type $f_d (func (param f32) (result f64))) + (type $k_f_d (cont $f_d)) + (type $l_d (func (param i64) (result f64))) + (type $k_l_d (cont $l_d)) + + (tag $t (param i32) (result i64)) + + (func $foo (param f32) (result f64) + (f64.convert_i64_s (suspend $t (i32.trunc_f32_s (local.get 0)))) + ) + + (elem declare func $foo) + + (func (export "main") (param f32) (result f64) + (local $y (ref null $k_l_d)) + (block (result i32 (ref null $k_l_d)) + (resume $k_f_d (on $t 0) (local.get 0) + (cont.new $k_f_d (ref.func $foo))) + unreachable) + (local.set $y) + (i64.extend_i32_s) + (local.get $y) + (resume $k_l_d) + ) +) + +(assert_return (invoke "main" (f32.const 11)) (f64.const 11)) +(assert_return (invoke "main" (f32.const -1144)) (f64.const -1144)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.bin.wast new file mode 100644 index 0000000..c8dd8d9 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\03\83\80\80\80\00\02\00\00\0d\85\80" + "\80\80\00\02\00\00\00\00\07\88\80\80\80\00\01\04" + "\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01" + "\00\0a\a2\80\80\80\00\02\84\80\80\80\00\00\e2\01" + "\0b\93\80\80\80\00\00\02\63\01\d2\00\e0\01\e3\01" + "\01\00\00\00\d0\01\0b\1a\0b" +) +(module instance) +(assert_suspension (invoke "main") "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.wast new file mode 100644 index 0000000..f1dc806 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend11.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e) + (tag $f) + (func $s (suspend $f)) + (elem declare func $s) + (func (export "main") + (block (result (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (ref.null $c1) + ) + drop + ) +) + +(assert_suspension (invoke "main") "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.bin.wast new file mode 100644 index 0000000..86bf228 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9b\80\80\80\00\07\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7e\00\60\01" + "\7f\01\7e\60\00\02\7e\63\01\03\83\80\80\80\00\02" + "\02\05\0d\85\80\80\80\00\02\00\04\00\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\a8\80\80\80\00\02\87\80\80" + "\80\00\00\20\00\ac\e2\01\0b\96\80\80\80\00\00\02" + "\06\20\00\d2\00\e0\03\e3\03\01\00\00\00\42\0b\d0" + "\01\0b\1a\0b" +) +(module instance) +(assert_suspension (invoke "main" (i32.const 0x17)) "unhandled") +(assert_suspension (invoke "main" (i32.const 0xffff_ffd5)) "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.wast new file mode 100644 index 0000000..7a3e433 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend12.wast @@ -0,0 +1,23 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + (tag $e (param i64)) + (tag $f (param i64)) + + (func $s (param i32) (suspend $f (i64.extend_i32_s (local.get 0)))) + (elem declare func $s) + (func (export "main") (param i32) (result i64) + (block (result i64 (ref null $c1)) + (resume $c2 (on $e 0) (local.get 0) + (cont.new $c2 (ref.func $s))) + (i64.const 11) + (ref.null $c1) + ) + drop + ) +) + +(assert_suspension (invoke "main" (i32.const 23)) "unhandled") +(assert_suspension (invoke "main" (i32.const -43)) "unhandled") diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.bin.wast new file mode 100644 index 0000000..0e02aa9 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.bin.wast @@ -0,0 +1,15 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9b\80\80\80\00\07\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7e\00\60\01" + "\7f\01\7e\60\00\02\7e\63\01\03\83\80\80\80\00\02" + "\02\05\0d\85\80\80\80\00\02\00\04\00\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\b9\80\80\80\00\02\87\80\80" + "\80\00\00\20\00\ac\e2\01\0b\a7\80\80\80\00\00\02" + "\06\02\06\20\00\d2\00\e0\03\e3\03\02\00\00\00\00" + "\01\01\42\0b\d0\01\0b\1a\42\98\78\7d\0f\0b\1a\42" + "\b0\70\7d\0f\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0xffff_ffe9)) (i64.const 0x7b9)) +(assert_return (invoke "main" (i32.const 0xffff_ffd5)) (i64.const 0x7a5)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.wast new file mode 100644 index 0000000..a142bfe --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend13.wast @@ -0,0 +1,30 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + (tag $e (param i64)) + (tag $f (param i64)) + + (func $s (param i32) (suspend $f (i64.extend_i32_s (local.get 0)))) + (elem declare func $s) + (func (export "main") (param i32) (result i64) + (block (result i64 (ref null $c1)) + (block (result i64 (ref null $c1)) + (resume $c2 (on $e 0) (on $f 1) (local.get 0) + (cont.new $c2 (ref.func $s))) + (i64.const 11) + (ref.null $c1) + ) + ;; $e + drop + (return (i64.sub (i64.const -1000))) + ) + ;; $f + drop + (return (i64.sub (i64.const -2000))) + ) +) + +(assert_return (invoke "main" (i32.const -23)) (i64.const 1977)) +(assert_return (invoke "main" (i32.const -43)) (i64.const 1957)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.bin.wast new file mode 100644 index 0000000..8c90e8c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.bin.wast @@ -0,0 +1,18 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9b\80\80\80\00\07\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7e\00\60\01" + "\7f\01\7e\60\00\02\7e\63\01\03\83\80\80\80\00\02" + "\02\05\0d\85\80\80\80\00\02\00\04\00\04\07\88\80" + "\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80" + "\00\01\03\00\01\00\0a\c7\80\80\80\00\02\95\80\80" + "\80\00\00\20\00\41\00\48\04\40\20\00\ac\e2\01\05" + "\20\00\ac\e2\00\0b\0b\a7\80\80\80\00\00\02\06\02" + "\06\20\00\d2\00\e0\03\e3\03\02\00\00\00\00\01\01" + "\42\0b\d0\01\0b\1a\42\98\78\7d\0f\0b\1a\42\b0\70" + "\7d\0f\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0xffff_ffe9)) (i64.const 0x7b9)) +(assert_return (invoke "main" (i32.const 0xffff_ffd5)) (i64.const 0x7a5)) +(assert_return (invoke "main" (i32.const 0x17)) (i64.const 0x3ff)) +(assert_return (invoke "main" (i32.const 0x2b)) (i64.const 0x413)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.wast new file mode 100644 index 0000000..1858108 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend14.wast @@ -0,0 +1,38 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + (tag $e (param i64)) + (tag $f (param i64)) + + (func $s (param i32) + (if (i32.lt_s (local.get 0) (i32.const 0)) + (then (suspend $f (i64.extend_i32_s (local.get 0)))) + (else (suspend $e (i64.extend_i32_s (local.get 0)))) + ) + ) + (elem declare func $s) + (func (export "main") (param i32) (result i64) + (block (result i64 (ref null $c1)) + (block (result i64 (ref null $c1)) + (resume $c2 (on $e 0) (on $f 1) (local.get 0) + (cont.new $c2 (ref.func $s))) + (i64.const 11) + (ref.null $c1) + ) + ;; $e + drop + (return (i64.sub (i64.const -1000))) + ) + ;; $f + drop + (return (i64.sub (i64.const -2000))) + ) +) + +(assert_return (invoke "main" (i32.const -23)) (i64.const 1977)) +(assert_return (invoke "main" (i32.const -43)) (i64.const 1957)) + +(assert_return (invoke "main" (i32.const 23)) (i64.const 1023)) +(assert_return (invoke "main" (i32.const 43)) (i64.const 1043)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.bin.wast new file mode 100644 index 0000000..f1d7fdb --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.bin.wast @@ -0,0 +1,19 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\97\80\80\80\00\06\60" + "\01\7f\00\60\00\00\5d\00\5d\01\60\00\02\7f\63\03" + "\60\01\7f\01\7f\03\83\80\80\80\00\02\00\05\0d\83" + "\80\80\80\00\01\00\00\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\ca\80\80\80\00\02\a9\80\80\80\00\00\20\00\45" + "\04\40\41\00\e2\00\05\02\04\20\00\41\01\6b\d2\00" + "\e0\02\e3\02\01\00\00\00\41\7f\d0\03\0b\1a\41\01" + "\6a\e2\00\0b\0b\96\80\80\80\00\00\02\04\20\00\d2" + "\00\e0\02\e3\02\01\00\00\00\41\7f\d0\03\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x0)) (i32.const 0x0)) +(assert_return (invoke "main" (i32.const 0x2)) (i32.const 0x2)) +(assert_return (invoke "main" (i32.const 0x5)) (i32.const 0x5)) +(assert_return (invoke "main" (i32.const 0xa)) (i32.const 0xa)) +(assert_return (invoke "main" (i32.const 0x2a)) (i32.const 0x2a)) +(assert_return (invoke "main" (i32.const 0x80)) (i32.const 0x80)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.wast new file mode 100644 index 0000000..bf8eb01 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend15.wast @@ -0,0 +1,43 @@ +(module + (type $f1 (func (param i32))) + (type $f2 (func)) + (type $c1 (cont $f1)) + (type $c2 (cont $f2)) + (tag $ts (param i32)) + (func $foo (param i32) + (if (i32.eqz (local.get 0)) + (then + (suspend $ts (i32.const 0)) + ) + (else + (block (result i32 (ref null $c2)) + (resume $c1 (on $ts 0) + (i32.sub (local.get 0) (i32.const 1)) + (cont.new $c1 (ref.func $foo)) + ) + (i32.const -1) + (ref.null $c2) + ) + (drop) + (i32.add (i32.const 1)) + (suspend $ts) + ) + ) + ) + (elem declare func $foo) + (func (export "main") (param i32) (result i32) + (block (result i32 (ref null $c2)) + (resume $c1 (on $ts 0) (local.get 0) (cont.new $c1 (ref.func $foo))) + (i32.const -1) + (ref.null $c2) + ) + (drop) + ) +) + +(assert_return (invoke "main" (i32.const 0)) (i32.const 0)) +(assert_return (invoke "main" (i32.const 2)) (i32.const 2)) +(assert_return (invoke "main" (i32.const 5)) (i32.const 5)) +(assert_return (invoke "main" (i32.const 10)) (i32.const 10)) +(assert_return (invoke "main" (i32.const 42)) (i32.const 42)) +(assert_return (invoke "main" (i32.const 128)) (i32.const 128)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.bin.wast new file mode 100644 index 0000000..aeb8d7a --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\91\80\80\80\00\05\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\60\00\00\03" + "\84\80\80\80\00\03\00\00\00\0d\85\80\80\80\00\02" + "\00\04\00\00\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\02\09\89\80\80\80\00\02\03\00\01\00\03\00\01" + "\01\0a\bb\80\80\80\00\03\84\80\80\80\00\00\e2\01" + "\0b\8d\80\80\80\00\00\d2\00\e0\01\e3\01\00\41\0a" + "\6a\0f\0b\9a\80\80\80\00\00\41\ce\00\02\63\03\d2" + "\01\e0\01\e3\01\01\00\01\00\41\94\03\0f\0b\e3\03" + "\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x58)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.wast new file mode 100644 index 0000000..8e36efb --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend16.wast @@ -0,0 +1,30 @@ +(module + (type $f (func (result i32))) + (type $c (cont $f)) + (type $fb (func (param i32) (result i32))) + (type $cb (cont $fb)) + (tag $dummy) + (tag $fetch (result i32)) + + (func $func_b (result i32) + (suspend $fetch) + ) + (elem declare func $func_b) + + (func $func_a (result i32) + (resume $c (cont.new $c (ref.func $func_b))) + (i32.add (i32.const 10)) + (return) + ) + (elem declare func $func_a) + (func (export "main") (result i32) + (i32.const 78) + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_a))) + (return (i32.const 404)) + ) + (resume $cb) + ) +) + +(assert_return (invoke "main") (i32.const 88)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.bin.wast new file mode 100644 index 0000000..2386fd7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.bin.wast @@ -0,0 +1,14 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8e\80\80\80\00\04\60" + "\00\01\7f\5d\00\60\01\7f\01\7f\5d\02\03\84\80\80" + "\80\00\03\00\00\00\0d\83\80\80\80\00\01\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\02\09\89\80" + "\80\80\00\02\03\00\01\00\03\00\01\01\0a\c6\80\80" + "\80\00\03\84\80\80\80\00\00\e2\00\0b\99\80\80\80" + "\00\00\41\0a\02\63\03\d2\00\e0\01\e3\01\01\00\00" + "\00\41\e5\00\0f\0b\e3\03\00\0b\99\80\80\80\00\00" + "\41\14\02\63\03\d2\01\e0\01\e3\01\01\00\00\00\41" + "\ca\01\0f\0b\e3\03\00\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0xca)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.wast new file mode 100644 index 0000000..ec119de --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend17.wast @@ -0,0 +1,32 @@ +(module + (type $f (func (result i32))) + (type $c (cont $f)) + (type $fb (func (param i32) (result i32))) + (type $cb (cont $fb)) + (tag $fetch (result i32)) + + (func $func_b (result i32) + (suspend $fetch) + ) + (elem declare func $func_b) + + (func $func_a (result i32) + (i32.const 10) + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_b))) + (return (i32.const 101)) + ) + (resume $cb) + ) + (elem declare func $func_a) + (func (export "main") (result i32) + (i32.const 20) + (block (result (ref null $cb)) + (resume $c (on $fetch 0) (cont.new $c (ref.func $func_a))) + (return (i32.const 202)) + ) + (resume $cb) + ) +) + +(assert_return (invoke "main") (i32.const 202)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.bin.wast new file mode 100644 index 0000000..d6e81df --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\0d\83\80\80\80\00\01\00\00\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\b1\80\80\80\00\02\84\80\80\80\00\00" + "\e2\00\0b\a2\80\80\80\00\00\41\01\02\63\01\41\02" + "\41\03\41\04\41\05\d2\00\e0\01\e3\01\01\00\00\00" + "\1a\1a\1a\1a\d0\01\0b\1a\0f\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.wast new file mode 100644 index 0000000..8c3feab --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend18.wast @@ -0,0 +1,28 @@ +(module + (type $f (func)) + (type $c (cont $f)) + (tag $t) + + (func $foo (suspend $t)) + (elem declare func $foo) + + (func (export "main") (result i32) + (i32.const 1) + (block (result (ref null $c)) + (i32.const 2) + (i32.const 3) + (i32.const 4) + (i32.const 5) + (resume $c (on $t 0) (cont.new $c (ref.func $foo))) + (drop) + (drop) + (drop) + (drop) + (ref.null $c) + ) + (drop) + (return) + ) +) + +(assert_return (invoke "main") (i32.const 1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.bin.wast new file mode 100644 index 0000000..df71e43 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.bin.wast @@ -0,0 +1,13 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8f\80\80\80\00\04\60" + "\00\00\5d\00\60\00\01\7f\60\01\63\01\00\03\83\80" + "\80\80\00\02\00\02\0d\83\80\80\80\00\01\00\00\07" + "\88\80\80\80\00\01\04\6d\61\69\6e\00\01\09\85\80" + "\80\80\00\01\03\00\01\00\0a\b4\80\80\80\00\02\84" + "\80\80\80\00\00\e2\00\0b\a5\80\80\80\00\01\01\63" + "\01\41\01\d2\00\e0\01\03\03\21\00\41\02\41\03\41" + "\04\41\05\20\00\e3\01\01\00\00\00\1a\1a\1a\1a\0b" + "\0f\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.wast new file mode 100644 index 0000000..e21f9a8 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend19.wast @@ -0,0 +1,30 @@ +(module + (type $f (func)) + (type $c (cont $f)) + (tag $t) + + (func $foo (suspend $t)) + (elem declare func $foo) + + (func (export "main") (result i32) + (local $x (ref null $c)) + (i32.const 1) + (cont.new $c (ref.func $foo)) + (loop (param (ref null $c)) + (local.set $x) + (i32.const 2) + (i32.const 3) + (i32.const 4) + (i32.const 5) + (local.get $x) + (resume $c (on $t 0)) + (drop) + (drop) + (drop) + (drop) + ) + (return) + ) +) + +(assert_return (invoke "main") (i32.const 1)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.bin.wast new file mode 100644 index 0000000..4bea1fe --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\0d\83\80\80\80\00\01\00\00\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\a2\80\80\80\00\02\84\80\80\80\00\00" + "\e2\00\0b\93\80\80\80\00\00\02\63\01\d2\00\e0\01" + "\e3\01\01\00\00\00\d0\01\0b\d1\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.wast new file mode 100644 index 0000000..27acd58 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend2.wast @@ -0,0 +1,16 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e) + (func $s (suspend $e)) + (elem declare func $s) + (func (export "main") (result i32) + (block (result (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (ref.null $c1) + ) + (ref.is_null) + ) +) + +(assert_return (invoke "main") (i32.const 0)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.bin.wast new file mode 100644 index 0000000..bb0deea --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.bin.wast @@ -0,0 +1,11 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\8a\80\80\80\00\03\60" + "\00\00\5d\00\60\00\01\7f\03\83\80\80\80\00\02\00" + "\02\0d\83\80\80\80\00\01\00\00\07\88\80\80\80\00" + "\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01\03" + "\00\01\00\0a\a6\80\80\80\00\02\84\80\80\80\00\00" + "\e2\00\0b\97\80\80\80\00\00\02\63\01\d2\00\e0\01" + "\e3\01\01\00\00\00\d0\01\0b\e3\01\00\41\2c\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x2c)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.wast new file mode 100644 index 0000000..0a21a9f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend3.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e) + (func $s (suspend $e)) + (elem declare func $s) + (func (export "main") (result i32) + (block (result (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (ref.null $c1) + ) + (resume $c1) + (i32.const 44) + ) +) + +(assert_return (invoke "main") (i32.const 44)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.bin.wast new file mode 100644 index 0000000..5e1e598 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\94\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7f\00\60\00\01\7f\60\00\02\7f" + "\63\01\03\83\80\80\80\00\02\00\03\0d\83\80\80\80" + "\00\01\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a5\80" + "\80\80\00\02\86\80\80\80\00\00\41\37\e2\00\0b\94" + "\80\80\80\00\00\02\04\d2\00\e0\01\e3\01\01\00\00" + "\00\41\2c\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main") (i32.const 0x37)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.wast new file mode 100644 index 0000000..07fc00b --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend4.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e (param i32)) + (func $s (suspend $e (i32.const 55))) + (elem declare func $s) + (func (export "main") (result i32) + (block (result i32 (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (i32.const 44) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main") (i32.const 55)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.bin.wast new file mode 100644 index 0000000..00efd60 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\94\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7e\00\60\00\01\7e\60\00\02\7e" + "\63\01\03\83\80\80\80\00\02\00\03\0d\83\80\80\80" + "\00\01\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\a6\80" + "\80\80\00\02\87\80\80\80\00\00\42\ac\54\e2\00\0b" + "\94\80\80\80\00\00\02\04\d2\00\e0\01\e3\01\01\00" + "\00\00\42\2c\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main") (i64.const 0xffff_ffff_ffff_ea2c)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.wast new file mode 100644 index 0000000..c5e1dc1 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend5.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e (param i64)) + (func $s (suspend $e (i64.const -5588))) + (elem declare func $s) + (func (export "main") (result i64) + (block (result i64 (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (i64.const 44) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main") (i64.const -5588)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.bin.wast new file mode 100644 index 0000000..19f855e --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.bin.wast @@ -0,0 +1,12 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\94\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7d\00\60\00\01\7d\60\00\02\7d" + "\63\01\03\83\80\80\80\00\02\00\03\0d\83\80\80\80" + "\00\01\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\ab\80" + "\80\80\00\02\89\80\80\80\00\00\43\00\a0\ae\c5\e2" + "\00\0b\97\80\80\80\00\00\02\04\d2\00\e0\01\e3\01" + "\01\00\00\00\43\00\00\30\42\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main") (f32.const -0x1.5d4p+12)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.wast new file mode 100644 index 0000000..5a74f39 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend6.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e (param f32)) + (func $s (suspend $e (f32.const -5588))) + (elem declare func $s) + (func (export "main") (result f32) + (block (result f32 (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (f32.const 44) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main") (f32.const -5588)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.bin.wast new file mode 100644 index 0000000..fed520b --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.bin.wast @@ -0,0 +1,13 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\94\80\80\80\00\05\60" + "\00\00\5d\00\60\01\7c\00\60\00\01\7c\60\00\02\7c" + "\63\01\03\83\80\80\80\00\02\00\03\0d\83\80\80\80" + "\00\01\00\02\07\88\80\80\80\00\01\04\6d\61\69\6e" + "\00\01\09\85\80\80\80\00\01\03\00\01\00\0a\b3\80" + "\80\80\00\02\8d\80\80\80\00\00\44\00\00\00\00\00" + "\d4\b5\c0\e2\00\0b\9b\80\80\80\00\00\02\04\d2\00" + "\e0\01\e3\01\01\00\00\00\44\00\00\00\00\00\00\46" + "\40\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main") (f64.const -0x1.5d4p+12)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.wast new file mode 100644 index 0000000..1b80a1a --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend7.wast @@ -0,0 +1,17 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (tag $e (param f64)) + (func $s (suspend $e (f64.const -5588))) + (elem declare func $s) + (func (export "main") (result f64) + (block (result f64 (ref null $c1)) + (resume $c1 (on $e 0) (cont.new $c1 (ref.func $s))) + (f64.const 44) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main") (f64.const -5588)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.bin.wast new file mode 100644 index 0000000..e174d56 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.bin.wast @@ -0,0 +1,13 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\97\80\80\80\00\06\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7f\01\7f\60" + "\00\02\7f\63\01\03\83\80\80\80\00\02\02\04\0d\83" + "\80\80\80\00\01\00\02\07\88\80\80\80\00\01\04\6d" + "\61\69\6e\00\01\09\85\80\80\80\00\01\03\00\01\00" + "\0a\a7\80\80\80\00\02\86\80\80\80\00\00\20\00\e2" + "\00\0b\96\80\80\80\00\00\02\05\20\00\d2\00\e0\03" + "\e3\03\01\00\00\00\41\0b\d0\01\0b\1a\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x16)) (i32.const 0x16)) +(assert_return (invoke "main" (i32.const 0xffff_ffd4)) (i32.const 0xffff_ffd4)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.wast new file mode 100644 index 0000000..e9923fb --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend8.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + (tag $e (param i32)) + (func $s (param i32) (suspend $e (local.get 0))) + (elem declare func $s) + (func (export "main") (param i32) (result i32) + (block (result i32 (ref null $c1)) + (resume $c2 (on $e 0) (local.get 0) + (cont.new $c2 (ref.func $s))) + (i32.const 11) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main" (i32.const 22)) (i32.const 22)) +(assert_return (invoke "main" (i32.const -44)) (i32.const -44)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.bin.wast new file mode 100644 index 0000000..c0b00da --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.bin.wast @@ -0,0 +1,17 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9b\80\80\80\00\07\60" + "\00\00\5d\00\60\01\7f\00\5d\02\60\01\7e\00\60\01" + "\7f\01\7e\60\00\02\7e\63\01\03\83\80\80\80\00\02" + "\02\05\0d\83\80\80\80\00\01\00\04\07\88\80\80\80" + "\00\01\04\6d\61\69\6e\00\01\09\85\80\80\80\00\01" + "\03\00\01\00\0a\a8\80\80\80\00\02\87\80\80\80\00" + "\00\20\00\ac\e2\00\0b\96\80\80\80\00\00\02\06\20" + "\00\d2\00\e0\03\e3\03\01\00\00\00\42\0b\d0\01\0b" + "\1a\0b" +) +(module instance) +(assert_return (invoke "main" (i32.const 0x17)) (i64.const 0x17)) +(assert_return + (invoke "main" (i32.const 0xffff_ffd5)) + (i64.const 0xffff_ffff_ffff_ffd5) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.wast new file mode 100644 index 0000000..f6754a7 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/suspend9.wast @@ -0,0 +1,21 @@ +(module + (type $f1 (func)) + (type $c1 (cont $f1)) + (type $f2 (func (param i32))) + (type $c2 (cont $f2)) + (tag $e (param i64)) + (func $s (param i32) (suspend $e (i64.extend_i32_s (local.get 0)))) + (elem declare func $s) + (func (export "main") (param i32) (result i64) + (block (result i64 (ref null $c1)) + (resume $c2 (on $e 0) (local.get 0) + (cont.new $c2 (ref.func $s))) + (i64.const 11) + (ref.null $c1) + ) + drop + ) +) + +(assert_return (invoke "main" (i32.const 23)) (i64.const 23)) +(assert_return (invoke "main" (i32.const -43)) (i64.const -43)) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.bin.wast new file mode 100644 index 0000000..59e773c --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.bin.wast @@ -0,0 +1,5 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\04\84\80\80\80\00\01\68" + "\00\00" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.wast new file mode 100644 index 0000000..84d117f --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont0.wast @@ -0,0 +1,4 @@ +;; Check that tables can have a continuation type +(module + (table 0 (ref null cont)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.bin.wast new file mode 100644 index 0000000..323c3db --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.bin.wast @@ -0,0 +1,5 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\86\80\80\80\00\02\60" + "\00\00\5d\00\04\85\80\80\80\00\01\63\01\00\00" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.wast new file mode 100644 index 0000000..068ff83 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/table_cont1.wast @@ -0,0 +1,6 @@ +;; Check that tables can have a specific continuation type +(module + (type $f (func)) + (type $c (cont $f)) + (table 0 (ref null $c)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.bin.wast new file mode 100644 index 0000000..d488820 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.bin.wast @@ -0,0 +1,6 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\91\80\80\80\00\04\60" + "\01\7f\00\60\00\01\7f\60\01\7f\01\7f\60\00\00\0d" + "\89\80\80\80\00\04\00\00\00\01\00\02\00\03" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.wast new file mode 100644 index 0000000..1c64902 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag0.wast @@ -0,0 +1,7 @@ +;; Test a module can define a simple tag +(module + (tag $e (param i32)) + (tag $f (result i32)) + (tag $g (param i32) (result i32)) + (tag $h (param) (result)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.bin.wast new file mode 100644 index 0000000..ec30ca0 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.bin.wast @@ -0,0 +1,6 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\94\80\80\80\00\03\60" + "\02\7f\7e\02\7f\7e\60\02\7d\7c\02\7d\7c\60\01\7b" + "\01\7b\0d\87\80\80\80\00\03\00\00\00\01\00\02" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.wast new file mode 100644 index 0000000..edcb358 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag1.wast @@ -0,0 +1,6 @@ +;; Test that tags can use all basic primitives +(module + (tag $e (param i32 i64) (result i32 i64)) + (tag $f (param f32 f64) (result f32 f64)) + (tag $g (param v128) (result v128)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.bin.wast new file mode 100644 index 0000000..b2233ec --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.bin.wast @@ -0,0 +1,7 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\9f\80\80\80\00\06\60" + "\01\6e\01\6e\60\01\6f\01\6f\60\01\70\01\70\60\01" + "\6b\01\6b\60\01\6a\01\6a\60\01\6c\01\6c\0d\8d\80" + "\80\80\00\06\00\00\00\01\00\02\00\03\00\04\00\05" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.wast new file mode 100644 index 0000000..77f9e48 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag2.wast @@ -0,0 +1,9 @@ +;; Test that tags can use all reference types and simple GC types +(module + (tag $e (param anyref) (result anyref)) + (tag $f (param externref) (result externref)) + (tag $g (param funcref) (result funcref)) + (tag $h (param structref) (result structref)) + (tag $i (param arrayref) (result arrayref)) + (tag $j (param i31ref) (result i31ref)) +) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.bin.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.bin.wast new file mode 100644 index 0000000..574ec0d --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.bin.wast @@ -0,0 +1,9 @@ +(module definition binary + "\00\61\73\6d\01\00\00\00\01\b5\80\80\80\00\09\5f" + "\00\5e\7f\00\60\01\7f\01\7f\60\01\64\00\01\64\00" + "\60\01\63\00\01\63\00\60\01\64\01\01\64\01\60\01" + "\63\01\01\63\01\60\01\64\02\01\64\02\60\01\63\02" + "\01\63\02\0d\8d\80\80\80\00\06\00\03\00\04\00\05" + "\00\06\00\07\00\08" +) +(module instance) diff --git a/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.wast b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.wast new file mode 100644 index 0000000..f08cec3 --- /dev/null +++ b/benchmarks/wasm/wasmfx/wizard-stack-switching/tag3.wast @@ -0,0 +1,13 @@ +;; Test that tags can use all complex GC types +(module + (type $s (struct)) + (type $a (array i32)) + (type $f (func (param i32) (result i32))) + + (tag $e (param (ref $s)) (result (ref $s))) + (tag $f (param (ref null $s)) (result (ref null $s))) + (tag $g (param (ref $a)) (result (ref $a))) + (tag $h (param (ref null $a)) (result (ref null $a))) + (tag $j (param (ref $f)) (result (ref $f))) + (tag $k (param (ref null $f)) (result (ref null $f))) +) diff --git a/build.sbt b/build.sbt index 18a88e8..113165d 100644 --- a/build.sbt +++ b/build.sbt @@ -10,9 +10,23 @@ lazy val root = project libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test", libraryDependencies += "org.scala-lang" %% "scala3-staging" % scalaVersion.value, - libraryDependencies += "org.antlr" % "antlr4-runtime" % "4.13.0" + libraryDependencies += "org.antlr" % "antlr4-runtime" % "4.13.0", + libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" % Test ) +fork := true +val commonJavaOptions = Seq( + "-Xms4G", + "-Xmx32G", + "-Xss1024M", + "-XX:MaxMetaspaceSize=8G", + "-XX:ReservedCodeCacheSize=2048M" +) +run / javaOptions ++= commonJavaOptions +Test / javaOptions ++= commonJavaOptions + +Test / parallelExecution := false + scalacOptions ++= Seq( "-Xcheck-macros", "-explain" diff --git a/src/main/java/wasm/WatLexer.java b/src/main/java/wasm/WatLexer.java index 709a0a3..35fd18f 100644 --- a/src/main/java/wasm/WatLexer.java +++ b/src/main/java/wasm/WatLexer.java @@ -20,30 +20,31 @@ public class WatLexer extends Lexer { LPAR=1, RPAR=2, NAT=3, INT=4, FLOAT=5, STRING_=6, VALUE_TYPE=7, CONST=8, SYMBOLIC=9, FUNCREF=10, EXTERNREF=11, MUT=12, REF=13, CONT=14, NULL=15, NOP=16, SYM_ASSERT=17, ALLOC=18, FREE=19, UNREACHABLE=20, DROP=21, BLOCK=22, - LOOP=23, END=24, BR=25, BR_IF=26, BR_TABLE=27, RETURN=28, IF=29, THEN=30, - ELSE=31, SELECT=32, CALL=33, CALL_INDIRECT=34, RETURN_CALL=35, RETURN_CALL_INDIRECT=36, - REFFUNC=37, CALLREF=38, RESUME=39, ON=40, CONTNEW=41, CONTBIND=42, SUSPEND=43, - REFNULL=44, REFISNULL=45, TRY=46, CATCH=47, THROW=48, RESUME0=49, LOCAL_GET=50, - LOCAL_SET=51, LOCAL_TEE=52, GLOBAL_GET=53, GLOBAL_SET=54, LOAD=55, STORE=56, - UNDERSCORE=57, OFFSET_EQ=58, ALIGN_EQ=59, SIGN_POSTFIX=60, MEM_SIZE=61, - I32=62, I64=63, F32=64, F64=65, IXX=66, FXX=67, OP_EQZ=68, OP_EQ=69, OP_NE=70, - OP_LT=71, OP_LTS=72, OP_LTU=73, OP_LE=74, OP_LES=75, OP_LEU=76, OP_GT=77, - OP_GTS=78, OP_GTU=79, OP_GE=80, OP_GES=81, OP_GEU=82, OP_CLZ=83, OP_CTZ=84, - OP_POPCNT=85, OP_NEG=86, OP_ABS=87, OP_SQRT=88, OP_CEIL=89, OP_FLOOR=90, - OP_TRUNC=91, OP_NEAREST=92, OP_ADD=93, OP_SUB=94, OP_MUL=95, OP_DIV=96, - OP_DIV_S=97, OP_DIV_U=98, OP_REM_S=99, OP_REM_U=100, OP_AND=101, OP_OR=102, - OP_XOR=103, OP_SHL=104, OP_SHR_S=105, OP_SHR_U=106, OP_ROTL=107, OP_ROTR=108, - OP_MIN=109, OP_MAX=110, OP_COPYSIGN=111, OP_WRAP=112, OP_TRUNC_=113, OP_TRUNC_SAT=114, - OP_CONVERT=115, OP_EXTEND=116, OP_DEMOTE=117, OP_PROMOTE=118, OP_REINTER=119, - MEMORY_SIZE=120, MEMORY_GROW=121, MEMORY_FILL=122, MEMORY_COPY=123, MEMORY_INIT=124, - TEST=125, COMPARE=126, UNARY=127, BINARY=128, CONVERT=129, TYPE=130, FUNC=131, - EXTERN=132, START_=133, PARAM=134, RESULT=135, LOCAL=136, GLOBAL=137, - TABLE=138, MEMORY=139, ELEM=140, DATA=141, OFFSET=142, IMPORT=143, EXPORT=144, - TAG=145, DECLARE=146, MODULE=147, BIN=148, QUOTE=149, DEFINITION=150, - INSTANCE=151, SCRIPT=152, REGISTER=153, INVOKE=154, GET=155, ASSERT_MALFORMED=156, - ASSERT_INVALID=157, ASSERT_UNLINKABLE=158, ASSERT_RETURN=159, ASSERT_RETURN_CANONICAL_NAN=160, - ASSERT_RETURN_ARITHMETIC_NAN=161, ASSERT_TRAP=162, ASSERT_EXHAUSTION=163, - INPUT=164, OUTPUT=165, VAR=166, V128=167, SPACE=168, COMMENT=169; + LOOP=23, FOR=24, VBAR=25, END=26, BR=27, BR_IF=28, BR_TABLE=29, RETURN=30, + IF=31, THEN=32, ELSE=33, SELECT=34, CALL=35, CALL_INDIRECT=36, RETURN_CALL=37, + RETURN_CALL_INDIRECT=38, REFFUNC=39, CALLREF=40, RESUME=41, ON=42, CONTNEW=43, + CONTBIND=44, SUSPEND=45, REFNULL=46, REFISNULL=47, TRY=48, CATCH=49, THROW=50, + RESUME0=51, LOCAL_GET=52, LOCAL_SET=53, LOCAL_TEE=54, GLOBAL_GET=55, GLOBAL_SET=56, + LOAD=57, STORE=58, UNDERSCORE=59, OFFSET_EQ=60, ALIGN_EQ=61, SIGN_POSTFIX=62, + MEM_SIZE=63, I32=64, I64=65, F32=66, F64=67, IXX=68, FXX=69, OP_EQZ=70, + OP_EQ=71, OP_NE=72, OP_LT=73, OP_LTS=74, OP_LTU=75, OP_LE=76, OP_LES=77, + OP_LEU=78, OP_GT=79, OP_GTS=80, OP_GTU=81, OP_GE=82, OP_GES=83, OP_GEU=84, + OP_CLZ=85, OP_CTZ=86, OP_POPCNT=87, OP_NEG=88, OP_ABS=89, OP_SQRT=90, + OP_CEIL=91, OP_FLOOR=92, OP_TRUNC=93, OP_NEAREST=94, OP_ADD=95, OP_SUB=96, + OP_MUL=97, OP_DIV=98, OP_DIV_S=99, OP_DIV_U=100, OP_REM_S=101, OP_REM_U=102, + OP_AND=103, OP_OR=104, OP_XOR=105, OP_SHL=106, OP_SHR_S=107, OP_SHR_U=108, + OP_ROTL=109, OP_ROTR=110, OP_MIN=111, OP_MAX=112, OP_COPYSIGN=113, OP_WRAP=114, + OP_TRUNC_=115, OP_TRUNC_SAT=116, OP_CONVERT=117, OP_EXTEND=118, OP_DEMOTE=119, + OP_PROMOTE=120, OP_REINTER=121, MEMORY_SIZE=122, MEMORY_GROW=123, MEMORY_FILL=124, + MEMORY_COPY=125, MEMORY_INIT=126, TEST=127, COMPARE=128, UNARY=129, BINARY=130, + CONVERT=131, TYPE=132, FUNC=133, EXTERN=134, START_=135, PARAM=136, RESULT=137, + LOCAL=138, GLOBAL=139, TABLE=140, MEMORY=141, ELEM=142, DATA=143, OFFSET=144, + IMPORT=145, EXPORT=146, TAG=147, DECLARE=148, MODULE=149, BIN=150, QUOTE=151, + DEFINITION=152, INSTANCE=153, SCRIPT=154, REGISTER=155, INVOKE=156, GET=157, + ASSERT_MALFORMED=158, ASSERT_INVALID=159, ASSERT_UNLINKABLE=160, ASSERT_RETURN=161, + ASSERT_RETURN_CANONICAL_NAN=162, ASSERT_RETURN_ARITHMETIC_NAN=163, ASSERT_TRAP=164, + ASSERT_EXHAUSTION=165, INPUT=166, OUTPUT=167, VAR=168, V128=169, SPACE=170, + COMMENT=171; public static String[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; @@ -57,31 +58,32 @@ private static String[] makeRuleNames() { "LPAR", "RPAR", "NAT", "INT", "FLOAT", "STRING_", "VALUE_TYPE", "CONST", "SYMBOLIC", "FUNCREF", "EXTERNREF", "MUT", "REF", "CONT", "NULL", "NOP", "SYM_ASSERT", "ALLOC", "FREE", "UNREACHABLE", "DROP", "BLOCK", "LOOP", - "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", "THEN", "ELSE", "SELECT", - "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", "REFFUNC", - "CALLREF", "RESUME", "ON", "CONTNEW", "CONTBIND", "SUSPEND", "REFNULL", - "REFISNULL", "TRY", "CATCH", "THROW", "RESUME0", "LOCAL_GET", "LOCAL_SET", - "LOCAL_TEE", "GLOBAL_GET", "GLOBAL_SET", "LOAD", "STORE", "UNDERSCORE", - "OFFSET_EQ", "ALIGN_EQ", "SIGN_POSTFIX", "MEM_SIZE", "I32", "I64", "F32", - "F64", "IXX", "FXX", "OP_EQZ", "OP_EQ", "OP_NE", "OP_LT", "OP_LTS", "OP_LTU", - "OP_LE", "OP_LES", "OP_LEU", "OP_GT", "OP_GTS", "OP_GTU", "OP_GE", "OP_GES", - "OP_GEU", "OP_CLZ", "OP_CTZ", "OP_POPCNT", "OP_NEG", "OP_ABS", "OP_SQRT", - "OP_CEIL", "OP_FLOOR", "OP_TRUNC", "OP_NEAREST", "OP_ADD", "OP_SUB", - "OP_MUL", "OP_DIV", "OP_DIV_S", "OP_DIV_U", "OP_REM_S", "OP_REM_U", "OP_AND", - "OP_OR", "OP_XOR", "OP_SHL", "OP_SHR_S", "OP_SHR_U", "OP_ROTL", "OP_ROTR", - "OP_MIN", "OP_MAX", "OP_COPYSIGN", "OP_WRAP", "OP_TRUNC_", "OP_TRUNC_SAT", - "OP_CONVERT", "OP_EXTEND", "OP_DEMOTE", "OP_PROMOTE", "OP_REINTER", "MEMORY_SIZE", - "MEMORY_GROW", "MEMORY_FILL", "MEMORY_COPY", "MEMORY_INIT", "TEST", "COMPARE", - "UNARY", "BINARY", "CONVERT", "TYPE", "FUNC", "EXTERN", "START_", "PARAM", - "RESULT", "LOCAL", "GLOBAL", "TABLE", "MEMORY", "ELEM", "DATA", "OFFSET", - "IMPORT", "EXPORT", "TAG", "DECLARE", "MODULE", "BIN", "QUOTE", "DEFINITION", - "INSTANCE", "SCRIPT", "REGISTER", "INVOKE", "GET", "ASSERT_MALFORMED", - "ASSERT_INVALID", "ASSERT_UNLINKABLE", "ASSERT_RETURN", "ASSERT_RETURN_CANONICAL_NAN", - "ASSERT_RETURN_ARITHMETIC_NAN", "ASSERT_TRAP", "ASSERT_EXHAUSTION", "INPUT", - "OUTPUT", "VAR", "V128", "SPACE", "COMMENT", "Symbol", "Num", "HexNum", - "Sign", "Digit", "HexDigit", "Letter", "Nat", "Int", "Frac", "HexFrac", - "Float", "String_", "Name", "Escape", "NXX", "Char", "Ascii", "Ascii_no_nl", - "Utf8Cont", "Utf8", "Utf8_no_nl", "Utf8Enc" + "FOR", "VBAR", "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", "THEN", + "ELSE", "SELECT", "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", + "REFFUNC", "CALLREF", "RESUME", "ON", "CONTNEW", "CONTBIND", "SUSPEND", + "REFNULL", "REFISNULL", "TRY", "CATCH", "THROW", "RESUME0", "LOCAL_GET", + "LOCAL_SET", "LOCAL_TEE", "GLOBAL_GET", "GLOBAL_SET", "LOAD", "STORE", + "UNDERSCORE", "OFFSET_EQ", "ALIGN_EQ", "SIGN_POSTFIX", "MEM_SIZE", "I32", + "I64", "F32", "F64", "IXX", "FXX", "OP_EQZ", "OP_EQ", "OP_NE", "OP_LT", + "OP_LTS", "OP_LTU", "OP_LE", "OP_LES", "OP_LEU", "OP_GT", "OP_GTS", "OP_GTU", + "OP_GE", "OP_GES", "OP_GEU", "OP_CLZ", "OP_CTZ", "OP_POPCNT", "OP_NEG", + "OP_ABS", "OP_SQRT", "OP_CEIL", "OP_FLOOR", "OP_TRUNC", "OP_NEAREST", + "OP_ADD", "OP_SUB", "OP_MUL", "OP_DIV", "OP_DIV_S", "OP_DIV_U", "OP_REM_S", + "OP_REM_U", "OP_AND", "OP_OR", "OP_XOR", "OP_SHL", "OP_SHR_S", "OP_SHR_U", + "OP_ROTL", "OP_ROTR", "OP_MIN", "OP_MAX", "OP_COPYSIGN", "OP_WRAP", "OP_TRUNC_", + "OP_TRUNC_SAT", "OP_CONVERT", "OP_EXTEND", "OP_DEMOTE", "OP_PROMOTE", + "OP_REINTER", "MEMORY_SIZE", "MEMORY_GROW", "MEMORY_FILL", "MEMORY_COPY", + "MEMORY_INIT", "TEST", "COMPARE", "UNARY", "BINARY", "CONVERT", "TYPE", + "FUNC", "EXTERN", "START_", "PARAM", "RESULT", "LOCAL", "GLOBAL", "TABLE", + "MEMORY", "ELEM", "DATA", "OFFSET", "IMPORT", "EXPORT", "TAG", "DECLARE", + "MODULE", "BIN", "QUOTE", "DEFINITION", "INSTANCE", "SCRIPT", "REGISTER", + "INVOKE", "GET", "ASSERT_MALFORMED", "ASSERT_INVALID", "ASSERT_UNLINKABLE", + "ASSERT_RETURN", "ASSERT_RETURN_CANONICAL_NAN", "ASSERT_RETURN_ARITHMETIC_NAN", + "ASSERT_TRAP", "ASSERT_EXHAUSTION", "INPUT", "OUTPUT", "VAR", "V128", + "SPACE", "COMMENT", "Symbol", "Num", "HexNum", "Sign", "Digit", "HexDigit", + "Letter", "Nat", "Int", "Frac", "HexFrac", "Float", "String_", "Name", + "Escape", "NXX", "Char", "Ascii", "Ascii_no_nl", "Utf8Cont", "Utf8", + "Utf8_no_nl", "Utf8Enc" }; } public static final String[] ruleNames = makeRuleNames(); @@ -91,30 +93,30 @@ private static String[] makeLiteralNames() { null, "'('", "')'", null, null, null, null, null, null, null, "'funcref'", "'externref'", "'mut'", "'ref'", "'cont'", "'null'", "'nop'", "'sym_assert'", "'alloc'", "'free'", "'unreachable'", "'drop'", "'block'", "'loop'", - "'end'", "'br'", "'br_if'", "'br_table'", "'return'", "'if'", "'then'", - "'else'", "'.select'", "'call'", "'call_indirect'", "'return_call'", - "'return_call_indirect'", "'ref.func'", "'call_ref'", "'resume'", "'on'", - "'cont.new'", "'cont.bind'", "'suspend'", "'ref.null'", "'ref.is_null'", - "'try'", "'catch'", "'throw'", "'resume0'", "'local.get'", "'local.set'", - "'local.tee'", "'global.get'", "'global.set'", null, null, "'_'", "'offset='", - "'align='", null, null, "'i32'", "'i64'", "'f32'", "'f64'", null, null, - "'.eqz'", "'.eq'", "'.ne'", "'.lt'", "'.lt_s'", "'.lt_u'", "'.le'", "'.le_s'", - "'.le_u'", "'.gt'", "'.gt_s'", "'.gt_u'", "'.ge'", "'.ge_s'", "'.ge_u'", - "'.clz'", "'.ctz'", "'.popcnt'", "'.neg'", "'.abs'", "'.sqrt'", "'.ceil'", - "'.floor'", "'.trunc'", "'.nearest'", "'.add'", "'.sub'", "'.mul'", "'.div'", - "'.div_s'", "'.div_u'", "'.rem_s'", "'.rem_u'", "'.and'", "'.or'", "'.xor'", - "'.shl'", "'.shr_s'", "'.shr_u'", "'.rotl'", "'.rotr'", "'.min'", "'.max'", - "'.copysign'", "'.wrap_'", "'.trunc_'", "'.trunc_sat_'", "'.convert_'", - "'.extend_'", "'.demote_'", "'.promote_'", "'.reinterpret_'", "'memory.size'", - "'memory.grow'", "'memory.fill'", "'memory.copy'", "'memory.init'", null, - null, null, null, null, "'type'", "'func'", "'extern'", "'start'", "'param'", - "'result'", "'local'", "'global'", "'table'", "'memory'", "'elem'", "'data'", - "'offset'", "'import'", "'export'", "'tag'", "'declare'", "'module'", - "'binary'", "'quote'", "'definition'", "'instance'", "'script'", "'register'", - "'invoke'", "'get'", "'assert_malformed'", "'assert_invalid'", "'assert_unlinkable'", - "'assert_return'", "'assert_return_canonical_nan'", "'assert_return_arithmetic_nan'", - "'assert_trap'", "'assert_exhaustion'", "'input'", "'output'", null, - "'v128'" + "'for'", "'|'", "'end'", "'br'", "'br_if'", "'br_table'", "'return'", + "'if'", "'then'", "'else'", "'.select'", "'call'", "'call_indirect'", + "'return_call'", "'return_call_indirect'", "'ref.func'", "'call_ref'", + "'resume'", "'on'", "'cont.new'", "'cont.bind'", "'suspend'", "'ref.null'", + "'ref.is_null'", "'try'", "'catch'", "'throw'", "'resume0'", "'local.get'", + "'local.set'", "'local.tee'", "'global.get'", "'global.set'", null, null, + "'_'", "'offset='", "'align='", null, null, "'i32'", "'i64'", "'f32'", + "'f64'", null, null, "'.eqz'", "'.eq'", "'.ne'", "'.lt'", "'.lt_s'", + "'.lt_u'", "'.le'", "'.le_s'", "'.le_u'", "'.gt'", "'.gt_s'", "'.gt_u'", + "'.ge'", "'.ge_s'", "'.ge_u'", "'.clz'", "'.ctz'", "'.popcnt'", "'.neg'", + "'.abs'", "'.sqrt'", "'.ceil'", "'.floor'", "'.trunc'", "'.nearest'", + "'.add'", "'.sub'", "'.mul'", "'.div'", "'.div_s'", "'.div_u'", "'.rem_s'", + "'.rem_u'", "'.and'", "'.or'", "'.xor'", "'.shl'", "'.shr_s'", "'.shr_u'", + "'.rotl'", "'.rotr'", "'.min'", "'.max'", "'.copysign'", "'.wrap_'", + "'.trunc_'", "'.trunc_sat_'", "'.convert_'", "'.extend_'", "'.demote_'", + "'.promote_'", "'.reinterpret_'", "'memory.size'", "'memory.grow'", "'memory.fill'", + "'memory.copy'", "'memory.init'", null, null, null, null, null, "'type'", + "'func'", "'extern'", "'start'", "'param'", "'result'", "'local'", "'global'", + "'table'", "'memory'", "'elem'", "'data'", "'offset'", "'import'", "'export'", + "'tag'", "'declare'", "'module'", "'binary'", "'quote'", "'definition'", + "'instance'", "'script'", "'register'", "'invoke'", "'get'", "'assert_malformed'", + "'assert_invalid'", "'assert_unlinkable'", "'assert_return'", "'assert_return_canonical_nan'", + "'assert_return_arithmetic_nan'", "'assert_trap'", "'assert_exhaustion'", + "'input'", "'output'", null, "'v128'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); @@ -123,8 +125,8 @@ private static String[] makeSymbolicNames() { null, "LPAR", "RPAR", "NAT", "INT", "FLOAT", "STRING_", "VALUE_TYPE", "CONST", "SYMBOLIC", "FUNCREF", "EXTERNREF", "MUT", "REF", "CONT", "NULL", "NOP", "SYM_ASSERT", "ALLOC", "FREE", "UNREACHABLE", "DROP", "BLOCK", - "LOOP", "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", "THEN", "ELSE", - "SELECT", "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", + "LOOP", "FOR", "VBAR", "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", + "THEN", "ELSE", "SELECT", "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", "REFFUNC", "CALLREF", "RESUME", "ON", "CONTNEW", "CONTBIND", "SUSPEND", "REFNULL", "REFISNULL", "TRY", "CATCH", "THROW", "RESUME0", "LOCAL_GET", "LOCAL_SET", "LOCAL_TEE", "GLOBAL_GET", "GLOBAL_SET", "LOAD", "STORE", @@ -207,7 +209,7 @@ public WatLexer(CharStream input) { public ATN getATN() { return _ATN; } public static final String _serializedATN = - "\u0004\u0000\u00a9\u0900\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002"+ + "\u0004\u0000\u00ab\u090a\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002"+ "\u0001\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002"+ "\u0004\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002"+ "\u0007\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002"+ @@ -258,1379 +260,1396 @@ public WatLexer(CharStream input) { "\u0002\u00b6\u0007\u00b6\u0002\u00b7\u0007\u00b7\u0002\u00b8\u0007\u00b8"+ "\u0002\u00b9\u0007\u00b9\u0002\u00ba\u0007\u00ba\u0002\u00bb\u0007\u00bb"+ "\u0002\u00bc\u0007\u00bc\u0002\u00bd\u0007\u00bd\u0002\u00be\u0007\u00be"+ - "\u0002\u00bf\u0007\u00bf\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001"+ - "\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004"+ - "\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007"+ - "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ - "\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ + "\u0002\u00bf\u0007\u00bf\u0002\u00c0\u0007\u00c0\u0002\u00c1\u0007\u00c1"+ + "\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002"+ + "\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005"+ + "\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ + "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001"+ + "\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ + "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001"+ + "\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ + "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001"+ + "\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001"+ + "\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ + "\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ - "\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ + "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ + "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001"+ "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001"+ - "\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ - "\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001"+ - "\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001"+ + "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001"+ + "\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+ + "\u0017\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ + "\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001"+ "\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001"+ + "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ "\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001"+ - "\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001"+ - "\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+ - "\u001f\u0001 \u0001 \u0001 \u0001 \u0001 \u0001!\u0001!\u0001!\u0001!"+ - "\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001"+ - "!\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001"+ - "\"\u0001\"\u0001\"\u0001\"\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001"+ - "#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001"+ - "#\u0001#\u0001#\u0001#\u0001#\u0001$\u0001$\u0001$\u0001$\u0001$\u0001"+ - "$\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ + "\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001"+ + "\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001 \u0001 \u0001 \u0001"+ + " \u0001 \u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001"+ + "\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001#\u0001#\u0001#\u0001#\u0001#"+ + "\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001"+ + "$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001"+ + "$\u0001$\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ + "%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ "%\u0001%\u0001%\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001"+ - "\'\u0001\'\u0001\'\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001"+ - "(\u0001(\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001"+ + "&\u0001&\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001"+ + "\'\u0001\'\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001)\u0001"+ ")\u0001)\u0001*\u0001*\u0001*\u0001*\u0001*\u0001*\u0001*\u0001*\u0001"+ - "+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001,\u0001"+ - ",\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001"+ - ",\u0001-\u0001-\u0001-\u0001-\u0001.\u0001.\u0001.\u0001.\u0001.\u0001"+ - ".\u0001/\u0001/\u0001/\u0001/\u0001/\u0001/\u00010\u00010\u00010\u0001"+ - "0\u00010\u00010\u00010\u00010\u00011\u00011\u00011\u00011\u00011\u0001"+ - "1\u00011\u00011\u00011\u00011\u00012\u00012\u00012\u00012\u00012\u0001"+ - "2\u00012\u00012\u00012\u00012\u00013\u00013\u00013\u00013\u00013\u0001"+ - "3\u00013\u00013\u00013\u00013\u00014\u00014\u00014\u00014\u00014\u0001"+ - "4\u00014\u00014\u00014\u00014\u00014\u00015\u00015\u00015\u00015\u0001"+ - "5\u00015\u00015\u00015\u00015\u00015\u00015\u00016\u00016\u00016\u0001"+ - "6\u00016\u00016\u00016\u00016\u00016\u00016\u00036\u0305\b6\u00017\u0001"+ - "7\u00017\u00017\u00017\u00017\u00017\u00017\u00037\u030f\b7\u00018\u0001"+ - "8\u00019\u00019\u00019\u00019\u00019\u00019\u00019\u00019\u0001:\u0001"+ - ":\u0001:\u0001:\u0001:\u0001:\u0001:\u0001;\u0001;\u0001<\u0001<\u0001"+ - "<\u0001<\u0001<\u0001<\u0001<\u0003<\u032b\b<\u0001=\u0001=\u0001=\u0001"+ - "=\u0001>\u0001>\u0001>\u0001>\u0001?\u0001?\u0001?\u0001?\u0001@\u0001"+ - "@\u0001@\u0001@\u0001A\u0001A\u0003A\u033f\bA\u0001B\u0001B\u0003B\u0343"+ - "\bB\u0001C\u0001C\u0001C\u0001C\u0001C\u0001D\u0001D\u0001D\u0001D\u0001"+ - "E\u0001E\u0001E\u0001E\u0001F\u0001F\u0001F\u0001F\u0001G\u0001G\u0001"+ - "G\u0001G\u0001G\u0001G\u0001H\u0001H\u0001H\u0001H\u0001H\u0001H\u0001"+ - "I\u0001I\u0001I\u0001I\u0001J\u0001J\u0001J\u0001J\u0001J\u0001J\u0001"+ - "K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001L\u0001L\u0001L\u0001L\u0001"+ - "M\u0001M\u0001M\u0001M\u0001M\u0001M\u0001N\u0001N\u0001N\u0001N\u0001"+ - "N\u0001N\u0001O\u0001O\u0001O\u0001O\u0001P\u0001P\u0001P\u0001P\u0001"+ - "P\u0001P\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001R\u0001R\u0001"+ - "R\u0001R\u0001R\u0001S\u0001S\u0001S\u0001S\u0001S\u0001T\u0001T\u0001"+ - "T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001U\u0001U\u0001U\u0001U\u0001"+ - "U\u0001V\u0001V\u0001V\u0001V\u0001V\u0001W\u0001W\u0001W\u0001W\u0001"+ - "W\u0001W\u0001X\u0001X\u0001X\u0001X\u0001X\u0001X\u0001Y\u0001Y\u0001"+ - "Y\u0001Y\u0001Y\u0001Y\u0001Y\u0001Z\u0001Z\u0001Z\u0001Z\u0001Z\u0001"+ - "Z\u0001Z\u0001[\u0001[\u0001[\u0001[\u0001[\u0001[\u0001[\u0001[\u0001"+ - "[\u0001\\\u0001\\\u0001\\\u0001\\\u0001\\\u0001]\u0001]\u0001]\u0001]"+ - "\u0001]\u0001^\u0001^\u0001^\u0001^\u0001^\u0001_\u0001_\u0001_\u0001"+ - "_\u0001_\u0001`\u0001`\u0001`\u0001`\u0001`\u0001`\u0001`\u0001a\u0001"+ - "a\u0001a\u0001a\u0001a\u0001a\u0001a\u0001b\u0001b\u0001b\u0001b\u0001"+ - "b\u0001b\u0001b\u0001c\u0001c\u0001c\u0001c\u0001c\u0001c\u0001c\u0001"+ - "d\u0001d\u0001d\u0001d\u0001d\u0001e\u0001e\u0001e\u0001e\u0001f\u0001"+ - "f\u0001f\u0001f\u0001f\u0001g\u0001g\u0001g\u0001g\u0001g\u0001h\u0001"+ - "h\u0001h\u0001h\u0001h\u0001h\u0001h\u0001i\u0001i\u0001i\u0001i\u0001"+ - "i\u0001i\u0001i\u0001j\u0001j\u0001j\u0001j\u0001j\u0001j\u0001k\u0001"+ - "k\u0001k\u0001k\u0001k\u0001k\u0001l\u0001l\u0001l\u0001l\u0001l\u0001"+ - "m\u0001m\u0001m\u0001m\u0001m\u0001n\u0001n\u0001n\u0001n\u0001n\u0001"+ - "n\u0001n\u0001n\u0001n\u0001n\u0001o\u0001o\u0001o\u0001o\u0001o\u0001"+ - "o\u0001o\u0001p\u0001p\u0001p\u0001p\u0001p\u0001p\u0001p\u0001p\u0001"+ - "q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001"+ - "q\u0001q\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001"+ - "r\u0001r\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001"+ + "*\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001"+ + "+\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001-\u0001"+ + "-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001.\u0001.\u0001"+ + ".\u0001.\u0001.\u0001.\u0001.\u0001.\u0001.\u0001.\u0001.\u0001.\u0001"+ + "/\u0001/\u0001/\u0001/\u00010\u00010\u00010\u00010\u00010\u00010\u0001"+ + "1\u00011\u00011\u00011\u00011\u00011\u00012\u00012\u00012\u00012\u0001"+ + "2\u00012\u00012\u00012\u00013\u00013\u00013\u00013\u00013\u00013\u0001"+ + "3\u00013\u00013\u00013\u00014\u00014\u00014\u00014\u00014\u00014\u0001"+ + "4\u00014\u00014\u00014\u00015\u00015\u00015\u00015\u00015\u00015\u0001"+ + "5\u00015\u00015\u00015\u00016\u00016\u00016\u00016\u00016\u00016\u0001"+ + "6\u00016\u00016\u00016\u00016\u00017\u00017\u00017\u00017\u00017\u0001"+ + "7\u00017\u00017\u00017\u00017\u00017\u00018\u00018\u00018\u00018\u0001"+ + "8\u00018\u00018\u00018\u00018\u00018\u00038\u030f\b8\u00019\u00019\u0001"+ + "9\u00019\u00019\u00019\u00019\u00019\u00039\u0319\b9\u0001:\u0001:\u0001"+ + ";\u0001;\u0001;\u0001;\u0001;\u0001;\u0001;\u0001;\u0001<\u0001<\u0001"+ + "<\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001>\u0001>\u0001>\u0001"+ + ">\u0001>\u0001>\u0001>\u0003>\u0335\b>\u0001?\u0001?\u0001?\u0001?\u0001"+ + "@\u0001@\u0001@\u0001@\u0001A\u0001A\u0001A\u0001A\u0001B\u0001B\u0001"+ + "B\u0001B\u0001C\u0001C\u0003C\u0349\bC\u0001D\u0001D\u0003D\u034d\bD\u0001"+ + "E\u0001E\u0001E\u0001E\u0001E\u0001F\u0001F\u0001F\u0001F\u0001G\u0001"+ + "G\u0001G\u0001G\u0001H\u0001H\u0001H\u0001H\u0001I\u0001I\u0001I\u0001"+ + "I\u0001I\u0001I\u0001J\u0001J\u0001J\u0001J\u0001J\u0001J\u0001K\u0001"+ + "K\u0001K\u0001K\u0001L\u0001L\u0001L\u0001L\u0001L\u0001L\u0001M\u0001"+ + "M\u0001M\u0001M\u0001M\u0001M\u0001N\u0001N\u0001N\u0001N\u0001O\u0001"+ + "O\u0001O\u0001O\u0001O\u0001O\u0001P\u0001P\u0001P\u0001P\u0001P\u0001"+ + "P\u0001Q\u0001Q\u0001Q\u0001Q\u0001R\u0001R\u0001R\u0001R\u0001R\u0001"+ + "R\u0001S\u0001S\u0001S\u0001S\u0001S\u0001S\u0001T\u0001T\u0001T\u0001"+ + "T\u0001T\u0001U\u0001U\u0001U\u0001U\u0001U\u0001V\u0001V\u0001V\u0001"+ + "V\u0001V\u0001V\u0001V\u0001V\u0001W\u0001W\u0001W\u0001W\u0001W\u0001"+ + "X\u0001X\u0001X\u0001X\u0001X\u0001Y\u0001Y\u0001Y\u0001Y\u0001Y\u0001"+ + "Y\u0001Z\u0001Z\u0001Z\u0001Z\u0001Z\u0001Z\u0001[\u0001[\u0001[\u0001"+ + "[\u0001[\u0001[\u0001[\u0001\\\u0001\\\u0001\\\u0001\\\u0001\\\u0001\\"+ + "\u0001\\\u0001]\u0001]\u0001]\u0001]\u0001]\u0001]\u0001]\u0001]\u0001"+ + "]\u0001^\u0001^\u0001^\u0001^\u0001^\u0001_\u0001_\u0001_\u0001_\u0001"+ + "_\u0001`\u0001`\u0001`\u0001`\u0001`\u0001a\u0001a\u0001a\u0001a\u0001"+ + "a\u0001b\u0001b\u0001b\u0001b\u0001b\u0001b\u0001b\u0001c\u0001c\u0001"+ + "c\u0001c\u0001c\u0001c\u0001c\u0001d\u0001d\u0001d\u0001d\u0001d\u0001"+ + "d\u0001d\u0001e\u0001e\u0001e\u0001e\u0001e\u0001e\u0001e\u0001f\u0001"+ + "f\u0001f\u0001f\u0001f\u0001g\u0001g\u0001g\u0001g\u0001h\u0001h\u0001"+ + "h\u0001h\u0001h\u0001i\u0001i\u0001i\u0001i\u0001i\u0001j\u0001j\u0001"+ + "j\u0001j\u0001j\u0001j\u0001j\u0001k\u0001k\u0001k\u0001k\u0001k\u0001"+ + "k\u0001k\u0001l\u0001l\u0001l\u0001l\u0001l\u0001l\u0001m\u0001m\u0001"+ + "m\u0001m\u0001m\u0001m\u0001n\u0001n\u0001n\u0001n\u0001n\u0001o\u0001"+ + "o\u0001o\u0001o\u0001o\u0001p\u0001p\u0001p\u0001p\u0001p\u0001p\u0001"+ + "p\u0001p\u0001p\u0001p\u0001q\u0001q\u0001q\u0001q\u0001q\u0001q\u0001"+ + "q\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001r\u0001s\u0001"+ + "s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001s\u0001"+ "s\u0001t\u0001t\u0001t\u0001t\u0001t\u0001t\u0001t\u0001t\u0001t\u0001"+ - "u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001"+ - "v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001"+ - "v\u0001v\u0001v\u0001v\u0001w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001"+ - "w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001x\u0001x\u0001x\u0001x\u0001"+ - "x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001y\u0001y\u0001"+ - "y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001"+ - "z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001"+ - "z\u0001z\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001"+ - "{\u0001{\u0001{\u0001{\u0001|\u0001|\u0001|\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001}\u0003}\u0530\b}\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001"+ - "~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0001~\u0003~\u057b\b~\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001"+ - "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0003"+ - "\u007f\u0613\b\u007f\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001"+ - "\u0080\u0001\u0080\u0003\u0080\u06b7\b\u0080\u0001\u0081\u0001\u0081\u0001"+ - "\u0081\u0001\u0081\u0001\u0081\u0001\u0082\u0001\u0082\u0001\u0082\u0001"+ - "\u0082\u0001\u0082\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0083\u0001"+ - "\u0083\u0001\u0083\u0001\u0083\u0001\u0084\u0001\u0084\u0001\u0084\u0001"+ - "\u0084\u0001\u0084\u0001\u0084\u0001\u0085\u0001\u0085\u0001\u0085\u0001"+ - "\u0085\u0001\u0085\u0001\u0085\u0001\u0086\u0001\u0086\u0001\u0086\u0001"+ - "\u0086\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0087\u0001\u0087\u0001"+ - "\u0087\u0001\u0087\u0001\u0087\u0001\u0087\u0001\u0088\u0001\u0088\u0001"+ - "\u0088\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0089\u0001"+ - "\u0089\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u008a\u0001"+ - "\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001"+ - "\u008b\u0001\u008b\u0001\u008b\u0001\u008b\u0001\u008b\u0001\u008c\u0001"+ - "\u008c\u0001\u008c\u0001\u008c\u0001\u008c\u0001\u008d\u0001\u008d\u0001"+ - "\u008d\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008e\u0001"+ - "\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001"+ - "\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001"+ - "\u008f\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0091\u0001"+ - "\u0091\u0001\u0091\u0001\u0091\u0001\u0091\u0001\u0091\u0001\u0091\u0001"+ - "\u0091\u0001\u0092\u0001\u0092\u0001\u0092\u0001\u0092\u0001\u0092\u0001"+ - "\u0092\u0001\u0092\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0093\u0001"+ - "\u0093\u0001\u0093\u0001\u0093\u0001\u0094\u0001\u0094\u0001\u0094\u0001"+ - "\u0094\u0001\u0094\u0001\u0094\u0001\u0095\u0001\u0095\u0001\u0095\u0001"+ - "\u0095\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0095\u0001"+ - "\u0095\u0001\u0095\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0096\u0001"+ - "\u0096\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0097\u0001"+ - "\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001"+ - "\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001"+ - "\u0098\u0001\u0098\u0001\u0098\u0001\u0099\u0001\u0099\u0001\u0099\u0001"+ - "\u0099\u0001\u0099\u0001\u0099\u0001\u0099\u0001\u009a\u0001\u009a\u0001"+ - "\u009a\u0001\u009a\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001"+ - "\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001"+ - "\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001"+ - "\u009b\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001"+ - "\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001"+ - "\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009d\u0001\u009d\u0001"+ - "\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001"+ - "\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001"+ - "\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009e\u0001\u009e\u0001"+ - "\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001"+ - "\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001"+ - "\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001"+ - "\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001"+ - "\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001"+ - "\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001"+ - "\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u00a0\u0001\u00a0\u0001"+ - "\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001"+ - "\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001"+ - "\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001"+ - "\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001"+ - "\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001"+ - "\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001"+ - "\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001"+ - "\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001"+ - "\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001"+ - "\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001"+ - "\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001"+ - "\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a5\u0001\u00a5\u0001"+ - "\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a7\u0004"+ - "\u00a7\u0811\b\u00a7\u000b\u00a7\f\u00a7\u0812\u0001\u00a7\u0001\u00a7"+ - "\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0005\u00a8\u081b\b\u00a8"+ - "\n\u00a8\f\u00a8\u081e\t\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0001"+ - "\u00a8\u0001\u00a8\u0001\u00a8\u0005\u00a8\u0826\b\u00a8\n\u00a8\f\u00a8"+ - "\u0829\t\u00a8\u0001\u00a8\u0003\u00a8\u082c\b\u00a8\u0001\u00a8\u0001"+ - "\u00a8\u0001\u00a9\u0001\u00a9\u0001\u00aa\u0001\u00aa\u0003\u00aa\u0834"+ - "\b\u00aa\u0001\u00aa\u0005\u00aa\u0837\b\u00aa\n\u00aa\f\u00aa\u083a\t"+ - "\u00aa\u0001\u00ab\u0001\u00ab\u0003\u00ab\u083e\b\u00ab\u0001\u00ab\u0005"+ - "\u00ab\u0841\b\u00ab\n\u00ab\f\u00ab\u0844\t\u00ab\u0001\u00ac\u0001\u00ac"+ - "\u0001\u00ad\u0001\u00ad\u0001\u00ae\u0001\u00ae\u0001\u00af\u0001\u00af"+ - "\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0003\u00b0"+ - "\u0853\b\u00b0\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b2\u0001\u00b2"+ - "\u0001\u00b3\u0001\u00b3\u0001\u00b4\u0003\u00b4\u085d\b\u00b4\u0001\u00b4"+ - "\u0001\u00b4\u0001\u00b4\u0003\u00b4\u0862\b\u00b4\u0001\u00b4\u0003\u00b4"+ - "\u0865\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4\u086a\b"+ - "\u00b4\u0003\u00b4\u086c\b\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4\u0870"+ - "\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4\u0875\b\u00b4"+ - "\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4"+ - "\u0003\u00b4\u087d\b\u00b4\u0001\u00b4\u0003\u00b4\u0880\b\u00b4\u0001"+ - "\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003"+ - "\u00b4\u0888\b\u00b4\u0003\u00b4\u088a\b\u00b4\u0001\u00b4\u0001\u00b4"+ - "\u0003\u00b4\u088e\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4"+ - "\u0893\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4"+ - "\u0899\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4"+ - "\u089f\b\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4"+ - "\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0003\u00b4\u08aa\b\u00b4"+ - "\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5"+ - "\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5"+ - "\u0004\u00b5\u08b8\b\u00b5\u000b\u00b5\f\u00b5\u08b9\u0001\u00b5\u0001"+ - "\u00b5\u0005\u00b5\u08be\b\u00b5\n\u00b5\f\u00b5\u08c1\t\u00b5\u0001\u00b5"+ - "\u0001\u00b5\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ - "\u0004\u00b6\u08ca\b\u00b6\u000b\u00b6\f\u00b6\u08cb\u0001\u00b7\u0001"+ - "\u00b7\u0001\u00b8\u0001\u00b8\u0003\u00b8\u08d2\b\u00b8\u0001\u00b9\u0001"+ - "\u00b9\u0001\u00ba\u0001\u00ba\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001"+ - "\u00bc\u0001\u00bd\u0001\u00bd\u0003\u00bd\u08de\b\u00bd\u0001\u00be\u0001"+ - "\u00be\u0003\u00be\u08e2\b\u00be\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001"+ - "\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001"+ - "\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001"+ - "\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001"+ - "\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0003"+ - "\u00bf\u08ff\b\u00bf\u0002\u081c\u0827\u0000\u00c0\u0001\u0001\u0003\u0002"+ - "\u0005\u0003\u0007\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013"+ - "\n\u0015\u000b\u0017\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011"+ - "#\u0012%\u0013\'\u0014)\u0015+\u0016-\u0017/\u00181\u00193\u001a5\u001b"+ - "7\u001c9\u001d;\u001e=\u001f? A!C\"E#G$I%K&M\'O(Q)S*U+W,Y-[.]/_0a1c2e"+ - "3g4i5k6m7o8q9s:u;w}?\u007f@\u0081A\u0083B\u0085C\u0087D\u0089E\u008b"+ - "F\u008dG\u008fH\u0091I\u0093J\u0095K\u0097L\u0099M\u009bN\u009dO\u009f"+ - "P\u00a1Q\u00a3R\u00a5S\u00a7T\u00a9U\u00abV\u00adW\u00afX\u00b1Y\u00b3"+ - "Z\u00b5[\u00b7\\\u00b9]\u00bb^\u00bd_\u00bf`\u00c1a\u00c3b\u00c5c\u00c7"+ - "d\u00c9e\u00cbf\u00cdg\u00cfh\u00d1i\u00d3j\u00d5k\u00d7l\u00d9m\u00db"+ - "n\u00ddo\u00dfp\u00e1q\u00e3r\u00e5s\u00e7t\u00e9u\u00ebv\u00edw\u00ef"+ - "x\u00f1y\u00f3z\u00f5{\u00f7|\u00f9}\u00fb~\u00fd\u007f\u00ff\u0080\u0101"+ - "\u0081\u0103\u0082\u0105\u0083\u0107\u0084\u0109\u0085\u010b\u0086\u010d"+ - "\u0087\u010f\u0088\u0111\u0089\u0113\u008a\u0115\u008b\u0117\u008c\u0119"+ - "\u008d\u011b\u008e\u011d\u008f\u011f\u0090\u0121\u0091\u0123\u0092\u0125"+ - "\u0093\u0127\u0094\u0129\u0095\u012b\u0096\u012d\u0097\u012f\u0098\u0131"+ - "\u0099\u0133\u009a\u0135\u009b\u0137\u009c\u0139\u009d\u013b\u009e\u013d"+ - "\u009f\u013f\u00a0\u0141\u00a1\u0143\u00a2\u0145\u00a3\u0147\u00a4\u0149"+ - "\u00a5\u014b\u00a6\u014d\u00a7\u014f\u00a8\u0151\u00a9\u0153\u0000\u0155"+ - "\u0000\u0157\u0000\u0159\u0000\u015b\u0000\u015d\u0000\u015f\u0000\u0161"+ - "\u0000\u0163\u0000\u0165\u0000\u0167\u0000\u0169\u0000\u016b\u0000\u016d"+ - "\u0000\u016f\u0000\u0171\u0000\u0173\u0000\u0175\u0000\u0177\u0000\u0179"+ - "\u0000\u017b\u0000\u017d\u0000\u017f\u0000\u0001\u0000\u001a\u0002\u0000"+ - "ssuu\u0003\u0000\t\n\r\r \u000b\u0000!!#\'*+-/::<@\\\\^^``||~~\u0002"+ - "\u0000++--\u0001\u000009\u0003\u000009AFaf\u0002\u0000AZaz\u0002\u0000"+ - "EEee\u0002\u0000PPpp\u0003\u0000\t\n\'\'\\\\\u0006\u0000\"\"\'\'\\\\n"+ - "nrrtt\u0005\u0000\u0000\u001f\"\"\'\'\\\\\u007f\u00ff\u0001\u0000\u0000"+ - "\u007f\u0002\u0000\u0000\t\u000b\u007f\u0001\u0000\u0080\u00bf\u0001\u0000"+ - "\u00c2\u00df\u0001\u0000\u00e0\u00e0\u0001\u0000\u00a0\u00bf\u0001\u0000"+ - "\u00ed\u00ed\u0001\u0000\u0080\u009f\u0002\u0000\u00e1\u00ec\u00ee\u00ef"+ - "\u0001\u0000\u00f0\u00f0\u0001\u0000\u0090\u00bf\u0001\u0000\u00f4\u00f4"+ - "\u0001\u0000\u0080\u008f\u0001\u0000\u00f1\u00f3\u0956\u0000\u0001\u0001"+ - "\u0000\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001"+ - "\u0000\u0000\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000"+ - "\u0000\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000"+ - "\u0000\u0000\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000"+ - "\u0000\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000"+ - "\u0000\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000"+ - "\u0000\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000"+ - "\u0000\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000"+ - "\u0000#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'"+ - "\u0001\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000"+ - "\u0000\u0000\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000"+ - "\u00001\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005"+ - "\u0001\u0000\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000"+ - "\u0000\u0000\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000"+ - "\u0000?\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C"+ - "\u0001\u0000\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000"+ - "\u0000\u0000\u0000I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000\u0000"+ - "\u0000M\u0001\u0000\u0000\u0000\u0000O\u0001\u0000\u0000\u0000\u0000Q"+ - "\u0001\u0000\u0000\u0000\u0000S\u0001\u0000\u0000\u0000\u0000U\u0001\u0000"+ - "\u0000\u0000\u0000W\u0001\u0000\u0000\u0000\u0000Y\u0001\u0000\u0000\u0000"+ - "\u0000[\u0001\u0000\u0000\u0000\u0000]\u0001\u0000\u0000\u0000\u0000_"+ - "\u0001\u0000\u0000\u0000\u0000a\u0001\u0000\u0000\u0000\u0000c\u0001\u0000"+ - "\u0000\u0000\u0000e\u0001\u0000\u0000\u0000\u0000g\u0001\u0000\u0000\u0000"+ - "\u0000i\u0001\u0000\u0000\u0000\u0000k\u0001\u0000\u0000\u0000\u0000m"+ - "\u0001\u0000\u0000\u0000\u0000o\u0001\u0000\u0000\u0000\u0000q\u0001\u0000"+ - "\u0000\u0000\u0000s\u0001\u0000\u0000\u0000\u0000u\u0001\u0000\u0000\u0000"+ - "\u0000w\u0001\u0000\u0000\u0000\u0000y\u0001\u0000\u0000\u0000\u0000{"+ - "\u0001\u0000\u0000\u0000\u0000}\u0001\u0000\u0000\u0000\u0000\u007f\u0001"+ - "\u0000\u0000\u0000\u0000\u0081\u0001\u0000\u0000\u0000\u0000\u0083\u0001"+ - "\u0000\u0000\u0000\u0000\u0085\u0001\u0000\u0000\u0000\u0000\u0087\u0001"+ - "\u0000\u0000\u0000\u0000\u0089\u0001\u0000\u0000\u0000\u0000\u008b\u0001"+ - "\u0000\u0000\u0000\u0000\u008d\u0001\u0000\u0000\u0000\u0000\u008f\u0001"+ - "\u0000\u0000\u0000\u0000\u0091\u0001\u0000\u0000\u0000\u0000\u0093\u0001"+ - "\u0000\u0000\u0000\u0000\u0095\u0001\u0000\u0000\u0000\u0000\u0097\u0001"+ - "\u0000\u0000\u0000\u0000\u0099\u0001\u0000\u0000\u0000\u0000\u009b\u0001"+ - "\u0000\u0000\u0000\u0000\u009d\u0001\u0000\u0000\u0000\u0000\u009f\u0001"+ - "\u0000\u0000\u0000\u0000\u00a1\u0001\u0000\u0000\u0000\u0000\u00a3\u0001"+ - "\u0000\u0000\u0000\u0000\u00a5\u0001\u0000\u0000\u0000\u0000\u00a7\u0001"+ - "\u0000\u0000\u0000\u0000\u00a9\u0001\u0000\u0000\u0000\u0000\u00ab\u0001"+ - "\u0000\u0000\u0000\u0000\u00ad\u0001\u0000\u0000\u0000\u0000\u00af\u0001"+ - "\u0000\u0000\u0000\u0000\u00b1\u0001\u0000\u0000\u0000\u0000\u00b3\u0001"+ - "\u0000\u0000\u0000\u0000\u00b5\u0001\u0000\u0000\u0000\u0000\u00b7\u0001"+ - "\u0000\u0000\u0000\u0000\u00b9\u0001\u0000\u0000\u0000\u0000\u00bb\u0001"+ - "\u0000\u0000\u0000\u0000\u00bd\u0001\u0000\u0000\u0000\u0000\u00bf\u0001"+ - "\u0000\u0000\u0000\u0000\u00c1\u0001\u0000\u0000\u0000\u0000\u00c3\u0001"+ - "\u0000\u0000\u0000\u0000\u00c5\u0001\u0000\u0000\u0000\u0000\u00c7\u0001"+ - "\u0000\u0000\u0000\u0000\u00c9\u0001\u0000\u0000\u0000\u0000\u00cb\u0001"+ - "\u0000\u0000\u0000\u0000\u00cd\u0001\u0000\u0000\u0000\u0000\u00cf\u0001"+ - "\u0000\u0000\u0000\u0000\u00d1\u0001\u0000\u0000\u0000\u0000\u00d3\u0001"+ - "\u0000\u0000\u0000\u0000\u00d5\u0001\u0000\u0000\u0000\u0000\u00d7\u0001"+ - "\u0000\u0000\u0000\u0000\u00d9\u0001\u0000\u0000\u0000\u0000\u00db\u0001"+ - "\u0000\u0000\u0000\u0000\u00dd\u0001\u0000\u0000\u0000\u0000\u00df\u0001"+ - "\u0000\u0000\u0000\u0000\u00e1\u0001\u0000\u0000\u0000\u0000\u00e3\u0001"+ - "\u0000\u0000\u0000\u0000\u00e5\u0001\u0000\u0000\u0000\u0000\u00e7\u0001"+ - "\u0000\u0000\u0000\u0000\u00e9\u0001\u0000\u0000\u0000\u0000\u00eb\u0001"+ - "\u0000\u0000\u0000\u0000\u00ed\u0001\u0000\u0000\u0000\u0000\u00ef\u0001"+ - "\u0000\u0000\u0000\u0000\u00f1\u0001\u0000\u0000\u0000\u0000\u00f3\u0001"+ - "\u0000\u0000\u0000\u0000\u00f5\u0001\u0000\u0000\u0000\u0000\u00f7\u0001"+ - "\u0000\u0000\u0000\u0000\u00f9\u0001\u0000\u0000\u0000\u0000\u00fb\u0001"+ - "\u0000\u0000\u0000\u0000\u00fd\u0001\u0000\u0000\u0000\u0000\u00ff\u0001"+ - "\u0000\u0000\u0000\u0000\u0101\u0001\u0000\u0000\u0000\u0000\u0103\u0001"+ - "\u0000\u0000\u0000\u0000\u0105\u0001\u0000\u0000\u0000\u0000\u0107\u0001"+ - "\u0000\u0000\u0000\u0000\u0109\u0001\u0000\u0000\u0000\u0000\u010b\u0001"+ - "\u0000\u0000\u0000\u0000\u010d\u0001\u0000\u0000\u0000\u0000\u010f\u0001"+ - "\u0000\u0000\u0000\u0000\u0111\u0001\u0000\u0000\u0000\u0000\u0113\u0001"+ - "\u0000\u0000\u0000\u0000\u0115\u0001\u0000\u0000\u0000\u0000\u0117\u0001"+ - "\u0000\u0000\u0000\u0000\u0119\u0001\u0000\u0000\u0000\u0000\u011b\u0001"+ - "\u0000\u0000\u0000\u0000\u011d\u0001\u0000\u0000\u0000\u0000\u011f\u0001"+ - "\u0000\u0000\u0000\u0000\u0121\u0001\u0000\u0000\u0000\u0000\u0123\u0001"+ - "\u0000\u0000\u0000\u0000\u0125\u0001\u0000\u0000\u0000\u0000\u0127\u0001"+ - "\u0000\u0000\u0000\u0000\u0129\u0001\u0000\u0000\u0000\u0000\u012b\u0001"+ - "\u0000\u0000\u0000\u0000\u012d\u0001\u0000\u0000\u0000\u0000\u012f\u0001"+ - "\u0000\u0000\u0000\u0000\u0131\u0001\u0000\u0000\u0000\u0000\u0133\u0001"+ - "\u0000\u0000\u0000\u0000\u0135\u0001\u0000\u0000\u0000\u0000\u0137\u0001"+ - "\u0000\u0000\u0000\u0000\u0139\u0001\u0000\u0000\u0000\u0000\u013b\u0001"+ - "\u0000\u0000\u0000\u0000\u013d\u0001\u0000\u0000\u0000\u0000\u013f\u0001"+ - "\u0000\u0000\u0000\u0000\u0141\u0001\u0000\u0000\u0000\u0000\u0143\u0001"+ - "\u0000\u0000\u0000\u0000\u0145\u0001\u0000\u0000\u0000\u0000\u0147\u0001"+ - "\u0000\u0000\u0000\u0000\u0149\u0001\u0000\u0000\u0000\u0000\u014b\u0001"+ - "\u0000\u0000\u0000\u0000\u014d\u0001\u0000\u0000\u0000\u0000\u014f\u0001"+ - "\u0000\u0000\u0000\u0000\u0151\u0001\u0000\u0000\u0000\u0001\u0181\u0001"+ - "\u0000\u0000\u0000\u0003\u0183\u0001\u0000\u0000\u0000\u0005\u0185\u0001"+ - "\u0000\u0000\u0000\u0007\u0187\u0001\u0000\u0000\u0000\t\u0189\u0001\u0000"+ - "\u0000\u0000\u000b\u018b\u0001\u0000\u0000\u0000\r\u018d\u0001\u0000\u0000"+ - "\u0000\u000f\u018f\u0001\u0000\u0000\u0000\u0011\u0197\u0001\u0000\u0000"+ - "\u0000\u0013\u01a2\u0001\u0000\u0000\u0000\u0015\u01aa\u0001\u0000\u0000"+ - "\u0000\u0017\u01b4\u0001\u0000\u0000\u0000\u0019\u01b8\u0001\u0000\u0000"+ - "\u0000\u001b\u01bc\u0001\u0000\u0000\u0000\u001d\u01c1\u0001\u0000\u0000"+ - "\u0000\u001f\u01c6\u0001\u0000\u0000\u0000!\u01ca\u0001\u0000\u0000\u0000"+ - "#\u01d5\u0001\u0000\u0000\u0000%\u01db\u0001\u0000\u0000\u0000\'\u01e0"+ - "\u0001\u0000\u0000\u0000)\u01ec\u0001\u0000\u0000\u0000+\u01f1\u0001\u0000"+ - "\u0000\u0000-\u01f7\u0001\u0000\u0000\u0000/\u01fc\u0001\u0000\u0000\u0000"+ - "1\u0200\u0001\u0000\u0000\u00003\u0203\u0001\u0000\u0000\u00005\u0209"+ - "\u0001\u0000\u0000\u00007\u0212\u0001\u0000\u0000\u00009\u0219\u0001\u0000"+ - "\u0000\u0000;\u021c\u0001\u0000\u0000\u0000=\u0221\u0001\u0000\u0000\u0000"+ - "?\u0226\u0001\u0000\u0000\u0000A\u022e\u0001\u0000\u0000\u0000C\u0233"+ - "\u0001\u0000\u0000\u0000E\u0241\u0001\u0000\u0000\u0000G\u024d\u0001\u0000"+ - "\u0000\u0000I\u0262\u0001\u0000\u0000\u0000K\u026b\u0001\u0000\u0000\u0000"+ - "M\u0274\u0001\u0000\u0000\u0000O\u027b\u0001\u0000\u0000\u0000Q\u027e"+ - "\u0001\u0000\u0000\u0000S\u0287\u0001\u0000\u0000\u0000U\u0291\u0001\u0000"+ - "\u0000\u0000W\u0299\u0001\u0000\u0000\u0000Y\u02a2\u0001\u0000\u0000\u0000"+ - "[\u02ae\u0001\u0000\u0000\u0000]\u02b2\u0001\u0000\u0000\u0000_\u02b8"+ - "\u0001\u0000\u0000\u0000a\u02be\u0001\u0000\u0000\u0000c\u02c6\u0001\u0000"+ - "\u0000\u0000e\u02d0\u0001\u0000\u0000\u0000g\u02da\u0001\u0000\u0000\u0000"+ - "i\u02e4\u0001\u0000\u0000\u0000k\u02ef\u0001\u0000\u0000\u0000m\u02fa"+ - "\u0001\u0000\u0000\u0000o\u0306\u0001\u0000\u0000\u0000q\u0310\u0001\u0000"+ - "\u0000\u0000s\u0312\u0001\u0000\u0000\u0000u\u031a\u0001\u0000\u0000\u0000"+ - "w\u0321\u0001\u0000\u0000\u0000y\u032a\u0001\u0000\u0000\u0000{\u032c"+ - "\u0001\u0000\u0000\u0000}\u0330\u0001\u0000\u0000\u0000\u007f\u0334\u0001"+ - "\u0000\u0000\u0000\u0081\u0338\u0001\u0000\u0000\u0000\u0083\u033e\u0001"+ - "\u0000\u0000\u0000\u0085\u0342\u0001\u0000\u0000\u0000\u0087\u0344\u0001"+ - "\u0000\u0000\u0000\u0089\u0349\u0001\u0000\u0000\u0000\u008b\u034d\u0001"+ - "\u0000\u0000\u0000\u008d\u0351\u0001\u0000\u0000\u0000\u008f\u0355\u0001"+ - "\u0000\u0000\u0000\u0091\u035b\u0001\u0000\u0000\u0000\u0093\u0361\u0001"+ - "\u0000\u0000\u0000\u0095\u0365\u0001\u0000\u0000\u0000\u0097\u036b\u0001"+ - "\u0000\u0000\u0000\u0099\u0371\u0001\u0000\u0000\u0000\u009b\u0375\u0001"+ - "\u0000\u0000\u0000\u009d\u037b\u0001\u0000\u0000\u0000\u009f\u0381\u0001"+ - "\u0000\u0000\u0000\u00a1\u0385\u0001\u0000\u0000\u0000\u00a3\u038b\u0001"+ - "\u0000\u0000\u0000\u00a5\u0391\u0001\u0000\u0000\u0000\u00a7\u0396\u0001"+ - "\u0000\u0000\u0000\u00a9\u039b\u0001\u0000\u0000\u0000\u00ab\u03a3\u0001"+ - "\u0000\u0000\u0000\u00ad\u03a8\u0001\u0000\u0000\u0000\u00af\u03ad\u0001"+ - "\u0000\u0000\u0000\u00b1\u03b3\u0001\u0000\u0000\u0000\u00b3\u03b9\u0001"+ - "\u0000\u0000\u0000\u00b5\u03c0\u0001\u0000\u0000\u0000\u00b7\u03c7\u0001"+ - "\u0000\u0000\u0000\u00b9\u03d0\u0001\u0000\u0000\u0000\u00bb\u03d5\u0001"+ - "\u0000\u0000\u0000\u00bd\u03da\u0001\u0000\u0000\u0000\u00bf\u03df\u0001"+ - "\u0000\u0000\u0000\u00c1\u03e4\u0001\u0000\u0000\u0000\u00c3\u03eb\u0001"+ - "\u0000\u0000\u0000\u00c5\u03f2\u0001\u0000\u0000\u0000\u00c7\u03f9\u0001"+ - "\u0000\u0000\u0000\u00c9\u0400\u0001\u0000\u0000\u0000\u00cb\u0405\u0001"+ - "\u0000\u0000\u0000\u00cd\u0409\u0001\u0000\u0000\u0000\u00cf\u040e\u0001"+ - "\u0000\u0000\u0000\u00d1\u0413\u0001\u0000\u0000\u0000\u00d3\u041a\u0001"+ - "\u0000\u0000\u0000\u00d5\u0421\u0001\u0000\u0000\u0000\u00d7\u0427\u0001"+ - "\u0000\u0000\u0000\u00d9\u042d\u0001\u0000\u0000\u0000\u00db\u0432\u0001"+ - "\u0000\u0000\u0000\u00dd\u0437\u0001\u0000\u0000\u0000\u00df\u0441\u0001"+ - "\u0000\u0000\u0000\u00e1\u0448\u0001\u0000\u0000\u0000\u00e3\u0450\u0001"+ - "\u0000\u0000\u0000\u00e5\u045c\u0001\u0000\u0000\u0000\u00e7\u0466\u0001"+ - "\u0000\u0000\u0000\u00e9\u046f\u0001\u0000\u0000\u0000\u00eb\u0478\u0001"+ - "\u0000\u0000\u0000\u00ed\u0482\u0001\u0000\u0000\u0000\u00ef\u0490\u0001"+ - "\u0000\u0000\u0000\u00f1\u049c\u0001\u0000\u0000\u0000\u00f3\u04a8\u0001"+ - "\u0000\u0000\u0000\u00f5\u04b4\u0001\u0000\u0000\u0000\u00f7\u04c0\u0001"+ - "\u0000\u0000\u0000\u00f9\u04cc\u0001\u0000\u0000\u0000\u00fb\u052f\u0001"+ - "\u0000\u0000\u0000\u00fd\u057a\u0001\u0000\u0000\u0000\u00ff\u0612\u0001"+ - "\u0000\u0000\u0000\u0101\u06b6\u0001\u0000\u0000\u0000\u0103\u06b8\u0001"+ - "\u0000\u0000\u0000\u0105\u06bd\u0001\u0000\u0000\u0000\u0107\u06c2\u0001"+ - "\u0000\u0000\u0000\u0109\u06c9\u0001\u0000\u0000\u0000\u010b\u06cf\u0001"+ - "\u0000\u0000\u0000\u010d\u06d5\u0001\u0000\u0000\u0000\u010f\u06dc\u0001"+ - "\u0000\u0000\u0000\u0111\u06e2\u0001\u0000\u0000\u0000\u0113\u06e9\u0001"+ - "\u0000\u0000\u0000\u0115\u06ef\u0001\u0000\u0000\u0000\u0117\u06f6\u0001"+ - "\u0000\u0000\u0000\u0119\u06fb\u0001\u0000\u0000\u0000\u011b\u0700\u0001"+ - "\u0000\u0000\u0000\u011d\u0707\u0001\u0000\u0000\u0000\u011f\u070e\u0001"+ - "\u0000\u0000\u0000\u0121\u0715\u0001\u0000\u0000\u0000\u0123\u0719\u0001"+ - "\u0000\u0000\u0000\u0125\u0721\u0001\u0000\u0000\u0000\u0127\u0728\u0001"+ - "\u0000\u0000\u0000\u0129\u072f\u0001\u0000\u0000\u0000\u012b\u0735\u0001"+ - "\u0000\u0000\u0000\u012d\u0740\u0001\u0000\u0000\u0000\u012f\u0749\u0001"+ - "\u0000\u0000\u0000\u0131\u0750\u0001\u0000\u0000\u0000\u0133\u0759\u0001"+ - "\u0000\u0000\u0000\u0135\u0760\u0001\u0000\u0000\u0000\u0137\u0764\u0001"+ - "\u0000\u0000\u0000\u0139\u0775\u0001\u0000\u0000\u0000\u013b\u0784\u0001"+ - "\u0000\u0000\u0000\u013d\u0796\u0001\u0000\u0000\u0000\u013f\u07a4\u0001"+ - "\u0000\u0000\u0000\u0141\u07c0\u0001\u0000\u0000\u0000\u0143\u07dd\u0001"+ - "\u0000\u0000\u0000\u0145\u07e9\u0001\u0000\u0000\u0000\u0147\u07fb\u0001"+ - "\u0000\u0000\u0000\u0149\u0801\u0001\u0000\u0000\u0000\u014b\u0808\u0001"+ - "\u0000\u0000\u0000\u014d\u080a\u0001\u0000\u0000\u0000\u014f\u0810\u0001"+ - "\u0000\u0000\u0000\u0151\u082b\u0001\u0000\u0000\u0000\u0153\u082f\u0001"+ - "\u0000\u0000\u0000\u0155\u0831\u0001\u0000\u0000\u0000\u0157\u083b\u0001"+ - "\u0000\u0000\u0000\u0159\u0845\u0001\u0000\u0000\u0000\u015b\u0847\u0001"+ - "\u0000\u0000\u0000\u015d\u0849\u0001\u0000\u0000\u0000\u015f\u084b\u0001"+ - "\u0000\u0000\u0000\u0161\u0852\u0001\u0000\u0000\u0000\u0163\u0854\u0001"+ - "\u0000\u0000\u0000\u0165\u0857\u0001\u0000\u0000\u0000\u0167\u0859\u0001"+ - "\u0000\u0000\u0000\u0169\u08a9\u0001\u0000\u0000\u0000\u016b\u08ab\u0001"+ - "\u0000\u0000\u0000\u016d\u08c4\u0001\u0000\u0000\u0000\u016f\u08cd\u0001"+ - "\u0000\u0000\u0000\u0171\u08d1\u0001\u0000\u0000\u0000\u0173\u08d3\u0001"+ - "\u0000\u0000\u0000\u0175\u08d5\u0001\u0000\u0000\u0000\u0177\u08d7\u0001"+ - "\u0000\u0000\u0000\u0179\u08d9\u0001\u0000\u0000\u0000\u017b\u08dd\u0001"+ - "\u0000\u0000\u0000\u017d\u08e1\u0001\u0000\u0000\u0000\u017f\u08fe\u0001"+ - "\u0000\u0000\u0000\u0181\u0182\u0005(\u0000\u0000\u0182\u0002\u0001\u0000"+ - "\u0000\u0000\u0183\u0184\u0005)\u0000\u0000\u0184\u0004\u0001\u0000\u0000"+ - "\u0000\u0185\u0186\u0003\u0161\u00b0\u0000\u0186\u0006\u0001\u0000\u0000"+ - "\u0000\u0187\u0188\u0003\u0163\u00b1\u0000\u0188\b\u0001\u0000\u0000\u0000"+ - "\u0189\u018a\u0003\u0169\u00b4\u0000\u018a\n\u0001\u0000\u0000\u0000\u018b"+ - "\u018c\u0003\u016b\u00b5\u0000\u018c\f\u0001\u0000\u0000\u0000\u018d\u018e"+ - "\u0003\u0171\u00b8\u0000\u018e\u000e\u0001\u0000\u0000\u0000\u018f\u0190"+ - "\u0003\u0171\u00b8\u0000\u0190\u0191\u0005.\u0000\u0000\u0191\u0192\u0005"+ - "c\u0000\u0000\u0192\u0193\u0005o\u0000\u0000\u0193\u0194\u0005n\u0000"+ - "\u0000\u0194\u0195\u0005s\u0000\u0000\u0195\u0196\u0005t\u0000\u0000\u0196"+ - "\u0010\u0001\u0000\u0000\u0000\u0197\u0198\u0003\u0171\u00b8\u0000\u0198"+ - "\u0199\u0005.\u0000\u0000\u0199\u019a\u0005s\u0000\u0000\u019a\u019b\u0005"+ - "y\u0000\u0000\u019b\u019c\u0005m\u0000\u0000\u019c\u019d\u0005b\u0000"+ - "\u0000\u019d\u019e\u0005o\u0000\u0000\u019e\u019f\u0005l\u0000\u0000\u019f"+ - "\u01a0\u0005i\u0000\u0000\u01a0\u01a1\u0005c\u0000\u0000\u01a1\u0012\u0001"+ - "\u0000\u0000\u0000\u01a2\u01a3\u0005f\u0000\u0000\u01a3\u01a4\u0005u\u0000"+ - "\u0000\u01a4\u01a5\u0005n\u0000\u0000\u01a5\u01a6\u0005c\u0000\u0000\u01a6"+ - "\u01a7\u0005r\u0000\u0000\u01a7\u01a8\u0005e\u0000\u0000\u01a8\u01a9\u0005"+ - "f\u0000\u0000\u01a9\u0014\u0001\u0000\u0000\u0000\u01aa\u01ab\u0005e\u0000"+ - "\u0000\u01ab\u01ac\u0005x\u0000\u0000\u01ac\u01ad\u0005t\u0000\u0000\u01ad"+ - "\u01ae\u0005e\u0000\u0000\u01ae\u01af\u0005r\u0000\u0000\u01af\u01b0\u0005"+ - "n\u0000\u0000\u01b0\u01b1\u0005r\u0000\u0000\u01b1\u01b2\u0005e\u0000"+ - "\u0000\u01b2\u01b3\u0005f\u0000\u0000\u01b3\u0016\u0001\u0000\u0000\u0000"+ - "\u01b4\u01b5\u0005m\u0000\u0000\u01b5\u01b6\u0005u\u0000\u0000\u01b6\u01b7"+ - "\u0005t\u0000\u0000\u01b7\u0018\u0001\u0000\u0000\u0000\u01b8\u01b9\u0005"+ - "r\u0000\u0000\u01b9\u01ba\u0005e\u0000\u0000\u01ba\u01bb\u0005f\u0000"+ - "\u0000\u01bb\u001a\u0001\u0000\u0000\u0000\u01bc\u01bd\u0005c\u0000\u0000"+ - "\u01bd\u01be\u0005o\u0000\u0000\u01be\u01bf\u0005n\u0000\u0000\u01bf\u01c0"+ - "\u0005t\u0000\u0000\u01c0\u001c\u0001\u0000\u0000\u0000\u01c1\u01c2\u0005"+ - "n\u0000\u0000\u01c2\u01c3\u0005u\u0000\u0000\u01c3\u01c4\u0005l\u0000"+ - "\u0000\u01c4\u01c5\u0005l\u0000\u0000\u01c5\u001e\u0001\u0000\u0000\u0000"+ - "\u01c6\u01c7\u0005n\u0000\u0000\u01c7\u01c8\u0005o\u0000\u0000\u01c8\u01c9"+ - "\u0005p\u0000\u0000\u01c9 \u0001\u0000\u0000\u0000\u01ca\u01cb\u0005s"+ - "\u0000\u0000\u01cb\u01cc\u0005y\u0000\u0000\u01cc\u01cd\u0005m\u0000\u0000"+ - "\u01cd\u01ce\u0005_\u0000\u0000\u01ce\u01cf\u0005a\u0000\u0000\u01cf\u01d0"+ - "\u0005s\u0000\u0000\u01d0\u01d1\u0005s\u0000\u0000\u01d1\u01d2\u0005e"+ - "\u0000\u0000\u01d2\u01d3\u0005r\u0000\u0000\u01d3\u01d4\u0005t\u0000\u0000"+ - "\u01d4\"\u0001\u0000\u0000\u0000\u01d5\u01d6\u0005a\u0000\u0000\u01d6"+ - "\u01d7\u0005l\u0000\u0000\u01d7\u01d8\u0005l\u0000\u0000\u01d8\u01d9\u0005"+ - "o\u0000\u0000\u01d9\u01da\u0005c\u0000\u0000\u01da$\u0001\u0000\u0000"+ - "\u0000\u01db\u01dc\u0005f\u0000\u0000\u01dc\u01dd\u0005r\u0000\u0000\u01dd"+ - "\u01de\u0005e\u0000\u0000\u01de\u01df\u0005e\u0000\u0000\u01df&\u0001"+ - "\u0000\u0000\u0000\u01e0\u01e1\u0005u\u0000\u0000\u01e1\u01e2\u0005n\u0000"+ - "\u0000\u01e2\u01e3\u0005r\u0000\u0000\u01e3\u01e4\u0005e\u0000\u0000\u01e4"+ - "\u01e5\u0005a\u0000\u0000\u01e5\u01e6\u0005c\u0000\u0000\u01e6\u01e7\u0005"+ - "h\u0000\u0000\u01e7\u01e8\u0005a\u0000\u0000\u01e8\u01e9\u0005b\u0000"+ - "\u0000\u01e9\u01ea\u0005l\u0000\u0000\u01ea\u01eb\u0005e\u0000\u0000\u01eb"+ - "(\u0001\u0000\u0000\u0000\u01ec\u01ed\u0005d\u0000\u0000\u01ed\u01ee\u0005"+ - "r\u0000\u0000\u01ee\u01ef\u0005o\u0000\u0000\u01ef\u01f0\u0005p\u0000"+ - "\u0000\u01f0*\u0001\u0000\u0000\u0000\u01f1\u01f2\u0005b\u0000\u0000\u01f2"+ - "\u01f3\u0005l\u0000\u0000\u01f3\u01f4\u0005o\u0000\u0000\u01f4\u01f5\u0005"+ - "c\u0000\u0000\u01f5\u01f6\u0005k\u0000\u0000\u01f6,\u0001\u0000\u0000"+ - "\u0000\u01f7\u01f8\u0005l\u0000\u0000\u01f8\u01f9\u0005o\u0000\u0000\u01f9"+ - "\u01fa\u0005o\u0000\u0000\u01fa\u01fb\u0005p\u0000\u0000\u01fb.\u0001"+ - "\u0000\u0000\u0000\u01fc\u01fd\u0005e\u0000\u0000\u01fd\u01fe\u0005n\u0000"+ - "\u0000\u01fe\u01ff\u0005d\u0000\u0000\u01ff0\u0001\u0000\u0000\u0000\u0200"+ - "\u0201\u0005b\u0000\u0000\u0201\u0202\u0005r\u0000\u0000\u02022\u0001"+ - "\u0000\u0000\u0000\u0203\u0204\u0005b\u0000\u0000\u0204\u0205\u0005r\u0000"+ - "\u0000\u0205\u0206\u0005_\u0000\u0000\u0206\u0207\u0005i\u0000\u0000\u0207"+ - "\u0208\u0005f\u0000\u0000\u02084\u0001\u0000\u0000\u0000\u0209\u020a\u0005"+ - "b\u0000\u0000\u020a\u020b\u0005r\u0000\u0000\u020b\u020c\u0005_\u0000"+ - "\u0000\u020c\u020d\u0005t\u0000\u0000\u020d\u020e\u0005a\u0000\u0000\u020e"+ - "\u020f\u0005b\u0000\u0000\u020f\u0210\u0005l\u0000\u0000\u0210\u0211\u0005"+ - "e\u0000\u0000\u02116\u0001\u0000\u0000\u0000\u0212\u0213\u0005r\u0000"+ - "\u0000\u0213\u0214\u0005e\u0000\u0000\u0214\u0215\u0005t\u0000\u0000\u0215"+ - "\u0216\u0005u\u0000\u0000\u0216\u0217\u0005r\u0000\u0000\u0217\u0218\u0005"+ - "n\u0000\u0000\u02188\u0001\u0000\u0000\u0000\u0219\u021a\u0005i\u0000"+ - "\u0000\u021a\u021b\u0005f\u0000\u0000\u021b:\u0001\u0000\u0000\u0000\u021c"+ - "\u021d\u0005t\u0000\u0000\u021d\u021e\u0005h\u0000\u0000\u021e\u021f\u0005"+ - "e\u0000\u0000\u021f\u0220\u0005n\u0000\u0000\u0220<\u0001\u0000\u0000"+ - "\u0000\u0221\u0222\u0005e\u0000\u0000\u0222\u0223\u0005l\u0000\u0000\u0223"+ - "\u0224\u0005s\u0000\u0000\u0224\u0225\u0005e\u0000\u0000\u0225>\u0001"+ - "\u0000\u0000\u0000\u0226\u0227\u0005.\u0000\u0000\u0227\u0228\u0005s\u0000"+ - "\u0000\u0228\u0229\u0005e\u0000\u0000\u0229\u022a\u0005l\u0000\u0000\u022a"+ - "\u022b\u0005e\u0000\u0000\u022b\u022c\u0005c\u0000\u0000\u022c\u022d\u0005"+ - "t\u0000\u0000\u022d@\u0001\u0000\u0000\u0000\u022e\u022f\u0005c\u0000"+ - "\u0000\u022f\u0230\u0005a\u0000\u0000\u0230\u0231\u0005l\u0000\u0000\u0231"+ - "\u0232\u0005l\u0000\u0000\u0232B\u0001\u0000\u0000\u0000\u0233\u0234\u0005"+ - "c\u0000\u0000\u0234\u0235\u0005a\u0000\u0000\u0235\u0236\u0005l\u0000"+ - "\u0000\u0236\u0237\u0005l\u0000\u0000\u0237\u0238\u0005_\u0000\u0000\u0238"+ - "\u0239\u0005i\u0000\u0000\u0239\u023a\u0005n\u0000\u0000\u023a\u023b\u0005"+ - "d\u0000\u0000\u023b\u023c\u0005i\u0000\u0000\u023c\u023d\u0005r\u0000"+ - "\u0000\u023d\u023e\u0005e\u0000\u0000\u023e\u023f\u0005c\u0000\u0000\u023f"+ - "\u0240\u0005t\u0000\u0000\u0240D\u0001\u0000\u0000\u0000\u0241\u0242\u0005"+ - "r\u0000\u0000\u0242\u0243\u0005e\u0000\u0000\u0243\u0244\u0005t\u0000"+ - "\u0000\u0244\u0245\u0005u\u0000\u0000\u0245\u0246\u0005r\u0000\u0000\u0246"+ - "\u0247\u0005n\u0000\u0000\u0247\u0248\u0005_\u0000\u0000\u0248\u0249\u0005"+ - "c\u0000\u0000\u0249\u024a\u0005a\u0000\u0000\u024a\u024b\u0005l\u0000"+ - "\u0000\u024b\u024c\u0005l\u0000\u0000\u024cF\u0001\u0000\u0000\u0000\u024d"+ - "\u024e\u0005r\u0000\u0000\u024e\u024f\u0005e\u0000\u0000\u024f\u0250\u0005"+ - "t\u0000\u0000\u0250\u0251\u0005u\u0000\u0000\u0251\u0252\u0005r\u0000"+ - "\u0000\u0252\u0253\u0005n\u0000\u0000\u0253\u0254\u0005_\u0000\u0000\u0254"+ - "\u0255\u0005c\u0000\u0000\u0255\u0256\u0005a\u0000\u0000\u0256\u0257\u0005"+ - "l\u0000\u0000\u0257\u0258\u0005l\u0000\u0000\u0258\u0259\u0005_\u0000"+ - "\u0000\u0259\u025a\u0005i\u0000\u0000\u025a\u025b\u0005n\u0000\u0000\u025b"+ - "\u025c\u0005d\u0000\u0000\u025c\u025d\u0005i\u0000\u0000\u025d\u025e\u0005"+ - "r\u0000\u0000\u025e\u025f\u0005e\u0000\u0000\u025f\u0260\u0005c\u0000"+ - "\u0000\u0260\u0261\u0005t\u0000\u0000\u0261H\u0001\u0000\u0000\u0000\u0262"+ - "\u0263\u0005r\u0000\u0000\u0263\u0264\u0005e\u0000\u0000\u0264\u0265\u0005"+ - "f\u0000\u0000\u0265\u0266\u0005.\u0000\u0000\u0266\u0267\u0005f\u0000"+ - "\u0000\u0267\u0268\u0005u\u0000\u0000\u0268\u0269\u0005n\u0000\u0000\u0269"+ - "\u026a\u0005c\u0000\u0000\u026aJ\u0001\u0000\u0000\u0000\u026b\u026c\u0005"+ - "c\u0000\u0000\u026c\u026d\u0005a\u0000\u0000\u026d\u026e\u0005l\u0000"+ - "\u0000\u026e\u026f\u0005l\u0000\u0000\u026f\u0270\u0005_\u0000\u0000\u0270"+ - "\u0271\u0005r\u0000\u0000\u0271\u0272\u0005e\u0000\u0000\u0272\u0273\u0005"+ - "f\u0000\u0000\u0273L\u0001\u0000\u0000\u0000\u0274\u0275\u0005r\u0000"+ - "\u0000\u0275\u0276\u0005e\u0000\u0000\u0276\u0277\u0005s\u0000\u0000\u0277"+ - "\u0278\u0005u\u0000\u0000\u0278\u0279\u0005m\u0000\u0000\u0279\u027a\u0005"+ - "e\u0000\u0000\u027aN\u0001\u0000\u0000\u0000\u027b\u027c\u0005o\u0000"+ - "\u0000\u027c\u027d\u0005n\u0000\u0000\u027dP\u0001\u0000\u0000\u0000\u027e"+ - "\u027f\u0005c\u0000\u0000\u027f\u0280\u0005o\u0000\u0000\u0280\u0281\u0005"+ - "n\u0000\u0000\u0281\u0282\u0005t\u0000\u0000\u0282\u0283\u0005.\u0000"+ - "\u0000\u0283\u0284\u0005n\u0000\u0000\u0284\u0285\u0005e\u0000\u0000\u0285"+ - "\u0286\u0005w\u0000\u0000\u0286R\u0001\u0000\u0000\u0000\u0287\u0288\u0005"+ - "c\u0000\u0000\u0288\u0289\u0005o\u0000\u0000\u0289\u028a\u0005n\u0000"+ - "\u0000\u028a\u028b\u0005t\u0000\u0000\u028b\u028c\u0005.\u0000\u0000\u028c"+ - "\u028d\u0005b\u0000\u0000\u028d\u028e\u0005i\u0000\u0000\u028e\u028f\u0005"+ - "n\u0000\u0000\u028f\u0290\u0005d\u0000\u0000\u0290T\u0001\u0000\u0000"+ - "\u0000\u0291\u0292\u0005s\u0000\u0000\u0292\u0293\u0005u\u0000\u0000\u0293"+ - "\u0294\u0005s\u0000\u0000\u0294\u0295\u0005p\u0000\u0000\u0295\u0296\u0005"+ - "e\u0000\u0000\u0296\u0297\u0005n\u0000\u0000\u0297\u0298\u0005d\u0000"+ - "\u0000\u0298V\u0001\u0000\u0000\u0000\u0299\u029a\u0005r\u0000\u0000\u029a"+ - "\u029b\u0005e\u0000\u0000\u029b\u029c\u0005f\u0000\u0000\u029c\u029d\u0005"+ - ".\u0000\u0000\u029d\u029e\u0005n\u0000\u0000\u029e\u029f\u0005u\u0000"+ - "\u0000\u029f\u02a0\u0005l\u0000\u0000\u02a0\u02a1\u0005l\u0000\u0000\u02a1"+ - "X\u0001\u0000\u0000\u0000\u02a2\u02a3\u0005r\u0000\u0000\u02a3\u02a4\u0005"+ - "e\u0000\u0000\u02a4\u02a5\u0005f\u0000\u0000\u02a5\u02a6\u0005.\u0000"+ - "\u0000\u02a6\u02a7\u0005i\u0000\u0000\u02a7\u02a8\u0005s\u0000\u0000\u02a8"+ - "\u02a9\u0005_\u0000\u0000\u02a9\u02aa\u0005n\u0000\u0000\u02aa\u02ab\u0005"+ - "u\u0000\u0000\u02ab\u02ac\u0005l\u0000\u0000\u02ac\u02ad\u0005l\u0000"+ - "\u0000\u02adZ\u0001\u0000\u0000\u0000\u02ae\u02af\u0005t\u0000\u0000\u02af"+ - "\u02b0\u0005r\u0000\u0000\u02b0\u02b1\u0005y\u0000\u0000\u02b1\\\u0001"+ - "\u0000\u0000\u0000\u02b2\u02b3\u0005c\u0000\u0000\u02b3\u02b4\u0005a\u0000"+ - "\u0000\u02b4\u02b5\u0005t\u0000\u0000\u02b5\u02b6\u0005c\u0000\u0000\u02b6"+ - "\u02b7\u0005h\u0000\u0000\u02b7^\u0001\u0000\u0000\u0000\u02b8\u02b9\u0005"+ - "t\u0000\u0000\u02b9\u02ba\u0005h\u0000\u0000\u02ba\u02bb\u0005r\u0000"+ - "\u0000\u02bb\u02bc\u0005o\u0000\u0000\u02bc\u02bd\u0005w\u0000\u0000\u02bd"+ - "`\u0001\u0000\u0000\u0000\u02be\u02bf\u0005r\u0000\u0000\u02bf\u02c0\u0005"+ - "e\u0000\u0000\u02c0\u02c1\u0005s\u0000\u0000\u02c1\u02c2\u0005u\u0000"+ - "\u0000\u02c2\u02c3\u0005m\u0000\u0000\u02c3\u02c4\u0005e\u0000\u0000\u02c4"+ - "\u02c5\u00050\u0000\u0000\u02c5b\u0001\u0000\u0000\u0000\u02c6\u02c7\u0005"+ - "l\u0000\u0000\u02c7\u02c8\u0005o\u0000\u0000\u02c8\u02c9\u0005c\u0000"+ - "\u0000\u02c9\u02ca\u0005a\u0000\u0000\u02ca\u02cb\u0005l\u0000\u0000\u02cb"+ - "\u02cc\u0005.\u0000\u0000\u02cc\u02cd\u0005g\u0000\u0000\u02cd\u02ce\u0005"+ - "e\u0000\u0000\u02ce\u02cf\u0005t\u0000\u0000\u02cfd\u0001\u0000\u0000"+ + "t\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001u\u0001"+ + "v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001v\u0001w\u0001"+ + "w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001w\u0001x\u0001"+ + "x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001x\u0001"+ + "x\u0001x\u0001x\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001y\u0001"+ + "y\u0001y\u0001y\u0001y\u0001y\u0001z\u0001z\u0001z\u0001z\u0001z\u0001"+ + "z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001z\u0001{\u0001{\u0001{\u0001"+ + "{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001{\u0001|\u0001"+ + "|\u0001|\u0001|\u0001|\u0001|\u0001|\u0001|\u0001|\u0001|\u0001|\u0001"+ + "|\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001}\u0001"+ + "}\u0001}\u0001}\u0001~\u0001~\u0001~\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u007f"+ + "\u0001\u007f\u0001\u007f\u0001\u007f\u0003\u007f\u053a\b\u007f\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080"+ + "\u0003\u0080\u0585\b\u0080\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081"+ + "\u0001\u0081\u0001\u0081\u0003\u0081\u061d\b\u0081\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082"+ + "\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0003\u0082\u06c1\b\u0082"+ + "\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0084"+ + "\u0001\u0084\u0001\u0084\u0001\u0084\u0001\u0084\u0001\u0085\u0001\u0085"+ + "\u0001\u0085\u0001\u0085\u0001\u0085\u0001\u0085\u0001\u0085\u0001\u0086"+ + "\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0087"+ + "\u0001\u0087\u0001\u0087\u0001\u0087\u0001\u0087\u0001\u0087\u0001\u0088"+ + "\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088"+ + "\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u0089"+ + "\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a"+ + "\u0001\u008a\u0001\u008b\u0001\u008b\u0001\u008b\u0001\u008b\u0001\u008b"+ + "\u0001\u008b\u0001\u008c\u0001\u008c\u0001\u008c\u0001\u008c\u0001\u008c"+ + "\u0001\u008c\u0001\u008c\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d"+ + "\u0001\u008d\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e"+ + "\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u008f"+ + "\u0001\u008f\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0090"+ + "\u0001\u0090\u0001\u0090\u0001\u0091\u0001\u0091\u0001\u0091\u0001\u0091"+ + "\u0001\u0091\u0001\u0091\u0001\u0091\u0001\u0092\u0001\u0092\u0001\u0092"+ + "\u0001\u0092\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0093"+ + "\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0094\u0001\u0094\u0001\u0094"+ + "\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0095\u0001\u0095"+ + "\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0096"+ + "\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0096\u0001\u0097"+ + "\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097"+ + "\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0098\u0001\u0098"+ + "\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098"+ + "\u0001\u0098\u0001\u0099\u0001\u0099\u0001\u0099\u0001\u0099\u0001\u0099"+ + "\u0001\u0099\u0001\u0099\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a"+ + "\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009b"+ + "\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b"+ + "\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009c\u0001\u009d\u0001\u009d"+ + "\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d"+ + "\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d"+ + "\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009e\u0001\u009e\u0001\u009e"+ + "\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e"+ + "\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e"+ + "\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f"+ + "\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f"+ + "\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f"+ + "\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0"+ + "\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0"+ + "\u0001\u00a0\u0001\u00a0\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2"+ + "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2"+ + "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2"+ + "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2"+ + "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a3"+ + "\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3"+ + "\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a4"+ + "\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4"+ + "\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4"+ + "\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a5"+ + "\u0001\u00a5\u0001\u00a5\u0001\u00a5\u0001\u00a5\u0001\u00a5\u0001\u00a6"+ + "\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6"+ + "\u0001\u00a7\u0001\u00a7\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a8"+ + "\u0001\u00a8\u0001\u00a9\u0004\u00a9\u081b\b\u00a9\u000b\u00a9\f\u00a9"+ + "\u081c\u0001\u00a9\u0001\u00a9\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001"+ + "\u00aa\u0005\u00aa\u0825\b\u00aa\n\u00aa\f\u00aa\u0828\t\u00aa\u0001\u00aa"+ + "\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0005\u00aa"+ + "\u0830\b\u00aa\n\u00aa\f\u00aa\u0833\t\u00aa\u0001\u00aa\u0003\u00aa\u0836"+ + "\b\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00ab\u0001\u00ab\u0001\u00ac\u0001"+ + "\u00ac\u0003\u00ac\u083e\b\u00ac\u0001\u00ac\u0005\u00ac\u0841\b\u00ac"+ + "\n\u00ac\f\u00ac\u0844\t\u00ac\u0001\u00ad\u0001\u00ad\u0003\u00ad\u0848"+ + "\b\u00ad\u0001\u00ad\u0005\u00ad\u084b\b\u00ad\n\u00ad\f\u00ad\u084e\t"+ + "\u00ad\u0001\u00ae\u0001\u00ae\u0001\u00af\u0001\u00af\u0001\u00b0\u0001"+ + "\u00b0\u0001\u00b1\u0001\u00b1\u0001\u00b2\u0001\u00b2\u0001\u00b2\u0001"+ + "\u00b2\u0001\u00b2\u0003\u00b2\u085d\b\u00b2\u0001\u00b3\u0001\u00b3\u0001"+ + "\u00b3\u0001\u00b4\u0001\u00b4\u0001\u00b5\u0001\u00b5\u0001\u00b6\u0003"+ + "\u00b6\u0867\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0003\u00b6\u086c"+ + "\b\u00b6\u0001\u00b6\u0003\u00b6\u086f\b\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0003\u00b6\u0874\b\u00b6\u0003\u00b6\u0876\b\u00b6\u0001"+ + "\u00b6\u0001\u00b6\u0003\u00b6\u087a\b\u00b6\u0001\u00b6\u0001\u00b6\u0001"+ + "\u00b6\u0003\u00b6\u087f\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001"+ + "\u00b6\u0001\u00b6\u0001\u00b6\u0003\u00b6\u0887\b\u00b6\u0001\u00b6\u0003"+ + "\u00b6\u088a\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001"+ + "\u00b6\u0001\u00b6\u0003\u00b6\u0892\b\u00b6\u0003\u00b6\u0894\b\u00b6"+ + "\u0001\u00b6\u0001\u00b6\u0003\u00b6\u0898\b\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0003\u00b6\u089d\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0003\u00b6\u08a3\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0003\u00b6\u08a9\b\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ + "\u0003\u00b6\u08b4\b\u00b6\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7"+ + "\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7"+ + "\u0001\u00b7\u0001\u00b7\u0004\u00b7\u08c2\b\u00b7\u000b\u00b7\f\u00b7"+ + "\u08c3\u0001\u00b7\u0001\u00b7\u0005\u00b7\u08c8\b\u00b7\n\u00b7\f\u00b7"+ + "\u08cb\t\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b8\u0001\u00b8\u0001\u00b8"+ + "\u0001\u00b8\u0001\u00b8\u0004\u00b8\u08d4\b\u00b8\u000b\u00b8\f\u00b8"+ + "\u08d5\u0001\u00b9\u0001\u00b9\u0001\u00ba\u0001\u00ba\u0003\u00ba\u08dc"+ + "\b\u00ba\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001\u00bc\u0001\u00bd\u0001"+ + "\u00bd\u0001\u00be\u0001\u00be\u0001\u00bf\u0001\u00bf\u0003\u00bf\u08e8"+ + "\b\u00bf\u0001\u00c0\u0001\u00c0\u0003\u00c0\u08ec\b\u00c0\u0001\u00c1"+ + "\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c1\u0001\u00c1\u0003\u00c1\u0909\b\u00c1\u0002\u0826\u0831\u0000"+ + "\u00c2\u0001\u0001\u0003\u0002\u0005\u0003\u0007\u0004\t\u0005\u000b\u0006"+ + "\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017\f\u0019\r\u001b\u000e"+ + "\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013\'\u0014)\u0015+\u0016-\u0017"+ + "/\u00181\u00193\u001a5\u001b7\u001c9\u001d;\u001e=\u001f? A!C\"E#G$I%"+ + "K&M\'O(Q)S*U+W,Y-[.]/_0a1c2e3g4i5k6m7o8q9s:u;w}?\u007f@\u0081A\u0083"+ + "B\u0085C\u0087D\u0089E\u008bF\u008dG\u008fH\u0091I\u0093J\u0095K\u0097"+ + "L\u0099M\u009bN\u009dO\u009fP\u00a1Q\u00a3R\u00a5S\u00a7T\u00a9U\u00ab"+ + "V\u00adW\u00afX\u00b1Y\u00b3Z\u00b5[\u00b7\\\u00b9]\u00bb^\u00bd_\u00bf"+ + "`\u00c1a\u00c3b\u00c5c\u00c7d\u00c9e\u00cbf\u00cdg\u00cfh\u00d1i\u00d3"+ + "j\u00d5k\u00d7l\u00d9m\u00dbn\u00ddo\u00dfp\u00e1q\u00e3r\u00e5s\u00e7"+ + "t\u00e9u\u00ebv\u00edw\u00efx\u00f1y\u00f3z\u00f5{\u00f7|\u00f9}\u00fb"+ + "~\u00fd\u007f\u00ff\u0080\u0101\u0081\u0103\u0082\u0105\u0083\u0107\u0084"+ + "\u0109\u0085\u010b\u0086\u010d\u0087\u010f\u0088\u0111\u0089\u0113\u008a"+ + "\u0115\u008b\u0117\u008c\u0119\u008d\u011b\u008e\u011d\u008f\u011f\u0090"+ + "\u0121\u0091\u0123\u0092\u0125\u0093\u0127\u0094\u0129\u0095\u012b\u0096"+ + "\u012d\u0097\u012f\u0098\u0131\u0099\u0133\u009a\u0135\u009b\u0137\u009c"+ + "\u0139\u009d\u013b\u009e\u013d\u009f\u013f\u00a0\u0141\u00a1\u0143\u00a2"+ + "\u0145\u00a3\u0147\u00a4\u0149\u00a5\u014b\u00a6\u014d\u00a7\u014f\u00a8"+ + "\u0151\u00a9\u0153\u00aa\u0155\u00ab\u0157\u0000\u0159\u0000\u015b\u0000"+ + "\u015d\u0000\u015f\u0000\u0161\u0000\u0163\u0000\u0165\u0000\u0167\u0000"+ + "\u0169\u0000\u016b\u0000\u016d\u0000\u016f\u0000\u0171\u0000\u0173\u0000"+ + "\u0175\u0000\u0177\u0000\u0179\u0000\u017b\u0000\u017d\u0000\u017f\u0000"+ + "\u0181\u0000\u0183\u0000\u0001\u0000\u001a\u0002\u0000ssuu\u0003\u0000"+ + "\t\n\r\r \u000b\u0000!!#\'*+-/::<@\\\\^^``||~~\u0002\u0000++--\u0001"+ + "\u000009\u0003\u000009AFaf\u0002\u0000AZaz\u0002\u0000EEee\u0002\u0000"+ + "PPpp\u0003\u0000\t\n\'\'\\\\\u0006\u0000\"\"\'\'\\\\nnrrtt\u0005\u0000"+ + "\u0000\u001f\"\"\'\'\\\\\u007f\u00ff\u0001\u0000\u0000\u007f\u0002\u0000"+ + "\u0000\t\u000b\u007f\u0001\u0000\u0080\u00bf\u0001\u0000\u00c2\u00df\u0001"+ + "\u0000\u00e0\u00e0\u0001\u0000\u00a0\u00bf\u0001\u0000\u00ed\u00ed\u0001"+ + "\u0000\u0080\u009f\u0002\u0000\u00e1\u00ec\u00ee\u00ef\u0001\u0000\u00f0"+ + "\u00f0\u0001\u0000\u0090\u00bf\u0001\u0000\u00f4\u00f4\u0001\u0000\u0080"+ + "\u008f\u0001\u0000\u00f1\u00f3\u0960\u0000\u0001\u0001\u0000\u0000\u0000"+ + "\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000\u0000"+ + "\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000"+ + "\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000\u000f"+ + "\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000\u0000\u0013"+ + "\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000\u0000\u0017"+ + "\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000\u0000\u001b"+ + "\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000\u0000\u001f"+ + "\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001\u0000"+ + "\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000\u0000"+ + "\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000\u0000"+ + "-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u00001\u0001"+ + "\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001\u0000\u0000"+ + "\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000\u0000"+ + ";\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000?\u0001"+ + "\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C\u0001\u0000\u0000"+ + "\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000\u0000\u0000\u0000"+ + "I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000\u0000\u0000M\u0001"+ + "\u0000\u0000\u0000\u0000O\u0001\u0000\u0000\u0000\u0000Q\u0001\u0000\u0000"+ + "\u0000\u0000S\u0001\u0000\u0000\u0000\u0000U\u0001\u0000\u0000\u0000\u0000"+ + "W\u0001\u0000\u0000\u0000\u0000Y\u0001\u0000\u0000\u0000\u0000[\u0001"+ + "\u0000\u0000\u0000\u0000]\u0001\u0000\u0000\u0000\u0000_\u0001\u0000\u0000"+ + "\u0000\u0000a\u0001\u0000\u0000\u0000\u0000c\u0001\u0000\u0000\u0000\u0000"+ + "e\u0001\u0000\u0000\u0000\u0000g\u0001\u0000\u0000\u0000\u0000i\u0001"+ + "\u0000\u0000\u0000\u0000k\u0001\u0000\u0000\u0000\u0000m\u0001\u0000\u0000"+ + "\u0000\u0000o\u0001\u0000\u0000\u0000\u0000q\u0001\u0000\u0000\u0000\u0000"+ + "s\u0001\u0000\u0000\u0000\u0000u\u0001\u0000\u0000\u0000\u0000w\u0001"+ + "\u0000\u0000\u0000\u0000y\u0001\u0000\u0000\u0000\u0000{\u0001\u0000\u0000"+ + "\u0000\u0000}\u0001\u0000\u0000\u0000\u0000\u007f\u0001\u0000\u0000\u0000"+ + "\u0000\u0081\u0001\u0000\u0000\u0000\u0000\u0083\u0001\u0000\u0000\u0000"+ + "\u0000\u0085\u0001\u0000\u0000\u0000\u0000\u0087\u0001\u0000\u0000\u0000"+ + "\u0000\u0089\u0001\u0000\u0000\u0000\u0000\u008b\u0001\u0000\u0000\u0000"+ + "\u0000\u008d\u0001\u0000\u0000\u0000\u0000\u008f\u0001\u0000\u0000\u0000"+ + "\u0000\u0091\u0001\u0000\u0000\u0000\u0000\u0093\u0001\u0000\u0000\u0000"+ + "\u0000\u0095\u0001\u0000\u0000\u0000\u0000\u0097\u0001\u0000\u0000\u0000"+ + "\u0000\u0099\u0001\u0000\u0000\u0000\u0000\u009b\u0001\u0000\u0000\u0000"+ + "\u0000\u009d\u0001\u0000\u0000\u0000\u0000\u009f\u0001\u0000\u0000\u0000"+ + "\u0000\u00a1\u0001\u0000\u0000\u0000\u0000\u00a3\u0001\u0000\u0000\u0000"+ + "\u0000\u00a5\u0001\u0000\u0000\u0000\u0000\u00a7\u0001\u0000\u0000\u0000"+ + "\u0000\u00a9\u0001\u0000\u0000\u0000\u0000\u00ab\u0001\u0000\u0000\u0000"+ + "\u0000\u00ad\u0001\u0000\u0000\u0000\u0000\u00af\u0001\u0000\u0000\u0000"+ + "\u0000\u00b1\u0001\u0000\u0000\u0000\u0000\u00b3\u0001\u0000\u0000\u0000"+ + "\u0000\u00b5\u0001\u0000\u0000\u0000\u0000\u00b7\u0001\u0000\u0000\u0000"+ + "\u0000\u00b9\u0001\u0000\u0000\u0000\u0000\u00bb\u0001\u0000\u0000\u0000"+ + "\u0000\u00bd\u0001\u0000\u0000\u0000\u0000\u00bf\u0001\u0000\u0000\u0000"+ + "\u0000\u00c1\u0001\u0000\u0000\u0000\u0000\u00c3\u0001\u0000\u0000\u0000"+ + "\u0000\u00c5\u0001\u0000\u0000\u0000\u0000\u00c7\u0001\u0000\u0000\u0000"+ + "\u0000\u00c9\u0001\u0000\u0000\u0000\u0000\u00cb\u0001\u0000\u0000\u0000"+ + "\u0000\u00cd\u0001\u0000\u0000\u0000\u0000\u00cf\u0001\u0000\u0000\u0000"+ + "\u0000\u00d1\u0001\u0000\u0000\u0000\u0000\u00d3\u0001\u0000\u0000\u0000"+ + "\u0000\u00d5\u0001\u0000\u0000\u0000\u0000\u00d7\u0001\u0000\u0000\u0000"+ + "\u0000\u00d9\u0001\u0000\u0000\u0000\u0000\u00db\u0001\u0000\u0000\u0000"+ + "\u0000\u00dd\u0001\u0000\u0000\u0000\u0000\u00df\u0001\u0000\u0000\u0000"+ + "\u0000\u00e1\u0001\u0000\u0000\u0000\u0000\u00e3\u0001\u0000\u0000\u0000"+ + "\u0000\u00e5\u0001\u0000\u0000\u0000\u0000\u00e7\u0001\u0000\u0000\u0000"+ + "\u0000\u00e9\u0001\u0000\u0000\u0000\u0000\u00eb\u0001\u0000\u0000\u0000"+ + "\u0000\u00ed\u0001\u0000\u0000\u0000\u0000\u00ef\u0001\u0000\u0000\u0000"+ + "\u0000\u00f1\u0001\u0000\u0000\u0000\u0000\u00f3\u0001\u0000\u0000\u0000"+ + "\u0000\u00f5\u0001\u0000\u0000\u0000\u0000\u00f7\u0001\u0000\u0000\u0000"+ + "\u0000\u00f9\u0001\u0000\u0000\u0000\u0000\u00fb\u0001\u0000\u0000\u0000"+ + "\u0000\u00fd\u0001\u0000\u0000\u0000\u0000\u00ff\u0001\u0000\u0000\u0000"+ + "\u0000\u0101\u0001\u0000\u0000\u0000\u0000\u0103\u0001\u0000\u0000\u0000"+ + "\u0000\u0105\u0001\u0000\u0000\u0000\u0000\u0107\u0001\u0000\u0000\u0000"+ + "\u0000\u0109\u0001\u0000\u0000\u0000\u0000\u010b\u0001\u0000\u0000\u0000"+ + "\u0000\u010d\u0001\u0000\u0000\u0000\u0000\u010f\u0001\u0000\u0000\u0000"+ + "\u0000\u0111\u0001\u0000\u0000\u0000\u0000\u0113\u0001\u0000\u0000\u0000"+ + "\u0000\u0115\u0001\u0000\u0000\u0000\u0000\u0117\u0001\u0000\u0000\u0000"+ + "\u0000\u0119\u0001\u0000\u0000\u0000\u0000\u011b\u0001\u0000\u0000\u0000"+ + "\u0000\u011d\u0001\u0000\u0000\u0000\u0000\u011f\u0001\u0000\u0000\u0000"+ + "\u0000\u0121\u0001\u0000\u0000\u0000\u0000\u0123\u0001\u0000\u0000\u0000"+ + "\u0000\u0125\u0001\u0000\u0000\u0000\u0000\u0127\u0001\u0000\u0000\u0000"+ + "\u0000\u0129\u0001\u0000\u0000\u0000\u0000\u012b\u0001\u0000\u0000\u0000"+ + "\u0000\u012d\u0001\u0000\u0000\u0000\u0000\u012f\u0001\u0000\u0000\u0000"+ + "\u0000\u0131\u0001\u0000\u0000\u0000\u0000\u0133\u0001\u0000\u0000\u0000"+ + "\u0000\u0135\u0001\u0000\u0000\u0000\u0000\u0137\u0001\u0000\u0000\u0000"+ + "\u0000\u0139\u0001\u0000\u0000\u0000\u0000\u013b\u0001\u0000\u0000\u0000"+ + "\u0000\u013d\u0001\u0000\u0000\u0000\u0000\u013f\u0001\u0000\u0000\u0000"+ + "\u0000\u0141\u0001\u0000\u0000\u0000\u0000\u0143\u0001\u0000\u0000\u0000"+ + "\u0000\u0145\u0001\u0000\u0000\u0000\u0000\u0147\u0001\u0000\u0000\u0000"+ + "\u0000\u0149\u0001\u0000\u0000\u0000\u0000\u014b\u0001\u0000\u0000\u0000"+ + "\u0000\u014d\u0001\u0000\u0000\u0000\u0000\u014f\u0001\u0000\u0000\u0000"+ + "\u0000\u0151\u0001\u0000\u0000\u0000\u0000\u0153\u0001\u0000\u0000\u0000"+ + "\u0000\u0155\u0001\u0000\u0000\u0000\u0001\u0185\u0001\u0000\u0000\u0000"+ + "\u0003\u0187\u0001\u0000\u0000\u0000\u0005\u0189\u0001\u0000\u0000\u0000"+ + "\u0007\u018b\u0001\u0000\u0000\u0000\t\u018d\u0001\u0000\u0000\u0000\u000b"+ + "\u018f\u0001\u0000\u0000\u0000\r\u0191\u0001\u0000\u0000\u0000\u000f\u0193"+ + "\u0001\u0000\u0000\u0000\u0011\u019b\u0001\u0000\u0000\u0000\u0013\u01a6"+ + "\u0001\u0000\u0000\u0000\u0015\u01ae\u0001\u0000\u0000\u0000\u0017\u01b8"+ + "\u0001\u0000\u0000\u0000\u0019\u01bc\u0001\u0000\u0000\u0000\u001b\u01c0"+ + "\u0001\u0000\u0000\u0000\u001d\u01c5\u0001\u0000\u0000\u0000\u001f\u01ca"+ + "\u0001\u0000\u0000\u0000!\u01ce\u0001\u0000\u0000\u0000#\u01d9\u0001\u0000"+ + "\u0000\u0000%\u01df\u0001\u0000\u0000\u0000\'\u01e4\u0001\u0000\u0000"+ + "\u0000)\u01f0\u0001\u0000\u0000\u0000+\u01f5\u0001\u0000\u0000\u0000-"+ + "\u01fb\u0001\u0000\u0000\u0000/\u0200\u0001\u0000\u0000\u00001\u0204\u0001"+ + "\u0000\u0000\u00003\u0206\u0001\u0000\u0000\u00005\u020a\u0001\u0000\u0000"+ + "\u00007\u020d\u0001\u0000\u0000\u00009\u0213\u0001\u0000\u0000\u0000;"+ + "\u021c\u0001\u0000\u0000\u0000=\u0223\u0001\u0000\u0000\u0000?\u0226\u0001"+ + "\u0000\u0000\u0000A\u022b\u0001\u0000\u0000\u0000C\u0230\u0001\u0000\u0000"+ + "\u0000E\u0238\u0001\u0000\u0000\u0000G\u023d\u0001\u0000\u0000\u0000I"+ + "\u024b\u0001\u0000\u0000\u0000K\u0257\u0001\u0000\u0000\u0000M\u026c\u0001"+ + "\u0000\u0000\u0000O\u0275\u0001\u0000\u0000\u0000Q\u027e\u0001\u0000\u0000"+ + "\u0000S\u0285\u0001\u0000\u0000\u0000U\u0288\u0001\u0000\u0000\u0000W"+ + "\u0291\u0001\u0000\u0000\u0000Y\u029b\u0001\u0000\u0000\u0000[\u02a3\u0001"+ + "\u0000\u0000\u0000]\u02ac\u0001\u0000\u0000\u0000_\u02b8\u0001\u0000\u0000"+ + "\u0000a\u02bc\u0001\u0000\u0000\u0000c\u02c2\u0001\u0000\u0000\u0000e"+ + "\u02c8\u0001\u0000\u0000\u0000g\u02d0\u0001\u0000\u0000\u0000i\u02da\u0001"+ + "\u0000\u0000\u0000k\u02e4\u0001\u0000\u0000\u0000m\u02ee\u0001\u0000\u0000"+ + "\u0000o\u02f9\u0001\u0000\u0000\u0000q\u0304\u0001\u0000\u0000\u0000s"+ + "\u0310\u0001\u0000\u0000\u0000u\u031a\u0001\u0000\u0000\u0000w\u031c\u0001"+ + "\u0000\u0000\u0000y\u0324\u0001\u0000\u0000\u0000{\u032b\u0001\u0000\u0000"+ + "\u0000}\u0334\u0001\u0000\u0000\u0000\u007f\u0336\u0001\u0000\u0000\u0000"+ + "\u0081\u033a\u0001\u0000\u0000\u0000\u0083\u033e\u0001\u0000\u0000\u0000"+ + "\u0085\u0342\u0001\u0000\u0000\u0000\u0087\u0348\u0001\u0000\u0000\u0000"+ + "\u0089\u034c\u0001\u0000\u0000\u0000\u008b\u034e\u0001\u0000\u0000\u0000"+ + "\u008d\u0353\u0001\u0000\u0000\u0000\u008f\u0357\u0001\u0000\u0000\u0000"+ + "\u0091\u035b\u0001\u0000\u0000\u0000\u0093\u035f\u0001\u0000\u0000\u0000"+ + "\u0095\u0365\u0001\u0000\u0000\u0000\u0097\u036b\u0001\u0000\u0000\u0000"+ + "\u0099\u036f\u0001\u0000\u0000\u0000\u009b\u0375\u0001\u0000\u0000\u0000"+ + "\u009d\u037b\u0001\u0000\u0000\u0000\u009f\u037f\u0001\u0000\u0000\u0000"+ + "\u00a1\u0385\u0001\u0000\u0000\u0000\u00a3\u038b\u0001\u0000\u0000\u0000"+ + "\u00a5\u038f\u0001\u0000\u0000\u0000\u00a7\u0395\u0001\u0000\u0000\u0000"+ + "\u00a9\u039b\u0001\u0000\u0000\u0000\u00ab\u03a0\u0001\u0000\u0000\u0000"+ + "\u00ad\u03a5\u0001\u0000\u0000\u0000\u00af\u03ad\u0001\u0000\u0000\u0000"+ + "\u00b1\u03b2\u0001\u0000\u0000\u0000\u00b3\u03b7\u0001\u0000\u0000\u0000"+ + "\u00b5\u03bd\u0001\u0000\u0000\u0000\u00b7\u03c3\u0001\u0000\u0000\u0000"+ + "\u00b9\u03ca\u0001\u0000\u0000\u0000\u00bb\u03d1\u0001\u0000\u0000\u0000"+ + "\u00bd\u03da\u0001\u0000\u0000\u0000\u00bf\u03df\u0001\u0000\u0000\u0000"+ + "\u00c1\u03e4\u0001\u0000\u0000\u0000\u00c3\u03e9\u0001\u0000\u0000\u0000"+ + "\u00c5\u03ee\u0001\u0000\u0000\u0000\u00c7\u03f5\u0001\u0000\u0000\u0000"+ + "\u00c9\u03fc\u0001\u0000\u0000\u0000\u00cb\u0403\u0001\u0000\u0000\u0000"+ + "\u00cd\u040a\u0001\u0000\u0000\u0000\u00cf\u040f\u0001\u0000\u0000\u0000"+ + "\u00d1\u0413\u0001\u0000\u0000\u0000\u00d3\u0418\u0001\u0000\u0000\u0000"+ + "\u00d5\u041d\u0001\u0000\u0000\u0000\u00d7\u0424\u0001\u0000\u0000\u0000"+ + "\u00d9\u042b\u0001\u0000\u0000\u0000\u00db\u0431\u0001\u0000\u0000\u0000"+ + "\u00dd\u0437\u0001\u0000\u0000\u0000\u00df\u043c\u0001\u0000\u0000\u0000"+ + "\u00e1\u0441\u0001\u0000\u0000\u0000\u00e3\u044b\u0001\u0000\u0000\u0000"+ + "\u00e5\u0452\u0001\u0000\u0000\u0000\u00e7\u045a\u0001\u0000\u0000\u0000"+ + "\u00e9\u0466\u0001\u0000\u0000\u0000\u00eb\u0470\u0001\u0000\u0000\u0000"+ + "\u00ed\u0479\u0001\u0000\u0000\u0000\u00ef\u0482\u0001\u0000\u0000\u0000"+ + "\u00f1\u048c\u0001\u0000\u0000\u0000\u00f3\u049a\u0001\u0000\u0000\u0000"+ + "\u00f5\u04a6\u0001\u0000\u0000\u0000\u00f7\u04b2\u0001\u0000\u0000\u0000"+ + "\u00f9\u04be\u0001\u0000\u0000\u0000\u00fb\u04ca\u0001\u0000\u0000\u0000"+ + "\u00fd\u04d6\u0001\u0000\u0000\u0000\u00ff\u0539\u0001\u0000\u0000\u0000"+ + "\u0101\u0584\u0001\u0000\u0000\u0000\u0103\u061c\u0001\u0000\u0000\u0000"+ + "\u0105\u06c0\u0001\u0000\u0000\u0000\u0107\u06c2\u0001\u0000\u0000\u0000"+ + "\u0109\u06c7\u0001\u0000\u0000\u0000\u010b\u06cc\u0001\u0000\u0000\u0000"+ + "\u010d\u06d3\u0001\u0000\u0000\u0000\u010f\u06d9\u0001\u0000\u0000\u0000"+ + "\u0111\u06df\u0001\u0000\u0000\u0000\u0113\u06e6\u0001\u0000\u0000\u0000"+ + "\u0115\u06ec\u0001\u0000\u0000\u0000\u0117\u06f3\u0001\u0000\u0000\u0000"+ + "\u0119\u06f9\u0001\u0000\u0000\u0000\u011b\u0700\u0001\u0000\u0000\u0000"+ + "\u011d\u0705\u0001\u0000\u0000\u0000\u011f\u070a\u0001\u0000\u0000\u0000"+ + "\u0121\u0711\u0001\u0000\u0000\u0000\u0123\u0718\u0001\u0000\u0000\u0000"+ + "\u0125\u071f\u0001\u0000\u0000\u0000\u0127\u0723\u0001\u0000\u0000\u0000"+ + "\u0129\u072b\u0001\u0000\u0000\u0000\u012b\u0732\u0001\u0000\u0000\u0000"+ + "\u012d\u0739\u0001\u0000\u0000\u0000\u012f\u073f\u0001\u0000\u0000\u0000"+ + "\u0131\u074a\u0001\u0000\u0000\u0000\u0133\u0753\u0001\u0000\u0000\u0000"+ + "\u0135\u075a\u0001\u0000\u0000\u0000\u0137\u0763\u0001\u0000\u0000\u0000"+ + "\u0139\u076a\u0001\u0000\u0000\u0000\u013b\u076e\u0001\u0000\u0000\u0000"+ + "\u013d\u077f\u0001\u0000\u0000\u0000\u013f\u078e\u0001\u0000\u0000\u0000"+ + "\u0141\u07a0\u0001\u0000\u0000\u0000\u0143\u07ae\u0001\u0000\u0000\u0000"+ + "\u0145\u07ca\u0001\u0000\u0000\u0000\u0147\u07e7\u0001\u0000\u0000\u0000"+ + "\u0149\u07f3\u0001\u0000\u0000\u0000\u014b\u0805\u0001\u0000\u0000\u0000"+ + "\u014d\u080b\u0001\u0000\u0000\u0000\u014f\u0812\u0001\u0000\u0000\u0000"+ + "\u0151\u0814\u0001\u0000\u0000\u0000\u0153\u081a\u0001\u0000\u0000\u0000"+ + "\u0155\u0835\u0001\u0000\u0000\u0000\u0157\u0839\u0001\u0000\u0000\u0000"+ + "\u0159\u083b\u0001\u0000\u0000\u0000\u015b\u0845\u0001\u0000\u0000\u0000"+ + "\u015d\u084f\u0001\u0000\u0000\u0000\u015f\u0851\u0001\u0000\u0000\u0000"+ + "\u0161\u0853\u0001\u0000\u0000\u0000\u0163\u0855\u0001\u0000\u0000\u0000"+ + "\u0165\u085c\u0001\u0000\u0000\u0000\u0167\u085e\u0001\u0000\u0000\u0000"+ + "\u0169\u0861\u0001\u0000\u0000\u0000\u016b\u0863\u0001\u0000\u0000\u0000"+ + "\u016d\u08b3\u0001\u0000\u0000\u0000\u016f\u08b5\u0001\u0000\u0000\u0000"+ + "\u0171\u08ce\u0001\u0000\u0000\u0000\u0173\u08d7\u0001\u0000\u0000\u0000"+ + "\u0175\u08db\u0001\u0000\u0000\u0000\u0177\u08dd\u0001\u0000\u0000\u0000"+ + "\u0179\u08df\u0001\u0000\u0000\u0000\u017b\u08e1\u0001\u0000\u0000\u0000"+ + "\u017d\u08e3\u0001\u0000\u0000\u0000\u017f\u08e7\u0001\u0000\u0000\u0000"+ + "\u0181\u08eb\u0001\u0000\u0000\u0000\u0183\u0908\u0001\u0000\u0000\u0000"+ + "\u0185\u0186\u0005(\u0000\u0000\u0186\u0002\u0001\u0000\u0000\u0000\u0187"+ + "\u0188\u0005)\u0000\u0000\u0188\u0004\u0001\u0000\u0000\u0000\u0189\u018a"+ + "\u0003\u0165\u00b2\u0000\u018a\u0006\u0001\u0000\u0000\u0000\u018b\u018c"+ + "\u0003\u0167\u00b3\u0000\u018c\b\u0001\u0000\u0000\u0000\u018d\u018e\u0003"+ + "\u016d\u00b6\u0000\u018e\n\u0001\u0000\u0000\u0000\u018f\u0190\u0003\u016f"+ + "\u00b7\u0000\u0190\f\u0001\u0000\u0000\u0000\u0191\u0192\u0003\u0175\u00ba"+ + "\u0000\u0192\u000e\u0001\u0000\u0000\u0000\u0193\u0194\u0003\u0175\u00ba"+ + "\u0000\u0194\u0195\u0005.\u0000\u0000\u0195\u0196\u0005c\u0000\u0000\u0196"+ + "\u0197\u0005o\u0000\u0000\u0197\u0198\u0005n\u0000\u0000\u0198\u0199\u0005"+ + "s\u0000\u0000\u0199\u019a\u0005t\u0000\u0000\u019a\u0010\u0001\u0000\u0000"+ + "\u0000\u019b\u019c\u0003\u0175\u00ba\u0000\u019c\u019d\u0005.\u0000\u0000"+ + "\u019d\u019e\u0005s\u0000\u0000\u019e\u019f\u0005y\u0000\u0000\u019f\u01a0"+ + "\u0005m\u0000\u0000\u01a0\u01a1\u0005b\u0000\u0000\u01a1\u01a2\u0005o"+ + "\u0000\u0000\u01a2\u01a3\u0005l\u0000\u0000\u01a3\u01a4\u0005i\u0000\u0000"+ + "\u01a4\u01a5\u0005c\u0000\u0000\u01a5\u0012\u0001\u0000\u0000\u0000\u01a6"+ + "\u01a7\u0005f\u0000\u0000\u01a7\u01a8\u0005u\u0000\u0000\u01a8\u01a9\u0005"+ + "n\u0000\u0000\u01a9\u01aa\u0005c\u0000\u0000\u01aa\u01ab\u0005r\u0000"+ + "\u0000\u01ab\u01ac\u0005e\u0000\u0000\u01ac\u01ad\u0005f\u0000\u0000\u01ad"+ + "\u0014\u0001\u0000\u0000\u0000\u01ae\u01af\u0005e\u0000\u0000\u01af\u01b0"+ + "\u0005x\u0000\u0000\u01b0\u01b1\u0005t\u0000\u0000\u01b1\u01b2\u0005e"+ + "\u0000\u0000\u01b2\u01b3\u0005r\u0000\u0000\u01b3\u01b4\u0005n\u0000\u0000"+ + "\u01b4\u01b5\u0005r\u0000\u0000\u01b5\u01b6\u0005e\u0000\u0000\u01b6\u01b7"+ + "\u0005f\u0000\u0000\u01b7\u0016\u0001\u0000\u0000\u0000\u01b8\u01b9\u0005"+ + "m\u0000\u0000\u01b9\u01ba\u0005u\u0000\u0000\u01ba\u01bb\u0005t\u0000"+ + "\u0000\u01bb\u0018\u0001\u0000\u0000\u0000\u01bc\u01bd\u0005r\u0000\u0000"+ + "\u01bd\u01be\u0005e\u0000\u0000\u01be\u01bf\u0005f\u0000\u0000\u01bf\u001a"+ + "\u0001\u0000\u0000\u0000\u01c0\u01c1\u0005c\u0000\u0000\u01c1\u01c2\u0005"+ + "o\u0000\u0000\u01c2\u01c3\u0005n\u0000\u0000\u01c3\u01c4\u0005t\u0000"+ + "\u0000\u01c4\u001c\u0001\u0000\u0000\u0000\u01c5\u01c6\u0005n\u0000\u0000"+ + "\u01c6\u01c7\u0005u\u0000\u0000\u01c7\u01c8\u0005l\u0000\u0000\u01c8\u01c9"+ + "\u0005l\u0000\u0000\u01c9\u001e\u0001\u0000\u0000\u0000\u01ca\u01cb\u0005"+ + "n\u0000\u0000\u01cb\u01cc\u0005o\u0000\u0000\u01cc\u01cd\u0005p\u0000"+ + "\u0000\u01cd \u0001\u0000\u0000\u0000\u01ce\u01cf\u0005s\u0000\u0000\u01cf"+ + "\u01d0\u0005y\u0000\u0000\u01d0\u01d1\u0005m\u0000\u0000\u01d1\u01d2\u0005"+ + "_\u0000\u0000\u01d2\u01d3\u0005a\u0000\u0000\u01d3\u01d4\u0005s\u0000"+ + "\u0000\u01d4\u01d5\u0005s\u0000\u0000\u01d5\u01d6\u0005e\u0000\u0000\u01d6"+ + "\u01d7\u0005r\u0000\u0000\u01d7\u01d8\u0005t\u0000\u0000\u01d8\"\u0001"+ + "\u0000\u0000\u0000\u01d9\u01da\u0005a\u0000\u0000\u01da\u01db\u0005l\u0000"+ + "\u0000\u01db\u01dc\u0005l\u0000\u0000\u01dc\u01dd\u0005o\u0000\u0000\u01dd"+ + "\u01de\u0005c\u0000\u0000\u01de$\u0001\u0000\u0000\u0000\u01df\u01e0\u0005"+ + "f\u0000\u0000\u01e0\u01e1\u0005r\u0000\u0000\u01e1\u01e2\u0005e\u0000"+ + "\u0000\u01e2\u01e3\u0005e\u0000\u0000\u01e3&\u0001\u0000\u0000\u0000\u01e4"+ + "\u01e5\u0005u\u0000\u0000\u01e5\u01e6\u0005n\u0000\u0000\u01e6\u01e7\u0005"+ + "r\u0000\u0000\u01e7\u01e8\u0005e\u0000\u0000\u01e8\u01e9\u0005a\u0000"+ + "\u0000\u01e9\u01ea\u0005c\u0000\u0000\u01ea\u01eb\u0005h\u0000\u0000\u01eb"+ + "\u01ec\u0005a\u0000\u0000\u01ec\u01ed\u0005b\u0000\u0000\u01ed\u01ee\u0005"+ + "l\u0000\u0000\u01ee\u01ef\u0005e\u0000\u0000\u01ef(\u0001\u0000\u0000"+ + "\u0000\u01f0\u01f1\u0005d\u0000\u0000\u01f1\u01f2\u0005r\u0000\u0000\u01f2"+ + "\u01f3\u0005o\u0000\u0000\u01f3\u01f4\u0005p\u0000\u0000\u01f4*\u0001"+ + "\u0000\u0000\u0000\u01f5\u01f6\u0005b\u0000\u0000\u01f6\u01f7\u0005l\u0000"+ + "\u0000\u01f7\u01f8\u0005o\u0000\u0000\u01f8\u01f9\u0005c\u0000\u0000\u01f9"+ + "\u01fa\u0005k\u0000\u0000\u01fa,\u0001\u0000\u0000\u0000\u01fb\u01fc\u0005"+ + "l\u0000\u0000\u01fc\u01fd\u0005o\u0000\u0000\u01fd\u01fe\u0005o\u0000"+ + "\u0000\u01fe\u01ff\u0005p\u0000\u0000\u01ff.\u0001\u0000\u0000\u0000\u0200"+ + "\u0201\u0005f\u0000\u0000\u0201\u0202\u0005o\u0000\u0000\u0202\u0203\u0005"+ + "r\u0000\u0000\u02030\u0001\u0000\u0000\u0000\u0204\u0205\u0005|\u0000"+ + "\u0000\u02052\u0001\u0000\u0000\u0000\u0206\u0207\u0005e\u0000\u0000\u0207"+ + "\u0208\u0005n\u0000\u0000\u0208\u0209\u0005d\u0000\u0000\u02094\u0001"+ + "\u0000\u0000\u0000\u020a\u020b\u0005b\u0000\u0000\u020b\u020c\u0005r\u0000"+ + "\u0000\u020c6\u0001\u0000\u0000\u0000\u020d\u020e\u0005b\u0000\u0000\u020e"+ + "\u020f\u0005r\u0000\u0000\u020f\u0210\u0005_\u0000\u0000\u0210\u0211\u0005"+ + "i\u0000\u0000\u0211\u0212\u0005f\u0000\u0000\u02128\u0001\u0000\u0000"+ + "\u0000\u0213\u0214\u0005b\u0000\u0000\u0214\u0215\u0005r\u0000\u0000\u0215"+ + "\u0216\u0005_\u0000\u0000\u0216\u0217\u0005t\u0000\u0000\u0217\u0218\u0005"+ + "a\u0000\u0000\u0218\u0219\u0005b\u0000\u0000\u0219\u021a\u0005l\u0000"+ + "\u0000\u021a\u021b\u0005e\u0000\u0000\u021b:\u0001\u0000\u0000\u0000\u021c"+ + "\u021d\u0005r\u0000\u0000\u021d\u021e\u0005e\u0000\u0000\u021e\u021f\u0005"+ + "t\u0000\u0000\u021f\u0220\u0005u\u0000\u0000\u0220\u0221\u0005r\u0000"+ + "\u0000\u0221\u0222\u0005n\u0000\u0000\u0222<\u0001\u0000\u0000\u0000\u0223"+ + "\u0224\u0005i\u0000\u0000\u0224\u0225\u0005f\u0000\u0000\u0225>\u0001"+ + "\u0000\u0000\u0000\u0226\u0227\u0005t\u0000\u0000\u0227\u0228\u0005h\u0000"+ + "\u0000\u0228\u0229\u0005e\u0000\u0000\u0229\u022a\u0005n\u0000\u0000\u022a"+ + "@\u0001\u0000\u0000\u0000\u022b\u022c\u0005e\u0000\u0000\u022c\u022d\u0005"+ + "l\u0000\u0000\u022d\u022e\u0005s\u0000\u0000\u022e\u022f\u0005e\u0000"+ + "\u0000\u022fB\u0001\u0000\u0000\u0000\u0230\u0231\u0005.\u0000\u0000\u0231"+ + "\u0232\u0005s\u0000\u0000\u0232\u0233\u0005e\u0000\u0000\u0233\u0234\u0005"+ + "l\u0000\u0000\u0234\u0235\u0005e\u0000\u0000\u0235\u0236\u0005c\u0000"+ + "\u0000\u0236\u0237\u0005t\u0000\u0000\u0237D\u0001\u0000\u0000\u0000\u0238"+ + "\u0239\u0005c\u0000\u0000\u0239\u023a\u0005a\u0000\u0000\u023a\u023b\u0005"+ + "l\u0000\u0000\u023b\u023c\u0005l\u0000\u0000\u023cF\u0001\u0000\u0000"+ + "\u0000\u023d\u023e\u0005c\u0000\u0000\u023e\u023f\u0005a\u0000\u0000\u023f"+ + "\u0240\u0005l\u0000\u0000\u0240\u0241\u0005l\u0000\u0000\u0241\u0242\u0005"+ + "_\u0000\u0000\u0242\u0243\u0005i\u0000\u0000\u0243\u0244\u0005n\u0000"+ + "\u0000\u0244\u0245\u0005d\u0000\u0000\u0245\u0246\u0005i\u0000\u0000\u0246"+ + "\u0247\u0005r\u0000\u0000\u0247\u0248\u0005e\u0000\u0000\u0248\u0249\u0005"+ + "c\u0000\u0000\u0249\u024a\u0005t\u0000\u0000\u024aH\u0001\u0000\u0000"+ + "\u0000\u024b\u024c\u0005r\u0000\u0000\u024c\u024d\u0005e\u0000\u0000\u024d"+ + "\u024e\u0005t\u0000\u0000\u024e\u024f\u0005u\u0000\u0000\u024f\u0250\u0005"+ + "r\u0000\u0000\u0250\u0251\u0005n\u0000\u0000\u0251\u0252\u0005_\u0000"+ + "\u0000\u0252\u0253\u0005c\u0000\u0000\u0253\u0254\u0005a\u0000\u0000\u0254"+ + "\u0255\u0005l\u0000\u0000\u0255\u0256\u0005l\u0000\u0000\u0256J\u0001"+ + "\u0000\u0000\u0000\u0257\u0258\u0005r\u0000\u0000\u0258\u0259\u0005e\u0000"+ + "\u0000\u0259\u025a\u0005t\u0000\u0000\u025a\u025b\u0005u\u0000\u0000\u025b"+ + "\u025c\u0005r\u0000\u0000\u025c\u025d\u0005n\u0000\u0000\u025d\u025e\u0005"+ + "_\u0000\u0000\u025e\u025f\u0005c\u0000\u0000\u025f\u0260\u0005a\u0000"+ + "\u0000\u0260\u0261\u0005l\u0000\u0000\u0261\u0262\u0005l\u0000\u0000\u0262"+ + "\u0263\u0005_\u0000\u0000\u0263\u0264\u0005i\u0000\u0000\u0264\u0265\u0005"+ + "n\u0000\u0000\u0265\u0266\u0005d\u0000\u0000\u0266\u0267\u0005i\u0000"+ + "\u0000\u0267\u0268\u0005r\u0000\u0000\u0268\u0269\u0005e\u0000\u0000\u0269"+ + "\u026a\u0005c\u0000\u0000\u026a\u026b\u0005t\u0000\u0000\u026bL\u0001"+ + "\u0000\u0000\u0000\u026c\u026d\u0005r\u0000\u0000\u026d\u026e\u0005e\u0000"+ + "\u0000\u026e\u026f\u0005f\u0000\u0000\u026f\u0270\u0005.\u0000\u0000\u0270"+ + "\u0271\u0005f\u0000\u0000\u0271\u0272\u0005u\u0000\u0000\u0272\u0273\u0005"+ + "n\u0000\u0000\u0273\u0274\u0005c\u0000\u0000\u0274N\u0001\u0000\u0000"+ + "\u0000\u0275\u0276\u0005c\u0000\u0000\u0276\u0277\u0005a\u0000\u0000\u0277"+ + "\u0278\u0005l\u0000\u0000\u0278\u0279\u0005l\u0000\u0000\u0279\u027a\u0005"+ + "_\u0000\u0000\u027a\u027b\u0005r\u0000\u0000\u027b\u027c\u0005e\u0000"+ + "\u0000\u027c\u027d\u0005f\u0000\u0000\u027dP\u0001\u0000\u0000\u0000\u027e"+ + "\u027f\u0005r\u0000\u0000\u027f\u0280\u0005e\u0000\u0000\u0280\u0281\u0005"+ + "s\u0000\u0000\u0281\u0282\u0005u\u0000\u0000\u0282\u0283\u0005m\u0000"+ + "\u0000\u0283\u0284\u0005e\u0000\u0000\u0284R\u0001\u0000\u0000\u0000\u0285"+ + "\u0286\u0005o\u0000\u0000\u0286\u0287\u0005n\u0000\u0000\u0287T\u0001"+ + "\u0000\u0000\u0000\u0288\u0289\u0005c\u0000\u0000\u0289\u028a\u0005o\u0000"+ + "\u0000\u028a\u028b\u0005n\u0000\u0000\u028b\u028c\u0005t\u0000\u0000\u028c"+ + "\u028d\u0005.\u0000\u0000\u028d\u028e\u0005n\u0000\u0000\u028e\u028f\u0005"+ + "e\u0000\u0000\u028f\u0290\u0005w\u0000\u0000\u0290V\u0001\u0000\u0000"+ + "\u0000\u0291\u0292\u0005c\u0000\u0000\u0292\u0293\u0005o\u0000\u0000\u0293"+ + "\u0294\u0005n\u0000\u0000\u0294\u0295\u0005t\u0000\u0000\u0295\u0296\u0005"+ + ".\u0000\u0000\u0296\u0297\u0005b\u0000\u0000\u0297\u0298\u0005i\u0000"+ + "\u0000\u0298\u0299\u0005n\u0000\u0000\u0299\u029a\u0005d\u0000\u0000\u029a"+ + "X\u0001\u0000\u0000\u0000\u029b\u029c\u0005s\u0000\u0000\u029c\u029d\u0005"+ + "u\u0000\u0000\u029d\u029e\u0005s\u0000\u0000\u029e\u029f\u0005p\u0000"+ + "\u0000\u029f\u02a0\u0005e\u0000\u0000\u02a0\u02a1\u0005n\u0000\u0000\u02a1"+ + "\u02a2\u0005d\u0000\u0000\u02a2Z\u0001\u0000\u0000\u0000\u02a3\u02a4\u0005"+ + "r\u0000\u0000\u02a4\u02a5\u0005e\u0000\u0000\u02a5\u02a6\u0005f\u0000"+ + "\u0000\u02a6\u02a7\u0005.\u0000\u0000\u02a7\u02a8\u0005n\u0000\u0000\u02a8"+ + "\u02a9\u0005u\u0000\u0000\u02a9\u02aa\u0005l\u0000\u0000\u02aa\u02ab\u0005"+ + "l\u0000\u0000\u02ab\\\u0001\u0000\u0000\u0000\u02ac\u02ad\u0005r\u0000"+ + "\u0000\u02ad\u02ae\u0005e\u0000\u0000\u02ae\u02af\u0005f\u0000\u0000\u02af"+ + "\u02b0\u0005.\u0000\u0000\u02b0\u02b1\u0005i\u0000\u0000\u02b1\u02b2\u0005"+ + "s\u0000\u0000\u02b2\u02b3\u0005_\u0000\u0000\u02b3\u02b4\u0005n\u0000"+ + "\u0000\u02b4\u02b5\u0005u\u0000\u0000\u02b5\u02b6\u0005l\u0000\u0000\u02b6"+ + "\u02b7\u0005l\u0000\u0000\u02b7^\u0001\u0000\u0000\u0000\u02b8\u02b9\u0005"+ + "t\u0000\u0000\u02b9\u02ba\u0005r\u0000\u0000\u02ba\u02bb\u0005y\u0000"+ + "\u0000\u02bb`\u0001\u0000\u0000\u0000\u02bc\u02bd\u0005c\u0000\u0000\u02bd"+ + "\u02be\u0005a\u0000\u0000\u02be\u02bf\u0005t\u0000\u0000\u02bf\u02c0\u0005"+ + "c\u0000\u0000\u02c0\u02c1\u0005h\u0000\u0000\u02c1b\u0001\u0000\u0000"+ + "\u0000\u02c2\u02c3\u0005t\u0000\u0000\u02c3\u02c4\u0005h\u0000\u0000\u02c4"+ + "\u02c5\u0005r\u0000\u0000\u02c5\u02c6\u0005o\u0000\u0000\u02c6\u02c7\u0005"+ + "w\u0000\u0000\u02c7d\u0001\u0000\u0000\u0000\u02c8\u02c9\u0005r\u0000"+ + "\u0000\u02c9\u02ca\u0005e\u0000\u0000\u02ca\u02cb\u0005s\u0000\u0000\u02cb"+ + "\u02cc\u0005u\u0000\u0000\u02cc\u02cd\u0005m\u0000\u0000\u02cd\u02ce\u0005"+ + "e\u0000\u0000\u02ce\u02cf\u00050\u0000\u0000\u02cff\u0001\u0000\u0000"+ "\u0000\u02d0\u02d1\u0005l\u0000\u0000\u02d1\u02d2\u0005o\u0000\u0000\u02d2"+ "\u02d3\u0005c\u0000\u0000\u02d3\u02d4\u0005a\u0000\u0000\u02d4\u02d5\u0005"+ - "l\u0000\u0000\u02d5\u02d6\u0005.\u0000\u0000\u02d6\u02d7\u0005s\u0000"+ + "l\u0000\u0000\u02d5\u02d6\u0005.\u0000\u0000\u02d6\u02d7\u0005g\u0000"+ "\u0000\u02d7\u02d8\u0005e\u0000\u0000\u02d8\u02d9\u0005t\u0000\u0000\u02d9"+ - "f\u0001\u0000\u0000\u0000\u02da\u02db\u0005l\u0000\u0000\u02db\u02dc\u0005"+ + "h\u0001\u0000\u0000\u0000\u02da\u02db\u0005l\u0000\u0000\u02db\u02dc\u0005"+ "o\u0000\u0000\u02dc\u02dd\u0005c\u0000\u0000\u02dd\u02de\u0005a\u0000"+ "\u0000\u02de\u02df\u0005l\u0000\u0000\u02df\u02e0\u0005.\u0000\u0000\u02e0"+ - "\u02e1\u0005t\u0000\u0000\u02e1\u02e2\u0005e\u0000\u0000\u02e2\u02e3\u0005"+ - "e\u0000\u0000\u02e3h\u0001\u0000\u0000\u0000\u02e4\u02e5\u0005g\u0000"+ - "\u0000\u02e5\u02e6\u0005l\u0000\u0000\u02e6\u02e7\u0005o\u0000\u0000\u02e7"+ - "\u02e8\u0005b\u0000\u0000\u02e8\u02e9\u0005a\u0000\u0000\u02e9\u02ea\u0005"+ - "l\u0000\u0000\u02ea\u02eb\u0005.\u0000\u0000\u02eb\u02ec\u0005g\u0000"+ - "\u0000\u02ec\u02ed\u0005e\u0000\u0000\u02ed\u02ee\u0005t\u0000\u0000\u02ee"+ - "j\u0001\u0000\u0000\u0000\u02ef\u02f0\u0005g\u0000\u0000\u02f0\u02f1\u0005"+ - "l\u0000\u0000\u02f1\u02f2\u0005o\u0000\u0000\u02f2\u02f3\u0005b\u0000"+ - "\u0000\u02f3\u02f4\u0005a\u0000\u0000\u02f4\u02f5\u0005l\u0000\u0000\u02f5"+ - "\u02f6\u0005.\u0000\u0000\u02f6\u02f7\u0005s\u0000\u0000\u02f7\u02f8\u0005"+ - "e\u0000\u0000\u02f8\u02f9\u0005t\u0000\u0000\u02f9l\u0001\u0000\u0000"+ - "\u0000\u02fa\u02fb\u0005.\u0000\u0000\u02fb\u02fc\u0005l\u0000\u0000\u02fc"+ - "\u02fd\u0005o\u0000\u0000\u02fd\u02fe\u0005a\u0000\u0000\u02fe\u02ff\u0005"+ - "d\u0000\u0000\u02ff\u0304\u0001\u0000\u0000\u0000\u0300\u0301\u0003y<"+ - "\u0000\u0301\u0302\u0003q8\u0000\u0302\u0303\u0003w;\u0000\u0303\u0305"+ - "\u0001\u0000\u0000\u0000\u0304\u0300\u0001\u0000\u0000\u0000\u0304\u0305"+ - "\u0001\u0000\u0000\u0000\u0305n\u0001\u0000\u0000\u0000\u0306\u0307\u0005"+ - ".\u0000\u0000\u0307\u0308\u0005s\u0000\u0000\u0308\u0309\u0005t\u0000"+ - "\u0000\u0309\u030a\u0005o\u0000\u0000\u030a\u030b\u0005r\u0000\u0000\u030b"+ - "\u030c\u0005e\u0000\u0000\u030c\u030e\u0001\u0000\u0000\u0000\u030d\u030f"+ - "\u0003y<\u0000\u030e\u030d\u0001\u0000\u0000\u0000\u030e\u030f\u0001\u0000"+ - "\u0000\u0000\u030fp\u0001\u0000\u0000\u0000\u0310\u0311\u0005_\u0000\u0000"+ - "\u0311r\u0001\u0000\u0000\u0000\u0312\u0313\u0005o\u0000\u0000\u0313\u0314"+ - "\u0005f\u0000\u0000\u0314\u0315\u0005f\u0000\u0000\u0315\u0316\u0005s"+ - "\u0000\u0000\u0316\u0317\u0005e\u0000\u0000\u0317\u0318\u0005t\u0000\u0000"+ - "\u0318\u0319\u0005=\u0000\u0000\u0319t\u0001\u0000\u0000\u0000\u031a\u031b"+ - "\u0005a\u0000\u0000\u031b\u031c\u0005l\u0000\u0000\u031c\u031d\u0005i"+ - "\u0000\u0000\u031d\u031e\u0005g\u0000\u0000\u031e\u031f\u0005n\u0000\u0000"+ - "\u031f\u0320\u0005=\u0000\u0000\u0320v\u0001\u0000\u0000\u0000\u0321\u0322"+ - "\u0007\u0000\u0000\u0000\u0322x\u0001\u0000\u0000\u0000\u0323\u032b\u0005"+ - "8\u0000\u0000\u0324\u0325\u00051\u0000\u0000\u0325\u032b\u00056\u0000"+ - "\u0000\u0326\u0327\u00053\u0000\u0000\u0327\u032b\u00052\u0000\u0000\u0328"+ - "\u0329\u00056\u0000\u0000\u0329\u032b\u00054\u0000\u0000\u032a\u0323\u0001"+ - "\u0000\u0000\u0000\u032a\u0324\u0001\u0000\u0000\u0000\u032a\u0326\u0001"+ - "\u0000\u0000\u0000\u032a\u0328\u0001\u0000\u0000\u0000\u032bz\u0001\u0000"+ - "\u0000\u0000\u032c\u032d\u0005i\u0000\u0000\u032d\u032e\u00053\u0000\u0000"+ - "\u032e\u032f\u00052\u0000\u0000\u032f|\u0001\u0000\u0000\u0000\u0330\u0331"+ - "\u0005i\u0000\u0000\u0331\u0332\u00056\u0000\u0000\u0332\u0333\u00054"+ - "\u0000\u0000\u0333~\u0001\u0000\u0000\u0000\u0334\u0335\u0005f\u0000\u0000"+ - "\u0335\u0336\u00053\u0000\u0000\u0336\u0337\u00052\u0000\u0000\u0337\u0080"+ - "\u0001\u0000\u0000\u0000\u0338\u0339\u0005f\u0000\u0000\u0339\u033a\u0005"+ - "6\u0000\u0000\u033a\u033b\u00054\u0000\u0000\u033b\u0082\u0001\u0000\u0000"+ - "\u0000\u033c\u033f\u0003{=\u0000\u033d\u033f\u0003}>\u0000\u033e\u033c"+ - "\u0001\u0000\u0000\u0000\u033e\u033d\u0001\u0000\u0000\u0000\u033f\u0084"+ - "\u0001\u0000\u0000\u0000\u0340\u0343\u0003\u007f?\u0000\u0341\u0343\u0003"+ - "\u0081@\u0000\u0342\u0340\u0001\u0000\u0000\u0000\u0342\u0341\u0001\u0000"+ - "\u0000\u0000\u0343\u0086\u0001\u0000\u0000\u0000\u0344\u0345\u0005.\u0000"+ - "\u0000\u0345\u0346\u0005e\u0000\u0000\u0346\u0347\u0005q\u0000\u0000\u0347"+ - "\u0348\u0005z\u0000\u0000\u0348\u0088\u0001\u0000\u0000\u0000\u0349\u034a"+ - "\u0005.\u0000\u0000\u034a\u034b\u0005e\u0000\u0000\u034b\u034c\u0005q"+ - "\u0000\u0000\u034c\u008a\u0001\u0000\u0000\u0000\u034d\u034e\u0005.\u0000"+ - "\u0000\u034e\u034f\u0005n\u0000\u0000\u034f\u0350\u0005e\u0000\u0000\u0350"+ - "\u008c\u0001\u0000\u0000\u0000\u0351\u0352\u0005.\u0000\u0000\u0352\u0353"+ - "\u0005l\u0000\u0000\u0353\u0354\u0005t\u0000\u0000\u0354\u008e\u0001\u0000"+ - "\u0000\u0000\u0355\u0356\u0005.\u0000\u0000\u0356\u0357\u0005l\u0000\u0000"+ - "\u0357\u0358\u0005t\u0000\u0000\u0358\u0359\u0005_\u0000\u0000\u0359\u035a"+ - "\u0005s\u0000\u0000\u035a\u0090\u0001\u0000\u0000\u0000\u035b\u035c\u0005"+ - ".\u0000\u0000\u035c\u035d\u0005l\u0000\u0000\u035d\u035e\u0005t\u0000"+ - "\u0000\u035e\u035f\u0005_\u0000\u0000\u035f\u0360\u0005u\u0000\u0000\u0360"+ - "\u0092\u0001\u0000\u0000\u0000\u0361\u0362\u0005.\u0000\u0000\u0362\u0363"+ - "\u0005l\u0000\u0000\u0363\u0364\u0005e\u0000\u0000\u0364\u0094\u0001\u0000"+ - "\u0000\u0000\u0365\u0366\u0005.\u0000\u0000\u0366\u0367\u0005l\u0000\u0000"+ - "\u0367\u0368\u0005e\u0000\u0000\u0368\u0369\u0005_\u0000\u0000\u0369\u036a"+ - "\u0005s\u0000\u0000\u036a\u0096\u0001\u0000\u0000\u0000\u036b\u036c\u0005"+ - ".\u0000\u0000\u036c\u036d\u0005l\u0000\u0000\u036d\u036e\u0005e\u0000"+ - "\u0000\u036e\u036f\u0005_\u0000\u0000\u036f\u0370\u0005u\u0000\u0000\u0370"+ - "\u0098\u0001\u0000\u0000\u0000\u0371\u0372\u0005.\u0000\u0000\u0372\u0373"+ - "\u0005g\u0000\u0000\u0373\u0374\u0005t\u0000\u0000\u0374\u009a\u0001\u0000"+ - "\u0000\u0000\u0375\u0376\u0005.\u0000\u0000\u0376\u0377\u0005g\u0000\u0000"+ - "\u0377\u0378\u0005t\u0000\u0000\u0378\u0379\u0005_\u0000\u0000\u0379\u037a"+ - "\u0005s\u0000\u0000\u037a\u009c\u0001\u0000\u0000\u0000\u037b\u037c\u0005"+ - ".\u0000\u0000\u037c\u037d\u0005g\u0000\u0000\u037d\u037e\u0005t\u0000"+ - "\u0000\u037e\u037f\u0005_\u0000\u0000\u037f\u0380\u0005u\u0000\u0000\u0380"+ - "\u009e\u0001\u0000\u0000\u0000\u0381\u0382\u0005.\u0000\u0000\u0382\u0383"+ - "\u0005g\u0000\u0000\u0383\u0384\u0005e\u0000\u0000\u0384\u00a0\u0001\u0000"+ - "\u0000\u0000\u0385\u0386\u0005.\u0000\u0000\u0386\u0387\u0005g\u0000\u0000"+ - "\u0387\u0388\u0005e\u0000\u0000\u0388\u0389\u0005_\u0000\u0000\u0389\u038a"+ - "\u0005s\u0000\u0000\u038a\u00a2\u0001\u0000\u0000\u0000\u038b\u038c\u0005"+ - ".\u0000\u0000\u038c\u038d\u0005g\u0000\u0000\u038d\u038e\u0005e\u0000"+ - "\u0000\u038e\u038f\u0005_\u0000\u0000\u038f\u0390\u0005u\u0000\u0000\u0390"+ - "\u00a4\u0001\u0000\u0000\u0000\u0391\u0392\u0005.\u0000\u0000\u0392\u0393"+ - "\u0005c\u0000\u0000\u0393\u0394\u0005l\u0000\u0000\u0394\u0395\u0005z"+ - "\u0000\u0000\u0395\u00a6\u0001\u0000\u0000\u0000\u0396\u0397\u0005.\u0000"+ - "\u0000\u0397\u0398\u0005c\u0000\u0000\u0398\u0399\u0005t\u0000\u0000\u0399"+ - "\u039a\u0005z\u0000\u0000\u039a\u00a8\u0001\u0000\u0000\u0000\u039b\u039c"+ - "\u0005.\u0000\u0000\u039c\u039d\u0005p\u0000\u0000\u039d\u039e\u0005o"+ - "\u0000\u0000\u039e\u039f\u0005p\u0000\u0000\u039f\u03a0\u0005c\u0000\u0000"+ - "\u03a0\u03a1\u0005n\u0000\u0000\u03a1\u03a2\u0005t\u0000\u0000\u03a2\u00aa"+ - "\u0001\u0000\u0000\u0000\u03a3\u03a4\u0005.\u0000\u0000\u03a4\u03a5\u0005"+ - "n\u0000\u0000\u03a5\u03a6\u0005e\u0000\u0000\u03a6\u03a7\u0005g\u0000"+ - "\u0000\u03a7\u00ac\u0001\u0000\u0000\u0000\u03a8\u03a9\u0005.\u0000\u0000"+ - "\u03a9\u03aa\u0005a\u0000\u0000\u03aa\u03ab\u0005b\u0000\u0000\u03ab\u03ac"+ - "\u0005s\u0000\u0000\u03ac\u00ae\u0001\u0000\u0000\u0000\u03ad\u03ae\u0005"+ - ".\u0000\u0000\u03ae\u03af\u0005s\u0000\u0000\u03af\u03b0\u0005q\u0000"+ - "\u0000\u03b0\u03b1\u0005r\u0000\u0000\u03b1\u03b2\u0005t\u0000\u0000\u03b2"+ - "\u00b0\u0001\u0000\u0000\u0000\u03b3\u03b4\u0005.\u0000\u0000\u03b4\u03b5"+ - "\u0005c\u0000\u0000\u03b5\u03b6\u0005e\u0000\u0000\u03b6\u03b7\u0005i"+ - "\u0000\u0000\u03b7\u03b8\u0005l\u0000\u0000\u03b8\u00b2\u0001\u0000\u0000"+ - "\u0000\u03b9\u03ba\u0005.\u0000\u0000\u03ba\u03bb\u0005f\u0000\u0000\u03bb"+ - "\u03bc\u0005l\u0000\u0000\u03bc\u03bd\u0005o\u0000\u0000\u03bd\u03be\u0005"+ - "o\u0000\u0000\u03be\u03bf\u0005r\u0000\u0000\u03bf\u00b4\u0001\u0000\u0000"+ - "\u0000\u03c0\u03c1\u0005.\u0000\u0000\u03c1\u03c2\u0005t\u0000\u0000\u03c2"+ - "\u03c3\u0005r\u0000\u0000\u03c3\u03c4\u0005u\u0000\u0000\u03c4\u03c5\u0005"+ - "n\u0000\u0000\u03c5\u03c6\u0005c\u0000\u0000\u03c6\u00b6\u0001\u0000\u0000"+ - "\u0000\u03c7\u03c8\u0005.\u0000\u0000\u03c8\u03c9\u0005n\u0000\u0000\u03c9"+ - "\u03ca\u0005e\u0000\u0000\u03ca\u03cb\u0005a\u0000\u0000\u03cb\u03cc\u0005"+ - "r\u0000\u0000\u03cc\u03cd\u0005e\u0000\u0000\u03cd\u03ce\u0005s\u0000"+ - "\u0000\u03ce\u03cf\u0005t\u0000\u0000\u03cf\u00b8\u0001\u0000\u0000\u0000"+ - "\u03d0\u03d1\u0005.\u0000\u0000\u03d1\u03d2\u0005a\u0000\u0000\u03d2\u03d3"+ - "\u0005d\u0000\u0000\u03d3\u03d4\u0005d\u0000\u0000\u03d4\u00ba\u0001\u0000"+ - "\u0000\u0000\u03d5\u03d6\u0005.\u0000\u0000\u03d6\u03d7\u0005s\u0000\u0000"+ - "\u03d7\u03d8\u0005u\u0000\u0000\u03d8\u03d9\u0005b\u0000\u0000\u03d9\u00bc"+ - "\u0001\u0000\u0000\u0000\u03da\u03db\u0005.\u0000\u0000\u03db\u03dc\u0005"+ - "m\u0000\u0000\u03dc\u03dd\u0005u\u0000\u0000\u03dd\u03de\u0005l\u0000"+ - "\u0000\u03de\u00be\u0001\u0000\u0000\u0000\u03df\u03e0\u0005.\u0000\u0000"+ - "\u03e0\u03e1\u0005d\u0000\u0000\u03e1\u03e2\u0005i\u0000\u0000\u03e2\u03e3"+ - "\u0005v\u0000\u0000\u03e3\u00c0\u0001\u0000\u0000\u0000\u03e4\u03e5\u0005"+ - ".\u0000\u0000\u03e5\u03e6\u0005d\u0000\u0000\u03e6\u03e7\u0005i\u0000"+ - "\u0000\u03e7\u03e8\u0005v\u0000\u0000\u03e8\u03e9\u0005_\u0000\u0000\u03e9"+ - "\u03ea\u0005s\u0000\u0000\u03ea\u00c2\u0001\u0000\u0000\u0000\u03eb\u03ec"+ - "\u0005.\u0000\u0000\u03ec\u03ed\u0005d\u0000\u0000\u03ed\u03ee\u0005i"+ - "\u0000\u0000\u03ee\u03ef\u0005v\u0000\u0000\u03ef\u03f0\u0005_\u0000\u0000"+ - "\u03f0\u03f1\u0005u\u0000\u0000\u03f1\u00c4\u0001\u0000\u0000\u0000\u03f2"+ - "\u03f3\u0005.\u0000\u0000\u03f3\u03f4\u0005r\u0000\u0000\u03f4\u03f5\u0005"+ - "e\u0000\u0000\u03f5\u03f6\u0005m\u0000\u0000\u03f6\u03f7\u0005_\u0000"+ - "\u0000\u03f7\u03f8\u0005s\u0000\u0000\u03f8\u00c6\u0001\u0000\u0000\u0000"+ - "\u03f9\u03fa\u0005.\u0000\u0000\u03fa\u03fb\u0005r\u0000\u0000\u03fb\u03fc"+ - "\u0005e\u0000\u0000\u03fc\u03fd\u0005m\u0000\u0000\u03fd\u03fe\u0005_"+ - "\u0000\u0000\u03fe\u03ff\u0005u\u0000\u0000\u03ff\u00c8\u0001\u0000\u0000"+ - "\u0000\u0400\u0401\u0005.\u0000\u0000\u0401\u0402\u0005a\u0000\u0000\u0402"+ - "\u0403\u0005n\u0000\u0000\u0403\u0404\u0005d\u0000\u0000\u0404\u00ca\u0001"+ - "\u0000\u0000\u0000\u0405\u0406\u0005.\u0000\u0000\u0406\u0407\u0005o\u0000"+ - "\u0000\u0407\u0408\u0005r\u0000\u0000\u0408\u00cc\u0001\u0000\u0000\u0000"+ - "\u0409\u040a\u0005.\u0000\u0000\u040a\u040b\u0005x\u0000\u0000\u040b\u040c"+ - "\u0005o\u0000\u0000\u040c\u040d\u0005r\u0000\u0000\u040d\u00ce\u0001\u0000"+ - "\u0000\u0000\u040e\u040f\u0005.\u0000\u0000\u040f\u0410\u0005s\u0000\u0000"+ - "\u0410\u0411\u0005h\u0000\u0000\u0411\u0412\u0005l\u0000\u0000\u0412\u00d0"+ - "\u0001\u0000\u0000\u0000\u0413\u0414\u0005.\u0000\u0000\u0414\u0415\u0005"+ - "s\u0000\u0000\u0415\u0416\u0005h\u0000\u0000\u0416\u0417\u0005r\u0000"+ - "\u0000\u0417\u0418\u0005_\u0000\u0000\u0418\u0419\u0005s\u0000\u0000\u0419"+ - "\u00d2\u0001\u0000\u0000\u0000\u041a\u041b\u0005.\u0000\u0000\u041b\u041c"+ - "\u0005s\u0000\u0000\u041c\u041d\u0005h\u0000\u0000\u041d\u041e\u0005r"+ - "\u0000\u0000\u041e\u041f\u0005_\u0000\u0000\u041f\u0420\u0005u\u0000\u0000"+ - "\u0420\u00d4\u0001\u0000\u0000\u0000\u0421\u0422\u0005.\u0000\u0000\u0422"+ - "\u0423\u0005r\u0000\u0000\u0423\u0424\u0005o\u0000\u0000\u0424\u0425\u0005"+ - "t\u0000\u0000\u0425\u0426\u0005l\u0000\u0000\u0426\u00d6\u0001\u0000\u0000"+ - "\u0000\u0427\u0428\u0005.\u0000\u0000\u0428\u0429\u0005r\u0000\u0000\u0429"+ - "\u042a\u0005o\u0000\u0000\u042a\u042b\u0005t\u0000\u0000\u042b\u042c\u0005"+ - "r\u0000\u0000\u042c\u00d8\u0001\u0000\u0000\u0000\u042d\u042e\u0005.\u0000"+ - "\u0000\u042e\u042f\u0005m\u0000\u0000\u042f\u0430\u0005i\u0000\u0000\u0430"+ - "\u0431\u0005n\u0000\u0000\u0431\u00da\u0001\u0000\u0000\u0000\u0432\u0433"+ - "\u0005.\u0000\u0000\u0433\u0434\u0005m\u0000\u0000\u0434\u0435\u0005a"+ - "\u0000\u0000\u0435\u0436\u0005x\u0000\u0000\u0436\u00dc\u0001\u0000\u0000"+ - "\u0000\u0437\u0438\u0005.\u0000\u0000\u0438\u0439\u0005c\u0000\u0000\u0439"+ - "\u043a\u0005o\u0000\u0000\u043a\u043b\u0005p\u0000\u0000\u043b\u043c\u0005"+ - "y\u0000\u0000\u043c\u043d\u0005s\u0000\u0000\u043d\u043e\u0005i\u0000"+ - "\u0000\u043e\u043f\u0005g\u0000\u0000\u043f\u0440\u0005n\u0000\u0000\u0440"+ - "\u00de\u0001\u0000\u0000\u0000\u0441\u0442\u0005.\u0000\u0000\u0442\u0443"+ - "\u0005w\u0000\u0000\u0443\u0444\u0005r\u0000\u0000\u0444\u0445\u0005a"+ - "\u0000\u0000\u0445\u0446\u0005p\u0000\u0000\u0446\u0447\u0005_\u0000\u0000"+ - "\u0447\u00e0\u0001\u0000\u0000\u0000\u0448\u0449\u0005.\u0000\u0000\u0449"+ - "\u044a\u0005t\u0000\u0000\u044a\u044b\u0005r\u0000\u0000\u044b\u044c\u0005"+ - "u\u0000\u0000\u044c\u044d\u0005n\u0000\u0000\u044d\u044e\u0005c\u0000"+ - "\u0000\u044e\u044f\u0005_\u0000\u0000\u044f\u00e2\u0001\u0000\u0000\u0000"+ - "\u0450\u0451\u0005.\u0000\u0000\u0451\u0452\u0005t\u0000\u0000\u0452\u0453"+ - "\u0005r\u0000\u0000\u0453\u0454\u0005u\u0000\u0000\u0454\u0455\u0005n"+ - "\u0000\u0000\u0455\u0456\u0005c\u0000\u0000\u0456\u0457\u0005_\u0000\u0000"+ - "\u0457\u0458\u0005s\u0000\u0000\u0458\u0459\u0005a\u0000\u0000\u0459\u045a"+ - "\u0005t\u0000\u0000\u045a\u045b\u0005_\u0000\u0000\u045b\u00e4\u0001\u0000"+ - "\u0000\u0000\u045c\u045d\u0005.\u0000\u0000\u045d\u045e\u0005c\u0000\u0000"+ - "\u045e\u045f\u0005o\u0000\u0000\u045f\u0460\u0005n\u0000\u0000\u0460\u0461"+ - "\u0005v\u0000\u0000\u0461\u0462\u0005e\u0000\u0000\u0462\u0463\u0005r"+ - "\u0000\u0000\u0463\u0464\u0005t\u0000\u0000\u0464\u0465\u0005_\u0000\u0000"+ - "\u0465\u00e6\u0001\u0000\u0000\u0000\u0466\u0467\u0005.\u0000\u0000\u0467"+ - "\u0468\u0005e\u0000\u0000\u0468\u0469\u0005x\u0000\u0000\u0469\u046a\u0005"+ - "t\u0000\u0000\u046a\u046b\u0005e\u0000\u0000\u046b\u046c\u0005n\u0000"+ - "\u0000\u046c\u046d\u0005d\u0000\u0000\u046d\u046e\u0005_\u0000\u0000\u046e"+ - "\u00e8\u0001\u0000\u0000\u0000\u046f\u0470\u0005.\u0000\u0000\u0470\u0471"+ - "\u0005d\u0000\u0000\u0471\u0472\u0005e\u0000\u0000\u0472\u0473\u0005m"+ - "\u0000\u0000\u0473\u0474\u0005o\u0000\u0000\u0474\u0475\u0005t\u0000\u0000"+ - "\u0475\u0476\u0005e\u0000\u0000\u0476\u0477\u0005_\u0000\u0000\u0477\u00ea"+ - "\u0001\u0000\u0000\u0000\u0478\u0479\u0005.\u0000\u0000\u0479\u047a\u0005"+ - "p\u0000\u0000\u047a\u047b\u0005r\u0000\u0000\u047b\u047c\u0005o\u0000"+ - "\u0000\u047c\u047d\u0005m\u0000\u0000\u047d\u047e\u0005o\u0000\u0000\u047e"+ - "\u047f\u0005t\u0000\u0000\u047f\u0480\u0005e\u0000\u0000\u0480\u0481\u0005"+ - "_\u0000\u0000\u0481\u00ec\u0001\u0000\u0000\u0000\u0482\u0483\u0005.\u0000"+ - "\u0000\u0483\u0484\u0005r\u0000\u0000\u0484\u0485\u0005e\u0000\u0000\u0485"+ - "\u0486\u0005i\u0000\u0000\u0486\u0487\u0005n\u0000\u0000\u0487\u0488\u0005"+ - "t\u0000\u0000\u0488\u0489\u0005e\u0000\u0000\u0489\u048a\u0005r\u0000"+ - "\u0000\u048a\u048b\u0005p\u0000\u0000\u048b\u048c\u0005r\u0000\u0000\u048c"+ - "\u048d\u0005e\u0000\u0000\u048d\u048e\u0005t\u0000\u0000\u048e\u048f\u0005"+ - "_\u0000\u0000\u048f\u00ee\u0001\u0000\u0000\u0000\u0490\u0491\u0005m\u0000"+ - "\u0000\u0491\u0492\u0005e\u0000\u0000\u0492\u0493\u0005m\u0000\u0000\u0493"+ - "\u0494\u0005o\u0000\u0000\u0494\u0495\u0005r\u0000\u0000\u0495\u0496\u0005"+ - "y\u0000\u0000\u0496\u0497\u0005.\u0000\u0000\u0497\u0498\u0005s\u0000"+ - "\u0000\u0498\u0499\u0005i\u0000\u0000\u0499\u049a\u0005z\u0000\u0000\u049a"+ - "\u049b\u0005e\u0000\u0000\u049b\u00f0\u0001\u0000\u0000\u0000\u049c\u049d"+ - "\u0005m\u0000\u0000\u049d\u049e\u0005e\u0000\u0000\u049e\u049f\u0005m"+ - "\u0000\u0000\u049f\u04a0\u0005o\u0000\u0000\u04a0\u04a1\u0005r\u0000\u0000"+ - "\u04a1\u04a2\u0005y\u0000\u0000\u04a2\u04a3\u0005.\u0000\u0000\u04a3\u04a4"+ - "\u0005g\u0000\u0000\u04a4\u04a5\u0005r\u0000\u0000\u04a5\u04a6\u0005o"+ - "\u0000\u0000\u04a6\u04a7\u0005w\u0000\u0000\u04a7\u00f2\u0001\u0000\u0000"+ - "\u0000\u04a8\u04a9\u0005m\u0000\u0000\u04a9\u04aa\u0005e\u0000\u0000\u04aa"+ - "\u04ab\u0005m\u0000\u0000\u04ab\u04ac\u0005o\u0000\u0000\u04ac\u04ad\u0005"+ - "r\u0000\u0000\u04ad\u04ae\u0005y\u0000\u0000\u04ae\u04af\u0005.\u0000"+ - "\u0000\u04af\u04b0\u0005f\u0000\u0000\u04b0\u04b1\u0005i\u0000\u0000\u04b1"+ - "\u04b2\u0005l\u0000\u0000\u04b2\u04b3\u0005l\u0000\u0000\u04b3\u00f4\u0001"+ - "\u0000\u0000\u0000\u04b4\u04b5\u0005m\u0000\u0000\u04b5\u04b6\u0005e\u0000"+ - "\u0000\u04b6\u04b7\u0005m\u0000\u0000\u04b7\u04b8\u0005o\u0000\u0000\u04b8"+ - "\u04b9\u0005r\u0000\u0000\u04b9\u04ba\u0005y\u0000\u0000\u04ba\u04bb\u0005"+ - ".\u0000\u0000\u04bb\u04bc\u0005c\u0000\u0000\u04bc\u04bd\u0005o\u0000"+ - "\u0000\u04bd\u04be\u0005p\u0000\u0000\u04be\u04bf\u0005y\u0000\u0000\u04bf"+ - "\u00f6\u0001\u0000\u0000\u0000\u04c0\u04c1\u0005m\u0000\u0000\u04c1\u04c2"+ - "\u0005e\u0000\u0000\u04c2\u04c3\u0005m\u0000\u0000\u04c3\u04c4\u0005o"+ - "\u0000\u0000\u04c4\u04c5\u0005r\u0000\u0000\u04c5\u04c6\u0005y\u0000\u0000"+ - "\u04c6\u04c7\u0005.\u0000\u0000\u04c7\u04c8\u0005i\u0000\u0000\u04c8\u04c9"+ - "\u0005n\u0000\u0000\u04c9\u04ca\u0005i\u0000\u0000\u04ca\u04cb\u0005t"+ - "\u0000\u0000\u04cb\u00f8\u0001\u0000\u0000\u0000\u04cc\u04cd\u0003\u0083"+ - "A\u0000\u04cd\u04ce\u0003\u0087C\u0000\u04ce\u00fa\u0001\u0000\u0000\u0000"+ - "\u04cf\u04d0\u0003\u0083A\u0000\u04d0\u04d1\u0005.\u0000\u0000\u04d1\u04d2"+ - "\u0005e\u0000\u0000\u04d2\u04d3\u0005q\u0000\u0000\u04d3\u0530\u0001\u0000"+ - "\u0000\u0000\u04d4\u04d5\u0003\u0083A\u0000\u04d5\u04d6\u0005.\u0000\u0000"+ - "\u04d6\u04d7\u0005n\u0000\u0000\u04d7\u04d8\u0005e\u0000\u0000\u04d8\u0530"+ - "\u0001\u0000\u0000\u0000\u04d9\u04da\u0003\u0083A\u0000\u04da\u04db\u0005"+ - ".\u0000\u0000\u04db\u04dc\u0005l\u0000\u0000\u04dc\u04dd\u0005t\u0000"+ - "\u0000\u04dd\u04de\u0005_\u0000\u0000\u04de\u04df\u0005s\u0000\u0000\u04df"+ - "\u0530\u0001\u0000\u0000\u0000\u04e0\u04e1\u0003\u0083A\u0000\u04e1\u04e2"+ - "\u0005.\u0000\u0000\u04e2\u04e3\u0005l\u0000\u0000\u04e3\u04e4\u0005t"+ - "\u0000\u0000\u04e4\u04e5\u0005_\u0000\u0000\u04e5\u04e6\u0005u\u0000\u0000"+ - "\u04e6\u0530\u0001\u0000\u0000\u0000\u04e7\u04e8\u0003\u0083A\u0000\u04e8"+ - "\u04e9\u0005.\u0000\u0000\u04e9\u04ea\u0005l\u0000\u0000\u04ea\u04eb\u0005"+ - "e\u0000\u0000\u04eb\u04ec\u0005_\u0000\u0000\u04ec\u04ed\u0005s\u0000"+ - "\u0000\u04ed\u0530\u0001\u0000\u0000\u0000\u04ee\u04ef\u0003\u0083A\u0000"+ - "\u04ef\u04f0\u0005.\u0000\u0000\u04f0\u04f1\u0005l\u0000\u0000\u04f1\u04f2"+ - "\u0005e\u0000\u0000\u04f2\u04f3\u0005_\u0000\u0000\u04f3\u04f4\u0005u"+ - "\u0000\u0000\u04f4\u0530\u0001\u0000\u0000\u0000\u04f5\u04f6\u0003\u0083"+ - "A\u0000\u04f6\u04f7\u0005.\u0000\u0000\u04f7\u04f8\u0005g\u0000\u0000"+ - "\u04f8\u04f9\u0005t\u0000\u0000\u04f9\u04fa\u0005_\u0000\u0000\u04fa\u04fb"+ - "\u0005s\u0000\u0000\u04fb\u0530\u0001\u0000\u0000\u0000\u04fc\u04fd\u0003"+ - "\u0083A\u0000\u04fd\u04fe\u0005.\u0000\u0000\u04fe\u04ff\u0005g\u0000"+ - "\u0000\u04ff\u0500\u0005t\u0000\u0000\u0500\u0501\u0005_\u0000\u0000\u0501"+ - "\u0502\u0005u\u0000\u0000\u0502\u0530\u0001\u0000\u0000\u0000\u0503\u0504"+ - "\u0003\u0083A\u0000\u0504\u0505\u0005.\u0000\u0000\u0505\u0506\u0005g"+ - "\u0000\u0000\u0506\u0507\u0005e\u0000\u0000\u0507\u0508\u0005_\u0000\u0000"+ - "\u0508\u0509\u0005s\u0000\u0000\u0509\u0530\u0001\u0000\u0000\u0000\u050a"+ - "\u050b\u0003\u0083A\u0000\u050b\u050c\u0005.\u0000\u0000\u050c\u050d\u0005"+ - "g\u0000\u0000\u050d\u050e\u0005e\u0000\u0000\u050e\u050f\u0005_\u0000"+ - "\u0000\u050f\u0510\u0005u\u0000\u0000\u0510\u0530\u0001\u0000\u0000\u0000"+ - "\u0511\u0512\u0003\u0085B\u0000\u0512\u0513\u0005.\u0000\u0000\u0513\u0514"+ - "\u0005e\u0000\u0000\u0514\u0515\u0005q\u0000\u0000\u0515\u0530\u0001\u0000"+ - "\u0000\u0000\u0516\u0517\u0003\u0085B\u0000\u0517\u0518\u0005.\u0000\u0000"+ - "\u0518\u0519\u0005n\u0000\u0000\u0519\u051a\u0005e\u0000\u0000\u051a\u0530"+ - "\u0001\u0000\u0000\u0000\u051b\u051c\u0003\u0085B\u0000\u051c\u051d\u0005"+ - ".\u0000\u0000\u051d\u051e\u0005l\u0000\u0000\u051e\u051f\u0005t\u0000"+ - "\u0000\u051f\u0530\u0001\u0000\u0000\u0000\u0520\u0521\u0003\u0085B\u0000"+ - "\u0521\u0522\u0005.\u0000\u0000\u0522\u0523\u0005l\u0000\u0000\u0523\u0524"+ - "\u0005e\u0000\u0000\u0524\u0530\u0001\u0000\u0000\u0000\u0525\u0526\u0003"+ - "\u0085B\u0000\u0526\u0527\u0005.\u0000\u0000\u0527\u0528\u0005g\u0000"+ - "\u0000\u0528\u0529\u0005t\u0000\u0000\u0529\u0530\u0001\u0000\u0000\u0000"+ - "\u052a\u052b\u0003\u0085B\u0000\u052b\u052c\u0005.\u0000\u0000\u052c\u052d"+ - "\u0005g\u0000\u0000\u052d\u052e\u0005e\u0000\u0000\u052e\u0530\u0001\u0000"+ - "\u0000\u0000\u052f\u04cf\u0001\u0000\u0000\u0000\u052f\u04d4\u0001\u0000"+ - "\u0000\u0000\u052f\u04d9\u0001\u0000\u0000\u0000\u052f\u04e0\u0001\u0000"+ - "\u0000\u0000\u052f\u04e7\u0001\u0000\u0000\u0000\u052f\u04ee\u0001\u0000"+ - "\u0000\u0000\u052f\u04f5\u0001\u0000\u0000\u0000\u052f\u04fc\u0001\u0000"+ - "\u0000\u0000\u052f\u0503\u0001\u0000\u0000\u0000\u052f\u050a\u0001\u0000"+ - "\u0000\u0000\u052f\u0511\u0001\u0000\u0000\u0000\u052f\u0516\u0001\u0000"+ - "\u0000\u0000\u052f\u051b\u0001\u0000\u0000\u0000\u052f\u0520\u0001\u0000"+ - "\u0000\u0000\u052f\u0525\u0001\u0000\u0000\u0000\u052f\u052a\u0001\u0000"+ - "\u0000\u0000\u0530\u00fc\u0001\u0000\u0000\u0000\u0531\u0532\u0003\u0083"+ - "A\u0000\u0532\u0533\u0005.\u0000\u0000\u0533\u0534\u0005c\u0000\u0000"+ - "\u0534\u0535\u0005l\u0000\u0000\u0535\u0536\u0005z\u0000\u0000\u0536\u057b"+ - "\u0001\u0000\u0000\u0000\u0537\u0538\u0003\u0083A\u0000\u0538\u0539\u0005"+ - ".\u0000\u0000\u0539\u053a\u0005c\u0000\u0000\u053a\u053b\u0005t\u0000"+ - "\u0000\u053b\u053c\u0005z\u0000\u0000\u053c\u057b\u0001\u0000\u0000\u0000"+ - "\u053d\u053e\u0003\u0083A\u0000\u053e\u053f\u0005.\u0000\u0000\u053f\u0540"+ - "\u0005p\u0000\u0000\u0540\u0541\u0005o\u0000\u0000\u0541\u0542\u0005p"+ - "\u0000\u0000\u0542\u0543\u0005c\u0000\u0000\u0543\u0544\u0005n\u0000\u0000"+ - "\u0544\u0545\u0005t\u0000\u0000\u0545\u057b\u0001\u0000\u0000\u0000\u0546"+ - "\u0547\u0003\u0085B\u0000\u0547\u0548\u0005.\u0000\u0000\u0548\u0549\u0005"+ - "n\u0000\u0000\u0549\u054a\u0005e\u0000\u0000\u054a\u054b\u0005g\u0000"+ - "\u0000\u054b\u057b\u0001\u0000\u0000\u0000\u054c\u054d\u0003\u0085B\u0000"+ - "\u054d\u054e\u0005.\u0000\u0000\u054e\u054f\u0005a\u0000\u0000\u054f\u0550"+ - "\u0005b\u0000\u0000\u0550\u0551\u0005s\u0000\u0000\u0551\u057b\u0001\u0000"+ - "\u0000\u0000\u0552\u0553\u0003\u0085B\u0000\u0553\u0554\u0005.\u0000\u0000"+ - "\u0554\u0555\u0005s\u0000\u0000\u0555\u0556\u0005q\u0000\u0000\u0556\u0557"+ - "\u0005r\u0000\u0000\u0557\u0558\u0005t\u0000\u0000\u0558\u057b\u0001\u0000"+ - "\u0000\u0000\u0559\u055a\u0003\u0085B\u0000\u055a\u055b\u0005.\u0000\u0000"+ - "\u055b\u055c\u0005c\u0000\u0000\u055c\u055d\u0005e\u0000\u0000\u055d\u055e"+ - "\u0005i\u0000\u0000\u055e\u055f\u0005l\u0000\u0000\u055f\u057b\u0001\u0000"+ - "\u0000\u0000\u0560\u0561\u0003\u0085B\u0000\u0561\u0562\u0005.\u0000\u0000"+ - "\u0562\u0563\u0005f\u0000\u0000\u0563\u0564\u0005l\u0000\u0000\u0564\u0565"+ - "\u0005o\u0000\u0000\u0565\u0566\u0005o\u0000\u0000\u0566\u0567\u0005r"+ - "\u0000\u0000\u0567\u057b\u0001\u0000\u0000\u0000\u0568\u0569\u0003\u0085"+ - "B\u0000\u0569\u056a\u0005.\u0000\u0000\u056a\u056b\u0005t\u0000\u0000"+ - "\u056b\u056c\u0005r\u0000\u0000\u056c\u056d\u0005u\u0000\u0000\u056d\u056e"+ - "\u0005n\u0000\u0000\u056e\u056f\u0005c\u0000\u0000\u056f\u057b\u0001\u0000"+ - "\u0000\u0000\u0570\u0571\u0003\u0085B\u0000\u0571\u0572\u0005.\u0000\u0000"+ - "\u0572\u0573\u0005n\u0000\u0000\u0573\u0574\u0005e\u0000\u0000\u0574\u0575"+ - "\u0005a\u0000\u0000\u0575\u0576\u0005r\u0000\u0000\u0576\u0577\u0005e"+ - "\u0000\u0000\u0577\u0578\u0005s\u0000\u0000\u0578\u0579\u0005t\u0000\u0000"+ - "\u0579\u057b\u0001\u0000\u0000\u0000\u057a\u0531\u0001\u0000\u0000\u0000"+ - "\u057a\u0537\u0001\u0000\u0000\u0000\u057a\u053d\u0001\u0000\u0000\u0000"+ - "\u057a\u0546\u0001\u0000\u0000\u0000\u057a\u054c\u0001\u0000\u0000\u0000"+ - "\u057a\u0552\u0001\u0000\u0000\u0000\u057a\u0559\u0001\u0000\u0000\u0000"+ - "\u057a\u0560\u0001\u0000\u0000\u0000\u057a\u0568\u0001\u0000\u0000\u0000"+ - "\u057a\u0570\u0001\u0000\u0000\u0000\u057b\u00fe\u0001\u0000\u0000\u0000"+ - "\u057c\u057d\u0003\u0083A\u0000\u057d\u057e\u0005.\u0000\u0000\u057e\u057f"+ - "\u0005a\u0000\u0000\u057f\u0580\u0005d\u0000\u0000\u0580\u0581\u0005d"+ - "\u0000\u0000\u0581\u0613\u0001\u0000\u0000\u0000\u0582\u0583\u0003\u0083"+ - "A\u0000\u0583\u0584\u0005.\u0000\u0000\u0584\u0585\u0005s\u0000\u0000"+ - "\u0585\u0586\u0005u\u0000\u0000\u0586\u0587\u0005b\u0000\u0000\u0587\u0613"+ - "\u0001\u0000\u0000\u0000\u0588\u0589\u0003\u0083A\u0000\u0589\u058a\u0005"+ - ".\u0000\u0000\u058a\u058b\u0005m\u0000\u0000\u058b\u058c\u0005u\u0000"+ - "\u0000\u058c\u058d\u0005l\u0000\u0000\u058d\u0613\u0001\u0000\u0000\u0000"+ - "\u058e\u058f\u0003\u0083A\u0000\u058f\u0590\u0005.\u0000\u0000\u0590\u0591"+ - "\u0005d\u0000\u0000\u0591\u0592\u0005i\u0000\u0000\u0592\u0593\u0005v"+ - "\u0000\u0000\u0593\u0594\u0005_\u0000\u0000\u0594\u0595\u0005s\u0000\u0000"+ - "\u0595\u0613\u0001\u0000\u0000\u0000\u0596\u0597\u0003\u0083A\u0000\u0597"+ - "\u0598\u0005.\u0000\u0000\u0598\u0599\u0005d\u0000\u0000\u0599\u059a\u0005"+ - "i\u0000\u0000\u059a\u059b\u0005v\u0000\u0000\u059b\u059c\u0005_\u0000"+ - "\u0000\u059c\u059d\u0005u\u0000\u0000\u059d\u0613\u0001\u0000\u0000\u0000"+ - "\u059e\u059f\u0003\u0083A\u0000\u059f\u05a0\u0005.\u0000\u0000\u05a0\u05a1"+ - "\u0005r\u0000\u0000\u05a1\u05a2\u0005e\u0000\u0000\u05a2\u05a3\u0005m"+ - "\u0000\u0000\u05a3\u05a4\u0005_\u0000\u0000\u05a4\u05a5\u0005s\u0000\u0000"+ - "\u05a5\u0613\u0001\u0000\u0000\u0000\u05a6\u05a7\u0003\u0083A\u0000\u05a7"+ - "\u05a8\u0005.\u0000\u0000\u05a8\u05a9\u0005r\u0000\u0000\u05a9\u05aa\u0005"+ - "e\u0000\u0000\u05aa\u05ab\u0005m\u0000\u0000\u05ab\u05ac\u0005_\u0000"+ - "\u0000\u05ac\u05ad\u0005u\u0000\u0000\u05ad\u0613\u0001\u0000\u0000\u0000"+ - "\u05ae\u05af\u0003\u0083A\u0000\u05af\u05b0\u0005.\u0000\u0000\u05b0\u05b1"+ - "\u0005a\u0000\u0000\u05b1\u05b2\u0005n\u0000\u0000\u05b2\u05b3\u0005d"+ - "\u0000\u0000\u05b3\u0613\u0001\u0000\u0000\u0000\u05b4\u05b5\u0003\u0083"+ - "A\u0000\u05b5\u05b6\u0005.\u0000\u0000\u05b6\u05b7\u0005o\u0000\u0000"+ - "\u05b7\u05b8\u0005r\u0000\u0000\u05b8\u0613\u0001\u0000\u0000\u0000\u05b9"+ - "\u05ba\u0003\u0083A\u0000\u05ba\u05bb\u0005.\u0000\u0000\u05bb\u05bc\u0005"+ - "x\u0000\u0000\u05bc\u05bd\u0005o\u0000\u0000\u05bd\u05be\u0005r\u0000"+ - "\u0000\u05be\u0613\u0001\u0000\u0000\u0000\u05bf\u05c0\u0003\u0083A\u0000"+ - "\u05c0\u05c1\u0005.\u0000\u0000\u05c1\u05c2\u0005s\u0000\u0000\u05c2\u05c3"+ - "\u0005h\u0000\u0000\u05c3\u05c4\u0005l\u0000\u0000\u05c4\u0613\u0001\u0000"+ - "\u0000\u0000\u05c5\u05c6\u0003\u0083A\u0000\u05c6\u05c7\u0005.\u0000\u0000"+ - "\u05c7\u05c8\u0005s\u0000\u0000\u05c8\u05c9\u0005h\u0000\u0000\u05c9\u05ca"+ - "\u0005r\u0000\u0000\u05ca\u05cb\u0005_\u0000\u0000\u05cb\u05cc\u0005s"+ - "\u0000\u0000\u05cc\u0613\u0001\u0000\u0000\u0000\u05cd\u05ce\u0003\u0083"+ - "A\u0000\u05ce\u05cf\u0005.\u0000\u0000\u05cf\u05d0\u0005s\u0000\u0000"+ - "\u05d0\u05d1\u0005h\u0000\u0000\u05d1\u05d2\u0005r\u0000\u0000\u05d2\u05d3"+ - "\u0005_\u0000\u0000\u05d3\u05d4\u0005u\u0000\u0000\u05d4\u0613\u0001\u0000"+ - "\u0000\u0000\u05d5\u05d6\u0003\u0083A\u0000\u05d6\u05d7\u0005.\u0000\u0000"+ - "\u05d7\u05d8\u0005r\u0000\u0000\u05d8\u05d9\u0005o\u0000\u0000\u05d9\u05da"+ - "\u0005t\u0000\u0000\u05da\u05db\u0005l\u0000\u0000\u05db\u0613\u0001\u0000"+ - "\u0000\u0000\u05dc\u05dd\u0003\u0083A\u0000\u05dd\u05de\u0005.\u0000\u0000"+ - "\u05de\u05df\u0005r\u0000\u0000\u05df\u05e0\u0005o\u0000\u0000\u05e0\u05e1"+ - "\u0005t\u0000\u0000\u05e1\u05e2\u0005r\u0000\u0000\u05e2\u0613\u0001\u0000"+ - "\u0000\u0000\u05e3\u05e4\u0003\u0085B\u0000\u05e4\u05e5\u0005.\u0000\u0000"+ - "\u05e5\u05e6\u0005a\u0000\u0000\u05e6\u05e7\u0005d\u0000\u0000\u05e7\u05e8"+ - "\u0005d\u0000\u0000\u05e8\u0613\u0001\u0000\u0000\u0000\u05e9\u05ea\u0003"+ - "\u0085B\u0000\u05ea\u05eb\u0005.\u0000\u0000\u05eb\u05ec\u0005s\u0000"+ - "\u0000\u05ec\u05ed\u0005u\u0000\u0000\u05ed\u05ee\u0005b\u0000\u0000\u05ee"+ - "\u0613\u0001\u0000\u0000\u0000\u05ef\u05f0\u0003\u0085B\u0000\u05f0\u05f1"+ - "\u0005.\u0000\u0000\u05f1\u05f2\u0005m\u0000\u0000\u05f2\u05f3\u0005u"+ - "\u0000\u0000\u05f3\u05f4\u0005l\u0000\u0000\u05f4\u0613\u0001\u0000\u0000"+ - "\u0000\u05f5\u05f6\u0003\u0085B\u0000\u05f6\u05f7\u0005.\u0000\u0000\u05f7"+ - "\u05f8\u0005d\u0000\u0000\u05f8\u05f9\u0005i\u0000\u0000\u05f9\u05fa\u0005"+ - "v\u0000\u0000\u05fa\u0613\u0001\u0000\u0000\u0000\u05fb\u05fc\u0003\u0085"+ - "B\u0000\u05fc\u05fd\u0005.\u0000\u0000\u05fd\u05fe\u0005m\u0000\u0000"+ - "\u05fe\u05ff\u0005i\u0000\u0000\u05ff\u0600\u0005n\u0000\u0000\u0600\u0613"+ - "\u0001\u0000\u0000\u0000\u0601\u0602\u0003\u0085B\u0000\u0602\u0603\u0005"+ - ".\u0000\u0000\u0603\u0604\u0005m\u0000\u0000\u0604\u0605\u0005a\u0000"+ - "\u0000\u0605\u0606\u0005x\u0000\u0000\u0606\u0613\u0001\u0000\u0000\u0000"+ - "\u0607\u0608\u0003\u0085B\u0000\u0608\u0609\u0005.\u0000\u0000\u0609\u060a"+ - "\u0005c\u0000\u0000\u060a\u060b\u0005o\u0000\u0000\u060b\u060c\u0005p"+ - "\u0000\u0000\u060c\u060d\u0005y\u0000\u0000\u060d\u060e\u0005s\u0000\u0000"+ - "\u060e\u060f\u0005i\u0000\u0000\u060f\u0610\u0005g\u0000\u0000\u0610\u0611"+ - "\u0005n\u0000\u0000\u0611\u0613\u0001\u0000\u0000\u0000\u0612\u057c\u0001"+ - "\u0000\u0000\u0000\u0612\u0582\u0001\u0000\u0000\u0000\u0612\u0588\u0001"+ - "\u0000\u0000\u0000\u0612\u058e\u0001\u0000\u0000\u0000\u0612\u0596\u0001"+ - "\u0000\u0000\u0000\u0612\u059e\u0001\u0000\u0000\u0000\u0612\u05a6\u0001"+ - "\u0000\u0000\u0000\u0612\u05ae\u0001\u0000\u0000\u0000\u0612\u05b4\u0001"+ - "\u0000\u0000\u0000\u0612\u05b9\u0001\u0000\u0000\u0000\u0612\u05bf\u0001"+ - "\u0000\u0000\u0000\u0612\u05c5\u0001\u0000\u0000\u0000\u0612\u05cd\u0001"+ - "\u0000\u0000\u0000\u0612\u05d5\u0001\u0000\u0000\u0000\u0612\u05dc\u0001"+ - "\u0000\u0000\u0000\u0612\u05e3\u0001\u0000\u0000\u0000\u0612\u05e9\u0001"+ - "\u0000\u0000\u0000\u0612\u05ef\u0001\u0000\u0000\u0000\u0612\u05f5\u0001"+ - "\u0000\u0000\u0000\u0612\u05fb\u0001\u0000\u0000\u0000\u0612\u0601\u0001"+ - "\u0000\u0000\u0000\u0612\u0607\u0001\u0000\u0000\u0000\u0613\u0100\u0001"+ - "\u0000\u0000\u0000\u0614\u0615\u0003{=\u0000\u0615\u0616\u0005.\u0000"+ - "\u0000\u0616\u0617\u0005w\u0000\u0000\u0617\u0618\u0005r\u0000\u0000\u0618"+ - "\u0619\u0005a\u0000\u0000\u0619\u061a\u0005p\u0000\u0000\u061a\u061b\u0005"+ - "_\u0000\u0000\u061b\u061c\u0001\u0000\u0000\u0000\u061c\u061d\u0003}>"+ - "\u0000\u061d\u06b7\u0001\u0000\u0000\u0000\u061e\u061f\u0003\u0083A\u0000"+ - "\u061f\u0620\u0005.\u0000\u0000\u0620\u0621\u0005t\u0000\u0000\u0621\u0622"+ - "\u0005r\u0000\u0000\u0622\u0623\u0005u\u0000\u0000\u0623\u0624\u0005n"+ - "\u0000\u0000\u0624\u0625\u0005c\u0000\u0000\u0625\u0626\u0005_\u0000\u0000"+ - "\u0626\u0627\u0001\u0000\u0000\u0000\u0627\u0628\u0003\u0085B\u0000\u0628"+ - "\u0629\u0003q8\u0000\u0629\u062a\u0003w;\u0000\u062a\u06b7\u0001\u0000"+ - "\u0000\u0000\u062b\u062c\u0003\u0083A\u0000\u062c\u062d\u0005.\u0000\u0000"+ - "\u062d\u062e\u0005t\u0000\u0000\u062e\u062f\u0005r\u0000\u0000\u062f\u0630"+ - "\u0005u\u0000\u0000\u0630\u0631\u0005n\u0000\u0000\u0631\u0632\u0005c"+ - "\u0000\u0000\u0632\u0633\u0005_\u0000\u0000\u0633\u0634\u0005s\u0000\u0000"+ - "\u0634\u0635\u0005a\u0000\u0000\u0635\u0636\u0005t\u0000\u0000\u0636\u0637"+ - "\u0005_\u0000\u0000\u0637\u0638\u0001\u0000\u0000\u0000\u0638\u0639\u0003"+ - "\u0085B\u0000\u0639\u063a\u0003q8\u0000\u063a\u063b\u0003w;\u0000\u063b"+ - "\u06b7\u0001\u0000\u0000\u0000\u063c\u063d\u0003}>\u0000\u063d\u063e\u0005"+ - ".\u0000\u0000\u063e\u063f\u0005e\u0000\u0000\u063f\u0640\u0005x\u0000"+ - "\u0000\u0640\u0641\u0005t\u0000\u0000\u0641\u0642\u0005e\u0000\u0000\u0642"+ - "\u0643\u0005n\u0000\u0000\u0643\u0644\u0005d\u0000\u0000\u0644\u0645\u0005"+ - "_\u0000\u0000\u0645\u0646\u0001\u0000\u0000\u0000\u0646\u0647\u0003{="+ - "\u0000\u0647\u0648\u0003q8\u0000\u0648\u0649\u0003w;\u0000\u0649\u06b7"+ - "\u0001\u0000\u0000\u0000\u064a\u064b\u0003\u0085B\u0000\u064b\u064c\u0005"+ - ".\u0000\u0000\u064c\u064d\u0005c\u0000\u0000\u064d\u064e\u0005o\u0000"+ - "\u0000\u064e\u064f\u0005n\u0000\u0000\u064f\u0650\u0005v\u0000\u0000\u0650"+ - "\u0651\u0005e\u0000\u0000\u0651\u0652\u0005r\u0000\u0000\u0652\u0653\u0005"+ - "t\u0000\u0000\u0653\u0654\u0005_\u0000\u0000\u0654\u0655\u0001\u0000\u0000"+ - "\u0000\u0655\u0656\u0003\u0083A\u0000\u0656\u0657\u0003q8\u0000\u0657"+ - "\u0658\u0003w;\u0000\u0658\u06b7\u0001\u0000\u0000\u0000\u0659\u065a\u0003"+ - "\u007f?\u0000\u065a\u065b\u0005.\u0000\u0000\u065b\u065c\u0005d\u0000"+ - "\u0000\u065c\u065d\u0005e\u0000\u0000\u065d\u065e\u0005m\u0000\u0000\u065e"+ - "\u065f\u0005o\u0000\u0000\u065f\u0660\u0005t\u0000\u0000\u0660\u0661\u0005"+ - "e\u0000\u0000\u0661\u0662\u0005_\u0000\u0000\u0662\u0663\u0001\u0000\u0000"+ - "\u0000\u0663\u0664\u0003\u0081@\u0000\u0664\u06b7\u0001\u0000\u0000\u0000"+ - "\u0665\u0666\u0003\u0081@\u0000\u0666\u0667\u0005.\u0000\u0000\u0667\u0668"+ - "\u0005p\u0000\u0000\u0668\u0669\u0005r\u0000\u0000\u0669\u066a\u0005o"+ - "\u0000\u0000\u066a\u066b\u0005m\u0000\u0000\u066b\u066c\u0005o\u0000\u0000"+ - "\u066c\u066d\u0005t\u0000\u0000\u066d\u066e\u0005e\u0000\u0000\u066e\u066f"+ - "\u0005_\u0000\u0000\u066f\u0670\u0001\u0000\u0000\u0000\u0670\u0671\u0003"+ - "\u007f?\u0000\u0671\u06b7\u0001\u0000\u0000\u0000\u0672\u0673\u0003\u007f"+ - "?\u0000\u0673\u0674\u0005.\u0000\u0000\u0674\u0675\u0005r\u0000\u0000"+ - "\u0675\u0676\u0005e\u0000\u0000\u0676\u0677\u0005i\u0000\u0000\u0677\u0678"+ - "\u0005n\u0000\u0000\u0678\u0679\u0005t\u0000\u0000\u0679\u067a\u0005e"+ - "\u0000\u0000\u067a\u067b\u0005r\u0000\u0000\u067b\u067c\u0005p\u0000\u0000"+ - "\u067c\u067d\u0005r\u0000\u0000\u067d\u067e\u0005e\u0000\u0000\u067e\u067f"+ - "\u0005t\u0000\u0000\u067f\u0680\u0005_\u0000\u0000\u0680\u0681\u0001\u0000"+ - "\u0000\u0000\u0681\u0682\u0003{=\u0000\u0682\u06b7\u0001\u0000\u0000\u0000"+ - "\u0683\u0684\u0003\u0081@\u0000\u0684\u0685\u0005.\u0000\u0000\u0685\u0686"+ - "\u0005r\u0000\u0000\u0686\u0687\u0005e\u0000\u0000\u0687\u0688\u0005i"+ - "\u0000\u0000\u0688\u0689\u0005n\u0000\u0000\u0689\u068a\u0005t\u0000\u0000"+ - "\u068a\u068b\u0005e\u0000\u0000\u068b\u068c\u0005r\u0000\u0000\u068c\u068d"+ - "\u0005p\u0000\u0000\u068d\u068e\u0005r\u0000\u0000\u068e\u068f\u0005e"+ - "\u0000\u0000\u068f\u0690\u0005t\u0000\u0000\u0690\u0691\u0005_\u0000\u0000"+ - "\u0691\u0692\u0001\u0000\u0000\u0000\u0692\u0693\u0003}>\u0000\u0693\u06b7"+ - "\u0001\u0000\u0000\u0000\u0694\u0695\u0003{=\u0000\u0695\u0696\u0005."+ - "\u0000\u0000\u0696\u0697\u0005r\u0000\u0000\u0697\u0698\u0005e\u0000\u0000"+ - "\u0698\u0699\u0005i\u0000\u0000\u0699\u069a\u0005n\u0000\u0000\u069a\u069b"+ - "\u0005t\u0000\u0000\u069b\u069c\u0005e\u0000\u0000\u069c\u069d\u0005r"+ - "\u0000\u0000\u069d\u069e\u0005p\u0000\u0000\u069e\u069f\u0005r\u0000\u0000"+ - "\u069f\u06a0\u0005e\u0000\u0000\u06a0\u06a1\u0005t\u0000\u0000\u06a1\u06a2"+ - "\u0005_\u0000\u0000\u06a2\u06a3\u0001\u0000\u0000\u0000\u06a3\u06a4\u0003"+ - "\u007f?\u0000\u06a4\u06b7\u0001\u0000\u0000\u0000\u06a5\u06a6\u0003}>"+ - "\u0000\u06a6\u06a7\u0005.\u0000\u0000\u06a7\u06a8\u0005r\u0000\u0000\u06a8"+ - "\u06a9\u0005e\u0000\u0000\u06a9\u06aa\u0005i\u0000\u0000\u06aa\u06ab\u0005"+ - "n\u0000\u0000\u06ab\u06ac\u0005t\u0000\u0000\u06ac\u06ad\u0005e\u0000"+ - "\u0000\u06ad\u06ae\u0005r\u0000\u0000\u06ae\u06af\u0005p\u0000\u0000\u06af"+ - "\u06b0\u0005r\u0000\u0000\u06b0\u06b1\u0005e\u0000\u0000\u06b1\u06b2\u0005"+ - "t\u0000\u0000\u06b2\u06b3\u0005_\u0000\u0000\u06b3\u06b4\u0001\u0000\u0000"+ - "\u0000\u06b4\u06b5\u0003\u0081@\u0000\u06b5\u06b7\u0001\u0000\u0000\u0000"+ - "\u06b6\u0614\u0001\u0000\u0000\u0000\u06b6\u061e\u0001\u0000\u0000\u0000"+ - "\u06b6\u062b\u0001\u0000\u0000\u0000\u06b6\u063c\u0001\u0000\u0000\u0000"+ - "\u06b6\u064a\u0001\u0000\u0000\u0000\u06b6\u0659\u0001\u0000\u0000\u0000"+ - "\u06b6\u0665\u0001\u0000\u0000\u0000\u06b6\u0672\u0001\u0000\u0000\u0000"+ - "\u06b6\u0683\u0001\u0000\u0000\u0000\u06b6\u0694\u0001\u0000\u0000\u0000"+ - "\u06b6\u06a5\u0001\u0000\u0000\u0000\u06b7\u0102\u0001\u0000\u0000\u0000"+ - "\u06b8\u06b9\u0005t\u0000\u0000\u06b9\u06ba\u0005y\u0000\u0000\u06ba\u06bb"+ - "\u0005p\u0000\u0000\u06bb\u06bc\u0005e\u0000\u0000\u06bc\u0104\u0001\u0000"+ - "\u0000\u0000\u06bd\u06be\u0005f\u0000\u0000\u06be\u06bf\u0005u\u0000\u0000"+ - "\u06bf\u06c0\u0005n\u0000\u0000\u06c0\u06c1\u0005c\u0000\u0000\u06c1\u0106"+ - "\u0001\u0000\u0000\u0000\u06c2\u06c3\u0005e\u0000\u0000\u06c3\u06c4\u0005"+ - "x\u0000\u0000\u06c4\u06c5\u0005t\u0000\u0000\u06c5\u06c6\u0005e\u0000"+ - "\u0000\u06c6\u06c7\u0005r\u0000\u0000\u06c7\u06c8\u0005n\u0000\u0000\u06c8"+ - "\u0108\u0001\u0000\u0000\u0000\u06c9\u06ca\u0005s\u0000\u0000\u06ca\u06cb"+ - "\u0005t\u0000\u0000\u06cb\u06cc\u0005a\u0000\u0000\u06cc\u06cd\u0005r"+ - "\u0000\u0000\u06cd\u06ce\u0005t\u0000\u0000\u06ce\u010a\u0001\u0000\u0000"+ - "\u0000\u06cf\u06d0\u0005p\u0000\u0000\u06d0\u06d1\u0005a\u0000\u0000\u06d1"+ - "\u06d2\u0005r\u0000\u0000\u06d2\u06d3\u0005a\u0000\u0000\u06d3\u06d4\u0005"+ - "m\u0000\u0000\u06d4\u010c\u0001\u0000\u0000\u0000\u06d5\u06d6\u0005r\u0000"+ - "\u0000\u06d6\u06d7\u0005e\u0000\u0000\u06d7\u06d8\u0005s\u0000\u0000\u06d8"+ - "\u06d9\u0005u\u0000\u0000\u06d9\u06da\u0005l\u0000\u0000\u06da\u06db\u0005"+ - "t\u0000\u0000\u06db\u010e\u0001\u0000\u0000\u0000\u06dc\u06dd\u0005l\u0000"+ - "\u0000\u06dd\u06de\u0005o\u0000\u0000\u06de\u06df\u0005c\u0000\u0000\u06df"+ - "\u06e0\u0005a\u0000\u0000\u06e0\u06e1\u0005l\u0000\u0000\u06e1\u0110\u0001"+ - "\u0000\u0000\u0000\u06e2\u06e3\u0005g\u0000\u0000\u06e3\u06e4\u0005l\u0000"+ - "\u0000\u06e4\u06e5\u0005o\u0000\u0000\u06e5\u06e6\u0005b\u0000\u0000\u06e6"+ - "\u06e7\u0005a\u0000\u0000\u06e7\u06e8\u0005l\u0000\u0000\u06e8\u0112\u0001"+ - "\u0000\u0000\u0000\u06e9\u06ea\u0005t\u0000\u0000\u06ea\u06eb\u0005a\u0000"+ - "\u0000\u06eb\u06ec\u0005b\u0000\u0000\u06ec\u06ed\u0005l\u0000\u0000\u06ed"+ - "\u06ee\u0005e\u0000\u0000\u06ee\u0114\u0001\u0000\u0000\u0000\u06ef\u06f0"+ - "\u0005m\u0000\u0000\u06f0\u06f1\u0005e\u0000\u0000\u06f1\u06f2\u0005m"+ - "\u0000\u0000\u06f2\u06f3\u0005o\u0000\u0000\u06f3\u06f4\u0005r\u0000\u0000"+ - "\u06f4\u06f5\u0005y\u0000\u0000\u06f5\u0116\u0001\u0000\u0000\u0000\u06f6"+ - "\u06f7\u0005e\u0000\u0000\u06f7\u06f8\u0005l\u0000\u0000\u06f8\u06f9\u0005"+ - "e\u0000\u0000\u06f9\u06fa\u0005m\u0000\u0000\u06fa\u0118\u0001\u0000\u0000"+ - "\u0000\u06fb\u06fc\u0005d\u0000\u0000\u06fc\u06fd\u0005a\u0000\u0000\u06fd"+ - "\u06fe\u0005t\u0000\u0000\u06fe\u06ff\u0005a\u0000\u0000\u06ff\u011a\u0001"+ - "\u0000\u0000\u0000\u0700\u0701\u0005o\u0000\u0000\u0701\u0702\u0005f\u0000"+ - "\u0000\u0702\u0703\u0005f\u0000\u0000\u0703\u0704\u0005s\u0000\u0000\u0704"+ - "\u0705\u0005e\u0000\u0000\u0705\u0706\u0005t\u0000\u0000\u0706\u011c\u0001"+ - "\u0000\u0000\u0000\u0707\u0708\u0005i\u0000\u0000\u0708\u0709\u0005m\u0000"+ - "\u0000\u0709\u070a\u0005p\u0000\u0000\u070a\u070b\u0005o\u0000\u0000\u070b"+ - "\u070c\u0005r\u0000\u0000\u070c\u070d\u0005t\u0000\u0000\u070d\u011e\u0001"+ - "\u0000\u0000\u0000\u070e\u070f\u0005e\u0000\u0000\u070f\u0710\u0005x\u0000"+ - "\u0000\u0710\u0711\u0005p\u0000\u0000\u0711\u0712\u0005o\u0000\u0000\u0712"+ - "\u0713\u0005r\u0000\u0000\u0713\u0714\u0005t\u0000\u0000\u0714\u0120\u0001"+ - "\u0000\u0000\u0000\u0715\u0716\u0005t\u0000\u0000\u0716\u0717\u0005a\u0000"+ - "\u0000\u0717\u0718\u0005g\u0000\u0000\u0718\u0122\u0001\u0000\u0000\u0000"+ - "\u0719\u071a\u0005d\u0000\u0000\u071a\u071b\u0005e\u0000\u0000\u071b\u071c"+ - "\u0005c\u0000\u0000\u071c\u071d\u0005l\u0000\u0000\u071d\u071e\u0005a"+ - "\u0000\u0000\u071e\u071f\u0005r\u0000\u0000\u071f\u0720\u0005e\u0000\u0000"+ - "\u0720\u0124\u0001\u0000\u0000\u0000\u0721\u0722\u0005m\u0000\u0000\u0722"+ - "\u0723\u0005o\u0000\u0000\u0723\u0724\u0005d\u0000\u0000\u0724\u0725\u0005"+ - "u\u0000\u0000\u0725\u0726\u0005l\u0000\u0000\u0726\u0727\u0005e\u0000"+ - "\u0000\u0727\u0126\u0001\u0000\u0000\u0000\u0728\u0729\u0005b\u0000\u0000"+ - "\u0729\u072a\u0005i\u0000\u0000\u072a\u072b\u0005n\u0000\u0000\u072b\u072c"+ - "\u0005a\u0000\u0000\u072c\u072d\u0005r\u0000\u0000\u072d\u072e\u0005y"+ - "\u0000\u0000\u072e\u0128\u0001\u0000\u0000\u0000\u072f\u0730\u0005q\u0000"+ - "\u0000\u0730\u0731\u0005u\u0000\u0000\u0731\u0732\u0005o\u0000\u0000\u0732"+ - "\u0733\u0005t\u0000\u0000\u0733\u0734\u0005e\u0000\u0000\u0734\u012a\u0001"+ - "\u0000\u0000\u0000\u0735\u0736\u0005d\u0000\u0000\u0736\u0737\u0005e\u0000"+ - "\u0000\u0737\u0738\u0005f\u0000\u0000\u0738\u0739\u0005i\u0000\u0000\u0739"+ - "\u073a\u0005n\u0000\u0000\u073a\u073b\u0005i\u0000\u0000\u073b\u073c\u0005"+ - "t\u0000\u0000\u073c\u073d\u0005i\u0000\u0000\u073d\u073e\u0005o\u0000"+ - "\u0000\u073e\u073f\u0005n\u0000\u0000\u073f\u012c\u0001\u0000\u0000\u0000"+ - "\u0740\u0741\u0005i\u0000\u0000\u0741\u0742\u0005n\u0000\u0000\u0742\u0743"+ - "\u0005s\u0000\u0000\u0743\u0744\u0005t\u0000\u0000\u0744\u0745\u0005a"+ - "\u0000\u0000\u0745\u0746\u0005n\u0000\u0000\u0746\u0747\u0005c\u0000\u0000"+ - "\u0747\u0748\u0005e\u0000\u0000\u0748\u012e\u0001\u0000\u0000\u0000\u0749"+ - "\u074a\u0005s\u0000\u0000\u074a\u074b\u0005c\u0000\u0000\u074b\u074c\u0005"+ - "r\u0000\u0000\u074c\u074d\u0005i\u0000\u0000\u074d\u074e\u0005p\u0000"+ - "\u0000\u074e\u074f\u0005t\u0000\u0000\u074f\u0130\u0001\u0000\u0000\u0000"+ - "\u0750\u0751\u0005r\u0000\u0000\u0751\u0752\u0005e\u0000\u0000\u0752\u0753"+ - "\u0005g\u0000\u0000\u0753\u0754\u0005i\u0000\u0000\u0754\u0755\u0005s"+ - "\u0000\u0000\u0755\u0756\u0005t\u0000\u0000\u0756\u0757\u0005e\u0000\u0000"+ - "\u0757\u0758\u0005r\u0000\u0000\u0758\u0132\u0001\u0000\u0000\u0000\u0759"+ - "\u075a\u0005i\u0000\u0000\u075a\u075b\u0005n\u0000\u0000\u075b\u075c\u0005"+ - "v\u0000\u0000\u075c\u075d\u0005o\u0000\u0000\u075d\u075e\u0005k\u0000"+ - "\u0000\u075e\u075f\u0005e\u0000\u0000\u075f\u0134\u0001\u0000\u0000\u0000"+ - "\u0760\u0761\u0005g\u0000\u0000\u0761\u0762\u0005e\u0000\u0000\u0762\u0763"+ - "\u0005t\u0000\u0000\u0763\u0136\u0001\u0000\u0000\u0000\u0764\u0765\u0005"+ - "a\u0000\u0000\u0765\u0766\u0005s\u0000\u0000\u0766\u0767\u0005s\u0000"+ - "\u0000\u0767\u0768\u0005e\u0000\u0000\u0768\u0769\u0005r\u0000\u0000\u0769"+ - "\u076a\u0005t\u0000\u0000\u076a\u076b\u0005_\u0000\u0000\u076b\u076c\u0005"+ - "m\u0000\u0000\u076c\u076d\u0005a\u0000\u0000\u076d\u076e\u0005l\u0000"+ - "\u0000\u076e\u076f\u0005f\u0000\u0000\u076f\u0770\u0005o\u0000\u0000\u0770"+ - "\u0771\u0005r\u0000\u0000\u0771\u0772\u0005m\u0000\u0000\u0772\u0773\u0005"+ - "e\u0000\u0000\u0773\u0774\u0005d\u0000\u0000\u0774\u0138\u0001\u0000\u0000"+ - "\u0000\u0775\u0776\u0005a\u0000\u0000\u0776\u0777\u0005s\u0000\u0000\u0777"+ - "\u0778\u0005s\u0000\u0000\u0778\u0779\u0005e\u0000\u0000\u0779\u077a\u0005"+ - "r\u0000\u0000\u077a\u077b\u0005t\u0000\u0000\u077b\u077c\u0005_\u0000"+ - "\u0000\u077c\u077d\u0005i\u0000\u0000\u077d\u077e\u0005n\u0000\u0000\u077e"+ - "\u077f\u0005v\u0000\u0000\u077f\u0780\u0005a\u0000\u0000\u0780\u0781\u0005"+ - "l\u0000\u0000\u0781\u0782\u0005i\u0000\u0000\u0782\u0783\u0005d\u0000"+ - "\u0000\u0783\u013a\u0001\u0000\u0000\u0000\u0784\u0785\u0005a\u0000\u0000"+ - "\u0785\u0786\u0005s\u0000\u0000\u0786\u0787\u0005s\u0000\u0000\u0787\u0788"+ - "\u0005e\u0000\u0000\u0788\u0789\u0005r\u0000\u0000\u0789\u078a\u0005t"+ - "\u0000\u0000\u078a\u078b\u0005_\u0000\u0000\u078b\u078c\u0005u\u0000\u0000"+ - "\u078c\u078d\u0005n\u0000\u0000\u078d\u078e\u0005l\u0000\u0000\u078e\u078f"+ - "\u0005i\u0000\u0000\u078f\u0790\u0005n\u0000\u0000\u0790\u0791\u0005k"+ - "\u0000\u0000\u0791\u0792\u0005a\u0000\u0000\u0792\u0793\u0005b\u0000\u0000"+ - "\u0793\u0794\u0005l\u0000\u0000\u0794\u0795\u0005e\u0000\u0000\u0795\u013c"+ - "\u0001\u0000\u0000\u0000\u0796\u0797\u0005a\u0000\u0000\u0797\u0798\u0005"+ - "s\u0000\u0000\u0798\u0799\u0005s\u0000\u0000\u0799\u079a\u0005e\u0000"+ - "\u0000\u079a\u079b\u0005r\u0000\u0000\u079b\u079c\u0005t\u0000\u0000\u079c"+ - "\u079d\u0005_\u0000\u0000\u079d\u079e\u0005r\u0000\u0000\u079e\u079f\u0005"+ - "e\u0000\u0000\u079f\u07a0\u0005t\u0000\u0000\u07a0\u07a1\u0005u\u0000"+ - "\u0000\u07a1\u07a2\u0005r\u0000\u0000\u07a2\u07a3\u0005n\u0000\u0000\u07a3"+ - "\u013e\u0001\u0000\u0000\u0000\u07a4\u07a5\u0005a\u0000\u0000\u07a5\u07a6"+ - "\u0005s\u0000\u0000\u07a6\u07a7\u0005s\u0000\u0000\u07a7\u07a8\u0005e"+ - "\u0000\u0000\u07a8\u07a9\u0005r\u0000\u0000\u07a9\u07aa\u0005t\u0000\u0000"+ - "\u07aa\u07ab\u0005_\u0000\u0000\u07ab\u07ac\u0005r\u0000\u0000\u07ac\u07ad"+ - "\u0005e\u0000\u0000\u07ad\u07ae\u0005t\u0000\u0000\u07ae\u07af\u0005u"+ - "\u0000\u0000\u07af\u07b0\u0005r\u0000\u0000\u07b0\u07b1\u0005n\u0000\u0000"+ - "\u07b1\u07b2\u0005_\u0000\u0000\u07b2\u07b3\u0005c\u0000\u0000\u07b3\u07b4"+ - "\u0005a\u0000\u0000\u07b4\u07b5\u0005n\u0000\u0000\u07b5\u07b6\u0005o"+ - "\u0000\u0000\u07b6\u07b7\u0005n\u0000\u0000\u07b7\u07b8\u0005i\u0000\u0000"+ - "\u07b8\u07b9\u0005c\u0000\u0000\u07b9\u07ba\u0005a\u0000\u0000\u07ba\u07bb"+ - "\u0005l\u0000\u0000\u07bb\u07bc\u0005_\u0000\u0000\u07bc\u07bd\u0005n"+ - "\u0000\u0000\u07bd\u07be\u0005a\u0000\u0000\u07be\u07bf\u0005n\u0000\u0000"+ - "\u07bf\u0140\u0001\u0000\u0000\u0000\u07c0\u07c1\u0005a\u0000\u0000\u07c1"+ - "\u07c2\u0005s\u0000\u0000\u07c2\u07c3\u0005s\u0000\u0000\u07c3\u07c4\u0005"+ - "e\u0000\u0000\u07c4\u07c5\u0005r\u0000\u0000\u07c5\u07c6\u0005t\u0000"+ - "\u0000\u07c6\u07c7\u0005_\u0000\u0000\u07c7\u07c8\u0005r\u0000\u0000\u07c8"+ - "\u07c9\u0005e\u0000\u0000\u07c9\u07ca\u0005t\u0000\u0000\u07ca\u07cb\u0005"+ - "u\u0000\u0000\u07cb\u07cc\u0005r\u0000\u0000\u07cc\u07cd\u0005n\u0000"+ - "\u0000\u07cd\u07ce\u0005_\u0000\u0000\u07ce\u07cf\u0005a\u0000\u0000\u07cf"+ - "\u07d0\u0005r\u0000\u0000\u07d0\u07d1\u0005i\u0000\u0000\u07d1\u07d2\u0005"+ - "t\u0000\u0000\u07d2\u07d3\u0005h\u0000\u0000\u07d3\u07d4\u0005m\u0000"+ - "\u0000\u07d4\u07d5\u0005e\u0000\u0000\u07d5\u07d6\u0005t\u0000\u0000\u07d6"+ - "\u07d7\u0005i\u0000\u0000\u07d7\u07d8\u0005c\u0000\u0000\u07d8\u07d9\u0005"+ - "_\u0000\u0000\u07d9\u07da\u0005n\u0000\u0000\u07da\u07db\u0005a\u0000"+ - "\u0000\u07db\u07dc\u0005n\u0000\u0000\u07dc\u0142\u0001\u0000\u0000\u0000"+ - "\u07dd\u07de\u0005a\u0000\u0000\u07de\u07df\u0005s\u0000\u0000\u07df\u07e0"+ - "\u0005s\u0000\u0000\u07e0\u07e1\u0005e\u0000\u0000\u07e1\u07e2\u0005r"+ - "\u0000\u0000\u07e2\u07e3\u0005t\u0000\u0000\u07e3\u07e4\u0005_\u0000\u0000"+ - "\u07e4\u07e5\u0005t\u0000\u0000\u07e5\u07e6\u0005r\u0000\u0000\u07e6\u07e7"+ - "\u0005a\u0000\u0000\u07e7\u07e8\u0005p\u0000\u0000\u07e8\u0144\u0001\u0000"+ - "\u0000\u0000\u07e9\u07ea\u0005a\u0000\u0000\u07ea\u07eb\u0005s\u0000\u0000"+ - "\u07eb\u07ec\u0005s\u0000\u0000\u07ec\u07ed\u0005e\u0000\u0000\u07ed\u07ee"+ - "\u0005r\u0000\u0000\u07ee\u07ef\u0005t\u0000\u0000\u07ef\u07f0\u0005_"+ - "\u0000\u0000\u07f0\u07f1\u0005e\u0000\u0000\u07f1\u07f2\u0005x\u0000\u0000"+ - "\u07f2\u07f3\u0005h\u0000\u0000\u07f3\u07f4\u0005a\u0000\u0000\u07f4\u07f5"+ - "\u0005u\u0000\u0000\u07f5\u07f6\u0005s\u0000\u0000\u07f6\u07f7\u0005t"+ - "\u0000\u0000\u07f7\u07f8\u0005i\u0000\u0000\u07f8\u07f9\u0005o\u0000\u0000"+ - "\u07f9\u07fa\u0005n\u0000\u0000\u07fa\u0146\u0001\u0000\u0000\u0000\u07fb"+ - "\u07fc\u0005i\u0000\u0000\u07fc\u07fd\u0005n\u0000\u0000\u07fd\u07fe\u0005"+ - "p\u0000\u0000\u07fe\u07ff\u0005u\u0000\u0000\u07ff\u0800\u0005t\u0000"+ - "\u0000\u0800\u0148\u0001\u0000\u0000\u0000\u0801\u0802\u0005o\u0000\u0000"+ - "\u0802\u0803\u0005u\u0000\u0000\u0803\u0804\u0005t\u0000\u0000\u0804\u0805"+ - "\u0005p\u0000\u0000\u0805\u0806\u0005u\u0000\u0000\u0806\u0807\u0005t"+ - "\u0000\u0000\u0807\u014a\u0001\u0000\u0000\u0000\u0808\u0809\u0003\u016d"+ - "\u00b6\u0000\u0809\u014c\u0001\u0000\u0000\u0000\u080a\u080b\u0005v\u0000"+ - "\u0000\u080b\u080c\u00051\u0000\u0000\u080c\u080d\u00052\u0000\u0000\u080d"+ - "\u080e\u00058\u0000\u0000\u080e\u014e\u0001\u0000\u0000\u0000\u080f\u0811"+ - "\u0007\u0001\u0000\u0000\u0810\u080f\u0001\u0000\u0000\u0000\u0811\u0812"+ - "\u0001\u0000\u0000\u0000\u0812\u0810\u0001\u0000\u0000\u0000\u0812\u0813"+ - "\u0001\u0000\u0000\u0000\u0813\u0814\u0001\u0000\u0000\u0000\u0814\u0815"+ - "\u0006\u00a7\u0000\u0000\u0815\u0150\u0001\u0000\u0000\u0000\u0816\u0817"+ - "\u0005(\u0000\u0000\u0817\u0818\u0005;\u0000\u0000\u0818\u081c\u0001\u0000"+ - "\u0000\u0000\u0819\u081b\t\u0000\u0000\u0000\u081a\u0819\u0001\u0000\u0000"+ - "\u0000\u081b\u081e\u0001\u0000\u0000\u0000\u081c\u081d\u0001\u0000\u0000"+ - "\u0000\u081c\u081a\u0001\u0000\u0000\u0000\u081d\u081f\u0001\u0000\u0000"+ - "\u0000\u081e\u081c\u0001\u0000\u0000\u0000\u081f\u0820\u0005;\u0000\u0000"+ - "\u0820\u082c\u0005)\u0000\u0000\u0821\u0822\u0005;\u0000\u0000\u0822\u0823"+ - "\u0005;\u0000\u0000\u0823\u0827\u0001\u0000\u0000\u0000\u0824\u0826\t"+ - "\u0000\u0000\u0000\u0825\u0824\u0001\u0000\u0000\u0000\u0826\u0829\u0001"+ - "\u0000\u0000\u0000\u0827\u0828\u0001\u0000\u0000\u0000\u0827\u0825\u0001"+ - "\u0000\u0000\u0000\u0828\u082a\u0001\u0000\u0000\u0000\u0829\u0827\u0001"+ - "\u0000\u0000\u0000\u082a\u082c\u0005\n\u0000\u0000\u082b\u0816\u0001\u0000"+ - "\u0000\u0000\u082b\u0821\u0001\u0000\u0000\u0000\u082c\u082d\u0001\u0000"+ - "\u0000\u0000\u082d\u082e\u0006\u00a8\u0000\u0000\u082e\u0152\u0001\u0000"+ - "\u0000\u0000\u082f\u0830\u0007\u0002\u0000\u0000\u0830\u0154\u0001\u0000"+ - "\u0000\u0000\u0831\u0838\u0003\u015b\u00ad\u0000\u0832\u0834\u0005_\u0000"+ - "\u0000\u0833\u0832\u0001\u0000\u0000\u0000\u0833\u0834\u0001\u0000\u0000"+ - "\u0000\u0834\u0835\u0001\u0000\u0000\u0000\u0835\u0837\u0003\u015b\u00ad"+ - "\u0000\u0836\u0833\u0001\u0000\u0000\u0000\u0837\u083a\u0001\u0000\u0000"+ - "\u0000\u0838\u0836\u0001\u0000\u0000\u0000\u0838\u0839\u0001\u0000\u0000"+ - "\u0000\u0839\u0156\u0001\u0000\u0000\u0000\u083a\u0838\u0001\u0000\u0000"+ - "\u0000\u083b\u0842\u0003\u015d\u00ae\u0000\u083c\u083e\u0005_\u0000\u0000"+ - "\u083d\u083c\u0001\u0000\u0000\u0000\u083d\u083e\u0001\u0000\u0000\u0000"+ - "\u083e\u083f\u0001\u0000\u0000\u0000\u083f\u0841\u0003\u015d\u00ae\u0000"+ - "\u0840\u083d\u0001\u0000\u0000\u0000\u0841\u0844\u0001\u0000\u0000\u0000"+ - "\u0842\u0840\u0001\u0000\u0000\u0000\u0842\u0843\u0001\u0000\u0000\u0000"+ - "\u0843\u0158\u0001\u0000\u0000\u0000\u0844\u0842\u0001\u0000\u0000\u0000"+ - "\u0845\u0846\u0007\u0003\u0000\u0000\u0846\u015a\u0001\u0000\u0000\u0000"+ - "\u0847\u0848\u0007\u0004\u0000\u0000\u0848\u015c\u0001\u0000\u0000\u0000"+ - "\u0849\u084a\u0007\u0005\u0000\u0000\u084a\u015e\u0001\u0000\u0000\u0000"+ - "\u084b\u084c\u0007\u0006\u0000\u0000\u084c\u0160\u0001\u0000\u0000\u0000"+ - "\u084d\u0853\u0003\u0155\u00aa\u0000\u084e\u084f\u00050\u0000\u0000\u084f"+ - "\u0850\u0005x\u0000\u0000\u0850\u0851\u0001\u0000\u0000\u0000\u0851\u0853"+ - "\u0003\u0157\u00ab\u0000\u0852\u084d\u0001\u0000\u0000\u0000\u0852\u084e"+ - "\u0001\u0000\u0000\u0000\u0853\u0162\u0001\u0000\u0000\u0000\u0854\u0855"+ - "\u0003\u0159\u00ac\u0000\u0855\u0856\u0003\u0161\u00b0\u0000\u0856\u0164"+ - "\u0001\u0000\u0000\u0000\u0857\u0858\u0003\u0155\u00aa\u0000\u0858\u0166"+ - "\u0001\u0000\u0000\u0000\u0859\u085a\u0003\u0157\u00ab\u0000\u085a\u0168"+ - "\u0001\u0000\u0000\u0000\u085b\u085d\u0003\u0159\u00ac\u0000\u085c\u085b"+ - "\u0001\u0000\u0000\u0000\u085c\u085d\u0001\u0000\u0000\u0000\u085d\u085e"+ - "\u0001\u0000\u0000\u0000\u085e\u085f\u0003\u0155\u00aa\u0000\u085f\u0861"+ - "\u0005.\u0000\u0000\u0860\u0862\u0003\u0165\u00b2\u0000\u0861\u0860\u0001"+ - "\u0000\u0000\u0000\u0861\u0862\u0001\u0000\u0000\u0000\u0862\u08aa\u0001"+ - "\u0000\u0000\u0000\u0863\u0865\u0003\u0159\u00ac\u0000\u0864\u0863\u0001"+ - "\u0000\u0000\u0000\u0864\u0865\u0001\u0000\u0000\u0000\u0865\u0866\u0001"+ - "\u0000\u0000\u0000\u0866\u086b\u0003\u0155\u00aa\u0000\u0867\u0869\u0005"+ - ".\u0000\u0000\u0868\u086a\u0003\u0165\u00b2\u0000\u0869\u0868\u0001\u0000"+ - "\u0000\u0000\u0869\u086a\u0001\u0000\u0000\u0000\u086a\u086c\u0001\u0000"+ - "\u0000\u0000\u086b\u0867\u0001\u0000\u0000\u0000\u086b\u086c\u0001\u0000"+ - "\u0000\u0000\u086c\u086d\u0001\u0000\u0000\u0000\u086d\u086f\u0007\u0007"+ - "\u0000\u0000\u086e\u0870\u0003\u0159\u00ac\u0000\u086f\u086e\u0001\u0000"+ - "\u0000\u0000\u086f\u0870\u0001\u0000\u0000\u0000\u0870\u0871\u0001\u0000"+ - "\u0000\u0000\u0871\u0872\u0003\u0155\u00aa\u0000\u0872\u08aa\u0001\u0000"+ - "\u0000\u0000\u0873\u0875\u0003\u0159\u00ac\u0000\u0874\u0873\u0001\u0000"+ - "\u0000\u0000\u0874\u0875\u0001\u0000\u0000\u0000\u0875\u0876\u0001\u0000"+ - "\u0000\u0000\u0876\u0877\u00050\u0000\u0000\u0877\u0878\u0005x\u0000\u0000"+ - "\u0878\u0879\u0001\u0000\u0000\u0000\u0879\u087a\u0003\u0157\u00ab\u0000"+ - "\u087a\u087c\u0005.\u0000\u0000\u087b\u087d\u0003\u0167\u00b3\u0000\u087c"+ - "\u087b\u0001\u0000\u0000\u0000\u087c\u087d\u0001\u0000\u0000\u0000\u087d"+ - "\u08aa\u0001\u0000\u0000\u0000\u087e\u0880\u0003\u0159\u00ac\u0000\u087f"+ - "\u087e\u0001\u0000\u0000\u0000\u087f\u0880\u0001\u0000\u0000\u0000\u0880"+ - "\u0881\u0001\u0000\u0000\u0000\u0881\u0882\u00050\u0000\u0000\u0882\u0883"+ - "\u0005x\u0000\u0000\u0883\u0884\u0001\u0000\u0000\u0000\u0884\u0889\u0003"+ - "\u0157\u00ab\u0000\u0885\u0887\u0005.\u0000\u0000\u0886\u0888\u0003\u0167"+ - "\u00b3\u0000\u0887\u0886\u0001\u0000\u0000\u0000\u0887\u0888\u0001\u0000"+ - "\u0000\u0000\u0888\u088a\u0001\u0000\u0000\u0000\u0889\u0885\u0001\u0000"+ - "\u0000\u0000\u0889\u088a\u0001\u0000\u0000\u0000\u088a\u088b\u0001\u0000"+ - "\u0000\u0000\u088b\u088d\u0007\b\u0000\u0000\u088c\u088e\u0003\u0159\u00ac"+ - "\u0000\u088d\u088c\u0001\u0000\u0000\u0000\u088d\u088e\u0001\u0000\u0000"+ - "\u0000\u088e\u088f\u0001\u0000\u0000\u0000\u088f\u0890\u0003\u0155\u00aa"+ - "\u0000\u0890\u08aa\u0001\u0000\u0000\u0000\u0891\u0893\u0003\u0159\u00ac"+ - "\u0000\u0892\u0891\u0001\u0000\u0000\u0000\u0892\u0893\u0001\u0000\u0000"+ - "\u0000\u0893\u0894\u0001\u0000\u0000\u0000\u0894\u0895\u0005i\u0000\u0000"+ - "\u0895\u0896\u0005n\u0000\u0000\u0896\u08aa\u0005f\u0000\u0000\u0897\u0899"+ - "\u0003\u0159\u00ac\u0000\u0898\u0897\u0001\u0000\u0000\u0000\u0898\u0899"+ - "\u0001\u0000\u0000\u0000\u0899\u089a\u0001\u0000\u0000\u0000\u089a\u089b"+ - "\u0005n\u0000\u0000\u089b\u089c\u0005a\u0000\u0000\u089c\u08aa\u0005n"+ - "\u0000\u0000\u089d\u089f\u0003\u0159\u00ac\u0000\u089e\u089d\u0001\u0000"+ - "\u0000\u0000\u089e\u089f\u0001\u0000\u0000\u0000\u089f\u08a0\u0001\u0000"+ - "\u0000\u0000\u08a0\u08a1\u0005n\u0000\u0000\u08a1\u08a2\u0005a\u0000\u0000"+ - "\u08a2\u08a3\u0005n\u0000\u0000\u08a3\u08a4\u0005:\u0000\u0000\u08a4\u08a5"+ - "\u0001\u0000\u0000\u0000\u08a5\u08a6\u00050\u0000\u0000\u08a6\u08a7\u0005"+ - "x\u0000\u0000\u08a7\u08a8\u0001\u0000\u0000\u0000\u08a8\u08aa\u0003\u0157"+ - "\u00ab\u0000\u08a9\u085c\u0001\u0000\u0000\u0000\u08a9\u0864\u0001\u0000"+ - "\u0000\u0000\u08a9\u0874\u0001\u0000\u0000\u0000\u08a9\u087f\u0001\u0000"+ - "\u0000\u0000\u08a9\u0892\u0001\u0000\u0000\u0000\u08a9\u0898\u0001\u0000"+ - "\u0000\u0000\u08a9\u089e\u0001\u0000\u0000\u0000\u08aa\u016a\u0001\u0000"+ - "\u0000\u0000\u08ab\u08bf\u0005\"\u0000\u0000\u08ac\u08be\u0003\u0173\u00b9"+ - "\u0000\u08ad\u08be\u0007\t\u0000\u0000\u08ae\u08af\u0005\\\u0000\u0000"+ - "\u08af\u08b0\u0003\u015d\u00ae\u0000\u08b0\u08b1\u0003\u015d\u00ae\u0000"+ - "\u08b1\u08be\u0001\u0000\u0000\u0000\u08b2\u08b3\u0005\\\u0000\u0000\u08b3"+ - "\u08b4\u0005u\u0000\u0000\u08b4\u08b5\u0005{\u0000\u0000\u08b5\u08b7\u0001"+ - "\u0000\u0000\u0000\u08b6\u08b8\u0003\u015d\u00ae\u0000\u08b7\u08b6\u0001"+ - "\u0000\u0000\u0000\u08b8\u08b9\u0001\u0000\u0000\u0000\u08b9\u08b7\u0001"+ - "\u0000\u0000\u0000\u08b9\u08ba\u0001\u0000\u0000\u0000\u08ba\u08bb\u0001"+ - "\u0000\u0000\u0000\u08bb\u08bc\u0005}\u0000\u0000\u08bc\u08be\u0001\u0000"+ - "\u0000\u0000\u08bd\u08ac\u0001\u0000\u0000\u0000\u08bd\u08ad\u0001\u0000"+ - "\u0000\u0000\u08bd\u08ae\u0001\u0000\u0000\u0000\u08bd\u08b2\u0001\u0000"+ - "\u0000\u0000\u08be\u08c1\u0001\u0000\u0000\u0000\u08bf\u08bd\u0001\u0000"+ - "\u0000\u0000\u08bf\u08c0\u0001\u0000\u0000\u0000\u08c0\u08c2\u0001\u0000"+ - "\u0000\u0000\u08c1\u08bf\u0001\u0000\u0000\u0000\u08c2\u08c3\u0005\"\u0000"+ - "\u0000\u08c3\u016c\u0001\u0000\u0000\u0000\u08c4\u08c9\u0005$\u0000\u0000"+ - "\u08c5\u08ca\u0003\u015f\u00af\u0000\u08c6\u08ca\u0003\u015b\u00ad\u0000"+ - "\u08c7\u08ca\u0005_\u0000\u0000\u08c8\u08ca\u0003\u0153\u00a9\u0000\u08c9"+ - "\u08c5\u0001\u0000\u0000\u0000\u08c9\u08c6\u0001\u0000\u0000\u0000\u08c9"+ - "\u08c7\u0001\u0000\u0000\u0000\u08c9\u08c8\u0001\u0000\u0000\u0000\u08ca"+ - "\u08cb\u0001\u0000\u0000\u0000\u08cb\u08c9\u0001\u0000\u0000\u0000\u08cb"+ - "\u08cc\u0001\u0000\u0000\u0000\u08cc\u016e\u0001\u0000\u0000\u0000\u08cd"+ - "\u08ce\u0007\n\u0000\u0000\u08ce\u0170\u0001\u0000\u0000\u0000\u08cf\u08d2"+ - "\u0003\u0083A\u0000\u08d0\u08d2\u0003\u0085B\u0000\u08d1\u08cf\u0001\u0000"+ - "\u0000\u0000\u08d1\u08d0\u0001\u0000\u0000\u0000\u08d2\u0172\u0001\u0000"+ - "\u0000\u0000\u08d3\u08d4\b\u000b\u0000\u0000\u08d4\u0174\u0001\u0000\u0000"+ - "\u0000\u08d5\u08d6\u0007\f\u0000\u0000\u08d6\u0176\u0001\u0000\u0000\u0000"+ - "\u08d7\u08d8\u0007\r\u0000\u0000\u08d8\u0178\u0001\u0000\u0000\u0000\u08d9"+ - "\u08da\u0007\u000e\u0000\u0000\u08da\u017a\u0001\u0000\u0000\u0000\u08db"+ - "\u08de\u0003\u0175\u00ba\u0000\u08dc\u08de\u0003\u017f\u00bf\u0000\u08dd"+ - "\u08db\u0001\u0000\u0000\u0000\u08dd\u08dc\u0001\u0000\u0000\u0000\u08de"+ - "\u017c\u0001\u0000\u0000\u0000\u08df\u08e2\u0003\u0177\u00bb\u0000\u08e0"+ - "\u08e2\u0003\u017f\u00bf\u0000\u08e1\u08df\u0001\u0000\u0000\u0000\u08e1"+ - "\u08e0\u0001\u0000\u0000\u0000\u08e2\u017e\u0001\u0000\u0000\u0000\u08e3"+ - "\u08e4\u0007\u000f\u0000\u0000\u08e4\u08ff\u0003\u0179\u00bc\u0000\u08e5"+ - "\u08e6\u0007\u0010\u0000\u0000\u08e6\u08e7\u0007\u0011\u0000\u0000\u08e7"+ - "\u08ff\u0003\u0179\u00bc\u0000\u08e8\u08e9\u0007\u0012\u0000\u0000\u08e9"+ - "\u08ea\u0007\u0013\u0000\u0000\u08ea\u08ff\u0003\u0179\u00bc\u0000\u08eb"+ - "\u08ec\u0007\u0014\u0000\u0000\u08ec\u08ed\u0003\u0179\u00bc\u0000\u08ed"+ - "\u08ee\u0003\u0179\u00bc\u0000\u08ee\u08ff\u0001\u0000\u0000\u0000\u08ef"+ - "\u08f0\u0007\u0015\u0000\u0000\u08f0\u08f1\u0007\u0016\u0000\u0000\u08f1"+ - "\u08f2\u0003\u0179\u00bc\u0000\u08f2\u08f3\u0003\u0179\u00bc\u0000\u08f3"+ - "\u08ff\u0001\u0000\u0000\u0000\u08f4\u08f5\u0007\u0017\u0000\u0000\u08f5"+ - "\u08f6\u0007\u0018\u0000\u0000\u08f6\u08f7\u0003\u0179\u00bc\u0000\u08f7"+ - "\u08f8\u0003\u0179\u00bc\u0000\u08f8\u08ff\u0001\u0000\u0000\u0000\u08f9"+ - "\u08fa\u0007\u0019\u0000\u0000\u08fa\u08fb\u0003\u0179\u00bc\u0000\u08fb"+ - "\u08fc\u0003\u0179\u00bc\u0000\u08fc\u08fd\u0003\u0179\u00bc\u0000\u08fd"+ - "\u08ff\u0001\u0000\u0000\u0000\u08fe\u08e3\u0001\u0000\u0000\u0000\u08fe"+ - "\u08e5\u0001\u0000\u0000\u0000\u08fe\u08e8\u0001\u0000\u0000\u0000\u08fe"+ - "\u08eb\u0001\u0000\u0000\u0000\u08fe\u08ef\u0001\u0000\u0000\u0000\u08fe"+ - "\u08f4\u0001\u0000\u0000\u0000\u08fe\u08f9\u0001\u0000\u0000\u0000\u08ff"+ - "\u0180\u0001\u0000\u0000\u0000,\u0000\u0304\u030e\u032a\u033e\u0342\u052f"+ - "\u057a\u0612\u06b6\u0812\u081c\u0827\u082b\u0833\u0838\u083d\u0842\u0852"+ - "\u085c\u0861\u0864\u0869\u086b\u086f\u0874\u087c\u087f\u0887\u0889\u088d"+ - "\u0892\u0898\u089e\u08a9\u08b9\u08bd\u08bf\u08c9\u08cb\u08d1\u08dd\u08e1"+ - "\u08fe\u0001\u0006\u0000\u0000"; + "\u02e1\u0005s\u0000\u0000\u02e1\u02e2\u0005e\u0000\u0000\u02e2\u02e3\u0005"+ + "t\u0000\u0000\u02e3j\u0001\u0000\u0000\u0000\u02e4\u02e5\u0005l\u0000"+ + "\u0000\u02e5\u02e6\u0005o\u0000\u0000\u02e6\u02e7\u0005c\u0000\u0000\u02e7"+ + "\u02e8\u0005a\u0000\u0000\u02e8\u02e9\u0005l\u0000\u0000\u02e9\u02ea\u0005"+ + ".\u0000\u0000\u02ea\u02eb\u0005t\u0000\u0000\u02eb\u02ec\u0005e\u0000"+ + "\u0000\u02ec\u02ed\u0005e\u0000\u0000\u02edl\u0001\u0000\u0000\u0000\u02ee"+ + "\u02ef\u0005g\u0000\u0000\u02ef\u02f0\u0005l\u0000\u0000\u02f0\u02f1\u0005"+ + "o\u0000\u0000\u02f1\u02f2\u0005b\u0000\u0000\u02f2\u02f3\u0005a\u0000"+ + "\u0000\u02f3\u02f4\u0005l\u0000\u0000\u02f4\u02f5\u0005.\u0000\u0000\u02f5"+ + "\u02f6\u0005g\u0000\u0000\u02f6\u02f7\u0005e\u0000\u0000\u02f7\u02f8\u0005"+ + "t\u0000\u0000\u02f8n\u0001\u0000\u0000\u0000\u02f9\u02fa\u0005g\u0000"+ + "\u0000\u02fa\u02fb\u0005l\u0000\u0000\u02fb\u02fc\u0005o\u0000\u0000\u02fc"+ + "\u02fd\u0005b\u0000\u0000\u02fd\u02fe\u0005a\u0000\u0000\u02fe\u02ff\u0005"+ + "l\u0000\u0000\u02ff\u0300\u0005.\u0000\u0000\u0300\u0301\u0005s\u0000"+ + "\u0000\u0301\u0302\u0005e\u0000\u0000\u0302\u0303\u0005t\u0000\u0000\u0303"+ + "p\u0001\u0000\u0000\u0000\u0304\u0305\u0005.\u0000\u0000\u0305\u0306\u0005"+ + "l\u0000\u0000\u0306\u0307\u0005o\u0000\u0000\u0307\u0308\u0005a\u0000"+ + "\u0000\u0308\u0309\u0005d\u0000\u0000\u0309\u030e\u0001\u0000\u0000\u0000"+ + "\u030a\u030b\u0003}>\u0000\u030b\u030c\u0003u:\u0000\u030c\u030d\u0003"+ + "{=\u0000\u030d\u030f\u0001\u0000\u0000\u0000\u030e\u030a\u0001\u0000\u0000"+ + "\u0000\u030e\u030f\u0001\u0000\u0000\u0000\u030fr\u0001\u0000\u0000\u0000"+ + "\u0310\u0311\u0005.\u0000\u0000\u0311\u0312\u0005s\u0000\u0000\u0312\u0313"+ + "\u0005t\u0000\u0000\u0313\u0314\u0005o\u0000\u0000\u0314\u0315\u0005r"+ + "\u0000\u0000\u0315\u0316\u0005e\u0000\u0000\u0316\u0318\u0001\u0000\u0000"+ + "\u0000\u0317\u0319\u0003}>\u0000\u0318\u0317\u0001\u0000\u0000\u0000\u0318"+ + "\u0319\u0001\u0000\u0000\u0000\u0319t\u0001\u0000\u0000\u0000\u031a\u031b"+ + "\u0005_\u0000\u0000\u031bv\u0001\u0000\u0000\u0000\u031c\u031d\u0005o"+ + "\u0000\u0000\u031d\u031e\u0005f\u0000\u0000\u031e\u031f\u0005f\u0000\u0000"+ + "\u031f\u0320\u0005s\u0000\u0000\u0320\u0321\u0005e\u0000\u0000\u0321\u0322"+ + "\u0005t\u0000\u0000\u0322\u0323\u0005=\u0000\u0000\u0323x\u0001\u0000"+ + "\u0000\u0000\u0324\u0325\u0005a\u0000\u0000\u0325\u0326\u0005l\u0000\u0000"+ + "\u0326\u0327\u0005i\u0000\u0000\u0327\u0328\u0005g\u0000\u0000\u0328\u0329"+ + "\u0005n\u0000\u0000\u0329\u032a\u0005=\u0000\u0000\u032az\u0001\u0000"+ + "\u0000\u0000\u032b\u032c\u0007\u0000\u0000\u0000\u032c|\u0001\u0000\u0000"+ + "\u0000\u032d\u0335\u00058\u0000\u0000\u032e\u032f\u00051\u0000\u0000\u032f"+ + "\u0335\u00056\u0000\u0000\u0330\u0331\u00053\u0000\u0000\u0331\u0335\u0005"+ + "2\u0000\u0000\u0332\u0333\u00056\u0000\u0000\u0333\u0335\u00054\u0000"+ + "\u0000\u0334\u032d\u0001\u0000\u0000\u0000\u0334\u032e\u0001\u0000\u0000"+ + "\u0000\u0334\u0330\u0001\u0000\u0000\u0000\u0334\u0332\u0001\u0000\u0000"+ + "\u0000\u0335~\u0001\u0000\u0000\u0000\u0336\u0337\u0005i\u0000\u0000\u0337"+ + "\u0338\u00053\u0000\u0000\u0338\u0339\u00052\u0000\u0000\u0339\u0080\u0001"+ + "\u0000\u0000\u0000\u033a\u033b\u0005i\u0000\u0000\u033b\u033c\u00056\u0000"+ + "\u0000\u033c\u033d\u00054\u0000\u0000\u033d\u0082\u0001\u0000\u0000\u0000"+ + "\u033e\u033f\u0005f\u0000\u0000\u033f\u0340\u00053\u0000\u0000\u0340\u0341"+ + "\u00052\u0000\u0000\u0341\u0084\u0001\u0000\u0000\u0000\u0342\u0343\u0005"+ + "f\u0000\u0000\u0343\u0344\u00056\u0000\u0000\u0344\u0345\u00054\u0000"+ + "\u0000\u0345\u0086\u0001\u0000\u0000\u0000\u0346\u0349\u0003\u007f?\u0000"+ + "\u0347\u0349\u0003\u0081@\u0000\u0348\u0346\u0001\u0000\u0000\u0000\u0348"+ + "\u0347\u0001\u0000\u0000\u0000\u0349\u0088\u0001\u0000\u0000\u0000\u034a"+ + "\u034d\u0003\u0083A\u0000\u034b\u034d\u0003\u0085B\u0000\u034c\u034a\u0001"+ + "\u0000\u0000\u0000\u034c\u034b\u0001\u0000\u0000\u0000\u034d\u008a\u0001"+ + "\u0000\u0000\u0000\u034e\u034f\u0005.\u0000\u0000\u034f\u0350\u0005e\u0000"+ + "\u0000\u0350\u0351\u0005q\u0000\u0000\u0351\u0352\u0005z\u0000\u0000\u0352"+ + "\u008c\u0001\u0000\u0000\u0000\u0353\u0354\u0005.\u0000\u0000\u0354\u0355"+ + "\u0005e\u0000\u0000\u0355\u0356\u0005q\u0000\u0000\u0356\u008e\u0001\u0000"+ + "\u0000\u0000\u0357\u0358\u0005.\u0000\u0000\u0358\u0359\u0005n\u0000\u0000"+ + "\u0359\u035a\u0005e\u0000\u0000\u035a\u0090\u0001\u0000\u0000\u0000\u035b"+ + "\u035c\u0005.\u0000\u0000\u035c\u035d\u0005l\u0000\u0000\u035d\u035e\u0005"+ + "t\u0000\u0000\u035e\u0092\u0001\u0000\u0000\u0000\u035f\u0360\u0005.\u0000"+ + "\u0000\u0360\u0361\u0005l\u0000\u0000\u0361\u0362\u0005t\u0000\u0000\u0362"+ + "\u0363\u0005_\u0000\u0000\u0363\u0364\u0005s\u0000\u0000\u0364\u0094\u0001"+ + "\u0000\u0000\u0000\u0365\u0366\u0005.\u0000\u0000\u0366\u0367\u0005l\u0000"+ + "\u0000\u0367\u0368\u0005t\u0000\u0000\u0368\u0369\u0005_\u0000\u0000\u0369"+ + "\u036a\u0005u\u0000\u0000\u036a\u0096\u0001\u0000\u0000\u0000\u036b\u036c"+ + "\u0005.\u0000\u0000\u036c\u036d\u0005l\u0000\u0000\u036d\u036e\u0005e"+ + "\u0000\u0000\u036e\u0098\u0001\u0000\u0000\u0000\u036f\u0370\u0005.\u0000"+ + "\u0000\u0370\u0371\u0005l\u0000\u0000\u0371\u0372\u0005e\u0000\u0000\u0372"+ + "\u0373\u0005_\u0000\u0000\u0373\u0374\u0005s\u0000\u0000\u0374\u009a\u0001"+ + "\u0000\u0000\u0000\u0375\u0376\u0005.\u0000\u0000\u0376\u0377\u0005l\u0000"+ + "\u0000\u0377\u0378\u0005e\u0000\u0000\u0378\u0379\u0005_\u0000\u0000\u0379"+ + "\u037a\u0005u\u0000\u0000\u037a\u009c\u0001\u0000\u0000\u0000\u037b\u037c"+ + "\u0005.\u0000\u0000\u037c\u037d\u0005g\u0000\u0000\u037d\u037e\u0005t"+ + "\u0000\u0000\u037e\u009e\u0001\u0000\u0000\u0000\u037f\u0380\u0005.\u0000"+ + "\u0000\u0380\u0381\u0005g\u0000\u0000\u0381\u0382\u0005t\u0000\u0000\u0382"+ + "\u0383\u0005_\u0000\u0000\u0383\u0384\u0005s\u0000\u0000\u0384\u00a0\u0001"+ + "\u0000\u0000\u0000\u0385\u0386\u0005.\u0000\u0000\u0386\u0387\u0005g\u0000"+ + "\u0000\u0387\u0388\u0005t\u0000\u0000\u0388\u0389\u0005_\u0000\u0000\u0389"+ + "\u038a\u0005u\u0000\u0000\u038a\u00a2\u0001\u0000\u0000\u0000\u038b\u038c"+ + "\u0005.\u0000\u0000\u038c\u038d\u0005g\u0000\u0000\u038d\u038e\u0005e"+ + "\u0000\u0000\u038e\u00a4\u0001\u0000\u0000\u0000\u038f\u0390\u0005.\u0000"+ + "\u0000\u0390\u0391\u0005g\u0000\u0000\u0391\u0392\u0005e\u0000\u0000\u0392"+ + "\u0393\u0005_\u0000\u0000\u0393\u0394\u0005s\u0000\u0000\u0394\u00a6\u0001"+ + "\u0000\u0000\u0000\u0395\u0396\u0005.\u0000\u0000\u0396\u0397\u0005g\u0000"+ + "\u0000\u0397\u0398\u0005e\u0000\u0000\u0398\u0399\u0005_\u0000\u0000\u0399"+ + "\u039a\u0005u\u0000\u0000\u039a\u00a8\u0001\u0000\u0000\u0000\u039b\u039c"+ + "\u0005.\u0000\u0000\u039c\u039d\u0005c\u0000\u0000\u039d\u039e\u0005l"+ + "\u0000\u0000\u039e\u039f\u0005z\u0000\u0000\u039f\u00aa\u0001\u0000\u0000"+ + "\u0000\u03a0\u03a1\u0005.\u0000\u0000\u03a1\u03a2\u0005c\u0000\u0000\u03a2"+ + "\u03a3\u0005t\u0000\u0000\u03a3\u03a4\u0005z\u0000\u0000\u03a4\u00ac\u0001"+ + "\u0000\u0000\u0000\u03a5\u03a6\u0005.\u0000\u0000\u03a6\u03a7\u0005p\u0000"+ + "\u0000\u03a7\u03a8\u0005o\u0000\u0000\u03a8\u03a9\u0005p\u0000\u0000\u03a9"+ + "\u03aa\u0005c\u0000\u0000\u03aa\u03ab\u0005n\u0000\u0000\u03ab\u03ac\u0005"+ + "t\u0000\u0000\u03ac\u00ae\u0001\u0000\u0000\u0000\u03ad\u03ae\u0005.\u0000"+ + "\u0000\u03ae\u03af\u0005n\u0000\u0000\u03af\u03b0\u0005e\u0000\u0000\u03b0"+ + "\u03b1\u0005g\u0000\u0000\u03b1\u00b0\u0001\u0000\u0000\u0000\u03b2\u03b3"+ + "\u0005.\u0000\u0000\u03b3\u03b4\u0005a\u0000\u0000\u03b4\u03b5\u0005b"+ + "\u0000\u0000\u03b5\u03b6\u0005s\u0000\u0000\u03b6\u00b2\u0001\u0000\u0000"+ + "\u0000\u03b7\u03b8\u0005.\u0000\u0000\u03b8\u03b9\u0005s\u0000\u0000\u03b9"+ + "\u03ba\u0005q\u0000\u0000\u03ba\u03bb\u0005r\u0000\u0000\u03bb\u03bc\u0005"+ + "t\u0000\u0000\u03bc\u00b4\u0001\u0000\u0000\u0000\u03bd\u03be\u0005.\u0000"+ + "\u0000\u03be\u03bf\u0005c\u0000\u0000\u03bf\u03c0\u0005e\u0000\u0000\u03c0"+ + "\u03c1\u0005i\u0000\u0000\u03c1\u03c2\u0005l\u0000\u0000\u03c2\u00b6\u0001"+ + "\u0000\u0000\u0000\u03c3\u03c4\u0005.\u0000\u0000\u03c4\u03c5\u0005f\u0000"+ + "\u0000\u03c5\u03c6\u0005l\u0000\u0000\u03c6\u03c7\u0005o\u0000\u0000\u03c7"+ + "\u03c8\u0005o\u0000\u0000\u03c8\u03c9\u0005r\u0000\u0000\u03c9\u00b8\u0001"+ + "\u0000\u0000\u0000\u03ca\u03cb\u0005.\u0000\u0000\u03cb\u03cc\u0005t\u0000"+ + "\u0000\u03cc\u03cd\u0005r\u0000\u0000\u03cd\u03ce\u0005u\u0000\u0000\u03ce"+ + "\u03cf\u0005n\u0000\u0000\u03cf\u03d0\u0005c\u0000\u0000\u03d0\u00ba\u0001"+ + "\u0000\u0000\u0000\u03d1\u03d2\u0005.\u0000\u0000\u03d2\u03d3\u0005n\u0000"+ + "\u0000\u03d3\u03d4\u0005e\u0000\u0000\u03d4\u03d5\u0005a\u0000\u0000\u03d5"+ + "\u03d6\u0005r\u0000\u0000\u03d6\u03d7\u0005e\u0000\u0000\u03d7\u03d8\u0005"+ + "s\u0000\u0000\u03d8\u03d9\u0005t\u0000\u0000\u03d9\u00bc\u0001\u0000\u0000"+ + "\u0000\u03da\u03db\u0005.\u0000\u0000\u03db\u03dc\u0005a\u0000\u0000\u03dc"+ + "\u03dd\u0005d\u0000\u0000\u03dd\u03de\u0005d\u0000\u0000\u03de\u00be\u0001"+ + "\u0000\u0000\u0000\u03df\u03e0\u0005.\u0000\u0000\u03e0\u03e1\u0005s\u0000"+ + "\u0000\u03e1\u03e2\u0005u\u0000\u0000\u03e2\u03e3\u0005b\u0000\u0000\u03e3"+ + "\u00c0\u0001\u0000\u0000\u0000\u03e4\u03e5\u0005.\u0000\u0000\u03e5\u03e6"+ + "\u0005m\u0000\u0000\u03e6\u03e7\u0005u\u0000\u0000\u03e7\u03e8\u0005l"+ + "\u0000\u0000\u03e8\u00c2\u0001\u0000\u0000\u0000\u03e9\u03ea\u0005.\u0000"+ + "\u0000\u03ea\u03eb\u0005d\u0000\u0000\u03eb\u03ec\u0005i\u0000\u0000\u03ec"+ + "\u03ed\u0005v\u0000\u0000\u03ed\u00c4\u0001\u0000\u0000\u0000\u03ee\u03ef"+ + "\u0005.\u0000\u0000\u03ef\u03f0\u0005d\u0000\u0000\u03f0\u03f1\u0005i"+ + "\u0000\u0000\u03f1\u03f2\u0005v\u0000\u0000\u03f2\u03f3\u0005_\u0000\u0000"+ + "\u03f3\u03f4\u0005s\u0000\u0000\u03f4\u00c6\u0001\u0000\u0000\u0000\u03f5"+ + "\u03f6\u0005.\u0000\u0000\u03f6\u03f7\u0005d\u0000\u0000\u03f7\u03f8\u0005"+ + "i\u0000\u0000\u03f8\u03f9\u0005v\u0000\u0000\u03f9\u03fa\u0005_\u0000"+ + "\u0000\u03fa\u03fb\u0005u\u0000\u0000\u03fb\u00c8\u0001\u0000\u0000\u0000"+ + "\u03fc\u03fd\u0005.\u0000\u0000\u03fd\u03fe\u0005r\u0000\u0000\u03fe\u03ff"+ + "\u0005e\u0000\u0000\u03ff\u0400\u0005m\u0000\u0000\u0400\u0401\u0005_"+ + "\u0000\u0000\u0401\u0402\u0005s\u0000\u0000\u0402\u00ca\u0001\u0000\u0000"+ + "\u0000\u0403\u0404\u0005.\u0000\u0000\u0404\u0405\u0005r\u0000\u0000\u0405"+ + "\u0406\u0005e\u0000\u0000\u0406\u0407\u0005m\u0000\u0000\u0407\u0408\u0005"+ + "_\u0000\u0000\u0408\u0409\u0005u\u0000\u0000\u0409\u00cc\u0001\u0000\u0000"+ + "\u0000\u040a\u040b\u0005.\u0000\u0000\u040b\u040c\u0005a\u0000\u0000\u040c"+ + "\u040d\u0005n\u0000\u0000\u040d\u040e\u0005d\u0000\u0000\u040e\u00ce\u0001"+ + "\u0000\u0000\u0000\u040f\u0410\u0005.\u0000\u0000\u0410\u0411\u0005o\u0000"+ + "\u0000\u0411\u0412\u0005r\u0000\u0000\u0412\u00d0\u0001\u0000\u0000\u0000"+ + "\u0413\u0414\u0005.\u0000\u0000\u0414\u0415\u0005x\u0000\u0000\u0415\u0416"+ + "\u0005o\u0000\u0000\u0416\u0417\u0005r\u0000\u0000\u0417\u00d2\u0001\u0000"+ + "\u0000\u0000\u0418\u0419\u0005.\u0000\u0000\u0419\u041a\u0005s\u0000\u0000"+ + "\u041a\u041b\u0005h\u0000\u0000\u041b\u041c\u0005l\u0000\u0000\u041c\u00d4"+ + "\u0001\u0000\u0000\u0000\u041d\u041e\u0005.\u0000\u0000\u041e\u041f\u0005"+ + "s\u0000\u0000\u041f\u0420\u0005h\u0000\u0000\u0420\u0421\u0005r\u0000"+ + "\u0000\u0421\u0422\u0005_\u0000\u0000\u0422\u0423\u0005s\u0000\u0000\u0423"+ + "\u00d6\u0001\u0000\u0000\u0000\u0424\u0425\u0005.\u0000\u0000\u0425\u0426"+ + "\u0005s\u0000\u0000\u0426\u0427\u0005h\u0000\u0000\u0427\u0428\u0005r"+ + "\u0000\u0000\u0428\u0429\u0005_\u0000\u0000\u0429\u042a\u0005u\u0000\u0000"+ + "\u042a\u00d8\u0001\u0000\u0000\u0000\u042b\u042c\u0005.\u0000\u0000\u042c"+ + "\u042d\u0005r\u0000\u0000\u042d\u042e\u0005o\u0000\u0000\u042e\u042f\u0005"+ + "t\u0000\u0000\u042f\u0430\u0005l\u0000\u0000\u0430\u00da\u0001\u0000\u0000"+ + "\u0000\u0431\u0432\u0005.\u0000\u0000\u0432\u0433\u0005r\u0000\u0000\u0433"+ + "\u0434\u0005o\u0000\u0000\u0434\u0435\u0005t\u0000\u0000\u0435\u0436\u0005"+ + "r\u0000\u0000\u0436\u00dc\u0001\u0000\u0000\u0000\u0437\u0438\u0005.\u0000"+ + "\u0000\u0438\u0439\u0005m\u0000\u0000\u0439\u043a\u0005i\u0000\u0000\u043a"+ + "\u043b\u0005n\u0000\u0000\u043b\u00de\u0001\u0000\u0000\u0000\u043c\u043d"+ + "\u0005.\u0000\u0000\u043d\u043e\u0005m\u0000\u0000\u043e\u043f\u0005a"+ + "\u0000\u0000\u043f\u0440\u0005x\u0000\u0000\u0440\u00e0\u0001\u0000\u0000"+ + "\u0000\u0441\u0442\u0005.\u0000\u0000\u0442\u0443\u0005c\u0000\u0000\u0443"+ + "\u0444\u0005o\u0000\u0000\u0444\u0445\u0005p\u0000\u0000\u0445\u0446\u0005"+ + "y\u0000\u0000\u0446\u0447\u0005s\u0000\u0000\u0447\u0448\u0005i\u0000"+ + "\u0000\u0448\u0449\u0005g\u0000\u0000\u0449\u044a\u0005n\u0000\u0000\u044a"+ + "\u00e2\u0001\u0000\u0000\u0000\u044b\u044c\u0005.\u0000\u0000\u044c\u044d"+ + "\u0005w\u0000\u0000\u044d\u044e\u0005r\u0000\u0000\u044e\u044f\u0005a"+ + "\u0000\u0000\u044f\u0450\u0005p\u0000\u0000\u0450\u0451\u0005_\u0000\u0000"+ + "\u0451\u00e4\u0001\u0000\u0000\u0000\u0452\u0453\u0005.\u0000\u0000\u0453"+ + "\u0454\u0005t\u0000\u0000\u0454\u0455\u0005r\u0000\u0000\u0455\u0456\u0005"+ + "u\u0000\u0000\u0456\u0457\u0005n\u0000\u0000\u0457\u0458\u0005c\u0000"+ + "\u0000\u0458\u0459\u0005_\u0000\u0000\u0459\u00e6\u0001\u0000\u0000\u0000"+ + "\u045a\u045b\u0005.\u0000\u0000\u045b\u045c\u0005t\u0000\u0000\u045c\u045d"+ + "\u0005r\u0000\u0000\u045d\u045e\u0005u\u0000\u0000\u045e\u045f\u0005n"+ + "\u0000\u0000\u045f\u0460\u0005c\u0000\u0000\u0460\u0461\u0005_\u0000\u0000"+ + "\u0461\u0462\u0005s\u0000\u0000\u0462\u0463\u0005a\u0000\u0000\u0463\u0464"+ + "\u0005t\u0000\u0000\u0464\u0465\u0005_\u0000\u0000\u0465\u00e8\u0001\u0000"+ + "\u0000\u0000\u0466\u0467\u0005.\u0000\u0000\u0467\u0468\u0005c\u0000\u0000"+ + "\u0468\u0469\u0005o\u0000\u0000\u0469\u046a\u0005n\u0000\u0000\u046a\u046b"+ + "\u0005v\u0000\u0000\u046b\u046c\u0005e\u0000\u0000\u046c\u046d\u0005r"+ + "\u0000\u0000\u046d\u046e\u0005t\u0000\u0000\u046e\u046f\u0005_\u0000\u0000"+ + "\u046f\u00ea\u0001\u0000\u0000\u0000\u0470\u0471\u0005.\u0000\u0000\u0471"+ + "\u0472\u0005e\u0000\u0000\u0472\u0473\u0005x\u0000\u0000\u0473\u0474\u0005"+ + "t\u0000\u0000\u0474\u0475\u0005e\u0000\u0000\u0475\u0476\u0005n\u0000"+ + "\u0000\u0476\u0477\u0005d\u0000\u0000\u0477\u0478\u0005_\u0000\u0000\u0478"+ + "\u00ec\u0001\u0000\u0000\u0000\u0479\u047a\u0005.\u0000\u0000\u047a\u047b"+ + "\u0005d\u0000\u0000\u047b\u047c\u0005e\u0000\u0000\u047c\u047d\u0005m"+ + "\u0000\u0000\u047d\u047e\u0005o\u0000\u0000\u047e\u047f\u0005t\u0000\u0000"+ + "\u047f\u0480\u0005e\u0000\u0000\u0480\u0481\u0005_\u0000\u0000\u0481\u00ee"+ + "\u0001\u0000\u0000\u0000\u0482\u0483\u0005.\u0000\u0000\u0483\u0484\u0005"+ + "p\u0000\u0000\u0484\u0485\u0005r\u0000\u0000\u0485\u0486\u0005o\u0000"+ + "\u0000\u0486\u0487\u0005m\u0000\u0000\u0487\u0488\u0005o\u0000\u0000\u0488"+ + "\u0489\u0005t\u0000\u0000\u0489\u048a\u0005e\u0000\u0000\u048a\u048b\u0005"+ + "_\u0000\u0000\u048b\u00f0\u0001\u0000\u0000\u0000\u048c\u048d\u0005.\u0000"+ + "\u0000\u048d\u048e\u0005r\u0000\u0000\u048e\u048f\u0005e\u0000\u0000\u048f"+ + "\u0490\u0005i\u0000\u0000\u0490\u0491\u0005n\u0000\u0000\u0491\u0492\u0005"+ + "t\u0000\u0000\u0492\u0493\u0005e\u0000\u0000\u0493\u0494\u0005r\u0000"+ + "\u0000\u0494\u0495\u0005p\u0000\u0000\u0495\u0496\u0005r\u0000\u0000\u0496"+ + "\u0497\u0005e\u0000\u0000\u0497\u0498\u0005t\u0000\u0000\u0498\u0499\u0005"+ + "_\u0000\u0000\u0499\u00f2\u0001\u0000\u0000\u0000\u049a\u049b\u0005m\u0000"+ + "\u0000\u049b\u049c\u0005e\u0000\u0000\u049c\u049d\u0005m\u0000\u0000\u049d"+ + "\u049e\u0005o\u0000\u0000\u049e\u049f\u0005r\u0000\u0000\u049f\u04a0\u0005"+ + "y\u0000\u0000\u04a0\u04a1\u0005.\u0000\u0000\u04a1\u04a2\u0005s\u0000"+ + "\u0000\u04a2\u04a3\u0005i\u0000\u0000\u04a3\u04a4\u0005z\u0000\u0000\u04a4"+ + "\u04a5\u0005e\u0000\u0000\u04a5\u00f4\u0001\u0000\u0000\u0000\u04a6\u04a7"+ + "\u0005m\u0000\u0000\u04a7\u04a8\u0005e\u0000\u0000\u04a8\u04a9\u0005m"+ + "\u0000\u0000\u04a9\u04aa\u0005o\u0000\u0000\u04aa\u04ab\u0005r\u0000\u0000"+ + "\u04ab\u04ac\u0005y\u0000\u0000\u04ac\u04ad\u0005.\u0000\u0000\u04ad\u04ae"+ + "\u0005g\u0000\u0000\u04ae\u04af\u0005r\u0000\u0000\u04af\u04b0\u0005o"+ + "\u0000\u0000\u04b0\u04b1\u0005w\u0000\u0000\u04b1\u00f6\u0001\u0000\u0000"+ + "\u0000\u04b2\u04b3\u0005m\u0000\u0000\u04b3\u04b4\u0005e\u0000\u0000\u04b4"+ + "\u04b5\u0005m\u0000\u0000\u04b5\u04b6\u0005o\u0000\u0000\u04b6\u04b7\u0005"+ + "r\u0000\u0000\u04b7\u04b8\u0005y\u0000\u0000\u04b8\u04b9\u0005.\u0000"+ + "\u0000\u04b9\u04ba\u0005f\u0000\u0000\u04ba\u04bb\u0005i\u0000\u0000\u04bb"+ + "\u04bc\u0005l\u0000\u0000\u04bc\u04bd\u0005l\u0000\u0000\u04bd\u00f8\u0001"+ + "\u0000\u0000\u0000\u04be\u04bf\u0005m\u0000\u0000\u04bf\u04c0\u0005e\u0000"+ + "\u0000\u04c0\u04c1\u0005m\u0000\u0000\u04c1\u04c2\u0005o\u0000\u0000\u04c2"+ + "\u04c3\u0005r\u0000\u0000\u04c3\u04c4\u0005y\u0000\u0000\u04c4\u04c5\u0005"+ + ".\u0000\u0000\u04c5\u04c6\u0005c\u0000\u0000\u04c6\u04c7\u0005o\u0000"+ + "\u0000\u04c7\u04c8\u0005p\u0000\u0000\u04c8\u04c9\u0005y\u0000\u0000\u04c9"+ + "\u00fa\u0001\u0000\u0000\u0000\u04ca\u04cb\u0005m\u0000\u0000\u04cb\u04cc"+ + "\u0005e\u0000\u0000\u04cc\u04cd\u0005m\u0000\u0000\u04cd\u04ce\u0005o"+ + "\u0000\u0000\u04ce\u04cf\u0005r\u0000\u0000\u04cf\u04d0\u0005y\u0000\u0000"+ + "\u04d0\u04d1\u0005.\u0000\u0000\u04d1\u04d2\u0005i\u0000\u0000\u04d2\u04d3"+ + "\u0005n\u0000\u0000\u04d3\u04d4\u0005i\u0000\u0000\u04d4\u04d5\u0005t"+ + "\u0000\u0000\u04d5\u00fc\u0001\u0000\u0000\u0000\u04d6\u04d7\u0003\u0087"+ + "C\u0000\u04d7\u04d8\u0003\u008bE\u0000\u04d8\u00fe\u0001\u0000\u0000\u0000"+ + "\u04d9\u04da\u0003\u0087C\u0000\u04da\u04db\u0005.\u0000\u0000\u04db\u04dc"+ + "\u0005e\u0000\u0000\u04dc\u04dd\u0005q\u0000\u0000\u04dd\u053a\u0001\u0000"+ + "\u0000\u0000\u04de\u04df\u0003\u0087C\u0000\u04df\u04e0\u0005.\u0000\u0000"+ + "\u04e0\u04e1\u0005n\u0000\u0000\u04e1\u04e2\u0005e\u0000\u0000\u04e2\u053a"+ + "\u0001\u0000\u0000\u0000\u04e3\u04e4\u0003\u0087C\u0000\u04e4\u04e5\u0005"+ + ".\u0000\u0000\u04e5\u04e6\u0005l\u0000\u0000\u04e6\u04e7\u0005t\u0000"+ + "\u0000\u04e7\u04e8\u0005_\u0000\u0000\u04e8\u04e9\u0005s\u0000\u0000\u04e9"+ + "\u053a\u0001\u0000\u0000\u0000\u04ea\u04eb\u0003\u0087C\u0000\u04eb\u04ec"+ + "\u0005.\u0000\u0000\u04ec\u04ed\u0005l\u0000\u0000\u04ed\u04ee\u0005t"+ + "\u0000\u0000\u04ee\u04ef\u0005_\u0000\u0000\u04ef\u04f0\u0005u\u0000\u0000"+ + "\u04f0\u053a\u0001\u0000\u0000\u0000\u04f1\u04f2\u0003\u0087C\u0000\u04f2"+ + "\u04f3\u0005.\u0000\u0000\u04f3\u04f4\u0005l\u0000\u0000\u04f4\u04f5\u0005"+ + "e\u0000\u0000\u04f5\u04f6\u0005_\u0000\u0000\u04f6\u04f7\u0005s\u0000"+ + "\u0000\u04f7\u053a\u0001\u0000\u0000\u0000\u04f8\u04f9\u0003\u0087C\u0000"+ + "\u04f9\u04fa\u0005.\u0000\u0000\u04fa\u04fb\u0005l\u0000\u0000\u04fb\u04fc"+ + "\u0005e\u0000\u0000\u04fc\u04fd\u0005_\u0000\u0000\u04fd\u04fe\u0005u"+ + "\u0000\u0000\u04fe\u053a\u0001\u0000\u0000\u0000\u04ff\u0500\u0003\u0087"+ + "C\u0000\u0500\u0501\u0005.\u0000\u0000\u0501\u0502\u0005g\u0000\u0000"+ + "\u0502\u0503\u0005t\u0000\u0000\u0503\u0504\u0005_\u0000\u0000\u0504\u0505"+ + "\u0005s\u0000\u0000\u0505\u053a\u0001\u0000\u0000\u0000\u0506\u0507\u0003"+ + "\u0087C\u0000\u0507\u0508\u0005.\u0000\u0000\u0508\u0509\u0005g\u0000"+ + "\u0000\u0509\u050a\u0005t\u0000\u0000\u050a\u050b\u0005_\u0000\u0000\u050b"+ + "\u050c\u0005u\u0000\u0000\u050c\u053a\u0001\u0000\u0000\u0000\u050d\u050e"+ + "\u0003\u0087C\u0000\u050e\u050f\u0005.\u0000\u0000\u050f\u0510\u0005g"+ + "\u0000\u0000\u0510\u0511\u0005e\u0000\u0000\u0511\u0512\u0005_\u0000\u0000"+ + "\u0512\u0513\u0005s\u0000\u0000\u0513\u053a\u0001\u0000\u0000\u0000\u0514"+ + "\u0515\u0003\u0087C\u0000\u0515\u0516\u0005.\u0000\u0000\u0516\u0517\u0005"+ + "g\u0000\u0000\u0517\u0518\u0005e\u0000\u0000\u0518\u0519\u0005_\u0000"+ + "\u0000\u0519\u051a\u0005u\u0000\u0000\u051a\u053a\u0001\u0000\u0000\u0000"+ + "\u051b\u051c\u0003\u0089D\u0000\u051c\u051d\u0005.\u0000\u0000\u051d\u051e"+ + "\u0005e\u0000\u0000\u051e\u051f\u0005q\u0000\u0000\u051f\u053a\u0001\u0000"+ + "\u0000\u0000\u0520\u0521\u0003\u0089D\u0000\u0521\u0522\u0005.\u0000\u0000"+ + "\u0522\u0523\u0005n\u0000\u0000\u0523\u0524\u0005e\u0000\u0000\u0524\u053a"+ + "\u0001\u0000\u0000\u0000\u0525\u0526\u0003\u0089D\u0000\u0526\u0527\u0005"+ + ".\u0000\u0000\u0527\u0528\u0005l\u0000\u0000\u0528\u0529\u0005t\u0000"+ + "\u0000\u0529\u053a\u0001\u0000\u0000\u0000\u052a\u052b\u0003\u0089D\u0000"+ + "\u052b\u052c\u0005.\u0000\u0000\u052c\u052d\u0005l\u0000\u0000\u052d\u052e"+ + "\u0005e\u0000\u0000\u052e\u053a\u0001\u0000\u0000\u0000\u052f\u0530\u0003"+ + "\u0089D\u0000\u0530\u0531\u0005.\u0000\u0000\u0531\u0532\u0005g\u0000"+ + "\u0000\u0532\u0533\u0005t\u0000\u0000\u0533\u053a\u0001\u0000\u0000\u0000"+ + "\u0534\u0535\u0003\u0089D\u0000\u0535\u0536\u0005.\u0000\u0000\u0536\u0537"+ + "\u0005g\u0000\u0000\u0537\u0538\u0005e\u0000\u0000\u0538\u053a\u0001\u0000"+ + "\u0000\u0000\u0539\u04d9\u0001\u0000\u0000\u0000\u0539\u04de\u0001\u0000"+ + "\u0000\u0000\u0539\u04e3\u0001\u0000\u0000\u0000\u0539\u04ea\u0001\u0000"+ + "\u0000\u0000\u0539\u04f1\u0001\u0000\u0000\u0000\u0539\u04f8\u0001\u0000"+ + "\u0000\u0000\u0539\u04ff\u0001\u0000\u0000\u0000\u0539\u0506\u0001\u0000"+ + "\u0000\u0000\u0539\u050d\u0001\u0000\u0000\u0000\u0539\u0514\u0001\u0000"+ + "\u0000\u0000\u0539\u051b\u0001\u0000\u0000\u0000\u0539\u0520\u0001\u0000"+ + "\u0000\u0000\u0539\u0525\u0001\u0000\u0000\u0000\u0539\u052a\u0001\u0000"+ + "\u0000\u0000\u0539\u052f\u0001\u0000\u0000\u0000\u0539\u0534\u0001\u0000"+ + "\u0000\u0000\u053a\u0100\u0001\u0000\u0000\u0000\u053b\u053c\u0003\u0087"+ + "C\u0000\u053c\u053d\u0005.\u0000\u0000\u053d\u053e\u0005c\u0000\u0000"+ + "\u053e\u053f\u0005l\u0000\u0000\u053f\u0540\u0005z\u0000\u0000\u0540\u0585"+ + "\u0001\u0000\u0000\u0000\u0541\u0542\u0003\u0087C\u0000\u0542\u0543\u0005"+ + ".\u0000\u0000\u0543\u0544\u0005c\u0000\u0000\u0544\u0545\u0005t\u0000"+ + "\u0000\u0545\u0546\u0005z\u0000\u0000\u0546\u0585\u0001\u0000\u0000\u0000"+ + "\u0547\u0548\u0003\u0087C\u0000\u0548\u0549\u0005.\u0000\u0000\u0549\u054a"+ + "\u0005p\u0000\u0000\u054a\u054b\u0005o\u0000\u0000\u054b\u054c\u0005p"+ + "\u0000\u0000\u054c\u054d\u0005c\u0000\u0000\u054d\u054e\u0005n\u0000\u0000"+ + "\u054e\u054f\u0005t\u0000\u0000\u054f\u0585\u0001\u0000\u0000\u0000\u0550"+ + "\u0551\u0003\u0089D\u0000\u0551\u0552\u0005.\u0000\u0000\u0552\u0553\u0005"+ + "n\u0000\u0000\u0553\u0554\u0005e\u0000\u0000\u0554\u0555\u0005g\u0000"+ + "\u0000\u0555\u0585\u0001\u0000\u0000\u0000\u0556\u0557\u0003\u0089D\u0000"+ + "\u0557\u0558\u0005.\u0000\u0000\u0558\u0559\u0005a\u0000\u0000\u0559\u055a"+ + "\u0005b\u0000\u0000\u055a\u055b\u0005s\u0000\u0000\u055b\u0585\u0001\u0000"+ + "\u0000\u0000\u055c\u055d\u0003\u0089D\u0000\u055d\u055e\u0005.\u0000\u0000"+ + "\u055e\u055f\u0005s\u0000\u0000\u055f\u0560\u0005q\u0000\u0000\u0560\u0561"+ + "\u0005r\u0000\u0000\u0561\u0562\u0005t\u0000\u0000\u0562\u0585\u0001\u0000"+ + "\u0000\u0000\u0563\u0564\u0003\u0089D\u0000\u0564\u0565\u0005.\u0000\u0000"+ + "\u0565\u0566\u0005c\u0000\u0000\u0566\u0567\u0005e\u0000\u0000\u0567\u0568"+ + "\u0005i\u0000\u0000\u0568\u0569\u0005l\u0000\u0000\u0569\u0585\u0001\u0000"+ + "\u0000\u0000\u056a\u056b\u0003\u0089D\u0000\u056b\u056c\u0005.\u0000\u0000"+ + "\u056c\u056d\u0005f\u0000\u0000\u056d\u056e\u0005l\u0000\u0000\u056e\u056f"+ + "\u0005o\u0000\u0000\u056f\u0570\u0005o\u0000\u0000\u0570\u0571\u0005r"+ + "\u0000\u0000\u0571\u0585\u0001\u0000\u0000\u0000\u0572\u0573\u0003\u0089"+ + "D\u0000\u0573\u0574\u0005.\u0000\u0000\u0574\u0575\u0005t\u0000\u0000"+ + "\u0575\u0576\u0005r\u0000\u0000\u0576\u0577\u0005u\u0000\u0000\u0577\u0578"+ + "\u0005n\u0000\u0000\u0578\u0579\u0005c\u0000\u0000\u0579\u0585\u0001\u0000"+ + "\u0000\u0000\u057a\u057b\u0003\u0089D\u0000\u057b\u057c\u0005.\u0000\u0000"+ + "\u057c\u057d\u0005n\u0000\u0000\u057d\u057e\u0005e\u0000\u0000\u057e\u057f"+ + "\u0005a\u0000\u0000\u057f\u0580\u0005r\u0000\u0000\u0580\u0581\u0005e"+ + "\u0000\u0000\u0581\u0582\u0005s\u0000\u0000\u0582\u0583\u0005t\u0000\u0000"+ + "\u0583\u0585\u0001\u0000\u0000\u0000\u0584\u053b\u0001\u0000\u0000\u0000"+ + "\u0584\u0541\u0001\u0000\u0000\u0000\u0584\u0547\u0001\u0000\u0000\u0000"+ + "\u0584\u0550\u0001\u0000\u0000\u0000\u0584\u0556\u0001\u0000\u0000\u0000"+ + "\u0584\u055c\u0001\u0000\u0000\u0000\u0584\u0563\u0001\u0000\u0000\u0000"+ + "\u0584\u056a\u0001\u0000\u0000\u0000\u0584\u0572\u0001\u0000\u0000\u0000"+ + "\u0584\u057a\u0001\u0000\u0000\u0000\u0585\u0102\u0001\u0000\u0000\u0000"+ + "\u0586\u0587\u0003\u0087C\u0000\u0587\u0588\u0005.\u0000\u0000\u0588\u0589"+ + "\u0005a\u0000\u0000\u0589\u058a\u0005d\u0000\u0000\u058a\u058b\u0005d"+ + "\u0000\u0000\u058b\u061d\u0001\u0000\u0000\u0000\u058c\u058d\u0003\u0087"+ + "C\u0000\u058d\u058e\u0005.\u0000\u0000\u058e\u058f\u0005s\u0000\u0000"+ + "\u058f\u0590\u0005u\u0000\u0000\u0590\u0591\u0005b\u0000\u0000\u0591\u061d"+ + "\u0001\u0000\u0000\u0000\u0592\u0593\u0003\u0087C\u0000\u0593\u0594\u0005"+ + ".\u0000\u0000\u0594\u0595\u0005m\u0000\u0000\u0595\u0596\u0005u\u0000"+ + "\u0000\u0596\u0597\u0005l\u0000\u0000\u0597\u061d\u0001\u0000\u0000\u0000"+ + "\u0598\u0599\u0003\u0087C\u0000\u0599\u059a\u0005.\u0000\u0000\u059a\u059b"+ + "\u0005d\u0000\u0000\u059b\u059c\u0005i\u0000\u0000\u059c\u059d\u0005v"+ + "\u0000\u0000\u059d\u059e\u0005_\u0000\u0000\u059e\u059f\u0005s\u0000\u0000"+ + "\u059f\u061d\u0001\u0000\u0000\u0000\u05a0\u05a1\u0003\u0087C\u0000\u05a1"+ + "\u05a2\u0005.\u0000\u0000\u05a2\u05a3\u0005d\u0000\u0000\u05a3\u05a4\u0005"+ + "i\u0000\u0000\u05a4\u05a5\u0005v\u0000\u0000\u05a5\u05a6\u0005_\u0000"+ + "\u0000\u05a6\u05a7\u0005u\u0000\u0000\u05a7\u061d\u0001\u0000\u0000\u0000"+ + "\u05a8\u05a9\u0003\u0087C\u0000\u05a9\u05aa\u0005.\u0000\u0000\u05aa\u05ab"+ + "\u0005r\u0000\u0000\u05ab\u05ac\u0005e\u0000\u0000\u05ac\u05ad\u0005m"+ + "\u0000\u0000\u05ad\u05ae\u0005_\u0000\u0000\u05ae\u05af\u0005s\u0000\u0000"+ + "\u05af\u061d\u0001\u0000\u0000\u0000\u05b0\u05b1\u0003\u0087C\u0000\u05b1"+ + "\u05b2\u0005.\u0000\u0000\u05b2\u05b3\u0005r\u0000\u0000\u05b3\u05b4\u0005"+ + "e\u0000\u0000\u05b4\u05b5\u0005m\u0000\u0000\u05b5\u05b6\u0005_\u0000"+ + "\u0000\u05b6\u05b7\u0005u\u0000\u0000\u05b7\u061d\u0001\u0000\u0000\u0000"+ + "\u05b8\u05b9\u0003\u0087C\u0000\u05b9\u05ba\u0005.\u0000\u0000\u05ba\u05bb"+ + "\u0005a\u0000\u0000\u05bb\u05bc\u0005n\u0000\u0000\u05bc\u05bd\u0005d"+ + "\u0000\u0000\u05bd\u061d\u0001\u0000\u0000\u0000\u05be\u05bf\u0003\u0087"+ + "C\u0000\u05bf\u05c0\u0005.\u0000\u0000\u05c0\u05c1\u0005o\u0000\u0000"+ + "\u05c1\u05c2\u0005r\u0000\u0000\u05c2\u061d\u0001\u0000\u0000\u0000\u05c3"+ + "\u05c4\u0003\u0087C\u0000\u05c4\u05c5\u0005.\u0000\u0000\u05c5\u05c6\u0005"+ + "x\u0000\u0000\u05c6\u05c7\u0005o\u0000\u0000\u05c7\u05c8\u0005r\u0000"+ + "\u0000\u05c8\u061d\u0001\u0000\u0000\u0000\u05c9\u05ca\u0003\u0087C\u0000"+ + "\u05ca\u05cb\u0005.\u0000\u0000\u05cb\u05cc\u0005s\u0000\u0000\u05cc\u05cd"+ + "\u0005h\u0000\u0000\u05cd\u05ce\u0005l\u0000\u0000\u05ce\u061d\u0001\u0000"+ + "\u0000\u0000\u05cf\u05d0\u0003\u0087C\u0000\u05d0\u05d1\u0005.\u0000\u0000"+ + "\u05d1\u05d2\u0005s\u0000\u0000\u05d2\u05d3\u0005h\u0000\u0000\u05d3\u05d4"+ + "\u0005r\u0000\u0000\u05d4\u05d5\u0005_\u0000\u0000\u05d5\u05d6\u0005s"+ + "\u0000\u0000\u05d6\u061d\u0001\u0000\u0000\u0000\u05d7\u05d8\u0003\u0087"+ + "C\u0000\u05d8\u05d9\u0005.\u0000\u0000\u05d9\u05da\u0005s\u0000\u0000"+ + "\u05da\u05db\u0005h\u0000\u0000\u05db\u05dc\u0005r\u0000\u0000\u05dc\u05dd"+ + "\u0005_\u0000\u0000\u05dd\u05de\u0005u\u0000\u0000\u05de\u061d\u0001\u0000"+ + "\u0000\u0000\u05df\u05e0\u0003\u0087C\u0000\u05e0\u05e1\u0005.\u0000\u0000"+ + "\u05e1\u05e2\u0005r\u0000\u0000\u05e2\u05e3\u0005o\u0000\u0000\u05e3\u05e4"+ + "\u0005t\u0000\u0000\u05e4\u05e5\u0005l\u0000\u0000\u05e5\u061d\u0001\u0000"+ + "\u0000\u0000\u05e6\u05e7\u0003\u0087C\u0000\u05e7\u05e8\u0005.\u0000\u0000"+ + "\u05e8\u05e9\u0005r\u0000\u0000\u05e9\u05ea\u0005o\u0000\u0000\u05ea\u05eb"+ + "\u0005t\u0000\u0000\u05eb\u05ec\u0005r\u0000\u0000\u05ec\u061d\u0001\u0000"+ + "\u0000\u0000\u05ed\u05ee\u0003\u0089D\u0000\u05ee\u05ef\u0005.\u0000\u0000"+ + "\u05ef\u05f0\u0005a\u0000\u0000\u05f0\u05f1\u0005d\u0000\u0000\u05f1\u05f2"+ + "\u0005d\u0000\u0000\u05f2\u061d\u0001\u0000\u0000\u0000\u05f3\u05f4\u0003"+ + "\u0089D\u0000\u05f4\u05f5\u0005.\u0000\u0000\u05f5\u05f6\u0005s\u0000"+ + "\u0000\u05f6\u05f7\u0005u\u0000\u0000\u05f7\u05f8\u0005b\u0000\u0000\u05f8"+ + "\u061d\u0001\u0000\u0000\u0000\u05f9\u05fa\u0003\u0089D\u0000\u05fa\u05fb"+ + "\u0005.\u0000\u0000\u05fb\u05fc\u0005m\u0000\u0000\u05fc\u05fd\u0005u"+ + "\u0000\u0000\u05fd\u05fe\u0005l\u0000\u0000\u05fe\u061d\u0001\u0000\u0000"+ + "\u0000\u05ff\u0600\u0003\u0089D\u0000\u0600\u0601\u0005.\u0000\u0000\u0601"+ + "\u0602\u0005d\u0000\u0000\u0602\u0603\u0005i\u0000\u0000\u0603\u0604\u0005"+ + "v\u0000\u0000\u0604\u061d\u0001\u0000\u0000\u0000\u0605\u0606\u0003\u0089"+ + "D\u0000\u0606\u0607\u0005.\u0000\u0000\u0607\u0608\u0005m\u0000\u0000"+ + "\u0608\u0609\u0005i\u0000\u0000\u0609\u060a\u0005n\u0000\u0000\u060a\u061d"+ + "\u0001\u0000\u0000\u0000\u060b\u060c\u0003\u0089D\u0000\u060c\u060d\u0005"+ + ".\u0000\u0000\u060d\u060e\u0005m\u0000\u0000\u060e\u060f\u0005a\u0000"+ + "\u0000\u060f\u0610\u0005x\u0000\u0000\u0610\u061d\u0001\u0000\u0000\u0000"+ + "\u0611\u0612\u0003\u0089D\u0000\u0612\u0613\u0005.\u0000\u0000\u0613\u0614"+ + "\u0005c\u0000\u0000\u0614\u0615\u0005o\u0000\u0000\u0615\u0616\u0005p"+ + "\u0000\u0000\u0616\u0617\u0005y\u0000\u0000\u0617\u0618\u0005s\u0000\u0000"+ + "\u0618\u0619\u0005i\u0000\u0000\u0619\u061a\u0005g\u0000\u0000\u061a\u061b"+ + "\u0005n\u0000\u0000\u061b\u061d\u0001\u0000\u0000\u0000\u061c\u0586\u0001"+ + "\u0000\u0000\u0000\u061c\u058c\u0001\u0000\u0000\u0000\u061c\u0592\u0001"+ + "\u0000\u0000\u0000\u061c\u0598\u0001\u0000\u0000\u0000\u061c\u05a0\u0001"+ + "\u0000\u0000\u0000\u061c\u05a8\u0001\u0000\u0000\u0000\u061c\u05b0\u0001"+ + "\u0000\u0000\u0000\u061c\u05b8\u0001\u0000\u0000\u0000\u061c\u05be\u0001"+ + "\u0000\u0000\u0000\u061c\u05c3\u0001\u0000\u0000\u0000\u061c\u05c9\u0001"+ + "\u0000\u0000\u0000\u061c\u05cf\u0001\u0000\u0000\u0000\u061c\u05d7\u0001"+ + "\u0000\u0000\u0000\u061c\u05df\u0001\u0000\u0000\u0000\u061c\u05e6\u0001"+ + "\u0000\u0000\u0000\u061c\u05ed\u0001\u0000\u0000\u0000\u061c\u05f3\u0001"+ + "\u0000\u0000\u0000\u061c\u05f9\u0001\u0000\u0000\u0000\u061c\u05ff\u0001"+ + "\u0000\u0000\u0000\u061c\u0605\u0001\u0000\u0000\u0000\u061c\u060b\u0001"+ + "\u0000\u0000\u0000\u061c\u0611\u0001\u0000\u0000\u0000\u061d\u0104\u0001"+ + "\u0000\u0000\u0000\u061e\u061f\u0003\u007f?\u0000\u061f\u0620\u0005.\u0000"+ + "\u0000\u0620\u0621\u0005w\u0000\u0000\u0621\u0622\u0005r\u0000\u0000\u0622"+ + "\u0623\u0005a\u0000\u0000\u0623\u0624\u0005p\u0000\u0000\u0624\u0625\u0005"+ + "_\u0000\u0000\u0625\u0626\u0001\u0000\u0000\u0000\u0626\u0627\u0003\u0081"+ + "@\u0000\u0627\u06c1\u0001\u0000\u0000\u0000\u0628\u0629\u0003\u0087C\u0000"+ + "\u0629\u062a\u0005.\u0000\u0000\u062a\u062b\u0005t\u0000\u0000\u062b\u062c"+ + "\u0005r\u0000\u0000\u062c\u062d\u0005u\u0000\u0000\u062d\u062e\u0005n"+ + "\u0000\u0000\u062e\u062f\u0005c\u0000\u0000\u062f\u0630\u0005_\u0000\u0000"+ + "\u0630\u0631\u0001\u0000\u0000\u0000\u0631\u0632\u0003\u0089D\u0000\u0632"+ + "\u0633\u0003u:\u0000\u0633\u0634\u0003{=\u0000\u0634\u06c1\u0001\u0000"+ + "\u0000\u0000\u0635\u0636\u0003\u0087C\u0000\u0636\u0637\u0005.\u0000\u0000"+ + "\u0637\u0638\u0005t\u0000\u0000\u0638\u0639\u0005r\u0000\u0000\u0639\u063a"+ + "\u0005u\u0000\u0000\u063a\u063b\u0005n\u0000\u0000\u063b\u063c\u0005c"+ + "\u0000\u0000\u063c\u063d\u0005_\u0000\u0000\u063d\u063e\u0005s\u0000\u0000"+ + "\u063e\u063f\u0005a\u0000\u0000\u063f\u0640\u0005t\u0000\u0000\u0640\u0641"+ + "\u0005_\u0000\u0000\u0641\u0642\u0001\u0000\u0000\u0000\u0642\u0643\u0003"+ + "\u0089D\u0000\u0643\u0644\u0003u:\u0000\u0644\u0645\u0003{=\u0000\u0645"+ + "\u06c1\u0001\u0000\u0000\u0000\u0646\u0647\u0003\u0081@\u0000\u0647\u0648"+ + "\u0005.\u0000\u0000\u0648\u0649\u0005e\u0000\u0000\u0649\u064a\u0005x"+ + "\u0000\u0000\u064a\u064b\u0005t\u0000\u0000\u064b\u064c\u0005e\u0000\u0000"+ + "\u064c\u064d\u0005n\u0000\u0000\u064d\u064e\u0005d\u0000\u0000\u064e\u064f"+ + "\u0005_\u0000\u0000\u064f\u0650\u0001\u0000\u0000\u0000\u0650\u0651\u0003"+ + "\u007f?\u0000\u0651\u0652\u0003u:\u0000\u0652\u0653\u0003{=\u0000\u0653"+ + "\u06c1\u0001\u0000\u0000\u0000\u0654\u0655\u0003\u0089D\u0000\u0655\u0656"+ + "\u0005.\u0000\u0000\u0656\u0657\u0005c\u0000\u0000\u0657\u0658\u0005o"+ + "\u0000\u0000\u0658\u0659\u0005n\u0000\u0000\u0659\u065a\u0005v\u0000\u0000"+ + "\u065a\u065b\u0005e\u0000\u0000\u065b\u065c\u0005r\u0000\u0000\u065c\u065d"+ + "\u0005t\u0000\u0000\u065d\u065e\u0005_\u0000\u0000\u065e\u065f\u0001\u0000"+ + "\u0000\u0000\u065f\u0660\u0003\u0087C\u0000\u0660\u0661\u0003u:\u0000"+ + "\u0661\u0662\u0003{=\u0000\u0662\u06c1\u0001\u0000\u0000\u0000\u0663\u0664"+ + "\u0003\u0083A\u0000\u0664\u0665\u0005.\u0000\u0000\u0665\u0666\u0005d"+ + "\u0000\u0000\u0666\u0667\u0005e\u0000\u0000\u0667\u0668\u0005m\u0000\u0000"+ + "\u0668\u0669\u0005o\u0000\u0000\u0669\u066a\u0005t\u0000\u0000\u066a\u066b"+ + "\u0005e\u0000\u0000\u066b\u066c\u0005_\u0000\u0000\u066c\u066d\u0001\u0000"+ + "\u0000\u0000\u066d\u066e\u0003\u0085B\u0000\u066e\u06c1\u0001\u0000\u0000"+ + "\u0000\u066f\u0670\u0003\u0085B\u0000\u0670\u0671\u0005.\u0000\u0000\u0671"+ + "\u0672\u0005p\u0000\u0000\u0672\u0673\u0005r\u0000\u0000\u0673\u0674\u0005"+ + "o\u0000\u0000\u0674\u0675\u0005m\u0000\u0000\u0675\u0676\u0005o\u0000"+ + "\u0000\u0676\u0677\u0005t\u0000\u0000\u0677\u0678\u0005e\u0000\u0000\u0678"+ + "\u0679\u0005_\u0000\u0000\u0679\u067a\u0001\u0000\u0000\u0000\u067a\u067b"+ + "\u0003\u0083A\u0000\u067b\u06c1\u0001\u0000\u0000\u0000\u067c\u067d\u0003"+ + "\u0083A\u0000\u067d\u067e\u0005.\u0000\u0000\u067e\u067f\u0005r\u0000"+ + "\u0000\u067f\u0680\u0005e\u0000\u0000\u0680\u0681\u0005i\u0000\u0000\u0681"+ + "\u0682\u0005n\u0000\u0000\u0682\u0683\u0005t\u0000\u0000\u0683\u0684\u0005"+ + "e\u0000\u0000\u0684\u0685\u0005r\u0000\u0000\u0685\u0686\u0005p\u0000"+ + "\u0000\u0686\u0687\u0005r\u0000\u0000\u0687\u0688\u0005e\u0000\u0000\u0688"+ + "\u0689\u0005t\u0000\u0000\u0689\u068a\u0005_\u0000\u0000\u068a\u068b\u0001"+ + "\u0000\u0000\u0000\u068b\u068c\u0003\u007f?\u0000\u068c\u06c1\u0001\u0000"+ + "\u0000\u0000\u068d\u068e\u0003\u0085B\u0000\u068e\u068f\u0005.\u0000\u0000"+ + "\u068f\u0690\u0005r\u0000\u0000\u0690\u0691\u0005e\u0000\u0000\u0691\u0692"+ + "\u0005i\u0000\u0000\u0692\u0693\u0005n\u0000\u0000\u0693\u0694\u0005t"+ + "\u0000\u0000\u0694\u0695\u0005e\u0000\u0000\u0695\u0696\u0005r\u0000\u0000"+ + "\u0696\u0697\u0005p\u0000\u0000\u0697\u0698\u0005r\u0000\u0000\u0698\u0699"+ + "\u0005e\u0000\u0000\u0699\u069a\u0005t\u0000\u0000\u069a\u069b\u0005_"+ + "\u0000\u0000\u069b\u069c\u0001\u0000\u0000\u0000\u069c\u069d\u0003\u0081"+ + "@\u0000\u069d\u06c1\u0001\u0000\u0000\u0000\u069e\u069f\u0003\u007f?\u0000"+ + "\u069f\u06a0\u0005.\u0000\u0000\u06a0\u06a1\u0005r\u0000\u0000\u06a1\u06a2"+ + "\u0005e\u0000\u0000\u06a2\u06a3\u0005i\u0000\u0000\u06a3\u06a4\u0005n"+ + "\u0000\u0000\u06a4\u06a5\u0005t\u0000\u0000\u06a5\u06a6\u0005e\u0000\u0000"+ + "\u06a6\u06a7\u0005r\u0000\u0000\u06a7\u06a8\u0005p\u0000\u0000\u06a8\u06a9"+ + "\u0005r\u0000\u0000\u06a9\u06aa\u0005e\u0000\u0000\u06aa\u06ab\u0005t"+ + "\u0000\u0000\u06ab\u06ac\u0005_\u0000\u0000\u06ac\u06ad\u0001\u0000\u0000"+ + "\u0000\u06ad\u06ae\u0003\u0083A\u0000\u06ae\u06c1\u0001\u0000\u0000\u0000"+ + "\u06af\u06b0\u0003\u0081@\u0000\u06b0\u06b1\u0005.\u0000\u0000\u06b1\u06b2"+ + "\u0005r\u0000\u0000\u06b2\u06b3\u0005e\u0000\u0000\u06b3\u06b4\u0005i"+ + "\u0000\u0000\u06b4\u06b5\u0005n\u0000\u0000\u06b5\u06b6\u0005t\u0000\u0000"+ + "\u06b6\u06b7\u0005e\u0000\u0000\u06b7\u06b8\u0005r\u0000\u0000\u06b8\u06b9"+ + "\u0005p\u0000\u0000\u06b9\u06ba\u0005r\u0000\u0000\u06ba\u06bb\u0005e"+ + "\u0000\u0000\u06bb\u06bc\u0005t\u0000\u0000\u06bc\u06bd\u0005_\u0000\u0000"+ + "\u06bd\u06be\u0001\u0000\u0000\u0000\u06be\u06bf\u0003\u0085B\u0000\u06bf"+ + "\u06c1\u0001\u0000\u0000\u0000\u06c0\u061e\u0001\u0000\u0000\u0000\u06c0"+ + "\u0628\u0001\u0000\u0000\u0000\u06c0\u0635\u0001\u0000\u0000\u0000\u06c0"+ + "\u0646\u0001\u0000\u0000\u0000\u06c0\u0654\u0001\u0000\u0000\u0000\u06c0"+ + "\u0663\u0001\u0000\u0000\u0000\u06c0\u066f\u0001\u0000\u0000\u0000\u06c0"+ + "\u067c\u0001\u0000\u0000\u0000\u06c0\u068d\u0001\u0000\u0000\u0000\u06c0"+ + "\u069e\u0001\u0000\u0000\u0000\u06c0\u06af\u0001\u0000\u0000\u0000\u06c1"+ + "\u0106\u0001\u0000\u0000\u0000\u06c2\u06c3\u0005t\u0000\u0000\u06c3\u06c4"+ + "\u0005y\u0000\u0000\u06c4\u06c5\u0005p\u0000\u0000\u06c5\u06c6\u0005e"+ + "\u0000\u0000\u06c6\u0108\u0001\u0000\u0000\u0000\u06c7\u06c8\u0005f\u0000"+ + "\u0000\u06c8\u06c9\u0005u\u0000\u0000\u06c9\u06ca\u0005n\u0000\u0000\u06ca"+ + "\u06cb\u0005c\u0000\u0000\u06cb\u010a\u0001\u0000\u0000\u0000\u06cc\u06cd"+ + "\u0005e\u0000\u0000\u06cd\u06ce\u0005x\u0000\u0000\u06ce\u06cf\u0005t"+ + "\u0000\u0000\u06cf\u06d0\u0005e\u0000\u0000\u06d0\u06d1\u0005r\u0000\u0000"+ + "\u06d1\u06d2\u0005n\u0000\u0000\u06d2\u010c\u0001\u0000\u0000\u0000\u06d3"+ + "\u06d4\u0005s\u0000\u0000\u06d4\u06d5\u0005t\u0000\u0000\u06d5\u06d6\u0005"+ + "a\u0000\u0000\u06d6\u06d7\u0005r\u0000\u0000\u06d7\u06d8\u0005t\u0000"+ + "\u0000\u06d8\u010e\u0001\u0000\u0000\u0000\u06d9\u06da\u0005p\u0000\u0000"+ + "\u06da\u06db\u0005a\u0000\u0000\u06db\u06dc\u0005r\u0000\u0000\u06dc\u06dd"+ + "\u0005a\u0000\u0000\u06dd\u06de\u0005m\u0000\u0000\u06de\u0110\u0001\u0000"+ + "\u0000\u0000\u06df\u06e0\u0005r\u0000\u0000\u06e0\u06e1\u0005e\u0000\u0000"+ + "\u06e1\u06e2\u0005s\u0000\u0000\u06e2\u06e3\u0005u\u0000\u0000\u06e3\u06e4"+ + "\u0005l\u0000\u0000\u06e4\u06e5\u0005t\u0000\u0000\u06e5\u0112\u0001\u0000"+ + "\u0000\u0000\u06e6\u06e7\u0005l\u0000\u0000\u06e7\u06e8\u0005o\u0000\u0000"+ + "\u06e8\u06e9\u0005c\u0000\u0000\u06e9\u06ea\u0005a\u0000\u0000\u06ea\u06eb"+ + "\u0005l\u0000\u0000\u06eb\u0114\u0001\u0000\u0000\u0000\u06ec\u06ed\u0005"+ + "g\u0000\u0000\u06ed\u06ee\u0005l\u0000\u0000\u06ee\u06ef\u0005o\u0000"+ + "\u0000\u06ef\u06f0\u0005b\u0000\u0000\u06f0\u06f1\u0005a\u0000\u0000\u06f1"+ + "\u06f2\u0005l\u0000\u0000\u06f2\u0116\u0001\u0000\u0000\u0000\u06f3\u06f4"+ + "\u0005t\u0000\u0000\u06f4\u06f5\u0005a\u0000\u0000\u06f5\u06f6\u0005b"+ + "\u0000\u0000\u06f6\u06f7\u0005l\u0000\u0000\u06f7\u06f8\u0005e\u0000\u0000"+ + "\u06f8\u0118\u0001\u0000\u0000\u0000\u06f9\u06fa\u0005m\u0000\u0000\u06fa"+ + "\u06fb\u0005e\u0000\u0000\u06fb\u06fc\u0005m\u0000\u0000\u06fc\u06fd\u0005"+ + "o\u0000\u0000\u06fd\u06fe\u0005r\u0000\u0000\u06fe\u06ff\u0005y\u0000"+ + "\u0000\u06ff\u011a\u0001\u0000\u0000\u0000\u0700\u0701\u0005e\u0000\u0000"+ + "\u0701\u0702\u0005l\u0000\u0000\u0702\u0703\u0005e\u0000\u0000\u0703\u0704"+ + "\u0005m\u0000\u0000\u0704\u011c\u0001\u0000\u0000\u0000\u0705\u0706\u0005"+ + "d\u0000\u0000\u0706\u0707\u0005a\u0000\u0000\u0707\u0708\u0005t\u0000"+ + "\u0000\u0708\u0709\u0005a\u0000\u0000\u0709\u011e\u0001\u0000\u0000\u0000"+ + "\u070a\u070b\u0005o\u0000\u0000\u070b\u070c\u0005f\u0000\u0000\u070c\u070d"+ + "\u0005f\u0000\u0000\u070d\u070e\u0005s\u0000\u0000\u070e\u070f\u0005e"+ + "\u0000\u0000\u070f\u0710\u0005t\u0000\u0000\u0710\u0120\u0001\u0000\u0000"+ + "\u0000\u0711\u0712\u0005i\u0000\u0000\u0712\u0713\u0005m\u0000\u0000\u0713"+ + "\u0714\u0005p\u0000\u0000\u0714\u0715\u0005o\u0000\u0000\u0715\u0716\u0005"+ + "r\u0000\u0000\u0716\u0717\u0005t\u0000\u0000\u0717\u0122\u0001\u0000\u0000"+ + "\u0000\u0718\u0719\u0005e\u0000\u0000\u0719\u071a\u0005x\u0000\u0000\u071a"+ + "\u071b\u0005p\u0000\u0000\u071b\u071c\u0005o\u0000\u0000\u071c\u071d\u0005"+ + "r\u0000\u0000\u071d\u071e\u0005t\u0000\u0000\u071e\u0124\u0001\u0000\u0000"+ + "\u0000\u071f\u0720\u0005t\u0000\u0000\u0720\u0721\u0005a\u0000\u0000\u0721"+ + "\u0722\u0005g\u0000\u0000\u0722\u0126\u0001\u0000\u0000\u0000\u0723\u0724"+ + "\u0005d\u0000\u0000\u0724\u0725\u0005e\u0000\u0000\u0725\u0726\u0005c"+ + "\u0000\u0000\u0726\u0727\u0005l\u0000\u0000\u0727\u0728\u0005a\u0000\u0000"+ + "\u0728\u0729\u0005r\u0000\u0000\u0729\u072a\u0005e\u0000\u0000\u072a\u0128"+ + "\u0001\u0000\u0000\u0000\u072b\u072c\u0005m\u0000\u0000\u072c\u072d\u0005"+ + "o\u0000\u0000\u072d\u072e\u0005d\u0000\u0000\u072e\u072f\u0005u\u0000"+ + "\u0000\u072f\u0730\u0005l\u0000\u0000\u0730\u0731\u0005e\u0000\u0000\u0731"+ + "\u012a\u0001\u0000\u0000\u0000\u0732\u0733\u0005b\u0000\u0000\u0733\u0734"+ + "\u0005i\u0000\u0000\u0734\u0735\u0005n\u0000\u0000\u0735\u0736\u0005a"+ + "\u0000\u0000\u0736\u0737\u0005r\u0000\u0000\u0737\u0738\u0005y\u0000\u0000"+ + "\u0738\u012c\u0001\u0000\u0000\u0000\u0739\u073a\u0005q\u0000\u0000\u073a"+ + "\u073b\u0005u\u0000\u0000\u073b\u073c\u0005o\u0000\u0000\u073c\u073d\u0005"+ + "t\u0000\u0000\u073d\u073e\u0005e\u0000\u0000\u073e\u012e\u0001\u0000\u0000"+ + "\u0000\u073f\u0740\u0005d\u0000\u0000\u0740\u0741\u0005e\u0000\u0000\u0741"+ + "\u0742\u0005f\u0000\u0000\u0742\u0743\u0005i\u0000\u0000\u0743\u0744\u0005"+ + "n\u0000\u0000\u0744\u0745\u0005i\u0000\u0000\u0745\u0746\u0005t\u0000"+ + "\u0000\u0746\u0747\u0005i\u0000\u0000\u0747\u0748\u0005o\u0000\u0000\u0748"+ + "\u0749\u0005n\u0000\u0000\u0749\u0130\u0001\u0000\u0000\u0000\u074a\u074b"+ + "\u0005i\u0000\u0000\u074b\u074c\u0005n\u0000\u0000\u074c\u074d\u0005s"+ + "\u0000\u0000\u074d\u074e\u0005t\u0000\u0000\u074e\u074f\u0005a\u0000\u0000"+ + "\u074f\u0750\u0005n\u0000\u0000\u0750\u0751\u0005c\u0000\u0000\u0751\u0752"+ + "\u0005e\u0000\u0000\u0752\u0132\u0001\u0000\u0000\u0000\u0753\u0754\u0005"+ + "s\u0000\u0000\u0754\u0755\u0005c\u0000\u0000\u0755\u0756\u0005r\u0000"+ + "\u0000\u0756\u0757\u0005i\u0000\u0000\u0757\u0758\u0005p\u0000\u0000\u0758"+ + "\u0759\u0005t\u0000\u0000\u0759\u0134\u0001\u0000\u0000\u0000\u075a\u075b"+ + "\u0005r\u0000\u0000\u075b\u075c\u0005e\u0000\u0000\u075c\u075d\u0005g"+ + "\u0000\u0000\u075d\u075e\u0005i\u0000\u0000\u075e\u075f\u0005s\u0000\u0000"+ + "\u075f\u0760\u0005t\u0000\u0000\u0760\u0761\u0005e\u0000\u0000\u0761\u0762"+ + "\u0005r\u0000\u0000\u0762\u0136\u0001\u0000\u0000\u0000\u0763\u0764\u0005"+ + "i\u0000\u0000\u0764\u0765\u0005n\u0000\u0000\u0765\u0766\u0005v\u0000"+ + "\u0000\u0766\u0767\u0005o\u0000\u0000\u0767\u0768\u0005k\u0000\u0000\u0768"+ + "\u0769\u0005e\u0000\u0000\u0769\u0138\u0001\u0000\u0000\u0000\u076a\u076b"+ + "\u0005g\u0000\u0000\u076b\u076c\u0005e\u0000\u0000\u076c\u076d\u0005t"+ + "\u0000\u0000\u076d\u013a\u0001\u0000\u0000\u0000\u076e\u076f\u0005a\u0000"+ + "\u0000\u076f\u0770\u0005s\u0000\u0000\u0770\u0771\u0005s\u0000\u0000\u0771"+ + "\u0772\u0005e\u0000\u0000\u0772\u0773\u0005r\u0000\u0000\u0773\u0774\u0005"+ + "t\u0000\u0000\u0774\u0775\u0005_\u0000\u0000\u0775\u0776\u0005m\u0000"+ + "\u0000\u0776\u0777\u0005a\u0000\u0000\u0777\u0778\u0005l\u0000\u0000\u0778"+ + "\u0779\u0005f\u0000\u0000\u0779\u077a\u0005o\u0000\u0000\u077a\u077b\u0005"+ + "r\u0000\u0000\u077b\u077c\u0005m\u0000\u0000\u077c\u077d\u0005e\u0000"+ + "\u0000\u077d\u077e\u0005d\u0000\u0000\u077e\u013c\u0001\u0000\u0000\u0000"+ + "\u077f\u0780\u0005a\u0000\u0000\u0780\u0781\u0005s\u0000\u0000\u0781\u0782"+ + "\u0005s\u0000\u0000\u0782\u0783\u0005e\u0000\u0000\u0783\u0784\u0005r"+ + "\u0000\u0000\u0784\u0785\u0005t\u0000\u0000\u0785\u0786\u0005_\u0000\u0000"+ + "\u0786\u0787\u0005i\u0000\u0000\u0787\u0788\u0005n\u0000\u0000\u0788\u0789"+ + "\u0005v\u0000\u0000\u0789\u078a\u0005a\u0000\u0000\u078a\u078b\u0005l"+ + "\u0000\u0000\u078b\u078c\u0005i\u0000\u0000\u078c\u078d\u0005d\u0000\u0000"+ + "\u078d\u013e\u0001\u0000\u0000\u0000\u078e\u078f\u0005a\u0000\u0000\u078f"+ + "\u0790\u0005s\u0000\u0000\u0790\u0791\u0005s\u0000\u0000\u0791\u0792\u0005"+ + "e\u0000\u0000\u0792\u0793\u0005r\u0000\u0000\u0793\u0794\u0005t\u0000"+ + "\u0000\u0794\u0795\u0005_\u0000\u0000\u0795\u0796\u0005u\u0000\u0000\u0796"+ + "\u0797\u0005n\u0000\u0000\u0797\u0798\u0005l\u0000\u0000\u0798\u0799\u0005"+ + "i\u0000\u0000\u0799\u079a\u0005n\u0000\u0000\u079a\u079b\u0005k\u0000"+ + "\u0000\u079b\u079c\u0005a\u0000\u0000\u079c\u079d\u0005b\u0000\u0000\u079d"+ + "\u079e\u0005l\u0000\u0000\u079e\u079f\u0005e\u0000\u0000\u079f\u0140\u0001"+ + "\u0000\u0000\u0000\u07a0\u07a1\u0005a\u0000\u0000\u07a1\u07a2\u0005s\u0000"+ + "\u0000\u07a2\u07a3\u0005s\u0000\u0000\u07a3\u07a4\u0005e\u0000\u0000\u07a4"+ + "\u07a5\u0005r\u0000\u0000\u07a5\u07a6\u0005t\u0000\u0000\u07a6\u07a7\u0005"+ + "_\u0000\u0000\u07a7\u07a8\u0005r\u0000\u0000\u07a8\u07a9\u0005e\u0000"+ + "\u0000\u07a9\u07aa\u0005t\u0000\u0000\u07aa\u07ab\u0005u\u0000\u0000\u07ab"+ + "\u07ac\u0005r\u0000\u0000\u07ac\u07ad\u0005n\u0000\u0000\u07ad\u0142\u0001"+ + "\u0000\u0000\u0000\u07ae\u07af\u0005a\u0000\u0000\u07af\u07b0\u0005s\u0000"+ + "\u0000\u07b0\u07b1\u0005s\u0000\u0000\u07b1\u07b2\u0005e\u0000\u0000\u07b2"+ + "\u07b3\u0005r\u0000\u0000\u07b3\u07b4\u0005t\u0000\u0000\u07b4\u07b5\u0005"+ + "_\u0000\u0000\u07b5\u07b6\u0005r\u0000\u0000\u07b6\u07b7\u0005e\u0000"+ + "\u0000\u07b7\u07b8\u0005t\u0000\u0000\u07b8\u07b9\u0005u\u0000\u0000\u07b9"+ + "\u07ba\u0005r\u0000\u0000\u07ba\u07bb\u0005n\u0000\u0000\u07bb\u07bc\u0005"+ + "_\u0000\u0000\u07bc\u07bd\u0005c\u0000\u0000\u07bd\u07be\u0005a\u0000"+ + "\u0000\u07be\u07bf\u0005n\u0000\u0000\u07bf\u07c0\u0005o\u0000\u0000\u07c0"+ + "\u07c1\u0005n\u0000\u0000\u07c1\u07c2\u0005i\u0000\u0000\u07c2\u07c3\u0005"+ + "c\u0000\u0000\u07c3\u07c4\u0005a\u0000\u0000\u07c4\u07c5\u0005l\u0000"+ + "\u0000\u07c5\u07c6\u0005_\u0000\u0000\u07c6\u07c7\u0005n\u0000\u0000\u07c7"+ + "\u07c8\u0005a\u0000\u0000\u07c8\u07c9\u0005n\u0000\u0000\u07c9\u0144\u0001"+ + "\u0000\u0000\u0000\u07ca\u07cb\u0005a\u0000\u0000\u07cb\u07cc\u0005s\u0000"+ + "\u0000\u07cc\u07cd\u0005s\u0000\u0000\u07cd\u07ce\u0005e\u0000\u0000\u07ce"+ + "\u07cf\u0005r\u0000\u0000\u07cf\u07d0\u0005t\u0000\u0000\u07d0\u07d1\u0005"+ + "_\u0000\u0000\u07d1\u07d2\u0005r\u0000\u0000\u07d2\u07d3\u0005e\u0000"+ + "\u0000\u07d3\u07d4\u0005t\u0000\u0000\u07d4\u07d5\u0005u\u0000\u0000\u07d5"+ + "\u07d6\u0005r\u0000\u0000\u07d6\u07d7\u0005n\u0000\u0000\u07d7\u07d8\u0005"+ + "_\u0000\u0000\u07d8\u07d9\u0005a\u0000\u0000\u07d9\u07da\u0005r\u0000"+ + "\u0000\u07da\u07db\u0005i\u0000\u0000\u07db\u07dc\u0005t\u0000\u0000\u07dc"+ + "\u07dd\u0005h\u0000\u0000\u07dd\u07de\u0005m\u0000\u0000\u07de\u07df\u0005"+ + "e\u0000\u0000\u07df\u07e0\u0005t\u0000\u0000\u07e0\u07e1\u0005i\u0000"+ + "\u0000\u07e1\u07e2\u0005c\u0000\u0000\u07e2\u07e3\u0005_\u0000\u0000\u07e3"+ + "\u07e4\u0005n\u0000\u0000\u07e4\u07e5\u0005a\u0000\u0000\u07e5\u07e6\u0005"+ + "n\u0000\u0000\u07e6\u0146\u0001\u0000\u0000\u0000\u07e7\u07e8\u0005a\u0000"+ + "\u0000\u07e8\u07e9\u0005s\u0000\u0000\u07e9\u07ea\u0005s\u0000\u0000\u07ea"+ + "\u07eb\u0005e\u0000\u0000\u07eb\u07ec\u0005r\u0000\u0000\u07ec\u07ed\u0005"+ + "t\u0000\u0000\u07ed\u07ee\u0005_\u0000\u0000\u07ee\u07ef\u0005t\u0000"+ + "\u0000\u07ef\u07f0\u0005r\u0000\u0000\u07f0\u07f1\u0005a\u0000\u0000\u07f1"+ + "\u07f2\u0005p\u0000\u0000\u07f2\u0148\u0001\u0000\u0000\u0000\u07f3\u07f4"+ + "\u0005a\u0000\u0000\u07f4\u07f5\u0005s\u0000\u0000\u07f5\u07f6\u0005s"+ + "\u0000\u0000\u07f6\u07f7\u0005e\u0000\u0000\u07f7\u07f8\u0005r\u0000\u0000"+ + "\u07f8\u07f9\u0005t\u0000\u0000\u07f9\u07fa\u0005_\u0000\u0000\u07fa\u07fb"+ + "\u0005e\u0000\u0000\u07fb\u07fc\u0005x\u0000\u0000\u07fc\u07fd\u0005h"+ + "\u0000\u0000\u07fd\u07fe\u0005a\u0000\u0000\u07fe\u07ff\u0005u\u0000\u0000"+ + "\u07ff\u0800\u0005s\u0000\u0000\u0800\u0801\u0005t\u0000\u0000\u0801\u0802"+ + "\u0005i\u0000\u0000\u0802\u0803\u0005o\u0000\u0000\u0803\u0804\u0005n"+ + "\u0000\u0000\u0804\u014a\u0001\u0000\u0000\u0000\u0805\u0806\u0005i\u0000"+ + "\u0000\u0806\u0807\u0005n\u0000\u0000\u0807\u0808\u0005p\u0000\u0000\u0808"+ + "\u0809\u0005u\u0000\u0000\u0809\u080a\u0005t\u0000\u0000\u080a\u014c\u0001"+ + "\u0000\u0000\u0000\u080b\u080c\u0005o\u0000\u0000\u080c\u080d\u0005u\u0000"+ + "\u0000\u080d\u080e\u0005t\u0000\u0000\u080e\u080f\u0005p\u0000\u0000\u080f"+ + "\u0810\u0005u\u0000\u0000\u0810\u0811\u0005t\u0000\u0000\u0811\u014e\u0001"+ + "\u0000\u0000\u0000\u0812\u0813\u0003\u0171\u00b8\u0000\u0813\u0150\u0001"+ + "\u0000\u0000\u0000\u0814\u0815\u0005v\u0000\u0000\u0815\u0816\u00051\u0000"+ + "\u0000\u0816\u0817\u00052\u0000\u0000\u0817\u0818\u00058\u0000\u0000\u0818"+ + "\u0152\u0001\u0000\u0000\u0000\u0819\u081b\u0007\u0001\u0000\u0000\u081a"+ + "\u0819\u0001\u0000\u0000\u0000\u081b\u081c\u0001\u0000\u0000\u0000\u081c"+ + "\u081a\u0001\u0000\u0000\u0000\u081c\u081d\u0001\u0000\u0000\u0000\u081d"+ + "\u081e\u0001\u0000\u0000\u0000\u081e\u081f\u0006\u00a9\u0000\u0000\u081f"+ + "\u0154\u0001\u0000\u0000\u0000\u0820\u0821\u0005(\u0000\u0000\u0821\u0822"+ + "\u0005;\u0000\u0000\u0822\u0826\u0001\u0000\u0000\u0000\u0823\u0825\t"+ + "\u0000\u0000\u0000\u0824\u0823\u0001\u0000\u0000\u0000\u0825\u0828\u0001"+ + "\u0000\u0000\u0000\u0826\u0827\u0001\u0000\u0000\u0000\u0826\u0824\u0001"+ + "\u0000\u0000\u0000\u0827\u0829\u0001\u0000\u0000\u0000\u0828\u0826\u0001"+ + "\u0000\u0000\u0000\u0829\u082a\u0005;\u0000\u0000\u082a\u0836\u0005)\u0000"+ + "\u0000\u082b\u082c\u0005;\u0000\u0000\u082c\u082d\u0005;\u0000\u0000\u082d"+ + "\u0831\u0001\u0000\u0000\u0000\u082e\u0830\t\u0000\u0000\u0000\u082f\u082e"+ + "\u0001\u0000\u0000\u0000\u0830\u0833\u0001\u0000\u0000\u0000\u0831\u0832"+ + "\u0001\u0000\u0000\u0000\u0831\u082f\u0001\u0000\u0000\u0000\u0832\u0834"+ + "\u0001\u0000\u0000\u0000\u0833\u0831\u0001\u0000\u0000\u0000\u0834\u0836"+ + "\u0005\n\u0000\u0000\u0835\u0820\u0001\u0000\u0000\u0000\u0835\u082b\u0001"+ + "\u0000\u0000\u0000\u0836\u0837\u0001\u0000\u0000\u0000\u0837\u0838\u0006"+ + "\u00aa\u0000\u0000\u0838\u0156\u0001\u0000\u0000\u0000\u0839\u083a\u0007"+ + "\u0002\u0000\u0000\u083a\u0158\u0001\u0000\u0000\u0000\u083b\u0842\u0003"+ + "\u015f\u00af\u0000\u083c\u083e\u0005_\u0000\u0000\u083d\u083c\u0001\u0000"+ + "\u0000\u0000\u083d\u083e\u0001\u0000\u0000\u0000\u083e\u083f\u0001\u0000"+ + "\u0000\u0000\u083f\u0841\u0003\u015f\u00af\u0000\u0840\u083d\u0001\u0000"+ + "\u0000\u0000\u0841\u0844\u0001\u0000\u0000\u0000\u0842\u0840\u0001\u0000"+ + "\u0000\u0000\u0842\u0843\u0001\u0000\u0000\u0000\u0843\u015a\u0001\u0000"+ + "\u0000\u0000\u0844\u0842\u0001\u0000\u0000\u0000\u0845\u084c\u0003\u0161"+ + "\u00b0\u0000\u0846\u0848\u0005_\u0000\u0000\u0847\u0846\u0001\u0000\u0000"+ + "\u0000\u0847\u0848\u0001\u0000\u0000\u0000\u0848\u0849\u0001\u0000\u0000"+ + "\u0000\u0849\u084b\u0003\u0161\u00b0\u0000\u084a\u0847\u0001\u0000\u0000"+ + "\u0000\u084b\u084e\u0001\u0000\u0000\u0000\u084c\u084a\u0001\u0000\u0000"+ + "\u0000\u084c\u084d\u0001\u0000\u0000\u0000\u084d\u015c\u0001\u0000\u0000"+ + "\u0000\u084e\u084c\u0001\u0000\u0000\u0000\u084f\u0850\u0007\u0003\u0000"+ + "\u0000\u0850\u015e\u0001\u0000\u0000\u0000\u0851\u0852\u0007\u0004\u0000"+ + "\u0000\u0852\u0160\u0001\u0000\u0000\u0000\u0853\u0854\u0007\u0005\u0000"+ + "\u0000\u0854\u0162\u0001\u0000\u0000\u0000\u0855\u0856\u0007\u0006\u0000"+ + "\u0000\u0856\u0164\u0001\u0000\u0000\u0000\u0857\u085d\u0003\u0159\u00ac"+ + "\u0000\u0858\u0859\u00050\u0000\u0000\u0859\u085a\u0005x\u0000\u0000\u085a"+ + "\u085b\u0001\u0000\u0000\u0000\u085b\u085d\u0003\u015b\u00ad\u0000\u085c"+ + "\u0857\u0001\u0000\u0000\u0000\u085c\u0858\u0001\u0000\u0000\u0000\u085d"+ + "\u0166\u0001\u0000\u0000\u0000\u085e\u085f\u0003\u015d\u00ae\u0000\u085f"+ + "\u0860\u0003\u0165\u00b2\u0000\u0860\u0168\u0001\u0000\u0000\u0000\u0861"+ + "\u0862\u0003\u0159\u00ac\u0000\u0862\u016a\u0001\u0000\u0000\u0000\u0863"+ + "\u0864\u0003\u015b\u00ad\u0000\u0864\u016c\u0001\u0000\u0000\u0000\u0865"+ + "\u0867\u0003\u015d\u00ae\u0000\u0866\u0865\u0001\u0000\u0000\u0000\u0866"+ + "\u0867\u0001\u0000\u0000\u0000\u0867\u0868\u0001\u0000\u0000\u0000\u0868"+ + "\u0869\u0003\u0159\u00ac\u0000\u0869\u086b\u0005.\u0000\u0000\u086a\u086c"+ + "\u0003\u0169\u00b4\u0000\u086b\u086a\u0001\u0000\u0000\u0000\u086b\u086c"+ + "\u0001\u0000\u0000\u0000\u086c\u08b4\u0001\u0000\u0000\u0000\u086d\u086f"+ + "\u0003\u015d\u00ae\u0000\u086e\u086d\u0001\u0000\u0000\u0000\u086e\u086f"+ + "\u0001\u0000\u0000\u0000\u086f\u0870\u0001\u0000\u0000\u0000\u0870\u0875"+ + "\u0003\u0159\u00ac\u0000\u0871\u0873\u0005.\u0000\u0000\u0872\u0874\u0003"+ + "\u0169\u00b4\u0000\u0873\u0872\u0001\u0000\u0000\u0000\u0873\u0874\u0001"+ + "\u0000\u0000\u0000\u0874\u0876\u0001\u0000\u0000\u0000\u0875\u0871\u0001"+ + "\u0000\u0000\u0000\u0875\u0876\u0001\u0000\u0000\u0000\u0876\u0877\u0001"+ + "\u0000\u0000\u0000\u0877\u0879\u0007\u0007\u0000\u0000\u0878\u087a\u0003"+ + "\u015d\u00ae\u0000\u0879\u0878\u0001\u0000\u0000\u0000\u0879\u087a\u0001"+ + "\u0000\u0000\u0000\u087a\u087b\u0001\u0000\u0000\u0000\u087b\u087c\u0003"+ + "\u0159\u00ac\u0000\u087c\u08b4\u0001\u0000\u0000\u0000\u087d\u087f\u0003"+ + "\u015d\u00ae\u0000\u087e\u087d\u0001\u0000\u0000\u0000\u087e\u087f\u0001"+ + "\u0000\u0000\u0000\u087f\u0880\u0001\u0000\u0000\u0000\u0880\u0881\u0005"+ + "0\u0000\u0000\u0881\u0882\u0005x\u0000\u0000\u0882\u0883\u0001\u0000\u0000"+ + "\u0000\u0883\u0884\u0003\u015b\u00ad\u0000\u0884\u0886\u0005.\u0000\u0000"+ + "\u0885\u0887\u0003\u016b\u00b5\u0000\u0886\u0885\u0001\u0000\u0000\u0000"+ + "\u0886\u0887\u0001\u0000\u0000\u0000\u0887\u08b4\u0001\u0000\u0000\u0000"+ + "\u0888\u088a\u0003\u015d\u00ae\u0000\u0889\u0888\u0001\u0000\u0000\u0000"+ + "\u0889\u088a\u0001\u0000\u0000\u0000\u088a\u088b\u0001\u0000\u0000\u0000"+ + "\u088b\u088c\u00050\u0000\u0000\u088c\u088d\u0005x\u0000\u0000\u088d\u088e"+ + "\u0001\u0000\u0000\u0000\u088e\u0893\u0003\u015b\u00ad\u0000\u088f\u0891"+ + "\u0005.\u0000\u0000\u0890\u0892\u0003\u016b\u00b5\u0000\u0891\u0890\u0001"+ + "\u0000\u0000\u0000\u0891\u0892\u0001\u0000\u0000\u0000\u0892\u0894\u0001"+ + "\u0000\u0000\u0000\u0893\u088f\u0001\u0000\u0000\u0000\u0893\u0894\u0001"+ + "\u0000\u0000\u0000\u0894\u0895\u0001\u0000\u0000\u0000\u0895\u0897\u0007"+ + "\b\u0000\u0000\u0896\u0898\u0003\u015d\u00ae\u0000\u0897\u0896\u0001\u0000"+ + "\u0000\u0000\u0897\u0898\u0001\u0000\u0000\u0000\u0898\u0899\u0001\u0000"+ + "\u0000\u0000\u0899\u089a\u0003\u0159\u00ac\u0000\u089a\u08b4\u0001\u0000"+ + "\u0000\u0000\u089b\u089d\u0003\u015d\u00ae\u0000\u089c\u089b\u0001\u0000"+ + "\u0000\u0000\u089c\u089d\u0001\u0000\u0000\u0000\u089d\u089e\u0001\u0000"+ + "\u0000\u0000\u089e\u089f\u0005i\u0000\u0000\u089f\u08a0\u0005n\u0000\u0000"+ + "\u08a0\u08b4\u0005f\u0000\u0000\u08a1\u08a3\u0003\u015d\u00ae\u0000\u08a2"+ + "\u08a1\u0001\u0000\u0000\u0000\u08a2\u08a3\u0001\u0000\u0000\u0000\u08a3"+ + "\u08a4\u0001\u0000\u0000\u0000\u08a4\u08a5\u0005n\u0000\u0000\u08a5\u08a6"+ + "\u0005a\u0000\u0000\u08a6\u08b4\u0005n\u0000\u0000\u08a7\u08a9\u0003\u015d"+ + "\u00ae\u0000\u08a8\u08a7\u0001\u0000\u0000\u0000\u08a8\u08a9\u0001\u0000"+ + "\u0000\u0000\u08a9\u08aa\u0001\u0000\u0000\u0000\u08aa\u08ab\u0005n\u0000"+ + "\u0000\u08ab\u08ac\u0005a\u0000\u0000\u08ac\u08ad\u0005n\u0000\u0000\u08ad"+ + "\u08ae\u0005:\u0000\u0000\u08ae\u08af\u0001\u0000\u0000\u0000\u08af\u08b0"+ + "\u00050\u0000\u0000\u08b0\u08b1\u0005x\u0000\u0000\u08b1\u08b2\u0001\u0000"+ + "\u0000\u0000\u08b2\u08b4\u0003\u015b\u00ad\u0000\u08b3\u0866\u0001\u0000"+ + "\u0000\u0000\u08b3\u086e\u0001\u0000\u0000\u0000\u08b3\u087e\u0001\u0000"+ + "\u0000\u0000\u08b3\u0889\u0001\u0000\u0000\u0000\u08b3\u089c\u0001\u0000"+ + "\u0000\u0000\u08b3\u08a2\u0001\u0000\u0000\u0000\u08b3\u08a8\u0001\u0000"+ + "\u0000\u0000\u08b4\u016e\u0001\u0000\u0000\u0000\u08b5\u08c9\u0005\"\u0000"+ + "\u0000\u08b6\u08c8\u0003\u0177\u00bb\u0000\u08b7\u08c8\u0007\t\u0000\u0000"+ + "\u08b8\u08b9\u0005\\\u0000\u0000\u08b9\u08ba\u0003\u0161\u00b0\u0000\u08ba"+ + "\u08bb\u0003\u0161\u00b0\u0000\u08bb\u08c8\u0001\u0000\u0000\u0000\u08bc"+ + "\u08bd\u0005\\\u0000\u0000\u08bd\u08be\u0005u\u0000\u0000\u08be\u08bf"+ + "\u0005{\u0000\u0000\u08bf\u08c1\u0001\u0000\u0000\u0000\u08c0\u08c2\u0003"+ + "\u0161\u00b0\u0000\u08c1\u08c0\u0001\u0000\u0000\u0000\u08c2\u08c3\u0001"+ + "\u0000\u0000\u0000\u08c3\u08c1\u0001\u0000\u0000\u0000\u08c3\u08c4\u0001"+ + "\u0000\u0000\u0000\u08c4\u08c5\u0001\u0000\u0000\u0000\u08c5\u08c6\u0005"+ + "}\u0000\u0000\u08c6\u08c8\u0001\u0000\u0000\u0000\u08c7\u08b6\u0001\u0000"+ + "\u0000\u0000\u08c7\u08b7\u0001\u0000\u0000\u0000\u08c7\u08b8\u0001\u0000"+ + "\u0000\u0000\u08c7\u08bc\u0001\u0000\u0000\u0000\u08c8\u08cb\u0001\u0000"+ + "\u0000\u0000\u08c9\u08c7\u0001\u0000\u0000\u0000\u08c9\u08ca\u0001\u0000"+ + "\u0000\u0000\u08ca\u08cc\u0001\u0000\u0000\u0000\u08cb\u08c9\u0001\u0000"+ + "\u0000\u0000\u08cc\u08cd\u0005\"\u0000\u0000\u08cd\u0170\u0001\u0000\u0000"+ + "\u0000\u08ce\u08d3\u0005$\u0000\u0000\u08cf\u08d4\u0003\u0163\u00b1\u0000"+ + "\u08d0\u08d4\u0003\u015f\u00af\u0000\u08d1\u08d4\u0005_\u0000\u0000\u08d2"+ + "\u08d4\u0003\u0157\u00ab\u0000\u08d3\u08cf\u0001\u0000\u0000\u0000\u08d3"+ + "\u08d0\u0001\u0000\u0000\u0000\u08d3\u08d1\u0001\u0000\u0000\u0000\u08d3"+ + "\u08d2\u0001\u0000\u0000\u0000\u08d4\u08d5\u0001\u0000\u0000\u0000\u08d5"+ + "\u08d3\u0001\u0000\u0000\u0000\u08d5\u08d6\u0001\u0000\u0000\u0000\u08d6"+ + "\u0172\u0001\u0000\u0000\u0000\u08d7\u08d8\u0007\n\u0000\u0000\u08d8\u0174"+ + "\u0001\u0000\u0000\u0000\u08d9\u08dc\u0003\u0087C\u0000\u08da\u08dc\u0003"+ + "\u0089D\u0000\u08db\u08d9\u0001\u0000\u0000\u0000\u08db\u08da\u0001\u0000"+ + "\u0000\u0000\u08dc\u0176\u0001\u0000\u0000\u0000\u08dd\u08de\b\u000b\u0000"+ + "\u0000\u08de\u0178\u0001\u0000\u0000\u0000\u08df\u08e0\u0007\f\u0000\u0000"+ + "\u08e0\u017a\u0001\u0000\u0000\u0000\u08e1\u08e2\u0007\r\u0000\u0000\u08e2"+ + "\u017c\u0001\u0000\u0000\u0000\u08e3\u08e4\u0007\u000e\u0000\u0000\u08e4"+ + "\u017e\u0001\u0000\u0000\u0000\u08e5\u08e8\u0003\u0179\u00bc\u0000\u08e6"+ + "\u08e8\u0003\u0183\u00c1\u0000\u08e7\u08e5\u0001\u0000\u0000\u0000\u08e7"+ + "\u08e6\u0001\u0000\u0000\u0000\u08e8\u0180\u0001\u0000\u0000\u0000\u08e9"+ + "\u08ec\u0003\u017b\u00bd\u0000\u08ea\u08ec\u0003\u0183\u00c1\u0000\u08eb"+ + "\u08e9\u0001\u0000\u0000\u0000\u08eb\u08ea\u0001\u0000\u0000\u0000\u08ec"+ + "\u0182\u0001\u0000\u0000\u0000\u08ed\u08ee\u0007\u000f\u0000\u0000\u08ee"+ + "\u0909\u0003\u017d\u00be\u0000\u08ef\u08f0\u0007\u0010\u0000\u0000\u08f0"+ + "\u08f1\u0007\u0011\u0000\u0000\u08f1\u0909\u0003\u017d\u00be\u0000\u08f2"+ + "\u08f3\u0007\u0012\u0000\u0000\u08f3\u08f4\u0007\u0013\u0000\u0000\u08f4"+ + "\u0909\u0003\u017d\u00be\u0000\u08f5\u08f6\u0007\u0014\u0000\u0000\u08f6"+ + "\u08f7\u0003\u017d\u00be\u0000\u08f7\u08f8\u0003\u017d\u00be\u0000\u08f8"+ + "\u0909\u0001\u0000\u0000\u0000\u08f9\u08fa\u0007\u0015\u0000\u0000\u08fa"+ + "\u08fb\u0007\u0016\u0000\u0000\u08fb\u08fc\u0003\u017d\u00be\u0000\u08fc"+ + "\u08fd\u0003\u017d\u00be\u0000\u08fd\u0909\u0001\u0000\u0000\u0000\u08fe"+ + "\u08ff\u0007\u0017\u0000\u0000\u08ff\u0900\u0007\u0018\u0000\u0000\u0900"+ + "\u0901\u0003\u017d\u00be\u0000\u0901\u0902\u0003\u017d\u00be\u0000\u0902"+ + "\u0909\u0001\u0000\u0000\u0000\u0903\u0904\u0007\u0019\u0000\u0000\u0904"+ + "\u0905\u0003\u017d\u00be\u0000\u0905\u0906\u0003\u017d\u00be\u0000\u0906"+ + "\u0907\u0003\u017d\u00be\u0000\u0907\u0909\u0001\u0000\u0000\u0000\u0908"+ + "\u08ed\u0001\u0000\u0000\u0000\u0908\u08ef\u0001\u0000\u0000\u0000\u0908"+ + "\u08f2\u0001\u0000\u0000\u0000\u0908\u08f5\u0001\u0000\u0000\u0000\u0908"+ + "\u08f9\u0001\u0000\u0000\u0000\u0908\u08fe\u0001\u0000\u0000\u0000\u0908"+ + "\u0903\u0001\u0000\u0000\u0000\u0909\u0184\u0001\u0000\u0000\u0000,\u0000"+ + "\u030e\u0318\u0334\u0348\u034c\u0539\u0584\u061c\u06c0\u081c\u0826\u0831"+ + "\u0835\u083d\u0842\u0847\u084c\u085c\u0866\u086b\u086e\u0873\u0875\u0879"+ + "\u087e\u0886\u0889\u0891\u0893\u0897\u089c\u08a2\u08a8\u08b3\u08c3\u08c7"+ + "\u08c9\u08d3\u08d5\u08db\u08e7\u08eb\u0908\u0001\u0006\u0000\u0000"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/wasm/WatParser.java b/src/main/java/wasm/WatParser.java index 44773b4..690c52f 100644 --- a/src/main/java/wasm/WatParser.java +++ b/src/main/java/wasm/WatParser.java @@ -20,65 +20,66 @@ public class WatParser extends Parser { LPAR=1, RPAR=2, NAT=3, INT=4, FLOAT=5, STRING_=6, VALUE_TYPE=7, CONST=8, SYMBOLIC=9, FUNCREF=10, EXTERNREF=11, MUT=12, REF=13, CONT=14, NULL=15, NOP=16, SYM_ASSERT=17, ALLOC=18, FREE=19, UNREACHABLE=20, DROP=21, BLOCK=22, - LOOP=23, END=24, BR=25, BR_IF=26, BR_TABLE=27, RETURN=28, IF=29, THEN=30, - ELSE=31, SELECT=32, CALL=33, CALL_INDIRECT=34, RETURN_CALL=35, RETURN_CALL_INDIRECT=36, - REFFUNC=37, CALLREF=38, RESUME=39, ON=40, CONTNEW=41, CONTBIND=42, SUSPEND=43, - REFNULL=44, REFISNULL=45, TRY=46, CATCH=47, THROW=48, RESUME0=49, LOCAL_GET=50, - LOCAL_SET=51, LOCAL_TEE=52, GLOBAL_GET=53, GLOBAL_SET=54, LOAD=55, STORE=56, - UNDERSCORE=57, OFFSET_EQ=58, ALIGN_EQ=59, SIGN_POSTFIX=60, MEM_SIZE=61, - I32=62, I64=63, F32=64, F64=65, IXX=66, FXX=67, OP_EQZ=68, OP_EQ=69, OP_NE=70, - OP_LT=71, OP_LTS=72, OP_LTU=73, OP_LE=74, OP_LES=75, OP_LEU=76, OP_GT=77, - OP_GTS=78, OP_GTU=79, OP_GE=80, OP_GES=81, OP_GEU=82, OP_CLZ=83, OP_CTZ=84, - OP_POPCNT=85, OP_NEG=86, OP_ABS=87, OP_SQRT=88, OP_CEIL=89, OP_FLOOR=90, - OP_TRUNC=91, OP_NEAREST=92, OP_ADD=93, OP_SUB=94, OP_MUL=95, OP_DIV=96, - OP_DIV_S=97, OP_DIV_U=98, OP_REM_S=99, OP_REM_U=100, OP_AND=101, OP_OR=102, - OP_XOR=103, OP_SHL=104, OP_SHR_S=105, OP_SHR_U=106, OP_ROTL=107, OP_ROTR=108, - OP_MIN=109, OP_MAX=110, OP_COPYSIGN=111, OP_WRAP=112, OP_TRUNC_=113, OP_TRUNC_SAT=114, - OP_CONVERT=115, OP_EXTEND=116, OP_DEMOTE=117, OP_PROMOTE=118, OP_REINTER=119, - MEMORY_SIZE=120, MEMORY_GROW=121, MEMORY_FILL=122, MEMORY_COPY=123, MEMORY_INIT=124, - TEST=125, COMPARE=126, UNARY=127, BINARY=128, CONVERT=129, TYPE=130, FUNC=131, - EXTERN=132, START_=133, PARAM=134, RESULT=135, LOCAL=136, GLOBAL=137, - TABLE=138, MEMORY=139, ELEM=140, DATA=141, OFFSET=142, IMPORT=143, EXPORT=144, - TAG=145, DECLARE=146, MODULE=147, BIN=148, QUOTE=149, DEFINITION=150, - INSTANCE=151, SCRIPT=152, REGISTER=153, INVOKE=154, GET=155, ASSERT_MALFORMED=156, - ASSERT_INVALID=157, ASSERT_UNLINKABLE=158, ASSERT_RETURN=159, ASSERT_RETURN_CANONICAL_NAN=160, - ASSERT_RETURN_ARITHMETIC_NAN=161, ASSERT_TRAP=162, ASSERT_EXHAUSTION=163, - INPUT=164, OUTPUT=165, VAR=166, V128=167, SPACE=168, COMMENT=169; + LOOP=23, FOR=24, VBAR=25, END=26, BR=27, BR_IF=28, BR_TABLE=29, RETURN=30, + IF=31, THEN=32, ELSE=33, SELECT=34, CALL=35, CALL_INDIRECT=36, RETURN_CALL=37, + RETURN_CALL_INDIRECT=38, REFFUNC=39, CALLREF=40, RESUME=41, ON=42, CONTNEW=43, + CONTBIND=44, SUSPEND=45, REFNULL=46, REFISNULL=47, TRY=48, CATCH=49, THROW=50, + RESUME0=51, LOCAL_GET=52, LOCAL_SET=53, LOCAL_TEE=54, GLOBAL_GET=55, GLOBAL_SET=56, + LOAD=57, STORE=58, UNDERSCORE=59, OFFSET_EQ=60, ALIGN_EQ=61, SIGN_POSTFIX=62, + MEM_SIZE=63, I32=64, I64=65, F32=66, F64=67, IXX=68, FXX=69, OP_EQZ=70, + OP_EQ=71, OP_NE=72, OP_LT=73, OP_LTS=74, OP_LTU=75, OP_LE=76, OP_LES=77, + OP_LEU=78, OP_GT=79, OP_GTS=80, OP_GTU=81, OP_GE=82, OP_GES=83, OP_GEU=84, + OP_CLZ=85, OP_CTZ=86, OP_POPCNT=87, OP_NEG=88, OP_ABS=89, OP_SQRT=90, + OP_CEIL=91, OP_FLOOR=92, OP_TRUNC=93, OP_NEAREST=94, OP_ADD=95, OP_SUB=96, + OP_MUL=97, OP_DIV=98, OP_DIV_S=99, OP_DIV_U=100, OP_REM_S=101, OP_REM_U=102, + OP_AND=103, OP_OR=104, OP_XOR=105, OP_SHL=106, OP_SHR_S=107, OP_SHR_U=108, + OP_ROTL=109, OP_ROTR=110, OP_MIN=111, OP_MAX=112, OP_COPYSIGN=113, OP_WRAP=114, + OP_TRUNC_=115, OP_TRUNC_SAT=116, OP_CONVERT=117, OP_EXTEND=118, OP_DEMOTE=119, + OP_PROMOTE=120, OP_REINTER=121, MEMORY_SIZE=122, MEMORY_GROW=123, MEMORY_FILL=124, + MEMORY_COPY=125, MEMORY_INIT=126, TEST=127, COMPARE=128, UNARY=129, BINARY=130, + CONVERT=131, TYPE=132, FUNC=133, EXTERN=134, START_=135, PARAM=136, RESULT=137, + LOCAL=138, GLOBAL=139, TABLE=140, MEMORY=141, ELEM=142, DATA=143, OFFSET=144, + IMPORT=145, EXPORT=146, TAG=147, DECLARE=148, MODULE=149, BIN=150, QUOTE=151, + DEFINITION=152, INSTANCE=153, SCRIPT=154, REGISTER=155, INVOKE=156, GET=157, + ASSERT_MALFORMED=158, ASSERT_INVALID=159, ASSERT_UNLINKABLE=160, ASSERT_RETURN=161, + ASSERT_RETURN_CANONICAL_NAN=162, ASSERT_RETURN_ARITHMETIC_NAN=163, ASSERT_TRAP=164, + ASSERT_EXHAUSTION=165, INPUT=166, OUTPUT=167, VAR=168, V128=169, SPACE=170, + COMMENT=171; public static final int RULE_value = 0, RULE_name = 1, RULE_numType = 2, RULE_refType = 3, RULE_vecType = 4, RULE_valType = 5, RULE_heapType = 6, RULE_globalType = 7, RULE_defType = 8, RULE_funcParamType = 9, RULE_funcResType = 10, RULE_funcType = 11, RULE_tableType = 12, RULE_memoryType = 13, RULE_typeUse = 14, RULE_literal = 15, RULE_idx = 16, - RULE_bindVar = 17, RULE_instr = 18, RULE_plainInstr = 19, RULE_resumeInstr = 20, - RULE_handlerInstr = 21, RULE_offsetEq = 22, RULE_alignEq = 23, RULE_load = 24, - RULE_store = 25, RULE_selectInstr = 26, RULE_callIndirectInstr = 27, RULE_callInstrParams = 28, - RULE_callInstrParamsInstr = 29, RULE_callInstrResultsInstr = 30, RULE_blockInstr = 31, - RULE_blockType = 32, RULE_block = 33, RULE_foldedInstr = 34, RULE_expr = 35, - RULE_callExprType = 36, RULE_callExprParams = 37, RULE_callExprResults = 38, - RULE_instrList = 39, RULE_constExpr = 40, RULE_function = 41, RULE_funcFields = 42, - RULE_funcFieldsBody = 43, RULE_funcBody = 44, RULE_offset = 45, RULE_elem = 46, - RULE_table = 47, RULE_tableField = 48, RULE_data = 49, RULE_memory = 50, - RULE_memoryField = 51, RULE_global = 52, RULE_globalField = 53, RULE_importDesc = 54, - RULE_simport = 55, RULE_inlineImport = 56, RULE_exportDesc = 57, RULE_export_ = 58, - RULE_inlineExport = 59, RULE_tag = 60, RULE_typeDef = 61, RULE_start_ = 62, - RULE_moduleField = 63, RULE_module_ = 64, RULE_scriptModule = 65, RULE_action_ = 66, - RULE_assertion = 67, RULE_cmd = 68, RULE_instance = 69, RULE_meta = 70, - RULE_wconst = 71, RULE_constList = 72, RULE_script = 73, RULE_module = 74; + RULE_bindVar = 17, RULE_instr = 18, RULE_forLoop = 19, RULE_plainInstr = 20, + RULE_resumeInstr = 21, RULE_handlerInstr = 22, RULE_offsetEq = 23, RULE_alignEq = 24, + RULE_load = 25, RULE_store = 26, RULE_selectInstr = 27, RULE_callIndirectInstr = 28, + RULE_callInstrParams = 29, RULE_callInstrParamsInstr = 30, RULE_callInstrResultsInstr = 31, + RULE_blockInstr = 32, RULE_blockType = 33, RULE_block = 34, RULE_foldedInstr = 35, + RULE_expr = 36, RULE_callExprType = 37, RULE_callExprParams = 38, RULE_callExprResults = 39, + RULE_instrList = 40, RULE_constExpr = 41, RULE_function = 42, RULE_funcFields = 43, + RULE_funcFieldsBody = 44, RULE_funcBody = 45, RULE_offset = 46, RULE_elem = 47, + RULE_table = 48, RULE_tableField = 49, RULE_data = 50, RULE_memory = 51, + RULE_memoryField = 52, RULE_global = 53, RULE_globalField = 54, RULE_importDesc = 55, + RULE_simport = 56, RULE_inlineImport = 57, RULE_exportDesc = 58, RULE_export_ = 59, + RULE_inlineExport = 60, RULE_tag = 61, RULE_typeDef = 62, RULE_start_ = 63, + RULE_moduleField = 64, RULE_module_ = 65, RULE_scriptModule = 66, RULE_action_ = 67, + RULE_assertion = 68, RULE_cmd = 69, RULE_instance = 70, RULE_meta = 71, + RULE_wconst = 72, RULE_constList = 73, RULE_script = 74, RULE_module = 75; private static String[] makeRuleNames() { return new String[] { "value", "name", "numType", "refType", "vecType", "valType", "heapType", "globalType", "defType", "funcParamType", "funcResType", "funcType", "tableType", "memoryType", "typeUse", "literal", "idx", "bindVar", "instr", - "plainInstr", "resumeInstr", "handlerInstr", "offsetEq", "alignEq", "load", - "store", "selectInstr", "callIndirectInstr", "callInstrParams", "callInstrParamsInstr", - "callInstrResultsInstr", "blockInstr", "blockType", "block", "foldedInstr", - "expr", "callExprType", "callExprParams", "callExprResults", "instrList", - "constExpr", "function", "funcFields", "funcFieldsBody", "funcBody", - "offset", "elem", "table", "tableField", "data", "memory", "memoryField", - "global", "globalField", "importDesc", "simport", "inlineImport", "exportDesc", - "export_", "inlineExport", "tag", "typeDef", "start_", "moduleField", - "module_", "scriptModule", "action_", "assertion", "cmd", "instance", - "meta", "wconst", "constList", "script", "module" + "forLoop", "plainInstr", "resumeInstr", "handlerInstr", "offsetEq", "alignEq", + "load", "store", "selectInstr", "callIndirectInstr", "callInstrParams", + "callInstrParamsInstr", "callInstrResultsInstr", "blockInstr", "blockType", + "block", "foldedInstr", "expr", "callExprType", "callExprParams", "callExprResults", + "instrList", "constExpr", "function", "funcFields", "funcFieldsBody", + "funcBody", "offset", "elem", "table", "tableField", "data", "memory", + "memoryField", "global", "globalField", "importDesc", "simport", "inlineImport", + "exportDesc", "export_", "inlineExport", "tag", "typeDef", "start_", + "moduleField", "module_", "scriptModule", "action_", "assertion", "cmd", + "instance", "meta", "wconst", "constList", "script", "module" }; } public static final String[] ruleNames = makeRuleNames(); @@ -88,30 +89,30 @@ private static String[] makeLiteralNames() { null, "'('", "')'", null, null, null, null, null, null, null, "'funcref'", "'externref'", "'mut'", "'ref'", "'cont'", "'null'", "'nop'", "'sym_assert'", "'alloc'", "'free'", "'unreachable'", "'drop'", "'block'", "'loop'", - "'end'", "'br'", "'br_if'", "'br_table'", "'return'", "'if'", "'then'", - "'else'", "'.select'", "'call'", "'call_indirect'", "'return_call'", - "'return_call_indirect'", "'ref.func'", "'call_ref'", "'resume'", "'on'", - "'cont.new'", "'cont.bind'", "'suspend'", "'ref.null'", "'ref.is_null'", - "'try'", "'catch'", "'throw'", "'resume0'", "'local.get'", "'local.set'", - "'local.tee'", "'global.get'", "'global.set'", null, null, "'_'", "'offset='", - "'align='", null, null, "'i32'", "'i64'", "'f32'", "'f64'", null, null, - "'.eqz'", "'.eq'", "'.ne'", "'.lt'", "'.lt_s'", "'.lt_u'", "'.le'", "'.le_s'", - "'.le_u'", "'.gt'", "'.gt_s'", "'.gt_u'", "'.ge'", "'.ge_s'", "'.ge_u'", - "'.clz'", "'.ctz'", "'.popcnt'", "'.neg'", "'.abs'", "'.sqrt'", "'.ceil'", - "'.floor'", "'.trunc'", "'.nearest'", "'.add'", "'.sub'", "'.mul'", "'.div'", - "'.div_s'", "'.div_u'", "'.rem_s'", "'.rem_u'", "'.and'", "'.or'", "'.xor'", - "'.shl'", "'.shr_s'", "'.shr_u'", "'.rotl'", "'.rotr'", "'.min'", "'.max'", - "'.copysign'", "'.wrap_'", "'.trunc_'", "'.trunc_sat_'", "'.convert_'", - "'.extend_'", "'.demote_'", "'.promote_'", "'.reinterpret_'", "'memory.size'", - "'memory.grow'", "'memory.fill'", "'memory.copy'", "'memory.init'", null, - null, null, null, null, "'type'", "'func'", "'extern'", "'start'", "'param'", - "'result'", "'local'", "'global'", "'table'", "'memory'", "'elem'", "'data'", - "'offset'", "'import'", "'export'", "'tag'", "'declare'", "'module'", - "'binary'", "'quote'", "'definition'", "'instance'", "'script'", "'register'", - "'invoke'", "'get'", "'assert_malformed'", "'assert_invalid'", "'assert_unlinkable'", - "'assert_return'", "'assert_return_canonical_nan'", "'assert_return_arithmetic_nan'", - "'assert_trap'", "'assert_exhaustion'", "'input'", "'output'", null, - "'v128'" + "'for'", "'|'", "'end'", "'br'", "'br_if'", "'br_table'", "'return'", + "'if'", "'then'", "'else'", "'.select'", "'call'", "'call_indirect'", + "'return_call'", "'return_call_indirect'", "'ref.func'", "'call_ref'", + "'resume'", "'on'", "'cont.new'", "'cont.bind'", "'suspend'", "'ref.null'", + "'ref.is_null'", "'try'", "'catch'", "'throw'", "'resume0'", "'local.get'", + "'local.set'", "'local.tee'", "'global.get'", "'global.set'", null, null, + "'_'", "'offset='", "'align='", null, null, "'i32'", "'i64'", "'f32'", + "'f64'", null, null, "'.eqz'", "'.eq'", "'.ne'", "'.lt'", "'.lt_s'", + "'.lt_u'", "'.le'", "'.le_s'", "'.le_u'", "'.gt'", "'.gt_s'", "'.gt_u'", + "'.ge'", "'.ge_s'", "'.ge_u'", "'.clz'", "'.ctz'", "'.popcnt'", "'.neg'", + "'.abs'", "'.sqrt'", "'.ceil'", "'.floor'", "'.trunc'", "'.nearest'", + "'.add'", "'.sub'", "'.mul'", "'.div'", "'.div_s'", "'.div_u'", "'.rem_s'", + "'.rem_u'", "'.and'", "'.or'", "'.xor'", "'.shl'", "'.shr_s'", "'.shr_u'", + "'.rotl'", "'.rotr'", "'.min'", "'.max'", "'.copysign'", "'.wrap_'", + "'.trunc_'", "'.trunc_sat_'", "'.convert_'", "'.extend_'", "'.demote_'", + "'.promote_'", "'.reinterpret_'", "'memory.size'", "'memory.grow'", "'memory.fill'", + "'memory.copy'", "'memory.init'", null, null, null, null, null, "'type'", + "'func'", "'extern'", "'start'", "'param'", "'result'", "'local'", "'global'", + "'table'", "'memory'", "'elem'", "'data'", "'offset'", "'import'", "'export'", + "'tag'", "'declare'", "'module'", "'binary'", "'quote'", "'definition'", + "'instance'", "'script'", "'register'", "'invoke'", "'get'", "'assert_malformed'", + "'assert_invalid'", "'assert_unlinkable'", "'assert_return'", "'assert_return_canonical_nan'", + "'assert_return_arithmetic_nan'", "'assert_trap'", "'assert_exhaustion'", + "'input'", "'output'", null, "'v128'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); @@ -120,8 +121,8 @@ private static String[] makeSymbolicNames() { null, "LPAR", "RPAR", "NAT", "INT", "FLOAT", "STRING_", "VALUE_TYPE", "CONST", "SYMBOLIC", "FUNCREF", "EXTERNREF", "MUT", "REF", "CONT", "NULL", "NOP", "SYM_ASSERT", "ALLOC", "FREE", "UNREACHABLE", "DROP", "BLOCK", - "LOOP", "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", "THEN", "ELSE", - "SELECT", "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", + "LOOP", "FOR", "VBAR", "END", "BR", "BR_IF", "BR_TABLE", "RETURN", "IF", + "THEN", "ELSE", "SELECT", "CALL", "CALL_INDIRECT", "RETURN_CALL", "RETURN_CALL_INDIRECT", "REFFUNC", "CALLREF", "RESUME", "ON", "CONTNEW", "CONTBIND", "SUSPEND", "REFNULL", "REFISNULL", "TRY", "CATCH", "THROW", "RESUME0", "LOCAL_GET", "LOCAL_SET", "LOCAL_TEE", "GLOBAL_GET", "GLOBAL_SET", "LOAD", "STORE", @@ -226,7 +227,7 @@ public final ValueContext value() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(150); + setState(152); _la = _input.LA(1); if ( !(_la==INT || _la==FLOAT) ) { _errHandler.recoverInline(this); @@ -277,7 +278,7 @@ public final NameContext name() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(152); + setState(154); match(STRING_); } } @@ -320,7 +321,7 @@ public final NumTypeContext numType() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(154); + setState(156); match(VALUE_TYPE); } } @@ -369,48 +370,48 @@ public final RefTypeContext refType() throws RecognitionException { RefTypeContext _localctx = new RefTypeContext(_ctx, getState()); enterRule(_localctx, 6, RULE_refType); try { - setState(169); + setState(171); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,0,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(156); + setState(158); match(FUNCREF); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(157); + setState(159); match(EXTERNREF); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(158); + setState(160); match(LPAR); - setState(159); + setState(161); match(REF); - setState(160); + setState(162); idx(); - setState(161); + setState(163); match(RPAR); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(163); + setState(165); match(LPAR); - setState(164); + setState(166); match(REF); - setState(165); + setState(167); match(NULL); - setState(166); + setState(168); idx(); - setState(167); + setState(169); match(RPAR); } break; @@ -455,7 +456,7 @@ public final VecTypeContext vecType() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(171); + setState(173); match(V128); } } @@ -504,20 +505,20 @@ public final ValTypeContext valType() throws RecognitionException { ValTypeContext _localctx = new ValTypeContext(_ctx, getState()); enterRule(_localctx, 10, RULE_valType); try { - setState(176); + setState(178); _errHandler.sync(this); switch (_input.LA(1)) { case VALUE_TYPE: enterOuterAlt(_localctx, 1); { - setState(173); + setState(175); numType(); } break; case V128: enterOuterAlt(_localctx, 2); { - setState(174); + setState(176); vecType(); } break; @@ -526,7 +527,7 @@ public final ValTypeContext valType() throws RecognitionException { case EXTERNREF: enterOuterAlt(_localctx, 3); { - setState(175); + setState(177); refType(); } break; @@ -575,20 +576,20 @@ public final HeapTypeContext heapType() throws RecognitionException { HeapTypeContext _localctx = new HeapTypeContext(_ctx, getState()); enterRule(_localctx, 12, RULE_heapType); try { - setState(181); + setState(183); _errHandler.sync(this); switch (_input.LA(1)) { case FUNC: enterOuterAlt(_localctx, 1); { - setState(178); + setState(180); match(FUNC); } break; case EXTERN: enterOuterAlt(_localctx, 2); { - setState(179); + setState(181); match(EXTERN); } break; @@ -596,7 +597,7 @@ public final HeapTypeContext heapType() throws RecognitionException { case LPAR: enterOuterAlt(_localctx, 3); { - setState(180); + setState(182); funcType(); } break; @@ -646,26 +647,26 @@ public final GlobalTypeContext globalType() throws RecognitionException { GlobalTypeContext _localctx = new GlobalTypeContext(_ctx, getState()); enterRule(_localctx, 14, RULE_globalType); try { - setState(189); + setState(191); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(183); + setState(185); valType(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(184); + setState(186); match(LPAR); - setState(185); + setState(187); match(MUT); - setState(186); + setState(188); valType(); - setState(187); + setState(189); match(RPAR); } break; @@ -717,32 +718,32 @@ public final DefTypeContext defType() throws RecognitionException { DefTypeContext _localctx = new DefTypeContext(_ctx, getState()); enterRule(_localctx, 16, RULE_defType); try { - setState(201); + setState(203); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(191); + setState(193); match(LPAR); - setState(192); + setState(194); match(FUNC); - setState(193); + setState(195); funcType(); - setState(194); + setState(196); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(196); + setState(198); match(LPAR); - setState(197); + setState(199); match(CONT); - setState(198); + setState(200); idx(); - setState(199); + setState(201); match(RPAR); } break; @@ -812,18 +813,18 @@ public final FuncParamTypeContext funcParamType() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(219); + setState(221); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(203); + setState(205); match(LPAR); - setState(204); + setState(206); match(PARAM); - setState(214); + setState(216); _errHandler.sync(this); switch (_input.LA(1)) { case LPAR: @@ -833,17 +834,17 @@ public final FuncParamTypeContext funcParamType() throws RecognitionException { case EXTERNREF: case V128: { - setState(208); + setState(210); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(205); + setState(207); valType(); } } - setState(210); + setState(212); _errHandler.sync(this); _la = _input.LA(1); } @@ -851,21 +852,21 @@ public final FuncParamTypeContext funcParamType() throws RecognitionException { break; case VAR: { - setState(211); + setState(213); bindVar(); - setState(212); + setState(214); valType(); } break; default: throw new NoViableAltException(this); } - setState(216); + setState(218); match(RPAR); } } } - setState(221); + setState(223); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); } @@ -929,37 +930,37 @@ public final FuncResTypeContext funcResType() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(233); + setState(235); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,9,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(222); + setState(224); match(LPAR); - setState(223); + setState(225); match(RESULT); - setState(227); + setState(229); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(224); + setState(226); valType(); } } - setState(229); + setState(231); _errHandler.sync(this); _la = _input.LA(1); } - setState(230); + setState(232); match(RPAR); } } } - setState(235); + setState(237); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,9,_ctx); } @@ -1009,9 +1010,9 @@ public final FuncTypeContext funcType() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(236); + setState(238); funcParamType(); - setState(237); + setState(239); funcResType(); } } @@ -1061,19 +1062,19 @@ public final TableTypeContext tableType() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(239); - match(NAT); setState(241); + match(NAT); + setState(243); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT) { { - setState(240); + setState(242); match(NAT); } } - setState(243); + setState(245); refType(); } } @@ -1120,14 +1121,14 @@ public final MemoryTypeContext memoryType() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(245); - match(NAT); setState(247); + match(NAT); + setState(249); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT) { { - setState(246); + setState(248); match(NAT); } } @@ -1178,13 +1179,13 @@ public final TypeUseContext typeUse() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(249); + setState(251); match(LPAR); - setState(250); + setState(252); match(TYPE); - setState(251); + setState(253); idx(); - setState(252); + setState(254); match(RPAR); } } @@ -1230,7 +1231,7 @@ public final LiteralContext literal() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(254); + setState(256); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 56L) != 0)) ) { _errHandler.recoverInline(this); @@ -1283,7 +1284,7 @@ public final IdxContext idx() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(256); + setState(258); _la = _input.LA(1); if ( !(_la==NAT || _la==VAR) ) { _errHandler.recoverInline(this); @@ -1334,7 +1335,7 @@ public final BindVarContext bindVar() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(258); + setState(260); match(VAR); } } @@ -1363,6 +1364,9 @@ public FoldedInstrContext foldedInstr() { public ResumeInstrContext resumeInstr() { return getRuleContext(ResumeInstrContext.class,0); } + public ForLoopContext forLoop() { + return getRuleContext(ForLoopContext.class,0); + } public InstrContext(ParserRuleContext parent, int invokingState) { super(parent, invokingState); } @@ -1386,7 +1390,7 @@ public final InstrContext instr() throws RecognitionException { InstrContext _localctx = new InstrContext(_ctx, getState()); enterRule(_localctx, 36, RULE_instr); try { - setState(264); + setState(267); _errHandler.sync(this); switch (_input.LA(1)) { case VALUE_TYPE: @@ -1432,7 +1436,7 @@ public final InstrContext instr() throws RecognitionException { case CONVERT: enterOuterAlt(_localctx, 1); { - setState(260); + setState(262); plainInstr(); } break; @@ -1442,24 +1446,31 @@ public final InstrContext instr() throws RecognitionException { case TRY: enterOuterAlt(_localctx, 2); { - setState(261); + setState(263); blockInstr(); } break; case LPAR: enterOuterAlt(_localctx, 3); { - setState(262); + setState(264); foldedInstr(); } break; case RESUME: enterOuterAlt(_localctx, 4); { - setState(263); + setState(265); resumeInstr(); } break; + case FOR: + enterOuterAlt(_localctx, 5); + { + setState(266); + forLoop(); + } + break; default: throw new NoViableAltException(this); } @@ -1475,6 +1486,77 @@ public final InstrContext instr() throws RecognitionException { return _localctx; } + @SuppressWarnings("CheckReturnValue") + public static class ForLoopContext extends ParserRuleContext { + public TerminalNode FOR() { return getToken(WatParser.FOR, 0); } + public TerminalNode LPAR() { return getToken(WatParser.LPAR, 0); } + public List instrList() { + return getRuleContexts(InstrListContext.class); + } + public InstrListContext instrList(int i) { + return getRuleContext(InstrListContext.class,i); + } + public List VBAR() { return getTokens(WatParser.VBAR); } + public TerminalNode VBAR(int i) { + return getToken(WatParser.VBAR, i); + } + public TerminalNode RPAR() { return getToken(WatParser.RPAR, 0); } + public ForLoopContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_forLoop; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof WatParserListener ) ((WatParserListener)listener).enterForLoop(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof WatParserListener ) ((WatParserListener)listener).exitForLoop(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof WatParserVisitor ) return ((WatParserVisitor)visitor).visitForLoop(this); + else return visitor.visitChildren(this); + } + } + + public final ForLoopContext forLoop() throws RecognitionException { + ForLoopContext _localctx = new ForLoopContext(_ctx, getState()); + enterRule(_localctx, 38, RULE_forLoop); + try { + enterOuterAlt(_localctx, 1); + { + setState(269); + match(FOR); + setState(270); + match(LPAR); + setState(271); + instrList(); + setState(272); + match(VBAR); + setState(273); + instrList(); + setState(274); + match(VBAR); + setState(275); + instrList(); + setState(276); + match(RPAR); + setState(277); + instrList(); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + @SuppressWarnings("CheckReturnValue") public static class PlainInstrContext extends ParserRuleContext { public TerminalNode UNREACHABLE() { return getToken(WatParser.UNREACHABLE, 0); } @@ -1563,65 +1645,65 @@ public T accept(ParseTreeVisitor visitor) { public final PlainInstrContext plainInstr() throws RecognitionException { PlainInstrContext _localctx = new PlainInstrContext(_ctx, getState()); - enterRule(_localctx, 38, RULE_plainInstr); + enterRule(_localctx, 40, RULE_plainInstr); int _la; try { int _alt; - setState(344); + setState(357); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(266); + setState(279); match(UNREACHABLE); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(267); + setState(280); match(NOP); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(268); + setState(281); match(DROP); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(269); + setState(282); selectInstr(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(270); + setState(283); match(BR); - setState(271); + setState(284); idx(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(272); + setState(285); match(BR_IF); - setState(273); + setState(286); idx(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(274); + setState(287); match(BR_TABLE); - setState(276); + setState(289); _errHandler.sync(this); _alt = 1; do { @@ -1629,7 +1711,7 @@ public final PlainInstrContext plainInstr() throws RecognitionException { case 1: { { - setState(275); + setState(288); idx(); } } @@ -1637,7 +1719,7 @@ public final PlainInstrContext plainInstr() throws RecognitionException { default: throw new NoViableAltException(this); } - setState(278); + setState(291); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,13,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); @@ -1646,94 +1728,94 @@ public final PlainInstrContext plainInstr() throws RecognitionException { case 8: enterOuterAlt(_localctx, 8); { - setState(280); + setState(293); match(RETURN); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(281); + setState(294); match(CALL); - setState(282); + setState(295); idx(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(283); + setState(296); match(RETURN_CALL); - setState(284); + setState(297); idx(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(285); + setState(298); match(LOCAL_GET); - setState(286); + setState(299); idx(); } break; case 12: enterOuterAlt(_localctx, 12); { - setState(287); + setState(300); match(LOCAL_SET); - setState(288); + setState(301); idx(); } break; case 13: enterOuterAlt(_localctx, 13); { - setState(289); + setState(302); match(LOCAL_TEE); - setState(290); + setState(303); idx(); } break; case 14: enterOuterAlt(_localctx, 14); { - setState(291); + setState(304); match(GLOBAL_GET); - setState(292); + setState(305); idx(); } break; case 15: enterOuterAlt(_localctx, 15); { - setState(293); + setState(306); match(GLOBAL_SET); - setState(294); + setState(307); idx(); } break; case 16: enterOuterAlt(_localctx, 16); { - setState(295); + setState(308); load(); - setState(297); + setState(310); _errHandler.sync(this); _la = _input.LA(1); if (_la==OFFSET_EQ) { { - setState(296); + setState(309); offsetEq(); } } - setState(300); + setState(313); _errHandler.sync(this); _la = _input.LA(1); if (_la==ALIGN_EQ) { { - setState(299); + setState(312); alignEq(); } } @@ -1743,24 +1825,24 @@ public final PlainInstrContext plainInstr() throws RecognitionException { case 17: enterOuterAlt(_localctx, 17); { - setState(302); + setState(315); store(); - setState(304); + setState(317); _errHandler.sync(this); _la = _input.LA(1); if (_la==OFFSET_EQ) { { - setState(303); + setState(316); offsetEq(); } } - setState(307); + setState(320); _errHandler.sync(this); _la = _input.LA(1); if (_la==ALIGN_EQ) { { - setState(306); + setState(319); alignEq(); } } @@ -1770,193 +1852,193 @@ public final PlainInstrContext plainInstr() throws RecognitionException { case 18: enterOuterAlt(_localctx, 18); { - setState(309); + setState(322); match(MEMORY_SIZE); } break; case 19: enterOuterAlt(_localctx, 19); { - setState(310); + setState(323); match(MEMORY_GROW); } break; case 20: enterOuterAlt(_localctx, 20); { - setState(311); + setState(324); match(MEMORY_FILL); } break; case 21: enterOuterAlt(_localctx, 21); { - setState(312); + setState(325); match(MEMORY_COPY); } break; case 22: enterOuterAlt(_localctx, 22); { - setState(313); + setState(326); match(MEMORY_INIT); - setState(314); + setState(327); idx(); } break; case 23: enterOuterAlt(_localctx, 23); { - setState(315); + setState(328); match(CONST); - setState(316); + setState(329); literal(); } break; case 24: enterOuterAlt(_localctx, 24); { - setState(317); + setState(330); match(SYMBOLIC); } break; case 25: enterOuterAlt(_localctx, 25); { - setState(318); + setState(331); match(SYM_ASSERT); } break; case 26: enterOuterAlt(_localctx, 26); { - setState(319); + setState(332); match(ALLOC); } break; case 27: enterOuterAlt(_localctx, 27); { - setState(320); + setState(333); match(FREE); } break; case 28: enterOuterAlt(_localctx, 28); { - setState(321); + setState(334); match(TEST); } break; case 29: enterOuterAlt(_localctx, 29); { - setState(322); + setState(335); match(COMPARE); } break; case 30: enterOuterAlt(_localctx, 30); { - setState(323); + setState(336); match(UNARY); } break; case 31: enterOuterAlt(_localctx, 31); { - setState(324); + setState(337); match(BINARY); } break; case 32: enterOuterAlt(_localctx, 32); { - setState(325); + setState(338); match(CONVERT); } break; case 33: enterOuterAlt(_localctx, 33); { - setState(326); + setState(339); callIndirectInstr(); } break; case 34: enterOuterAlt(_localctx, 34); { - setState(327); + setState(340); match(CONTNEW); - setState(328); + setState(341); idx(); } break; case 35: enterOuterAlt(_localctx, 35); { - setState(329); + setState(342); match(REFFUNC); - setState(330); + setState(343); idx(); } break; case 36: enterOuterAlt(_localctx, 36); { - setState(331); + setState(344); match(SUSPEND); - setState(332); + setState(345); idx(); } break; case 37: enterOuterAlt(_localctx, 37); { - setState(333); + setState(346); match(CONTBIND); - setState(334); + setState(347); idx(); - setState(335); + setState(348); idx(); } break; case 38: enterOuterAlt(_localctx, 38); { - setState(337); + setState(350); match(CALLREF); - setState(338); + setState(351); idx(); } break; case 39: enterOuterAlt(_localctx, 39); { - setState(339); + setState(352); match(REFNULL); - setState(340); + setState(353); idx(); } break; case 40: enterOuterAlt(_localctx, 40); { - setState(341); + setState(354); match(REFISNULL); } break; case 41: enterOuterAlt(_localctx, 41); { - setState(342); + setState(355); match(RESUME0); } break; case 42: enterOuterAlt(_localctx, 42); { - setState(343); + setState(356); match(THROW); } break; @@ -2006,28 +2088,28 @@ public T accept(ParseTreeVisitor visitor) { public final ResumeInstrContext resumeInstr() throws RecognitionException { ResumeInstrContext _localctx = new ResumeInstrContext(_ctx, getState()); - enterRule(_localctx, 40, RULE_resumeInstr); + enterRule(_localctx, 42, RULE_resumeInstr); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(346); + setState(359); match(RESUME); - setState(347); + setState(360); idx(); - setState(351); + setState(364); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(348); + setState(361); handlerInstr(); } } } - setState(353); + setState(366); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); } @@ -2076,19 +2158,19 @@ public T accept(ParseTreeVisitor visitor) { public final HandlerInstrContext handlerInstr() throws RecognitionException { HandlerInstrContext _localctx = new HandlerInstrContext(_ctx, getState()); - enterRule(_localctx, 42, RULE_handlerInstr); + enterRule(_localctx, 44, RULE_handlerInstr); try { enterOuterAlt(_localctx, 1); { - setState(354); + setState(367); match(LPAR); - setState(355); + setState(368); match(ON); - setState(356); + setState(369); idx(); - setState(357); + setState(370); idx(); - setState(358); + setState(371); match(RPAR); } } @@ -2128,13 +2210,13 @@ public T accept(ParseTreeVisitor visitor) { public final OffsetEqContext offsetEq() throws RecognitionException { OffsetEqContext _localctx = new OffsetEqContext(_ctx, getState()); - enterRule(_localctx, 44, RULE_offsetEq); + enterRule(_localctx, 46, RULE_offsetEq); try { enterOuterAlt(_localctx, 1); { - setState(360); + setState(373); match(OFFSET_EQ); - setState(361); + setState(374); match(NAT); } } @@ -2174,13 +2256,13 @@ public T accept(ParseTreeVisitor visitor) { public final AlignEqContext alignEq() throws RecognitionException { AlignEqContext _localctx = new AlignEqContext(_ctx, getState()); - enterRule(_localctx, 46, RULE_alignEq); + enterRule(_localctx, 48, RULE_alignEq); try { enterOuterAlt(_localctx, 1); { - setState(363); + setState(376); match(ALIGN_EQ); - setState(364); + setState(377); match(NAT); } } @@ -2225,25 +2307,25 @@ public T accept(ParseTreeVisitor visitor) { public final LoadContext load() throws RecognitionException { LoadContext _localctx = new LoadContext(_ctx, getState()); - enterRule(_localctx, 48, RULE_load); + enterRule(_localctx, 50, RULE_load); int _la; try { enterOuterAlt(_localctx, 1); { - setState(366); + setState(379); numType(); - setState(367); + setState(380); match(LOAD); - setState(371); + setState(384); _errHandler.sync(this); _la = _input.LA(1); if (_la==MEM_SIZE) { { - setState(368); + setState(381); match(MEM_SIZE); - setState(369); + setState(382); match(UNDERSCORE); - setState(370); + setState(383); match(SIGN_POSTFIX); } } @@ -2289,21 +2371,21 @@ public T accept(ParseTreeVisitor visitor) { public final StoreContext store() throws RecognitionException { StoreContext _localctx = new StoreContext(_ctx, getState()); - enterRule(_localctx, 50, RULE_store); + enterRule(_localctx, 52, RULE_store); int _la; try { enterOuterAlt(_localctx, 1); { - setState(373); + setState(386); numType(); - setState(374); + setState(387); match(STORE); - setState(376); + setState(389); _errHandler.sync(this); _la = _input.LA(1); if (_la==MEM_SIZE) { { - setState(375); + setState(388); match(MEM_SIZE); } } @@ -2348,13 +2430,13 @@ public T accept(ParseTreeVisitor visitor) { public final SelectInstrContext selectInstr() throws RecognitionException { SelectInstrContext _localctx = new SelectInstrContext(_ctx, getState()); - enterRule(_localctx, 52, RULE_selectInstr); + enterRule(_localctx, 54, RULE_selectInstr); try { enterOuterAlt(_localctx, 1); { - setState(378); + setState(391); numType(); - setState(379); + setState(392); match(SELECT); } } @@ -2400,47 +2482,47 @@ public T accept(ParseTreeVisitor visitor) { public final CallIndirectInstrContext callIndirectInstr() throws RecognitionException { CallIndirectInstrContext _localctx = new CallIndirectInstrContext(_ctx, getState()); - enterRule(_localctx, 54, RULE_callIndirectInstr); + enterRule(_localctx, 56, RULE_callIndirectInstr); int _la; try { - setState(391); + setState(404); _errHandler.sync(this); switch (_input.LA(1)) { case CALL_INDIRECT: enterOuterAlt(_localctx, 1); { - setState(381); + setState(394); match(CALL_INDIRECT); - setState(383); + setState(396); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(382); + setState(395); idx(); } } - setState(385); + setState(398); typeUse(); } break; case RETURN_CALL_INDIRECT: enterOuterAlt(_localctx, 2); { - setState(386); + setState(399); match(RETURN_CALL_INDIRECT); - setState(388); + setState(401); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(387); + setState(400); idx(); } } - setState(390); + setState(403); typeUse(); } break; @@ -2504,75 +2586,75 @@ public T accept(ParseTreeVisitor visitor) { public final CallInstrParamsContext callInstrParams() throws RecognitionException { CallInstrParamsContext _localctx = new CallInstrParamsContext(_ctx, getState()); - enterRule(_localctx, 56, RULE_callInstrParams); + enterRule(_localctx, 58, RULE_callInstrParams); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(404); + setState(417); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,26,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(393); + setState(406); match(LPAR); - setState(394); + setState(407); match(PARAM); - setState(398); + setState(411); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(395); + setState(408); valType(); } } - setState(400); + setState(413); _errHandler.sync(this); _la = _input.LA(1); } - setState(401); + setState(414); match(RPAR); } } } - setState(406); + setState(419); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,26,_ctx); } - setState(418); + setState(431); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(407); + setState(420); match(LPAR); - setState(408); + setState(421); match(RESULT); - setState(412); + setState(425); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(409); + setState(422); valType(); } } - setState(414); + setState(427); _errHandler.sync(this); _la = _input.LA(1); } - setState(415); + setState(428); match(RPAR); } } - setState(420); + setState(433); _errHandler.sync(this); _la = _input.LA(1); } @@ -2633,47 +2715,47 @@ public T accept(ParseTreeVisitor visitor) { public final CallInstrParamsInstrContext callInstrParamsInstr() throws RecognitionException { CallInstrParamsInstrContext _localctx = new CallInstrParamsInstrContext(_ctx, getState()); - enterRule(_localctx, 58, RULE_callInstrParamsInstr); + enterRule(_localctx, 60, RULE_callInstrParamsInstr); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(432); + setState(445); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,30,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(421); + setState(434); match(LPAR); - setState(422); + setState(435); match(PARAM); - setState(426); + setState(439); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(423); + setState(436); valType(); } } - setState(428); + setState(441); _errHandler.sync(this); _la = _input.LA(1); } - setState(429); + setState(442); match(RPAR); } } } - setState(434); + setState(447); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,30,_ctx); } - setState(435); + setState(448); callInstrResultsInstr(); } } @@ -2732,47 +2814,47 @@ public T accept(ParseTreeVisitor visitor) { public final CallInstrResultsInstrContext callInstrResultsInstr() throws RecognitionException { CallInstrResultsInstrContext _localctx = new CallInstrResultsInstrContext(_ctx, getState()); - enterRule(_localctx, 60, RULE_callInstrResultsInstr); + enterRule(_localctx, 62, RULE_callInstrResultsInstr); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(448); + setState(461); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,32,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(437); + setState(450); match(LPAR); - setState(438); + setState(451); match(RESULT); - setState(442); + setState(455); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(439); + setState(452); valType(); } } - setState(444); + setState(457); _errHandler.sync(this); _la = _input.LA(1); } - setState(445); + setState(458); match(RPAR); } } } - setState(450); + setState(463); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,32,_ctx); } - setState(451); + setState(464); instr(); } } @@ -2832,37 +2914,37 @@ public T accept(ParseTreeVisitor visitor) { public final BlockInstrContext blockInstr() throws RecognitionException { BlockInstrContext _localctx = new BlockInstrContext(_ctx, getState()); - enterRule(_localctx, 62, RULE_blockInstr); + enterRule(_localctx, 64, RULE_blockInstr); int _la; try { - setState(493); + setState(506); _errHandler.sync(this); switch (_input.LA(1)) { case BLOCK: enterOuterAlt(_localctx, 1); { - setState(453); + setState(466); match(BLOCK); - setState(455); + setState(468); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(454); + setState(467); bindVar(); } } - setState(457); + setState(470); block(); - setState(458); + setState(471); match(END); - setState(460); + setState(473); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) { case 1: { - setState(459); + setState(472); bindVar(); } break; @@ -2872,28 +2954,28 @@ public final BlockInstrContext blockInstr() throws RecognitionException { case LOOP: enterOuterAlt(_localctx, 2); { - setState(462); + setState(475); match(LOOP); - setState(464); + setState(477); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(463); + setState(476); bindVar(); } } - setState(466); + setState(479); block(); - setState(467); + setState(480); match(END); - setState(469); + setState(482); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) { case 1: { - setState(468); + setState(481); bindVar(); } break; @@ -2903,50 +2985,50 @@ public final BlockInstrContext blockInstr() throws RecognitionException { case IF: enterOuterAlt(_localctx, 3); { - setState(471); + setState(484); match(IF); - setState(473); + setState(486); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(472); + setState(485); bindVar(); } } - setState(475); + setState(488); block(); - setState(481); + setState(494); _errHandler.sync(this); _la = _input.LA(1); if (_la==ELSE) { { - setState(476); + setState(489); match(ELSE); - setState(478); + setState(491); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(477); + setState(490); bindVar(); } } - setState(480); + setState(493); instrList(); } } - setState(483); + setState(496); match(END); - setState(485); + setState(498); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { case 1: { - setState(484); + setState(497); bindVar(); } break; @@ -2956,15 +3038,15 @@ public final BlockInstrContext blockInstr() throws RecognitionException { case TRY: enterOuterAlt(_localctx, 4); { - setState(487); + setState(500); match(TRY); - setState(488); + setState(501); block(); - setState(489); + setState(502); match(CATCH); - setState(490); + setState(503); block(); - setState(491); + setState(504); match(END); } break; @@ -3018,26 +3100,26 @@ public T accept(ParseTreeVisitor visitor) { public final BlockTypeContext blockType() throws RecognitionException { BlockTypeContext _localctx = new BlockTypeContext(_ctx, getState()); - enterRule(_localctx, 64, RULE_blockType); + enterRule(_localctx, 66, RULE_blockType); try { - setState(506); + setState(519); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(500); + setState(513); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,42,_ctx) ) { case 1: { - setState(495); + setState(508); match(LPAR); - setState(496); + setState(509); match(RESULT); - setState(497); + setState(510); valType(); - setState(498); + setState(511); match(RPAR); } break; @@ -3047,16 +3129,16 @@ public final BlockTypeContext blockType() throws RecognitionException { case 2: enterOuterAlt(_localctx, 2); { - setState(502); + setState(515); typeUse(); - setState(503); + setState(516); funcType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(505); + setState(518); funcType(); } break; @@ -3102,13 +3184,13 @@ public T accept(ParseTreeVisitor visitor) { public final BlockContext block() throws RecognitionException { BlockContext _localctx = new BlockContext(_ctx, getState()); - enterRule(_localctx, 66, RULE_block); + enterRule(_localctx, 68, RULE_block); try { enterOuterAlt(_localctx, 1); { - setState(508); + setState(521); blockType(); - setState(509); + setState(522); instrList(); } } @@ -3151,15 +3233,15 @@ public T accept(ParseTreeVisitor visitor) { public final FoldedInstrContext foldedInstr() throws RecognitionException { FoldedInstrContext _localctx = new FoldedInstrContext(_ctx, getState()); - enterRule(_localctx, 68, RULE_foldedInstr); + enterRule(_localctx, 70, RULE_foldedInstr); try { enterOuterAlt(_localctx, 1); { - setState(511); + setState(524); match(LPAR); - setState(512); + setState(525); expr(); - setState(513); + setState(526); match(RPAR); } } @@ -3242,31 +3324,31 @@ public T accept(ParseTreeVisitor visitor) { public final ExprContext expr() throws RecognitionException { ExprContext _localctx = new ExprContext(_ctx, getState()); - enterRule(_localctx, 70, RULE_expr); + enterRule(_localctx, 72, RULE_expr); int _la; try { int _alt; - setState(557); + setState(570); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(515); + setState(528); plainInstr(); - setState(519); + setState(532); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,44,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(516); + setState(529); expr(); } } } - setState(521); + setState(534); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,44,_ctx); } @@ -3275,110 +3357,110 @@ public final ExprContext expr() throws RecognitionException { case 2: enterOuterAlt(_localctx, 2); { - setState(522); + setState(535); match(CALL_INDIRECT); - setState(523); + setState(536); callExprType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(524); + setState(537); match(RETURN_CALL_INDIRECT); - setState(525); + setState(538); callExprType(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(526); + setState(539); match(BLOCK); - setState(528); + setState(541); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) { case 1: { - setState(527); + setState(540); bindVar(); } break; } - setState(530); + setState(543); block(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(531); + setState(544); match(LOOP); - setState(533); + setState(546); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { case 1: { - setState(532); + setState(545); bindVar(); } break; } - setState(535); + setState(548); block(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(536); + setState(549); match(IF); - setState(538); + setState(551); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(537); + setState(550); bindVar(); } } - setState(540); + setState(553); blockType(); - setState(544); + setState(557); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,48,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(541); + setState(554); foldedInstr(); } } } - setState(546); + setState(559); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,48,_ctx); } - setState(547); + setState(560); match(LPAR); - setState(548); + setState(561); match(THEN); - setState(549); + setState(562); instrList(); - setState(555); + setState(568); _errHandler.sync(this); _la = _input.LA(1); if (_la==LPAR) { { - setState(550); + setState(563); match(LPAR); - setState(551); + setState(564); match(ELSE); - setState(552); + setState(565); instrList(); - setState(553); + setState(566); match(RPAR); } } @@ -3427,21 +3509,21 @@ public T accept(ParseTreeVisitor visitor) { public final CallExprTypeContext callExprType() throws RecognitionException { CallExprTypeContext _localctx = new CallExprTypeContext(_ctx, getState()); - enterRule(_localctx, 72, RULE_callExprType); + enterRule(_localctx, 74, RULE_callExprType); try { enterOuterAlt(_localctx, 1); { - setState(560); + setState(573); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) { case 1: { - setState(559); + setState(572); typeUse(); } break; } - setState(562); + setState(575); callExprParams(); } } @@ -3500,47 +3582,47 @@ public T accept(ParseTreeVisitor visitor) { public final CallExprParamsContext callExprParams() throws RecognitionException { CallExprParamsContext _localctx = new CallExprParamsContext(_ctx, getState()); - enterRule(_localctx, 74, RULE_callExprParams); + enterRule(_localctx, 76, RULE_callExprParams); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(575); + setState(588); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,53,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(564); + setState(577); match(LPAR); - setState(565); + setState(578); match(PARAM); - setState(569); + setState(582); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(566); + setState(579); valType(); } } - setState(571); + setState(584); _errHandler.sync(this); _la = _input.LA(1); } - setState(572); + setState(585); match(RPAR); } } } - setState(577); + setState(590); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,53,_ctx); } - setState(578); + setState(591); callExprResults(); } } @@ -3602,57 +3684,57 @@ public T accept(ParseTreeVisitor visitor) { public final CallExprResultsContext callExprResults() throws RecognitionException { CallExprResultsContext _localctx = new CallExprResultsContext(_ctx, getState()); - enterRule(_localctx, 76, RULE_callExprResults); + enterRule(_localctx, 78, RULE_callExprResults); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(591); + setState(604); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(580); + setState(593); match(LPAR); - setState(581); + setState(594); match(RESULT); - setState(585); + setState(598); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(582); + setState(595); valType(); } } - setState(587); + setState(600); _errHandler.sync(this); _la = _input.LA(1); } - setState(588); + setState(601); match(RPAR); } } - setState(593); + setState(606); _errHandler.sync(this); _la = _input.LA(1); } - setState(597); + setState(610); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,56,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(594); + setState(607); expr(); } } } - setState(599); + setState(612); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,56,_ctx); } @@ -3701,33 +3783,33 @@ public T accept(ParseTreeVisitor visitor) { public final InstrListContext instrList() throws RecognitionException { InstrListContext _localctx = new InstrListContext(_ctx, getState()); - enterRule(_localctx, 78, RULE_instrList); + enterRule(_localctx, 80, RULE_instrList); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(603); + setState(616); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,57,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(600); + setState(613); instr(); } } } - setState(605); + setState(618); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,57,_ctx); } - setState(607); + setState(620); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) { case 1: { - setState(606); + setState(619); callIndirectInstr(); } break; @@ -3771,11 +3853,11 @@ public T accept(ParseTreeVisitor visitor) { public final ConstExprContext constExpr() throws RecognitionException { ConstExprContext _localctx = new ConstExprContext(_ctx, getState()); - enterRule(_localctx, 80, RULE_constExpr); + enterRule(_localctx, 82, RULE_constExpr); try { enterOuterAlt(_localctx, 1); { - setState(609); + setState(622); instrList(); } } @@ -3822,28 +3904,28 @@ public T accept(ParseTreeVisitor visitor) { public final FunctionContext function() throws RecognitionException { FunctionContext _localctx = new FunctionContext(_ctx, getState()); - enterRule(_localctx, 82, RULE_function); + enterRule(_localctx, 84, RULE_function); int _la; try { enterOuterAlt(_localctx, 1); { - setState(611); + setState(624); match(LPAR); - setState(612); + setState(625); match(FUNC); - setState(614); + setState(627); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(613); + setState(626); bindVar(); } } - setState(616); + setState(629); funcFields(); - setState(617); + setState(630); match(RPAR); } } @@ -3899,53 +3981,53 @@ public T accept(ParseTreeVisitor visitor) { public final FuncFieldsContext funcFields() throws RecognitionException { FuncFieldsContext _localctx = new FuncFieldsContext(_ctx, getState()); - enterRule(_localctx, 84, RULE_funcFields); + enterRule(_localctx, 86, RULE_funcFields); try { - setState(632); + setState(645); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(620); + setState(633); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) { case 1: { - setState(619); + setState(632); typeUse(); } break; } - setState(622); + setState(635); funcFieldsBody(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(623); + setState(636); inlineImport(); - setState(625); + setState(638); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,61,_ctx) ) { case 1: { - setState(624); + setState(637); typeUse(); } break; } - setState(627); + setState(640); funcType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(629); + setState(642); inlineExport(); - setState(630); + setState(643); funcFields(); } break; @@ -3991,13 +4073,13 @@ public T accept(ParseTreeVisitor visitor) { public final FuncFieldsBodyContext funcFieldsBody() throws RecognitionException { FuncFieldsBodyContext _localctx = new FuncFieldsBodyContext(_ctx, getState()); - enterRule(_localctx, 86, RULE_funcFieldsBody); + enterRule(_localctx, 88, RULE_funcFieldsBody); try { enterOuterAlt(_localctx, 1); { - setState(634); + setState(647); funcType(); - setState(635); + setState(648); funcBody(); } } @@ -4062,24 +4144,24 @@ public T accept(ParseTreeVisitor visitor) { public final FuncBodyContext funcBody() throws RecognitionException { FuncBodyContext _localctx = new FuncBodyContext(_ctx, getState()); - enterRule(_localctx, 88, RULE_funcBody); + enterRule(_localctx, 90, RULE_funcBody); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(653); + setState(666); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,65,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(637); + setState(650); match(LPAR); - setState(638); + setState(651); match(LOCAL); - setState(648); + setState(661); _errHandler.sync(this); switch (_input.LA(1)) { case LPAR: @@ -4089,17 +4171,17 @@ public final FuncBodyContext funcBody() throws RecognitionException { case EXTERNREF: case V128: { - setState(642); + setState(655); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 3202L) != 0) || _la==V128) { { { - setState(639); + setState(652); valType(); } } - setState(644); + setState(657); _errHandler.sync(this); _la = _input.LA(1); } @@ -4107,25 +4189,25 @@ public final FuncBodyContext funcBody() throws RecognitionException { break; case VAR: { - setState(645); + setState(658); bindVar(); - setState(646); + setState(659); valType(); } break; default: throw new NoViableAltException(this); } - setState(650); + setState(663); match(RPAR); } } } - setState(655); + setState(668); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,65,_ctx); } - setState(656); + setState(669); instrList(); } } @@ -4172,21 +4254,21 @@ public T accept(ParseTreeVisitor visitor) { public final OffsetContext offset() throws RecognitionException { OffsetContext _localctx = new OffsetContext(_ctx, getState()); - enterRule(_localctx, 90, RULE_offset); + enterRule(_localctx, 92, RULE_offset); try { - setState(664); + setState(677); _errHandler.sync(this); switch (_input.LA(1)) { case LPAR: enterOuterAlt(_localctx, 1); { - setState(658); + setState(671); match(LPAR); - setState(659); + setState(672); match(OFFSET); - setState(660); + setState(673); constExpr(); - setState(661); + setState(674); match(RPAR); } break; @@ -4236,7 +4318,7 @@ public final OffsetContext offset() throws RecognitionException { case CONVERT: enterOuterAlt(_localctx, 2); { - setState(663); + setState(676); expr(); } break; @@ -4301,126 +4383,126 @@ public T accept(ParseTreeVisitor visitor) { public final ElemContext elem() throws RecognitionException { ElemContext _localctx = new ElemContext(_ctx, getState()); - enterRule(_localctx, 92, RULE_elem); + enterRule(_localctx, 94, RULE_elem); int _la; try { - setState(710); + setState(723); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(666); + setState(679); match(LPAR); - setState(667); + setState(680); match(ELEM); - setState(669); + setState(682); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(668); + setState(681); idx(); } } - setState(671); + setState(684); match(LPAR); - setState(672); + setState(685); instr(); - setState(673); + setState(686); match(RPAR); - setState(677); + setState(690); _errHandler.sync(this); _la = _input.LA(1); while (_la==NAT || _la==VAR) { { { - setState(674); + setState(687); idx(); } } - setState(679); + setState(692); _errHandler.sync(this); _la = _input.LA(1); } - setState(680); + setState(693); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(682); + setState(695); match(LPAR); - setState(683); + setState(696); match(ELEM); - setState(685); + setState(698); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(684); + setState(697); idx(); } } - setState(687); + setState(700); offset(); - setState(691); + setState(704); _errHandler.sync(this); _la = _input.LA(1); while (_la==NAT || _la==VAR) { { { - setState(688); + setState(701); idx(); } } - setState(693); + setState(706); _errHandler.sync(this); _la = _input.LA(1); } - setState(694); + setState(707); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(696); + setState(709); match(LPAR); - setState(697); + setState(710); match(ELEM); - setState(699); + setState(712); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(698); + setState(711); idx(); } } - setState(701); + setState(714); match(DECLARE); - setState(702); + setState(715); match(FUNC); - setState(706); + setState(719); _errHandler.sync(this); _la = _input.LA(1); while (_la==NAT || _la==VAR) { { { - setState(703); + setState(716); idx(); } } - setState(708); + setState(721); _errHandler.sync(this); _la = _input.LA(1); } - setState(709); + setState(722); match(RPAR); } break; @@ -4469,28 +4551,28 @@ public T accept(ParseTreeVisitor visitor) { public final TableContext table() throws RecognitionException { TableContext _localctx = new TableContext(_ctx, getState()); - enterRule(_localctx, 94, RULE_table); + enterRule(_localctx, 96, RULE_table); int _la; try { enterOuterAlt(_localctx, 1); { - setState(712); + setState(725); match(LPAR); - setState(713); + setState(726); match(TABLE); - setState(715); + setState(728); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(714); + setState(727); bindVar(); } } - setState(717); + setState(730); tableField(); - setState(718); + setState(731); match(RPAR); } } @@ -4552,61 +4634,61 @@ public T accept(ParseTreeVisitor visitor) { public final TableFieldContext tableField() throws RecognitionException { TableFieldContext _localctx = new TableFieldContext(_ctx, getState()); - enterRule(_localctx, 96, RULE_tableField); + enterRule(_localctx, 98, RULE_tableField); int _la; try { - setState(738); + setState(751); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(720); + setState(733); tableType(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(721); + setState(734); inlineImport(); - setState(722); + setState(735); tableType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(724); + setState(737); inlineExport(); - setState(725); + setState(738); tableField(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(727); + setState(740); refType(); - setState(728); + setState(741); match(LPAR); - setState(729); + setState(742); match(ELEM); - setState(733); + setState(746); _errHandler.sync(this); _la = _input.LA(1); while (_la==NAT || _la==VAR) { { { - setState(730); + setState(743); idx(); } } - setState(735); + setState(748); _errHandler.sync(this); _la = _input.LA(1); } - setState(736); + setState(749); match(RPAR); } break; @@ -4668,87 +4750,87 @@ public T accept(ParseTreeVisitor visitor) { public final DataContext data() throws RecognitionException { DataContext _localctx = new DataContext(_ctx, getState()); - enterRule(_localctx, 98, RULE_data); + enterRule(_localctx, 100, RULE_data); int _la; try { - setState(770); + setState(783); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,81,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(740); + setState(753); match(LPAR); - setState(741); + setState(754); match(DATA); - setState(743); + setState(756); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(742); + setState(755); idx(); } } - setState(745); + setState(758); match(LPAR); - setState(746); + setState(759); instr(); - setState(747); + setState(760); match(RPAR); - setState(751); + setState(764); _errHandler.sync(this); _la = _input.LA(1); while (_la==STRING_) { { { - setState(748); + setState(761); match(STRING_); } } - setState(753); + setState(766); _errHandler.sync(this); _la = _input.LA(1); } - setState(754); + setState(767); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(756); + setState(769); match(LPAR); - setState(757); + setState(770); match(DATA); - setState(759); + setState(772); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAT || _la==VAR) { { - setState(758); + setState(771); idx(); } } - setState(761); + setState(774); offset(); - setState(765); + setState(778); _errHandler.sync(this); _la = _input.LA(1); while (_la==STRING_) { { { - setState(762); + setState(775); match(STRING_); } } - setState(767); + setState(780); _errHandler.sync(this); _la = _input.LA(1); } - setState(768); + setState(781); match(RPAR); } break; @@ -4797,28 +4879,28 @@ public T accept(ParseTreeVisitor visitor) { public final MemoryContext memory() throws RecognitionException { MemoryContext _localctx = new MemoryContext(_ctx, getState()); - enterRule(_localctx, 100, RULE_memory); + enterRule(_localctx, 102, RULE_memory); int _la; try { enterOuterAlt(_localctx, 1); { - setState(772); + setState(785); match(LPAR); - setState(773); + setState(786); match(MEMORY); - setState(775); + setState(788); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(774); + setState(787); bindVar(); } } - setState(777); + setState(790); memoryField(); - setState(778); + setState(791); match(RPAR); } } @@ -4875,59 +4957,59 @@ public T accept(ParseTreeVisitor visitor) { public final MemoryFieldContext memoryField() throws RecognitionException { MemoryFieldContext _localctx = new MemoryFieldContext(_ctx, getState()); - enterRule(_localctx, 102, RULE_memoryField); + enterRule(_localctx, 104, RULE_memoryField); int _la; try { - setState(796); + setState(809); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,84,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(780); + setState(793); memoryType(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(781); + setState(794); inlineImport(); - setState(782); + setState(795); memoryType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(784); + setState(797); inlineExport(); - setState(785); + setState(798); memoryField(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(787); + setState(800); match(LPAR); - setState(788); + setState(801); match(DATA); - setState(792); + setState(805); _errHandler.sync(this); _la = _input.LA(1); while (_la==STRING_) { { { - setState(789); + setState(802); match(STRING_); } } - setState(794); + setState(807); _errHandler.sync(this); _la = _input.LA(1); } - setState(795); + setState(808); match(RPAR); } break; @@ -4976,28 +5058,28 @@ public T accept(ParseTreeVisitor visitor) { public final GlobalContext global() throws RecognitionException { GlobalContext _localctx = new GlobalContext(_ctx, getState()); - enterRule(_localctx, 104, RULE_global); + enterRule(_localctx, 106, RULE_global); int _la; try { enterOuterAlt(_localctx, 1); { - setState(798); + setState(811); match(LPAR); - setState(799); + setState(812); match(GLOBAL); - setState(801); + setState(814); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(800); + setState(813); bindVar(); } } - setState(803); + setState(816); globalField(); - setState(804); + setState(817); match(RPAR); } } @@ -5050,35 +5132,35 @@ public T accept(ParseTreeVisitor visitor) { public final GlobalFieldContext globalField() throws RecognitionException { GlobalFieldContext _localctx = new GlobalFieldContext(_ctx, getState()); - enterRule(_localctx, 106, RULE_globalField); + enterRule(_localctx, 108, RULE_globalField); try { - setState(815); + setState(828); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,86,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(806); + setState(819); globalType(); - setState(807); + setState(820); constExpr(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(809); + setState(822); inlineImport(); - setState(810); + setState(823); globalType(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(812); + setState(825); inlineExport(); - setState(813); + setState(826); globalField(); } break; @@ -5142,124 +5224,124 @@ public T accept(ParseTreeVisitor visitor) { public final ImportDescContext importDesc() throws RecognitionException { ImportDescContext _localctx = new ImportDescContext(_ctx, getState()); - enterRule(_localctx, 108, RULE_importDesc); + enterRule(_localctx, 110, RULE_importDesc); int _la; try { - setState(857); + setState(870); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,92,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(817); + setState(830); match(LPAR); - setState(818); + setState(831); match(FUNC); - setState(820); + setState(833); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(819); + setState(832); bindVar(); } } - setState(822); + setState(835); typeUse(); - setState(823); + setState(836); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(825); + setState(838); match(LPAR); - setState(826); + setState(839); match(FUNC); - setState(828); + setState(841); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(827); + setState(840); bindVar(); } } - setState(830); + setState(843); funcType(); - setState(831); + setState(844); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(833); + setState(846); match(LPAR); - setState(834); + setState(847); match(TABLE); - setState(836); + setState(849); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(835); + setState(848); bindVar(); } } - setState(838); + setState(851); tableType(); - setState(839); + setState(852); match(RPAR); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(841); + setState(854); match(LPAR); - setState(842); + setState(855); match(MEMORY); - setState(844); + setState(857); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(843); + setState(856); bindVar(); } } - setState(846); + setState(859); memoryType(); - setState(847); + setState(860); match(RPAR); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(849); + setState(862); match(LPAR); - setState(850); + setState(863); match(GLOBAL); - setState(852); + setState(865); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(851); + setState(864); bindVar(); } } - setState(854); + setState(867); globalType(); - setState(855); + setState(868); match(RPAR); } break; @@ -5311,21 +5393,21 @@ public T accept(ParseTreeVisitor visitor) { public final SimportContext simport() throws RecognitionException { SimportContext _localctx = new SimportContext(_ctx, getState()); - enterRule(_localctx, 110, RULE_simport); + enterRule(_localctx, 112, RULE_simport); try { enterOuterAlt(_localctx, 1); { - setState(859); + setState(872); match(LPAR); - setState(860); + setState(873); match(IMPORT); - setState(861); + setState(874); name(); - setState(862); + setState(875); name(); - setState(863); + setState(876); importDesc(); - setState(864); + setState(877); match(RPAR); } } @@ -5372,19 +5454,19 @@ public T accept(ParseTreeVisitor visitor) { public final InlineImportContext inlineImport() throws RecognitionException { InlineImportContext _localctx = new InlineImportContext(_ctx, getState()); - enterRule(_localctx, 112, RULE_inlineImport); + enterRule(_localctx, 114, RULE_inlineImport); try { enterOuterAlt(_localctx, 1); { - setState(866); + setState(879); match(LPAR); - setState(867); + setState(880); match(IMPORT); - setState(868); + setState(881); name(); - setState(869); + setState(882); name(); - setState(870); + setState(883); match(RPAR); } } @@ -5431,60 +5513,60 @@ public T accept(ParseTreeVisitor visitor) { public final ExportDescContext exportDesc() throws RecognitionException { ExportDescContext _localctx = new ExportDescContext(_ctx, getState()); - enterRule(_localctx, 114, RULE_exportDesc); + enterRule(_localctx, 116, RULE_exportDesc); try { - setState(892); + setState(905); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,93,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(872); + setState(885); match(LPAR); - setState(873); + setState(886); match(FUNC); - setState(874); + setState(887); idx(); - setState(875); + setState(888); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(877); + setState(890); match(LPAR); - setState(878); + setState(891); match(TABLE); - setState(879); + setState(892); idx(); - setState(880); + setState(893); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(882); + setState(895); match(LPAR); - setState(883); + setState(896); match(MEMORY); - setState(884); + setState(897); idx(); - setState(885); + setState(898); match(RPAR); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(887); + setState(900); match(LPAR); - setState(888); + setState(901); match(GLOBAL); - setState(889); + setState(902); idx(); - setState(890); + setState(903); match(RPAR); } break; @@ -5533,19 +5615,19 @@ public T accept(ParseTreeVisitor visitor) { public final Export_Context export_() throws RecognitionException { Export_Context _localctx = new Export_Context(_ctx, getState()); - enterRule(_localctx, 116, RULE_export_); + enterRule(_localctx, 118, RULE_export_); try { enterOuterAlt(_localctx, 1); { - setState(894); + setState(907); match(LPAR); - setState(895); + setState(908); match(EXPORT); - setState(896); + setState(909); name(); - setState(897); + setState(910); exportDesc(); - setState(898); + setState(911); match(RPAR); } } @@ -5589,17 +5671,17 @@ public T accept(ParseTreeVisitor visitor) { public final InlineExportContext inlineExport() throws RecognitionException { InlineExportContext _localctx = new InlineExportContext(_ctx, getState()); - enterRule(_localctx, 118, RULE_inlineExport); + enterRule(_localctx, 120, RULE_inlineExport); try { enterOuterAlt(_localctx, 1); { - setState(900); + setState(913); match(LPAR); - setState(901); + setState(914); match(EXPORT); - setState(902); + setState(915); name(); - setState(903); + setState(916); match(RPAR); } } @@ -5649,30 +5731,30 @@ public T accept(ParseTreeVisitor visitor) { public final TagContext tag() throws RecognitionException { TagContext _localctx = new TagContext(_ctx, getState()); - enterRule(_localctx, 120, RULE_tag); + enterRule(_localctx, 122, RULE_tag); int _la; try { enterOuterAlt(_localctx, 1); { - setState(905); + setState(918); match(LPAR); - setState(906); + setState(919); match(TAG); - setState(908); + setState(921); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(907); + setState(920); bindVar(); } } - setState(910); + setState(923); typeUse(); - setState(911); + setState(924); funcType(); - setState(912); + setState(925); match(RPAR); } } @@ -5719,28 +5801,28 @@ public T accept(ParseTreeVisitor visitor) { public final TypeDefContext typeDef() throws RecognitionException { TypeDefContext _localctx = new TypeDefContext(_ctx, getState()); - enterRule(_localctx, 122, RULE_typeDef); + enterRule(_localctx, 124, RULE_typeDef); int _la; try { enterOuterAlt(_localctx, 1); { - setState(914); + setState(927); match(LPAR); - setState(915); + setState(928); match(TYPE); - setState(917); + setState(930); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(916); + setState(929); bindVar(); } } - setState(919); + setState(932); defType(); - setState(920); + setState(933); match(RPAR); } } @@ -5784,17 +5866,17 @@ public T accept(ParseTreeVisitor visitor) { public final Start_Context start_() throws RecognitionException { Start_Context _localctx = new Start_Context(_ctx, getState()); - enterRule(_localctx, 124, RULE_start_); + enterRule(_localctx, 126, RULE_start_); try { enterOuterAlt(_localctx, 1); { - setState(922); + setState(935); match(LPAR); - setState(923); + setState(936); match(START_); - setState(924); + setState(937); idx(); - setState(925); + setState(938); match(RPAR); } } @@ -5865,85 +5947,85 @@ public T accept(ParseTreeVisitor visitor) { public final ModuleFieldContext moduleField() throws RecognitionException { ModuleFieldContext _localctx = new ModuleFieldContext(_ctx, getState()); - enterRule(_localctx, 126, RULE_moduleField); + enterRule(_localctx, 128, RULE_moduleField); try { - setState(938); + setState(951); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,96,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(927); + setState(940); typeDef(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(928); + setState(941); global(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(929); + setState(942); table(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(930); + setState(943); memory(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(931); + setState(944); function(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(932); + setState(945); elem(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(933); + setState(946); data(); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(934); + setState(947); start_(); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(935); + setState(948); simport(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(936); + setState(949); export_(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(937); + setState(950); tag(); } break; @@ -5993,40 +6075,40 @@ public T accept(ParseTreeVisitor visitor) { public final Module_Context module_() throws RecognitionException { Module_Context _localctx = new Module_Context(_ctx, getState()); - enterRule(_localctx, 128, RULE_module_); + enterRule(_localctx, 130, RULE_module_); int _la; try { enterOuterAlt(_localctx, 1); { - setState(940); + setState(953); match(LPAR); - setState(941); + setState(954); match(MODULE); - setState(943); + setState(956); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(942); + setState(955); match(VAR); } } - setState(948); + setState(961); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(945); + setState(958); moduleField(); } } - setState(950); + setState(963); _errHandler.sync(this); _la = _input.LA(1); } - setState(951); + setState(964); match(RPAR); } } @@ -6078,37 +6160,37 @@ public T accept(ParseTreeVisitor visitor) { public final ScriptModuleContext scriptModule() throws RecognitionException { ScriptModuleContext _localctx = new ScriptModuleContext(_ctx, getState()); - enterRule(_localctx, 130, RULE_scriptModule); + enterRule(_localctx, 132, RULE_scriptModule); int _la; try { - setState(981); + setState(994); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,103,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(953); + setState(966); module_(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(954); + setState(967); match(LPAR); - setState(955); + setState(968); match(MODULE); - setState(957); + setState(970); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(956); + setState(969); match(VAR); } } - setState(959); + setState(972); _la = _input.LA(1); if ( !(_la==BIN || _la==QUOTE) ) { _errHandler.recoverInline(this); @@ -6118,60 +6200,60 @@ public final ScriptModuleContext scriptModule() throws RecognitionException { _errHandler.reportMatch(this); consume(); } - setState(963); + setState(976); _errHandler.sync(this); _la = _input.LA(1); while (_la==STRING_) { { { - setState(960); + setState(973); match(STRING_); } } - setState(965); + setState(978); _errHandler.sync(this); _la = _input.LA(1); } - setState(966); + setState(979); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(967); + setState(980); match(LPAR); - setState(968); + setState(981); match(MODULE); - setState(969); + setState(982); match(DEFINITION); - setState(971); + setState(984); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(970); + setState(983); match(VAR); } } - setState(973); + setState(986); match(BIN); - setState(977); + setState(990); _errHandler.sync(this); _la = _input.LA(1); while (_la==STRING_) { { { - setState(974); + setState(987); match(STRING_); } } - setState(979); + setState(992); _errHandler.sync(this); _la = _input.LA(1); } - setState(980); + setState(993); match(RPAR); } break; @@ -6222,57 +6304,57 @@ public T accept(ParseTreeVisitor visitor) { public final Action_Context action_() throws RecognitionException { Action_Context _localctx = new Action_Context(_ctx, getState()); - enterRule(_localctx, 132, RULE_action_); + enterRule(_localctx, 134, RULE_action_); int _la; try { - setState(1000); + setState(1013); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,106,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(983); + setState(996); match(LPAR); - setState(984); + setState(997); match(INVOKE); - setState(986); + setState(999); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(985); + setState(998); match(VAR); } } - setState(988); + setState(1001); name(); - setState(989); + setState(1002); constList(); - setState(990); + setState(1003); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(992); + setState(1005); match(LPAR); - setState(993); + setState(1006); match(GET); - setState(995); + setState(1008); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(994); + setState(1007); match(VAR); } } - setState(997); + setState(1010); name(); - setState(998); + setState(1011); match(RPAR); } break; @@ -6332,139 +6414,139 @@ public T accept(ParseTreeVisitor visitor) { public final AssertionContext assertion() throws RecognitionException { AssertionContext _localctx = new AssertionContext(_ctx, getState()); - enterRule(_localctx, 134, RULE_assertion); + enterRule(_localctx, 136, RULE_assertion); try { - setState(1054); + setState(1067); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,107,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(1002); + setState(1015); match(LPAR); - setState(1003); + setState(1016); match(ASSERT_MALFORMED); - setState(1004); + setState(1017); scriptModule(); - setState(1005); + setState(1018); match(STRING_); - setState(1006); + setState(1019); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(1008); + setState(1021); match(LPAR); - setState(1009); + setState(1022); match(ASSERT_INVALID); - setState(1010); + setState(1023); scriptModule(); - setState(1011); + setState(1024); match(STRING_); - setState(1012); + setState(1025); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(1014); + setState(1027); match(LPAR); - setState(1015); + setState(1028); match(ASSERT_UNLINKABLE); - setState(1016); + setState(1029); scriptModule(); - setState(1017); + setState(1030); match(STRING_); - setState(1018); + setState(1031); match(RPAR); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(1020); + setState(1033); match(LPAR); - setState(1021); + setState(1034); match(ASSERT_TRAP); - setState(1022); + setState(1035); scriptModule(); - setState(1023); + setState(1036); match(STRING_); - setState(1024); + setState(1037); match(RPAR); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(1026); + setState(1039); match(LPAR); - setState(1027); + setState(1040); match(ASSERT_RETURN); - setState(1028); + setState(1041); action_(); - setState(1029); + setState(1042); constList(); - setState(1030); + setState(1043); match(RPAR); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(1032); + setState(1045); match(LPAR); - setState(1033); + setState(1046); match(ASSERT_RETURN_CANONICAL_NAN); - setState(1034); + setState(1047); action_(); - setState(1035); + setState(1048); match(RPAR); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(1037); + setState(1050); match(LPAR); - setState(1038); + setState(1051); match(ASSERT_RETURN_ARITHMETIC_NAN); - setState(1039); + setState(1052); action_(); - setState(1040); + setState(1053); match(RPAR); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(1042); + setState(1055); match(LPAR); - setState(1043); + setState(1056); match(ASSERT_TRAP); - setState(1044); + setState(1057); action_(); - setState(1045); + setState(1058); match(STRING_); - setState(1046); + setState(1059); match(RPAR); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(1048); + setState(1061); match(LPAR); - setState(1049); + setState(1062); match(ASSERT_EXHAUSTION); - setState(1050); + setState(1063); action_(); - setState(1051); + setState(1064); match(STRING_); - setState(1052); + setState(1065); match(RPAR); } break; @@ -6526,67 +6608,67 @@ public T accept(ParseTreeVisitor visitor) { public final CmdContext cmd() throws RecognitionException { CmdContext _localctx = new CmdContext(_ctx, getState()); - enterRule(_localctx, 136, RULE_cmd); + enterRule(_localctx, 138, RULE_cmd); int _la; try { - setState(1069); + setState(1082); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,109,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(1056); + setState(1069); action_(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(1057); + setState(1070); assertion(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(1058); + setState(1071); scriptModule(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(1059); + setState(1072); match(LPAR); - setState(1060); + setState(1073); match(REGISTER); - setState(1061); + setState(1074); name(); - setState(1063); + setState(1076); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1062); + setState(1075); match(VAR); } } - setState(1065); + setState(1078); match(RPAR); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(1067); + setState(1080); meta(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(1068); + setState(1081); instance(); } break; @@ -6634,38 +6716,38 @@ public T accept(ParseTreeVisitor visitor) { public final InstanceContext instance() throws RecognitionException { InstanceContext _localctx = new InstanceContext(_ctx, getState()); - enterRule(_localctx, 138, RULE_instance); + enterRule(_localctx, 140, RULE_instance); int _la; try { enterOuterAlt(_localctx, 1); { - setState(1071); + setState(1084); match(LPAR); - setState(1072); + setState(1085); match(MODULE); - setState(1073); + setState(1086); match(INSTANCE); - setState(1075); + setState(1088); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,110,_ctx) ) { case 1: { - setState(1074); + setState(1087); match(VAR); } break; } - setState(1078); + setState(1091); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1077); + setState(1090); match(VAR); } } - setState(1080); + setState(1093); match(RPAR); } } @@ -6716,111 +6798,111 @@ public T accept(ParseTreeVisitor visitor) { public final MetaContext meta() throws RecognitionException { MetaContext _localctx = new MetaContext(_ctx, getState()); - enterRule(_localctx, 140, RULE_meta); + enterRule(_localctx, 142, RULE_meta); int _la; try { - setState(1114); + setState(1127); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,117,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(1082); + setState(1095); match(LPAR); - setState(1083); + setState(1096); match(SCRIPT); - setState(1085); + setState(1098); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1084); + setState(1097); match(VAR); } } - setState(1090); + setState(1103); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(1087); + setState(1100); cmd(); } } - setState(1092); + setState(1105); _errHandler.sync(this); _la = _input.LA(1); } - setState(1093); + setState(1106); match(RPAR); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(1094); + setState(1107); match(LPAR); - setState(1095); + setState(1108); match(INPUT); - setState(1097); + setState(1110); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1096); + setState(1109); match(VAR); } } - setState(1099); + setState(1112); match(STRING_); - setState(1100); + setState(1113); match(RPAR); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(1101); + setState(1114); match(LPAR); - setState(1102); + setState(1115); match(OUTPUT); - setState(1104); + setState(1117); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1103); + setState(1116); match(VAR); } } - setState(1106); + setState(1119); match(STRING_); - setState(1107); + setState(1120); match(RPAR); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(1108); + setState(1121); match(LPAR); - setState(1109); + setState(1122); match(OUTPUT); - setState(1111); + setState(1124); _errHandler.sync(this); _la = _input.LA(1); if (_la==VAR) { { - setState(1110); + setState(1123); match(VAR); } } - setState(1113); + setState(1126); match(RPAR); } break; @@ -6866,17 +6948,17 @@ public T accept(ParseTreeVisitor visitor) { public final WconstContext wconst() throws RecognitionException { WconstContext _localctx = new WconstContext(_ctx, getState()); - enterRule(_localctx, 142, RULE_wconst); + enterRule(_localctx, 144, RULE_wconst); try { enterOuterAlt(_localctx, 1); { - setState(1116); + setState(1129); match(LPAR); - setState(1117); + setState(1130); match(CONST); - setState(1118); + setState(1131); literal(); - setState(1119); + setState(1132); match(RPAR); } } @@ -6920,22 +7002,22 @@ public T accept(ParseTreeVisitor visitor) { public final ConstListContext constList() throws RecognitionException { ConstListContext _localctx = new ConstListContext(_ctx, getState()); - enterRule(_localctx, 144, RULE_constList); + enterRule(_localctx, 146, RULE_constList); int _la; try { enterOuterAlt(_localctx, 1); { - setState(1124); + setState(1137); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(1121); + setState(1134); wconst(); } } - setState(1126); + setState(1139); _errHandler.sync(this); _la = _input.LA(1); } @@ -6988,51 +7070,51 @@ public T accept(ParseTreeVisitor visitor) { public final ScriptContext script() throws RecognitionException { ScriptContext _localctx = new ScriptContext(_ctx, getState()); - enterRule(_localctx, 146, RULE_script); + enterRule(_localctx, 148, RULE_script); int _la; try { - setState(1141); + setState(1154); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,121,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(1130); + setState(1143); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(1127); + setState(1140); cmd(); } } - setState(1132); + setState(1145); _errHandler.sync(this); _la = _input.LA(1); } - setState(1133); + setState(1146); match(EOF); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(1135); + setState(1148); _errHandler.sync(this); _la = _input.LA(1); do { { { - setState(1134); + setState(1147); moduleField(); } } - setState(1137); + setState(1150); _errHandler.sync(this); _la = _input.LA(1); } while ( _la==LPAR ); - setState(1139); + setState(1152); match(EOF); } break; @@ -7082,39 +7164,39 @@ public T accept(ParseTreeVisitor visitor) { public final ModuleContext module() throws RecognitionException { ModuleContext _localctx = new ModuleContext(_ctx, getState()); - enterRule(_localctx, 148, RULE_module); + enterRule(_localctx, 150, RULE_module); int _la; try { - setState(1153); + setState(1166); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,123,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(1143); + setState(1156); module_(); - setState(1144); + setState(1157); match(EOF); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(1149); + setState(1162); _errHandler.sync(this); _la = _input.LA(1); while (_la==LPAR) { { { - setState(1146); + setState(1159); moduleField(); } } - setState(1151); + setState(1164); _errHandler.sync(this); _la = _input.LA(1); } - setState(1152); + setState(1165); match(EOF); } break; @@ -7132,7 +7214,7 @@ public final ModuleContext module() throws RecognitionException { } public static final String _serializedATN = - "\u0004\u0001\u00a9\u0484\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ + "\u0004\u0001\u00ab\u0491\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ "\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004"+ "\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007"+ "\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b"+ @@ -7151,758 +7233,764 @@ public final ModuleContext module() throws RecognitionException { ";\u0002<\u0007<\u0002=\u0007=\u0002>\u0007>\u0002?\u0007?\u0002@\u0007"+ "@\u0002A\u0007A\u0002B\u0007B\u0002C\u0007C\u0002D\u0007D\u0002E\u0007"+ "E\u0002F\u0007F\u0002G\u0007G\u0002H\u0007H\u0002I\u0007I\u0002J\u0007"+ - "J\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0003\u0003\u00aa\b\u0003\u0001\u0004\u0001\u0004\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0003\u0005\u00b1\b\u0005\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0003\u0006\u00b6\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\u0007\u0001\u0007\u0001\u0007\u0003\u0007\u00be\b\u0007\u0001\b"+ - "\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0003\b\u00ca\b\b\u0001\t\u0001\t\u0001\t\u0005\t\u00cf\b\t\n\t\f\t"+ - "\u00d2\t\t\u0001\t\u0001\t\u0001\t\u0003\t\u00d7\b\t\u0001\t\u0005\t\u00da"+ - "\b\t\n\t\f\t\u00dd\t\t\u0001\n\u0001\n\u0001\n\u0005\n\u00e2\b\n\n\n\f"+ - "\n\u00e5\t\n\u0001\n\u0005\n\u00e8\b\n\n\n\f\n\u00eb\t\n\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\f\u0001\f\u0003\f\u00f2\b\f\u0001\f\u0001\f\u0001"+ - "\r\u0001\r\u0003\r\u00f8\b\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001"+ - "\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0003"+ - "\u0012\u0109\b\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0004"+ - "\u0013\u0115\b\u0013\u000b\u0013\f\u0013\u0116\u0001\u0013\u0001\u0013"+ - "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ - "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ - "\u0001\u0013\u0001\u0013\u0001\u0013\u0003\u0013\u012a\b\u0013\u0001\u0013"+ - "\u0003\u0013\u012d\b\u0013\u0001\u0013\u0001\u0013\u0003\u0013\u0131\b"+ - "\u0013\u0001\u0013\u0003\u0013\u0134\b\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ + "J\u0002K\u0007K\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001"+ + "\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001"+ + "\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001"+ + "\u0003\u0001\u0003\u0001\u0003\u0003\u0003\u00ac\b\u0003\u0001\u0004\u0001"+ + "\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u00b3\b\u0005\u0001"+ + "\u0006\u0001\u0006\u0001\u0006\u0003\u0006\u00b8\b\u0006\u0001\u0007\u0001"+ + "\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0003\u0007\u00c0"+ + "\b\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ + "\b\u0001\b\u0001\b\u0003\b\u00cc\b\b\u0001\t\u0001\t\u0001\t\u0005\t\u00d1"+ + "\b\t\n\t\f\t\u00d4\t\t\u0001\t\u0001\t\u0001\t\u0003\t\u00d9\b\t\u0001"+ + "\t\u0005\t\u00dc\b\t\n\t\f\t\u00df\t\t\u0001\n\u0001\n\u0001\n\u0005\n"+ + "\u00e4\b\n\n\n\f\n\u00e7\t\n\u0001\n\u0005\n\u00ea\b\n\n\n\f\n\u00ed\t"+ + "\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0003\f\u00f4\b"+ + "\f\u0001\f\u0001\f\u0001\r\u0001\r\u0003\r\u00fa\b\r\u0001\u000e\u0001"+ + "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001"+ + "\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001"+ + "\u0012\u0001\u0012\u0001\u0012\u0003\u0012\u010c\b\u0012\u0001\u0013\u0001"+ "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0003\u0013\u0159\b\u0013\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0005\u0014\u015e\b\u0014\n\u0014\f\u0014\u0161\t\u0014"+ - "\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015"+ - "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017"+ - "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0003\u0018"+ - "\u0174\b\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0003\u0019\u0179\b"+ - "\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0003"+ - "\u001b\u0180\b\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0003\u001b\u0185"+ - "\b\u001b\u0001\u001b\u0003\u001b\u0188\b\u001b\u0001\u001c\u0001\u001c"+ - "\u0001\u001c\u0005\u001c\u018d\b\u001c\n\u001c\f\u001c\u0190\t\u001c\u0001"+ - "\u001c\u0005\u001c\u0193\b\u001c\n\u001c\f\u001c\u0196\t\u001c\u0001\u001c"+ - "\u0001\u001c\u0001\u001c\u0005\u001c\u019b\b\u001c\n\u001c\f\u001c\u019e"+ - "\t\u001c\u0001\u001c\u0005\u001c\u01a1\b\u001c\n\u001c\f\u001c\u01a4\t"+ - "\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0005\u001d\u01a9\b\u001d\n"+ - "\u001d\f\u001d\u01ac\t\u001d\u0001\u001d\u0005\u001d\u01af\b\u001d\n\u001d"+ - "\f\u001d\u01b2\t\u001d\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e"+ - "\u0001\u001e\u0005\u001e\u01b9\b\u001e\n\u001e\f\u001e\u01bc\t\u001e\u0001"+ - "\u001e\u0005\u001e\u01bf\b\u001e\n\u001e\f\u001e\u01c2\t\u001e\u0001\u001e"+ - "\u0001\u001e\u0001\u001f\u0001\u001f\u0003\u001f\u01c8\b\u001f\u0001\u001f"+ - "\u0001\u001f\u0001\u001f\u0003\u001f\u01cd\b\u001f\u0001\u001f\u0001\u001f"+ - "\u0003\u001f\u01d1\b\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0003\u001f"+ - "\u01d6\b\u001f\u0001\u001f\u0001\u001f\u0003\u001f\u01da\b\u001f\u0001"+ - "\u001f\u0001\u001f\u0001\u001f\u0003\u001f\u01df\b\u001f\u0001\u001f\u0003"+ - "\u001f\u01e2\b\u001f\u0001\u001f\u0001\u001f\u0003\u001f\u01e6\b\u001f"+ - "\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f"+ - "\u0003\u001f\u01ee\b\u001f\u0001 \u0001 \u0001 \u0001 \u0001 \u0003 \u01f5"+ - "\b \u0001 \u0001 \u0001 \u0001 \u0003 \u01fb\b \u0001!\u0001!\u0001!\u0001"+ - "\"\u0001\"\u0001\"\u0001\"\u0001#\u0001#\u0005#\u0206\b#\n#\f#\u0209\t"+ - "#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0003#\u0211\b#\u0001#\u0001"+ - "#\u0001#\u0003#\u0216\b#\u0001#\u0001#\u0001#\u0003#\u021b\b#\u0001#\u0001"+ - "#\u0005#\u021f\b#\n#\f#\u0222\t#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001"+ - "#\u0001#\u0001#\u0003#\u022c\b#\u0003#\u022e\b#\u0001$\u0003$\u0231\b"+ - "$\u0001$\u0001$\u0001%\u0001%\u0001%\u0005%\u0238\b%\n%\f%\u023b\t%\u0001"+ - "%\u0005%\u023e\b%\n%\f%\u0241\t%\u0001%\u0001%\u0001&\u0001&\u0001&\u0005"+ - "&\u0248\b&\n&\f&\u024b\t&\u0001&\u0005&\u024e\b&\n&\f&\u0251\t&\u0001"+ - "&\u0005&\u0254\b&\n&\f&\u0257\t&\u0001\'\u0005\'\u025a\b\'\n\'\f\'\u025d"+ - "\t\'\u0001\'\u0003\'\u0260\b\'\u0001(\u0001(\u0001)\u0001)\u0001)\u0003"+ - ")\u0267\b)\u0001)\u0001)\u0001)\u0001*\u0003*\u026d\b*\u0001*\u0001*\u0001"+ - "*\u0003*\u0272\b*\u0001*\u0001*\u0001*\u0001*\u0001*\u0003*\u0279\b*\u0001"+ - "+\u0001+\u0001+\u0001,\u0001,\u0001,\u0005,\u0281\b,\n,\f,\u0284\t,\u0001"+ - ",\u0001,\u0001,\u0003,\u0289\b,\u0001,\u0005,\u028c\b,\n,\f,\u028f\t,"+ - "\u0001,\u0001,\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0003-\u0299"+ - "\b-\u0001.\u0001.\u0001.\u0003.\u029e\b.\u0001.\u0001.\u0001.\u0001.\u0005"+ - ".\u02a4\b.\n.\f.\u02a7\t.\u0001.\u0001.\u0001.\u0001.\u0001.\u0003.\u02ae"+ - "\b.\u0001.\u0001.\u0005.\u02b2\b.\n.\f.\u02b5\t.\u0001.\u0001.\u0001."+ - "\u0001.\u0001.\u0003.\u02bc\b.\u0001.\u0001.\u0001.\u0005.\u02c1\b.\n"+ - ".\f.\u02c4\t.\u0001.\u0003.\u02c7\b.\u0001/\u0001/\u0001/\u0003/\u02cc"+ - "\b/\u0001/\u0001/\u0001/\u00010\u00010\u00010\u00010\u00010\u00010\u0001"+ - "0\u00010\u00010\u00010\u00010\u00050\u02dc\b0\n0\f0\u02df\t0\u00010\u0001"+ - "0\u00030\u02e3\b0\u00011\u00011\u00011\u00031\u02e8\b1\u00011\u00011\u0001"+ - "1\u00011\u00051\u02ee\b1\n1\f1\u02f1\t1\u00011\u00011\u00011\u00011\u0001"+ - "1\u00031\u02f8\b1\u00011\u00011\u00051\u02fc\b1\n1\f1\u02ff\t1\u00011"+ - "\u00011\u00031\u0303\b1\u00012\u00012\u00012\u00032\u0308\b2\u00012\u0001"+ - "2\u00012\u00013\u00013\u00013\u00013\u00013\u00013\u00013\u00013\u0001"+ - "3\u00013\u00053\u0317\b3\n3\f3\u031a\t3\u00013\u00033\u031d\b3\u00014"+ - "\u00014\u00014\u00034\u0322\b4\u00014\u00014\u00014\u00015\u00015\u0001"+ - "5\u00015\u00015\u00015\u00015\u00015\u00015\u00035\u0330\b5\u00016\u0001"+ - "6\u00016\u00036\u0335\b6\u00016\u00016\u00016\u00016\u00016\u00016\u0003"+ - "6\u033d\b6\u00016\u00016\u00016\u00016\u00016\u00016\u00036\u0345\b6\u0001"+ - "6\u00016\u00016\u00016\u00016\u00016\u00036\u034d\b6\u00016\u00016\u0001"+ - "6\u00016\u00016\u00016\u00036\u0355\b6\u00016\u00016\u00016\u00036\u035a"+ - "\b6\u00017\u00017\u00017\u00017\u00017\u00017\u00017\u00018\u00018\u0001"+ - "8\u00018\u00018\u00018\u00019\u00019\u00019\u00019\u00019\u00019\u0001"+ - "9\u00019\u00019\u00019\u00019\u00019\u00019\u00019\u00019\u00019\u0001"+ - "9\u00019\u00019\u00019\u00039\u037d\b9\u0001:\u0001:\u0001:\u0001:\u0001"+ - ":\u0001:\u0001;\u0001;\u0001;\u0001;\u0001;\u0001<\u0001<\u0001<\u0003"+ - "<\u038d\b<\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0003=\u0396"+ - "\b=\u0001=\u0001=\u0001=\u0001>\u0001>\u0001>\u0001>\u0001>\u0001?\u0001"+ - "?\u0001?\u0001?\u0001?\u0001?\u0001?\u0001?\u0001?\u0001?\u0001?\u0003"+ - "?\u03ab\b?\u0001@\u0001@\u0001@\u0003@\u03b0\b@\u0001@\u0005@\u03b3\b"+ - "@\n@\f@\u03b6\t@\u0001@\u0001@\u0001A\u0001A\u0001A\u0001A\u0003A\u03be"+ - "\bA\u0001A\u0001A\u0005A\u03c2\bA\nA\fA\u03c5\tA\u0001A\u0001A\u0001A"+ - "\u0001A\u0001A\u0003A\u03cc\bA\u0001A\u0001A\u0005A\u03d0\bA\nA\fA\u03d3"+ - "\tA\u0001A\u0003A\u03d6\bA\u0001B\u0001B\u0001B\u0003B\u03db\bB\u0001"+ - "B\u0001B\u0001B\u0001B\u0001B\u0001B\u0001B\u0003B\u03e4\bB\u0001B\u0001"+ - "B\u0001B\u0003B\u03e9\bB\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0003C\u041f\bC\u0001D\u0001D\u0001"+ - "D\u0001D\u0001D\u0001D\u0001D\u0003D\u0428\bD\u0001D\u0001D\u0001D\u0001"+ - "D\u0003D\u042e\bD\u0001E\u0001E\u0001E\u0001E\u0003E\u0434\bE\u0001E\u0003"+ - "E\u0437\bE\u0001E\u0001E\u0001F\u0001F\u0001F\u0003F\u043e\bF\u0001F\u0005"+ - "F\u0441\bF\nF\fF\u0444\tF\u0001F\u0001F\u0001F\u0001F\u0003F\u044a\bF"+ - "\u0001F\u0001F\u0001F\u0001F\u0001F\u0003F\u0451\bF\u0001F\u0001F\u0001"+ - "F\u0001F\u0001F\u0003F\u0458\bF\u0001F\u0003F\u045b\bF\u0001G\u0001G\u0001"+ - "G\u0001G\u0001G\u0001H\u0005H\u0463\bH\nH\fH\u0466\tH\u0001I\u0005I\u0469"+ - "\bI\nI\fI\u046c\tI\u0001I\u0001I\u0004I\u0470\bI\u000bI\fI\u0471\u0001"+ - "I\u0001I\u0003I\u0476\bI\u0001J\u0001J\u0001J\u0001J\u0005J\u047c\bJ\n"+ - "J\fJ\u047f\tJ\u0001J\u0003J\u0482\bJ\u0001J\u0000\u0000K\u0000\u0002\u0004"+ - "\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e \""+ - "$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086"+ - "\u0088\u008a\u008c\u008e\u0090\u0092\u0094\u0000\u0004\u0001\u0000\u0004"+ - "\u0005\u0001\u0000\u0003\u0005\u0002\u0000\u0003\u0003\u00a6\u00a6\u0001"+ - "\u0000\u0094\u0095\u050c\u0000\u0096\u0001\u0000\u0000\u0000\u0002\u0098"+ - "\u0001\u0000\u0000\u0000\u0004\u009a\u0001\u0000\u0000\u0000\u0006\u00a9"+ - "\u0001\u0000\u0000\u0000\b\u00ab\u0001\u0000\u0000\u0000\n\u00b0\u0001"+ - "\u0000\u0000\u0000\f\u00b5\u0001\u0000\u0000\u0000\u000e\u00bd\u0001\u0000"+ - "\u0000\u0000\u0010\u00c9\u0001\u0000\u0000\u0000\u0012\u00db\u0001\u0000"+ - "\u0000\u0000\u0014\u00e9\u0001\u0000\u0000\u0000\u0016\u00ec\u0001\u0000"+ - "\u0000\u0000\u0018\u00ef\u0001\u0000\u0000\u0000\u001a\u00f5\u0001\u0000"+ - "\u0000\u0000\u001c\u00f9\u0001\u0000\u0000\u0000\u001e\u00fe\u0001\u0000"+ - "\u0000\u0000 \u0100\u0001\u0000\u0000\u0000\"\u0102\u0001\u0000\u0000"+ - "\u0000$\u0108\u0001\u0000\u0000\u0000&\u0158\u0001\u0000\u0000\u0000("+ - "\u015a\u0001\u0000\u0000\u0000*\u0162\u0001\u0000\u0000\u0000,\u0168\u0001"+ - "\u0000\u0000\u0000.\u016b\u0001\u0000\u0000\u00000\u016e\u0001\u0000\u0000"+ - "\u00002\u0175\u0001\u0000\u0000\u00004\u017a\u0001\u0000\u0000\u00006"+ - "\u0187\u0001\u0000\u0000\u00008\u0194\u0001\u0000\u0000\u0000:\u01b0\u0001"+ - "\u0000\u0000\u0000<\u01c0\u0001\u0000\u0000\u0000>\u01ed\u0001\u0000\u0000"+ - "\u0000@\u01fa\u0001\u0000\u0000\u0000B\u01fc\u0001\u0000\u0000\u0000D"+ - "\u01ff\u0001\u0000\u0000\u0000F\u022d\u0001\u0000\u0000\u0000H\u0230\u0001"+ - "\u0000\u0000\u0000J\u023f\u0001\u0000\u0000\u0000L\u024f\u0001\u0000\u0000"+ - "\u0000N\u025b\u0001\u0000\u0000\u0000P\u0261\u0001\u0000\u0000\u0000R"+ - "\u0263\u0001\u0000\u0000\u0000T\u0278\u0001\u0000\u0000\u0000V\u027a\u0001"+ - "\u0000\u0000\u0000X\u028d\u0001\u0000\u0000\u0000Z\u0298\u0001\u0000\u0000"+ - "\u0000\\\u02c6\u0001\u0000\u0000\u0000^\u02c8\u0001\u0000\u0000\u0000"+ - "`\u02e2\u0001\u0000\u0000\u0000b\u0302\u0001\u0000\u0000\u0000d\u0304"+ - "\u0001\u0000\u0000\u0000f\u031c\u0001\u0000\u0000\u0000h\u031e\u0001\u0000"+ - "\u0000\u0000j\u032f\u0001\u0000\u0000\u0000l\u0359\u0001\u0000\u0000\u0000"+ - "n\u035b\u0001\u0000\u0000\u0000p\u0362\u0001\u0000\u0000\u0000r\u037c"+ - "\u0001\u0000\u0000\u0000t\u037e\u0001\u0000\u0000\u0000v\u0384\u0001\u0000"+ - "\u0000\u0000x\u0389\u0001\u0000\u0000\u0000z\u0392\u0001\u0000\u0000\u0000"+ - "|\u039a\u0001\u0000\u0000\u0000~\u03aa\u0001\u0000\u0000\u0000\u0080\u03ac"+ - "\u0001\u0000\u0000\u0000\u0082\u03d5\u0001\u0000\u0000\u0000\u0084\u03e8"+ - "\u0001\u0000\u0000\u0000\u0086\u041e\u0001\u0000\u0000\u0000\u0088\u042d"+ - "\u0001\u0000\u0000\u0000\u008a\u042f\u0001\u0000\u0000\u0000\u008c\u045a"+ - "\u0001\u0000\u0000\u0000\u008e\u045c\u0001\u0000\u0000\u0000\u0090\u0464"+ - "\u0001\u0000\u0000\u0000\u0092\u0475\u0001\u0000\u0000\u0000\u0094\u0481"+ - "\u0001\u0000\u0000\u0000\u0096\u0097\u0007\u0000\u0000\u0000\u0097\u0001"+ - "\u0001\u0000\u0000\u0000\u0098\u0099\u0005\u0006\u0000\u0000\u0099\u0003"+ - "\u0001\u0000\u0000\u0000\u009a\u009b\u0005\u0007\u0000\u0000\u009b\u0005"+ - "\u0001\u0000\u0000\u0000\u009c\u00aa\u0005\n\u0000\u0000\u009d\u00aa\u0005"+ - "\u000b\u0000\u0000\u009e\u009f\u0005\u0001\u0000\u0000\u009f\u00a0\u0005"+ - "\r\u0000\u0000\u00a0\u00a1\u0003 \u0010\u0000\u00a1\u00a2\u0005\u0002"+ - "\u0000\u0000\u00a2\u00aa\u0001\u0000\u0000\u0000\u00a3\u00a4\u0005\u0001"+ - "\u0000\u0000\u00a4\u00a5\u0005\r\u0000\u0000\u00a5\u00a6\u0005\u000f\u0000"+ - "\u0000\u00a6\u00a7\u0003 \u0010\u0000\u00a7\u00a8\u0005\u0002\u0000\u0000"+ - "\u00a8\u00aa\u0001\u0000\u0000\u0000\u00a9\u009c\u0001\u0000\u0000\u0000"+ - "\u00a9\u009d\u0001\u0000\u0000\u0000\u00a9\u009e\u0001\u0000\u0000\u0000"+ - "\u00a9\u00a3\u0001\u0000\u0000\u0000\u00aa\u0007\u0001\u0000\u0000\u0000"+ - "\u00ab\u00ac\u0005\u00a7\u0000\u0000\u00ac\t\u0001\u0000\u0000\u0000\u00ad"+ - "\u00b1\u0003\u0004\u0002\u0000\u00ae\u00b1\u0003\b\u0004\u0000\u00af\u00b1"+ - "\u0003\u0006\u0003\u0000\u00b0\u00ad\u0001\u0000\u0000\u0000\u00b0\u00ae"+ - "\u0001\u0000\u0000\u0000\u00b0\u00af\u0001\u0000\u0000\u0000\u00b1\u000b"+ - "\u0001\u0000\u0000\u0000\u00b2\u00b6\u0005\u0083\u0000\u0000\u00b3\u00b6"+ - "\u0005\u0084\u0000\u0000\u00b4\u00b6\u0003\u0016\u000b\u0000\u00b5\u00b2"+ - "\u0001\u0000\u0000\u0000\u00b5\u00b3\u0001\u0000\u0000\u0000\u00b5\u00b4"+ - "\u0001\u0000\u0000\u0000\u00b6\r\u0001\u0000\u0000\u0000\u00b7\u00be\u0003"+ - "\n\u0005\u0000\u00b8\u00b9\u0005\u0001\u0000\u0000\u00b9\u00ba\u0005\f"+ - "\u0000\u0000\u00ba\u00bb\u0003\n\u0005\u0000\u00bb\u00bc\u0005\u0002\u0000"+ - "\u0000\u00bc\u00be\u0001\u0000\u0000\u0000\u00bd\u00b7\u0001\u0000\u0000"+ - "\u0000\u00bd\u00b8\u0001\u0000\u0000\u0000\u00be\u000f\u0001\u0000\u0000"+ - "\u0000\u00bf\u00c0\u0005\u0001\u0000\u0000\u00c0\u00c1\u0005\u0083\u0000"+ - "\u0000\u00c1\u00c2\u0003\u0016\u000b\u0000\u00c2\u00c3\u0005\u0002\u0000"+ - "\u0000\u00c3\u00ca\u0001\u0000\u0000\u0000\u00c4\u00c5\u0005\u0001\u0000"+ - "\u0000\u00c5\u00c6\u0005\u000e\u0000\u0000\u00c6\u00c7\u0003 \u0010\u0000"+ - "\u00c7\u00c8\u0005\u0002\u0000\u0000\u00c8\u00ca\u0001\u0000\u0000\u0000"+ - "\u00c9\u00bf\u0001\u0000\u0000\u0000\u00c9\u00c4\u0001\u0000\u0000\u0000"+ - "\u00ca\u0011\u0001\u0000\u0000\u0000\u00cb\u00cc\u0005\u0001\u0000\u0000"+ - "\u00cc\u00d6\u0005\u0086\u0000\u0000\u00cd\u00cf\u0003\n\u0005\u0000\u00ce"+ - "\u00cd\u0001\u0000\u0000\u0000\u00cf\u00d2\u0001\u0000\u0000\u0000\u00d0"+ - "\u00ce\u0001\u0000\u0000\u0000\u00d0\u00d1\u0001\u0000\u0000\u0000\u00d1"+ - "\u00d7\u0001\u0000\u0000\u0000\u00d2\u00d0\u0001\u0000\u0000\u0000\u00d3"+ - "\u00d4\u0003\"\u0011\u0000\u00d4\u00d5\u0003\n\u0005\u0000\u00d5\u00d7"+ - "\u0001\u0000\u0000\u0000\u00d6\u00d0\u0001\u0000\u0000\u0000\u00d6\u00d3"+ - "\u0001\u0000\u0000\u0000\u00d7\u00d8\u0001\u0000\u0000\u0000\u00d8\u00da"+ - "\u0005\u0002\u0000\u0000\u00d9\u00cb\u0001\u0000\u0000\u0000\u00da\u00dd"+ - "\u0001\u0000\u0000\u0000\u00db\u00d9\u0001\u0000\u0000\u0000\u00db\u00dc"+ - "\u0001\u0000\u0000\u0000\u00dc\u0013\u0001\u0000\u0000\u0000\u00dd\u00db"+ - "\u0001\u0000\u0000\u0000\u00de\u00df\u0005\u0001\u0000\u0000\u00df\u00e3"+ - "\u0005\u0087\u0000\u0000\u00e0\u00e2\u0003\n\u0005\u0000\u00e1\u00e0\u0001"+ - "\u0000\u0000\u0000\u00e2\u00e5\u0001\u0000\u0000\u0000\u00e3\u00e1\u0001"+ - "\u0000\u0000\u0000\u00e3\u00e4\u0001\u0000\u0000\u0000\u00e4\u00e6\u0001"+ - "\u0000\u0000\u0000\u00e5\u00e3\u0001\u0000\u0000\u0000\u00e6\u00e8\u0005"+ - "\u0002\u0000\u0000\u00e7\u00de\u0001\u0000\u0000\u0000\u00e8\u00eb\u0001"+ - "\u0000\u0000\u0000\u00e9\u00e7\u0001\u0000\u0000\u0000\u00e9\u00ea\u0001"+ - "\u0000\u0000\u0000\u00ea\u0015\u0001\u0000\u0000\u0000\u00eb\u00e9\u0001"+ - "\u0000\u0000\u0000\u00ec\u00ed\u0003\u0012\t\u0000\u00ed\u00ee\u0003\u0014"+ - "\n\u0000\u00ee\u0017\u0001\u0000\u0000\u0000\u00ef\u00f1\u0005\u0003\u0000"+ - "\u0000\u00f0\u00f2\u0005\u0003\u0000\u0000\u00f1\u00f0\u0001\u0000\u0000"+ - "\u0000\u00f1\u00f2\u0001\u0000\u0000\u0000\u00f2\u00f3\u0001\u0000\u0000"+ - "\u0000\u00f3\u00f4\u0003\u0006\u0003\u0000\u00f4\u0019\u0001\u0000\u0000"+ - "\u0000\u00f5\u00f7\u0005\u0003\u0000\u0000\u00f6\u00f8\u0005\u0003\u0000"+ - "\u0000\u00f7\u00f6\u0001\u0000\u0000\u0000\u00f7\u00f8\u0001\u0000\u0000"+ - "\u0000\u00f8\u001b\u0001\u0000\u0000\u0000\u00f9\u00fa\u0005\u0001\u0000"+ - "\u0000\u00fa\u00fb\u0005\u0082\u0000\u0000\u00fb\u00fc\u0003 \u0010\u0000"+ - "\u00fc\u00fd\u0005\u0002\u0000\u0000\u00fd\u001d\u0001\u0000\u0000\u0000"+ - "\u00fe\u00ff\u0007\u0001\u0000\u0000\u00ff\u001f\u0001\u0000\u0000\u0000"+ - "\u0100\u0101\u0007\u0002\u0000\u0000\u0101!\u0001\u0000\u0000\u0000\u0102"+ - "\u0103\u0005\u00a6\u0000\u0000\u0103#\u0001\u0000\u0000\u0000\u0104\u0109"+ - "\u0003&\u0013\u0000\u0105\u0109\u0003>\u001f\u0000\u0106\u0109\u0003D"+ - "\"\u0000\u0107\u0109\u0003(\u0014\u0000\u0108\u0104\u0001\u0000\u0000"+ - "\u0000\u0108\u0105\u0001\u0000\u0000\u0000\u0108\u0106\u0001\u0000\u0000"+ - "\u0000\u0108\u0107\u0001\u0000\u0000\u0000\u0109%\u0001\u0000\u0000\u0000"+ - "\u010a\u0159\u0005\u0014\u0000\u0000\u010b\u0159\u0005\u0010\u0000\u0000"+ - "\u010c\u0159\u0005\u0015\u0000\u0000\u010d\u0159\u00034\u001a\u0000\u010e"+ - "\u010f\u0005\u0019\u0000\u0000\u010f\u0159\u0003 \u0010\u0000\u0110\u0111"+ - "\u0005\u001a\u0000\u0000\u0111\u0159\u0003 \u0010\u0000\u0112\u0114\u0005"+ - "\u001b\u0000\u0000\u0113\u0115\u0003 \u0010\u0000\u0114\u0113\u0001\u0000"+ - "\u0000\u0000\u0115\u0116\u0001\u0000\u0000\u0000\u0116\u0114\u0001\u0000"+ - "\u0000\u0000\u0116\u0117\u0001\u0000\u0000\u0000\u0117\u0159\u0001\u0000"+ - "\u0000\u0000\u0118\u0159\u0005\u001c\u0000\u0000\u0119\u011a\u0005!\u0000"+ - "\u0000\u011a\u0159\u0003 \u0010\u0000\u011b\u011c\u0005#\u0000\u0000\u011c"+ - "\u0159\u0003 \u0010\u0000\u011d\u011e\u00052\u0000\u0000\u011e\u0159\u0003"+ - " \u0010\u0000\u011f\u0120\u00053\u0000\u0000\u0120\u0159\u0003 \u0010"+ - "\u0000\u0121\u0122\u00054\u0000\u0000\u0122\u0159\u0003 \u0010\u0000\u0123"+ - "\u0124\u00055\u0000\u0000\u0124\u0159\u0003 \u0010\u0000\u0125\u0126\u0005"+ - "6\u0000\u0000\u0126\u0159\u0003 \u0010\u0000\u0127\u0129\u00030\u0018"+ - "\u0000\u0128\u012a\u0003,\u0016\u0000\u0129\u0128\u0001\u0000\u0000\u0000"+ - "\u0129\u012a\u0001\u0000\u0000\u0000\u012a\u012c\u0001\u0000\u0000\u0000"+ - "\u012b\u012d\u0003.\u0017\u0000\u012c\u012b\u0001\u0000\u0000\u0000\u012c"+ - "\u012d\u0001\u0000\u0000\u0000\u012d\u0159\u0001\u0000\u0000\u0000\u012e"+ - "\u0130\u00032\u0019\u0000\u012f\u0131\u0003,\u0016\u0000\u0130\u012f\u0001"+ - "\u0000\u0000\u0000\u0130\u0131\u0001\u0000\u0000\u0000\u0131\u0133\u0001"+ - "\u0000\u0000\u0000\u0132\u0134\u0003.\u0017\u0000\u0133\u0132\u0001\u0000"+ - "\u0000\u0000\u0133\u0134\u0001\u0000\u0000\u0000\u0134\u0159\u0001\u0000"+ - "\u0000\u0000\u0135\u0159\u0005x\u0000\u0000\u0136\u0159\u0005y\u0000\u0000"+ - "\u0137\u0159\u0005z\u0000\u0000\u0138\u0159\u0005{\u0000\u0000\u0139\u013a"+ - "\u0005|\u0000\u0000\u013a\u0159\u0003 \u0010\u0000\u013b\u013c\u0005\b"+ - "\u0000\u0000\u013c\u0159\u0003\u001e\u000f\u0000\u013d\u0159\u0005\t\u0000"+ - "\u0000\u013e\u0159\u0005\u0011\u0000\u0000\u013f\u0159\u0005\u0012\u0000"+ - "\u0000\u0140\u0159\u0005\u0013\u0000\u0000\u0141\u0159\u0005}\u0000\u0000"+ - "\u0142\u0159\u0005~\u0000\u0000\u0143\u0159\u0005\u007f\u0000\u0000\u0144"+ - "\u0159\u0005\u0080\u0000\u0000\u0145\u0159\u0005\u0081\u0000\u0000\u0146"+ - "\u0159\u00036\u001b\u0000\u0147\u0148\u0005)\u0000\u0000\u0148\u0159\u0003"+ - " \u0010\u0000\u0149\u014a\u0005%\u0000\u0000\u014a\u0159\u0003 \u0010"+ - "\u0000\u014b\u014c\u0005+\u0000\u0000\u014c\u0159\u0003 \u0010\u0000\u014d"+ - "\u014e\u0005*\u0000\u0000\u014e\u014f\u0003 \u0010\u0000\u014f\u0150\u0003"+ - " \u0010\u0000\u0150\u0159\u0001\u0000\u0000\u0000\u0151\u0152\u0005&\u0000"+ - "\u0000\u0152\u0159\u0003 \u0010\u0000\u0153\u0154\u0005,\u0000\u0000\u0154"+ - "\u0159\u0003 \u0010\u0000\u0155\u0159\u0005-\u0000\u0000\u0156\u0159\u0005"+ - "1\u0000\u0000\u0157\u0159\u00050\u0000\u0000\u0158\u010a\u0001\u0000\u0000"+ - "\u0000\u0158\u010b\u0001\u0000\u0000\u0000\u0158\u010c\u0001\u0000\u0000"+ - "\u0000\u0158\u010d\u0001\u0000\u0000\u0000\u0158\u010e\u0001\u0000\u0000"+ - "\u0000\u0158\u0110\u0001\u0000\u0000\u0000\u0158\u0112\u0001\u0000\u0000"+ - "\u0000\u0158\u0118\u0001\u0000\u0000\u0000\u0158\u0119\u0001\u0000\u0000"+ - "\u0000\u0158\u011b\u0001\u0000\u0000\u0000\u0158\u011d\u0001\u0000\u0000"+ - "\u0000\u0158\u011f\u0001\u0000\u0000\u0000\u0158\u0121\u0001\u0000\u0000"+ - "\u0000\u0158\u0123\u0001\u0000\u0000\u0000\u0158\u0125\u0001\u0000\u0000"+ - "\u0000\u0158\u0127\u0001\u0000\u0000\u0000\u0158\u012e\u0001\u0000\u0000"+ - "\u0000\u0158\u0135\u0001\u0000\u0000\u0000\u0158\u0136\u0001\u0000\u0000"+ - "\u0000\u0158\u0137\u0001\u0000\u0000\u0000\u0158\u0138\u0001\u0000\u0000"+ - "\u0000\u0158\u0139\u0001\u0000\u0000\u0000\u0158\u013b\u0001\u0000\u0000"+ - "\u0000\u0158\u013d\u0001\u0000\u0000\u0000\u0158\u013e\u0001\u0000\u0000"+ - "\u0000\u0158\u013f\u0001\u0000\u0000\u0000\u0158\u0140\u0001\u0000\u0000"+ - "\u0000\u0158\u0141\u0001\u0000\u0000\u0000\u0158\u0142\u0001\u0000\u0000"+ - "\u0000\u0158\u0143\u0001\u0000\u0000\u0000\u0158\u0144\u0001\u0000\u0000"+ - "\u0000\u0158\u0145\u0001\u0000\u0000\u0000\u0158\u0146\u0001\u0000\u0000"+ - "\u0000\u0158\u0147\u0001\u0000\u0000\u0000\u0158\u0149\u0001\u0000\u0000"+ - "\u0000\u0158\u014b\u0001\u0000\u0000\u0000\u0158\u014d\u0001\u0000\u0000"+ - "\u0000\u0158\u0151\u0001\u0000\u0000\u0000\u0158\u0153\u0001\u0000\u0000"+ - "\u0000\u0158\u0155\u0001\u0000\u0000\u0000\u0158\u0156\u0001\u0000\u0000"+ - "\u0000\u0158\u0157\u0001\u0000\u0000\u0000\u0159\'\u0001\u0000\u0000\u0000"+ - "\u015a\u015b\u0005\'\u0000\u0000\u015b\u015f\u0003 \u0010\u0000\u015c"+ - "\u015e\u0003*\u0015\u0000\u015d\u015c\u0001\u0000\u0000\u0000\u015e\u0161"+ - "\u0001\u0000\u0000\u0000\u015f\u015d\u0001\u0000\u0000\u0000\u015f\u0160"+ - "\u0001\u0000\u0000\u0000\u0160)\u0001\u0000\u0000\u0000\u0161\u015f\u0001"+ - "\u0000\u0000\u0000\u0162\u0163\u0005\u0001\u0000\u0000\u0163\u0164\u0005"+ - "(\u0000\u0000\u0164\u0165\u0003 \u0010\u0000\u0165\u0166\u0003 \u0010"+ - "\u0000\u0166\u0167\u0005\u0002\u0000\u0000\u0167+\u0001\u0000\u0000\u0000"+ - "\u0168\u0169\u0005:\u0000\u0000\u0169\u016a\u0005\u0003\u0000\u0000\u016a"+ - "-\u0001\u0000\u0000\u0000\u016b\u016c\u0005;\u0000\u0000\u016c\u016d\u0005"+ - "\u0003\u0000\u0000\u016d/\u0001\u0000\u0000\u0000\u016e\u016f\u0003\u0004"+ - "\u0002\u0000\u016f\u0173\u00057\u0000\u0000\u0170\u0171\u0005=\u0000\u0000"+ - "\u0171\u0172\u00059\u0000\u0000\u0172\u0174\u0005<\u0000\u0000\u0173\u0170"+ - "\u0001\u0000\u0000\u0000\u0173\u0174\u0001\u0000\u0000\u0000\u01741\u0001"+ - "\u0000\u0000\u0000\u0175\u0176\u0003\u0004\u0002\u0000\u0176\u0178\u0005"+ - "8\u0000\u0000\u0177\u0179\u0005=\u0000\u0000\u0178\u0177\u0001\u0000\u0000"+ - "\u0000\u0178\u0179\u0001\u0000\u0000\u0000\u01793\u0001\u0000\u0000\u0000"+ - "\u017a\u017b\u0003\u0004\u0002\u0000\u017b\u017c\u0005 \u0000\u0000\u017c"+ - "5\u0001\u0000\u0000\u0000\u017d\u017f\u0005\"\u0000\u0000\u017e\u0180"+ - "\u0003 \u0010\u0000\u017f\u017e\u0001\u0000\u0000\u0000\u017f\u0180\u0001"+ - "\u0000\u0000\u0000\u0180\u0181\u0001\u0000\u0000\u0000\u0181\u0188\u0003"+ - "\u001c\u000e\u0000\u0182\u0184\u0005$\u0000\u0000\u0183\u0185\u0003 \u0010"+ - "\u0000\u0184\u0183\u0001\u0000\u0000\u0000\u0184\u0185\u0001\u0000\u0000"+ - "\u0000\u0185\u0186\u0001\u0000\u0000\u0000\u0186\u0188\u0003\u001c\u000e"+ - "\u0000\u0187\u017d\u0001\u0000\u0000\u0000\u0187\u0182\u0001\u0000\u0000"+ - "\u0000\u01887\u0001\u0000\u0000\u0000\u0189\u018a\u0005\u0001\u0000\u0000"+ - "\u018a\u018e\u0005\u0086\u0000\u0000\u018b\u018d\u0003\n\u0005\u0000\u018c"+ - "\u018b\u0001\u0000\u0000\u0000\u018d\u0190\u0001\u0000\u0000\u0000\u018e"+ - "\u018c\u0001\u0000\u0000\u0000\u018e\u018f\u0001\u0000\u0000\u0000\u018f"+ - "\u0191\u0001\u0000\u0000\u0000\u0190\u018e\u0001\u0000\u0000\u0000\u0191"+ - "\u0193\u0005\u0002\u0000\u0000\u0192\u0189\u0001\u0000\u0000\u0000\u0193"+ - "\u0196\u0001\u0000\u0000\u0000\u0194\u0192\u0001\u0000\u0000\u0000\u0194"+ - "\u0195\u0001\u0000\u0000\u0000\u0195\u01a2\u0001\u0000\u0000\u0000\u0196"+ - "\u0194\u0001\u0000\u0000\u0000\u0197\u0198\u0005\u0001\u0000\u0000\u0198"+ - "\u019c\u0005\u0087\u0000\u0000\u0199\u019b\u0003\n\u0005\u0000\u019a\u0199"+ - "\u0001\u0000\u0000\u0000\u019b\u019e\u0001\u0000\u0000\u0000\u019c\u019a"+ - "\u0001\u0000\u0000\u0000\u019c\u019d\u0001\u0000\u0000\u0000\u019d\u019f"+ - "\u0001\u0000\u0000\u0000\u019e\u019c\u0001\u0000\u0000\u0000\u019f\u01a1"+ - "\u0005\u0002\u0000\u0000\u01a0\u0197\u0001\u0000\u0000\u0000\u01a1\u01a4"+ - "\u0001\u0000\u0000\u0000\u01a2\u01a0\u0001\u0000\u0000\u0000\u01a2\u01a3"+ - "\u0001\u0000\u0000\u0000\u01a39\u0001\u0000\u0000\u0000\u01a4\u01a2\u0001"+ - "\u0000\u0000\u0000\u01a5\u01a6\u0005\u0001\u0000\u0000\u01a6\u01aa\u0005"+ - "\u0086\u0000\u0000\u01a7\u01a9\u0003\n\u0005\u0000\u01a8\u01a7\u0001\u0000"+ - "\u0000\u0000\u01a9\u01ac\u0001\u0000\u0000\u0000\u01aa\u01a8\u0001\u0000"+ - "\u0000\u0000\u01aa\u01ab\u0001\u0000\u0000\u0000\u01ab\u01ad\u0001\u0000"+ - "\u0000\u0000\u01ac\u01aa\u0001\u0000\u0000\u0000\u01ad\u01af\u0005\u0002"+ - "\u0000\u0000\u01ae\u01a5\u0001\u0000\u0000\u0000\u01af\u01b2\u0001\u0000"+ - "\u0000\u0000\u01b0\u01ae\u0001\u0000\u0000\u0000\u01b0\u01b1\u0001\u0000"+ - "\u0000\u0000\u01b1\u01b3\u0001\u0000\u0000\u0000\u01b2\u01b0\u0001\u0000"+ - "\u0000\u0000\u01b3\u01b4\u0003<\u001e\u0000\u01b4;\u0001\u0000\u0000\u0000"+ - "\u01b5\u01b6\u0005\u0001\u0000\u0000\u01b6\u01ba\u0005\u0087\u0000\u0000"+ - "\u01b7\u01b9\u0003\n\u0005\u0000\u01b8\u01b7\u0001\u0000\u0000\u0000\u01b9"+ - "\u01bc\u0001\u0000\u0000\u0000\u01ba\u01b8\u0001\u0000\u0000\u0000\u01ba"+ - "\u01bb\u0001\u0000\u0000\u0000\u01bb\u01bd\u0001\u0000\u0000\u0000\u01bc"+ - "\u01ba\u0001\u0000\u0000\u0000\u01bd\u01bf\u0005\u0002\u0000\u0000\u01be"+ - "\u01b5\u0001\u0000\u0000\u0000\u01bf\u01c2\u0001\u0000\u0000\u0000\u01c0"+ - "\u01be\u0001\u0000\u0000\u0000\u01c0\u01c1\u0001\u0000\u0000\u0000\u01c1"+ - "\u01c3\u0001\u0000\u0000\u0000\u01c2\u01c0\u0001\u0000\u0000\u0000\u01c3"+ - "\u01c4\u0003$\u0012\u0000\u01c4=\u0001\u0000\u0000\u0000\u01c5\u01c7\u0005"+ - "\u0016\u0000\u0000\u01c6\u01c8\u0003\"\u0011\u0000\u01c7\u01c6\u0001\u0000"+ - "\u0000\u0000\u01c7\u01c8\u0001\u0000\u0000\u0000\u01c8\u01c9\u0001\u0000"+ - "\u0000\u0000\u01c9\u01ca\u0003B!\u0000\u01ca\u01cc\u0005\u0018\u0000\u0000"+ - "\u01cb\u01cd\u0003\"\u0011\u0000\u01cc\u01cb\u0001\u0000\u0000\u0000\u01cc"+ - "\u01cd\u0001\u0000\u0000\u0000\u01cd\u01ee\u0001\u0000\u0000\u0000\u01ce"+ - "\u01d0\u0005\u0017\u0000\u0000\u01cf\u01d1\u0003\"\u0011\u0000\u01d0\u01cf"+ - "\u0001\u0000\u0000\u0000\u01d0\u01d1\u0001\u0000\u0000\u0000\u01d1\u01d2"+ - "\u0001\u0000\u0000\u0000\u01d2\u01d3\u0003B!\u0000\u01d3\u01d5\u0005\u0018"+ - "\u0000\u0000\u01d4\u01d6\u0003\"\u0011\u0000\u01d5\u01d4\u0001\u0000\u0000"+ - "\u0000\u01d5\u01d6\u0001\u0000\u0000\u0000\u01d6\u01ee\u0001\u0000\u0000"+ - "\u0000\u01d7\u01d9\u0005\u001d\u0000\u0000\u01d8\u01da\u0003\"\u0011\u0000"+ - "\u01d9\u01d8\u0001\u0000\u0000\u0000\u01d9\u01da\u0001\u0000\u0000\u0000"+ - "\u01da\u01db\u0001\u0000\u0000\u0000\u01db\u01e1\u0003B!\u0000\u01dc\u01de"+ - "\u0005\u001f\u0000\u0000\u01dd\u01df\u0003\"\u0011\u0000\u01de\u01dd\u0001"+ - "\u0000\u0000\u0000\u01de\u01df\u0001\u0000\u0000\u0000\u01df\u01e0\u0001"+ - "\u0000\u0000\u0000\u01e0\u01e2\u0003N\'\u0000\u01e1\u01dc\u0001\u0000"+ - "\u0000\u0000\u01e1\u01e2\u0001\u0000\u0000\u0000\u01e2\u01e3\u0001\u0000"+ - "\u0000\u0000\u01e3\u01e5\u0005\u0018\u0000\u0000\u01e4\u01e6\u0003\"\u0011"+ - "\u0000\u01e5\u01e4\u0001\u0000\u0000\u0000\u01e5\u01e6\u0001\u0000\u0000"+ - "\u0000\u01e6\u01ee\u0001\u0000\u0000\u0000\u01e7\u01e8\u0005.\u0000\u0000"+ - "\u01e8\u01e9\u0003B!\u0000\u01e9\u01ea\u0005/\u0000\u0000\u01ea\u01eb"+ - "\u0003B!\u0000\u01eb\u01ec\u0005\u0018\u0000\u0000\u01ec\u01ee\u0001\u0000"+ - "\u0000\u0000\u01ed\u01c5\u0001\u0000\u0000\u0000\u01ed\u01ce\u0001\u0000"+ - "\u0000\u0000\u01ed\u01d7\u0001\u0000\u0000\u0000\u01ed\u01e7\u0001\u0000"+ - "\u0000\u0000\u01ee?\u0001\u0000\u0000\u0000\u01ef\u01f0\u0005\u0001\u0000"+ - "\u0000\u01f0\u01f1\u0005\u0087\u0000\u0000\u01f1\u01f2\u0003\n\u0005\u0000"+ - "\u01f2\u01f3\u0005\u0002\u0000\u0000\u01f3\u01f5\u0001\u0000\u0000\u0000"+ - "\u01f4\u01ef\u0001\u0000\u0000\u0000\u01f4\u01f5\u0001\u0000\u0000\u0000"+ - "\u01f5\u01fb\u0001\u0000\u0000\u0000\u01f6\u01f7\u0003\u001c\u000e\u0000"+ - "\u01f7\u01f8\u0003\u0016\u000b\u0000\u01f8\u01fb\u0001\u0000\u0000\u0000"+ - "\u01f9\u01fb\u0003\u0016\u000b\u0000\u01fa\u01f4\u0001\u0000\u0000\u0000"+ - "\u01fa\u01f6\u0001\u0000\u0000\u0000\u01fa\u01f9\u0001\u0000\u0000\u0000"+ - "\u01fbA\u0001\u0000\u0000\u0000\u01fc\u01fd\u0003@ \u0000\u01fd\u01fe"+ - "\u0003N\'\u0000\u01feC\u0001\u0000\u0000\u0000\u01ff\u0200\u0005\u0001"+ - "\u0000\u0000\u0200\u0201\u0003F#\u0000\u0201\u0202\u0005\u0002\u0000\u0000"+ - "\u0202E\u0001\u0000\u0000\u0000\u0203\u0207\u0003&\u0013\u0000\u0204\u0206"+ - "\u0003F#\u0000\u0205\u0204\u0001\u0000\u0000\u0000\u0206\u0209\u0001\u0000"+ - "\u0000\u0000\u0207\u0205\u0001\u0000\u0000\u0000\u0207\u0208\u0001\u0000"+ - "\u0000\u0000\u0208\u022e\u0001\u0000\u0000\u0000\u0209\u0207\u0001\u0000"+ - "\u0000\u0000\u020a\u020b\u0005\"\u0000\u0000\u020b\u022e\u0003H$\u0000"+ - "\u020c\u020d\u0005$\u0000\u0000\u020d\u022e\u0003H$\u0000\u020e\u0210"+ - "\u0005\u0016\u0000\u0000\u020f\u0211\u0003\"\u0011\u0000\u0210\u020f\u0001"+ - "\u0000\u0000\u0000\u0210\u0211\u0001\u0000\u0000\u0000\u0211\u0212\u0001"+ - "\u0000\u0000\u0000\u0212\u022e\u0003B!\u0000\u0213\u0215\u0005\u0017\u0000"+ - "\u0000\u0214\u0216\u0003\"\u0011\u0000\u0215\u0214\u0001\u0000\u0000\u0000"+ - "\u0215\u0216\u0001\u0000\u0000\u0000\u0216\u0217\u0001\u0000\u0000\u0000"+ - "\u0217\u022e\u0003B!\u0000\u0218\u021a\u0005\u001d\u0000\u0000\u0219\u021b"+ - "\u0003\"\u0011\u0000\u021a\u0219\u0001\u0000\u0000\u0000\u021a\u021b\u0001"+ - "\u0000\u0000\u0000\u021b\u021c\u0001\u0000\u0000\u0000\u021c\u0220\u0003"+ - "@ \u0000\u021d\u021f\u0003D\"\u0000\u021e\u021d\u0001\u0000\u0000\u0000"+ - "\u021f\u0222\u0001\u0000\u0000\u0000\u0220\u021e\u0001\u0000\u0000\u0000"+ - "\u0220\u0221\u0001\u0000\u0000\u0000\u0221\u0223\u0001\u0000\u0000\u0000"+ - "\u0222\u0220\u0001\u0000\u0000\u0000\u0223\u0224\u0005\u0001\u0000\u0000"+ - "\u0224\u0225\u0005\u001e\u0000\u0000\u0225\u022b\u0003N\'\u0000\u0226"+ - "\u0227\u0005\u0001\u0000\u0000\u0227\u0228\u0005\u001f\u0000\u0000\u0228"+ - "\u0229\u0003N\'\u0000\u0229\u022a\u0005\u0002\u0000\u0000\u022a\u022c"+ - "\u0001\u0000\u0000\u0000\u022b\u0226\u0001\u0000\u0000\u0000\u022b\u022c"+ - "\u0001\u0000\u0000\u0000\u022c\u022e\u0001\u0000\u0000\u0000\u022d\u0203"+ - "\u0001\u0000\u0000\u0000\u022d\u020a\u0001\u0000\u0000\u0000\u022d\u020c"+ - "\u0001\u0000\u0000\u0000\u022d\u020e\u0001\u0000\u0000\u0000\u022d\u0213"+ - "\u0001\u0000\u0000\u0000\u022d\u0218\u0001\u0000\u0000\u0000\u022eG\u0001"+ - "\u0000\u0000\u0000\u022f\u0231\u0003\u001c\u000e\u0000\u0230\u022f\u0001"+ - "\u0000\u0000\u0000\u0230\u0231\u0001\u0000\u0000\u0000\u0231\u0232\u0001"+ - "\u0000\u0000\u0000\u0232\u0233\u0003J%\u0000\u0233I\u0001\u0000\u0000"+ - "\u0000\u0234\u0235\u0005\u0001\u0000\u0000\u0235\u0239\u0005\u0086\u0000"+ - "\u0000\u0236\u0238\u0003\n\u0005\u0000\u0237\u0236\u0001\u0000\u0000\u0000"+ - "\u0238\u023b\u0001\u0000\u0000\u0000\u0239\u0237\u0001\u0000\u0000\u0000"+ - "\u0239\u023a\u0001\u0000\u0000\u0000\u023a\u023c\u0001\u0000\u0000\u0000"+ - "\u023b\u0239\u0001\u0000\u0000\u0000\u023c\u023e\u0005\u0002\u0000\u0000"+ - "\u023d\u0234\u0001\u0000\u0000\u0000\u023e\u0241\u0001\u0000\u0000\u0000"+ - "\u023f\u023d\u0001\u0000\u0000\u0000\u023f\u0240\u0001\u0000\u0000\u0000"+ - "\u0240\u0242\u0001\u0000\u0000\u0000\u0241\u023f\u0001\u0000\u0000\u0000"+ - "\u0242\u0243\u0003L&\u0000\u0243K\u0001\u0000\u0000\u0000\u0244\u0245"+ - "\u0005\u0001\u0000\u0000\u0245\u0249\u0005\u0087\u0000\u0000\u0246\u0248"+ - "\u0003\n\u0005\u0000\u0247\u0246\u0001\u0000\u0000\u0000\u0248\u024b\u0001"+ - "\u0000\u0000\u0000\u0249\u0247\u0001\u0000\u0000\u0000\u0249\u024a\u0001"+ - "\u0000\u0000\u0000\u024a\u024c\u0001\u0000\u0000\u0000\u024b\u0249\u0001"+ - "\u0000\u0000\u0000\u024c\u024e\u0005\u0002\u0000\u0000\u024d\u0244\u0001"+ - "\u0000\u0000\u0000\u024e\u0251\u0001\u0000\u0000\u0000\u024f\u024d\u0001"+ - "\u0000\u0000\u0000\u024f\u0250\u0001\u0000\u0000\u0000\u0250\u0255\u0001"+ - "\u0000\u0000\u0000\u0251\u024f\u0001\u0000\u0000\u0000\u0252\u0254\u0003"+ - "F#\u0000\u0253\u0252\u0001\u0000\u0000\u0000\u0254\u0257\u0001\u0000\u0000"+ - "\u0000\u0255\u0253\u0001\u0000\u0000\u0000\u0255\u0256\u0001\u0000\u0000"+ - "\u0000\u0256M\u0001\u0000\u0000\u0000\u0257\u0255\u0001\u0000\u0000\u0000"+ - "\u0258\u025a\u0003$\u0012\u0000\u0259\u0258\u0001\u0000\u0000\u0000\u025a"+ - "\u025d\u0001\u0000\u0000\u0000\u025b\u0259\u0001\u0000\u0000\u0000\u025b"+ - "\u025c\u0001\u0000\u0000\u0000\u025c\u025f\u0001\u0000\u0000\u0000\u025d"+ - "\u025b\u0001\u0000\u0000\u0000\u025e\u0260\u00036\u001b\u0000\u025f\u025e"+ - "\u0001\u0000\u0000\u0000\u025f\u0260\u0001\u0000\u0000\u0000\u0260O\u0001"+ - "\u0000\u0000\u0000\u0261\u0262\u0003N\'\u0000\u0262Q\u0001\u0000\u0000"+ - "\u0000\u0263\u0264\u0005\u0001\u0000\u0000\u0264\u0266\u0005\u0083\u0000"+ - "\u0000\u0265\u0267\u0003\"\u0011\u0000\u0266\u0265\u0001\u0000\u0000\u0000"+ - "\u0266\u0267\u0001\u0000\u0000\u0000\u0267\u0268\u0001\u0000\u0000\u0000"+ - "\u0268\u0269\u0003T*\u0000\u0269\u026a\u0005\u0002\u0000\u0000\u026aS"+ - "\u0001\u0000\u0000\u0000\u026b\u026d\u0003\u001c\u000e\u0000\u026c\u026b"+ - "\u0001\u0000\u0000\u0000\u026c\u026d\u0001\u0000\u0000\u0000\u026d\u026e"+ - "\u0001\u0000\u0000\u0000\u026e\u0279\u0003V+\u0000\u026f\u0271\u0003p"+ - "8\u0000\u0270\u0272\u0003\u001c\u000e\u0000\u0271\u0270\u0001\u0000\u0000"+ - "\u0000\u0271\u0272\u0001\u0000\u0000\u0000\u0272\u0273\u0001\u0000\u0000"+ - "\u0000\u0273\u0274\u0003\u0016\u000b\u0000\u0274\u0279\u0001\u0000\u0000"+ - "\u0000\u0275\u0276\u0003v;\u0000\u0276\u0277\u0003T*\u0000\u0277\u0279"+ - "\u0001\u0000\u0000\u0000\u0278\u026c\u0001\u0000\u0000\u0000\u0278\u026f"+ - "\u0001\u0000\u0000\u0000\u0278\u0275\u0001\u0000\u0000\u0000\u0279U\u0001"+ - "\u0000\u0000\u0000\u027a\u027b\u0003\u0016\u000b\u0000\u027b\u027c\u0003"+ - "X,\u0000\u027cW\u0001\u0000\u0000\u0000\u027d\u027e\u0005\u0001\u0000"+ - "\u0000\u027e\u0288\u0005\u0088\u0000\u0000\u027f\u0281\u0003\n\u0005\u0000"+ - "\u0280\u027f\u0001\u0000\u0000\u0000\u0281\u0284\u0001\u0000\u0000\u0000"+ - "\u0282\u0280\u0001\u0000\u0000\u0000\u0282\u0283\u0001\u0000\u0000\u0000"+ - "\u0283\u0289\u0001\u0000\u0000\u0000\u0284\u0282\u0001\u0000\u0000\u0000"+ - "\u0285\u0286\u0003\"\u0011\u0000\u0286\u0287\u0003\n\u0005\u0000\u0287"+ - "\u0289\u0001\u0000\u0000\u0000\u0288\u0282\u0001\u0000\u0000\u0000\u0288"+ - "\u0285\u0001\u0000\u0000\u0000\u0289\u028a\u0001\u0000\u0000\u0000\u028a"+ - "\u028c\u0005\u0002\u0000\u0000\u028b\u027d\u0001\u0000\u0000\u0000\u028c"+ - "\u028f\u0001\u0000\u0000\u0000\u028d\u028b\u0001\u0000\u0000\u0000\u028d"+ - "\u028e\u0001\u0000\u0000\u0000\u028e\u0290\u0001\u0000\u0000\u0000\u028f"+ - "\u028d\u0001\u0000\u0000\u0000\u0290\u0291\u0003N\'\u0000\u0291Y\u0001"+ - "\u0000\u0000\u0000\u0292\u0293\u0005\u0001\u0000\u0000\u0293\u0294\u0005"+ - "\u008e\u0000\u0000\u0294\u0295\u0003P(\u0000\u0295\u0296\u0005\u0002\u0000"+ - "\u0000\u0296\u0299\u0001\u0000\u0000\u0000\u0297\u0299\u0003F#\u0000\u0298"+ - "\u0292\u0001\u0000\u0000\u0000\u0298\u0297\u0001\u0000\u0000\u0000\u0299"+ - "[\u0001\u0000\u0000\u0000\u029a\u029b\u0005\u0001\u0000\u0000\u029b\u029d"+ - "\u0005\u008c\u0000\u0000\u029c\u029e\u0003 \u0010\u0000\u029d\u029c\u0001"+ - "\u0000\u0000\u0000\u029d\u029e\u0001\u0000\u0000\u0000\u029e\u029f\u0001"+ - "\u0000\u0000\u0000\u029f\u02a0\u0005\u0001\u0000\u0000\u02a0\u02a1\u0003"+ - "$\u0012\u0000\u02a1\u02a5\u0005\u0002\u0000\u0000\u02a2\u02a4\u0003 \u0010"+ - "\u0000\u02a3\u02a2\u0001\u0000\u0000\u0000\u02a4\u02a7\u0001\u0000\u0000"+ - "\u0000\u02a5\u02a3\u0001\u0000\u0000\u0000\u02a5\u02a6\u0001\u0000\u0000"+ - "\u0000\u02a6\u02a8\u0001\u0000\u0000\u0000\u02a7\u02a5\u0001\u0000\u0000"+ - "\u0000\u02a8\u02a9\u0005\u0002\u0000\u0000\u02a9\u02c7\u0001\u0000\u0000"+ - "\u0000\u02aa\u02ab\u0005\u0001\u0000\u0000\u02ab\u02ad\u0005\u008c\u0000"+ - "\u0000\u02ac\u02ae\u0003 \u0010\u0000\u02ad\u02ac\u0001\u0000\u0000\u0000"+ - "\u02ad\u02ae\u0001\u0000\u0000\u0000\u02ae\u02af\u0001\u0000\u0000\u0000"+ - "\u02af\u02b3\u0003Z-\u0000\u02b0\u02b2\u0003 \u0010\u0000\u02b1\u02b0"+ - "\u0001\u0000\u0000\u0000\u02b2\u02b5\u0001\u0000\u0000\u0000\u02b3\u02b1"+ - "\u0001\u0000\u0000\u0000\u02b3\u02b4\u0001\u0000\u0000\u0000\u02b4\u02b6"+ - "\u0001\u0000\u0000\u0000\u02b5\u02b3\u0001\u0000\u0000\u0000\u02b6\u02b7"+ - "\u0005\u0002\u0000\u0000\u02b7\u02c7\u0001\u0000\u0000\u0000\u02b8\u02b9"+ - "\u0005\u0001\u0000\u0000\u02b9\u02bb\u0005\u008c\u0000\u0000\u02ba\u02bc"+ - "\u0003 \u0010\u0000\u02bb\u02ba\u0001\u0000\u0000\u0000\u02bb\u02bc\u0001"+ - "\u0000\u0000\u0000\u02bc\u02bd\u0001\u0000\u0000\u0000\u02bd\u02be\u0005"+ - "\u0092\u0000\u0000\u02be\u02c2\u0005\u0083\u0000\u0000\u02bf\u02c1\u0003"+ - " \u0010\u0000\u02c0\u02bf\u0001\u0000\u0000\u0000\u02c1\u02c4\u0001\u0000"+ - "\u0000\u0000\u02c2\u02c0\u0001\u0000\u0000\u0000\u02c2\u02c3\u0001\u0000"+ - "\u0000\u0000\u02c3\u02c5\u0001\u0000\u0000\u0000\u02c4\u02c2\u0001\u0000"+ - "\u0000\u0000\u02c5\u02c7\u0005\u0002\u0000\u0000\u02c6\u029a\u0001\u0000"+ - "\u0000\u0000\u02c6\u02aa\u0001\u0000\u0000\u0000\u02c6\u02b8\u0001\u0000"+ - "\u0000\u0000\u02c7]\u0001\u0000\u0000\u0000\u02c8\u02c9\u0005\u0001\u0000"+ - "\u0000\u02c9\u02cb\u0005\u008a\u0000\u0000\u02ca\u02cc\u0003\"\u0011\u0000"+ - "\u02cb\u02ca\u0001\u0000\u0000\u0000\u02cb\u02cc\u0001\u0000\u0000\u0000"+ - "\u02cc\u02cd\u0001\u0000\u0000\u0000\u02cd\u02ce\u0003`0\u0000\u02ce\u02cf"+ - "\u0005\u0002\u0000\u0000\u02cf_\u0001\u0000\u0000\u0000\u02d0\u02e3\u0003"+ - "\u0018\f\u0000\u02d1\u02d2\u0003p8\u0000\u02d2\u02d3\u0003\u0018\f\u0000"+ - "\u02d3\u02e3\u0001\u0000\u0000\u0000\u02d4\u02d5\u0003v;\u0000\u02d5\u02d6"+ - "\u0003`0\u0000\u02d6\u02e3\u0001\u0000\u0000\u0000\u02d7\u02d8\u0003\u0006"+ - "\u0003\u0000\u02d8\u02d9\u0005\u0001\u0000\u0000\u02d9\u02dd\u0005\u008c"+ - "\u0000\u0000\u02da\u02dc\u0003 \u0010\u0000\u02db\u02da\u0001\u0000\u0000"+ - "\u0000\u02dc\u02df\u0001\u0000\u0000\u0000\u02dd\u02db\u0001\u0000\u0000"+ - "\u0000\u02dd\u02de\u0001\u0000\u0000\u0000\u02de\u02e0\u0001\u0000\u0000"+ - "\u0000\u02df\u02dd\u0001\u0000\u0000\u0000\u02e0\u02e1\u0005\u0002\u0000"+ - "\u0000\u02e1\u02e3\u0001\u0000\u0000\u0000\u02e2\u02d0\u0001\u0000\u0000"+ - "\u0000\u02e2\u02d1\u0001\u0000\u0000\u0000\u02e2\u02d4\u0001\u0000\u0000"+ - "\u0000\u02e2\u02d7\u0001\u0000\u0000\u0000\u02e3a\u0001\u0000\u0000\u0000"+ - "\u02e4\u02e5\u0005\u0001\u0000\u0000\u02e5\u02e7\u0005\u008d\u0000\u0000"+ - "\u02e6\u02e8\u0003 \u0010\u0000\u02e7\u02e6\u0001\u0000\u0000\u0000\u02e7"+ - "\u02e8\u0001\u0000\u0000\u0000\u02e8\u02e9\u0001\u0000\u0000\u0000\u02e9"+ - "\u02ea\u0005\u0001\u0000\u0000\u02ea\u02eb\u0003$\u0012\u0000\u02eb\u02ef"+ - "\u0005\u0002\u0000\u0000\u02ec\u02ee\u0005\u0006\u0000\u0000\u02ed\u02ec"+ - "\u0001\u0000\u0000\u0000\u02ee\u02f1\u0001\u0000\u0000\u0000\u02ef\u02ed"+ - "\u0001\u0000\u0000\u0000\u02ef\u02f0\u0001\u0000\u0000\u0000\u02f0\u02f2"+ - "\u0001\u0000\u0000\u0000\u02f1\u02ef\u0001\u0000\u0000\u0000\u02f2\u02f3"+ - "\u0005\u0002\u0000\u0000\u02f3\u0303\u0001\u0000\u0000\u0000\u02f4\u02f5"+ - "\u0005\u0001\u0000\u0000\u02f5\u02f7\u0005\u008d\u0000\u0000\u02f6\u02f8"+ - "\u0003 \u0010\u0000\u02f7\u02f6\u0001\u0000\u0000\u0000\u02f7\u02f8\u0001"+ - "\u0000\u0000\u0000\u02f8\u02f9\u0001\u0000\u0000\u0000\u02f9\u02fd\u0003"+ - "Z-\u0000\u02fa\u02fc\u0005\u0006\u0000\u0000\u02fb\u02fa\u0001\u0000\u0000"+ - "\u0000\u02fc\u02ff\u0001\u0000\u0000\u0000\u02fd\u02fb\u0001\u0000\u0000"+ - "\u0000\u02fd\u02fe\u0001\u0000\u0000\u0000\u02fe\u0300\u0001\u0000\u0000"+ - "\u0000\u02ff\u02fd\u0001\u0000\u0000\u0000\u0300\u0301\u0005\u0002\u0000"+ - "\u0000\u0301\u0303\u0001\u0000\u0000\u0000\u0302\u02e4\u0001\u0000\u0000"+ - "\u0000\u0302\u02f4\u0001\u0000\u0000\u0000\u0303c\u0001\u0000\u0000\u0000"+ - "\u0304\u0305\u0005\u0001\u0000\u0000\u0305\u0307\u0005\u008b\u0000\u0000"+ - "\u0306\u0308\u0003\"\u0011\u0000\u0307\u0306\u0001\u0000\u0000\u0000\u0307"+ - "\u0308\u0001\u0000\u0000\u0000\u0308\u0309\u0001\u0000\u0000\u0000\u0309"+ - "\u030a\u0003f3\u0000\u030a\u030b\u0005\u0002\u0000\u0000\u030be\u0001"+ - "\u0000\u0000\u0000\u030c\u031d\u0003\u001a\r\u0000\u030d\u030e\u0003p"+ - "8\u0000\u030e\u030f\u0003\u001a\r\u0000\u030f\u031d\u0001\u0000\u0000"+ - "\u0000\u0310\u0311\u0003v;\u0000\u0311\u0312\u0003f3\u0000\u0312\u031d"+ - "\u0001\u0000\u0000\u0000\u0313\u0314\u0005\u0001\u0000\u0000\u0314\u0318"+ - "\u0005\u008d\u0000\u0000\u0315\u0317\u0005\u0006\u0000\u0000\u0316\u0315"+ - "\u0001\u0000\u0000\u0000\u0317\u031a\u0001\u0000\u0000\u0000\u0318\u0316"+ - "\u0001\u0000\u0000\u0000\u0318\u0319\u0001\u0000\u0000\u0000\u0319\u031b"+ - "\u0001\u0000\u0000\u0000\u031a\u0318\u0001\u0000\u0000\u0000\u031b\u031d"+ - "\u0005\u0002\u0000\u0000\u031c\u030c\u0001\u0000\u0000\u0000\u031c\u030d"+ - "\u0001\u0000\u0000\u0000\u031c\u0310\u0001\u0000\u0000\u0000\u031c\u0313"+ - "\u0001\u0000\u0000\u0000\u031dg\u0001\u0000\u0000\u0000\u031e\u031f\u0005"+ - "\u0001\u0000\u0000\u031f\u0321\u0005\u0089\u0000\u0000\u0320\u0322\u0003"+ - "\"\u0011\u0000\u0321\u0320\u0001\u0000\u0000\u0000\u0321\u0322\u0001\u0000"+ - "\u0000\u0000\u0322\u0323\u0001\u0000\u0000\u0000\u0323\u0324\u0003j5\u0000"+ - "\u0324\u0325\u0005\u0002\u0000\u0000\u0325i\u0001\u0000\u0000\u0000\u0326"+ - "\u0327\u0003\u000e\u0007\u0000\u0327\u0328\u0003P(\u0000\u0328\u0330\u0001"+ - "\u0000\u0000\u0000\u0329\u032a\u0003p8\u0000\u032a\u032b\u0003\u000e\u0007"+ - "\u0000\u032b\u0330\u0001\u0000\u0000\u0000\u032c\u032d\u0003v;\u0000\u032d"+ - "\u032e\u0003j5\u0000\u032e\u0330\u0001\u0000\u0000\u0000\u032f\u0326\u0001"+ - "\u0000\u0000\u0000\u032f\u0329\u0001\u0000\u0000\u0000\u032f\u032c\u0001"+ - "\u0000\u0000\u0000\u0330k\u0001\u0000\u0000\u0000\u0331\u0332\u0005\u0001"+ - "\u0000\u0000\u0332\u0334\u0005\u0083\u0000\u0000\u0333\u0335\u0003\"\u0011"+ - "\u0000\u0334\u0333\u0001\u0000\u0000\u0000\u0334\u0335\u0001\u0000\u0000"+ - "\u0000\u0335\u0336\u0001\u0000\u0000\u0000\u0336\u0337\u0003\u001c\u000e"+ - "\u0000\u0337\u0338\u0005\u0002\u0000\u0000\u0338\u035a\u0001\u0000\u0000"+ - "\u0000\u0339\u033a\u0005\u0001\u0000\u0000\u033a\u033c\u0005\u0083\u0000"+ - "\u0000\u033b\u033d\u0003\"\u0011\u0000\u033c\u033b\u0001\u0000\u0000\u0000"+ - "\u033c\u033d\u0001\u0000\u0000\u0000\u033d\u033e\u0001\u0000\u0000\u0000"+ - "\u033e\u033f\u0003\u0016\u000b\u0000\u033f\u0340\u0005\u0002\u0000\u0000"+ - "\u0340\u035a\u0001\u0000\u0000\u0000\u0341\u0342\u0005\u0001\u0000\u0000"+ - "\u0342\u0344\u0005\u008a\u0000\u0000\u0343\u0345\u0003\"\u0011\u0000\u0344"+ - "\u0343\u0001\u0000\u0000\u0000\u0344\u0345\u0001\u0000\u0000\u0000\u0345"+ - "\u0346\u0001\u0000\u0000\u0000\u0346\u0347\u0003\u0018\f\u0000\u0347\u0348"+ - "\u0005\u0002\u0000\u0000\u0348\u035a\u0001\u0000\u0000\u0000\u0349\u034a"+ - "\u0005\u0001\u0000\u0000\u034a\u034c\u0005\u008b\u0000\u0000\u034b\u034d"+ - "\u0003\"\u0011\u0000\u034c\u034b\u0001\u0000\u0000\u0000\u034c\u034d\u0001"+ - "\u0000\u0000\u0000\u034d\u034e\u0001\u0000\u0000\u0000\u034e\u034f\u0003"+ - "\u001a\r\u0000\u034f\u0350\u0005\u0002\u0000\u0000\u0350\u035a\u0001\u0000"+ - "\u0000\u0000\u0351\u0352\u0005\u0001\u0000\u0000\u0352\u0354\u0005\u0089"+ - "\u0000\u0000\u0353\u0355\u0003\"\u0011\u0000\u0354\u0353\u0001\u0000\u0000"+ - "\u0000\u0354\u0355\u0001\u0000\u0000\u0000\u0355\u0356\u0001\u0000\u0000"+ - "\u0000\u0356\u0357\u0003\u000e\u0007\u0000\u0357\u0358\u0005\u0002\u0000"+ - "\u0000\u0358\u035a\u0001\u0000\u0000\u0000\u0359\u0331\u0001\u0000\u0000"+ - "\u0000\u0359\u0339\u0001\u0000\u0000\u0000\u0359\u0341\u0001\u0000\u0000"+ - "\u0000\u0359\u0349\u0001\u0000\u0000\u0000\u0359\u0351\u0001\u0000\u0000"+ - "\u0000\u035am\u0001\u0000\u0000\u0000\u035b\u035c\u0005\u0001\u0000\u0000"+ - "\u035c\u035d\u0005\u008f\u0000\u0000\u035d\u035e\u0003\u0002\u0001\u0000"+ - "\u035e\u035f\u0003\u0002\u0001\u0000\u035f\u0360\u0003l6\u0000\u0360\u0361"+ - "\u0005\u0002\u0000\u0000\u0361o\u0001\u0000\u0000\u0000\u0362\u0363\u0005"+ - "\u0001\u0000\u0000\u0363\u0364\u0005\u008f\u0000\u0000\u0364\u0365\u0003"+ - "\u0002\u0001\u0000\u0365\u0366\u0003\u0002\u0001\u0000\u0366\u0367\u0005"+ - "\u0002\u0000\u0000\u0367q\u0001\u0000\u0000\u0000\u0368\u0369\u0005\u0001"+ - "\u0000\u0000\u0369\u036a\u0005\u0083\u0000\u0000\u036a\u036b\u0003 \u0010"+ - "\u0000\u036b\u036c\u0005\u0002\u0000\u0000\u036c\u037d\u0001\u0000\u0000"+ - "\u0000\u036d\u036e\u0005\u0001\u0000\u0000\u036e\u036f\u0005\u008a\u0000"+ - "\u0000\u036f\u0370\u0003 \u0010\u0000\u0370\u0371\u0005\u0002\u0000\u0000"+ - "\u0371\u037d\u0001\u0000\u0000\u0000\u0372\u0373\u0005\u0001\u0000\u0000"+ - "\u0373\u0374\u0005\u008b\u0000\u0000\u0374\u0375\u0003 \u0010\u0000\u0375"+ - "\u0376\u0005\u0002\u0000\u0000\u0376\u037d\u0001\u0000\u0000\u0000\u0377"+ - "\u0378\u0005\u0001\u0000\u0000\u0378\u0379\u0005\u0089\u0000\u0000\u0379"+ - "\u037a\u0003 \u0010\u0000\u037a\u037b\u0005\u0002\u0000\u0000\u037b\u037d"+ - "\u0001\u0000\u0000\u0000\u037c\u0368\u0001\u0000\u0000\u0000\u037c\u036d"+ - "\u0001\u0000\u0000\u0000\u037c\u0372\u0001\u0000\u0000\u0000\u037c\u0377"+ - "\u0001\u0000\u0000\u0000\u037ds\u0001\u0000\u0000\u0000\u037e\u037f\u0005"+ - "\u0001\u0000\u0000\u037f\u0380\u0005\u0090\u0000\u0000\u0380\u0381\u0003"+ - "\u0002\u0001\u0000\u0381\u0382\u0003r9\u0000\u0382\u0383\u0005\u0002\u0000"+ - "\u0000\u0383u\u0001\u0000\u0000\u0000\u0384\u0385\u0005\u0001\u0000\u0000"+ - "\u0385\u0386\u0005\u0090\u0000\u0000\u0386\u0387\u0003\u0002\u0001\u0000"+ - "\u0387\u0388\u0005\u0002\u0000\u0000\u0388w\u0001\u0000\u0000\u0000\u0389"+ - "\u038a\u0005\u0001\u0000\u0000\u038a\u038c\u0005\u0091\u0000\u0000\u038b"+ - "\u038d\u0003\"\u0011\u0000\u038c\u038b\u0001\u0000\u0000\u0000\u038c\u038d"+ - "\u0001\u0000\u0000\u0000\u038d\u038e\u0001\u0000\u0000\u0000\u038e\u038f"+ - "\u0003\u001c\u000e\u0000\u038f\u0390\u0003\u0016\u000b\u0000\u0390\u0391"+ - "\u0005\u0002\u0000\u0000\u0391y\u0001\u0000\u0000\u0000\u0392\u0393\u0005"+ - "\u0001\u0000\u0000\u0393\u0395\u0005\u0082\u0000\u0000\u0394\u0396\u0003"+ - "\"\u0011\u0000\u0395\u0394\u0001\u0000\u0000\u0000\u0395\u0396\u0001\u0000"+ - "\u0000\u0000\u0396\u0397\u0001\u0000\u0000\u0000\u0397\u0398\u0003\u0010"+ - "\b\u0000\u0398\u0399\u0005\u0002\u0000\u0000\u0399{\u0001\u0000\u0000"+ - "\u0000\u039a\u039b\u0005\u0001\u0000\u0000\u039b\u039c\u0005\u0085\u0000"+ - "\u0000\u039c\u039d\u0003 \u0010\u0000\u039d\u039e\u0005\u0002\u0000\u0000"+ - "\u039e}\u0001\u0000\u0000\u0000\u039f\u03ab\u0003z=\u0000\u03a0\u03ab"+ - "\u0003h4\u0000\u03a1\u03ab\u0003^/\u0000\u03a2\u03ab\u0003d2\u0000\u03a3"+ - "\u03ab\u0003R)\u0000\u03a4\u03ab\u0003\\.\u0000\u03a5\u03ab\u0003b1\u0000"+ - "\u03a6\u03ab\u0003|>\u0000\u03a7\u03ab\u0003n7\u0000\u03a8\u03ab\u0003"+ - "t:\u0000\u03a9\u03ab\u0003x<\u0000\u03aa\u039f\u0001\u0000\u0000\u0000"+ - "\u03aa\u03a0\u0001\u0000\u0000\u0000\u03aa\u03a1\u0001\u0000\u0000\u0000"+ - "\u03aa\u03a2\u0001\u0000\u0000\u0000\u03aa\u03a3\u0001\u0000\u0000\u0000"+ - "\u03aa\u03a4\u0001\u0000\u0000\u0000\u03aa\u03a5\u0001\u0000\u0000\u0000"+ - "\u03aa\u03a6\u0001\u0000\u0000\u0000\u03aa\u03a7\u0001\u0000\u0000\u0000"+ - "\u03aa\u03a8\u0001\u0000\u0000\u0000\u03aa\u03a9\u0001\u0000\u0000\u0000"+ - "\u03ab\u007f\u0001\u0000\u0000\u0000\u03ac\u03ad\u0005\u0001\u0000\u0000"+ - "\u03ad\u03af\u0005\u0093\u0000\u0000\u03ae\u03b0\u0005\u00a6\u0000\u0000"+ - "\u03af\u03ae\u0001\u0000\u0000\u0000\u03af\u03b0\u0001\u0000\u0000\u0000"+ - "\u03b0\u03b4\u0001\u0000\u0000\u0000\u03b1\u03b3\u0003~?\u0000\u03b2\u03b1"+ - "\u0001\u0000\u0000\u0000\u03b3\u03b6\u0001\u0000\u0000\u0000\u03b4\u03b2"+ - "\u0001\u0000\u0000\u0000\u03b4\u03b5\u0001\u0000\u0000\u0000\u03b5\u03b7"+ - "\u0001\u0000\u0000\u0000\u03b6\u03b4\u0001\u0000\u0000\u0000\u03b7\u03b8"+ - "\u0005\u0002\u0000\u0000\u03b8\u0081\u0001\u0000\u0000\u0000\u03b9\u03d6"+ - "\u0003\u0080@\u0000\u03ba\u03bb\u0005\u0001\u0000\u0000\u03bb\u03bd\u0005"+ - "\u0093\u0000\u0000\u03bc\u03be\u0005\u00a6\u0000\u0000\u03bd\u03bc\u0001"+ - "\u0000\u0000\u0000\u03bd\u03be\u0001\u0000\u0000\u0000\u03be\u03bf\u0001"+ - "\u0000\u0000\u0000\u03bf\u03c3\u0007\u0003\u0000\u0000\u03c0\u03c2\u0005"+ - "\u0006\u0000\u0000\u03c1\u03c0\u0001\u0000\u0000\u0000\u03c2\u03c5\u0001"+ - "\u0000\u0000\u0000\u03c3\u03c1\u0001\u0000\u0000\u0000\u03c3\u03c4\u0001"+ - "\u0000\u0000\u0000\u03c4\u03c6\u0001\u0000\u0000\u0000\u03c5\u03c3\u0001"+ - "\u0000\u0000\u0000\u03c6\u03d6\u0005\u0002\u0000\u0000\u03c7\u03c8\u0005"+ - "\u0001\u0000\u0000\u03c8\u03c9\u0005\u0093\u0000\u0000\u03c9\u03cb\u0005"+ - "\u0096\u0000\u0000\u03ca\u03cc\u0005\u00a6\u0000\u0000\u03cb\u03ca\u0001"+ - "\u0000\u0000\u0000\u03cb\u03cc\u0001\u0000\u0000\u0000\u03cc\u03cd\u0001"+ - "\u0000\u0000\u0000\u03cd\u03d1\u0005\u0094\u0000\u0000\u03ce\u03d0\u0005"+ - "\u0006\u0000\u0000\u03cf\u03ce\u0001\u0000\u0000\u0000\u03d0\u03d3\u0001"+ - "\u0000\u0000\u0000\u03d1\u03cf\u0001\u0000\u0000\u0000\u03d1\u03d2\u0001"+ - "\u0000\u0000\u0000\u03d2\u03d4\u0001\u0000\u0000\u0000\u03d3\u03d1\u0001"+ - "\u0000\u0000\u0000\u03d4\u03d6\u0005\u0002\u0000\u0000\u03d5\u03b9\u0001"+ - "\u0000\u0000\u0000\u03d5\u03ba\u0001\u0000\u0000\u0000\u03d5\u03c7\u0001"+ - "\u0000\u0000\u0000\u03d6\u0083\u0001\u0000\u0000\u0000\u03d7\u03d8\u0005"+ - "\u0001\u0000\u0000\u03d8\u03da\u0005\u009a\u0000\u0000\u03d9\u03db\u0005"+ - "\u00a6\u0000\u0000\u03da\u03d9\u0001\u0000\u0000\u0000\u03da\u03db\u0001"+ - "\u0000\u0000\u0000\u03db\u03dc\u0001\u0000\u0000\u0000\u03dc\u03dd\u0003"+ - "\u0002\u0001\u0000\u03dd\u03de\u0003\u0090H\u0000\u03de\u03df\u0005\u0002"+ - "\u0000\u0000\u03df\u03e9\u0001\u0000\u0000\u0000\u03e0\u03e1\u0005\u0001"+ - "\u0000\u0000\u03e1\u03e3\u0005\u009b\u0000\u0000\u03e2\u03e4\u0005\u00a6"+ - "\u0000\u0000\u03e3\u03e2\u0001\u0000\u0000\u0000\u03e3\u03e4\u0001\u0000"+ - "\u0000\u0000\u03e4\u03e5\u0001\u0000\u0000\u0000\u03e5\u03e6\u0003\u0002"+ - "\u0001\u0000\u03e6\u03e7\u0005\u0002\u0000\u0000\u03e7\u03e9\u0001\u0000"+ - "\u0000\u0000\u03e8\u03d7\u0001\u0000\u0000\u0000\u03e8\u03e0\u0001\u0000"+ - "\u0000\u0000\u03e9\u0085\u0001\u0000\u0000\u0000\u03ea\u03eb\u0005\u0001"+ - "\u0000\u0000\u03eb\u03ec\u0005\u009c\u0000\u0000\u03ec\u03ed\u0003\u0082"+ - "A\u0000\u03ed\u03ee\u0005\u0006\u0000\u0000\u03ee\u03ef\u0005\u0002\u0000"+ - "\u0000\u03ef\u041f\u0001\u0000\u0000\u0000\u03f0\u03f1\u0005\u0001\u0000"+ - "\u0000\u03f1\u03f2\u0005\u009d\u0000\u0000\u03f2\u03f3\u0003\u0082A\u0000"+ - "\u03f3\u03f4\u0005\u0006\u0000\u0000\u03f4\u03f5\u0005\u0002\u0000\u0000"+ - "\u03f5\u041f\u0001\u0000\u0000\u0000\u03f6\u03f7\u0005\u0001\u0000\u0000"+ - "\u03f7\u03f8\u0005\u009e\u0000\u0000\u03f8\u03f9\u0003\u0082A\u0000\u03f9"+ - "\u03fa\u0005\u0006\u0000\u0000\u03fa\u03fb\u0005\u0002\u0000\u0000\u03fb"+ - "\u041f\u0001\u0000\u0000\u0000\u03fc\u03fd\u0005\u0001\u0000\u0000\u03fd"+ - "\u03fe\u0005\u00a2\u0000\u0000\u03fe\u03ff\u0003\u0082A\u0000\u03ff\u0400"+ - "\u0005\u0006\u0000\u0000\u0400\u0401\u0005\u0002\u0000\u0000\u0401\u041f"+ - "\u0001\u0000\u0000\u0000\u0402\u0403\u0005\u0001\u0000\u0000\u0403\u0404"+ - "\u0005\u009f\u0000\u0000\u0404\u0405\u0003\u0084B\u0000\u0405\u0406\u0003"+ - "\u0090H\u0000\u0406\u0407\u0005\u0002\u0000\u0000\u0407\u041f\u0001\u0000"+ - "\u0000\u0000\u0408\u0409\u0005\u0001\u0000\u0000\u0409\u040a\u0005\u00a0"+ - "\u0000\u0000\u040a\u040b\u0003\u0084B\u0000\u040b\u040c\u0005\u0002\u0000"+ - "\u0000\u040c\u041f\u0001\u0000\u0000\u0000\u040d\u040e\u0005\u0001\u0000"+ - "\u0000\u040e\u040f\u0005\u00a1\u0000\u0000\u040f\u0410\u0003\u0084B\u0000"+ - "\u0410\u0411\u0005\u0002\u0000\u0000\u0411\u041f\u0001\u0000\u0000\u0000"+ - "\u0412\u0413\u0005\u0001\u0000\u0000\u0413\u0414\u0005\u00a2\u0000\u0000"+ - "\u0414\u0415\u0003\u0084B\u0000\u0415\u0416\u0005\u0006\u0000\u0000\u0416"+ - "\u0417\u0005\u0002\u0000\u0000\u0417\u041f\u0001\u0000\u0000\u0000\u0418"+ - "\u0419\u0005\u0001\u0000\u0000\u0419\u041a\u0005\u00a3\u0000\u0000\u041a"+ - "\u041b\u0003\u0084B\u0000\u041b\u041c\u0005\u0006\u0000\u0000\u041c\u041d"+ - "\u0005\u0002\u0000\u0000\u041d\u041f\u0001\u0000\u0000\u0000\u041e\u03ea"+ - "\u0001\u0000\u0000\u0000\u041e\u03f0\u0001\u0000\u0000\u0000\u041e\u03f6"+ - "\u0001\u0000\u0000\u0000\u041e\u03fc\u0001\u0000\u0000\u0000\u041e\u0402"+ - "\u0001\u0000\u0000\u0000\u041e\u0408\u0001\u0000\u0000\u0000\u041e\u040d"+ - "\u0001\u0000\u0000\u0000\u041e\u0412\u0001\u0000\u0000\u0000\u041e\u0418"+ - "\u0001\u0000\u0000\u0000\u041f\u0087\u0001\u0000\u0000\u0000\u0420\u042e"+ - "\u0003\u0084B\u0000\u0421\u042e\u0003\u0086C\u0000\u0422\u042e\u0003\u0082"+ - "A\u0000\u0423\u0424\u0005\u0001\u0000\u0000\u0424\u0425\u0005\u0099\u0000"+ - "\u0000\u0425\u0427\u0003\u0002\u0001\u0000\u0426\u0428\u0005\u00a6\u0000"+ - "\u0000\u0427\u0426\u0001\u0000\u0000\u0000\u0427\u0428\u0001\u0000\u0000"+ - "\u0000\u0428\u0429\u0001\u0000\u0000\u0000\u0429\u042a\u0005\u0002\u0000"+ - "\u0000\u042a\u042e\u0001\u0000\u0000\u0000\u042b\u042e\u0003\u008cF\u0000"+ - "\u042c\u042e\u0003\u008aE\u0000\u042d\u0420\u0001\u0000\u0000\u0000\u042d"+ - "\u0421\u0001\u0000\u0000\u0000\u042d\u0422\u0001\u0000\u0000\u0000\u042d"+ - "\u0423\u0001\u0000\u0000\u0000\u042d\u042b\u0001\u0000\u0000\u0000\u042d"+ - "\u042c\u0001\u0000\u0000\u0000\u042e\u0089\u0001\u0000\u0000\u0000\u042f"+ - "\u0430\u0005\u0001\u0000\u0000\u0430\u0431\u0005\u0093\u0000\u0000\u0431"+ - "\u0433\u0005\u0097\u0000\u0000\u0432\u0434\u0005\u00a6\u0000\u0000\u0433"+ - "\u0432\u0001\u0000\u0000\u0000\u0433\u0434\u0001\u0000\u0000\u0000\u0434"+ - "\u0436\u0001\u0000\u0000\u0000\u0435\u0437\u0005\u00a6\u0000\u0000\u0436"+ - "\u0435\u0001\u0000\u0000\u0000\u0436\u0437\u0001\u0000\u0000\u0000\u0437"+ - "\u0438\u0001\u0000\u0000\u0000\u0438\u0439\u0005\u0002\u0000\u0000\u0439"+ - "\u008b\u0001\u0000\u0000\u0000\u043a\u043b\u0005\u0001\u0000\u0000\u043b"+ - "\u043d\u0005\u0098\u0000\u0000\u043c\u043e\u0005\u00a6\u0000\u0000\u043d"+ - "\u043c\u0001\u0000\u0000\u0000\u043d\u043e\u0001\u0000\u0000\u0000\u043e"+ - "\u0442\u0001\u0000\u0000\u0000\u043f\u0441\u0003\u0088D\u0000\u0440\u043f"+ - "\u0001\u0000\u0000\u0000\u0441\u0444\u0001\u0000\u0000\u0000\u0442\u0440"+ - "\u0001\u0000\u0000\u0000\u0442\u0443\u0001\u0000\u0000\u0000\u0443\u0445"+ - "\u0001\u0000\u0000\u0000\u0444\u0442\u0001\u0000\u0000\u0000\u0445\u045b"+ - "\u0005\u0002\u0000\u0000\u0446\u0447\u0005\u0001\u0000\u0000\u0447\u0449"+ - "\u0005\u00a4\u0000\u0000\u0448\u044a\u0005\u00a6\u0000\u0000\u0449\u0448"+ - "\u0001\u0000\u0000\u0000\u0449\u044a\u0001\u0000\u0000\u0000\u044a\u044b"+ - "\u0001\u0000\u0000\u0000\u044b\u044c\u0005\u0006\u0000\u0000\u044c\u045b"+ - "\u0005\u0002\u0000\u0000\u044d\u044e\u0005\u0001\u0000\u0000\u044e\u0450"+ - "\u0005\u00a5\u0000\u0000\u044f\u0451\u0005\u00a6\u0000\u0000\u0450\u044f"+ - "\u0001\u0000\u0000\u0000\u0450\u0451\u0001\u0000\u0000\u0000\u0451\u0452"+ - "\u0001\u0000\u0000\u0000\u0452\u0453\u0005\u0006\u0000\u0000\u0453\u045b"+ - "\u0005\u0002\u0000\u0000\u0454\u0455\u0005\u0001\u0000\u0000\u0455\u0457"+ - "\u0005\u00a5\u0000\u0000\u0456\u0458\u0005\u00a6\u0000\u0000\u0457\u0456"+ - "\u0001\u0000\u0000\u0000\u0457\u0458\u0001\u0000\u0000\u0000\u0458\u0459"+ - "\u0001\u0000\u0000\u0000\u0459\u045b\u0005\u0002\u0000\u0000\u045a\u043a"+ - "\u0001\u0000\u0000\u0000\u045a\u0446\u0001\u0000\u0000\u0000\u045a\u044d"+ - "\u0001\u0000\u0000\u0000\u045a\u0454\u0001\u0000\u0000\u0000\u045b\u008d"+ - "\u0001\u0000\u0000\u0000\u045c\u045d\u0005\u0001\u0000\u0000\u045d\u045e"+ - "\u0005\b\u0000\u0000\u045e\u045f\u0003\u001e\u000f\u0000\u045f\u0460\u0005"+ - "\u0002\u0000\u0000\u0460\u008f\u0001\u0000\u0000\u0000\u0461\u0463\u0003"+ - "\u008eG\u0000\u0462\u0461\u0001\u0000\u0000\u0000\u0463\u0466\u0001\u0000"+ - "\u0000\u0000\u0464\u0462\u0001\u0000\u0000\u0000\u0464\u0465\u0001\u0000"+ - "\u0000\u0000\u0465\u0091\u0001\u0000\u0000\u0000\u0466\u0464\u0001\u0000"+ - "\u0000\u0000\u0467\u0469\u0003\u0088D\u0000\u0468\u0467\u0001\u0000\u0000"+ - "\u0000\u0469\u046c\u0001\u0000\u0000\u0000\u046a\u0468\u0001\u0000\u0000"+ - "\u0000\u046a\u046b\u0001\u0000\u0000\u0000\u046b\u046d\u0001\u0000\u0000"+ - "\u0000\u046c\u046a\u0001\u0000\u0000\u0000\u046d\u0476\u0005\u0000\u0000"+ - "\u0001\u046e\u0470\u0003~?\u0000\u046f\u046e\u0001\u0000\u0000\u0000\u0470"+ - "\u0471\u0001\u0000\u0000\u0000\u0471\u046f\u0001\u0000\u0000\u0000\u0471"+ - "\u0472\u0001\u0000\u0000\u0000\u0472\u0473\u0001\u0000\u0000\u0000\u0473"+ - "\u0474\u0005\u0000\u0000\u0001\u0474\u0476\u0001\u0000\u0000\u0000\u0475"+ - "\u046a\u0001\u0000\u0000\u0000\u0475\u046f\u0001\u0000\u0000\u0000\u0476"+ - "\u0093\u0001\u0000\u0000\u0000\u0477\u0478\u0003\u0080@\u0000\u0478\u0479"+ - "\u0005\u0000\u0000\u0001\u0479\u0482\u0001\u0000\u0000\u0000\u047a\u047c"+ - "\u0003~?\u0000\u047b\u047a\u0001\u0000\u0000\u0000\u047c\u047f\u0001\u0000"+ - "\u0000\u0000\u047d\u047b\u0001\u0000\u0000\u0000\u047d\u047e\u0001\u0000"+ - "\u0000\u0000\u047e\u0480\u0001\u0000\u0000\u0000\u047f\u047d\u0001\u0000"+ - "\u0000\u0000\u0480\u0482\u0005\u0000\u0000\u0001\u0481\u0477\u0001\u0000"+ - "\u0000\u0000\u0481\u047d\u0001\u0000\u0000\u0000\u0482\u0095\u0001\u0000"+ - "\u0000\u0000|\u00a9\u00b0\u00b5\u00bd\u00c9\u00d0\u00d6\u00db\u00e3\u00e9"+ - "\u00f1\u00f7\u0108\u0116\u0129\u012c\u0130\u0133\u0158\u015f\u0173\u0178"+ - "\u017f\u0184\u0187\u018e\u0194\u019c\u01a2\u01aa\u01b0\u01ba\u01c0\u01c7"+ - "\u01cc\u01d0\u01d5\u01d9\u01de\u01e1\u01e5\u01ed\u01f4\u01fa\u0207\u0210"+ - "\u0215\u021a\u0220\u022b\u022d\u0230\u0239\u023f\u0249\u024f\u0255\u025b"+ - "\u025f\u0266\u026c\u0271\u0278\u0282\u0288\u028d\u0298\u029d\u02a5\u02ad"+ - "\u02b3\u02bb\u02c2\u02c6\u02cb\u02dd\u02e2\u02e7\u02ef\u02f7\u02fd\u0302"+ - "\u0307\u0318\u031c\u0321\u032f\u0334\u033c\u0344\u034c\u0354\u0359\u037c"+ - "\u038c\u0395\u03aa\u03af\u03b4\u03bd\u03c3\u03cb\u03d1\u03d5\u03da\u03e3"+ - "\u03e8\u041e\u0427\u042d\u0433\u0436\u043d\u0442\u0449\u0450\u0457\u045a"+ - "\u0464\u046a\u0471\u0475\u047d\u0481"; + "\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0004\u0014\u0122\b\u0014\u000b\u0014\f\u0014\u0123\u0001\u0014"+ + "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+ + "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+ + "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0003\u0014\u0137\b\u0014"+ + "\u0001\u0014\u0003\u0014\u013a\b\u0014\u0001\u0014\u0001\u0014\u0003\u0014"+ + "\u013e\b\u0014\u0001\u0014\u0003\u0014\u0141\b\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0003\u0014\u0166\b\u0014\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0005\u0015\u016b\b\u0015\n\u0015\f\u0015"+ + "\u016e\t\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016"+ + "\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018"+ + "\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019"+ + "\u0003\u0019\u0181\b\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0003\u001a"+ + "\u0186\b\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c"+ + "\u0003\u001c\u018d\b\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0003\u001c"+ + "\u0192\b\u001c\u0001\u001c\u0003\u001c\u0195\b\u001c\u0001\u001d\u0001"+ + "\u001d\u0001\u001d\u0005\u001d\u019a\b\u001d\n\u001d\f\u001d\u019d\t\u001d"+ + "\u0001\u001d\u0005\u001d\u01a0\b\u001d\n\u001d\f\u001d\u01a3\t\u001d\u0001"+ + "\u001d\u0001\u001d\u0001\u001d\u0005\u001d\u01a8\b\u001d\n\u001d\f\u001d"+ + "\u01ab\t\u001d\u0001\u001d\u0005\u001d\u01ae\b\u001d\n\u001d\f\u001d\u01b1"+ + "\t\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0005\u001e\u01b6\b\u001e"+ + "\n\u001e\f\u001e\u01b9\t\u001e\u0001\u001e\u0005\u001e\u01bc\b\u001e\n"+ + "\u001e\f\u001e\u01bf\t\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001"+ + "\u001f\u0001\u001f\u0005\u001f\u01c6\b\u001f\n\u001f\f\u001f\u01c9\t\u001f"+ + "\u0001\u001f\u0005\u001f\u01cc\b\u001f\n\u001f\f\u001f\u01cf\t\u001f\u0001"+ + "\u001f\u0001\u001f\u0001 \u0001 \u0003 \u01d5\b \u0001 \u0001 \u0001 "+ + "\u0003 \u01da\b \u0001 \u0001 \u0003 \u01de\b \u0001 \u0001 \u0001 \u0003"+ + " \u01e3\b \u0001 \u0001 \u0003 \u01e7\b \u0001 \u0001 \u0001 \u0003 \u01ec"+ + "\b \u0001 \u0003 \u01ef\b \u0001 \u0001 \u0003 \u01f3\b \u0001 \u0001"+ + " \u0001 \u0001 \u0001 \u0001 \u0003 \u01fb\b \u0001!\u0001!\u0001!\u0001"+ + "!\u0001!\u0003!\u0202\b!\u0001!\u0001!\u0001!\u0001!\u0003!\u0208\b!\u0001"+ + "\"\u0001\"\u0001\"\u0001#\u0001#\u0001#\u0001#\u0001$\u0001$\u0005$\u0213"+ + "\b$\n$\f$\u0216\t$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0003$\u021e"+ + "\b$\u0001$\u0001$\u0001$\u0003$\u0223\b$\u0001$\u0001$\u0001$\u0003$\u0228"+ + "\b$\u0001$\u0001$\u0005$\u022c\b$\n$\f$\u022f\t$\u0001$\u0001$\u0001$"+ + "\u0001$\u0001$\u0001$\u0001$\u0001$\u0003$\u0239\b$\u0003$\u023b\b$\u0001"+ + "%\u0003%\u023e\b%\u0001%\u0001%\u0001&\u0001&\u0001&\u0005&\u0245\b&\n"+ + "&\f&\u0248\t&\u0001&\u0005&\u024b\b&\n&\f&\u024e\t&\u0001&\u0001&\u0001"+ + "\'\u0001\'\u0001\'\u0005\'\u0255\b\'\n\'\f\'\u0258\t\'\u0001\'\u0005\'"+ + "\u025b\b\'\n\'\f\'\u025e\t\'\u0001\'\u0005\'\u0261\b\'\n\'\f\'\u0264\t"+ + "\'\u0001(\u0005(\u0267\b(\n(\f(\u026a\t(\u0001(\u0003(\u026d\b(\u0001"+ + ")\u0001)\u0001*\u0001*\u0001*\u0003*\u0274\b*\u0001*\u0001*\u0001*\u0001"+ + "+\u0003+\u027a\b+\u0001+\u0001+\u0001+\u0003+\u027f\b+\u0001+\u0001+\u0001"+ + "+\u0001+\u0001+\u0003+\u0286\b+\u0001,\u0001,\u0001,\u0001-\u0001-\u0001"+ + "-\u0005-\u028e\b-\n-\f-\u0291\t-\u0001-\u0001-\u0001-\u0003-\u0296\b-"+ + "\u0001-\u0005-\u0299\b-\n-\f-\u029c\t-\u0001-\u0001-\u0001.\u0001.\u0001"+ + ".\u0001.\u0001.\u0001.\u0003.\u02a6\b.\u0001/\u0001/\u0001/\u0003/\u02ab"+ + "\b/\u0001/\u0001/\u0001/\u0001/\u0005/\u02b1\b/\n/\f/\u02b4\t/\u0001/"+ + "\u0001/\u0001/\u0001/\u0001/\u0003/\u02bb\b/\u0001/\u0001/\u0005/\u02bf"+ + "\b/\n/\f/\u02c2\t/\u0001/\u0001/\u0001/\u0001/\u0001/\u0003/\u02c9\b/"+ + "\u0001/\u0001/\u0001/\u0005/\u02ce\b/\n/\f/\u02d1\t/\u0001/\u0003/\u02d4"+ + "\b/\u00010\u00010\u00010\u00030\u02d9\b0\u00010\u00010\u00010\u00011\u0001"+ + "1\u00011\u00011\u00011\u00011\u00011\u00011\u00011\u00011\u00011\u0005"+ + "1\u02e9\b1\n1\f1\u02ec\t1\u00011\u00011\u00031\u02f0\b1\u00012\u00012"+ + "\u00012\u00032\u02f5\b2\u00012\u00012\u00012\u00012\u00052\u02fb\b2\n"+ + "2\f2\u02fe\t2\u00012\u00012\u00012\u00012\u00012\u00032\u0305\b2\u0001"+ + "2\u00012\u00052\u0309\b2\n2\f2\u030c\t2\u00012\u00012\u00032\u0310\b2"+ + "\u00013\u00013\u00013\u00033\u0315\b3\u00013\u00013\u00013\u00014\u0001"+ + "4\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00054\u0324"+ + "\b4\n4\f4\u0327\t4\u00014\u00034\u032a\b4\u00015\u00015\u00015\u00035"+ + "\u032f\b5\u00015\u00015\u00015\u00016\u00016\u00016\u00016\u00016\u0001"+ + "6\u00016\u00016\u00016\u00036\u033d\b6\u00017\u00017\u00017\u00037\u0342"+ + "\b7\u00017\u00017\u00017\u00017\u00017\u00017\u00037\u034a\b7\u00017\u0001"+ + "7\u00017\u00017\u00017\u00017\u00037\u0352\b7\u00017\u00017\u00017\u0001"+ + "7\u00017\u00017\u00037\u035a\b7\u00017\u00017\u00017\u00017\u00017\u0001"+ + "7\u00037\u0362\b7\u00017\u00017\u00017\u00037\u0367\b7\u00018\u00018\u0001"+ + "8\u00018\u00018\u00018\u00018\u00019\u00019\u00019\u00019\u00019\u0001"+ + "9\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001"+ + ":\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001:\u0001"+ + ":\u0003:\u038a\b:\u0001;\u0001;\u0001;\u0001;\u0001;\u0001;\u0001<\u0001"+ + "<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0003=\u039a\b=\u0001=\u0001"+ + "=\u0001=\u0001=\u0001>\u0001>\u0001>\u0003>\u03a3\b>\u0001>\u0001>\u0001"+ + ">\u0001?\u0001?\u0001?\u0001?\u0001?\u0001@\u0001@\u0001@\u0001@\u0001"+ + "@\u0001@\u0001@\u0001@\u0001@\u0001@\u0001@\u0003@\u03b8\b@\u0001A\u0001"+ + "A\u0001A\u0003A\u03bd\bA\u0001A\u0005A\u03c0\bA\nA\fA\u03c3\tA\u0001A"+ + "\u0001A\u0001B\u0001B\u0001B\u0001B\u0003B\u03cb\bB\u0001B\u0001B\u0005"+ + "B\u03cf\bB\nB\fB\u03d2\tB\u0001B\u0001B\u0001B\u0001B\u0001B\u0003B\u03d9"+ + "\bB\u0001B\u0001B\u0005B\u03dd\bB\nB\fB\u03e0\tB\u0001B\u0003B\u03e3\b"+ + "B\u0001C\u0001C\u0001C\u0003C\u03e8\bC\u0001C\u0001C\u0001C\u0001C\u0001"+ + "C\u0001C\u0001C\u0003C\u03f1\bC\u0001C\u0001C\u0001C\u0003C\u03f6\bC\u0001"+ + "D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001"+ + "D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001"+ + "D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001"+ + "D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001"+ + "D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001D\u0001"+ + "D\u0001D\u0003D\u042c\bD\u0001E\u0001E\u0001E\u0001E\u0001E\u0001E\u0001"+ + "E\u0003E\u0435\bE\u0001E\u0001E\u0001E\u0001E\u0003E\u043b\bE\u0001F\u0001"+ + "F\u0001F\u0001F\u0003F\u0441\bF\u0001F\u0003F\u0444\bF\u0001F\u0001F\u0001"+ + "G\u0001G\u0001G\u0003G\u044b\bG\u0001G\u0005G\u044e\bG\nG\fG\u0451\tG"+ + "\u0001G\u0001G\u0001G\u0001G\u0003G\u0457\bG\u0001G\u0001G\u0001G\u0001"+ + "G\u0001G\u0003G\u045e\bG\u0001G\u0001G\u0001G\u0001G\u0001G\u0003G\u0465"+ + "\bG\u0001G\u0003G\u0468\bG\u0001H\u0001H\u0001H\u0001H\u0001H\u0001I\u0005"+ + "I\u0470\bI\nI\fI\u0473\tI\u0001J\u0005J\u0476\bJ\nJ\fJ\u0479\tJ\u0001"+ + "J\u0001J\u0004J\u047d\bJ\u000bJ\fJ\u047e\u0001J\u0001J\u0003J\u0483\b"+ + "J\u0001K\u0001K\u0001K\u0001K\u0005K\u0489\bK\nK\fK\u048c\tK\u0001K\u0003"+ + "K\u048f\bK\u0001K\u0000\u0000L\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010"+ + "\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPR"+ + "TVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e"+ + "\u0090\u0092\u0094\u0096\u0000\u0004\u0001\u0000\u0004\u0005\u0001\u0000"+ + "\u0003\u0005\u0002\u0000\u0003\u0003\u00a8\u00a8\u0001\u0000\u0096\u0097"+ + "\u0519\u0000\u0098\u0001\u0000\u0000\u0000\u0002\u009a\u0001\u0000\u0000"+ + "\u0000\u0004\u009c\u0001\u0000\u0000\u0000\u0006\u00ab\u0001\u0000\u0000"+ + "\u0000\b\u00ad\u0001\u0000\u0000\u0000\n\u00b2\u0001\u0000\u0000\u0000"+ + "\f\u00b7\u0001\u0000\u0000\u0000\u000e\u00bf\u0001\u0000\u0000\u0000\u0010"+ + "\u00cb\u0001\u0000\u0000\u0000\u0012\u00dd\u0001\u0000\u0000\u0000\u0014"+ + "\u00eb\u0001\u0000\u0000\u0000\u0016\u00ee\u0001\u0000\u0000\u0000\u0018"+ + "\u00f1\u0001\u0000\u0000\u0000\u001a\u00f7\u0001\u0000\u0000\u0000\u001c"+ + "\u00fb\u0001\u0000\u0000\u0000\u001e\u0100\u0001\u0000\u0000\u0000 \u0102"+ + "\u0001\u0000\u0000\u0000\"\u0104\u0001\u0000\u0000\u0000$\u010b\u0001"+ + "\u0000\u0000\u0000&\u010d\u0001\u0000\u0000\u0000(\u0165\u0001\u0000\u0000"+ + "\u0000*\u0167\u0001\u0000\u0000\u0000,\u016f\u0001\u0000\u0000\u0000."+ + "\u0175\u0001\u0000\u0000\u00000\u0178\u0001\u0000\u0000\u00002\u017b\u0001"+ + "\u0000\u0000\u00004\u0182\u0001\u0000\u0000\u00006\u0187\u0001\u0000\u0000"+ + "\u00008\u0194\u0001\u0000\u0000\u0000:\u01a1\u0001\u0000\u0000\u0000<"+ + "\u01bd\u0001\u0000\u0000\u0000>\u01cd\u0001\u0000\u0000\u0000@\u01fa\u0001"+ + "\u0000\u0000\u0000B\u0207\u0001\u0000\u0000\u0000D\u0209\u0001\u0000\u0000"+ + "\u0000F\u020c\u0001\u0000\u0000\u0000H\u023a\u0001\u0000\u0000\u0000J"+ + "\u023d\u0001\u0000\u0000\u0000L\u024c\u0001\u0000\u0000\u0000N\u025c\u0001"+ + "\u0000\u0000\u0000P\u0268\u0001\u0000\u0000\u0000R\u026e\u0001\u0000\u0000"+ + "\u0000T\u0270\u0001\u0000\u0000\u0000V\u0285\u0001\u0000\u0000\u0000X"+ + "\u0287\u0001\u0000\u0000\u0000Z\u029a\u0001\u0000\u0000\u0000\\\u02a5"+ + "\u0001\u0000\u0000\u0000^\u02d3\u0001\u0000\u0000\u0000`\u02d5\u0001\u0000"+ + "\u0000\u0000b\u02ef\u0001\u0000\u0000\u0000d\u030f\u0001\u0000\u0000\u0000"+ + "f\u0311\u0001\u0000\u0000\u0000h\u0329\u0001\u0000\u0000\u0000j\u032b"+ + "\u0001\u0000\u0000\u0000l\u033c\u0001\u0000\u0000\u0000n\u0366\u0001\u0000"+ + "\u0000\u0000p\u0368\u0001\u0000\u0000\u0000r\u036f\u0001\u0000\u0000\u0000"+ + "t\u0389\u0001\u0000\u0000\u0000v\u038b\u0001\u0000\u0000\u0000x\u0391"+ + "\u0001\u0000\u0000\u0000z\u0396\u0001\u0000\u0000\u0000|\u039f\u0001\u0000"+ + "\u0000\u0000~\u03a7\u0001\u0000\u0000\u0000\u0080\u03b7\u0001\u0000\u0000"+ + "\u0000\u0082\u03b9\u0001\u0000\u0000\u0000\u0084\u03e2\u0001\u0000\u0000"+ + "\u0000\u0086\u03f5\u0001\u0000\u0000\u0000\u0088\u042b\u0001\u0000\u0000"+ + "\u0000\u008a\u043a\u0001\u0000\u0000\u0000\u008c\u043c\u0001\u0000\u0000"+ + "\u0000\u008e\u0467\u0001\u0000\u0000\u0000\u0090\u0469\u0001\u0000\u0000"+ + "\u0000\u0092\u0471\u0001\u0000\u0000\u0000\u0094\u0482\u0001\u0000\u0000"+ + "\u0000\u0096\u048e\u0001\u0000\u0000\u0000\u0098\u0099\u0007\u0000\u0000"+ + "\u0000\u0099\u0001\u0001\u0000\u0000\u0000\u009a\u009b\u0005\u0006\u0000"+ + "\u0000\u009b\u0003\u0001\u0000\u0000\u0000\u009c\u009d\u0005\u0007\u0000"+ + "\u0000\u009d\u0005\u0001\u0000\u0000\u0000\u009e\u00ac\u0005\n\u0000\u0000"+ + "\u009f\u00ac\u0005\u000b\u0000\u0000\u00a0\u00a1\u0005\u0001\u0000\u0000"+ + "\u00a1\u00a2\u0005\r\u0000\u0000\u00a2\u00a3\u0003 \u0010\u0000\u00a3"+ + "\u00a4\u0005\u0002\u0000\u0000\u00a4\u00ac\u0001\u0000\u0000\u0000\u00a5"+ + "\u00a6\u0005\u0001\u0000\u0000\u00a6\u00a7\u0005\r\u0000\u0000\u00a7\u00a8"+ + "\u0005\u000f\u0000\u0000\u00a8\u00a9\u0003 \u0010\u0000\u00a9\u00aa\u0005"+ + "\u0002\u0000\u0000\u00aa\u00ac\u0001\u0000\u0000\u0000\u00ab\u009e\u0001"+ + "\u0000\u0000\u0000\u00ab\u009f\u0001\u0000\u0000\u0000\u00ab\u00a0\u0001"+ + "\u0000\u0000\u0000\u00ab\u00a5\u0001\u0000\u0000\u0000\u00ac\u0007\u0001"+ + "\u0000\u0000\u0000\u00ad\u00ae\u0005\u00a9\u0000\u0000\u00ae\t\u0001\u0000"+ + "\u0000\u0000\u00af\u00b3\u0003\u0004\u0002\u0000\u00b0\u00b3\u0003\b\u0004"+ + "\u0000\u00b1\u00b3\u0003\u0006\u0003\u0000\u00b2\u00af\u0001\u0000\u0000"+ + "\u0000\u00b2\u00b0\u0001\u0000\u0000\u0000\u00b2\u00b1\u0001\u0000\u0000"+ + "\u0000\u00b3\u000b\u0001\u0000\u0000\u0000\u00b4\u00b8\u0005\u0085\u0000"+ + "\u0000\u00b5\u00b8\u0005\u0086\u0000\u0000\u00b6\u00b8\u0003\u0016\u000b"+ + "\u0000\u00b7\u00b4\u0001\u0000\u0000\u0000\u00b7\u00b5\u0001\u0000\u0000"+ + "\u0000\u00b7\u00b6\u0001\u0000\u0000\u0000\u00b8\r\u0001\u0000\u0000\u0000"+ + "\u00b9\u00c0\u0003\n\u0005\u0000\u00ba\u00bb\u0005\u0001\u0000\u0000\u00bb"+ + "\u00bc\u0005\f\u0000\u0000\u00bc\u00bd\u0003\n\u0005\u0000\u00bd\u00be"+ + "\u0005\u0002\u0000\u0000\u00be\u00c0\u0001\u0000\u0000\u0000\u00bf\u00b9"+ + "\u0001\u0000\u0000\u0000\u00bf\u00ba\u0001\u0000\u0000\u0000\u00c0\u000f"+ + "\u0001\u0000\u0000\u0000\u00c1\u00c2\u0005\u0001\u0000\u0000\u00c2\u00c3"+ + "\u0005\u0085\u0000\u0000\u00c3\u00c4\u0003\u0016\u000b\u0000\u00c4\u00c5"+ + "\u0005\u0002\u0000\u0000\u00c5\u00cc\u0001\u0000\u0000\u0000\u00c6\u00c7"+ + "\u0005\u0001\u0000\u0000\u00c7\u00c8\u0005\u000e\u0000\u0000\u00c8\u00c9"+ + "\u0003 \u0010\u0000\u00c9\u00ca\u0005\u0002\u0000\u0000\u00ca\u00cc\u0001"+ + "\u0000\u0000\u0000\u00cb\u00c1\u0001\u0000\u0000\u0000\u00cb\u00c6\u0001"+ + "\u0000\u0000\u0000\u00cc\u0011\u0001\u0000\u0000\u0000\u00cd\u00ce\u0005"+ + "\u0001\u0000\u0000\u00ce\u00d8\u0005\u0088\u0000\u0000\u00cf\u00d1\u0003"+ + "\n\u0005\u0000\u00d0\u00cf\u0001\u0000\u0000\u0000\u00d1\u00d4\u0001\u0000"+ + "\u0000\u0000\u00d2\u00d0\u0001\u0000\u0000\u0000\u00d2\u00d3\u0001\u0000"+ + "\u0000\u0000\u00d3\u00d9\u0001\u0000\u0000\u0000\u00d4\u00d2\u0001\u0000"+ + "\u0000\u0000\u00d5\u00d6\u0003\"\u0011\u0000\u00d6\u00d7\u0003\n\u0005"+ + "\u0000\u00d7\u00d9\u0001\u0000\u0000\u0000\u00d8\u00d2\u0001\u0000\u0000"+ + "\u0000\u00d8\u00d5\u0001\u0000\u0000\u0000\u00d9\u00da\u0001\u0000\u0000"+ + "\u0000\u00da\u00dc\u0005\u0002\u0000\u0000\u00db\u00cd\u0001\u0000\u0000"+ + "\u0000\u00dc\u00df\u0001\u0000\u0000\u0000\u00dd\u00db\u0001\u0000\u0000"+ + "\u0000\u00dd\u00de\u0001\u0000\u0000\u0000\u00de\u0013\u0001\u0000\u0000"+ + "\u0000\u00df\u00dd\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005\u0001\u0000"+ + "\u0000\u00e1\u00e5\u0005\u0089\u0000\u0000\u00e2\u00e4\u0003\n\u0005\u0000"+ + "\u00e3\u00e2\u0001\u0000\u0000\u0000\u00e4\u00e7\u0001\u0000\u0000\u0000"+ + "\u00e5\u00e3\u0001\u0000\u0000\u0000\u00e5\u00e6\u0001\u0000\u0000\u0000"+ + "\u00e6\u00e8\u0001\u0000\u0000\u0000\u00e7\u00e5\u0001\u0000\u0000\u0000"+ + "\u00e8\u00ea\u0005\u0002\u0000\u0000\u00e9\u00e0\u0001\u0000\u0000\u0000"+ + "\u00ea\u00ed\u0001\u0000\u0000\u0000\u00eb\u00e9\u0001\u0000\u0000\u0000"+ + "\u00eb\u00ec\u0001\u0000\u0000\u0000\u00ec\u0015\u0001\u0000\u0000\u0000"+ + "\u00ed\u00eb\u0001\u0000\u0000\u0000\u00ee\u00ef\u0003\u0012\t\u0000\u00ef"+ + "\u00f0\u0003\u0014\n\u0000\u00f0\u0017\u0001\u0000\u0000\u0000\u00f1\u00f3"+ + "\u0005\u0003\u0000\u0000\u00f2\u00f4\u0005\u0003\u0000\u0000\u00f3\u00f2"+ + "\u0001\u0000\u0000\u0000\u00f3\u00f4\u0001\u0000\u0000\u0000\u00f4\u00f5"+ + "\u0001\u0000\u0000\u0000\u00f5\u00f6\u0003\u0006\u0003\u0000\u00f6\u0019"+ + "\u0001\u0000\u0000\u0000\u00f7\u00f9\u0005\u0003\u0000\u0000\u00f8\u00fa"+ + "\u0005\u0003\u0000\u0000\u00f9\u00f8\u0001\u0000\u0000\u0000\u00f9\u00fa"+ + "\u0001\u0000\u0000\u0000\u00fa\u001b\u0001\u0000\u0000\u0000\u00fb\u00fc"+ + "\u0005\u0001\u0000\u0000\u00fc\u00fd\u0005\u0084\u0000\u0000\u00fd\u00fe"+ + "\u0003 \u0010\u0000\u00fe\u00ff\u0005\u0002\u0000\u0000\u00ff\u001d\u0001"+ + "\u0000\u0000\u0000\u0100\u0101\u0007\u0001\u0000\u0000\u0101\u001f\u0001"+ + "\u0000\u0000\u0000\u0102\u0103\u0007\u0002\u0000\u0000\u0103!\u0001\u0000"+ + "\u0000\u0000\u0104\u0105\u0005\u00a8\u0000\u0000\u0105#\u0001\u0000\u0000"+ + "\u0000\u0106\u010c\u0003(\u0014\u0000\u0107\u010c\u0003@ \u0000\u0108"+ + "\u010c\u0003F#\u0000\u0109\u010c\u0003*\u0015\u0000\u010a\u010c\u0003"+ + "&\u0013\u0000\u010b\u0106\u0001\u0000\u0000\u0000\u010b\u0107\u0001\u0000"+ + "\u0000\u0000\u010b\u0108\u0001\u0000\u0000\u0000\u010b\u0109\u0001\u0000"+ + "\u0000\u0000\u010b\u010a\u0001\u0000\u0000\u0000\u010c%\u0001\u0000\u0000"+ + "\u0000\u010d\u010e\u0005\u0018\u0000\u0000\u010e\u010f\u0005\u0001\u0000"+ + "\u0000\u010f\u0110\u0003P(\u0000\u0110\u0111\u0005\u0019\u0000\u0000\u0111"+ + "\u0112\u0003P(\u0000\u0112\u0113\u0005\u0019\u0000\u0000\u0113\u0114\u0003"+ + "P(\u0000\u0114\u0115\u0005\u0002\u0000\u0000\u0115\u0116\u0003P(\u0000"+ + "\u0116\'\u0001\u0000\u0000\u0000\u0117\u0166\u0005\u0014\u0000\u0000\u0118"+ + "\u0166\u0005\u0010\u0000\u0000\u0119\u0166\u0005\u0015\u0000\u0000\u011a"+ + "\u0166\u00036\u001b\u0000\u011b\u011c\u0005\u001b\u0000\u0000\u011c\u0166"+ + "\u0003 \u0010\u0000\u011d\u011e\u0005\u001c\u0000\u0000\u011e\u0166\u0003"+ + " \u0010\u0000\u011f\u0121\u0005\u001d\u0000\u0000\u0120\u0122\u0003 \u0010"+ + "\u0000\u0121\u0120\u0001\u0000\u0000\u0000\u0122\u0123\u0001\u0000\u0000"+ + "\u0000\u0123\u0121\u0001\u0000\u0000\u0000\u0123\u0124\u0001\u0000\u0000"+ + "\u0000\u0124\u0166\u0001\u0000\u0000\u0000\u0125\u0166\u0005\u001e\u0000"+ + "\u0000\u0126\u0127\u0005#\u0000\u0000\u0127\u0166\u0003 \u0010\u0000\u0128"+ + "\u0129\u0005%\u0000\u0000\u0129\u0166\u0003 \u0010\u0000\u012a\u012b\u0005"+ + "4\u0000\u0000\u012b\u0166\u0003 \u0010\u0000\u012c\u012d\u00055\u0000"+ + "\u0000\u012d\u0166\u0003 \u0010\u0000\u012e\u012f\u00056\u0000\u0000\u012f"+ + "\u0166\u0003 \u0010\u0000\u0130\u0131\u00057\u0000\u0000\u0131\u0166\u0003"+ + " \u0010\u0000\u0132\u0133\u00058\u0000\u0000\u0133\u0166\u0003 \u0010"+ + "\u0000\u0134\u0136\u00032\u0019\u0000\u0135\u0137\u0003.\u0017\u0000\u0136"+ + "\u0135\u0001\u0000\u0000\u0000\u0136\u0137\u0001\u0000\u0000\u0000\u0137"+ + "\u0139\u0001\u0000\u0000\u0000\u0138\u013a\u00030\u0018\u0000\u0139\u0138"+ + "\u0001\u0000\u0000\u0000\u0139\u013a\u0001\u0000\u0000\u0000\u013a\u0166"+ + "\u0001\u0000\u0000\u0000\u013b\u013d\u00034\u001a\u0000\u013c\u013e\u0003"+ + ".\u0017\u0000\u013d\u013c\u0001\u0000\u0000\u0000\u013d\u013e\u0001\u0000"+ + "\u0000\u0000\u013e\u0140\u0001\u0000\u0000\u0000\u013f\u0141\u00030\u0018"+ + "\u0000\u0140\u013f\u0001\u0000\u0000\u0000\u0140\u0141\u0001\u0000\u0000"+ + "\u0000\u0141\u0166\u0001\u0000\u0000\u0000\u0142\u0166\u0005z\u0000\u0000"+ + "\u0143\u0166\u0005{\u0000\u0000\u0144\u0166\u0005|\u0000\u0000\u0145\u0166"+ + "\u0005}\u0000\u0000\u0146\u0147\u0005~\u0000\u0000\u0147\u0166\u0003 "+ + "\u0010\u0000\u0148\u0149\u0005\b\u0000\u0000\u0149\u0166\u0003\u001e\u000f"+ + "\u0000\u014a\u0166\u0005\t\u0000\u0000\u014b\u0166\u0005\u0011\u0000\u0000"+ + "\u014c\u0166\u0005\u0012\u0000\u0000\u014d\u0166\u0005\u0013\u0000\u0000"+ + "\u014e\u0166\u0005\u007f\u0000\u0000\u014f\u0166\u0005\u0080\u0000\u0000"+ + "\u0150\u0166\u0005\u0081\u0000\u0000\u0151\u0166\u0005\u0082\u0000\u0000"+ + "\u0152\u0166\u0005\u0083\u0000\u0000\u0153\u0166\u00038\u001c\u0000\u0154"+ + "\u0155\u0005+\u0000\u0000\u0155\u0166\u0003 \u0010\u0000\u0156\u0157\u0005"+ + "\'\u0000\u0000\u0157\u0166\u0003 \u0010\u0000\u0158\u0159\u0005-\u0000"+ + "\u0000\u0159\u0166\u0003 \u0010\u0000\u015a\u015b\u0005,\u0000\u0000\u015b"+ + "\u015c\u0003 \u0010\u0000\u015c\u015d\u0003 \u0010\u0000\u015d\u0166\u0001"+ + "\u0000\u0000\u0000\u015e\u015f\u0005(\u0000\u0000\u015f\u0166\u0003 \u0010"+ + "\u0000\u0160\u0161\u0005.\u0000\u0000\u0161\u0166\u0003 \u0010\u0000\u0162"+ + "\u0166\u0005/\u0000\u0000\u0163\u0166\u00053\u0000\u0000\u0164\u0166\u0005"+ + "2\u0000\u0000\u0165\u0117\u0001\u0000\u0000\u0000\u0165\u0118\u0001\u0000"+ + "\u0000\u0000\u0165\u0119\u0001\u0000\u0000\u0000\u0165\u011a\u0001\u0000"+ + "\u0000\u0000\u0165\u011b\u0001\u0000\u0000\u0000\u0165\u011d\u0001\u0000"+ + "\u0000\u0000\u0165\u011f\u0001\u0000\u0000\u0000\u0165\u0125\u0001\u0000"+ + "\u0000\u0000\u0165\u0126\u0001\u0000\u0000\u0000\u0165\u0128\u0001\u0000"+ + "\u0000\u0000\u0165\u012a\u0001\u0000\u0000\u0000\u0165\u012c\u0001\u0000"+ + "\u0000\u0000\u0165\u012e\u0001\u0000\u0000\u0000\u0165\u0130\u0001\u0000"+ + "\u0000\u0000\u0165\u0132\u0001\u0000\u0000\u0000\u0165\u0134\u0001\u0000"+ + "\u0000\u0000\u0165\u013b\u0001\u0000\u0000\u0000\u0165\u0142\u0001\u0000"+ + "\u0000\u0000\u0165\u0143\u0001\u0000\u0000\u0000\u0165\u0144\u0001\u0000"+ + "\u0000\u0000\u0165\u0145\u0001\u0000\u0000\u0000\u0165\u0146\u0001\u0000"+ + "\u0000\u0000\u0165\u0148\u0001\u0000\u0000\u0000\u0165\u014a\u0001\u0000"+ + "\u0000\u0000\u0165\u014b\u0001\u0000\u0000\u0000\u0165\u014c\u0001\u0000"+ + "\u0000\u0000\u0165\u014d\u0001\u0000\u0000\u0000\u0165\u014e\u0001\u0000"+ + "\u0000\u0000\u0165\u014f\u0001\u0000\u0000\u0000\u0165\u0150\u0001\u0000"+ + "\u0000\u0000\u0165\u0151\u0001\u0000\u0000\u0000\u0165\u0152\u0001\u0000"+ + "\u0000\u0000\u0165\u0153\u0001\u0000\u0000\u0000\u0165\u0154\u0001\u0000"+ + "\u0000\u0000\u0165\u0156\u0001\u0000\u0000\u0000\u0165\u0158\u0001\u0000"+ + "\u0000\u0000\u0165\u015a\u0001\u0000\u0000\u0000\u0165\u015e\u0001\u0000"+ + "\u0000\u0000\u0165\u0160\u0001\u0000\u0000\u0000\u0165\u0162\u0001\u0000"+ + "\u0000\u0000\u0165\u0163\u0001\u0000\u0000\u0000\u0165\u0164\u0001\u0000"+ + "\u0000\u0000\u0166)\u0001\u0000\u0000\u0000\u0167\u0168\u0005)\u0000\u0000"+ + "\u0168\u016c\u0003 \u0010\u0000\u0169\u016b\u0003,\u0016\u0000\u016a\u0169"+ + "\u0001\u0000\u0000\u0000\u016b\u016e\u0001\u0000\u0000\u0000\u016c\u016a"+ + "\u0001\u0000\u0000\u0000\u016c\u016d\u0001\u0000\u0000\u0000\u016d+\u0001"+ + "\u0000\u0000\u0000\u016e\u016c\u0001\u0000\u0000\u0000\u016f\u0170\u0005"+ + "\u0001\u0000\u0000\u0170\u0171\u0005*\u0000\u0000\u0171\u0172\u0003 \u0010"+ + "\u0000\u0172\u0173\u0003 \u0010\u0000\u0173\u0174\u0005\u0002\u0000\u0000"+ + "\u0174-\u0001\u0000\u0000\u0000\u0175\u0176\u0005<\u0000\u0000\u0176\u0177"+ + "\u0005\u0003\u0000\u0000\u0177/\u0001\u0000\u0000\u0000\u0178\u0179\u0005"+ + "=\u0000\u0000\u0179\u017a\u0005\u0003\u0000\u0000\u017a1\u0001\u0000\u0000"+ + "\u0000\u017b\u017c\u0003\u0004\u0002\u0000\u017c\u0180\u00059\u0000\u0000"+ + "\u017d\u017e\u0005?\u0000\u0000\u017e\u017f\u0005;\u0000\u0000\u017f\u0181"+ + "\u0005>\u0000\u0000\u0180\u017d\u0001\u0000\u0000\u0000\u0180\u0181\u0001"+ + "\u0000\u0000\u0000\u01813\u0001\u0000\u0000\u0000\u0182\u0183\u0003\u0004"+ + "\u0002\u0000\u0183\u0185\u0005:\u0000\u0000\u0184\u0186\u0005?\u0000\u0000"+ + "\u0185\u0184\u0001\u0000\u0000\u0000\u0185\u0186\u0001\u0000\u0000\u0000"+ + "\u01865\u0001\u0000\u0000\u0000\u0187\u0188\u0003\u0004\u0002\u0000\u0188"+ + "\u0189\u0005\"\u0000\u0000\u01897\u0001\u0000\u0000\u0000\u018a\u018c"+ + "\u0005$\u0000\u0000\u018b\u018d\u0003 \u0010\u0000\u018c\u018b\u0001\u0000"+ + "\u0000\u0000\u018c\u018d\u0001\u0000\u0000\u0000\u018d\u018e\u0001\u0000"+ + "\u0000\u0000\u018e\u0195\u0003\u001c\u000e\u0000\u018f\u0191\u0005&\u0000"+ + "\u0000\u0190\u0192\u0003 \u0010\u0000\u0191\u0190\u0001\u0000\u0000\u0000"+ + "\u0191\u0192\u0001\u0000\u0000\u0000\u0192\u0193\u0001\u0000\u0000\u0000"+ + "\u0193\u0195\u0003\u001c\u000e\u0000\u0194\u018a\u0001\u0000\u0000\u0000"+ + "\u0194\u018f\u0001\u0000\u0000\u0000\u01959\u0001\u0000\u0000\u0000\u0196"+ + "\u0197\u0005\u0001\u0000\u0000\u0197\u019b\u0005\u0088\u0000\u0000\u0198"+ + "\u019a\u0003\n\u0005\u0000\u0199\u0198\u0001\u0000\u0000\u0000\u019a\u019d"+ + "\u0001\u0000\u0000\u0000\u019b\u0199\u0001\u0000\u0000\u0000\u019b\u019c"+ + "\u0001\u0000\u0000\u0000\u019c\u019e\u0001\u0000\u0000\u0000\u019d\u019b"+ + "\u0001\u0000\u0000\u0000\u019e\u01a0\u0005\u0002\u0000\u0000\u019f\u0196"+ + "\u0001\u0000\u0000\u0000\u01a0\u01a3\u0001\u0000\u0000\u0000\u01a1\u019f"+ + "\u0001\u0000\u0000\u0000\u01a1\u01a2\u0001\u0000\u0000\u0000\u01a2\u01af"+ + "\u0001\u0000\u0000\u0000\u01a3\u01a1\u0001\u0000\u0000\u0000\u01a4\u01a5"+ + "\u0005\u0001\u0000\u0000\u01a5\u01a9\u0005\u0089\u0000\u0000\u01a6\u01a8"+ + "\u0003\n\u0005\u0000\u01a7\u01a6\u0001\u0000\u0000\u0000\u01a8\u01ab\u0001"+ + "\u0000\u0000\u0000\u01a9\u01a7\u0001\u0000\u0000\u0000\u01a9\u01aa\u0001"+ + "\u0000\u0000\u0000\u01aa\u01ac\u0001\u0000\u0000\u0000\u01ab\u01a9\u0001"+ + "\u0000\u0000\u0000\u01ac\u01ae\u0005\u0002\u0000\u0000\u01ad\u01a4\u0001"+ + "\u0000\u0000\u0000\u01ae\u01b1\u0001\u0000\u0000\u0000\u01af\u01ad\u0001"+ + "\u0000\u0000\u0000\u01af\u01b0\u0001\u0000\u0000\u0000\u01b0;\u0001\u0000"+ + "\u0000\u0000\u01b1\u01af\u0001\u0000\u0000\u0000\u01b2\u01b3\u0005\u0001"+ + "\u0000\u0000\u01b3\u01b7\u0005\u0088\u0000\u0000\u01b4\u01b6\u0003\n\u0005"+ + "\u0000\u01b5\u01b4\u0001\u0000\u0000\u0000\u01b6\u01b9\u0001\u0000\u0000"+ + "\u0000\u01b7\u01b5\u0001\u0000\u0000\u0000\u01b7\u01b8\u0001\u0000\u0000"+ + "\u0000\u01b8\u01ba\u0001\u0000\u0000\u0000\u01b9\u01b7\u0001\u0000\u0000"+ + "\u0000\u01ba\u01bc\u0005\u0002\u0000\u0000\u01bb\u01b2\u0001\u0000\u0000"+ + "\u0000\u01bc\u01bf\u0001\u0000\u0000\u0000\u01bd\u01bb\u0001\u0000\u0000"+ + "\u0000\u01bd\u01be\u0001\u0000\u0000\u0000\u01be\u01c0\u0001\u0000\u0000"+ + "\u0000\u01bf\u01bd\u0001\u0000\u0000\u0000\u01c0\u01c1\u0003>\u001f\u0000"+ + "\u01c1=\u0001\u0000\u0000\u0000\u01c2\u01c3\u0005\u0001\u0000\u0000\u01c3"+ + "\u01c7\u0005\u0089\u0000\u0000\u01c4\u01c6\u0003\n\u0005\u0000\u01c5\u01c4"+ + "\u0001\u0000\u0000\u0000\u01c6\u01c9\u0001\u0000\u0000\u0000\u01c7\u01c5"+ + "\u0001\u0000\u0000\u0000\u01c7\u01c8\u0001\u0000\u0000\u0000\u01c8\u01ca"+ + "\u0001\u0000\u0000\u0000\u01c9\u01c7\u0001\u0000\u0000\u0000\u01ca\u01cc"+ + "\u0005\u0002\u0000\u0000\u01cb\u01c2\u0001\u0000\u0000\u0000\u01cc\u01cf"+ + "\u0001\u0000\u0000\u0000\u01cd\u01cb\u0001\u0000\u0000\u0000\u01cd\u01ce"+ + "\u0001\u0000\u0000\u0000\u01ce\u01d0\u0001\u0000\u0000\u0000\u01cf\u01cd"+ + "\u0001\u0000\u0000\u0000\u01d0\u01d1\u0003$\u0012\u0000\u01d1?\u0001\u0000"+ + "\u0000\u0000\u01d2\u01d4\u0005\u0016\u0000\u0000\u01d3\u01d5\u0003\"\u0011"+ + "\u0000\u01d4\u01d3\u0001\u0000\u0000\u0000\u01d4\u01d5\u0001\u0000\u0000"+ + "\u0000\u01d5\u01d6\u0001\u0000\u0000\u0000\u01d6\u01d7\u0003D\"\u0000"+ + "\u01d7\u01d9\u0005\u001a\u0000\u0000\u01d8\u01da\u0003\"\u0011\u0000\u01d9"+ + "\u01d8\u0001\u0000\u0000\u0000\u01d9\u01da\u0001\u0000\u0000\u0000\u01da"+ + "\u01fb\u0001\u0000\u0000\u0000\u01db\u01dd\u0005\u0017\u0000\u0000\u01dc"+ + "\u01de\u0003\"\u0011\u0000\u01dd\u01dc\u0001\u0000\u0000\u0000\u01dd\u01de"+ + "\u0001\u0000\u0000\u0000\u01de\u01df\u0001\u0000\u0000\u0000\u01df\u01e0"+ + "\u0003D\"\u0000\u01e0\u01e2\u0005\u001a\u0000\u0000\u01e1\u01e3\u0003"+ + "\"\u0011\u0000\u01e2\u01e1\u0001\u0000\u0000\u0000\u01e2\u01e3\u0001\u0000"+ + "\u0000\u0000\u01e3\u01fb\u0001\u0000\u0000\u0000\u01e4\u01e6\u0005\u001f"+ + "\u0000\u0000\u01e5\u01e7\u0003\"\u0011\u0000\u01e6\u01e5\u0001\u0000\u0000"+ + "\u0000\u01e6\u01e7\u0001\u0000\u0000\u0000\u01e7\u01e8\u0001\u0000\u0000"+ + "\u0000\u01e8\u01ee\u0003D\"\u0000\u01e9\u01eb\u0005!\u0000\u0000\u01ea"+ + "\u01ec\u0003\"\u0011\u0000\u01eb\u01ea\u0001\u0000\u0000\u0000\u01eb\u01ec"+ + "\u0001\u0000\u0000\u0000\u01ec\u01ed\u0001\u0000\u0000\u0000\u01ed\u01ef"+ + "\u0003P(\u0000\u01ee\u01e9\u0001\u0000\u0000\u0000\u01ee\u01ef\u0001\u0000"+ + "\u0000\u0000\u01ef\u01f0\u0001\u0000\u0000\u0000\u01f0\u01f2\u0005\u001a"+ + "\u0000\u0000\u01f1\u01f3\u0003\"\u0011\u0000\u01f2\u01f1\u0001\u0000\u0000"+ + "\u0000\u01f2\u01f3\u0001\u0000\u0000\u0000\u01f3\u01fb\u0001\u0000\u0000"+ + "\u0000\u01f4\u01f5\u00050\u0000\u0000\u01f5\u01f6\u0003D\"\u0000\u01f6"+ + "\u01f7\u00051\u0000\u0000\u01f7\u01f8\u0003D\"\u0000\u01f8\u01f9\u0005"+ + "\u001a\u0000\u0000\u01f9\u01fb\u0001\u0000\u0000\u0000\u01fa\u01d2\u0001"+ + "\u0000\u0000\u0000\u01fa\u01db\u0001\u0000\u0000\u0000\u01fa\u01e4\u0001"+ + "\u0000\u0000\u0000\u01fa\u01f4\u0001\u0000\u0000\u0000\u01fbA\u0001\u0000"+ + "\u0000\u0000\u01fc\u01fd\u0005\u0001\u0000\u0000\u01fd\u01fe\u0005\u0089"+ + "\u0000\u0000\u01fe\u01ff\u0003\n\u0005\u0000\u01ff\u0200\u0005\u0002\u0000"+ + "\u0000\u0200\u0202\u0001\u0000\u0000\u0000\u0201\u01fc\u0001\u0000\u0000"+ + "\u0000\u0201\u0202\u0001\u0000\u0000\u0000\u0202\u0208\u0001\u0000\u0000"+ + "\u0000\u0203\u0204\u0003\u001c\u000e\u0000\u0204\u0205\u0003\u0016\u000b"+ + "\u0000\u0205\u0208\u0001\u0000\u0000\u0000\u0206\u0208\u0003\u0016\u000b"+ + "\u0000\u0207\u0201\u0001\u0000\u0000\u0000\u0207\u0203\u0001\u0000\u0000"+ + "\u0000\u0207\u0206\u0001\u0000\u0000\u0000\u0208C\u0001\u0000\u0000\u0000"+ + "\u0209\u020a\u0003B!\u0000\u020a\u020b\u0003P(\u0000\u020bE\u0001\u0000"+ + "\u0000\u0000\u020c\u020d\u0005\u0001\u0000\u0000\u020d\u020e\u0003H$\u0000"+ + "\u020e\u020f\u0005\u0002\u0000\u0000\u020fG\u0001\u0000\u0000\u0000\u0210"+ + "\u0214\u0003(\u0014\u0000\u0211\u0213\u0003H$\u0000\u0212\u0211\u0001"+ + "\u0000\u0000\u0000\u0213\u0216\u0001\u0000\u0000\u0000\u0214\u0212\u0001"+ + "\u0000\u0000\u0000\u0214\u0215\u0001\u0000\u0000\u0000\u0215\u023b\u0001"+ + "\u0000\u0000\u0000\u0216\u0214\u0001\u0000\u0000\u0000\u0217\u0218\u0005"+ + "$\u0000\u0000\u0218\u023b\u0003J%\u0000\u0219\u021a\u0005&\u0000\u0000"+ + "\u021a\u023b\u0003J%\u0000\u021b\u021d\u0005\u0016\u0000\u0000\u021c\u021e"+ + "\u0003\"\u0011\u0000\u021d\u021c\u0001\u0000\u0000\u0000\u021d\u021e\u0001"+ + "\u0000\u0000\u0000\u021e\u021f\u0001\u0000\u0000\u0000\u021f\u023b\u0003"+ + "D\"\u0000\u0220\u0222\u0005\u0017\u0000\u0000\u0221\u0223\u0003\"\u0011"+ + "\u0000\u0222\u0221\u0001\u0000\u0000\u0000\u0222\u0223\u0001\u0000\u0000"+ + "\u0000\u0223\u0224\u0001\u0000\u0000\u0000\u0224\u023b\u0003D\"\u0000"+ + "\u0225\u0227\u0005\u001f\u0000\u0000\u0226\u0228\u0003\"\u0011\u0000\u0227"+ + "\u0226\u0001\u0000\u0000\u0000\u0227\u0228\u0001\u0000\u0000\u0000\u0228"+ + "\u0229\u0001\u0000\u0000\u0000\u0229\u022d\u0003B!\u0000\u022a\u022c\u0003"+ + "F#\u0000\u022b\u022a\u0001\u0000\u0000\u0000\u022c\u022f\u0001\u0000\u0000"+ + "\u0000\u022d\u022b\u0001\u0000\u0000\u0000\u022d\u022e\u0001\u0000\u0000"+ + "\u0000\u022e\u0230\u0001\u0000\u0000\u0000\u022f\u022d\u0001\u0000\u0000"+ + "\u0000\u0230\u0231\u0005\u0001\u0000\u0000\u0231\u0232\u0005 \u0000\u0000"+ + "\u0232\u0238\u0003P(\u0000\u0233\u0234\u0005\u0001\u0000\u0000\u0234\u0235"+ + "\u0005!\u0000\u0000\u0235\u0236\u0003P(\u0000\u0236\u0237\u0005\u0002"+ + "\u0000\u0000\u0237\u0239\u0001\u0000\u0000\u0000\u0238\u0233\u0001\u0000"+ + "\u0000\u0000\u0238\u0239\u0001\u0000\u0000\u0000\u0239\u023b\u0001\u0000"+ + "\u0000\u0000\u023a\u0210\u0001\u0000\u0000\u0000\u023a\u0217\u0001\u0000"+ + "\u0000\u0000\u023a\u0219\u0001\u0000\u0000\u0000\u023a\u021b\u0001\u0000"+ + "\u0000\u0000\u023a\u0220\u0001\u0000\u0000\u0000\u023a\u0225\u0001\u0000"+ + "\u0000\u0000\u023bI\u0001\u0000\u0000\u0000\u023c\u023e\u0003\u001c\u000e"+ + "\u0000\u023d\u023c\u0001\u0000\u0000\u0000\u023d\u023e\u0001\u0000\u0000"+ + "\u0000\u023e\u023f\u0001\u0000\u0000\u0000\u023f\u0240\u0003L&\u0000\u0240"+ + "K\u0001\u0000\u0000\u0000\u0241\u0242\u0005\u0001\u0000\u0000\u0242\u0246"+ + "\u0005\u0088\u0000\u0000\u0243\u0245\u0003\n\u0005\u0000\u0244\u0243\u0001"+ + "\u0000\u0000\u0000\u0245\u0248\u0001\u0000\u0000\u0000\u0246\u0244\u0001"+ + "\u0000\u0000\u0000\u0246\u0247\u0001\u0000\u0000\u0000\u0247\u0249\u0001"+ + "\u0000\u0000\u0000\u0248\u0246\u0001\u0000\u0000\u0000\u0249\u024b\u0005"+ + "\u0002\u0000\u0000\u024a\u0241\u0001\u0000\u0000\u0000\u024b\u024e\u0001"+ + "\u0000\u0000\u0000\u024c\u024a\u0001\u0000\u0000\u0000\u024c\u024d\u0001"+ + "\u0000\u0000\u0000\u024d\u024f\u0001\u0000\u0000\u0000\u024e\u024c\u0001"+ + "\u0000\u0000\u0000\u024f\u0250\u0003N\'\u0000\u0250M\u0001\u0000\u0000"+ + "\u0000\u0251\u0252\u0005\u0001\u0000\u0000\u0252\u0256\u0005\u0089\u0000"+ + "\u0000\u0253\u0255\u0003\n\u0005\u0000\u0254\u0253\u0001\u0000\u0000\u0000"+ + "\u0255\u0258\u0001\u0000\u0000\u0000\u0256\u0254\u0001\u0000\u0000\u0000"+ + "\u0256\u0257\u0001\u0000\u0000\u0000\u0257\u0259\u0001\u0000\u0000\u0000"+ + "\u0258\u0256\u0001\u0000\u0000\u0000\u0259\u025b\u0005\u0002\u0000\u0000"+ + "\u025a\u0251\u0001\u0000\u0000\u0000\u025b\u025e\u0001\u0000\u0000\u0000"+ + "\u025c\u025a\u0001\u0000\u0000\u0000\u025c\u025d\u0001\u0000\u0000\u0000"+ + "\u025d\u0262\u0001\u0000\u0000\u0000\u025e\u025c\u0001\u0000\u0000\u0000"+ + "\u025f\u0261\u0003H$\u0000\u0260\u025f\u0001\u0000\u0000\u0000\u0261\u0264"+ + "\u0001\u0000\u0000\u0000\u0262\u0260\u0001\u0000\u0000\u0000\u0262\u0263"+ + "\u0001\u0000\u0000\u0000\u0263O\u0001\u0000\u0000\u0000\u0264\u0262\u0001"+ + "\u0000\u0000\u0000\u0265\u0267\u0003$\u0012\u0000\u0266\u0265\u0001\u0000"+ + "\u0000\u0000\u0267\u026a\u0001\u0000\u0000\u0000\u0268\u0266\u0001\u0000"+ + "\u0000\u0000\u0268\u0269\u0001\u0000\u0000\u0000\u0269\u026c\u0001\u0000"+ + "\u0000\u0000\u026a\u0268\u0001\u0000\u0000\u0000\u026b\u026d\u00038\u001c"+ + "\u0000\u026c\u026b\u0001\u0000\u0000\u0000\u026c\u026d\u0001\u0000\u0000"+ + "\u0000\u026dQ\u0001\u0000\u0000\u0000\u026e\u026f\u0003P(\u0000\u026f"+ + "S\u0001\u0000\u0000\u0000\u0270\u0271\u0005\u0001\u0000\u0000\u0271\u0273"+ + "\u0005\u0085\u0000\u0000\u0272\u0274\u0003\"\u0011\u0000\u0273\u0272\u0001"+ + "\u0000\u0000\u0000\u0273\u0274\u0001\u0000\u0000\u0000\u0274\u0275\u0001"+ + "\u0000\u0000\u0000\u0275\u0276\u0003V+\u0000\u0276\u0277\u0005\u0002\u0000"+ + "\u0000\u0277U\u0001\u0000\u0000\u0000\u0278\u027a\u0003\u001c\u000e\u0000"+ + "\u0279\u0278\u0001\u0000\u0000\u0000\u0279\u027a\u0001\u0000\u0000\u0000"+ + "\u027a\u027b\u0001\u0000\u0000\u0000\u027b\u0286\u0003X,\u0000\u027c\u027e"+ + "\u0003r9\u0000\u027d\u027f\u0003\u001c\u000e\u0000\u027e\u027d\u0001\u0000"+ + "\u0000\u0000\u027e\u027f\u0001\u0000\u0000\u0000\u027f\u0280\u0001\u0000"+ + "\u0000\u0000\u0280\u0281\u0003\u0016\u000b\u0000\u0281\u0286\u0001\u0000"+ + "\u0000\u0000\u0282\u0283\u0003x<\u0000\u0283\u0284\u0003V+\u0000\u0284"+ + "\u0286\u0001\u0000\u0000\u0000\u0285\u0279\u0001\u0000\u0000\u0000\u0285"+ + "\u027c\u0001\u0000\u0000\u0000\u0285\u0282\u0001\u0000\u0000\u0000\u0286"+ + "W\u0001\u0000\u0000\u0000\u0287\u0288\u0003\u0016\u000b\u0000\u0288\u0289"+ + "\u0003Z-\u0000\u0289Y\u0001\u0000\u0000\u0000\u028a\u028b\u0005\u0001"+ + "\u0000\u0000\u028b\u0295\u0005\u008a\u0000\u0000\u028c\u028e\u0003\n\u0005"+ + "\u0000\u028d\u028c\u0001\u0000\u0000\u0000\u028e\u0291\u0001\u0000\u0000"+ + "\u0000\u028f\u028d\u0001\u0000\u0000\u0000\u028f\u0290\u0001\u0000\u0000"+ + "\u0000\u0290\u0296\u0001\u0000\u0000\u0000\u0291\u028f\u0001\u0000\u0000"+ + "\u0000\u0292\u0293\u0003\"\u0011\u0000\u0293\u0294\u0003\n\u0005\u0000"+ + "\u0294\u0296\u0001\u0000\u0000\u0000\u0295\u028f\u0001\u0000\u0000\u0000"+ + "\u0295\u0292\u0001\u0000\u0000\u0000\u0296\u0297\u0001\u0000\u0000\u0000"+ + "\u0297\u0299\u0005\u0002\u0000\u0000\u0298\u028a\u0001\u0000\u0000\u0000"+ + "\u0299\u029c\u0001\u0000\u0000\u0000\u029a\u0298\u0001\u0000\u0000\u0000"+ + "\u029a\u029b\u0001\u0000\u0000\u0000\u029b\u029d\u0001\u0000\u0000\u0000"+ + "\u029c\u029a\u0001\u0000\u0000\u0000\u029d\u029e\u0003P(\u0000\u029e["+ + "\u0001\u0000\u0000\u0000\u029f\u02a0\u0005\u0001\u0000\u0000\u02a0\u02a1"+ + "\u0005\u0090\u0000\u0000\u02a1\u02a2\u0003R)\u0000\u02a2\u02a3\u0005\u0002"+ + "\u0000\u0000\u02a3\u02a6\u0001\u0000\u0000\u0000\u02a4\u02a6\u0003H$\u0000"+ + "\u02a5\u029f\u0001\u0000\u0000\u0000\u02a5\u02a4\u0001\u0000\u0000\u0000"+ + "\u02a6]\u0001\u0000\u0000\u0000\u02a7\u02a8\u0005\u0001\u0000\u0000\u02a8"+ + "\u02aa\u0005\u008e\u0000\u0000\u02a9\u02ab\u0003 \u0010\u0000\u02aa\u02a9"+ + "\u0001\u0000\u0000\u0000\u02aa\u02ab\u0001\u0000\u0000\u0000\u02ab\u02ac"+ + "\u0001\u0000\u0000\u0000\u02ac\u02ad\u0005\u0001\u0000\u0000\u02ad\u02ae"+ + "\u0003$\u0012\u0000\u02ae\u02b2\u0005\u0002\u0000\u0000\u02af\u02b1\u0003"+ + " \u0010\u0000\u02b0\u02af\u0001\u0000\u0000\u0000\u02b1\u02b4\u0001\u0000"+ + "\u0000\u0000\u02b2\u02b0\u0001\u0000\u0000\u0000\u02b2\u02b3\u0001\u0000"+ + "\u0000\u0000\u02b3\u02b5\u0001\u0000\u0000\u0000\u02b4\u02b2\u0001\u0000"+ + "\u0000\u0000\u02b5\u02b6\u0005\u0002\u0000\u0000\u02b6\u02d4\u0001\u0000"+ + "\u0000\u0000\u02b7\u02b8\u0005\u0001\u0000\u0000\u02b8\u02ba\u0005\u008e"+ + "\u0000\u0000\u02b9\u02bb\u0003 \u0010\u0000\u02ba\u02b9\u0001\u0000\u0000"+ + "\u0000\u02ba\u02bb\u0001\u0000\u0000\u0000\u02bb\u02bc\u0001\u0000\u0000"+ + "\u0000\u02bc\u02c0\u0003\\.\u0000\u02bd\u02bf\u0003 \u0010\u0000\u02be"+ + "\u02bd\u0001\u0000\u0000\u0000\u02bf\u02c2\u0001\u0000\u0000\u0000\u02c0"+ + "\u02be\u0001\u0000\u0000\u0000\u02c0\u02c1\u0001\u0000\u0000\u0000\u02c1"+ + "\u02c3\u0001\u0000\u0000\u0000\u02c2\u02c0\u0001\u0000\u0000\u0000\u02c3"+ + "\u02c4\u0005\u0002\u0000\u0000\u02c4\u02d4\u0001\u0000\u0000\u0000\u02c5"+ + "\u02c6\u0005\u0001\u0000\u0000\u02c6\u02c8\u0005\u008e\u0000\u0000\u02c7"+ + "\u02c9\u0003 \u0010\u0000\u02c8\u02c7\u0001\u0000\u0000\u0000\u02c8\u02c9"+ + "\u0001\u0000\u0000\u0000\u02c9\u02ca\u0001\u0000\u0000\u0000\u02ca\u02cb"+ + "\u0005\u0094\u0000\u0000\u02cb\u02cf\u0005\u0085\u0000\u0000\u02cc\u02ce"+ + "\u0003 \u0010\u0000\u02cd\u02cc\u0001\u0000\u0000\u0000\u02ce\u02d1\u0001"+ + "\u0000\u0000\u0000\u02cf\u02cd\u0001\u0000\u0000\u0000\u02cf\u02d0\u0001"+ + "\u0000\u0000\u0000\u02d0\u02d2\u0001\u0000\u0000\u0000\u02d1\u02cf\u0001"+ + "\u0000\u0000\u0000\u02d2\u02d4\u0005\u0002\u0000\u0000\u02d3\u02a7\u0001"+ + "\u0000\u0000\u0000\u02d3\u02b7\u0001\u0000\u0000\u0000\u02d3\u02c5\u0001"+ + "\u0000\u0000\u0000\u02d4_\u0001\u0000\u0000\u0000\u02d5\u02d6\u0005\u0001"+ + "\u0000\u0000\u02d6\u02d8\u0005\u008c\u0000\u0000\u02d7\u02d9\u0003\"\u0011"+ + "\u0000\u02d8\u02d7\u0001\u0000\u0000\u0000\u02d8\u02d9\u0001\u0000\u0000"+ + "\u0000\u02d9\u02da\u0001\u0000\u0000\u0000\u02da\u02db\u0003b1\u0000\u02db"+ + "\u02dc\u0005\u0002\u0000\u0000\u02dca\u0001\u0000\u0000\u0000\u02dd\u02f0"+ + "\u0003\u0018\f\u0000\u02de\u02df\u0003r9\u0000\u02df\u02e0\u0003\u0018"+ + "\f\u0000\u02e0\u02f0\u0001\u0000\u0000\u0000\u02e1\u02e2\u0003x<\u0000"+ + "\u02e2\u02e3\u0003b1\u0000\u02e3\u02f0\u0001\u0000\u0000\u0000\u02e4\u02e5"+ + "\u0003\u0006\u0003\u0000\u02e5\u02e6\u0005\u0001\u0000\u0000\u02e6\u02ea"+ + "\u0005\u008e\u0000\u0000\u02e7\u02e9\u0003 \u0010\u0000\u02e8\u02e7\u0001"+ + "\u0000\u0000\u0000\u02e9\u02ec\u0001\u0000\u0000\u0000\u02ea\u02e8\u0001"+ + "\u0000\u0000\u0000\u02ea\u02eb\u0001\u0000\u0000\u0000\u02eb\u02ed\u0001"+ + "\u0000\u0000\u0000\u02ec\u02ea\u0001\u0000\u0000\u0000\u02ed\u02ee\u0005"+ + "\u0002\u0000\u0000\u02ee\u02f0\u0001\u0000\u0000\u0000\u02ef\u02dd\u0001"+ + "\u0000\u0000\u0000\u02ef\u02de\u0001\u0000\u0000\u0000\u02ef\u02e1\u0001"+ + "\u0000\u0000\u0000\u02ef\u02e4\u0001\u0000\u0000\u0000\u02f0c\u0001\u0000"+ + "\u0000\u0000\u02f1\u02f2\u0005\u0001\u0000\u0000\u02f2\u02f4\u0005\u008f"+ + "\u0000\u0000\u02f3\u02f5\u0003 \u0010\u0000\u02f4\u02f3\u0001\u0000\u0000"+ + "\u0000\u02f4\u02f5\u0001\u0000\u0000\u0000\u02f5\u02f6\u0001\u0000\u0000"+ + "\u0000\u02f6\u02f7\u0005\u0001\u0000\u0000\u02f7\u02f8\u0003$\u0012\u0000"+ + "\u02f8\u02fc\u0005\u0002\u0000\u0000\u02f9\u02fb\u0005\u0006\u0000\u0000"+ + "\u02fa\u02f9\u0001\u0000\u0000\u0000\u02fb\u02fe\u0001\u0000\u0000\u0000"+ + "\u02fc\u02fa\u0001\u0000\u0000\u0000\u02fc\u02fd\u0001\u0000\u0000\u0000"+ + "\u02fd\u02ff\u0001\u0000\u0000\u0000\u02fe\u02fc\u0001\u0000\u0000\u0000"+ + "\u02ff\u0300\u0005\u0002\u0000\u0000\u0300\u0310\u0001\u0000\u0000\u0000"+ + "\u0301\u0302\u0005\u0001\u0000\u0000\u0302\u0304\u0005\u008f\u0000\u0000"+ + "\u0303\u0305\u0003 \u0010\u0000\u0304\u0303\u0001\u0000\u0000\u0000\u0304"+ + "\u0305\u0001\u0000\u0000\u0000\u0305\u0306\u0001\u0000\u0000\u0000\u0306"+ + "\u030a\u0003\\.\u0000\u0307\u0309\u0005\u0006\u0000\u0000\u0308\u0307"+ + "\u0001\u0000\u0000\u0000\u0309\u030c\u0001\u0000\u0000\u0000\u030a\u0308"+ + "\u0001\u0000\u0000\u0000\u030a\u030b\u0001\u0000\u0000\u0000\u030b\u030d"+ + "\u0001\u0000\u0000\u0000\u030c\u030a\u0001\u0000\u0000\u0000\u030d\u030e"+ + "\u0005\u0002\u0000\u0000\u030e\u0310\u0001\u0000\u0000\u0000\u030f\u02f1"+ + "\u0001\u0000\u0000\u0000\u030f\u0301\u0001\u0000\u0000\u0000\u0310e\u0001"+ + "\u0000\u0000\u0000\u0311\u0312\u0005\u0001\u0000\u0000\u0312\u0314\u0005"+ + "\u008d\u0000\u0000\u0313\u0315\u0003\"\u0011\u0000\u0314\u0313\u0001\u0000"+ + "\u0000\u0000\u0314\u0315\u0001\u0000\u0000\u0000\u0315\u0316\u0001\u0000"+ + "\u0000\u0000\u0316\u0317\u0003h4\u0000\u0317\u0318\u0005\u0002\u0000\u0000"+ + "\u0318g\u0001\u0000\u0000\u0000\u0319\u032a\u0003\u001a\r\u0000\u031a"+ + "\u031b\u0003r9\u0000\u031b\u031c\u0003\u001a\r\u0000\u031c\u032a\u0001"+ + "\u0000\u0000\u0000\u031d\u031e\u0003x<\u0000\u031e\u031f\u0003h4\u0000"+ + "\u031f\u032a\u0001\u0000\u0000\u0000\u0320\u0321\u0005\u0001\u0000\u0000"+ + "\u0321\u0325\u0005\u008f\u0000\u0000\u0322\u0324\u0005\u0006\u0000\u0000"+ + "\u0323\u0322\u0001\u0000\u0000\u0000\u0324\u0327\u0001\u0000\u0000\u0000"+ + "\u0325\u0323\u0001\u0000\u0000\u0000\u0325\u0326\u0001\u0000\u0000\u0000"+ + "\u0326\u0328\u0001\u0000\u0000\u0000\u0327\u0325\u0001\u0000\u0000\u0000"+ + "\u0328\u032a\u0005\u0002\u0000\u0000\u0329\u0319\u0001\u0000\u0000\u0000"+ + "\u0329\u031a\u0001\u0000\u0000\u0000\u0329\u031d\u0001\u0000\u0000\u0000"+ + "\u0329\u0320\u0001\u0000\u0000\u0000\u032ai\u0001\u0000\u0000\u0000\u032b"+ + "\u032c\u0005\u0001\u0000\u0000\u032c\u032e\u0005\u008b\u0000\u0000\u032d"+ + "\u032f\u0003\"\u0011\u0000\u032e\u032d\u0001\u0000\u0000\u0000\u032e\u032f"+ + "\u0001\u0000\u0000\u0000\u032f\u0330\u0001\u0000\u0000\u0000\u0330\u0331"+ + "\u0003l6\u0000\u0331\u0332\u0005\u0002\u0000\u0000\u0332k\u0001\u0000"+ + "\u0000\u0000\u0333\u0334\u0003\u000e\u0007\u0000\u0334\u0335\u0003R)\u0000"+ + "\u0335\u033d\u0001\u0000\u0000\u0000\u0336\u0337\u0003r9\u0000\u0337\u0338"+ + "\u0003\u000e\u0007\u0000\u0338\u033d\u0001\u0000\u0000\u0000\u0339\u033a"+ + "\u0003x<\u0000\u033a\u033b\u0003l6\u0000\u033b\u033d\u0001\u0000\u0000"+ + "\u0000\u033c\u0333\u0001\u0000\u0000\u0000\u033c\u0336\u0001\u0000\u0000"+ + "\u0000\u033c\u0339\u0001\u0000\u0000\u0000\u033dm\u0001\u0000\u0000\u0000"+ + "\u033e\u033f\u0005\u0001\u0000\u0000\u033f\u0341\u0005\u0085\u0000\u0000"+ + "\u0340\u0342\u0003\"\u0011\u0000\u0341\u0340\u0001\u0000\u0000\u0000\u0341"+ + "\u0342\u0001\u0000\u0000\u0000\u0342\u0343\u0001\u0000\u0000\u0000\u0343"+ + "\u0344\u0003\u001c\u000e\u0000\u0344\u0345\u0005\u0002\u0000\u0000\u0345"+ + "\u0367\u0001\u0000\u0000\u0000\u0346\u0347\u0005\u0001\u0000\u0000\u0347"+ + "\u0349\u0005\u0085\u0000\u0000\u0348\u034a\u0003\"\u0011\u0000\u0349\u0348"+ + "\u0001\u0000\u0000\u0000\u0349\u034a\u0001\u0000\u0000\u0000\u034a\u034b"+ + "\u0001\u0000\u0000\u0000\u034b\u034c\u0003\u0016\u000b\u0000\u034c\u034d"+ + "\u0005\u0002\u0000\u0000\u034d\u0367\u0001\u0000\u0000\u0000\u034e\u034f"+ + "\u0005\u0001\u0000\u0000\u034f\u0351\u0005\u008c\u0000\u0000\u0350\u0352"+ + "\u0003\"\u0011\u0000\u0351\u0350\u0001\u0000\u0000\u0000\u0351\u0352\u0001"+ + "\u0000\u0000\u0000\u0352\u0353\u0001\u0000\u0000\u0000\u0353\u0354\u0003"+ + "\u0018\f\u0000\u0354\u0355\u0005\u0002\u0000\u0000\u0355\u0367\u0001\u0000"+ + "\u0000\u0000\u0356\u0357\u0005\u0001\u0000\u0000\u0357\u0359\u0005\u008d"+ + "\u0000\u0000\u0358\u035a\u0003\"\u0011\u0000\u0359\u0358\u0001\u0000\u0000"+ + "\u0000\u0359\u035a\u0001\u0000\u0000\u0000\u035a\u035b\u0001\u0000\u0000"+ + "\u0000\u035b\u035c\u0003\u001a\r\u0000\u035c\u035d\u0005\u0002\u0000\u0000"+ + "\u035d\u0367\u0001\u0000\u0000\u0000\u035e\u035f\u0005\u0001\u0000\u0000"+ + "\u035f\u0361\u0005\u008b\u0000\u0000\u0360\u0362\u0003\"\u0011\u0000\u0361"+ + "\u0360\u0001\u0000\u0000\u0000\u0361\u0362\u0001\u0000\u0000\u0000\u0362"+ + "\u0363\u0001\u0000\u0000\u0000\u0363\u0364\u0003\u000e\u0007\u0000\u0364"+ + "\u0365\u0005\u0002\u0000\u0000\u0365\u0367\u0001\u0000\u0000\u0000\u0366"+ + "\u033e\u0001\u0000\u0000\u0000\u0366\u0346\u0001\u0000\u0000\u0000\u0366"+ + "\u034e\u0001\u0000\u0000\u0000\u0366\u0356\u0001\u0000\u0000\u0000\u0366"+ + "\u035e\u0001\u0000\u0000\u0000\u0367o\u0001\u0000\u0000\u0000\u0368\u0369"+ + "\u0005\u0001\u0000\u0000\u0369\u036a\u0005\u0091\u0000\u0000\u036a\u036b"+ + "\u0003\u0002\u0001\u0000\u036b\u036c\u0003\u0002\u0001\u0000\u036c\u036d"+ + "\u0003n7\u0000\u036d\u036e\u0005\u0002\u0000\u0000\u036eq\u0001\u0000"+ + "\u0000\u0000\u036f\u0370\u0005\u0001\u0000\u0000\u0370\u0371\u0005\u0091"+ + "\u0000\u0000\u0371\u0372\u0003\u0002\u0001\u0000\u0372\u0373\u0003\u0002"+ + "\u0001\u0000\u0373\u0374\u0005\u0002\u0000\u0000\u0374s\u0001\u0000\u0000"+ + "\u0000\u0375\u0376\u0005\u0001\u0000\u0000\u0376\u0377\u0005\u0085\u0000"+ + "\u0000\u0377\u0378\u0003 \u0010\u0000\u0378\u0379\u0005\u0002\u0000\u0000"+ + "\u0379\u038a\u0001\u0000\u0000\u0000\u037a\u037b\u0005\u0001\u0000\u0000"+ + "\u037b\u037c\u0005\u008c\u0000\u0000\u037c\u037d\u0003 \u0010\u0000\u037d"+ + "\u037e\u0005\u0002\u0000\u0000\u037e\u038a\u0001\u0000\u0000\u0000\u037f"+ + "\u0380\u0005\u0001\u0000\u0000\u0380\u0381\u0005\u008d\u0000\u0000\u0381"+ + "\u0382\u0003 \u0010\u0000\u0382\u0383\u0005\u0002\u0000\u0000\u0383\u038a"+ + "\u0001\u0000\u0000\u0000\u0384\u0385\u0005\u0001\u0000\u0000\u0385\u0386"+ + "\u0005\u008b\u0000\u0000\u0386\u0387\u0003 \u0010\u0000\u0387\u0388\u0005"+ + "\u0002\u0000\u0000\u0388\u038a\u0001\u0000\u0000\u0000\u0389\u0375\u0001"+ + "\u0000\u0000\u0000\u0389\u037a\u0001\u0000\u0000\u0000\u0389\u037f\u0001"+ + "\u0000\u0000\u0000\u0389\u0384\u0001\u0000\u0000\u0000\u038au\u0001\u0000"+ + "\u0000\u0000\u038b\u038c\u0005\u0001\u0000\u0000\u038c\u038d\u0005\u0092"+ + "\u0000\u0000\u038d\u038e\u0003\u0002\u0001\u0000\u038e\u038f\u0003t:\u0000"+ + "\u038f\u0390\u0005\u0002\u0000\u0000\u0390w\u0001\u0000\u0000\u0000\u0391"+ + "\u0392\u0005\u0001\u0000\u0000\u0392\u0393\u0005\u0092\u0000\u0000\u0393"+ + "\u0394\u0003\u0002\u0001\u0000\u0394\u0395\u0005\u0002\u0000\u0000\u0395"+ + "y\u0001\u0000\u0000\u0000\u0396\u0397\u0005\u0001\u0000\u0000\u0397\u0399"+ + "\u0005\u0093\u0000\u0000\u0398\u039a\u0003\"\u0011\u0000\u0399\u0398\u0001"+ + "\u0000\u0000\u0000\u0399\u039a\u0001\u0000\u0000\u0000\u039a\u039b\u0001"+ + "\u0000\u0000\u0000\u039b\u039c\u0003\u001c\u000e\u0000\u039c\u039d\u0003"+ + "\u0016\u000b\u0000\u039d\u039e\u0005\u0002\u0000\u0000\u039e{\u0001\u0000"+ + "\u0000\u0000\u039f\u03a0\u0005\u0001\u0000\u0000\u03a0\u03a2\u0005\u0084"+ + "\u0000\u0000\u03a1\u03a3\u0003\"\u0011\u0000\u03a2\u03a1\u0001\u0000\u0000"+ + "\u0000\u03a2\u03a3\u0001\u0000\u0000\u0000\u03a3\u03a4\u0001\u0000\u0000"+ + "\u0000\u03a4\u03a5\u0003\u0010\b\u0000\u03a5\u03a6\u0005\u0002\u0000\u0000"+ + "\u03a6}\u0001\u0000\u0000\u0000\u03a7\u03a8\u0005\u0001\u0000\u0000\u03a8"+ + "\u03a9\u0005\u0087\u0000\u0000\u03a9\u03aa\u0003 \u0010\u0000\u03aa\u03ab"+ + "\u0005\u0002\u0000\u0000\u03ab\u007f\u0001\u0000\u0000\u0000\u03ac\u03b8"+ + "\u0003|>\u0000\u03ad\u03b8\u0003j5\u0000\u03ae\u03b8\u0003`0\u0000\u03af"+ + "\u03b8\u0003f3\u0000\u03b0\u03b8\u0003T*\u0000\u03b1\u03b8\u0003^/\u0000"+ + "\u03b2\u03b8\u0003d2\u0000\u03b3\u03b8\u0003~?\u0000\u03b4\u03b8\u0003"+ + "p8\u0000\u03b5\u03b8\u0003v;\u0000\u03b6\u03b8\u0003z=\u0000\u03b7\u03ac"+ + "\u0001\u0000\u0000\u0000\u03b7\u03ad\u0001\u0000\u0000\u0000\u03b7\u03ae"+ + "\u0001\u0000\u0000\u0000\u03b7\u03af\u0001\u0000\u0000\u0000\u03b7\u03b0"+ + "\u0001\u0000\u0000\u0000\u03b7\u03b1\u0001\u0000\u0000\u0000\u03b7\u03b2"+ + "\u0001\u0000\u0000\u0000\u03b7\u03b3\u0001\u0000\u0000\u0000\u03b7\u03b4"+ + "\u0001\u0000\u0000\u0000\u03b7\u03b5\u0001\u0000\u0000\u0000\u03b7\u03b6"+ + "\u0001\u0000\u0000\u0000\u03b8\u0081\u0001\u0000\u0000\u0000\u03b9\u03ba"+ + "\u0005\u0001\u0000\u0000\u03ba\u03bc\u0005\u0095\u0000\u0000\u03bb\u03bd"+ + "\u0005\u00a8\u0000\u0000\u03bc\u03bb\u0001\u0000\u0000\u0000\u03bc\u03bd"+ + "\u0001\u0000\u0000\u0000\u03bd\u03c1\u0001\u0000\u0000\u0000\u03be\u03c0"+ + "\u0003\u0080@\u0000\u03bf\u03be\u0001\u0000\u0000\u0000\u03c0\u03c3\u0001"+ + "\u0000\u0000\u0000\u03c1\u03bf\u0001\u0000\u0000\u0000\u03c1\u03c2\u0001"+ + "\u0000\u0000\u0000\u03c2\u03c4\u0001\u0000\u0000\u0000\u03c3\u03c1\u0001"+ + "\u0000\u0000\u0000\u03c4\u03c5\u0005\u0002\u0000\u0000\u03c5\u0083\u0001"+ + "\u0000\u0000\u0000\u03c6\u03e3\u0003\u0082A\u0000\u03c7\u03c8\u0005\u0001"+ + "\u0000\u0000\u03c8\u03ca\u0005\u0095\u0000\u0000\u03c9\u03cb\u0005\u00a8"+ + "\u0000\u0000\u03ca\u03c9\u0001\u0000\u0000\u0000\u03ca\u03cb\u0001\u0000"+ + "\u0000\u0000\u03cb\u03cc\u0001\u0000\u0000\u0000\u03cc\u03d0\u0007\u0003"+ + "\u0000\u0000\u03cd\u03cf\u0005\u0006\u0000\u0000\u03ce\u03cd\u0001\u0000"+ + "\u0000\u0000\u03cf\u03d2\u0001\u0000\u0000\u0000\u03d0\u03ce\u0001\u0000"+ + "\u0000\u0000\u03d0\u03d1\u0001\u0000\u0000\u0000\u03d1\u03d3\u0001\u0000"+ + "\u0000\u0000\u03d2\u03d0\u0001\u0000\u0000\u0000\u03d3\u03e3\u0005\u0002"+ + "\u0000\u0000\u03d4\u03d5\u0005\u0001\u0000\u0000\u03d5\u03d6\u0005\u0095"+ + "\u0000\u0000\u03d6\u03d8\u0005\u0098\u0000\u0000\u03d7\u03d9\u0005\u00a8"+ + "\u0000\u0000\u03d8\u03d7\u0001\u0000\u0000\u0000\u03d8\u03d9\u0001\u0000"+ + "\u0000\u0000\u03d9\u03da\u0001\u0000\u0000\u0000\u03da\u03de\u0005\u0096"+ + "\u0000\u0000\u03db\u03dd\u0005\u0006\u0000\u0000\u03dc\u03db\u0001\u0000"+ + "\u0000\u0000\u03dd\u03e0\u0001\u0000\u0000\u0000\u03de\u03dc\u0001\u0000"+ + "\u0000\u0000\u03de\u03df\u0001\u0000\u0000\u0000\u03df\u03e1\u0001\u0000"+ + "\u0000\u0000\u03e0\u03de\u0001\u0000\u0000\u0000\u03e1\u03e3\u0005\u0002"+ + "\u0000\u0000\u03e2\u03c6\u0001\u0000\u0000\u0000\u03e2\u03c7\u0001\u0000"+ + "\u0000\u0000\u03e2\u03d4\u0001\u0000\u0000\u0000\u03e3\u0085\u0001\u0000"+ + "\u0000\u0000\u03e4\u03e5\u0005\u0001\u0000\u0000\u03e5\u03e7\u0005\u009c"+ + "\u0000\u0000\u03e6\u03e8\u0005\u00a8\u0000\u0000\u03e7\u03e6\u0001\u0000"+ + "\u0000\u0000\u03e7\u03e8\u0001\u0000\u0000\u0000\u03e8\u03e9\u0001\u0000"+ + "\u0000\u0000\u03e9\u03ea\u0003\u0002\u0001\u0000\u03ea\u03eb\u0003\u0092"+ + "I\u0000\u03eb\u03ec\u0005\u0002\u0000\u0000\u03ec\u03f6\u0001\u0000\u0000"+ + "\u0000\u03ed\u03ee\u0005\u0001\u0000\u0000\u03ee\u03f0\u0005\u009d\u0000"+ + "\u0000\u03ef\u03f1\u0005\u00a8\u0000\u0000\u03f0\u03ef\u0001\u0000\u0000"+ + "\u0000\u03f0\u03f1\u0001\u0000\u0000\u0000\u03f1\u03f2\u0001\u0000\u0000"+ + "\u0000\u03f2\u03f3\u0003\u0002\u0001\u0000\u03f3\u03f4\u0005\u0002\u0000"+ + "\u0000\u03f4\u03f6\u0001\u0000\u0000\u0000\u03f5\u03e4\u0001\u0000\u0000"+ + "\u0000\u03f5\u03ed\u0001\u0000\u0000\u0000\u03f6\u0087\u0001\u0000\u0000"+ + "\u0000\u03f7\u03f8\u0005\u0001\u0000\u0000\u03f8\u03f9\u0005\u009e\u0000"+ + "\u0000\u03f9\u03fa\u0003\u0084B\u0000\u03fa\u03fb\u0005\u0006\u0000\u0000"+ + "\u03fb\u03fc\u0005\u0002\u0000\u0000\u03fc\u042c\u0001\u0000\u0000\u0000"+ + "\u03fd\u03fe\u0005\u0001\u0000\u0000\u03fe\u03ff\u0005\u009f\u0000\u0000"+ + "\u03ff\u0400\u0003\u0084B\u0000\u0400\u0401\u0005\u0006\u0000\u0000\u0401"+ + "\u0402\u0005\u0002\u0000\u0000\u0402\u042c\u0001\u0000\u0000\u0000\u0403"+ + "\u0404\u0005\u0001\u0000\u0000\u0404\u0405\u0005\u00a0\u0000\u0000\u0405"+ + "\u0406\u0003\u0084B\u0000\u0406\u0407\u0005\u0006\u0000\u0000\u0407\u0408"+ + "\u0005\u0002\u0000\u0000\u0408\u042c\u0001\u0000\u0000\u0000\u0409\u040a"+ + "\u0005\u0001\u0000\u0000\u040a\u040b\u0005\u00a4\u0000\u0000\u040b\u040c"+ + "\u0003\u0084B\u0000\u040c\u040d\u0005\u0006\u0000\u0000\u040d\u040e\u0005"+ + "\u0002\u0000\u0000\u040e\u042c\u0001\u0000\u0000\u0000\u040f\u0410\u0005"+ + "\u0001\u0000\u0000\u0410\u0411\u0005\u00a1\u0000\u0000\u0411\u0412\u0003"+ + "\u0086C\u0000\u0412\u0413\u0003\u0092I\u0000\u0413\u0414\u0005\u0002\u0000"+ + "\u0000\u0414\u042c\u0001\u0000\u0000\u0000\u0415\u0416\u0005\u0001\u0000"+ + "\u0000\u0416\u0417\u0005\u00a2\u0000\u0000\u0417\u0418\u0003\u0086C\u0000"+ + "\u0418\u0419\u0005\u0002\u0000\u0000\u0419\u042c\u0001\u0000\u0000\u0000"+ + "\u041a\u041b\u0005\u0001\u0000\u0000\u041b\u041c\u0005\u00a3\u0000\u0000"+ + "\u041c\u041d\u0003\u0086C\u0000\u041d\u041e\u0005\u0002\u0000\u0000\u041e"+ + "\u042c\u0001\u0000\u0000\u0000\u041f\u0420\u0005\u0001\u0000\u0000\u0420"+ + "\u0421\u0005\u00a4\u0000\u0000\u0421\u0422\u0003\u0086C\u0000\u0422\u0423"+ + "\u0005\u0006\u0000\u0000\u0423\u0424\u0005\u0002\u0000\u0000\u0424\u042c"+ + "\u0001\u0000\u0000\u0000\u0425\u0426\u0005\u0001\u0000\u0000\u0426\u0427"+ + "\u0005\u00a5\u0000\u0000\u0427\u0428\u0003\u0086C\u0000\u0428\u0429\u0005"+ + "\u0006\u0000\u0000\u0429\u042a\u0005\u0002\u0000\u0000\u042a\u042c\u0001"+ + "\u0000\u0000\u0000\u042b\u03f7\u0001\u0000\u0000\u0000\u042b\u03fd\u0001"+ + "\u0000\u0000\u0000\u042b\u0403\u0001\u0000\u0000\u0000\u042b\u0409\u0001"+ + "\u0000\u0000\u0000\u042b\u040f\u0001\u0000\u0000\u0000\u042b\u0415\u0001"+ + "\u0000\u0000\u0000\u042b\u041a\u0001\u0000\u0000\u0000\u042b\u041f\u0001"+ + "\u0000\u0000\u0000\u042b\u0425\u0001\u0000\u0000\u0000\u042c\u0089\u0001"+ + "\u0000\u0000\u0000\u042d\u043b\u0003\u0086C\u0000\u042e\u043b\u0003\u0088"+ + "D\u0000\u042f\u043b\u0003\u0084B\u0000\u0430\u0431\u0005\u0001\u0000\u0000"+ + "\u0431\u0432\u0005\u009b\u0000\u0000\u0432\u0434\u0003\u0002\u0001\u0000"+ + "\u0433\u0435\u0005\u00a8\u0000\u0000\u0434\u0433\u0001\u0000\u0000\u0000"+ + "\u0434\u0435\u0001\u0000\u0000\u0000\u0435\u0436\u0001\u0000\u0000\u0000"+ + "\u0436\u0437\u0005\u0002\u0000\u0000\u0437\u043b\u0001\u0000\u0000\u0000"+ + "\u0438\u043b\u0003\u008eG\u0000\u0439\u043b\u0003\u008cF\u0000\u043a\u042d"+ + "\u0001\u0000\u0000\u0000\u043a\u042e\u0001\u0000\u0000\u0000\u043a\u042f"+ + "\u0001\u0000\u0000\u0000\u043a\u0430\u0001\u0000\u0000\u0000\u043a\u0438"+ + "\u0001\u0000\u0000\u0000\u043a\u0439\u0001\u0000\u0000\u0000\u043b\u008b"+ + "\u0001\u0000\u0000\u0000\u043c\u043d\u0005\u0001\u0000\u0000\u043d\u043e"+ + "\u0005\u0095\u0000\u0000\u043e\u0440\u0005\u0099\u0000\u0000\u043f\u0441"+ + "\u0005\u00a8\u0000\u0000\u0440\u043f\u0001\u0000\u0000\u0000\u0440\u0441"+ + "\u0001\u0000\u0000\u0000\u0441\u0443\u0001\u0000\u0000\u0000\u0442\u0444"+ + "\u0005\u00a8\u0000\u0000\u0443\u0442\u0001\u0000\u0000\u0000\u0443\u0444"+ + "\u0001\u0000\u0000\u0000\u0444\u0445\u0001\u0000\u0000\u0000\u0445\u0446"+ + "\u0005\u0002\u0000\u0000\u0446\u008d\u0001\u0000\u0000\u0000\u0447\u0448"+ + "\u0005\u0001\u0000\u0000\u0448\u044a\u0005\u009a\u0000\u0000\u0449\u044b"+ + "\u0005\u00a8\u0000\u0000\u044a\u0449\u0001\u0000\u0000\u0000\u044a\u044b"+ + "\u0001\u0000\u0000\u0000\u044b\u044f\u0001\u0000\u0000\u0000\u044c\u044e"+ + "\u0003\u008aE\u0000\u044d\u044c\u0001\u0000\u0000\u0000\u044e\u0451\u0001"+ + "\u0000\u0000\u0000\u044f\u044d\u0001\u0000\u0000\u0000\u044f\u0450\u0001"+ + "\u0000\u0000\u0000\u0450\u0452\u0001\u0000\u0000\u0000\u0451\u044f\u0001"+ + "\u0000\u0000\u0000\u0452\u0468\u0005\u0002\u0000\u0000\u0453\u0454\u0005"+ + "\u0001\u0000\u0000\u0454\u0456\u0005\u00a6\u0000\u0000\u0455\u0457\u0005"+ + "\u00a8\u0000\u0000\u0456\u0455\u0001\u0000\u0000\u0000\u0456\u0457\u0001"+ + "\u0000\u0000\u0000\u0457\u0458\u0001\u0000\u0000\u0000\u0458\u0459\u0005"+ + "\u0006\u0000\u0000\u0459\u0468\u0005\u0002\u0000\u0000\u045a\u045b\u0005"+ + "\u0001\u0000\u0000\u045b\u045d\u0005\u00a7\u0000\u0000\u045c\u045e\u0005"+ + "\u00a8\u0000\u0000\u045d\u045c\u0001\u0000\u0000\u0000\u045d\u045e\u0001"+ + "\u0000\u0000\u0000\u045e\u045f\u0001\u0000\u0000\u0000\u045f\u0460\u0005"+ + "\u0006\u0000\u0000\u0460\u0468\u0005\u0002\u0000\u0000\u0461\u0462\u0005"+ + "\u0001\u0000\u0000\u0462\u0464\u0005\u00a7\u0000\u0000\u0463\u0465\u0005"+ + "\u00a8\u0000\u0000\u0464\u0463\u0001\u0000\u0000\u0000\u0464\u0465\u0001"+ + "\u0000\u0000\u0000\u0465\u0466\u0001\u0000\u0000\u0000\u0466\u0468\u0005"+ + "\u0002\u0000\u0000\u0467\u0447\u0001\u0000\u0000\u0000\u0467\u0453\u0001"+ + "\u0000\u0000\u0000\u0467\u045a\u0001\u0000\u0000\u0000\u0467\u0461\u0001"+ + "\u0000\u0000\u0000\u0468\u008f\u0001\u0000\u0000\u0000\u0469\u046a\u0005"+ + "\u0001\u0000\u0000\u046a\u046b\u0005\b\u0000\u0000\u046b\u046c\u0003\u001e"+ + "\u000f\u0000\u046c\u046d\u0005\u0002\u0000\u0000\u046d\u0091\u0001\u0000"+ + "\u0000\u0000\u046e\u0470\u0003\u0090H\u0000\u046f\u046e\u0001\u0000\u0000"+ + "\u0000\u0470\u0473\u0001\u0000\u0000\u0000\u0471\u046f\u0001\u0000\u0000"+ + "\u0000\u0471\u0472\u0001\u0000\u0000\u0000\u0472\u0093\u0001\u0000\u0000"+ + "\u0000\u0473\u0471\u0001\u0000\u0000\u0000\u0474\u0476\u0003\u008aE\u0000"+ + "\u0475\u0474\u0001\u0000\u0000\u0000\u0476\u0479\u0001\u0000\u0000\u0000"+ + "\u0477\u0475\u0001\u0000\u0000\u0000\u0477\u0478\u0001\u0000\u0000\u0000"+ + "\u0478\u047a\u0001\u0000\u0000\u0000\u0479\u0477\u0001\u0000\u0000\u0000"+ + "\u047a\u0483\u0005\u0000\u0000\u0001\u047b\u047d\u0003\u0080@\u0000\u047c"+ + "\u047b\u0001\u0000\u0000\u0000\u047d\u047e\u0001\u0000\u0000\u0000\u047e"+ + "\u047c\u0001\u0000\u0000\u0000\u047e\u047f\u0001\u0000\u0000\u0000\u047f"+ + "\u0480\u0001\u0000\u0000\u0000\u0480\u0481\u0005\u0000\u0000\u0001\u0481"+ + "\u0483\u0001\u0000\u0000\u0000\u0482\u0477\u0001\u0000\u0000\u0000\u0482"+ + "\u047c\u0001\u0000\u0000\u0000\u0483\u0095\u0001\u0000\u0000\u0000\u0484"+ + "\u0485\u0003\u0082A\u0000\u0485\u0486\u0005\u0000\u0000\u0001\u0486\u048f"+ + "\u0001\u0000\u0000\u0000\u0487\u0489\u0003\u0080@\u0000\u0488\u0487\u0001"+ + "\u0000\u0000\u0000\u0489\u048c\u0001\u0000\u0000\u0000\u048a\u0488\u0001"+ + "\u0000\u0000\u0000\u048a\u048b\u0001\u0000\u0000\u0000\u048b\u048d\u0001"+ + "\u0000\u0000\u0000\u048c\u048a\u0001\u0000\u0000\u0000\u048d\u048f\u0005"+ + "\u0000\u0000\u0001\u048e\u0484\u0001\u0000\u0000\u0000\u048e\u048a\u0001"+ + "\u0000\u0000\u0000\u048f\u0097\u0001\u0000\u0000\u0000|\u00ab\u00b2\u00b7"+ + "\u00bf\u00cb\u00d2\u00d8\u00dd\u00e5\u00eb\u00f3\u00f9\u010b\u0123\u0136"+ + "\u0139\u013d\u0140\u0165\u016c\u0180\u0185\u018c\u0191\u0194\u019b\u01a1"+ + "\u01a9\u01af\u01b7\u01bd\u01c7\u01cd\u01d4\u01d9\u01dd\u01e2\u01e6\u01eb"+ + "\u01ee\u01f2\u01fa\u0201\u0207\u0214\u021d\u0222\u0227\u022d\u0238\u023a"+ + "\u023d\u0246\u024c\u0256\u025c\u0262\u0268\u026c\u0273\u0279\u027e\u0285"+ + "\u028f\u0295\u029a\u02a5\u02aa\u02b2\u02ba\u02c0\u02c8\u02cf\u02d3\u02d8"+ + "\u02ea\u02ef\u02f4\u02fc\u0304\u030a\u030f\u0314\u0325\u0329\u032e\u033c"+ + "\u0341\u0349\u0351\u0359\u0361\u0366\u0389\u0399\u03a2\u03b7\u03bc\u03c1"+ + "\u03ca\u03d0\u03d8\u03de\u03e2\u03e7\u03f0\u03f5\u042b\u0434\u043a\u0440"+ + "\u0443\u044a\u044f\u0456\u045d\u0464\u0467\u0471\u0477\u047e\u0482\u048a"+ + "\u048e"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/wasm/WatParserBaseListener.java b/src/main/java/wasm/WatParserBaseListener.java index 187985c..fa6e6e7 100644 --- a/src/main/java/wasm/WatParserBaseListener.java +++ b/src/main/java/wasm/WatParserBaseListener.java @@ -240,6 +240,18 @@ public class WatParserBaseListener implements WatParserListener { *

The default implementation does nothing.

*/ @Override public void exitInstr(WatParser.InstrContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterForLoop(WatParser.ForLoopContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitForLoop(WatParser.ForLoopContext ctx) { } /** * {@inheritDoc} * diff --git a/src/main/java/wasm/WatParserBaseVisitor.java b/src/main/java/wasm/WatParserBaseVisitor.java index 3a4266d..d3a125d 100644 --- a/src/main/java/wasm/WatParserBaseVisitor.java +++ b/src/main/java/wasm/WatParserBaseVisitor.java @@ -145,6 +145,13 @@ public class WatParserBaseVisitor extends AbstractParseTreeVisitor impleme * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitInstr(WatParser.InstrContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitForLoop(WatParser.ForLoopContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/src/main/java/wasm/WatParserListener.java b/src/main/java/wasm/WatParserListener.java index c59545f..7866a87 100644 --- a/src/main/java/wasm/WatParserListener.java +++ b/src/main/java/wasm/WatParserListener.java @@ -197,6 +197,16 @@ public interface WatParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitInstr(WatParser.InstrContext ctx); + /** + * Enter a parse tree produced by {@link WatParser#forLoop}. + * @param ctx the parse tree + */ + void enterForLoop(WatParser.ForLoopContext ctx); + /** + * Exit a parse tree produced by {@link WatParser#forLoop}. + * @param ctx the parse tree + */ + void exitForLoop(WatParser.ForLoopContext ctx); /** * Enter a parse tree produced by {@link WatParser#plainInstr}. * @param ctx the parse tree diff --git a/src/main/java/wasm/WatParserVisitor.java b/src/main/java/wasm/WatParserVisitor.java index a593c24..751741d 100644 --- a/src/main/java/wasm/WatParserVisitor.java +++ b/src/main/java/wasm/WatParserVisitor.java @@ -124,6 +124,12 @@ public interface WatParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitInstr(WatParser.InstrContext ctx); + /** + * Visit a parse tree produced by {@link WatParser#forLoop}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitForLoop(WatParser.ForLoopContext ctx); /** * Visit a parse tree produced by {@link WatParser#plainInstr}. * @param ctx the parse tree diff --git a/src/main/scala/AST.scala b/src/main/scala/AST.scala index 1e39881..128803f 100644 --- a/src/main/scala/AST.scala +++ b/src/main/scala/AST.scala @@ -61,9 +61,14 @@ case object Drop extends Instr case object Alloc extends Instr case object Free extends Instr case class Select(ty: Option[List[ValueType]]) extends Instr -case class Block(ty: BlockType, instrs: List[Instr]) extends Instr +case class Block(ty: BlockType, instrs: List[Instr]) extends Instr { + override def toString: String = s"Block(...)" +} case class IdBlock(id: Int, ty: BlockType, instrs: List[Instr]) extends Instr -case class Loop(ty: BlockType, instrs: List[Instr]) extends Instr +case class Loop(ty: BlockType, instrs: List[Instr]) extends Instr { + override def toString: String = s"Loop(...)" +} +case class ForLoop(init:List[Instr], cond: List[Instr], post: List[Instr], body: List[Instr]) extends Instr case class IdLoop(id: Int, ty: BlockType, instrs: List[Instr]) extends Instr case class If(ty: BlockType, thenInstrs: List[Instr], elseInstrs: List[Instr]) extends Instr case class IdIf(ty: BlockType, thenInstrs: IdBlock, elseInstrs: IdBlock) extends Instr @@ -281,10 +286,11 @@ case class CmdModule(module: Module) extends Cmd // TODO: extend if needed case class CMdInstnace() extends Cmd -abstract class Action extends WIR +abstract class Action extends Cmd case class Invoke(instName: Option[String], name: String, args: List[Value]) extends Action abstract class Assertion extends Cmd +case class AssertInvalid() extends Assertion case class AssertReturn(action: Action, expect: List[Num] /* TODO: support multiple expect result type*/) extends Assertion case class AssertTrap(action: Action, message: String) extends Assertion @@ -324,10 +330,7 @@ case class RefFuncV(funcAddr: Int) extends Ref { case FuncDef(_, FuncBodyDef(ty, _, _, _)) => RefType(ty) } } -// RefContV refers to a delimited continuation -// case class RefContV(cont: List[Value] => List[Value]) extends Ref { -// def tipe(implicit m: ModuleInstance): ValueType = ??? -// } + case class RefExternV(externAddr: Int) extends Ref { def tipe(implicit m: ModuleInstance): ValueType = ??? } diff --git a/src/main/scala/MiniWasmFX.scala b/src/main/scala/MiniWasmFX.scala new file mode 100644 index 0000000..a5387c4 --- /dev/null +++ b/src/main/scala/MiniWasmFX.scala @@ -0,0 +1,337 @@ +package wasm.miniwasm + +import wasm.ast._ +import wasm.memory._ + +import scala.collection.mutable.ArrayBuffer +import scala.collection.mutable.HashMap +import Console.{GREEN, RED, RESET, YELLOW_B, UNDERLINED} + +case class EvaluatorFX(module: ModuleInstance) { + import Primtives._ + implicit val m: ModuleInstance = module + + type Stack = List[Value] + + trait Cont[A] { + def apply(stack: Stack, trail: Trail[A], handler: Handlers[A]): A + } + type Trail[A] = List[(Cont[A], List[Int])] // trail items are pairs of continuation and tags + type MCont[A] = Stack => A + + type Handler[A] = Stack => A + type Handlers[A] = List[(Int, Handler[A])] + + case class ContV[A](k: (Stack, Cont[A], Trail[A], Handlers[A]) => A) extends Value { + def tipe(implicit m: ModuleInstance): ValueType = ??? + + // override def toString: String = "ContV" + } + + // initK is a continuation that simply returns the inputed stack + def initK[Ans](s: Stack, trail: Trail[Ans], hs: Handlers[Ans]): Ans = + trail match { + // Currently, the last element of the Trail is the halt continuation + // the exception will never be thrown + case (k1, _) :: trail => k1(s, trail, hs) + case Nil => throw new Exception("No halting continuation in trail") + } + + def eval1[Ans](inst: Instr, stack: Stack, frame: Frame, kont: Cont[Ans], + trail: Trail[Ans], brTable: List[Cont[Ans]], hs: Handlers[Ans]): Ans = { + // System.err.println(f"[DEBUG] ${inst} | ${frame} | ${stack.reverse} | handlers: ${hs}"); + inst match { + case Drop => kont(stack.tail, trail, hs) + case Select(_) => + val I32V(cond) :: v2 :: v1 :: newStack = stack + val value = if (cond == 0) v1 else v2 + kont(value :: newStack, trail, hs) + case LocalGet(i) => + kont(frame.locals(i) :: stack, trail, hs) + case LocalSet(i) => + val value :: newStack = stack + frame.locals(i) = value + kont(newStack, trail, hs) + case LocalTee(i) => + val value :: newStack = stack + frame.locals(i) = value + kont(stack, trail, hs) + case GlobalGet(i) => + kont(module.globals(i).value :: stack, trail, hs) + case GlobalSet(i) => + val value :: newStack = stack + module.globals(i).ty match { + case GlobalType(tipe, true) if value.tipe == tipe => + module.globals(i).value = value + case GlobalType(_, true) => throw new Exception("Invalid type") + case _ => throw new Exception("Cannot set immutable global") + } + kont(newStack, trail, hs) + case MemorySize => + kont(I32V(module.memory.head.size) :: stack, trail, hs) + case MemoryGrow => + val I32V(delta) :: newStack = stack + val mem = module.memory.head + val oldSize = mem.size + mem.grow(delta) match { + case Some(e) => kont(I32V(-1) :: newStack, trail, hs) + case _ => kont(I32V(oldSize) :: newStack, trail, hs) + } + case MemoryFill => + val I32V(value) :: I32V(offset) :: I32V(size) :: newStack = stack + if (memOutOfBound(module, 0, offset, size)) + throw new Exception("Out of bounds memory access") // GW: turn this into a `trap`? + else { + module.memory.head.fill(offset, size, value.toByte) + kont(newStack, trail, hs) + } + case MemoryCopy => + val I32V(n) :: I32V(src) :: I32V(dest) :: newStack = stack + if (memOutOfBound(module, 0, src, n) || memOutOfBound(module, 0, dest, n)) + throw new Exception("Out of bounds memory access") + else { + module.memory.head.copy(dest, src, n) + kont(newStack, trail, hs) + } + case Const(n) => kont(n :: stack, trail, hs) + case Binary(op) => + val v2 :: v1 :: newStack = stack + kont(evalBinOp(op, v1, v2) :: newStack, trail, hs) + case Unary(op) => + val v :: newStack = stack + kont(evalUnaryOp(op, v) :: newStack, trail, hs) + case Compare(op) => + val v2 :: v1 :: newStack = stack + kont(evalRelOp(op, v1, v2) :: newStack, trail, hs) + case Test(op) => + val v :: newStack = stack + kont(evalTestOp(op, v) :: newStack, trail, hs) + case Store(StoreOp(align, offset, ty, None)) => + val I32V(v) :: I32V(addr) :: newStack = stack + module.memory(0).storeInt(addr + offset, v) + kont(newStack, trail, hs) + case Load(LoadOp(align, offset, ty, None, None)) => + val I32V(addr) :: newStack = stack + val value = module.memory(0).loadInt(addr + offset) + kont(I32V(value) :: newStack, trail, hs) + case Nop => kont(stack, trail, hs) + case Unreachable => throw Trap() + case Block(ty, inner) => + val funcTy = getFuncType(ty) + val (inputs, restStack) = stack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, t1, h1) => kont(s1.take(funcTy.out.size) ++ restStack, t1, h1) + evalList(inner, inputs, frame, escape, trail, escape::brTable, hs) + case Loop(ty, inner) => + val funcTy = getFuncType(ty) + val (inputs, restStack) = stack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, t1, h1) => kont(s1.take(funcTy.out.size) ++ restStack, t1, h1) + def loop(retStack: List[Value], trail1: Trail[Ans], h1: Handlers[Ans]): Ans = + evalList(inner, retStack.take(funcTy.inps.size), frame, escape, trail, (loop _ : Cont[Ans])::brTable, h1) + loop(inputs, trail, hs) + case If(ty, thn, els) => + val funcTy = getFuncType(ty) + val I32V(cond) :: newStack = stack + val inner = if (cond != 0) thn else els + val (inputs, restStack) = newStack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, t1, h1) => kont(s1.take(funcTy.out.size) ++ restStack, t1, h1) + evalList(inner, inputs, frame, escape, trail, escape::brTable, hs) + case Br(label) => + brTable(label)(stack, trail, hs) + case BrIf(label) => + val I32V(cond) :: newStack = stack + if (cond != 0) brTable(label)(newStack, trail, hs) + else kont(newStack, trail, hs) + case BrTable(labels, default) => + val I32V(cond) :: newStack = stack + val goto = if (cond < labels.length) labels(cond) else default + brTable(goto)(newStack, trail, hs) + case Return => + brTable.last(stack, trail, hs) + case Call(f) => evalCall1(f, stack, frame, kont, trail, brTable, hs, false) + case ReturnCall(f) => + // System.err.println(s"[DEBUG] return call: $f") + evalCall1(f, stack, frame, kont, trail, brTable, hs, true) + case RefFunc(f) => + // TODO: RefFuncV stores an applicable function, instead of a syntactic structure + kont(RefFuncV(f) :: stack, trail, hs) + // WasmFX effect handlers: + case ContNew(ty) => + val RefFuncV(f) :: newStack = stack + def kr(s: Stack, k1: Cont[Ans], t1: Trail[Ans], hs: Handlers[Ans]): Ans = { + evalCall1(f, s, frame/*?*/, k1, t1, List(), hs, false) + } + kont(ContV(kr) :: newStack, trail, hs) + case Suspend(tagId) => + val FuncType(_, inps, out) = module.tags(tagId) + val (inputs, restStack) = stack.splitAt(inps.size) + // System.err.println(s"[DEBUG] handlers: $hs") + // System.err.println(s"[DEBUG] trail: $trail") + val kr = (s: Stack, _: Cont[Ans], t1: Trail[Ans], hs1: Handlers[Ans]) => { + // construct a new trail by ignoring the default handler + val index = trail.indexWhere { case (_, tags) => tags.contains(tagId) } + val newTrail = if (index >= 0) trail.take(index) else trail + // Q: `hs` are ignored here, don't we need prepend some thing from `hs` to `hs1`? + // A: No, according to fig.3 in the paper, solely using the new handlers is just engough. + // Q: Should we clear tags in the `newTrail`? Is that possible suspend target tag in hs1 but also in newTrail? + // A: Yes, we should maintain the consistency between `hs1` and `newTrail + t1`. + // mkont lost here, and it's safe if we never modify it + kont(s ++ restStack, newTrail.map({ case (c, _) => (c, List()) }) ++ t1, hs1) + } + val newStack = ContV(kr) :: inputs + hs.find(_._1 == tagId) match { + case Some((_, handler)) => + // we don't need to pass trail here, because handler's trail was determined when resuming + handler(newStack) + case None => throw new Exception(s"no handler for tag $tagId") + } + case Resume(tyId, handler) => + val (f: ContV[Ans]) :: newStack = stack + val ContType(funcTypeId) = module.types(tyId) + val FuncType(_, inps, out) = module.types(funcTypeId) + val (inputs, restStack) = newStack.splitAt(inps.size) + val newHs: List[(Int, Handler[Ans])] = handler.map { + case Handler(tagId, labelId) => + val hh: Handler[Ans] = s1 => brTable(labelId)(s1, trail, hs) + (tagId, hh) + } + val tags = handler.map(_.tag) + // rather than push `kont` to meta-continuation, maybe we can push it to `trail`? + f.k(inputs, initK, List((kont,tags)) ++ trail, newHs ++ hs) + + case ContBind(oldContTyId, newConTyId) => + val (f: ContV[Ans]) :: newStack = stack + // use oldParamTy - newParamTy to get how many values to pop from the stack + val ContType(oldId) = module.types(oldContTyId) + val FuncType(_, oldParamTy, _) = module.types(oldId) + val ContType(newId) = module.types(newConTyId) + val FuncType(_, newParamTy, _) = module.types(newId) + // get oldParamTy - newParamTy (there's no type checking at all) + val inputSize = oldParamTy.size - newParamTy.size + val (inputs, restStack) = newStack.splitAt(inputSize) + // partially apply the old continuation + def kr(s: Stack, k1: Cont[Ans], t1: Trail[Ans], handlers: Handlers[Ans]): Ans = { + f.k(s ++ inputs, k1, t1, handlers) + } + kont(ContV(kr) :: restStack, trail, hs) + + case CallRef(ty) => + val RefFuncV(f) :: newStack = stack + evalCall1(f, newStack, frame, kont, trail, brTable, hs, false) + + case _ => + println(inst) + throw new Exception(s"instruction $inst not implemented") + } + } + + def evalList[Ans](insts: List[Instr], stack: Stack, frame: Frame, kont: Cont[Ans], + trail1: Trail[Ans], brTable: List[Cont[Ans]], hs: Handlers[Ans]): Ans = { + insts match { + case Nil => kont(stack, trail1, hs) + case inst :: rest => + val newKont: Cont[Ans] = (s1, t1, h1) => evalList(rest, s1, frame, kont, t1, brTable, h1) + eval1(inst, stack, frame, newKont, trail1, brTable, hs) + } + } + + def evalCall1[Ans](funcIndex: Int, + stack: List[Value], + frame: Frame, + kont: Cont[Ans], + trail: Trail[Ans], + brTable: List[Cont[Ans]], // can be removed + h: Handlers[Ans], + isTail: Boolean): Ans = + module.funcs(funcIndex) match { + case FuncDef(_, FuncBodyDef(ty, _, locals, body)) => + val args = stack.take(ty.inps.size).reverse + val newStack = stack.drop(ty.inps.size) + val frameLocals = args ++ locals.map(zero(_)) + val newFrame = Frame(ArrayBuffer(frameLocals: _*)) + if (isTail) { + // when tail call, share the continuation for returning with the callee + evalList(body, List(), newFrame, brTable.last, trail, List(brTable.last), h) + } + else { + val restK: Cont[Ans] = (s1, t1, h1) => kont(s1.take(ty.out.size) ++ newStack, t1, h1) + // We make a new brTable by `restK`, since function creates a new block to escape + // (more or less like `return`) + evalList(body, List(), newFrame, restK, trail, List(restK), h) + } + case Import("console", "log", _) => + // println(s"[DEBUG] current stack: $stack") + val I32V(v) :: newStack = stack + println(v) + kont(newStack, trail, h) + case Import("spectest", "print_i32", _) => + // println(s"[DEBUG] current stack: $stack") + val I32V(v) :: newStack = stack + println(v) + kont(newStack, trail, h) + case Import(_, _, _) => throw new Exception(s"Unknown import at $funcIndex") + case _ => throw new Exception(s"Definition at $funcIndex is not callable") + } + + // If `main` is given, then we use that function as the entry point of the program; + // otherwise, we look up the top-level `start` instruction to locate the entry point. + def evalTop[Ans](halt: Cont[Ans], main: Option[String] = None): Ans = { + val instrs = main match { + case Some(func_name) => + module.defs.flatMap({ + case Export(`func_name`, ExportFunc(fid)) => + System.err.println(s"Entering function $main") + module.funcs(fid) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => body + case _ => throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + case None => + module.defs.flatMap({ + case Start(id) => + System.err.println(s"Entering unnamed function $id") + module.funcs(id) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => body + case _ => + throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + } + val locals = main match { + case Some(func_name) => + module.defs.flatMap({ + case Export(`func_name`, ExportFunc(fid)) => + System.err.println(s"Entering function $main") + module.funcs(fid) match { + case FuncDef(_, FuncBodyDef(_, _, locals, _)) => locals + case _ => throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + case None => + module.defs.flatMap({ + case Start(id) => + System.err.println(s"Entering unnamed function $id") + module.funcs(id) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => locals + case _ => + throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + } + if (instrs.isEmpty) println("Warning: nothing is executed") + // initialized locals + val frame = Frame(ArrayBuffer(locals.map(zero(_)): _*)) + evalList(instrs, List(), frame, initK[Ans], List((halt, List())), List(initK: Cont[Ans]), List()) + } + + def evalTop(m: ModuleInstance): Unit = + evalTop(((stack, trail, _hs) => { + if (!trail.isEmpty) { + throw new Exception("Composing something after halt continuation") + } + }): Cont[Unit]) +} + diff --git a/src/main/scala/MiniWasmScript.scala b/src/main/scala/MiniWasmScript.scala new file mode 100644 index 0000000..cb72cab --- /dev/null +++ b/src/main/scala/MiniWasmScript.scala @@ -0,0 +1,66 @@ +package wasm.miniwasmscript + +import wasm.miniwasm._ +import wasm.ast._ +import scala.collection.mutable.{ListBuffer, Map, ArrayBuffer} + +sealed class ScriptRunner { + val instances: ListBuffer[ModuleInstance] = ListBuffer() + val instanceMap: Map[String, ModuleInstance] = Map() + + def getInstance(instName: Option[String]): ModuleInstance = { + instName match { + case Some(name) => instanceMap(name) + case None => instances.head + } + } + + def assertReturn(action: Action, expect: List[Value]): Unit = { + action match { + case Invoke(instName, name, args) => + val actual = invoke(instName, name, args) + println(s"expect = $expect") + println(s"actual = $actual") + assert(actual == expect) + } + } + + def invoke(instName: Option[String], name: String, args: List[Value]): Seq[Value] = { + val module = getInstance(instName) + val func = module.exports + .collectFirst({ + case Export(`name`, ExportFunc(index)) => + System.err.println(s"Export: $name") + module.funcs(index) + }) + .get + val instrs = func match { + case FuncDef(_, FuncBodyDef(ty, _, locals, body)) => body + } + val evaluator = EvaluatorFX(module) + type Cont = evaluator.Cont[evaluator.Stack] + type MCont = evaluator.MCont[evaluator.Stack] + type Handler = evaluator.Handler[evaluator.Stack] + val k: Cont = evaluator.initK + val halt: Cont = (retStack, _, _) => retStack + // Note: change this back to Evaluator if we are just testing original stuff + evaluator.evalList(instrs, List(), Frame(ArrayBuffer(args: _*)), k, List((halt, List())), List(k), List()) + } + + def runCmd(cmd: Cmd): Unit = { + cmd match { + case CmdModule(module) => instances += ModuleInstance(module) + case AssertReturn(action, expect) => assertReturn(action, expect) + case AssertInvalid() => () + case CMdInstnace() => () + case Invoke(instName, name, args) => invoke(instName, name, args) + case AssertTrap(action, message) => ??? + } + } + + def run(script: Script): Unit = { + for (cmd <- script.cmds) { + runCmd(cmd) + } + } +} diff --git a/src/main/scala/MiniWasmTFP.scala b/src/main/scala/MiniWasmTFP.scala new file mode 100644 index 0000000..8d4152b --- /dev/null +++ b/src/main/scala/MiniWasmTFP.scala @@ -0,0 +1,303 @@ +package wasm.miniwasm + +import wasm.ast._ +import wasm.memory._ + +import scala.collection.mutable.ArrayBuffer +import scala.collection.mutable.HashMap +import Console.{GREEN, RED, RESET, YELLOW_B, UNDERLINED} + +case class EvaluatorTFP(module: ModuleInstance) { + import Primtives._ + implicit val m: ModuleInstance = module + + type Stack = List[Value] + + type Cont[A] = (Stack, MCont[A]) => A + type MCont[A] = Stack => A + + // ZDH TODO: Maybe we can delete the `Cont[A]` type because only `initK` is passed in + // (the kont for catch block is in the metacontinuation) + type Handler[A] = (Stack, Cont[A], MCont[A]) => A + + case class ContV[A](k: (Stack, MCont[A], Handler[A]) => A) extends Value { + def tipe(implicit m: ModuleInstance): ValueType = ??? + } + + // initK is a continuation that simply returns the inputed stack + def initK[Ans] (s: Stack, m: MCont[Ans]): Ans = m(s) + + def eval1[Ans](inst: Instr, stack: Stack, frame: Frame, + kont: Cont[Ans], mkont: MCont[Ans], + brTable: List[Cont[Ans]], hs: Handler[Ans]): Ans = + inst match { + case Drop => kont(stack.tail, mkont) + case Select(_) => + val I32V(cond) :: v2 :: v1 :: newStack = stack + val value = if (cond == 0) v1 else v2 + kont(value :: newStack, mkont) + case LocalGet(i) => + kont(frame.locals(i) :: stack, mkont) + case LocalSet(i) => + val value :: newStack = stack + frame.locals(i) = value + kont(newStack, mkont) + case LocalTee(i) => + val value :: newStack = stack + frame.locals(i) = value + kont(stack, mkont) + case GlobalGet(i) => + kont(module.globals(i).value :: stack, mkont) + case GlobalSet(i) => + val value :: newStack = stack + module.globals(i).ty match { + case GlobalType(tipe, true) if value.tipe == tipe => + module.globals(i).value = value + case GlobalType(_, true) => throw new Exception("Invalid type") + case _ => throw new Exception("Cannot set immutable global") + } + kont(newStack, mkont) + case MemorySize => + kont(I32V(module.memory.head.size) :: stack, mkont) + case MemoryGrow => + val I32V(delta) :: newStack = stack + val mem = module.memory.head + val oldSize = mem.size + mem.grow(delta) match { + case Some(e) => kont(I32V(-1) :: newStack, mkont) + case _ => kont(I32V(oldSize) :: newStack, mkont) + } + case MemoryFill => + val I32V(value) :: I32V(offset) :: I32V(size) :: newStack = stack + if (memOutOfBound(module, 0, offset, size)) + throw new Exception("Out of bounds memory access") // GW: turn this into a `trap`? + else { + module.memory.head.fill(offset, size, value.toByte) + kont(newStack, mkont) + } + case MemoryCopy => + val I32V(n) :: I32V(src) :: I32V(dest) :: newStack = stack + if (memOutOfBound(module, 0, src, n) || memOutOfBound(module, 0, dest, n)) + throw new Exception("Out of bounds memory access") + else { + module.memory.head.copy(dest, src, n) + kont(newStack, mkont) + } + case Const(n) => kont(n :: stack, mkont) + case Binary(op) => + val v2 :: v1 :: newStack = stack + kont(evalBinOp(op, v1, v2) :: newStack, mkont) + case Unary(op) => + val v :: newStack = stack + kont(evalUnaryOp(op, v) :: newStack, mkont) + case Compare(op) => + val v2 :: v1 :: newStack = stack + kont(evalRelOp(op, v1, v2) :: newStack, mkont) + case Test(op) => + val v :: newStack = stack + kont(evalTestOp(op, v) :: newStack, mkont) + case Store(StoreOp(align, offset, ty, None)) => + val I32V(v) :: I32V(addr) :: newStack = stack + module.memory(0).storeInt(addr + offset, v) + kont(newStack, mkont) + case Load(LoadOp(align, offset, ty, None, None)) => + val I32V(addr) :: newStack = stack + val value = module.memory(0).loadInt(addr + offset) + kont(I32V(value) :: newStack, mkont) + case Nop => kont(stack, mkont) + case Unreachable => throw Trap() + case Block(ty, inner) => + val funcTy = getFuncType(ty) + val (inputs, restStack) = stack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, m1) => kont(s1.take(funcTy.out.size) ++ restStack, m1) + evalList(inner, inputs, frame, escape, mkont, escape::brTable, hs) + case Loop(ty, inner) => + val funcTy = getFuncType(ty) + val (inputs, restStack) = stack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, m1) => kont(s1.take(funcTy.out.size) ++ restStack, m1) + def loop(retStack: List[Value], mkont: MCont[Ans]): Ans = + evalList(inner, retStack.take(funcTy.inps.size), frame, escape, mkont, (loop _ : Cont[Ans])::brTable, hs) + loop(inputs, mkont) + case If(ty, thn, els) => + val funcTy = getFuncType(ty) + val I32V(cond) :: newStack = stack + val inner = if (cond != 0) thn else els + val (inputs, restStack) = newStack.splitAt(funcTy.inps.size) + val escape: Cont[Ans] = (s1, m1) => kont(s1.take(funcTy.out.size) ++ restStack, m1) + evalList(inner, inputs, frame, escape, mkont, escape::brTable, hs) + case Br(label) => + brTable(label)(stack, mkont) + case BrIf(label) => + val I32V(cond) :: newStack = stack + if (cond != 0) brTable(label)(newStack, mkont) + else kont(newStack, mkont) + case BrTable(labels, default) => + val I32V(cond) :: newStack = stack + val goto = if (cond < labels.length) labels(cond) else default + brTable(goto)(newStack, mkont) + case Return => brTable.last(stack, mkont) + case Call(f) => evalCall1(f, stack, frame, kont, mkont, brTable, hs, false) + // `for` is a syntactic construct only introduced for TFP + case ForLoop(init, cond, post, body) => + def forloop(s1: List[Value], m1: MCont[Ans]): Ans = { + val cont = (s2: List[Value], m2: MCont[Ans]) => { + val I32V(v) :: newStack = s2 + if (v == 0) kont(newStack, m2) + else { + val postK = (s3: List[Value], m3: MCont[Ans]) => evalList(post, s3, frame, forloop, m3, brTable, hs) + evalList(body, List(), frame, postK, m2, brTable, hs) + } + } + evalList(cond, s1, frame, cont, m1, brTable, hs) + } + evalList(init, stack, frame, forloop, mkont, brTable, hs) + case ReturnCall(f) => evalCall1(f, stack, frame, kont, mkont, brTable, hs, true) + case RefFunc(f) => + // TODO: RefFuncV stores an applicable function, instead of a syntactic structure + kont(RefFuncV(f) :: stack, mkont) + + // resumable try-catch exception handling: + case TryCatch(es1, es2) => + val newHandler: Handler[Ans] = (s1, k1, m1) => evalList(es2, s1, frame, k1, m1, List(), hs) + val m1: MCont[Ans] = (s1) => kont(s1, mkont) + evalList(es1, List(), frame, initK[Ans], m1, List(), newHandler) + /* + val newHandler: Handler[Ans] = (s1, k1, m1) => eval(es2, s1, frame, k1, m1, List(), hs) + val m1: MCont[Ans] = (s1) => eval(rest, s1, frame, kont, mkont, brTable, hs) + eval(es1, List(), frame, initK[Ans], m1, List(), newHandler) + */ + case Resume0() => + val (resume: ContV[Ans]) :: newStack = stack + resume.k(List(), s => kont(s, mkont), hs) + /* + val (resume: ContV[Ans]) :: newStack = stack + val m1: MCont[Ans] = s => eval(rest, s, frame, kont, mkont, brTable, hs) + resume.k(List(), m1, hs) + */ + case Throw() => + val err :: newStack = stack + // the handlers for kr is at the capture site + def kr(s1: Stack, m1: MCont[Ans], hs: Handler[Ans]): Ans = kont(s1, m1) + hs(List(err, ContV(kr)), initK[Ans], mkont) + /* + val err :: newStack = stack + def kr(s1: Stack, m1: MCont[Ans], hs1: Handler[Ans]): Ans = + eval(rest, s1, frame, kont, m1, brTable, hs) + hs(List(err, ContV(kr)), initK[Ans], mkont) + */ + case CallRef(ty) => + val RefFuncV(f) :: newStack = stack + evalCall1(f, newStack, frame, kont, mkont, brTable, hs, false) + + case _ => + println(inst) + throw new Exception(s"instruction $inst not implemented") + } + + def evalList[Ans](insts: List[Instr], stack: Stack, frame: Frame, + kont: Cont[Ans], mkont: MCont[Ans], + brTable: List[Cont[Ans]], hs: Handler[Ans]): Ans = { + insts match { + case Nil => kont(stack, mkont) + case inst :: rest => + val newKont: Cont[Ans] = (s1, m1) => evalList(rest, s1, frame, kont, m1, brTable, hs) + eval1(inst, stack, frame, newKont, mkont, brTable, hs) + } + } + + def evalCall1[Ans](funcIndex: Int, + stack: List[Value], + frame: Frame, + kont: Cont[Ans], + mkont: MCont[Ans], + brTable: List[Cont[Ans]], + h: Handler[Ans], + isTail: Boolean): Ans = + module.funcs(funcIndex) match { + case FuncDef(_, FuncBodyDef(ty, _, locals, body)) => + val args = stack.take(ty.inps.size).reverse + val newStack = stack.drop(ty.inps.size) + val frameLocals = args ++ locals.map(zero(_)) + val newFrame = Frame(ArrayBuffer(frameLocals: _*)) + if (isTail) + // when tail call, share the continuation for returning with the callee + evalList(body, List(), newFrame, brTable.last, mkont, List(brTable.last), h) + else { + val restK: Cont[Ans] = (s1, m1) => kont(s1.take(ty.out.size) ++ newStack, m1) + // We make a new brTable by `restK`, since function creates a new block to escape + // (more or less like `return`) + evalList(body, List(), newFrame, restK, mkont, List(restK), h) + } + case Import("console", "log", _) => + // println(s"[DEBUG] current stack: $stack") + val I32V(v) :: newStack = stack + println(v) + kont(newStack, mkont) + case Import("spectest", "print_i32", _) => + // println(s"[DEBUG] current stack: $stack") + val I32V(v) :: newStack = stack + println(v) + kont(newStack, mkont) + case Import(_, _, _) => throw new Exception(s"Unknown import at $funcIndex") + case _ => throw new Exception(s"Definition at $funcIndex is not callable") + } + + // If `main` is given, then we use that function as the entry point of the program; + // otherwise, we look up the top-level `start` instruction to locate the entry point. + def evalTop[Ans](halt: Cont[Ans], mhalt: MCont[Ans], main: Option[String] = None): Ans = { + val instrs = main match { + case Some(func_name) => + module.defs.flatMap({ + case Export(`func_name`, ExportFunc(fid)) => + System.err.println(s"Entering function $main") + module.funcs(fid) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => body + case _ => throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + case None => + module.defs.flatMap({ + case Start(id) => + System.err.println(s"Entering unnamed function $id") + module.funcs(id) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => body + case _ => + throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + } + val locals = main match { + case Some(func_name) => + module.defs.flatMap({ + case Export(`func_name`, ExportFunc(fid)) => + System.err.println(s"Entering function $main") + module.funcs(fid) match { + case FuncDef(_, FuncBodyDef(_, _, locals, _)) => locals + case _ => throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + case None => + module.defs.flatMap({ + case Start(id) => + System.err.println(s"Entering unnamed function $id") + module.funcs(id) match { + case FuncDef(_, FuncBodyDef(_, _, locals, body)) => locals + case _ => + throw new Exception("Entry function has no concrete body") + } + case _ => List() + }) + } + if (instrs.isEmpty) println("Warning: nothing is executed") + // initialized locals + val frame = Frame(ArrayBuffer(locals.map(zero(_)): _*)) + val handler0: Handler[Ans] = (stack: Stack, _, _) => throw new Exception (s"Uncaught exception: $stack") + + evalList(instrs, List(), frame, halt, mhalt, List(halt), handler0) + } + + def evalTop(m: ModuleInstance): Unit = evalTop(initK[Unit], stack => ()) +} diff --git a/src/main/scala/Parser.scala b/src/main/scala/Parser.scala index 947060b..2eec66a 100644 --- a/src/main/scala/Parser.scala +++ b/src/main/scala/Parser.scala @@ -9,7 +9,6 @@ import scala.annotation.tailrec import org.antlr.v4.runtime._ import scala.jdk.CollectionConverters.* - import scala.collection.mutable.{HashMap, ListBuffer} import scala.collection.mutable @@ -231,7 +230,10 @@ class GSWasmVisitor extends WatParserBaseVisitor[WIR] { } case I64Type => { if (ctx.NAT.getText.startsWith("0x")) { - I64V(java.lang.Long.parseLong(ctx.NAT.getText.substring(2), 16)) + // println(s"parsing hex: ${ctx.NAT.getText.substring(2)}") + // also skip underscore + I64V(java.lang.Long.parseLong(ctx.NAT.getText.substring(2).replace("_", ""), 16)) + // I64V(java.lang.Long.parseLong(ctx.NAT.getText.substring(2), 16)) } else { I64V(ctx.NAT.getText.toLong) } @@ -296,7 +298,7 @@ class GSWasmVisitor extends WatParserBaseVisitor[WIR] { } else if (ctx.RETURN_CALL() != null) { val id = getVar(ctx.idx(0)) - try Call(id.toInt) catch { + try ReturnCall(id.toInt) catch { case _: java.lang.NumberFormatException => if (fnMap.contains(id)) ReturnCall(fnMap(id)) else CallUnresolved(id) @@ -527,6 +529,15 @@ class GSWasmVisitor extends WatParserBaseVisitor[WIR] { Resume(funcTypeId, handlers) } + override def visitForLoop(ctx:ForLoopContext): Instr = { + val InstrList(init) = visit(ctx.instrList(0)) + val InstrList(cond) = visit(ctx.instrList(1)) + val InstrList(post) = visit(ctx.instrList(2)) + val InstrList(body) = visit(ctx.instrList(3)) + ForLoop(init,cond,post,body) + + } + override def visitBlock(ctx: BlockContext): WIR = { val ty = visitBlockType(ctx.blockType) val InstrList(instrs) = visit(ctx.instrList) @@ -785,11 +796,15 @@ class GSWasmVisitor extends WatParserBaseVisitor[WIR] { visitLiteralWithType(constCtx.literal, toNumType(ty)) } AssertReturn(action, expect.toList) + } else if (ctx.ASSERT_INVALID != null ) { + // TODO: we simply ignore assert_invalid for now + AssertInvalid() } else { throw new RuntimeException("Unsupported") } } + override def visitCmd(ctx: CmdContext): Cmd = { if (ctx.assertion != null) { visitAssertion(ctx.assertion) @@ -797,7 +812,10 @@ class GSWasmVisitor extends WatParserBaseVisitor[WIR] { CmdModule(visitScriptModule(ctx.scriptModule)) } else if (ctx.instance != null) { CMdInstnace() + } else if (ctx.action_ != null) { + visitAction_(ctx.action_) } + else { throw new RuntimeException("Unsupported") } diff --git a/src/test/scala/Test1.scala b/src/test/scala/Test1.scala deleted file mode 100644 index a4d4a43..0000000 --- a/src/test/scala/Test1.scala +++ /dev/null @@ -1,6 +0,0 @@ -import org.junit.Test -import org.junit.Assert.* - -class Test1: - @Test def t1(): Unit = - assertEquals("I was compiled by Scala 3. :)", msg) diff --git a/src/test/scala/TestEval.scala b/src/test/scala/TestEval.scala new file mode 100644 index 0000000..2eb7a87 --- /dev/null +++ b/src/test/scala/TestEval.scala @@ -0,0 +1,88 @@ +package wasm + +import wasm.ast._ +import wasm.parser._ +import wasm.memory._ +import wasm.miniwasm._ +import collection.mutable.ArrayBuffer + +import org.scalatest.funsuite.AnyFunSuite + +class TestEval extends AnyFunSuite { + abstract class ExpResult + case class ExpInt(i: Int) extends ExpResult + case class ExpStack(stack: List[Value]) extends ExpResult + case object Ignore extends ExpResult + + implicit def toI32V(i: Int): Value = I32V(i) + + def testFile(filename: String, main: Option[String] = None, expected: ExpResult = Ignore) = { + val module = Parser.parseFile(filename) + //println(module) + val evaluator = Evaluator(ModuleInstance(module)) + val haltK: evaluator.Cont[Unit] = stack => { + println(s"halt cont: $stack") + expected match { + case ExpInt(e) => assert(stack(0) == I32V(e)) + case ExpStack(e) => assert(stack == e) + case Ignore => () + } + } + evaluator.evalTop(haltK, main) + } + + // TODO: the power test can be used to test the stack + // For now: 2^10 works, 2^100 results in 0 (TODO: why?), + // and 2^1000 results in a stack overflow + test("ack") { testFile("./benchmarks/wasm/ack.wat", Some("real_main"), ExpInt(7)) } + test("power") { testFile("./benchmarks/wasm/pow.wat", Some("real_main"), ExpInt(1024)) } + test("start") { testFile("./benchmarks/wasm/start.wat") } + test("fact") { testFile("./benchmarks/wasm/fact.wat", None, ExpInt(120)) } + test("loop") { testFile("./benchmarks/wasm/loop.wat", None, ExpInt(10)) } + test("even-odd") { testFile("./benchmarks/wasm/even_odd.wat", None, ExpInt(1)) } + test("load") { testFile("./benchmarks/wasm/load.wat", None, ExpInt(1)) } + test("btree") { testFile("./benchmarks/wasm/btree/2o1u-unlabeled.wat") } + test("fib") { testFile("./benchmarks/wasm/fib.wat", None, ExpInt(144)) } + test("tribonacci") { testFile("./benchmarks/wasm/tribonacci.wat", None, ExpInt(504)) } + + test("return") { + intercept[wasm.miniwasm.Trap] { + testFile("./benchmarks/wasm/return.wat", Some("$real_main")) + } + } + test("return_call") { + testFile("./benchmarks/wasm/sum.wat", Some("sum10"), ExpInt(55)) + } + + test("block input") { + testFile("./benchmarks/wasm/block.wat", Some("real_main"), ExpInt(9)) + } + test("loop block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_loop_input"), ExpInt(55)) + } + test("if block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_if_input"), ExpInt(25)) + } + test("block input - poly br") { + testFile("./benchmarks/wasm/block.wat", Some("test_poly_br"), ExpInt(0)) + } + test("loop block - poly br") { + testFile("./benchmarks/wasm/loop_poly.wat", None, ExpStack(List(2, 1))) + } + + // just for parsing + test("fx types") { + testFile("./benchmarks/wasm/wasmfx/cont1-stripped.wat") + } + + // can parse this file, + // but there's no support for ref.func, cont.new, suspend, resume to run it yet + // test("gen") { + // testFile("./benchmarks/wasm/wasmfx/gen-stripped.wat") + // } + + // FIXME: + //test("tribonacci-ret") { testFile("./benchmarks/wasm/tribonacci_ret.wat", None, Some(504)) } + + // TODO: add wasm spec tests? How to utilize wast files? +} diff --git a/src/test/scala/TestFx.scala b/src/test/scala/TestFx.scala new file mode 100644 index 0000000..fc67c8c --- /dev/null +++ b/src/test/scala/TestFx.scala @@ -0,0 +1,142 @@ +package wasm + +import wasm.parser.Parser +import wasm.miniwasmscript.ScriptRunner + +import wasm.ast._ +import wasm.parser._ +import wasm.memory._ +import wasm.miniwasm._ +import collection.mutable.ArrayBuffer + +import java.io.{ByteArrayOutputStream, StringReader} +import org.scalatest.funsuite.AnyFunSuite + +class TestFX extends AnyFunSuite { + abstract class ExpResult + case class ExpInt(i: Int) extends ExpResult + case class ExpStack(stack: List[Value]) extends ExpResult + case object Ignore extends ExpResult + + implicit def toI32V(i: Int): Value = I32V(i) + + def testFile(filename: String, main: Option[String] = None, expected: ExpResult = Ignore) = { + val module = Parser.parseFile(filename) + // println(module) + val evaluator = EvaluatorFX(ModuleInstance(module)) + type Cont = evaluator.Cont[Unit] + type MCont = evaluator.MCont[Unit] + val haltK: Cont = (stack, trail, _hs) => { + if (!trail.isEmpty) { + // this throw will never reach, trail will never been appended + System.err.println(s"[Debug]: $trail") + throw new Exception("Trail is not empty") + } + // println(s"halt cont: $stack") + expected match { + case ExpInt(e) => assert(stack(0) == I32V(e)) + case ExpStack(e) => assert(stack == e) + case Ignore => () + } + } + evaluator.evalTop(haltK, main) + } + + // So far it assumes that the output is multi-line integers + def testFileOutput(filename: String, exp: List[Int], main: Option[String] = None) = { + val out = new ByteArrayOutputStream() + Console.withOut(out) { + testFile(filename, main) + } + assert(out.toString.split("\n").toList.map(_.toInt) == exp) + } + + def testWastFile(filename: String): Unit = { + val script = Parser.parseScriptFile(filename).get + val runner = new ScriptRunner() + runner.run(script) + } + + // non-effect tests should still pass: + test("ack") { testFile("./benchmarks/wasm/ack.wat", Some("real_main"), ExpInt(7)) } + test("power") { testFile("./benchmarks/wasm/pow.wat", Some("real_main"), ExpInt(1024)) } + test("start") { testFile("./benchmarks/wasm/start.wat") } + test("fact") { testFile("./benchmarks/wasm/fact.wat", None, ExpInt(120)) } + test("loop") { testFile("./benchmarks/wasm/loop.wat", None, ExpInt(10)) } + test("even-odd") { testFile("./benchmarks/wasm/even_odd.wat", None, ExpInt(1)) } + test("load") { testFile("./benchmarks/wasm/load.wat", None, ExpInt(1)) } + test("btree") { testFile("./benchmarks/wasm/btree/2o1u-unlabeled.wat") } + test("fib") { testFile("./benchmarks/wasm/fib.wat", None, ExpInt(144)) } + test("tribonacci") { testFile("./benchmarks/wasm/tribonacci.wat", None, ExpInt(504)) } + + test("return") { + intercept[wasm.miniwasm.Trap] { + testFile("./benchmarks/wasm/return.wat", Some("$real_main")) + } + } + test("return_call") { + testFile("./benchmarks/wasm/sum.wat", Some("sum10"), ExpInt(55)) + } + + test("block input") { + testFile("./benchmarks/wasm/block.wat", Some("real_main"), ExpInt(9)) + } + test("loop block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_loop_input"), ExpInt(55)) + } + test("if block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_if_input"), ExpInt(25)) + } + test("block input - poly br") { + testFile("./benchmarks/wasm/block.wat", Some("test_poly_br"), ExpInt(0)) + } + test("loop block - poly br") { + testFile("./benchmarks/wasm/loop_poly.wat", None, ExpStack(List(2, 1))) + } + + // New effect handler tests: + test("call_ref") { + testFile("./benchmarks/wasm/wasmfx/callref-strip.wast") + } + + /* REAL WASMFX STUFF */ + test("cont") { + // testFile("./benchmarks/wasm/wasmfx/callcont.wast", None, ExpInt(11)) + testWastFile("./benchmarks/wasm/wasmfx/callcont.bin.wast") + } + + test("resume w/o suspend") { + testWastFile("./benchmarks/wasm/wasmfx/resume1.bin.wast") + } + + // wasmfx sec 2.3 like example + test("test_cont") { + testFileOutput("./benchmarks/wasm/wasmfx/test_cont-strip.wast", List(10, -1, 11, 11, -1, 12, 12, -1, 13, 13, -1, 14, -2)) + } + + test("resume_chain1") { + testWastFile("./benchmarks/wasm/wasmfx/resume_chain1-strip.wast") + } + + // printing 0 not 1 + test("nested suspend") { + testFileOutput("./benchmarks/wasm/wasmfx/nested_suspend-strip.wat", List(0)) + } + + // going to print 100 to 1 and then print 42 + test("gen") { + testFileOutput("./benchmarks/wasm/wasmfx/gen-stripped.wast", (100 to 1 by -1).toList ++ List(42)) + } + + test("diff resume") { + testFileOutput("./benchmarks/wasm/wasmfx/diff_resume-strip.wat", List(10, 11, 42)) + } + + test("cont_bind_4") { + testWastFile("./benchmarks/wasm/wasmfx/cont_bind4.bin.wast") + } + + test("cont_bind_5") { + testWastFile("./benchmarks/wasm/wasmfx/cont_bind5.bin.wast") + } +} diff --git a/src/test/scala/TestScriptRun.scala b/src/test/scala/TestScriptRun.scala new file mode 100644 index 0000000..3ea97f6 --- /dev/null +++ b/src/test/scala/TestScriptRun.scala @@ -0,0 +1,23 @@ +package wasm + +import wasm.parser.Parser +import wasm.miniwasmscript.ScriptRunner + +import org.scalatest.funsuite.AnyFunSuite + +class TestScriptRun extends AnyFunSuite { + def testFile(filename: String): Unit = { + val script = Parser.parseScriptFile(filename).get + val runner = new ScriptRunner() + runner.run(script) + } + + test("simple script") { + testFile("./benchmarks/wasm/script/script_basic.wast") + } + + test("simple bin script") { + testFile("./benchmarks/wasm/script/script_basic.bin.wast") + } + +} diff --git a/src/test/scala/TestSyntax.scala b/src/test/scala/TestSyntax.scala new file mode 100644 index 0000000..70f537d --- /dev/null +++ b/src/test/scala/TestSyntax.scala @@ -0,0 +1,17 @@ +package wasm + +import wasm.parser.Parser +import org.scalatest.funsuite.AnyFunSuite + +class TestSyntax extends AnyFunSuite { + def testFile(filename: String) = { + val script = Parser.parseScriptFile(filename) + println(s"script = $script") + assert(script != None, "this syntax is not defined in antlr grammar") + } + + test("basic script") { + testFile("./benchmarks/wasm/script/script_basic.wast") + } +} + diff --git a/src/test/scala/TestTFP.scala b/src/test/scala/TestTFP.scala new file mode 100644 index 0000000..8654c14 --- /dev/null +++ b/src/test/scala/TestTFP.scala @@ -0,0 +1,177 @@ +package wasm + +import wasm.parser.Parser +import wasm.miniwasmscript.ScriptRunner + +import wasm.ast._ +import wasm.parser._ +import wasm.memory._ +import wasm.miniwasm._ +import collection.mutable.ArrayBuffer + +import java.io.{ByteArrayOutputStream, StringReader} +import org.scalatest.funsuite.AnyFunSuite + +class TestTFP extends AnyFunSuite { + abstract class ExpResult + case class ExpInt(i: Int) extends ExpResult + case class ExpStack(stack: List[Value]) extends ExpResult + case object Ignore extends ExpResult + + implicit def toI32V(i: Int): Value = I32V(i) + + def testFile(filename: String, main: Option[String] = None, expected: ExpResult = Ignore) = { + val module = Parser.parseFile(filename) + // println(module) + val evaluator = EvaluatorTFP(ModuleInstance(module)) + type Cont = evaluator.Cont[Unit] + type MCont = evaluator.MCont[Unit] + val haltK: Cont = evaluator.initK + val haltMK: MCont = (stack) => { + // println(s"halt cont: $stack") + expected match { + case ExpInt(e) => assert(stack(0) == I32V(e)) + case ExpStack(e) => assert(stack == e) + case Ignore => () + } + } + evaluator.evalTop(haltK, haltMK, main) + } + + // So far it assumes that the output is multi-line integers + def testFileOutput(filename: String, exp: List[Int], main: Option[String] = None) = { + val out = new ByteArrayOutputStream() + Console.withOut(out) { + testFile(filename, main) + } + assert(out.toString.split("\n").toList.map(_.toInt) == exp) + } + + def testWastFile(filename: String): Unit = { + val script = Parser.parseScriptFile(filename).get + val runner = new ScriptRunner() + runner.run(script) + } + + // non-effect tests should still pass: + test("ack") { testFile("./benchmarks/wasm/ack.wat", Some("real_main"), ExpInt(7)) } + test("power") { testFile("./benchmarks/wasm/pow.wat", Some("real_main"), ExpInt(1024)) } + test("start") { testFile("./benchmarks/wasm/start.wat") } + test("fact") { testFile("./benchmarks/wasm/fact.wat", None, ExpInt(120)) } + test("loop") { testFile("./benchmarks/wasm/loop.wat", None, ExpInt(10)) } + test("even-odd") { testFile("./benchmarks/wasm/even_odd.wat", None, ExpInt(1)) } + test("load") { testFile("./benchmarks/wasm/load.wat", None, ExpInt(1)) } + test("btree") { testFile("./benchmarks/wasm/btree/2o1u-unlabeled.wat") } + test("fib") { testFile("./benchmarks/wasm/fib.wat", None, ExpInt(144)) } + test("tribonacci") { testFile("./benchmarks/wasm/tribonacci.wat", None, ExpInt(504)) } + + test("return") { + intercept[wasm.miniwasm.Trap] { + testFile("./benchmarks/wasm/return.wat", Some("$real_main")) + } + } + test("return_call") { + testFile("./benchmarks/wasm/sum.wat", Some("sum10"), ExpInt(55)) + } + + test("block input") { + testFile("./benchmarks/wasm/block.wat", Some("real_main"), ExpInt(9)) + } + test("loop block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_loop_input"), ExpInt(55)) + } + test("if block input") { + testFile("./benchmarks/wasm/block.wat", Some("test_if_input"), ExpInt(25)) + } + test("block input - poly br") { + testFile("./benchmarks/wasm/block.wat", Some("test_poly_br"), ExpInt(0)) + } + test("loop block - poly br") { + testFile("./benchmarks/wasm/loop_poly.wat", None, ExpStack(List(2, 1))) + } + + // `for`` is a syntactic construct only introduced for TFP + test("for loop") { + testFile("./benchmarks/wasm/for_loop.wat", Some("for_loop"), ExpInt(55)) + } + + // New effect handler tests: + test("call_ref") { + testFile("./benchmarks/wasm/wasmfx/callref-strip.wast") + } + + test("try-catch") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch.wat", List(1, 2, 3, 4, 5)) + } + + test("try-catch-succ") { + // no exception was thrown + testFileOutput("./benchmarks/wasm/trycatch/try_catch_succ.wat", List(1, 3, 5)) + } + + test("try-catch-discard") { + // discard the resumption in the catch block + testFileOutput("./benchmarks/wasm/trycatch/try_catch_discard.wat", List(1, 42, 4, 5)) + } + + test("nested-try-catch") { + testFileOutput("./benchmarks/wasm/trycatch/nested_try_catch.wat", List(1, 2, 3, 4, 5, 6, 7, 8, 9)) + } + + test("try-catch-multishot") { + testFileOutput("./benchmarks/wasm/trycatch/multishot.wat", List(1, 2, 3, 4, 3, 5)) + } + + test("try-catch-deep-handler") { + testFileOutput("./benchmarks/wasm/trycatch/deep.wat", List(1, 2, 3, 2, 4, 4, 5)) + } + + test("try-catch-block") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_block.wat", List(1, 2, 3, 4, 5)) + } + + test("try-catch-br2") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_br2.wat", List(1, 2, 6, 4, 5)) + } + + test("try-catch-br") { + // break out of try block is not allowed + assertThrows[IndexOutOfBoundsException] { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_br.wat", List(1, 2, 6)) + } + } + + test("try-catch-throw-twice") { + testFileOutput("./benchmarks/wasm/trycatch/throw_twice.wat", List(1, 2, 6, 2, 3, 4, 4, 5)) + } + + test("try-catch-throw-twice2") { + testFileOutput("./benchmarks/wasm/trycatch/throw_twice2.wat", List(1, 2, 6, 2, 3, 4, 4, 5)) + } + + test("try-catch-br3") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_br3.wat", List(1, 2, 3, 4, 5)) + } + + test("try-catch-br4") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_br4.wat", List(1, 2, 6, 2, 7, 4, 4, 5)) + } + + test("try-catch-catch-br") { + testFileOutput("./benchmarks/wasm/trycatch/try_catch_catch_br.wat", List(1, 2, 6, 4, 6, 5)) + } + + // SpecTest + test("spectest_return_call") { + testWastFile("./benchmarks/wasm/spectest/return_call.bin.wast") + } + + // some of the failing test cases + test("count") { + testFile("./benchmarks/wasm/count.wat", None, ExpInt(0)) + } + test("even_odd") { + testFile("./benchmarks/wasm/return_call.wat", None, ExpInt(44)) + } + +} diff --git a/third-party/wasmfx-tools b/third-party/wasmfx-tools new file mode 160000 index 0000000..7530629 --- /dev/null +++ b/third-party/wasmfx-tools @@ -0,0 +1 @@ +Subproject commit 7530629a3a127a1429b4837a1b1632f11d3dfeea