upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-29 13:51:28 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-29 13:51:28 +0100
commit3beeb56bfb3dc99f60e85e85211ba3c2d88223bc (patch)
tree5f563496290a7775a669864fbf61d85b9161cfd8 /runtime/src
parented34b996ce2aef1ae2800b0f0840ca6878b89b73 (diff)
parentcc0f662a70b6e6e561692f56342b5a7df3831bd7 (diff)
Merge origin/main into carry/pr-2031
submit_phases: main's nested-phase Scope kept; the PR's skip now applies only when nothing reads the times (timing_wanted(): period 0 and LEONIDA_DEV_OVERLAY not 1). Co-authored-by: Ilyass Roussi <76879547+IlyassRS3@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/address_guard.h163
-rw-r--r--runtime/src/address_guard_buffer.h23
-rw-r--r--runtime/src/async_pipeline_size.h71
-rw-r--r--runtime/src/avx2_emulation.h1063
-rw-r--r--runtime/src/base_reservation.h56
-rw-r--r--runtime/src/bcpack.cpp12
-rw-r--r--runtime/src/bcpack.h13
-rw-r--r--runtime/src/bmi_emulation.h1148
-rw-r--r--runtime/src/buffer_va_index.h16
-rw-r--r--runtime/src/clzero_patch.h96
-rw-r--r--runtime/src/code_hooks.h34
-rw-r--r--runtime/src/command_list.h8
-rw-r--r--runtime/src/command_list_epochs.h69
-rw-r--r--runtime/src/compile_gate_calibration.h249
-rw-r--r--runtime/src/compile_gate_policy.h533
-rw-r--r--runtime/src/conservative_raster.h46
-rw-r--r--runtime/src/console_heap_fix.comp292
-rw-r--r--runtime/src/console_heap_fix.inc3163
-rw-r--r--runtime/src/console_heap_fix_spv.h11
-rw-r--r--runtime/src/console_heap_gpu.h1063
-rw-r--r--runtime/src/console_heap_slot_records.h227
-rw-r--r--runtime/src/cpu_emulation.h135
-rw-r--r--runtime/src/deferred_image_binding.h3
-rw-r--r--runtime/src/depth24.h36
-rw-r--r--runtime/src/depth24_fragment.h56
-rw-r--r--runtime/src/descriptor_table.h81
-rw-r--r--runtime/src/dev_overlay.h286
-rw-r--r--runtime/src/dev_status.h51
-rw-r--r--runtime/src/display_white_cache.h82
-rw-r--r--runtime/src/dstorage_hold.h23
-rw-r--r--runtime/src/dual_source_fragment.h85
-rw-r--r--runtime/src/frame_pacer.h63
-rw-r--r--runtime/src/fsdraw_probe.h67
-rw-r--r--runtime/src/gfx10_descriptors.h29
-rw-r--r--runtime/src/gpu_label_memory.h10
-rw-r--r--runtime/src/heavy_pipeline_cache.h94
-rw-r--r--runtime/src/host_image_copy_policy.h33
-rw-r--r--runtime/src/image_memory.h62
-rw-r--r--runtime/src/indirect_clamp.comp58
-rw-r--r--runtime/src/indirect_clamp_spv.h599
-rw-r--r--runtime/src/indirect_draw_stats.h97
-rw-r--r--runtime/src/isa_jit_patch.h1524
-rw-r--r--runtime/src/large_module_gate.h293
-rw-r--r--runtime/src/list_value_wait_budget.h251
-rw-r--r--runtime/src/main.cpp215
-rw-r--r--runtime/src/mem_probe.h65
-rw-r--r--runtime/src/memory_breakdown.h152
-rw-r--r--runtime/src/memory_figures.h147
-rw-r--r--runtime/src/native_pso.h10
-rw-r--r--runtime/src/pe_loader.cpp296
-rw-r--r--runtime/src/pe_loader.h18
-rw-r--r--runtime/src/pipeline_cache_file.h2
-rw-r--r--runtime/src/pipeline_cache_journal.h359
-rw-r--r--runtime/src/pipeline_cache_store.h17
-rw-r--r--runtime/src/pipeline_order.h653
-rw-r--r--runtime/src/pipeline_prewarm.h171
-rw-r--r--runtime/src/pipeline_wait.h35
-rw-r--r--runtime/src/pipeline_workers.h13
-rw-r--r--runtime/src/present_compose.comp73
-rw-r--r--runtime/src/present_compose.inc2857
-rw-r--r--runtime/src/queue_holds.h115
-rw-r--r--runtime/src/retire_tickets.h51
-rw-r--r--runtime/src/root_signature.cpp11
-rw-r--r--runtime/src/root_signature.h8
-rw-r--r--runtime/src/shader_library.h106
-rw-r--r--runtime/src/shadow_keep.h72
-rw-r--r--runtime/src/stub_pipeline.h222
-rw-r--r--runtime/src/subgroup_size.h12
-rw-r--r--runtime/src/submit_phases.h79
-rw-r--r--runtime/src/thread_sampler.h43
-rw-r--r--runtime/src/thread_stacks.cpp70
-rw-r--r--runtime/src/thread_stacks.h4
-rw-r--r--runtime/src/title_geometry_watch.h96
-rw-r--r--runtime/src/title_page_watch.h28
-rw-r--r--runtime/src/title_texture_memory.h54
-rw-r--r--runtime/src/title_texture_refresh.h101
-rw-r--r--runtime/src/title_va_alias.h276
-rw-r--r--runtime/src/title_window_plan.h58
-rw-r--r--runtime/src/vulkan13_features.h8
-rw-r--r--runtime/src/vulkan_backend.h1213
-rw-r--r--runtime/src/vulkan_bindless.h251
-rw-r--r--runtime/src/vulkan_device_fault.h1237
-rw-r--r--runtime/src/vulkan_device_markers.h245
-rw-r--r--runtime/src/vulkan_indirect_clamp.h157
-rw-r--r--runtime/src/vulkan_memory_budget.h46
-rw-r--r--runtime/src/vulkan_present.h92
-rw-r--r--runtime/src/vulkan_present_splash.h10
-rw-r--r--runtime/src/vulkan_replay.h711
-rw-r--r--runtime/src/vulkan_scratch.h7
-rw-r--r--runtime/src/xdxr_build.comp51
-rw-r--r--runtime/src/xdxr_build.h140
-rw-r--r--runtime/src/xdxr_build.inc16094
92 files changed, 28539 insertions, 10586 deletions
diff --git a/runtime/src/address_guard.h b/runtime/src/address_guard.h
new file mode 100644
index 000000000..dab43d40a
--- /dev/null
+++ b/runtime/src/address_guard.h
@@ -0,0 +1,163 @@
1// The address guard's page table (docs/d3d12_vulkan.md, "Address guard"): what the runtime backs around heap_base,
2// for shaders translated with `tools/rdna2spirv.py --address-guard` (LEONIDA_ADDRESS_GUARD=1). Header-only, no
3// Vulkan: the device writes the words this computes into a mapped buffer. tools/address_guard.py is the Python
4// reference of the same format and of the check a guarded access makes.
5//
6// Layout. A header at arena offset kGuardHeader (64 bytes, AddressGuardHeader), then two sinks: refused loads read
7// kGuardZero, refused stores and atomics write kGuardDump, each at the access's offset within its 4 KiB page. The
8// page table is its own buffer; the header holds its address minus heap_base. Table words: kGuardLevel1 level-1
9// words indexed by bits 47..32 of the 48-bit heap offset (one per 4 GiB chunk), naming the chunk's level-2 block;
10// then the blocks, kGuardBlockWords words each, one bit per 4 KiB page (bits 31..12). Block 0 is empty (nothing
11// backed), block 1 full (everything passes: a chunk the table has no room for), blocks 2.. are allocated.
12#pragma once
13
14#include <algorithm>
15#include <cstdint>
16#include <cstring>
17#include <utility>
18#include <vector>
19
20namespace leonida::address_guard {
21
22// Shared with tools/rdna2spirv.py (GUARD_*) and tools/address_guard.py; tests/semantic/test_address_guard.py reads
23// these lines.
24constexpr std::uint64_t kGuardHeader = 0x70000;
25constexpr std::uint64_t kGuardZero = 0x71000;
26constexpr std::uint64_t kGuardDump = 0x78000;
27constexpr std::uint64_t kGuardEnd = 0x80000;
28constexpr std::uint32_t kGuardLevel1 = 1u << 16;
29constexpr std::uint32_t kGuardBlockWords = 1u << 15;
30constexpr char kGuardMagicText[] = "LGUARD01";
31constexpr std::uint64_t kMask48 = (1ull << 48) - 1;
32constexpr std::uint32_t kEmptyBlock = 0, kFullBlock = 1, kFirstBlock = 2;
33
34constexpr std::uint64_t magic() {
35 std::uint64_t v = 0;
36 for (int i = 7; i >= 0; --i) v = v << 8 | std::uint8_t(kGuardMagicText[i]);
37 return v;
38}
39
40struct AddressGuardHeader {
41 std::uint64_t magic; // magic(): the shaders check only when it is there
42 std::uint64_t limit; // the arena's size: an access below it passes without a lookup
43 std::uint64_t table; // the page table's device address minus heap_base (mod 2^64)
44 std::uint32_t refused; // the shaders add 1 per refused access
45 std::uint32_t last_module; // the last refusing module's id: FNV-1a of its file stem (shaders write it; diagnostics)
46 std::uint64_t last_refused; // the last refused access's heap offset (written by the shaders, not atomically)
47 std::uint8_t pad[24];
48};
49static_assert(sizeof(AddressGuardHeader) == 64);
50static_assert(kGuardHeader + sizeof(AddressGuardHeader) <= kGuardZero && kGuardZero < kGuardDump &&
51 kGuardDump < kGuardEnd);
52
53// The table's contents and the words that changed. Blocks are given to chunks for good: a chunk that loses its last
54// backing keeps its (now empty) block, so a submission still in flight never reads a block that came to mean
55// another chunk. When the blocks run out, a new chunk gets the full block (logged by the caller through
56// overflowed()): its accesses then pass unchecked, as without the guard.
57class AddressGuardTable {
58public:
59 explicit AddressGuardTable(std::uint32_t blocks = 62) : blocks_(blocks) {
60 words_.assign(word_count(), 0);
61 std::fill_n(words_.begin() + kGuardLevel1 + std::size_t(kFullBlock) * kGuardBlockWords, kGuardBlockWords,
62 0xFFFFFFFFu);
63 }
64
65 std::size_t word_count() const { return kGuardLevel1 + std::size_t(kFirstBlock + blocks_) * kGuardBlockWords; }
66 std::size_t bytes() const { return word_count() * sizeof(std::uint32_t); }
67 // The whole table, for the first upload.
68 const std::vector<std::uint32_t>& words() const { return words_; }
69 std::uint32_t blocks_used() const { return used_; }
70 std::uint32_t overflowed() const { return overflowed_; }
71
72 // Make the table say exactly `spans` (heap offset [start, end), 48-bit; a span may wrap through 2^48 for a
73 // negative offset). A page any byte of a span touches is backed: the GPU maps memory in whole pages. Each word
74 // that changes is passed to `write(index, value)`, level-2 words before level-1 ones, so a reader that sees a
75 // chunk's new block also sees its bits. Returns the number of words written.
76 template <class Write>
77 std::size_t assign(const std::vector<std::pair<std::uint64_t, std::uint64_t>>& spans, Write&& write) {
78 next_.assign(std::size_t(used_) * kGuardBlockWords, 0);
79 std::vector<std::uint32_t> level1(words_.begin(), words_.begin() + kGuardLevel1);
80 for (const auto& [start, end] : spans) {
81 if (end == start) continue;
82 const std::uint64_t first = (start & kMask48) >> 12;
83 const std::uint64_t last = ((end - 1) & kMask48) >> 12;
84 if (first <= last) {
85 mark(level1, first, last);
86 } else { // wraps through 2^48: two runs
87 mark(level1, first, (kMask48 >> 12));
88 mark(level1, 0, last);
89 }
90 }
91 std::size_t written = 0;
92 const std::size_t base = kGuardLevel1 + std::size_t(kFirstBlock) * kGuardBlockWords;
93 for (std::size_t i = 0; i < next_.size(); ++i) {
94 if (words_[base + i] == next_[i]) continue;
95 words_[base + i] = next_[i];
96 write(base + i, next_[i]);
97 ++written;
98 }
99 for (std::uint32_t i = 0; i < kGuardLevel1; ++i) {
100 if (words_[i] == level1[i]) continue;
101 words_[i] = level1[i];
102 write(std::size_t(i), level1[i]);
103 ++written;
104 }
105 return written;
106 }
107
108 // The table's bit for the page of heap offset `offset`.
109 bool page_backed(std::uint64_t offset) const {
110 offset &= kMask48;
111 const std::uint32_t block = words_[(offset >> 32) & (kGuardLevel1 - 1)];
112 const std::uint64_t page = (offset >> 12) & 0xFFFFF;
113 return (words_[kGuardLevel1 + std::size_t(block) * kGuardBlockWords + (page >> 5)] >> (page & 31)) & 1;
114 }
115
116 // What a guarded access of `extent` bytes at heap offset `offset` does (the shaders' %guard_fn): passes when
117 // its first and last byte are below `limit` or on backed pages. `offset` is sign-extended from 48 bits.
118 bool passes(std::uint64_t offset, std::uint64_t extent, std::uint64_t limit) const {
119 if (offset & (1ull << 47)) offset |= ~kMask48;
120 else offset &= kMask48;
121 const std::uint64_t end = offset + extent - 1;
122 if (offset < limit && end < limit) return true;
123 return page_backed(offset) && page_backed(end);
124 }
125
126private:
127 // Set the bits of pages [first, last] (48-bit page numbers), giving their chunks blocks as needed.
128 void mark(std::vector<std::uint32_t>& level1, std::uint64_t first, std::uint64_t last) {
129 for (std::uint64_t chunk = first >> 20; chunk <= last >> 20; ++chunk) {
130 std::uint32_t& block = level1[chunk];
131 if (block == kEmptyBlock) {
132 if (used_ < blocks_) {
133 block = kFirstBlock + used_++;
134 next_.resize(std::size_t(used_) * kGuardBlockWords, 0);
135 } else {
136 block = kFullBlock;
137 ++overflowed_;
138 }
139 }
140 if (block < kFirstBlock) continue;
141 std::uint32_t* bits = next_.data() + std::size_t(block - kFirstBlock) * kGuardBlockWords;
142 const std::uint64_t lo = std::max(first, chunk << 20) & 0xFFFFF;
143 const std::uint64_t hi = std::min(last, (chunk << 20) | 0xFFFFF) & 0xFFFFF;
144 for (std::uint64_t page = lo; page <= hi;) {
145 if (!(page & 31) && page + 31 <= hi) {
146 bits[page >> 5] = 0xFFFFFFFFu;
147 page += 32;
148 } else {
149 bits[page >> 5] |= 1u << (page & 31);
150 ++page;
151 }
152 }
153 }
154 }
155
156 std::uint32_t blocks_;
157 std::uint32_t used_ = 0;
158 std::uint32_t overflowed_ = 0;
159 std::vector<std::uint32_t> words_; // what the GPU's copy holds
160 std::vector<std::uint32_t> next_; // the allocated blocks being built by assign()
161};
162
163} // namespace leonida::address_guard
diff --git a/runtime/src/address_guard_buffer.h b/runtime/src/address_guard_buffer.h
new file mode 100644
index 000000000..444d0250b
--- /dev/null
+++ b/runtime/src/address_guard_buffer.h
@@ -0,0 +1,23 @@
1#pragma once
2
3// The address guard's page-table buffer (address_guard.h; docs/d3d12_vulkan.md, "Address guard"). Shaders translated
4// with --address-guard read it through its device address on every D3D12 queue, so it is shared by all of the
5// device's queue families, like the other buffers the device's queues all read.
6
7#include "queue_families.h"
8
9#include <cstdint>
10#include <span>
11
12namespace leonida::address_guard {
13
14inline VkBufferCreateInfo table_buffer_info(VkDeviceSize bytes, std::span<const std::uint32_t> families) {
15 VkBufferCreateInfo create{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO};
16 create.size = bytes;
17 create.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT;
18 create.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
19 share_across_queue_families(create, families);
20 return create;
21}
22
23} // namespace leonida::address_guard
diff --git a/runtime/src/async_pipeline_size.h b/runtime/src/async_pipeline_size.h
new file mode 100644
index 000000000..a4b4cabde
--- /dev/null
+++ b/runtime/src/async_pipeline_size.h
@@ -0,0 +1,71 @@
1// Which pipelines LEONIDA_ASYNC_PIPELINES=1 builds asynchronously, by size (LEONIDA_ASYNC_MIN_BYTES). Pure stdlib, so
2// async_pipeline_size_test checks it without a device; shims/d3d12_pipeline_compile.h reads the variables.
3//
4// An asynchronous pipeline that is not built yet has its draws and dispatches skipped until the compile worker has
5// it (queue_build in shims/d3d12_vulkan_device.cpp). With every pipeline asynchronous the small lighting and post
6// programs are skipped with the large ones, and the screen can stay black for as long as anything is compiling; with
7// none, a submission waits minutes for each large ray-tracing program. LEONIDA_ASYNC_MIN_BYTES=<n> splits the two: a
8// pipeline with less than n bytes of SPIR-V (compute: its module; graphics: all its stages) is built where it is
9// needed, as without LEONIDA_ASYNC_PIPELINES, and only one of n bytes or more is asynchronous.
10// LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=<n> sets the graphics (and mesh) pipelines' threshold apart from compute's: a draw
11// whose pipeline is skipped loses one draw, while the lighting and post compute programs make the image, so graphics
12// can be left asynchronous (0) while small compute programs are built in place. Unset: graphics take
13// LEONIDA_ASYNC_MIN_BYTES, as before the variable.
14#pragma once
15
16#include <cstdint>
17
18namespace leonida::async_pipelines {
19
20// LEONIDA_ASYNC_MIN_BYTES as text: decimal bytes. 0 (every pipeline asynchronous, as without the variable) for null,
21// empty, "0" or text that is not a whole decimal number; `valid` (when given) says whether the text was usable, so the
22// caller can say that it ignored it.
23inline std::uint64_t parse_min_bytes(const char* text, bool* valid = nullptr) {
24 if (valid) *valid = true;
25 if (!text || !*text) return 0;
26 std::uint64_t value = 0;
27 for (const char* c = text; *c; ++c) {
28 const std::uint64_t digit = std::uint64_t(*c - '0');
29 if (*c < '0' || *c > '9' || value > (UINT64_MAX - digit) / 10) { // not a digit, or over 2^64 - 1
30 if (valid) *valid = false;
31 return 0;
32 }
33 value = value * 10 + digit;
34 }
35 return value;
36}
37
38// Both thresholds, as read from the environment: `compute` is LEONIDA_ASYNC_MIN_BYTES, `graphics` is
39// LEONIDA_ASYNC_MIN_BYTES_GRAPHICS or, when that is unset, empty or not a number, the same as `compute`.
40struct MinBytes {
41 std::uint64_t compute = 0;
42 std::uint64_t graphics = 0;
43 bool graphics_set = false; // LEONIDA_ASYNC_MIN_BYTES_GRAPHICS gave the graphics threshold
44};
45
46// `all_text`: LEONIDA_ASYNC_MIN_BYTES; `graphics_text`: LEONIDA_ASYNC_MIN_BYTES_GRAPHICS (null when unset). The
47// `valid` flags (when given) say whether each text was usable; an unset or empty one is valid.
48inline MinBytes parse_thresholds(const char* all_text, const char* graphics_text, bool* all_valid = nullptr,
49 bool* graphics_valid = nullptr) {
50 MinBytes out;
51 out.compute = parse_min_bytes(all_text, all_valid);
52 bool valid = true;
53 const std::uint64_t graphics = parse_min_bytes(graphics_text, &valid);
54 if (graphics_valid) *graphics_valid = valid;
55 out.graphics_set = valid && graphics_text && *graphics_text;
56 out.graphics = out.graphics_set ? graphics : out.compute;
57 return out;
58}
59
60// Whether a pipeline of `spirv_bytes` is built asynchronously: only with asynchronous builds on, and then when no
61// threshold is set (0) or the pipeline is at least that large.
62inline bool asynchronous(bool async_on, std::uint64_t min_bytes, std::uint64_t spirv_bytes) {
63 return async_on && (min_bytes == 0 || spirv_bytes >= min_bytes);
64}
65
66// The same for a graphics (or mesh) pipeline, whose size is all its stages, or a compute one (its module).
67inline bool asynchronous(bool async_on, const MinBytes& thresholds, bool graphics, std::uint64_t spirv_bytes) {
68 return asynchronous(async_on, graphics ? thresholds.graphics : thresholds.compute, spirv_bytes);
69}
70
71} // namespace leonida::async_pipelines
diff --git a/runtime/src/avx2_emulation.h b/runtime/src/avx2_emulation.h
new file mode 100644
index 000000000..48ddeae6a
--- /dev/null
+++ b/runtime/src/avx2_emulation.h
@@ -0,0 +1,1063 @@
1// Emulates F16C, FMA3 and AVX2 instructions on an x86-64 host that has AVX1 + SSE4.2 + OSXSAVE/YMM state
2// (docs/cpu_features.md).
3//
4// Pre-Haswell AVX1 + SSE4.2 hosts (Intel Sandy Bridge and Ivy Bridge) already provide 256-bit YMM0..YMM15 registers
5// saved by Windows in XSTATE_AVX (XCR0 bits 1-2), and execute all 128-bit and 256-bit AVX1 instructions natively.
6// Every F16C, FMA3 and AVX2 instruction (including register-source VBROADCASTSS/VBROADCASTSD) raises #UD
7// (STATUS_ILLEGAL_INSTRUCTION) cleanly on such a host.
8//
9// A vectored handler decodes the VEX-encoded instruction at RIP, reads and writes full 256-bit YMM state through
10// CONTEXT::FltSave.XmmRegisters (bits [127:0]) and LocateXStateFeature(XSTATE_AVX) (bits [255:128]), zeroes
11// YMM[dst][255:128] on every 128-bit VEX register write as required by the x86-64 VEX specification, and advances RIP.
12#pragma once
13
14#include <cmath>
15#include <cstddef>
16#include <cstdint>
17#include <cstring>
18
19namespace rt::avx2_emulation {
20
21enum class Category : uint8_t {
22 none = 0,
23 f16c,
24 fma3,
25 avx2,
26};
27
28struct Decoded {
29 Category cat = Category::none;
30 uint8_t vmap = 0; // 1 = 0F, 2 = 0F38, 3 = 0F3A
31 uint8_t op = 0; // primary opcode byte
32 uint8_t pp = 0; // 0 = none, 1 = 66, 2 = F3, 3 = F2
33 uint8_t vex_l = 0; // 0 = 128-bit, 1 = 256-bit
34 uint8_t vex_w = 0; // 0 or 1
35 uint8_t reg = 0; // ModRM.reg (0..15)
36 uint8_t vvvv = 0; // VEX.vvvv (0..15, already inverted)
37 uint8_t rm = 0; // ModRM.rm (0..15) when !mem
38 uint8_t imm = 0; // imm8 when vmap == 3 or map-1 immediate op
39 uint8_t length = 0; // total instruction length in bytes
40 uint8_t mem_bytes = 0; // memory operand byte width when mem (0 for per-lane vpmaskmov*)
41 bool mem = false; // ModRM.mod != 3
42 bool addr32 = false; // 0x67 address-size override
43 uint8_t seg = 0; // 0x64 (FS) or 0x65 (GS), else 0
44 int8_t base = -1; // 0..15 GPR, -1 none, -2 RIP-relative
45 int8_t index = -1; // 0..15 GPR, -1 none
46 uint8_t scale = 1; // 1, 2, 4 or 8
47 int32_t disp = 0;
48};
49
50union alignas(32) Ymm {
51 uint8_t u8[32];
52 int8_t i8[32];
53 uint16_t u16[16];
54 int16_t i16[16];
55 uint32_t u32[8];
56 int32_t i32[8];
57 uint64_t u64[4];
58 int64_t i64[4];
59 float f32[8];
60 double f64[4];
61};
62
63namespace detail {
64
65inline bool decode_modrm(const uint8_t* code, std::size_t avail, std::size_t& i, uint8_t rex_r, uint8_t rex_x,
66 uint8_t rex_b, Decoded& d) {
67 if (i >= avail) return false;
68 const uint8_t modrm = code[i++];
69 const uint8_t mod = modrm >> 6;
70 const uint8_t rm_low = modrm & 7;
71 d.reg = uint8_t(((modrm >> 3) & 7) | (rex_r << 3));
72 if (mod == 3) {
73 d.mem = false;
74 d.rm = uint8_t(rm_low | (rex_b << 3));
75 return true;
76 }
77 d.mem = true;
78 if (rm_low == 4) {
79 if (i >= avail) return false;
80 const uint8_t sib = code[i++];
81 d.scale = uint8_t(1u << (sib >> 6));
82 const uint8_t idx = uint8_t(((sib >> 3) & 7) | (rex_x << 3));
83 d.index = (idx == 4) ? int8_t(-1) : int8_t(idx);
84 const uint8_t base_low = sib & 7;
85 if (mod == 0 && base_low == 5) {
86 if (i + 4 > avail) return false;
87 d.base = -1;
88 std::memcpy(&d.disp, code + i, 4);
89 i += 4;
90 return true;
91 }
92 d.base = int8_t(base_low | (rex_b << 3));
93 } else if (mod == 0 && rm_low == 5) {
94 if (i + 4 > avail) return false;
95 d.base = -2;
96 std::memcpy(&d.disp, code + i, 4);
97 i += 4;
98 return true;
99 } else {
100 d.base = int8_t(rm_low | (rex_b << 3));
101 }
102 if (mod == 1) {
103 if (i + 1 > avail) return false;
104 d.disp = int8_t(code[i++]);
105 } else if (mod == 2) {
106 if (i + 4 > avail) return false;
107 std::memcpy(&d.disp, code + i, 4);
108 i += 4;
109 }
110 return true;
111}
112
113inline int16_t sat_i16(int32_t x) { return x > 32767 ? int16_t(32767) : x < -32768 ? int16_t(-32768) : int16_t(x); }
114inline int8_t sat_i8(int32_t x) { return x > 127 ? int8_t(127) : x < -128 ? int8_t(-128) : int8_t(x); }
115inline uint8_t sat_u8(int32_t x) { return x > 255 ? uint8_t(255) : x < 0 ? uint8_t(0) : uint8_t(x); }
116inline uint16_t sat_u16(int32_t x) { return x > 65535 ? uint16_t(65535) : x < 0 ? uint16_t(0) : uint16_t(x); }
117
118} // namespace detail
119
120// IEEE-754 binary16 -> binary32 (exact, preserves signed zero, Inf and NaN payload).
121inline float f16_to_f32(uint16_t h) {
122 const uint32_t sign = uint32_t(h & 0x8000u) << 16;
123 uint32_t exp = (h >> 10) & 0x1Fu;
124 uint32_t mant = h & 0x03FFu;
125 uint32_t bits = 0;
126 if (exp == 0) {
127 if (mant == 0) {
128 bits = sign;
129 } else {
130 int e = -14;
131 while ((mant & 0x0400u) == 0) {
132 mant <<= 1;
133 --e;
134 }
135 mant &= 0x03FFu;
136 bits = sign | (uint32_t(e + 127) << 23) | (mant << 13);
137 }
138 } else if (exp == 31) {
139 bits = mant == 0 ? (sign | 0x7F800000u) : (sign | 0x7FC00000u | (mant << 13));
140 } else {
141 bits = sign | ((exp + 112u) << 23) | (mant << 13);
142 }
143 float out = 0.0f;
144 std::memcpy(&out, &bits, sizeof out);
145 return out;
146}
147
148// IEEE-754 binary32 -> binary16 with rounding control `rc` (0=RN, 1=RD, 2=RU, 3=RZ).
149inline uint16_t f32_to_f16(float f, unsigned rc) {
150 uint32_t bits = 0;
151 std::memcpy(&bits, &f, sizeof bits);
152 const uint16_t sign = uint16_t((bits >> 16) & 0x8000u);
153 const uint32_t raw_exp = (bits >> 23) & 0xFFu;
154 const uint32_t mant = bits & 0x7FFFFFu;
155 if (raw_exp == 0xFFu) {
156 if (mant == 0) return uint16_t(sign | 0x7C00u);
157 return uint16_t(sign | 0x7E00u | uint16_t(mant >> 13));
158 }
159 int exp = int(raw_exp) - 127;
160 if (raw_exp == 0 && mant == 0) return sign;
161
162 const auto overflow_val = [&]() -> uint16_t {
163 switch (rc & 3u) {
164 case 0: return uint16_t(sign | 0x7C00u);
165 case 1: return sign ? uint16_t(sign | 0x7C00u) : uint16_t(0x7BFFu);
166 case 2: return sign ? uint16_t(sign | 0x7BFFu) : uint16_t(0x7C00u);
167 default: return uint16_t(sign | 0x7BFFu);
168 }
169 };
170 if (exp > 15) return overflow_val();
171
172 uint32_t sig = raw_exp == 0 ? mant : (0x800000u | mant);
173 if (raw_exp == 0) exp = -126;
174
175 uint32_t q = 0;
176 bool round_bit = false, sticky = false;
177 if (exp >= -14) {
178 q = sig >> 13;
179 round_bit = ((sig >> 12) & 1u) != 0;
180 sticky = (sig & 0xFFFu) != 0;
181 } else {
182 const unsigned shift = unsigned(13 + (-14 - exp));
183 if (shift >= 25) {
184 q = 0;
185 round_bit = false;
186 sticky = sig != 0;
187 } else {
188 q = sig >> shift;
189 round_bit = ((sig >> (shift - 1u)) & 1u) != 0;
190 sticky = (sig & ((uint32_t(1) << (shift - 1u)) - 1u)) != 0;
191 }
192 }
193
194 bool inc = false;
195 switch (rc & 3u) {
196 case 0: inc = round_bit && (sticky || (q & 1u)); break;
197 case 1: inc = (sign != 0) && (round_bit || sticky); break;
198 case 2: inc = (sign == 0) && (round_bit || sticky); break;
199 default: inc = false; break;
200 }
201
202 uint32_t packed = (exp >= -14 ? (uint32_t(exp + 14) << 10) + q : q) + (inc ? 1u : 0u);
203 if (packed >= 0x7C00u) return overflow_val();
204 return uint16_t(sign | uint16_t(packed));
205}
206
207inline Decoded decode(const uint8_t* code, std::size_t avail) {
208 Decoded d;
209 std::size_t i = 0;
210 for (; i < avail && i < 14; ++i) {
211 const uint8_t b = code[i];
212 if (b == 0x67) d.addr32 = true;
213 else if (b == 0x64 || b == 0x65) d.seg = b;
214 else if (b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E) d.seg = 0;
215 else break;
216 }
217 if (i >= avail || (code[i] != 0xC4 && code[i] != 0xC5)) return {};
218
219 uint8_t rex_r = 0, rex_x = 0, rex_b = 0;
220 if (code[i] == 0xC5) {
221 if (i + 3 > avail) return {};
222 const uint8_t b1 = code[i + 1];
223 rex_r = (~b1 >> 7) & 1;
224 d.vvvv = (~b1 >> 3) & 0xF;
225 d.vex_l = (b1 >> 2) & 1;
226 d.pp = b1 & 3;
227 d.vmap = 1;
228 d.vex_w = 0;
229 d.op = code[i + 2];
230 i += 3;
231 } else {
232 if (i + 4 > avail) return {};
233 const uint8_t b1 = code[i + 1];
234 const uint8_t b2 = code[i + 2];
235 rex_r = (~b1 >> 7) & 1;
236 rex_x = (~b1 >> 6) & 1;
237 rex_b = (~b1 >> 5) & 1;
238 d.vmap = b1 & 0x1F;
239 d.vex_w = (b2 >> 7) & 1;
240 d.vvvv = (~b2 >> 3) & 0xF;
241 d.vex_l = (b2 >> 2) & 1;
242 d.pp = b2 & 3;
243 d.op = code[i + 3];
244 i += 4;
245 }
246
247 if (d.vmap < 1 || d.vmap > 3) return {};
248 if (!detail::decode_modrm(code, avail, i, rex_r, rex_x, rex_b, d)) return {};
249
250 // Classify and determine immediate + memory operand sizes.
251 bool has_imm = false;
252 if (d.vmap == 1) {
253 // All 128-bit map-1 VEX instructions are AVX1 (native on Sandy Bridge); AVX2 adds VEX.L == 1 integer ops.
254 if (d.vex_l != 1) return {};
255 if (d.op == 0x70 && (d.pp == 1 || d.pp == 2 || d.pp == 3)) { // vpshufd (66), vpshufhw (F3), vpshuflw (F2)
256 if (d.vvvv != 0) return {};
257 d.cat = Category::avx2;
258 d.mem_bytes = 32;
259 has_imm = true;
260 } else if ((d.op == 0x71 || d.op == 0x72 || d.op == 0x73) && d.pp == 1) {
261 if (d.mem) return {};
262 const uint8_t sub = d.reg & 7;
263 const bool ok = (d.op == 0x71 || d.op == 0x72) ? (sub == 2 || sub == 4 || sub == 6)
264 : (sub == 2 || sub == 3 || sub == 6 || sub == 7);
265 if (!ok || (d.reg >= 8)) return {};
266 d.cat = Category::avx2;
267 has_imm = true;
268 } else if (d.op == 0xD7 && d.pp == 1) { // vpmovmskb r32/64, ymm
269 if (d.mem || d.vvvv != 0) return {};
270 d.cat = Category::avx2;
271 } else if (d.pp == 1) {
272 switch (d.op) {
273 case 0xD1: case 0xD2: case 0xD3: case 0xE1: case 0xE2: case 0xF1: case 0xF2: case 0xF3:
274 d.cat = Category::avx2;
275 d.mem_bytes = 16; // XMM/m128 shift count even for 256-bit YMM shifts
276 break;
277 case 0x60: case 0x61: case 0x62: case 0x63: case 0x64: case 0x65: case 0x66: case 0x67:
278 case 0x68: case 0x69: case 0x6A: case 0x6B: case 0x6C: case 0x6D:
279 case 0x74: case 0x75: case 0x76:
280 case 0xD4: case 0xD5: case 0xD8: case 0xD9: case 0xDA: case 0xDB: case 0xDC: case 0xDD: case 0xDE: case 0xDF:
281 case 0xE0: case 0xE3: case 0xE4: case 0xE5: case 0xE8: case 0xE9: case 0xEA: case 0xEB: case 0xEC: case 0xED:
282 case 0xEE: case 0xEF:
283 case 0xF4: case 0xF5: case 0xF6: case 0xF8: case 0xF9: case 0xFA: case 0xFB: case 0xFC: case 0xFD: case 0xFE:
284 d.cat = Category::avx2;
285 d.mem_bytes = 32;
286 break;
287 default:
288 return {};
289 }
290 } else {
291 return {};
292 }
293 } else if (d.vmap == 2) {
294 if (d.pp != 1) return {};
295 // F16C: vcvtph2ps (0F38 13, W=0, vvvv=0)
296 if (d.op == 0x13) {
297 if (d.vex_w != 0 || d.vvvv != 0) return {};
298 d.cat = Category::f16c;
299 d.mem_bytes = d.vex_l ? 16 : 8;
300 }
301 // FMA3: 0x96..0x9F, 0xA6..0xAF, 0xB6..0xBF
302 else if (((d.op & 0xF0) == 0x90 || (d.op & 0xF0) == 0xA0 || (d.op & 0xF0) == 0xB0) && (d.op & 0x0F) >= 6) {
303 const uint8_t lo = d.op & 0x0F;
304 const bool scalar = (lo >= 8) && ((lo & 1u) != 0);
305 if (scalar && d.vex_l != 0) return {};
306 d.cat = Category::fma3;
307 d.mem_bytes = scalar ? (d.vex_w ? 8 : 4) : (d.vex_l ? 32 : 16);
308 }
309 // Broadcasts & permutes & variable shifts & masked moves
310 else if (d.op == 0x18 && d.vex_w == 0 && d.vvvv == 0) { // vbroadcastss
311 d.cat = Category::avx2;
312 d.mem_bytes = 4;
313 } else if (d.op == 0x19 && d.vex_w == 0 && d.vvvv == 0 && d.vex_l == 1) { // vbroadcastsd
314 d.cat = Category::avx2;
315 d.mem_bytes = 8;
316 } else if (d.op == 0x5A && d.vex_w == 0 && d.vvvv == 0 && d.vex_l == 1 && d.mem) { // vbroadcasti128
317 d.cat = Category::avx2;
318 d.mem_bytes = 16;
319 } else if ((d.op == 0x78 || d.op == 0x79 || d.op == 0x58 || d.op == 0x59) && d.vex_w == 0 && d.vvvv == 0) {
320 d.cat = Category::avx2;
321 d.mem_bytes = d.op == 0x78 ? 1 : d.op == 0x79 ? 2 : d.op == 0x58 ? 4 : 8;
322 } else if ((d.op == 0x16 || d.op == 0x36) && d.vex_w == 0 && d.vex_l == 1) { // vpermps, vpermd
323 d.cat = Category::avx2;
324 d.mem_bytes = 32;
325 } else if (d.op == 0x45 || d.op == 0x47 || (d.op == 0x46 && d.vex_w == 0)) { // vpsrlv*, vpsllv*, vpsravd
326 d.cat = Category::avx2;
327 d.mem_bytes = d.vex_l ? 32 : 16;
328 } else if ((d.op == 0x8C || d.op == 0x8E) && d.mem) { // vpmaskmovd / vpmaskmovq
329 d.cat = Category::avx2;
330 d.mem_bytes = 0; // per-lane masked access
331 } else if (d.vex_l == 1) {
332 if ((d.op >= 0x20 && d.op <= 0x25) || (d.op >= 0x30 && d.op <= 0x35)) {
333 if (d.vvvv != 0) return {};
334 const uint8_t k = d.op & 0x0F;
335 d.cat = Category::avx2;
336 d.mem_bytes = (k == 0 || k == 3 || k == 5) ? 16 : (k == 1 || k == 4) ? 8 : 4;
337 } else if ((d.op == 0x1C || d.op == 0x1D || d.op == 0x1E) && d.vvvv == 0) { // vpabsb/w/d
338 d.cat = Category::avx2;
339 d.mem_bytes = 32;
340 } else {
341 switch (d.op) {
342 case 0x00: case 0x01: case 0x02: case 0x03: case 0x04: case 0x05: case 0x06: case 0x07:
343 case 0x08: case 0x09: case 0x0A: case 0x0B:
344 case 0x28: case 0x29: case 0x2B: case 0x37:
345 case 0x38: case 0x39: case 0x3A: case 0x3B: case 0x3C: case 0x3D: case 0x3E: case 0x3F:
346 case 0x40:
347 d.cat = Category::avx2;
348 d.mem_bytes = 32;
349 break;
350 default:
351 return {};
352 }
353 }
354 } else {
355 return {};
356 }
357 } else { // d.vmap == 3 (0F3A, all have imm8)
358 if (d.pp != 1) return {};
359 has_imm = true;
360 if (d.op == 0x1D && d.vex_w == 0 && d.vvvv == 0) { // vcvtps2ph
361 d.cat = Category::f16c;
362 d.mem_bytes = d.vex_l ? 16 : 8;
363 } else if (d.op == 0x02 && d.vex_w == 0) { // vpblendd (128 & 256)
364 d.cat = Category::avx2;
365 d.mem_bytes = d.vex_l ? 32 : 16;
366 } else if ((d.op == 0x00 || d.op == 0x01) && d.vex_w == 1 && d.vvvv == 0 && d.vex_l == 1) { // vpermq, vpermpd
367 d.cat = Category::avx2;
368 d.mem_bytes = 32;
369 } else if (d.op == 0x38 && d.vex_w == 0 && d.vex_l == 1) { // vinserti128
370 d.cat = Category::avx2;
371 d.mem_bytes = 16;
372 } else if (d.op == 0x39 && d.vex_w == 0 && d.vvvv == 0 && d.vex_l == 1) { // vextracti128
373 d.cat = Category::avx2;
374 d.mem_bytes = 16;
375 } else if ((d.op == 0x46 && d.vex_w == 0 && d.vex_l == 1) || // vperm2i128
376 (d.op == 0x0E && d.vex_l == 1) || // vpblendw
377 (d.op == 0x0F && d.vex_l == 1) || // vpalignr
378 (d.op == 0x4C && d.vex_w == 0 && d.vex_l == 1)) { // vpblendvb
379 d.cat = Category::avx2;
380 d.mem_bytes = 32;
381 } else {
382 return {};
383 }
384 }
385
386 if (has_imm) {
387 if (i >= avail) return {};
388 d.imm = code[i++];
389 }
390 if (i > 15) return {};
391 d.length = uint8_t(i);
392 return d;
393}
394
395} // namespace rt::avx2_emulation
396
397#ifdef _WIN32
398#include <windows.h>
399#include <intrin.h>
400
401#include <algorithm>
402#include <atomic>
403#include <cstdio>
404
405#if defined(__clang__)
406#define LEONIDA_AVX2_NO_BUILTIN __attribute__((no_builtin))
407#else
408#define LEONIDA_AVX2_NO_BUILTIN
409#endif
410
411namespace rt::avx2_emulation {
412
413struct Host {
414 bool avx2 = false, fma = false, f16c = false;
415};
416
417inline Host detect_host() {
418 Host h;
419 int r[4]{};
420 __cpuid(r, 0);
421 const int max_leaf = r[0];
422 if (max_leaf >= 1) {
423 __cpuid(r, 1);
424 h.fma = ((r[2] >> 12) & 1) != 0; // CPUID.01H:ECX.FMA[bit 12]
425 h.f16c = ((r[2] >> 29) & 1) != 0; // CPUID.01H:ECX.F16C[bit 29]
426 }
427 if (max_leaf >= 7) {
428 __cpuidex(r, 7, 0);
429 h.avx2 = ((r[1] >> 5) & 1) != 0; // CPUID.07H:EBX.AVX2[bit 5]
430 }
431 return h;
432}
433
434inline const char* category_name(Category c) {
435 switch (c) {
436 case Category::f16c: return "F16C";
437 case Category::fma3: return "FMA3";
438 case Category::avx2: return "AVX2";
439 default: return "none";
440 }
441}
442
443inline std::atomic<uint64_t>& count(Category c) {
444 static std::atomic<uint64_t> counts[4];
445 return counts[unsigned(c) & 3u];
446}
447
448namespace detail {
449
450__declspec(noinline) LEONIDA_AVX2_NO_BUILTIN inline void raw_copy(void* dst, const void* src, std::size_t bytes) {
451 __movsb(static_cast<unsigned char*>(dst), static_cast<const unsigned char*>(src), bytes);
452}
453
454inline int capture_exception(EXCEPTION_POINTERS* ep, EXCEPTION_RECORD* out) {
455 if (out && ep && ep->ExceptionRecord) *out = *ep->ExceptionRecord;
456 return EXCEPTION_EXECUTE_HANDLER;
457}
458
459inline bool safe_read(uint64_t addr, void* dst, std::size_t bytes, EXCEPTION_RECORD* fault) {
460 EXCEPTION_RECORD local{};
461 __try {
462 raw_copy(dst, reinterpret_cast<const void*>(addr), bytes);
463 return true;
464 } __except (capture_exception(GetExceptionInformation(), &local)) {
465 if (fault) *fault = local;
466 return false;
467 }
468}
469
470inline bool safe_write(uint64_t addr, const void* src, std::size_t bytes, EXCEPTION_RECORD* fault) {
471 EXCEPTION_RECORD local{};
472 __try {
473 raw_copy(reinterpret_cast<void*>(addr), src, bytes);
474 return true;
475 } __except (capture_exception(GetExceptionInformation(), &local)) {
476 if (fault) *fault = local;
477 return false;
478 }
479}
480
481inline std::size_t readable_bytes(uint64_t addr, std::size_t want) {
482 std::size_t got = 0;
483 while (got < want) {
484 MEMORY_BASIC_INFORMATION mbi;
485 if (!VirtualQuery(reinterpret_cast<void*>(addr + got), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT ||
486 (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS)) || !mbi.Protect)
487 break;
488 const uint64_t end = reinterpret_cast<uint64_t>(mbi.BaseAddress) + mbi.RegionSize;
489 const std::size_t rem = want - got;
490 got += std::size_t(end - (addr + got)) < rem ? std::size_t(end - (addr + got)) : rem;
491 }
492 return got;
493}
494
495inline uint64_t& gpr_ref(CONTEXT* c, unsigned r) {
496 switch (r & 15u) {
497 case 0: return c->Rax; case 1: return c->Rcx; case 2: return c->Rdx; case 3: return c->Rbx;
498 case 4: return c->Rsp; case 5: return c->Rbp; case 6: return c->Rsi; case 7: return c->Rdi;
499 case 8: return c->R8; case 9: return c->R9; case 10: return c->R10; case 11: return c->R11;
500 case 12: return c->R12; case 13: return c->R13; case 14: return c->R14; case 15: return c->R15;
501 default: return c->Rax;
502 }
503}
504
505inline uint64_t effective_addr(const Decoded& d, const CONTEXT* c) {
506 uint64_t ea = 0;
507 if (d.base == -2) ea = c->Rip + d.length;
508 else if (d.base >= 0) {
509 const uint64_t b = gpr_ref(const_cast<CONTEXT*>(c), unsigned(d.base));
510 ea = d.addr32 ? uint32_t(b) : b;
511 }
512 if (d.index >= 0) {
513 const uint64_t idx = gpr_ref(const_cast<CONTEXT*>(c), unsigned(d.index));
514 ea += (d.addr32 ? uint32_t(idx) : idx) * d.scale;
515 }
516 ea += uint64_t(int64_t(d.disp));
517 if (d.addr32) ea = uint32_t(ea);
518 if (d.seg == 0x65) ea += reinterpret_cast<uint64_t>(NtCurrentTeb());
519 return ea;
520}
521
522inline Ymm read_ymm(const CONTEXT* c, unsigned r) {
523 Ymm out{};
524 std::memcpy(&out.u8[0], &c->FltSave.XmmRegisters[r & 15u], 16);
525 DWORD64 mask = 0;
526 if (GetXStateFeaturesMask(const_cast<CONTEXT*>(c), &mask) && (mask & XSTATE_MASK_AVX)) {
527 DWORD len = 0;
528 const auto* hi = static_cast<const M128A*>(LocateXStateFeature(const_cast<CONTEXT*>(c), XSTATE_AVX, &len));
529 if (hi && len >= 16 * sizeof(M128A)) std::memcpy(&out.u8[16], &hi[r & 15u], 16);
530 }
531 return out;
532}
533
534// Writes XMM[r] and updates YMM[r][255:128]:
535// - For 128-bit VEX writes (`full256 == false`), zeroes YMM[r][255:128].
536// - For 256-bit VEX writes (`full256 == true`), writes `v.u8[16..31]` to XSTATE_AVX, zero-initializing the other
537// 15 upper lanes first if XSTATE_MASK_AVX was previously clean (0).
538inline void write_vec(CONTEXT* c, unsigned r, const Ymm& v, bool full256) {
539 r &= 15u;
540 std::memcpy(&c->FltSave.XmmRegisters[r], &v.u8[0], 16);
541 DWORD64 mask = 0;
542 const bool has_xstate = GetXStateFeaturesMask(c, &mask) != FALSE;
543 DWORD len = 0;
544 auto* hi = has_xstate ? static_cast<M128A*>(LocateXStateFeature(c, XSTATE_AVX, &len)) : nullptr;
545 if (!hi || len < 16 * sizeof(M128A)) return;
546 if (!full256) {
547 if (mask & XSTATE_MASK_AVX) std::memset(&hi[r], 0, 16);
548 return;
549 }
550 if ((mask & XSTATE_MASK_AVX) == 0) {
551 std::memset(hi, 0, 16 * sizeof(M128A));
552 SetXStateFeaturesMask(c, mask | XSTATE_MASK_AVX);
553 }
554 std::memcpy(&hi[r], &v.u8[16], 16);
555}
556
557// Executes one 128-bit lane (`lane` in {0, 1}) of a lane-wise 256-bit integer op (map 1 or map 2).
558inline void exec_lane128_map1(uint8_t op, uint8_t pp, uint8_t imm, const uint8_t* a8, const uint8_t* b8, uint8_t* out8) {
559 Ymm a{}, b{}, r{};
560 std::memcpy(a.u8, a8, 16);
561 std::memcpy(b.u8, b8, 16);
562 switch (op) {
563 case 0x60: for (int k = 0; k < 8; ++k) { r.u8[2 * k] = a.u8[k]; r.u8[2 * k + 1] = b.u8[k]; } break;
564 case 0x68: for (int k = 0; k < 8; ++k) { r.u8[2 * k] = a.u8[k + 8]; r.u8[2 * k + 1] = b.u8[k + 8]; } break;
565 case 0x61: for (int k = 0; k < 4; ++k) { r.u16[2 * k] = a.u16[k]; r.u16[2 * k + 1] = b.u16[k]; } break;
566 case 0x69: for (int k = 0; k < 4; ++k) { r.u16[2 * k] = a.u16[k + 4]; r.u16[2 * k + 1] = b.u16[k + 4]; } break;
567 case 0x62: for (int k = 0; k < 2; ++k) { r.u32[2 * k] = a.u32[k]; r.u32[2 * k + 1] = b.u32[k]; } break;
568 case 0x6A: for (int k = 0; k < 2; ++k) { r.u32[2 * k] = a.u32[k + 2]; r.u32[2 * k + 1] = b.u32[k + 2]; } break;
569 case 0x6C: r.u64[0] = a.u64[0]; r.u64[1] = b.u64[0]; break;
570 case 0x6D: r.u64[0] = a.u64[1]; r.u64[1] = b.u64[1]; break;
571 case 0x63:
572 for (int k = 0; k < 8; ++k) r.i8[k] = sat_i8(a.i16[k]);
573 for (int k = 0; k < 8; ++k) r.i8[8 + k] = sat_i8(b.i16[k]);
574 break;
575 case 0x67:
576 for (int k = 0; k < 8; ++k) r.u8[k] = sat_u8(a.i16[k]);
577 for (int k = 0; k < 8; ++k) r.u8[8 + k] = sat_u8(b.i16[k]);
578 break;
579 case 0x6B:
580 for (int k = 0; k < 4; ++k) r.i16[k] = sat_i16(a.i32[k]);
581 for (int k = 0; k < 4; ++k) r.i16[4 + k] = sat_i16(b.i32[k]);
582 break;
583 case 0x64: for (int k = 0; k < 16; ++k) r.u8[k] = a.i8[k] > b.i8[k] ? 0xFFu : 0u; break;
584 case 0x65: for (int k = 0; k < 8; ++k) r.u16[k] = a.i16[k] > b.i16[k] ? 0xFFFFu : 0u; break;
585 case 0x66: for (int k = 0; k < 4; ++k) r.u32[k] = a.i32[k] > b.i32[k] ? 0xFFFFFFFFu : 0u; break;
586 case 0x74: for (int k = 0; k < 16; ++k) r.u8[k] = a.u8[k] == b.u8[k] ? 0xFFu : 0u; break;
587 case 0x75: for (int k = 0; k < 8; ++k) r.u16[k] = a.u16[k] == b.u16[k] ? 0xFFFFu : 0u; break;
588 case 0x76: for (int k = 0; k < 4; ++k) r.u32[k] = a.u32[k] == b.u32[k] ? 0xFFFFFFFFu : 0u; break;
589 case 0x70:
590 if (pp == 1) { // vpshufd: source is b
591 for (int k = 0; k < 4; ++k) r.u32[k] = b.u32[(imm >> (2 * k)) & 3];
592 } else if (pp == 2) { // vpshufhw
593 r.u64[0] = b.u64[0];
594 for (int k = 0; k < 4; ++k) r.u16[4 + k] = b.u16[4 + ((imm >> (2 * k)) & 3)];
595 } else { // vpshuflw
596 for (int k = 0; k < 4; ++k) r.u16[k] = b.u16[(imm >> (2 * k)) & 3];
597 r.u64[1] = b.u64[1];
598 }
599 break;
600 case 0xDB: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] & b.u64[k]; break;
601 case 0xDF: for (int k = 0; k < 2; ++k) r.u64[k] = (~a.u64[k]) & b.u64[k]; break;
602 case 0xEB: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] | b.u64[k]; break;
603 case 0xEF: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] ^ b.u64[k]; break;
604 case 0xFC: for (int k = 0; k < 16; ++k) r.u8[k] = uint8_t(a.u8[k] + b.u8[k]); break;
605 case 0xFD: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t(a.u16[k] + b.u16[k]); break;
606 case 0xFE: for (int k = 0; k < 4; ++k) r.u32[k] = a.u32[k] + b.u32[k]; break;
607 case 0xD4: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] + b.u64[k]; break;
608 case 0xF8: for (int k = 0; k < 16; ++k) r.u8[k] = uint8_t(a.u8[k] - b.u8[k]); break;
609 case 0xF9: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t(a.u16[k] - b.u16[k]); break;
610 case 0xFA: for (int k = 0; k < 4; ++k) r.u32[k] = a.u32[k] - b.u32[k]; break;
611 case 0xFB: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] - b.u64[k]; break;
612 case 0xEC: for (int k = 0; k < 16; ++k) r.i8[k] = sat_i8(int32_t(a.i8[k]) + int32_t(b.i8[k])); break;
613 case 0xED: for (int k = 0; k < 8; ++k) r.i16[k] = sat_i16(int32_t(a.i16[k]) + int32_t(b.i16[k])); break;
614 case 0xDC: for (int k = 0; k < 16; ++k) r.u8[k] = sat_u8(int32_t(a.u8[k]) + int32_t(b.u8[k])); break;
615 case 0xDD: for (int k = 0; k < 8; ++k) r.u16[k] = sat_u16(int32_t(a.u16[k]) + int32_t(b.u16[k])); break;
616 case 0xE8: for (int k = 0; k < 16; ++k) r.i8[k] = sat_i8(int32_t(a.i8[k]) - int32_t(b.i8[k])); break;
617 case 0xE9: for (int k = 0; k < 8; ++k) r.i16[k] = sat_i16(int32_t(a.i16[k]) - int32_t(b.i16[k])); break;
618 case 0xD8: for (int k = 0; k < 16; ++k) r.u8[k] = sat_u8(int32_t(a.u8[k]) - int32_t(b.u8[k])); break;
619 case 0xD9: for (int k = 0; k < 8; ++k) r.u16[k] = sat_u16(int32_t(a.u16[k]) - int32_t(b.u16[k])); break;
620 case 0xE0: for (int k = 0; k < 16; ++k) r.u8[k] = uint8_t((uint32_t(a.u8[k]) + uint32_t(b.u8[k]) + 1u) >> 1); break;
621 case 0xE3: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t((uint32_t(a.u16[k]) + uint32_t(b.u16[k]) + 1u) >> 1); break;
622 case 0xDA: for (int k = 0; k < 16; ++k) r.u8[k] = (std::min)(a.u8[k], b.u8[k]); break;
623 case 0xDE: for (int k = 0; k < 16; ++k) r.u8[k] = (std::max)(a.u8[k], b.u8[k]); break;
624 case 0xEA: for (int k = 0; k < 8; ++k) r.i16[k] = (std::min)(a.i16[k], b.i16[k]); break;
625 case 0xEE: for (int k = 0; k < 8; ++k) r.i16[k] = (std::max)(a.i16[k], b.i16[k]); break;
626 case 0xD5: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t(uint32_t(a.u16[k]) * uint32_t(b.u16[k])); break;
627 case 0xE4: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t((uint32_t(a.u16[k]) * uint32_t(b.u16[k])) >> 16); break;
628 case 0xE5: for (int k = 0; k < 8; ++k) r.i16[k] = int16_t((int32_t(a.i16[k]) * int32_t(b.i16[k])) >> 16); break;
629 case 0xF4:
630 r.u64[0] = uint64_t(a.u32[0]) * uint64_t(b.u32[0]);
631 r.u64[1] = uint64_t(a.u32[2]) * uint64_t(b.u32[2]);
632 break;
633 case 0xF5:
634 for (int k = 0; k < 4; ++k)
635 r.i32[k] = int32_t(a.i16[2 * k]) * int32_t(b.i16[2 * k]) +
636 int32_t(a.i16[2 * k + 1]) * int32_t(b.i16[2 * k + 1]);
637 break;
638 case 0xF6: {
639 uint64_t s0 = 0, s1 = 0;
640 for (int k = 0; k < 8; ++k) {
641 s0 += uint64_t(a.u8[k] > b.u8[k] ? a.u8[k] - b.u8[k] : b.u8[k] - a.u8[k]);
642 s1 += uint64_t(a.u8[8 + k] > b.u8[8 + k] ? a.u8[8 + k] - b.u8[8 + k] : b.u8[8 + k] - a.u8[8 + k]);
643 }
644 r.u64[0] = s0;
645 r.u64[1] = s1;
646 break;
647 }
648 default: break;
649 }
650 std::memcpy(out8, r.u8, 16);
651}
652
653inline void exec_lane128_map2(uint8_t op, const uint8_t* a8, const uint8_t* b8, uint8_t* out8) {
654 Ymm a{}, b{}, r{};
655 std::memcpy(a.u8, a8, 16);
656 std::memcpy(b.u8, b8, 16);
657 switch (op) {
658 case 0x00:
659 for (int k = 0; k < 16; ++k) r.u8[k] = (b.u8[k] & 0x80u) ? 0u : a.u8[b.u8[k] & 15u];
660 break;
661 case 0x01:
662 for (int k = 0; k < 4; ++k) r.u16[k] = uint16_t(a.u16[2 * k] + a.u16[2 * k + 1]);
663 for (int k = 0; k < 4; ++k) r.u16[4 + k] = uint16_t(b.u16[2 * k] + b.u16[2 * k + 1]);
664 break;
665 case 0x02:
666 for (int k = 0; k < 2; ++k) r.u32[k] = a.u32[2 * k] + a.u32[2 * k + 1];
667 for (int k = 0; k < 2; ++k) r.u32[2 + k] = b.u32[2 * k] + b.u32[2 * k + 1];
668 break;
669 case 0x03:
670 for (int k = 0; k < 4; ++k) r.i16[k] = sat_i16(int32_t(a.i16[2 * k]) + int32_t(a.i16[2 * k + 1]));
671 for (int k = 0; k < 4; ++k) r.i16[4 + k] = sat_i16(int32_t(b.i16[2 * k]) + int32_t(b.i16[2 * k + 1]));
672 break;
673 case 0x04:
674 for (int k = 0; k < 8; ++k)
675 r.i16[k] = sat_i16(int32_t(a.u8[2 * k]) * int32_t(b.i8[2 * k]) +
676 int32_t(a.u8[2 * k + 1]) * int32_t(b.i8[2 * k + 1]));
677 break;
678 case 0x05:
679 for (int k = 0; k < 4; ++k) r.u16[k] = uint16_t(a.u16[2 * k] - a.u16[2 * k + 1]);
680 for (int k = 0; k < 4; ++k) r.u16[4 + k] = uint16_t(b.u16[2 * k] - b.u16[2 * k + 1]);
681 break;
682 case 0x06:
683 for (int k = 0; k < 2; ++k) r.u32[k] = a.u32[2 * k] - a.u32[2 * k + 1];
684 for (int k = 0; k < 2; ++k) r.u32[2 + k] = b.u32[2 * k] - b.u32[2 * k + 1];
685 break;
686 case 0x07:
687 for (int k = 0; k < 4; ++k) r.i16[k] = sat_i16(int32_t(a.i16[2 * k]) - int32_t(a.i16[2 * k + 1]));
688 for (int k = 0; k < 4; ++k) r.i16[4 + k] = sat_i16(int32_t(b.i16[2 * k]) - int32_t(b.i16[2 * k + 1]));
689 break;
690 case 0x08:
691 for (int k = 0; k < 16; ++k) r.i8[k] = b.i8[k] < 0 ? int8_t(-int32_t(a.i8[k])) : (b.i8[k] == 0 ? 0 : a.i8[k]);
692 break;
693 case 0x09:
694 for (int k = 0; k < 8; ++k) r.i16[k] = b.i16[k] < 0 ? int16_t(-int32_t(a.i16[k])) : (b.i16[k] == 0 ? 0 : a.i16[k]);
695 break;
696 case 0x0A:
697 for (int k = 0; k < 4; ++k) r.i32[k] = b.i32[k] < 0 ? int32_t(0u - a.u32[k]) : (b.i32[k] == 0 ? 0 : a.i32[k]);
698 break;
699 case 0x0B:
700 for (int k = 0; k < 8; ++k) r.i16[k] = int16_t(((int32_t(a.i16[k]) * int32_t(b.i16[k])) + 0x4000) >> 15);
701 break;
702 case 0x1C: for (int k = 0; k < 16; ++k) r.u8[k] = uint8_t(b.i8[k] < 0 ? -int32_t(b.i8[k]) : b.i8[k]); break;
703 case 0x1D: for (int k = 0; k < 8; ++k) r.u16[k] = uint16_t(b.i16[k] < 0 ? -int32_t(b.i16[k]) : b.i16[k]); break;
704 case 0x1E: for (int k = 0; k < 4; ++k) r.u32[k] = b.i32[k] < 0 ? (0u - b.u32[k]) : b.u32[k]; break;
705 case 0x28:
706 r.i64[0] = int64_t(a.i32[0]) * int64_t(b.i32[0]);
707 r.i64[1] = int64_t(a.i32[2]) * int64_t(b.i32[2]);
708 break;
709 case 0x29: for (int k = 0; k < 2; ++k) r.u64[k] = a.u64[k] == b.u64[k] ? ~uint64_t(0) : 0ull; break;
710 case 0x2B:
711 for (int k = 0; k < 4; ++k) r.u16[k] = sat_u16(a.i32[k]);
712 for (int k = 0; k < 4; ++k) r.u16[4 + k] = sat_u16(b.i32[k]);
713 break;
714 case 0x37: for (int k = 0; k < 2; ++k) r.u64[k] = a.i64[k] > b.i64[k] ? ~uint64_t(0) : 0ull; break;
715 case 0x38: for (int k = 0; k < 16; ++k) r.i8[k] = (std::min)(a.i8[k], b.i8[k]); break;
716 case 0x39: for (int k = 0; k < 4; ++k) r.i32[k] = (std::min)(a.i32[k], b.i32[k]); break;
717 case 0x3A: for (int k = 0; k < 8; ++k) r.u16[k] = (std::min)(a.u16[k], b.u16[k]); break;
718 case 0x3B: for (int k = 0; k < 4; ++k) r.u32[k] = (std::min)(a.u32[k], b.u32[k]); break;
719 case 0x3C: for (int k = 0; k < 16; ++k) r.i8[k] = (std::max)(a.i8[k], b.i8[k]); break;
720 case 0x3D: for (int k = 0; k < 4; ++k) r.i32[k] = (std::max)(a.i32[k], b.i32[k]); break;
721 case 0x3E: for (int k = 0; k < 8; ++k) r.u16[k] = (std::max)(a.u16[k], b.u16[k]); break;
722 case 0x3F: for (int k = 0; k < 4; ++k) r.u32[k] = (std::max)(a.u32[k], b.u32[k]); break;
723 case 0x40: for (int k = 0; k < 4; ++k) r.u32[k] = a.u32[k] * b.u32[k]; break;
724 default: break;
725 }
726 std::memcpy(out8, r.u8, 16);
727}
728
729inline void exec_shift_count(Ymm& out, const Ymm& src, uint64_t cnt, unsigned elem_bits, int mode) {
730 // mode: 0 = logical right, 1 = arithmetic right, 2 = logical left
731 if (elem_bits == 16) {
732 for (int k = 0; k < 16; ++k) {
733 if (mode == 2) out.u16[k] = cnt >= 16 ? 0u : uint16_t(src.u16[k] << cnt);
734 else if (mode == 0) out.u16[k] = cnt >= 16 ? 0u : uint16_t(src.u16[k] >> cnt);
735 else out.i16[k] = cnt >= 16 ? int16_t(src.i16[k] < 0 ? -1 : 0) : int16_t(src.i16[k] >> cnt);
736 }
737 } else if (elem_bits == 32) {
738 for (int k = 0; k < 8; ++k) {
739 if (mode == 2) out.u32[k] = cnt >= 32 ? 0u : (src.u32[k] << cnt);
740 else if (mode == 0) out.u32[k] = cnt >= 32 ? 0u : (src.u32[k] >> cnt);
741 else out.i32[k] = cnt >= 32 ? (src.i32[k] < 0 ? -1 : 0) : (src.i32[k] >> cnt);
742 }
743 } else {
744 for (int k = 0; k < 4; ++k) {
745 out.u64[k] = cnt >= 64 ? 0ull : (mode == 2 ? (src.u64[k] << cnt) : (src.u64[k] >> cnt));
746 }
747 }
748}
749
750} // namespace detail
751
752inline bool apply(const Decoded& d, CONTEXT* c, EXCEPTION_RECORD* fault = nullptr) {
753 if (d.cat == Category::none) return false;
754 const bool full256 = d.vex_l == 1;
755
756 // Special memory-store instructions first (vcvtps2ph, vextracti128, vpmaskmov* store)
757 if (d.vmap == 3 && d.op == 0x1D) { // vcvtps2ph xmm/m, xmm/ymm, imm8 (src = reg, dst = rm/mem)
758 const Ymm src = detail::read_ymm(c, d.reg);
759 const unsigned rc = (d.imm & 4u) ? ((c->FltSave.MxCsr >> 13) & 3u) : (d.imm & 3u);
760 Ymm dst{};
761 const int lanes = full256 ? 8 : 4;
762 for (int k = 0; k < lanes; ++k) dst.u16[k] = f32_to_f16(src.f32[k], rc);
763 if (d.mem) {
764 if (!detail::safe_write(detail::effective_addr(d, c), dst.u8, full256 ? 16 : 8, fault)) return false;
765 } else {
766 detail::write_vec(c, d.rm, dst, false); // always an XMM destination; zeroes YMM[rm][255:128]
767 }
768 c->Rip += d.length;
769 return true;
770 }
771
772 if (d.vmap == 3 && d.op == 0x39) { // vextracti128 xmm/m128, ymm, imm8 (src = reg, dst = rm/mem)
773 const Ymm src = detail::read_ymm(c, d.reg);
774 Ymm dst{};
775 std::memcpy(dst.u8, (d.imm & 1u) ? &src.u8[16] : &src.u8[0], 16);
776 if (d.mem) {
777 if (!detail::safe_write(detail::effective_addr(d, c), dst.u8, 16, fault)) return false;
778 } else {
779 detail::write_vec(c, d.rm, dst, false);
780 }
781 c->Rip += d.length;
782 return true;
783 }
784
785 if (d.vmap == 2 && (d.op == 0x8C || d.op == 0x8E)) { // vpmaskmovd / vpmaskmovq (faults ONLY on enabled lanes!)
786 const Ymm mask = detail::read_ymm(c, d.vvvv);
787 const uint64_t base_addr = detail::effective_addr(d, c);
788 const bool is_q = d.vex_w != 0;
789 const int lanes = full256 ? (is_q ? 4 : 8) : (is_q ? 2 : 4);
790 const std::size_t elem_sz = is_q ? 8 : 4;
791 if (d.op == 0x8C) {
792 Ymm dst{};
793 for (int k = 0; k < lanes; ++k) {
794 const bool en = is_q ? (mask.i64[k] < 0) : (mask.i32[k] < 0);
795 if (en && !detail::safe_read(base_addr + std::size_t(k) * elem_sz, &dst.u8[std::size_t(k) * elem_sz],
796 elem_sz, fault))
797 return false;
798 }
799 detail::write_vec(c, d.reg, dst, full256);
800 } else {
801 const Ymm src = detail::read_ymm(c, d.reg);
802 for (int k = 0; k < lanes; ++k) {
803 const bool en = is_q ? (mask.i64[k] < 0) : (mask.i32[k] < 0);
804 if (en && !detail::safe_write(base_addr + std::size_t(k) * elem_sz, &src.u8[std::size_t(k) * elem_sz],
805 elem_sz, fault))
806 return false;
807 }
808 }
809 c->Rip += d.length;
810 return true;
811 }
812
813 // Load r/m operand (register or `d.mem_bytes` from memory)
814 Ymm rm_vec{};
815 if (d.mem) {
816 if (!detail::safe_read(detail::effective_addr(d, c), rm_vec.u8, d.mem_bytes, fault)) return false;
817 } else {
818 rm_vec = detail::read_ymm(c, d.rm);
819 }
820
821 if (d.cat == Category::f16c) { // vcvtph2ps xmm/ymm, xmm/m64/m128
822 Ymm out{};
823 const int lanes = full256 ? 8 : 4;
824 for (int k = 0; k < lanes; ++k) out.f32[k] = f16_to_f32(rm_vec.u16[k]);
825 detail::write_vec(c, d.reg, out, full256);
826 c->Rip += d.length;
827 return true;
828 }
829
830 if (d.cat == Category::fma3) {
831 const Ymm r1 = detail::read_ymm(c, d.reg);
832 const Ymm r2 = detail::read_ymm(c, d.vvvv);
833 const Ymm& r3 = rm_vec;
834 const uint8_t hi_nib = d.op & 0xF0u;
835 const uint8_t lo_nib = d.op & 0x0Fu;
836 const Ymm& A = (hi_nib == 0x90u) ? r1 : r2;
837 const Ymm& B = (hi_nib == 0xA0u) ? r1 : r3;
838 const Ymm& C = (hi_nib == 0x90u) ? r2 : (hi_nib == 0xA0u) ? r3 : r1;
839 const bool scalar = (lo_nib >= 8) && ((lo_nib & 1u) != 0);
840 Ymm out = scalar ? r1 : Ymm{};
841
842 if (d.vex_w == 0) {
843 const int lanes = scalar ? 1 : (full256 ? 8 : 4);
844 for (int k = 0; k < lanes; ++k) {
845 float a = A.f32[k], b = B.f32[k], cv = C.f32[k];
846 if (lo_nib == 6) { if ((k & 1) == 0) cv = -cv; } // fmaddsub: odd +, even -
847 else if (lo_nib == 7) { if ((k & 1) != 0) cv = -cv; } // fmsubadd: odd -, even +
848 else {
849 if (lo_nib >= 0x0Cu) a = -a; // fnmadd / fnmsub
850 if (lo_nib == 0x0Au || lo_nib == 0x0Bu || lo_nib == 0x0Eu || lo_nib == 0x0Fu) cv = -cv;
851 }
852 out.f32[k] = std::fmaf(a, b, cv);
853 }
854 } else {
855 const int lanes = scalar ? 1 : (full256 ? 4 : 2);
856 for (int k = 0; k < lanes; ++k) {
857 double a = A.f64[k], b = B.f64[k], cv = C.f64[k];
858 if (lo_nib == 6) { if ((k & 1) == 0) cv = -cv; }
859 else if (lo_nib == 7) { if ((k & 1) != 0) cv = -cv; }
860 else {
861 if (lo_nib >= 0x0Cu) a = -a;
862 if (lo_nib == 0x0Au || lo_nib == 0x0Bu || lo_nib == 0x0Eu || lo_nib == 0x0Fu) cv = -cv;
863 }
864 out.f64[k] = std::fma(a, b, cv);
865 }
866 }
867 detail::write_vec(c, d.reg, out, full256);
868 c->Rip += d.length;
869 return true;
870 }
871
872 // AVX2
873 Ymm out{};
874 const Ymm v1 = detail::read_ymm(c, d.vvvv);
875
876 if (d.vmap == 1) {
877 if (d.op == 0xD7) { // vpmovmskb r32/64, ymm
878 uint32_t m = 0;
879 for (int k = 0; k < 32; ++k)
880 if (rm_vec.u8[k] & 0x80u) m |= (uint32_t(1) << k);
881 detail::gpr_ref(c, d.reg) = m; // zero-extended to 64 bits
882 c->Rip += d.length;
883 return true;
884 }
885 if (d.op == 0x71 || d.op == 0x72 || d.op == 0x73) { // immediate shifts: dst = vvvv, src = rm_vec
886 const uint8_t sub = d.reg & 7u;
887 if (d.op == 0x73 && (sub == 3 || sub == 7)) {
888 const unsigned sh = d.imm;
889 for (int lane = 0; lane < 2; ++lane) {
890 const uint8_t* s = &rm_vec.u8[lane * 16];
891 uint8_t* dst = &out.u8[lane * 16];
892 if (sh < 16) {
893 if (sub == 7) std::memcpy(dst + sh, s, 16 - sh); // vpslldq
894 else std::memcpy(dst, s + sh, 16 - sh); // vpsrldq
895 }
896 }
897 } else {
898 const unsigned bits = d.op == 0x71 ? 16 : d.op == 0x72 ? 32 : 64;
899 const int mode = sub == 2 ? 0 : sub == 4 ? 1 : 2;
900 detail::exec_shift_count(out, rm_vec, d.imm, bits, mode);
901 }
902 detail::write_vec(c, d.vvvv, out, true);
903 c->Rip += d.length;
904 return true;
905 }
906 if (d.op == 0xD1 || d.op == 0xD2 || d.op == 0xD3 || d.op == 0xE1 || d.op == 0xE2 ||
907 d.op == 0xF1 || d.op == 0xF2 || d.op == 0xF3) {
908 const unsigned bits = (d.op == 0xD1 || d.op == 0xE1 || d.op == 0xF1) ? 16
909 : (d.op == 0xD2 || d.op == 0xE2 || d.op == 0xF2) ? 32 : 64;
910 const int mode = (d.op < 0xE0) ? 0 : (d.op < 0xF0) ? 1 : 2;
911 detail::exec_shift_count(out, v1, rm_vec.u64[0], bits, mode);
912 detail::write_vec(c, d.reg, out, true);
913 c->Rip += d.length;
914 return true;
915 }
916 detail::exec_lane128_map1(d.op, d.pp, d.imm, &v1.u8[0], &rm_vec.u8[0], &out.u8[0]);
917 detail::exec_lane128_map1(d.op, d.pp, d.imm, &v1.u8[16], &rm_vec.u8[16], &out.u8[16]);
918 detail::write_vec(c, d.reg, out, true);
919 c->Rip += d.length;
920 return true;
921 }
922
923 if (d.vmap == 2) {
924 if (d.op == 0x78) {
925 std::memset(out.u8, rm_vec.u8[0], full256 ? 32 : 16);
926 } else if (d.op == 0x79) {
927 for (int k = 0; k < (full256 ? 16 : 8); ++k) out.u16[k] = rm_vec.u16[0];
928 } else if (d.op == 0x58 || d.op == 0x18) {
929 for (int k = 0; k < (full256 ? 8 : 4); ++k) out.u32[k] = rm_vec.u32[0];
930 } else if (d.op == 0x59 || d.op == 0x19) {
931 for (int k = 0; k < (full256 ? 4 : 2); ++k) out.u64[k] = rm_vec.u64[0];
932 } else if (d.op == 0x5A) {
933 std::memcpy(&out.u8[0], rm_vec.u8, 16);
934 std::memcpy(&out.u8[16], rm_vec.u8, 16);
935 } else if (d.op == 0x16 || d.op == 0x36) { // vpermps / vpermd: idx = v1, table = rm_vec
936 for (int k = 0; k < 8; ++k) out.u32[k] = rm_vec.u32[v1.u32[k] & 7u];
937 } else if (d.op == 0x45 || d.op == 0x46 || d.op == 0x47) { // vpsrlvd/q, vpsravd, vpsllvd/q
938 if (d.vex_w == 0) {
939 const int lanes = full256 ? 8 : 4;
940 for (int k = 0; k < lanes; ++k) {
941 const uint32_t sh = rm_vec.u32[k];
942 if (d.op == 0x47) out.u32[k] = sh >= 32 ? 0u : (v1.u32[k] << sh);
943 else if (d.op == 0x45) out.u32[k] = sh >= 32 ? 0u : (v1.u32[k] >> sh);
944 else out.i32[k] = sh >= 32 ? (v1.i32[k] < 0 ? -1 : 0) : (v1.i32[k] >> sh);
945 }
946 } else {
947 const int lanes = full256 ? 4 : 2;
948 for (int k = 0; k < lanes; ++k) {
949 const uint64_t sh = rm_vec.u64[k];
950 out.u64[k] = sh >= 64 ? 0ull : (d.op == 0x47 ? (v1.u64[k] << sh) : (v1.u64[k] >> sh));
951 }
952 }
953 } else if (d.op >= 0x20 && d.op <= 0x25) {
954 switch (d.op) {
955 case 0x20: for (int k = 0; k < 16; ++k) out.i16[k] = rm_vec.i8[k]; break;
956 case 0x21: for (int k = 0; k < 8; ++k) out.i32[k] = rm_vec.i8[k]; break;
957 case 0x22: for (int k = 0; k < 4; ++k) out.i64[k] = rm_vec.i8[k]; break;
958 case 0x23: for (int k = 0; k < 8; ++k) out.i32[k] = rm_vec.i16[k]; break;
959 case 0x24: for (int k = 0; k < 4; ++k) out.i64[k] = rm_vec.i16[k]; break;
960 case 0x25: for (int k = 0; k < 4; ++k) out.i64[k] = rm_vec.i32[k]; break;
961 }
962 } else if (d.op >= 0x30 && d.op <= 0x35) {
963 switch (d.op) {
964 case 0x30: for (int k = 0; k < 16; ++k) out.u16[k] = rm_vec.u8[k]; break;
965 case 0x31: for (int k = 0; k < 8; ++k) out.u32[k] = rm_vec.u8[k]; break;
966 case 0x32: for (int k = 0; k < 4; ++k) out.u64[k] = rm_vec.u8[k]; break;
967 case 0x33: for (int k = 0; k < 8; ++k) out.u32[k] = rm_vec.u16[k]; break;
968 case 0x34: for (int k = 0; k < 4; ++k) out.u64[k] = rm_vec.u16[k]; break;
969 case 0x35: for (int k = 0; k < 4; ++k) out.u64[k] = rm_vec.u32[k]; break;
970 }
971 } else {
972 detail::exec_lane128_map2(d.op, &v1.u8[0], &rm_vec.u8[0], &out.u8[0]);
973 detail::exec_lane128_map2(d.op, &v1.u8[16], &rm_vec.u8[16], &out.u8[16]);
974 }
975 detail::write_vec(c, d.reg, out, full256);
976 c->Rip += d.length;
977 return true;
978 }
979
980 // d.vmap == 3
981 if (d.op == 0x02) { // vpblendd
982 const int lanes = full256 ? 8 : 4;
983 for (int k = 0; k < lanes; ++k) out.u32[k] = ((d.imm >> k) & 1u) ? rm_vec.u32[k] : v1.u32[k];
984 } else if (d.op == 0x00 || d.op == 0x01) { // vpermq / vpermpd
985 for (int k = 0; k < 4; ++k) out.u64[k] = rm_vec.u64[(d.imm >> (2 * k)) & 3u];
986 } else if (d.op == 0x38) { // vinserti128
987 out = v1;
988 std::memcpy((d.imm & 1u) ? &out.u8[16] : &out.u8[0], rm_vec.u8, 16);
989 } else if (d.op == 0x46) { // vperm2i128
990 const auto pick = [&](uint8_t ctl, uint8_t* dst16) {
991 if (ctl & 8u) {
992 std::memset(dst16, 0, 16);
993 } else {
994 const uint8_t* src16 = (ctl & 2u) ? &rm_vec.u8[(ctl & 1u) * 16] : &v1.u8[(ctl & 1u) * 16];
995 std::memcpy(dst16, src16, 16);
996 }
997 };
998 pick(d.imm & 0x0Fu, &out.u8[0]);
999 pick((d.imm >> 4) & 0x0Fu, &out.u8[16]);
1000 } else if (d.op == 0x0E) { // vpblendw (same 8-bit imm8 mask applied to both 128-bit lanes)
1001 for (int lane = 0; lane < 2; ++lane)
1002 for (int k = 0; k < 8; ++k)
1003 out.u16[lane * 8 + k] = ((d.imm >> k) & 1u) ? rm_vec.u16[lane * 8 + k] : v1.u16[lane * 8 + k];
1004 } else if (d.op == 0x0F) { // vpalignr (per 128-bit lane)
1005 for (int lane = 0; lane < 2; ++lane) {
1006 uint8_t tmp[32]{};
1007 std::memcpy(tmp, &rm_vec.u8[lane * 16], 16);
1008 std::memcpy(tmp + 16, &v1.u8[lane * 16], 16);
1009 if (d.imm < 32) {
1010 const std::size_t n = std::min<std::size_t>(16, 32 - d.imm);
1011 std::memcpy(&out.u8[lane * 16], tmp + d.imm, n);
1012 }
1013 }
1014 } else if (d.op == 0x4C) { // vpblendvb
1015 const Ymm m = detail::read_ymm(c, (d.imm >> 4) & 0xFu);
1016 for (int k = 0; k < 32; ++k) out.u8[k] = (m.u8[k] & 0x80u) ? rm_vec.u8[k] : v1.u8[k];
1017 }
1018 detail::write_vec(c, d.reg, out, full256);
1019 c->Rip += d.length;
1020 return true;
1021}
1022
1023inline LONG CALLBACK handler(EXCEPTION_POINTERS* info) {
1024 if (info->ExceptionRecord->ExceptionCode != STATUS_ILLEGAL_INSTRUCTION) return EXCEPTION_CONTINUE_SEARCH;
1025 CONTEXT* c = info->ContextRecord;
1026 uint8_t code[15]{};
1027 std::size_t avail = sizeof code;
1028 if ((c->Rip & 0xFFFu) <= 0x1000u - sizeof code) {
1029 if (!detail::safe_read(c->Rip, code, sizeof code, nullptr)) return EXCEPTION_CONTINUE_SEARCH;
1030 } else {
1031 avail = detail::readable_bytes(c->Rip, sizeof code);
1032 if (avail < 3) return EXCEPTION_CONTINUE_SEARCH;
1033 std::memcpy(code, reinterpret_cast<const void*>(c->Rip), avail);
1034 }
1035
1036 const Decoded d = decode(code, avail);
1037 if (d.cat == Category::none) return EXCEPTION_CONTINUE_SEARCH;
1038
1039 const uint64_t fault_rip = c->Rip;
1040 EXCEPTION_RECORD fault{};
1041 if (!apply(d, c, &fault)) {
1042 EXCEPTION_RECORD* r = info->ExceptionRecord;
1043 r->ExceptionCode = fault.ExceptionCode;
1044 r->ExceptionFlags = 0;
1045 r->NumberParameters = fault.NumberParameters;
1046 for (DWORD k = 0; k < fault.NumberParameters && k < EXCEPTION_MAXIMUM_PARAMETERS; ++k)
1047 r->ExceptionInformation[k] = fault.ExceptionInformation[k];
1048 return EXCEPTION_CONTINUE_SEARCH;
1049 }
1050
1051 if (count(d.cat).fetch_add(1, std::memory_order_relaxed) == 0)
1052 std::fprintf(stderr, "[rt] cpu: this CPU has no %s; emulating it (first at %p)\n", category_name(d.cat),
1053 reinterpret_cast<void*>(fault_rip));
1054 return EXCEPTION_CONTINUE_EXECUTION;
1055}
1056
1057inline bool install() {
1058 static void* const cookie = AddVectoredExceptionHandler(1, &handler);
1059 return cookie != nullptr;
1060}
1061
1062} // namespace rt::avx2_emulation
1063#endif
diff --git a/runtime/src/base_reservation.h b/runtime/src/base_reservation.h
index b76c28c70..8566a4d33 100644
--- a/runtime/src/base_reservation.h
+++ b/runtime/src/base_reservation.h
@@ -35,24 +35,51 @@ struct Range {
35 std::uint64_t size = 0; 35 std::uint64_t size = 0;
36}; 36};
37 37
38// Parses "<hex_base>:<hex_size>" (as stored in LEONIDA_BASE_RESERVED), rejecting trailing characters,
39// zero sizes, hex overflow, and ranges whose base + size wraps 64-bit address space.
40inline std::optional<Range> parse_range(const wchar_t* value) {
41 if (!value || !*value) return std::nullopt;
42 const wchar_t* p = value;
43 auto parse_hex = [&](std::uint64_t& out) -> bool {
44 if (!*p) return false;
45 std::uint64_t v = 0;
46 bool any = false;
47 while (*p) {
48 unsigned digit = 0;
49 if (*p >= L'0' && *p <= L'9') digit = static_cast<unsigned>(*p - L'0');
50 else if (*p >= L'a' && *p <= L'f') digit = static_cast<unsigned>(*p - L'a' + 10);
51 else if (*p >= L'A' && *p <= L'F') digit = static_cast<unsigned>(*p - L'A' + 10);
52 else break;
53 if (v > (UINT64_MAX - digit) / 16) return false;
54 v = v * 16 + digit;
55 any = true;
56 ++p;
57 }
58 if (!any) return false;
59 out = v;
60 return true;
61 };
62 Range r{};
63 if (!parse_hex(r.base) || *p != L':') return std::nullopt;
64 ++p;
65 if (!parse_hex(r.size) || *p != L'\0') return std::nullopt;
66 if (!r.size || r.base > UINT64_MAX - r.size) return std::nullopt;
67 return r;
68}
69
38// The range this process was started with (LEONIDA_BASE_RESERVED), if any. 70// The range this process was started with (LEONIDA_BASE_RESERVED), if any.
39inline std::optional<Range> inherited() { 71inline std::optional<Range> inherited() {
40 wchar_t value[64] = {}; 72 wchar_t value[64] = {};
41 const DWORD length = GetEnvironmentVariableW(kVariable, value, 64); 73 const DWORD length = GetEnvironmentVariableW(kVariable, value, 64);
42 if (!length || length >= 64) return std::nullopt; 74 if (!length || length >= 64) return std::nullopt;
43 Range r{}; 75 return parse_range(value);
44 // swscanf_s, not swscanf (MSVC's C4996): integer conversions take no buffer sizes, so the parse is the same.
45 if (swscanf_s(value, L"%llx:%llx", reinterpret_cast<unsigned long long*>(&r.base),
46 reinterpret_cast<unsigned long long*>(&r.size)) != 2 ||
47 !r.size)
48 return std::nullopt;
49 return r;
50} 76}
51 77
52// Commits [base, base + size) for the loader when it lies inside the reservation this process was started with and 78// Commits [base, base + size) for the loader when it lies inside the reservation this process was started with and
53// that reservation is still in place; returns null otherwise (the caller then allocates as usual). The reservation 79// that reservation is still in place; returns null otherwise (the caller then allocates as usual). The reservation
54// is the allocation, so VirtualFree(base, 0, MEM_RELEASE) frees it as it frees any image. 80// is the allocation, so VirtualFree(base, 0, MEM_RELEASE) frees it as it frees any image.
55inline void* commit_reserved(std::uint64_t base, std::uint64_t size) { 81inline void* commit_reserved(std::uint64_t base, std::uint64_t size) {
82 if (!size || base > UINT64_MAX - size) return nullptr;
56 const auto r = inherited(); 83 const auto r = inherited();
57 if (!r || base != r->base || size > r->size) return nullptr; 84 if (!r || base != r->base || size > r->size) return nullptr;
58 MEMORY_BASIC_INFORMATION info{}; 85 MEMORY_BASIC_INFORMATION info{};
@@ -63,7 +90,10 @@ inline void* commit_reserved(std::uint64_t base, std::uint64_t size) {
63} 90}
64 91
65// The preferred range of `image` when it has no relocations and that range is not free in this process; nullopt 92// The preferred range of `image` when it has no relocations and that range is not free in this process; nullopt
66// when the image can be mapped as it is (or is not a readable PE32+, which the loader reports itself). 93// when the image can be mapped as it is (or is not a readable PE32+, which the loader reports itself). Without a
94// relocation directory the loader refuses to move an image that has IMAGE_FILE_RELOCS_STRIPPED, and moves one with
95// the flag clear with nothing fixed up: that is right only for an image with no absolute addresses in it, so its
96// range is kept free either way. An image with a relocation table is moved and fixed up whatever the flag says.
67inline std::optional<Range> needed(const std::filesystem::path& image) { 97inline std::optional<Range> needed(const std::filesystem::path& image) {
68 std::ifstream file(image, std::ios::binary); 98 std::ifstream file(image, std::ios::binary);
69 IMAGE_DOS_HEADER dos{}; 99 IMAGE_DOS_HEADER dos{};
@@ -79,11 +109,17 @@ inline std::optional<Range> needed(const std::filesystem::path& image) {
79 oh.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size) 109 oh.DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size)
80 return std::nullopt; // relocatable: the loader moves it if the base is taken 110 return std::nullopt; // relocatable: the loader moves it if the base is taken
81 const Range r{oh.ImageBase, (static_cast<std::uint64_t>(oh.SizeOfImage) + 0xffff) & ~std::uint64_t{0xffff}}; 111 const Range r{oh.ImageBase, (static_cast<std::uint64_t>(oh.SizeOfImage) + 0xffff) & ~std::uint64_t{0xffff}};
82 for (std::uint64_t at = r.base; at < r.base + r.size;) { 112 if (r.base > UINT64_MAX - r.size) return std::nullopt;
113 const std::uint64_t end = r.base + r.size;
114 for (std::uint64_t at = r.base; at < end;) {
83 MEMORY_BASIC_INFORMATION info{}; 115 MEMORY_BASIC_INFORMATION info{};
84 if (!VirtualQuery(reinterpret_cast<void*>(at), &info, sizeof info)) return r; 116 if (!VirtualQuery(reinterpret_cast<void*>(at), &info, sizeof info)) return r;
85 if (info.State != MEM_FREE) return r; 117 if (info.State != MEM_FREE) return r;
86 at = reinterpret_cast<std::uint64_t>(info.BaseAddress) + info.RegionSize; 118 const std::uint64_t region_base = reinterpret_cast<std::uint64_t>(info.BaseAddress);
119 if (at < region_base || at - region_base >= info.RegionSize) return r;
120 const std::uint64_t avail = info.RegionSize - (at - region_base);
121 if (avail >= end - at) break;
122 at += avail;
87 } 123 }
88 return std::nullopt; 124 return std::nullopt;
89} 125}
diff --git a/runtime/src/bcpack.cpp b/runtime/src/bcpack.cpp
index bb4646787..8a6049d73 100644
--- a/runtime/src/bcpack.cpp
+++ b/runtime/src/bcpack.cpp
@@ -263,7 +263,7 @@ bool bc7(const Symbols &a, const Symbols &b, const BptcState &ep,
263// earlier uses of the slot. 263// earlier uses of the slot.
264struct Coverage { 264struct Coverage {
265 array<bool, 256> missing_ep{}, missing_ix{}; 265 array<bool, 256> missing_ep{}, missing_ix{};
266 size_t lost{}, inconsistent{}, limit{}; 266 size_t lost{}, inconsistent{}, limit{}, lost_limit{};
267 bool lost_endpoints{}, lost_indices{}; 267 bool lost_endpoints{}, lost_indices{};
268 void note_missing(const BptcState &block) { 268 void note_missing(const BptcState &block) {
269 const bool ep = block.ep_root >= 0 && missing_ep[block.ep_root]; 269 const bool ep = block.ep_root >= 0 && missing_ep[block.ep_root];
@@ -382,7 +382,7 @@ bool rebuild_bptc(unsigned codec, size_t i, size_t blocks, const Symbols &a,
382 } else if (i >= 256) 382 } else if (i >= 256)
383 coverage.note_missing(next); 383 coverage.note_missing(next);
384 if (!valid) return false; 384 if (!valid) return false;
385 if (coverage.lost > coverage.limit) { 385 if (coverage.lost > coverage.lost_limit) {
386 reason = coverage.lost_endpoints && coverage.lost_indices ? "missing-endpoint-and-index" : 386 reason = coverage.lost_endpoints && coverage.lost_indices ? "missing-endpoint-and-index" :
387 coverage.lost_endpoints ? "missing-endpoint" : "missing-index"; 387 coverage.lost_endpoints ? "missing-endpoint" : "missing-index";
388 return false; 388 return false;
@@ -394,7 +394,8 @@ bool rebuild_bptc(unsigned codec, size_t i, size_t blocks, const Symbols &a,
394 394
395Quality decode(unsigned codec, std::span<const uint8_t> source, 395Quality decode(unsigned codec, std::span<const uint8_t> source,
396 std::span<uint8_t> output, bool allow_fitted, 396 std::span<uint8_t> output, bool allow_fitted,
397 const Calibration *history, const char** failure, bool fast_entropy) { 397 const Calibration *history, const char** failure, bool fast_entropy, size_t lost_divisor,
398 Report *report) {
398 const char* reason = "bcpack-stream"; 399 const char* reason = "bcpack-stream";
399 if (failure) *failure = reason; 400 if (failure) *failure = reason;
400 Quality quality = Quality::confirmed; 401 Quality quality = Quality::confirmed;
@@ -410,12 +411,17 @@ Quality decode(unsigned codec, std::span<const uint8_t> source,
410 coverage.limit = allow_fitted && history 411 coverage.limit = allow_fitted && history
411 ? max<size_t>(2, output.size() / block_size / 1024) 412 ? max<size_t>(2, output.size() / block_size / 1024)
412 : 0; 413 : 0;
414 coverage.lost_limit = allow_fitted && history
415 ? max<size_t>(2, output.size() / block_size / max<size_t>(1, lost_divisor))
416 : 0;
417 if (report) *report = {output.size() / block_size, 0};
413 const bool valid = visit_blocks(codec, source, output.size(), [&](size_t i, const Symbols &first, const Symbols &tuple) { 418 const bool valid = visit_blocks(codec, source, output.size(), [&](size_t i, const Symbols &first, const Symbols &tuple) {
414 auto *dst = output.data() + i * block_size; 419 auto *dst = output.data() + i * block_size;
415 if (codec >= 6) 420 if (codec >= 6)
416 return rebuild_bptc(codec, i, output.size() / block_size, first, tuple, bptc, dst, history, allow_fitted, quality, coverage, reason); 421 return rebuild_bptc(codec, i, output.size() / block_size, first, tuple, bptc, dst, history, allow_fitted, quality, coverage, reason);
417 return rebuild_classic(codec, i, first, tuple, classic, dst, allow_fitted, quality); 422 return rebuild_classic(codec, i, first, tuple, classic, dst, allow_fitted, quality);
418 }, fast_entropy); 423 }, fast_entropy);
424 if (report) report->lost = coverage.lost;
419 if (valid && (!coverage.inconsistent || quality == Quality::fitted)) return quality; 425 if (valid && (!coverage.inconsistent || quality == Quality::fitted)) return quality;
420 if (failure) *failure = coverage.inconsistent && valid ? "anchor-or-pbit" : reason; 426 if (failure) *failure = coverage.inconsistent && valid ? "anchor-or-pbit" : reason;
421 return Quality::failed; 427 return Quality::failed;
diff --git a/runtime/src/bcpack.h b/runtime/src/bcpack.h
index 9c34a074b..22890dd1a 100644
--- a/runtime/src/bcpack.h
+++ b/runtime/src/bcpack.h
@@ -1,6 +1,7 @@
1// C++ BCPack decoder. Publish the caller's staged output only on success. 1// C++ BCPack decoder. Publish the caller's staged output only on success.
2#pragma once 2#pragma once
3#include <array> 3#include <array>
4#include <cstddef>
4#include <cstdint> 5#include <cstdint>
5#include <span> 6#include <span>
6 7
@@ -26,8 +27,18 @@ struct Calibration {
26 std::array<BC7, 256> bc7; 27 std::array<BC7, 256> bc7;
27}; 28};
28static_assert(sizeof(Calibration) == 256 * (70 + 168)); 29static_assert(sizeof(Calibration) == 256 * (70 + 168));
30// What a BC6H/BC7 decode had to approximate: blocks whose endpoint or index predictor chain starts at a history
31// entry the profile does not know ("lost"), out of all blocks of the request.
32struct Report {
33 std::size_t blocks = 0, lost = 0;
34};
35
36// lost_divisor: in fitted mode with a profile, a BC6H/BC7 request may have up to max(2, blocks / lost_divisor) lost
37// blocks; they are rebuilt from the bits the profile has, so their colours can be wrong. More than that fails as
38// missing-endpoint / missing-index. 1024 is tools/bcpack.py's _loose_limit. Inconsistent blocks (anchor or p-bit)
39// keep the 1-in-1,024 limit whatever this is.
29Quality decode(unsigned codec, std::span<const std::uint8_t> source, 40Quality decode(unsigned codec, std::span<const std::uint8_t> source,
30 std::span<std::uint8_t> output, bool allow_fitted = false, 41 std::span<std::uint8_t> output, bool allow_fitted = false,
31 const Calibration *history = nullptr, const char** failure = nullptr, 42 const Calibration *history = nullptr, const char** failure = nullptr,
32 bool fast_entropy = true); 43 bool fast_entropy = true, std::size_t lost_divisor = 1024, Report *report = nullptr);
33} // namespace leonida::bcpack 44} // namespace leonida::bcpack
diff --git a/runtime/src/bmi_emulation.h b/runtime/src/bmi_emulation.h
new file mode 100644
index 000000000..2d0c0a3b4
--- /dev/null
+++ b/runtime/src/bmi_emulation.h
@@ -0,0 +1,1148 @@
1// Emulates BMI1, BMI2, MOVBE and legacy LZCNT/TZCNT on an x86-64 host that lacks them (docs/cpu_features.md).
2//
3// Pre-Haswell AVX1 + SSE4.2 hosts (Intel Sandy Bridge and Ivy Bridge) have 256-bit XSAVE/YMM state, POPCNT, CX16,
4// AES-NI and PCLMULQDQ, but lack BMI1, BMI2, LZCNT and MOVBE:
5// - VEX-encoded BMI1 (ANDN, BEXTR, BLSI, BLSMSK, BLSR), VEX-encoded BMI2 (BZHI, MULX, PDEP, PEXT, RORX, SARX,
6// SHLX, SHRX) and legacy MOVBE raise #UD (STATUS_ILLEGAL_INSTRUCTION), so a vectored handler decodes the faulting
7// instruction, applies it to the thread's CONTEXT and steps RIP past it.
8// - Legacy LZCNT (F3 0F BD /r) and TZCNT (F3 0F BC /r) do NOT raise #UD without CPUID.80000001H:ECX.LZCNT /
9// CPUID.07H:EBX.BMI1: the CPU ignores the F3 prefix and executes BSR / BSF instead. BSR returns (width - 1 - clz)
10// instead of clz, and BSF leaves CF undefined (whereas 988 .pdata tzcnt sites immediately feed cmovb/cmovae/jae/jb)
11// and leaves the destination unmodified on zero. Before an image's sections are protected, patch_image() walks its
12// .pdata functions and 0xCC-delimited leaf functions: >=5-byte 32/64-bit register sites jump to branchless native
13// BSF/BSR + CMOV + BT stubs within 2 GiB, and 4-byte, 16-bit or memory sites become UD2 (0F 0B) backed by a
14// side-table of the original instruction bytes for the #UD handler. LEONIDA_LZCNT_PATCH=0 disables patching.
15#pragma once
16
17#include <cstddef>
18#include <cstdint>
19#include <cstring>
20
21namespace rt::bmi_emulation {
22
23enum class Op : uint8_t {
24 none = 0,
25 andn,
26 bextr,
27 blsi,
28 blsmsk,
29 blsr,
30 bzhi,
31 mulx,
32 pdep,
33 pext,
34 rorx,
35 sarx,
36 shlx,
37 shrx,
38 movbe_load,
39 movbe_store,
40 tzcnt,
41 lzcnt,
42};
43
44struct Decoded {
45 Op op = Op::none;
46 uint8_t length = 0; // total instruction bytes, prefixes included
47 uint8_t size = 4; // operand width in bytes: 2, 4 or 8
48 uint8_t dst = 0; // destination GPR (for mulx: high half)
49 uint8_t dst2 = 0; // second destination GPR (for mulx: low half)
50 uint8_t src1 = 0; // source or control GPR (vvvv or reg)
51 uint8_t rm = 0; // r/m GPR when !mem
52 uint8_t imm = 0; // immediate byte (rorx)
53 bool mem = false; // ModRM.mod != 3
54 bool addr32 = false; // 0x67 address-size override
55 uint8_t seg = 0; // 0x64 (FS) or 0x65 (GS), else 0
56 int8_t base = -1; // 0..15 GPR, -1 none, -2 RIP-relative
57 int8_t index = -1; // 0..15 GPR, -1 none
58 uint8_t scale = 1; // 1, 2, 4 or 8
59 int32_t disp = 0;
60};
61
62namespace detail {
63
64inline bool decode_modrm(const uint8_t* code, std::size_t avail, std::size_t& i, uint8_t rex_r, uint8_t rex_x,
65 uint8_t rex_b, uint8_t& reg_out, Decoded& d) {
66 if (i >= avail) return false;
67 const uint8_t modrm = code[i++];
68 const uint8_t mod = modrm >> 6;
69 const uint8_t rm_low = modrm & 7;
70 reg_out = uint8_t(((modrm >> 3) & 7) | (rex_r << 3));
71 if (mod == 3) {
72 d.mem = false;
73 d.rm = uint8_t(rm_low | (rex_b << 3));
74 return true;
75 }
76 d.mem = true;
77 if (rm_low == 4) {
78 if (i >= avail) return false;
79 const uint8_t sib = code[i++];
80 d.scale = uint8_t(1u << (sib >> 6));
81 const uint8_t idx = uint8_t(((sib >> 3) & 7) | (rex_x << 3));
82 d.index = (idx == 4) ? int8_t(-1) : int8_t(idx); // RSP means no index; R12 (idx == 12) is valid
83 const uint8_t base_low = sib & 7;
84 if (mod == 0 && base_low == 5) {
85 if (i + 4 > avail) return false;
86 d.base = -1;
87 std::memcpy(&d.disp, code + i, 4);
88 i += 4;
89 return true;
90 }
91 d.base = int8_t(base_low | (rex_b << 3));
92 } else if (mod == 0 && rm_low == 5) {
93 if (i + 4 > avail) return false;
94 d.base = -2; // RIP-relative (even when REX.B is set)
95 std::memcpy(&d.disp, code + i, 4);
96 i += 4;
97 return true;
98 } else {
99 d.base = int8_t(rm_low | (rex_b << 3));
100 }
101 if (mod == 1) {
102 if (i + 1 > avail) return false;
103 d.disp = int8_t(code[i++]);
104 } else if (mod == 2) {
105 if (i + 4 > avail) return false;
106 std::memcpy(&d.disp, code + i, 4);
107 i += 4;
108 }
109 return true;
110}
111
112// Length of one x86-64 instruction at `code[0..avail)`, or 0 if truncated / invalid in 64-bit mode.
113// Sets `tz_or_lz` to 1 for TZCNT (F3 0F BC /r), 2 for LZCNT (F3 0F BD /r), or 0 otherwise.
114inline std::size_t insn_len64(const uint8_t* code, std::size_t avail, int* tz_or_lz = nullptr) {
115 if (tz_or_lz) *tz_or_lz = 0;
116 std::size_t i = 0;
117 bool p66 = false, pf2 = false, pf3 = false, pf0 = false, addr32 = false, any_rex = false;
118 uint8_t rex = 0;
119 for (; i < avail && i < 14; ++i) {
120 const uint8_t b = code[i];
121 if ((b & 0xF0) == 0x40) {
122 rex = b;
123 any_rex = true;
124 continue;
125 }
126 if (b == 0x66) p66 = true;
127 else if (b == 0xF2) pf2 = true;
128 else if (b == 0xF3) pf3 = true;
129 else if (b == 0xF0) pf0 = true;
130 else if (b == 0x67) addr32 = true;
131 else if (b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E || b == 0x64 || b == 0x65) {}
132 else break;
133 rex = 0;
134 }
135 if (i >= avail) return 0;
136 const auto modrm_tail = [&](std::size_t pos) -> std::size_t {
137 if (pos >= avail) return 0;
138 const uint8_t m = code[pos++];
139 const uint8_t mod = m >> 6, rm = m & 7;
140 if (mod != 3) {
141 if (rm == 4) {
142 if (pos >= avail) return 0;
143 const uint8_t sib = code[pos++];
144 if (mod == 0 && (sib & 7) == 5) pos += 4;
145 } else if (mod == 0 && rm == 5) {
146 pos += 4;
147 }
148 if (mod == 1) pos += 1;
149 else if (mod == 2) pos += 4;
150 }
151 return pos <= avail ? pos : 0;
152 };
153 const uint8_t op = code[i++];
154 if (op == 0xC4 || op == 0xC5) {
155 if (p66 || pf2 || pf3 || pf0 || any_rex) return 0;
156 uint8_t vmap = 1, vop = 0;
157 if (op == 0xC5) {
158 if (i + 2 > avail) return 0;
159 vop = code[i + 1];
160 i += 2;
161 } else {
162 if (i + 3 > avail) return 0;
163 vmap = code[i] & 0x1F;
164 vop = code[i + 2];
165 i += 3;
166 }
167 if (vmap < 1 || vmap > 3) return 0;
168 if (vmap == 1 && vop == 0x77) return i <= 15 ? i : 0; // vzeroupper / vzeroall
169 i = modrm_tail(i);
170 if (!i) return 0;
171 if (vmap == 3 || (vmap == 1 && (vop == 0x70 || vop == 0x71 || vop == 0x72 || vop == 0x73 ||
172 vop == 0xC2 || vop == 0xC4 || vop == 0xC5 || vop == 0xC6)))
173 ++i;
174 return (i <= avail && i <= 15) ? i : 0;
175 }
176 const bool rex_w = (rex & 8) != 0;
177 if (op == 0x0F) {
178 if (i >= avail) return 0;
179 const uint8_t op2 = code[i++];
180 if (op2 == 0x38) {
181 if (i >= avail) return 0;
182 i = modrm_tail(i + 1);
183 return (i && i <= 15) ? i : 0;
184 }
185 if (op2 == 0x3A) {
186 if (i >= avail) return 0;
187 i = modrm_tail(i + 1);
188 if (!i) return 0;
189 ++i;
190 return (i <= avail && i <= 15) ? i : 0;
191 }
192 switch (op2) {
193 case 0x05: case 0x06: case 0x07: case 0x08: case 0x09: case 0x0B: case 0x0E:
194 case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: case 0x35: case 0x37: case 0x77:
195 case 0xA0: case 0xA1: case 0xA2: case 0xA8: case 0xA9: case 0xAA:
196 case 0xC8: case 0xC9: case 0xCA: case 0xCB: case 0xCC: case 0xCD: case 0xCE: case 0xCF:
197 return i <= 15 ? i : 0;
198 default: break;
199 }
200 if (op2 >= 0x80 && op2 <= 0x8F) {
201 i += (p66 && !rex_w) ? 2 : 4;
202 return (i <= avail && i <= 15) ? i : 0;
203 }
204 const int kind = (pf3 && !pf2 && !pf0 && (op2 == 0xBC || op2 == 0xBD)) ? (op2 == 0xBC ? 1 : 2) : 0;
205 i = modrm_tail(i);
206 if (!i) return 0;
207 if (op2 == 0x78 && (p66 || pf2) && !pf3) i += 2;
208 else if (op2 == 0x0F || op2 == 0x70 || op2 == 0x71 || op2 == 0x72 || op2 == 0x73 || op2 == 0xA4 ||
209 op2 == 0xAC || op2 == 0xBA || op2 == 0xC2 || op2 == 0xC4 || op2 == 0xC5 || op2 == 0xC6)
210 ++i;
211 if (i > avail || i > 15) return 0;
212 if (tz_or_lz) *tz_or_lz = kind;
213 return i;
214 }
215 switch (op) {
216 case 0x06: case 0x07: case 0x0E: case 0x16: case 0x17: case 0x1E: case 0x1F:
217 case 0x27: case 0x2F: case 0x37: case 0x3F: case 0x60: case 0x61: case 0x62:
218 case 0x82: case 0x9A: case 0xCE: case 0xD6: case 0xEA:
219 return 0; // invalid in 64-bit mode
220 default: break;
221 }
222 if ((op >= 0x50 && op <= 0x5F) || (op >= 0x90 && op <= 0x9F) ||
223 (op >= 0xA4 && op <= 0xA7) || (op >= 0xAA && op <= 0xAF) ||
224 op == 0xC3 || op == 0xC9 || op == 0xCB || op == 0xCC || op == 0xCF || op == 0xD7 ||
225 (op >= 0xEC && op <= 0xEF) || op == 0xF4 || op == 0xF5 || (op >= 0xF8 && op <= 0xFD))
226 return i <= 15 ? i : 0;
227 if ((op & 0xC7) == 0x04 || op == 0x6A || (op >= 0x70 && op <= 0x7F) || op == 0xA8 ||
228 (op >= 0xB0 && op <= 0xB7) || op == 0xCD || op == 0xD4 || op == 0xD5 ||
229 (op >= 0xE0 && op <= 0xE7) || op == 0xEB) {
230 ++i;
231 return (i <= avail && i <= 15) ? i : 0;
232 }
233 if (op == 0xC2 || op == 0xCA) {
234 i += 2;
235 return (i <= avail && i <= 15) ? i : 0;
236 }
237 if (op == 0xC8) {
238 i += 3;
239 return (i <= avail && i <= 15) ? i : 0;
240 }
241 if ((op & 0xC7) == 0x05 || op == 0x68 || op == 0xA9) {
242 i += (p66 && !rex_w) ? 2 : 4;
243 return (i <= avail && i <= 15) ? i : 0;
244 }
245 if (op == 0xE8 || op == 0xE9) {
246 i += 4;
247 return (i <= avail && i <= 15) ? i : 0;
248 }
249 if (op >= 0xB8 && op <= 0xBF) {
250 i += rex_w ? 8 : (p66 ? 2 : 4);
251 return (i <= avail && i <= 15) ? i : 0;
252 }
253 if (op >= 0xA0 && op <= 0xA3) {
254 i += addr32 ? 4 : 8;
255 return (i <= avail && i <= 15) ? i : 0;
256 }
257 if (i >= avail) return 0;
258 const uint8_t reg_field = (code[i] >> 3) & 7;
259 i = modrm_tail(i);
260 if (!i) return 0;
261 if (op == 0x80 || op == 0x83 || op == 0xC0 || op == 0xC1 || op == 0xC6 || op == 0x6B) ++i;
262 else if (op == 0x81 || op == 0x69 || op == 0xC7) i += (p66 && !rex_w) ? 2 : 4;
263 else if (op == 0xF6 && reg_field <= 1) ++i;
264 else if (op == 0xF7 && reg_field <= 1) i += (p66 && !rex_w) ? 2 : 4;
265 return (i <= avail && i <= 15) ? i : 0;
266}
267
268} // namespace detail
269
270inline Decoded decode(const uint8_t* code, std::size_t avail) {
271 Decoded d;
272 std::size_t i = 0;
273 bool p66 = false, pf2 = false, pf3 = false, pf0 = false, any_rex = false;
274 uint8_t rex = 0;
275 for (; i < avail && i < 14; ++i) {
276 const uint8_t b = code[i];
277 if ((b & 0xF0) == 0x40) {
278 rex = b;
279 any_rex = true;
280 continue;
281 }
282 if (b == 0x66) p66 = true;
283 else if (b == 0xF2) pf2 = true;
284 else if (b == 0xF3) pf3 = true;
285 else if (b == 0xF0) pf0 = true;
286 else if (b == 0x67) d.addr32 = true;
287 else if (b == 0x64 || b == 0x65) d.seg = b;
288 else if (b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E) d.seg = 0;
289 else break;
290 rex = 0;
291 }
292 if (pf0 || i >= avail) return {};
293
294 // 3-byte VEX (0xC4): BMI1 and BMI2 GPR instructions live in maps 2 (0F38) and 3 (0F3A) with VEX.L == 0.
295 if (code[i] == 0xC4) {
296 if (p66 || pf2 || pf3 || any_rex || i + 4 > avail) return {};
297 const uint8_t b1 = code[i + 1];
298 const uint8_t b2 = code[i + 2];
299 const uint8_t op = code[i + 3];
300 i += 4;
301 const uint8_t mmmmm = b1 & 0x1F;
302 const uint8_t vex_l = (b2 >> 2) & 1;
303 if (vex_l != 0 || (mmmmm != 2 && mmmmm != 3)) return {};
304 const uint8_t rex_r = (~b1 >> 7) & 1;
305 const uint8_t rex_x = (~b1 >> 6) & 1;
306 const uint8_t rex_b = (~b1 >> 5) & 1;
307 const uint8_t vex_w = (b2 >> 7) & 1;
308 const uint8_t vvvv = (~b2 >> 3) & 0xF;
309 const uint8_t pp = b2 & 3;
310 d.size = vex_w ? 8 : 4;
311 uint8_t reg = 0;
312 if (!detail::decode_modrm(code, avail, i, rex_r, rex_x, rex_b, reg, d)) return {};
313 if (mmmmm == 2) {
314 if (op == 0xF2 && pp == 0) { // ANDN r1, r2, r/m
315 d.op = Op::andn;
316 d.dst = reg;
317 d.src1 = vvvv;
318 } else if (op == 0xF3 && pp == 0) { // BLSR /1, BLSMSK /2, BLSI /3 (dst = vvvv, src = r/m)
319 if (reg == 1) d.op = Op::blsr;
320 else if (reg == 2) d.op = Op::blsmsk;
321 else if (reg == 3) d.op = Op::blsi;
322 else return {};
323 d.dst = vvvv;
324 } else if (op == 0xF5) {
325 if (pp == 0) { // BZHI r1, r/m, r2
326 d.op = Op::bzhi;
327 d.dst = reg;
328 d.src1 = vvvv;
329 } else if (pp == 3) { // PDEP r1, r2, r/m
330 d.op = Op::pdep;
331 d.dst = reg;
332 d.src1 = vvvv;
333 } else if (pp == 2) { // PEXT r1, r2, r/m
334 d.op = Op::pext;
335 d.dst = reg;
336 d.src1 = vvvv;
337 } else {
338 return {};
339 }
340 } else if (op == 0xF6 && pp == 3) { // MULX r1_hi, r2_lo, r/m
341 d.op = Op::mulx;
342 d.dst = reg;
343 d.dst2 = vvvv;
344 } else if (op == 0xF7) { // BEXTR (pp=0), SHLX (pp=1), SARX (pp=2), SHRX (pp=3): dst=reg, src=r/m, ctl=vvvv
345 d.op = pp == 0 ? Op::bextr : pp == 1 ? Op::shlx : pp == 2 ? Op::sarx : Op::shrx;
346 d.dst = reg;
347 d.src1 = vvvv;
348 } else {
349 return {};
350 }
351 } else { // mmmmm == 3 (0F3A)
352 if (op != 0xF0 || pp != 3 || vvvv != 0 || i >= avail) return {}; // RORX r1, r/m, imm8 (vvvv must be 1111b)
353 d.op = Op::rorx;
354 d.dst = reg;
355 d.imm = code[i++];
356 }
357 if (i > 15) return {};
358 d.length = uint8_t(i);
359 return d;
360 }
361
362 // Legacy 0F ...
363 if (code[i] != 0x0F || i + 2 > avail) return {};
364 const uint8_t op2 = code[i + 1];
365 i += 2;
366 const uint8_t rex_w = (rex >> 3) & 1;
367 const uint8_t rex_r = (rex >> 2) & 1;
368 const uint8_t rex_x = (rex >> 1) & 1;
369 const uint8_t rex_b = rex & 1;
370 d.size = rex_w ? 8 : (p66 ? 2 : 4);
371
372 if (op2 == 0x38) { // MOVBE: 0F 38 F0 /r (load) and 0F 38 F1 /r (store); F2 is CRC32, not MOVBE
373 if (pf2 || pf3 || i >= avail) return {};
374 const uint8_t op3 = code[i++];
375 if (op3 != 0xF0 && op3 != 0xF1) return {};
376 uint8_t reg = 0;
377 if (!detail::decode_modrm(code, avail, i, rex_r, rex_x, rex_b, reg, d) || !d.mem || i > 15) return {};
378 d.op = op3 == 0xF0 ? Op::movbe_load : Op::movbe_store;
379 d.dst = reg;
380 d.src1 = reg;
381 d.length = uint8_t(i);
382 return d;
383 }
384
385 if ((op2 == 0xBC || op2 == 0xBD) && pf3 && !pf2) { // TZCNT (F3 0F BC /r), LZCNT (F3 0F BD /r)
386 uint8_t reg = 0;
387 if (!detail::decode_modrm(code, avail, i, rex_r, rex_x, rex_b, reg, d) || i > 15) return {};
388 d.op = op2 == 0xBC ? Op::tzcnt : Op::lzcnt;
389 d.dst = reg;
390 d.length = uint8_t(i);
391 return d;
392 }
393
394 return {};
395}
396
397inline uint64_t pdep_u64(uint64_t src, uint64_t mask) {
398 uint64_t res = 0;
399 for (uint64_t k = 1; mask != 0; k <<= 1) {
400 const uint64_t bit = mask & (uint64_t(0) - mask);
401 if (src & k) res |= bit;
402 mask ^= bit;
403 }
404 return res;
405}
406
407inline uint64_t pext_u64(uint64_t src, uint64_t mask) {
408 uint64_t res = 0;
409 for (uint64_t k = 1; mask != 0; k <<= 1) {
410 const uint64_t bit = mask & (uint64_t(0) - mask);
411 if (src & bit) res |= k;
412 mask ^= bit;
413 }
414 return res;
415}
416
417inline uint64_t count_tz(uint64_t v, unsigned bits) {
418 const uint64_t masked = bits == 64 ? v : (v & ((uint64_t(1) << bits) - 1));
419 if (!masked) return bits;
420 unsigned n = 0;
421 uint64_t x = masked;
422 while ((x & 1u) == 0) {
423 x >>= 1;
424 ++n;
425 }
426 return n;
427}
428
429inline uint64_t count_lz(uint64_t v, unsigned bits) {
430 const uint64_t masked = bits == 64 ? v : (v & ((uint64_t(1) << bits) - 1));
431 if (!masked) return bits;
432 unsigned n = 0;
433 const uint64_t msb = uint64_t(1) << (bits - 1);
434 uint64_t x = masked;
435 while ((x & msb) == 0) {
436 x <<= 1;
437 ++n;
438 }
439 return n;
440}
441
442inline uint64_t bswap_val(uint64_t v, unsigned size) {
443 if (size == 2) {
444 const uint16_t x = uint16_t(v);
445 return uint16_t((x >> 8) | (x << 8));
446 }
447 if (size == 4) {
448 const uint32_t x = uint32_t(v);
449 return ((x >> 24) & 0xFFu) | ((x >> 8) & 0xFF00u) | ((x << 8) & 0xFF0000u) | ((x << 24) & 0xFF000000u);
450 }
451 return ((v >> 56) & 0xFFull) | ((v >> 40) & 0xFF00ull) | ((v >> 24) & 0xFF0000ull) | ((v >> 8) & 0xFF000000ull) |
452 ((v << 8) & 0xFF00000000ull) | ((v << 24) & 0xFF0000000000ull) | ((v << 40) & 0xFF000000000000ull) |
453 ((v << 56) & 0xFF00000000000000ull);
454}
455
456} // namespace rt::bmi_emulation
457
458#ifdef _WIN32
459#include <windows.h>
460#include <intrin.h>
461
462#include <algorithm>
463#include <atomic>
464#include <cstdio>
465#include <cstdlib>
466#include <mutex>
467#include <shared_mutex>
468#include <utility>
469#include <vector>
470
471#if defined(__clang__)
472#define LEONIDA_BMI_NO_BUILTIN __attribute__((no_builtin))
473#else
474#define LEONIDA_BMI_NO_BUILTIN
475#endif
476
477namespace rt::bmi_emulation {
478
479struct Host {
480 bool bmi1 = false, bmi2 = false, lzcnt = false, movbe = false;
481};
482
483inline Host detect_host() {
484 Host h;
485 int r[4]{};
486 __cpuid(r, 0);
487 const int max_leaf = r[0];
488 if (max_leaf >= 1) {
489 __cpuid(r, 1);
490 h.movbe = ((r[2] >> 22) & 1) != 0; // CPUID.01H:ECX.MOVBE[bit 22]
491 }
492 if (max_leaf >= 7) {
493 __cpuidex(r, 7, 0);
494 h.bmi1 = ((r[1] >> 3) & 1) != 0; // CPUID.07H:EBX.BMI1[bit 3]
495 h.bmi2 = ((r[1] >> 8) & 1) != 0; // CPUID.07H:EBX.BMI2[bit 8]
496 }
497 __cpuid(r, 0x80000000);
498 if (unsigned(r[0]) >= 0x80000001u) {
499 __cpuid(r, 0x80000001);
500 h.lzcnt = ((r[2] >> 5) & 1) != 0; // CPUID.80000001H:ECX.LZCNT[bit 5]
501 }
502 return h;
503}
504
505inline const char* name(Op op) {
506 switch (op) {
507 case Op::andn: return "ANDN (BMI1)";
508 case Op::bextr: return "BEXTR (BMI1)";
509 case Op::blsi: return "BLSI (BMI1)";
510 case Op::blsmsk: return "BLSMSK (BMI1)";
511 case Op::blsr: return "BLSR (BMI1)";
512 case Op::bzhi: return "BZHI (BMI2)";
513 case Op::mulx: return "MULX (BMI2)";
514 case Op::pdep: return "PDEP (BMI2)";
515 case Op::pext: return "PEXT (BMI2)";
516 case Op::rorx: return "RORX (BMI2)";
517 case Op::sarx: return "SARX (BMI2)";
518 case Op::shlx: return "SHLX (BMI2)";
519 case Op::shrx: return "SHRX (BMI2)";
520 case Op::movbe_load: case Op::movbe_store: return "MOVBE";
521 case Op::tzcnt: return "TZCNT (BMI1)";
522 case Op::lzcnt: return "LZCNT";
523 default: return "none";
524 }
525}
526
527inline std::atomic<uint64_t>& count(Op op) {
528 static std::atomic<uint64_t> counts[20];
529 if (op == Op::movbe_store) op = Op::movbe_load;
530 return counts[unsigned(op)];
531}
532
533namespace detail {
534
535__declspec(noinline) LEONIDA_BMI_NO_BUILTIN inline void raw_copy(void* dst, const void* src, std::size_t bytes) {
536 __movsb(static_cast<unsigned char*>(dst), static_cast<const unsigned char*>(src), bytes);
537}
538
539inline int capture_exception(EXCEPTION_POINTERS* ep, EXCEPTION_RECORD* out) {
540 if (out && ep && ep->ExceptionRecord) *out = *ep->ExceptionRecord;
541 return EXCEPTION_EXECUTE_HANDLER;
542}
543
544// Performs a real user-mode memory copy inside its own SEH frame (no C++ destructors in frame):
545// - Valid pages cost zero syscalls.
546// - First-touch xmem pages and write-watched D3D12 shadow pages fault through the front of the VEH chain, get
547// committed/reopened there, and complete transparently.
548// - Genuine faults (unmapped, PAGE_NOACCESS, read-only write, user PAGE_GUARD) are caught and returned in `fault`.
549inline bool safe_read(uint64_t addr, void* dst, std::size_t bytes, EXCEPTION_RECORD* fault) {
550 EXCEPTION_RECORD local{};
551 __try {
552 raw_copy(dst, reinterpret_cast<const void*>(addr), bytes);
553 return true;
554 } __except (capture_exception(GetExceptionInformation(), &local)) {
555 if (fault) *fault = local;
556 return false;
557 }
558}
559
560inline bool safe_write(uint64_t addr, const void* src, std::size_t bytes, EXCEPTION_RECORD* fault) {
561 EXCEPTION_RECORD local{};
562 __try {
563 raw_copy(reinterpret_cast<void*>(addr), src, bytes);
564 return true;
565 } __except (capture_exception(GetExceptionInformation(), &local)) {
566 if (fault) *fault = local;
567 return false;
568 }
569}
570
571inline std::size_t readable_bytes(uint64_t addr, std::size_t want) {
572 std::size_t got = 0;
573 while (got < want) {
574 MEMORY_BASIC_INFORMATION mbi;
575 if (!VirtualQuery(reinterpret_cast<void*>(addr + got), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT ||
576 (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS)) || !mbi.Protect)
577 break;
578 const uint64_t end = reinterpret_cast<uint64_t>(mbi.BaseAddress) + mbi.RegionSize;
579 const std::size_t rem = want - got;
580 got += std::size_t(end - (addr + got)) < rem ? std::size_t(end - (addr + got)) : rem;
581 }
582 return got;
583}
584
585inline uint64_t& gpr_ref(CONTEXT* c, unsigned r) {
586 switch (r & 15u) {
587 case 0: return c->Rax; case 1: return c->Rcx; case 2: return c->Rdx; case 3: return c->Rbx;
588 case 4: return c->Rsp; case 5: return c->Rbp; case 6: return c->Rsi; case 7: return c->Rdi;
589 case 8: return c->R8; case 9: return c->R9; case 10: return c->R10; case 11: return c->R11;
590 case 12: return c->R12; case 13: return c->R13; case 14: return c->R14; case 15: return c->R15;
591 default: return c->Rax;
592 }
593}
594
595inline uint64_t gpr_get(const CONTEXT* c, unsigned r) {
596 return gpr_ref(const_cast<CONTEXT*>(c), r);
597}
598
599inline void gpr_write(CONTEXT* c, unsigned r, uint64_t val, unsigned size) {
600 uint64_t& dst = gpr_ref(c, r);
601 if (size == 2) dst = (dst & ~uint64_t(0xFFFFu)) | (val & 0xFFFFu);
602 else if (size == 4) dst = uint32_t(val);
603 else dst = val;
604}
605
606inline uint64_t effective_addr(const Decoded& d, const CONTEXT* c) {
607 uint64_t ea = 0;
608 if (d.base == -2) ea = c->Rip + d.length;
609 else if (d.base >= 0) ea = d.addr32 ? uint32_t(gpr_get(c, unsigned(d.base))) : gpr_get(c, unsigned(d.base));
610 if (d.index >= 0) {
611 const uint64_t idx = d.addr32 ? uint32_t(gpr_get(c, unsigned(d.index))) : gpr_get(c, unsigned(d.index));
612 ea += idx * d.scale;
613 }
614 ea += uint64_t(int64_t(d.disp));
615 if (d.addr32) ea = uint32_t(ea);
616 if (d.seg == 0x65) ea += reinterpret_cast<uint64_t>(NtCurrentTeb());
617 return ea;
618}
619
620// Clear CF(0), PF(2), AF(4), ZF(6), SF(7), OF(11) and set requested flags.
621inline void set_flags(CONTEXT* c, bool cf, bool zf, bool sf) {
622 uint32_t f = c->EFlags & ~uint32_t(0x8D5u);
623 if (cf) f |= 0x01u;
624 if (zf) f |= 0x40u;
625 if (sf) f |= 0x80u;
626 c->EFlags = f;
627}
628
629struct Ud2Entry {
630 uint64_t va = 0;
631 uint8_t len = 0;
632 uint8_t bytes[15]{};
633 bool operator<(const Ud2Entry& o) const { return va < o.va; }
634};
635
636struct Ud2Table {
637 std::shared_mutex mutex;
638 std::vector<Ud2Entry> entries;
639};
640
641inline Ud2Table& ud2_table() {
642 static Ud2Table t;
643 return t;
644}
645
646inline bool lookup_ud2(uint64_t va, uint8_t out[15], std::size_t& len_out) {
647 Ud2Table& t = ud2_table();
648 std::shared_lock lock(t.mutex);
649 Ud2Entry key{};
650 key.va = va;
651 const auto it = std::lower_bound(t.entries.begin(), t.entries.end(), key);
652 if (it == t.entries.end() || it->va != va) return false;
653 std::memcpy(out, it->bytes, it->len);
654 len_out = it->len;
655 return true;
656}
657
658inline uint8_t* alloc_stub_pages(uint64_t lo, uint64_t hi, std::size_t size) {
659 SYSTEM_INFO si;
660 GetSystemInfo(&si);
661 const uint64_t gran = si.dwAllocationGranularity;
662 const uint64_t limit = uint64_t(1) << 31;
663 for (uint64_t at = (hi + gran - 1) & ~(gran - 1); at + size < lo + limit - 0x10000; at += gran) {
664 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE))
665 return static_cast<uint8_t*>(p);
666 }
667 for (uint64_t at = (lo > size ? (lo - size) & ~(gran - 1) : 0); at > gran && hi - at < limit - 0x10000; at -= gran) {
668 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE))
669 return static_cast<uint8_t*>(p);
670 }
671 return nullptr;
672}
673
674// Emits a branchless native TZCNT or LZCNT stub for 32/64-bit register-to-register sites (dst != rsp, src != rsp).
675inline std::vector<uint8_t> build_cnt_stub(bool is_lzcnt, bool w64, uint8_t dst, uint8_t src, uint64_t stub_va,
676 uint64_t resume_va) {
677 std::vector<uint8_t> out;
678 out.reserve(32);
679 // Pick a scratch register in {rcx(1), rdx(2), rax(0)} distinct from both dst and src (always < 8).
680 uint8_t tmp = 1;
681 if (tmp == dst || tmp == src) tmp = 2;
682 if (tmp == dst || tmp == src) tmp = 0;
683
684 const uint8_t width = w64 ? 64 : 32;
685 const uint8_t bit = w64 ? 6 : 5;
686 out.push_back(uint8_t(0x50 + tmp)); // push tmp
687
688 if (!is_lzcnt) {
689 // mov tmp32, width
690 out.push_back(uint8_t(0xB8 + tmp));
691 out.push_back(width);
692 out.push_back(0);
693 out.push_back(0);
694 out.push_back(0);
695 // bsf dst, src
696 const uint8_t rex_bsf = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x44 : 0) | (src >= 8 ? 0x41 : 0));
697 if (rex_bsf) out.push_back(rex_bsf);
698 out.push_back(0x0F);
699 out.push_back(0xBC);
700 out.push_back(uint8_t(0xC0 | ((dst & 7) << 3) | (src & 7)));
701 // cmove dst, tmp
702 const uint8_t rex_cmov = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x44 : 0));
703 if (rex_cmov) out.push_back(rex_cmov);
704 out.push_back(0x0F);
705 out.push_back(0x44);
706 out.push_back(uint8_t(0xC0 | ((dst & 7) << 3) | tmp));
707 // test dst, dst (sets ZF = (dst == 0), clears CF/OF)
708 const uint8_t rex_test = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x45 : 0));
709 if (rex_test) out.push_back(rex_test);
710 out.push_back(0x85);
711 out.push_back(uint8_t(0xC0 | ((dst & 7) << 3) | (dst & 7)));
712 } else {
713 // bsr tmp, src (leaves src intact even when dst == src)
714 const uint8_t rex_bsr = uint8_t((w64 ? 0x48 : 0) | (src >= 8 ? 0x41 : 0));
715 if (rex_bsr) out.push_back(rex_bsr);
716 out.push_back(0x0F);
717 out.push_back(0xBD);
718 out.push_back(uint8_t(0xC0 | (tmp << 3) | (src & 7)));
719 // mov dst32, 2*width - 1 (does not touch ZF from bsr; zero-extends dst to 64 bits)
720 if (dst >= 8) out.push_back(0x41);
721 out.push_back(uint8_t(0xB8 + (dst & 7)));
722 out.push_back(uint8_t(2 * width - 1));
723 out.push_back(0);
724 out.push_back(0);
725 out.push_back(0);
726 // cmovne dst, tmp
727 const uint8_t rex_cmov = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x44 : 0));
728 if (rex_cmov) out.push_back(rex_cmov);
729 out.push_back(0x0F);
730 out.push_back(0x45);
731 out.push_back(uint8_t(0xC0 | ((dst & 7) << 3) | tmp));
732 // xor dst, width - 1 (yields clz in 0..width and sets ZF = (dst == 0))
733 const uint8_t rex_xor = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x41 : 0));
734 if (rex_xor) out.push_back(rex_xor);
735 out.push_back(0x83);
736 out.push_back(uint8_t(0xF0 | (dst & 7)));
737 out.push_back(uint8_t(width - 1));
738 }
739
740 // bt dst, bit (sets CF = (dst == width), leaves ZF untouched)
741 const uint8_t rex_bt = uint8_t((w64 ? 0x48 : 0) | (dst >= 8 ? 0x41 : 0));
742 if (rex_bt) out.push_back(rex_bt);
743 out.push_back(0x0F);
744 out.push_back(0xBA);
745 out.push_back(uint8_t(0xE0 | (dst & 7)));
746 out.push_back(bit);
747
748 out.push_back(uint8_t(0x58 + tmp)); // pop tmp
749 out.push_back(0xE9);
750 const int32_t rel = int32_t(int64_t(resume_va) - int64_t(stub_va + out.size() + 4));
751 const auto* rb = reinterpret_cast<const uint8_t*>(&rel);
752 out.insert(out.end(), rb, rb + 4);
753 return out;
754}
755
756inline bool is_block_terminator(const uint8_t* ins, std::size_t len) {
757 if (!len) return false;
758 std::size_t p = 0;
759 while (p + 1 < len) {
760 const uint8_t b = ins[p];
761 if ((b & 0xF0) == 0x40 || b == 0x66 || b == 0x67 || b == 0xF2 || b == 0xF3 ||
762 b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E || b == 0x64 || b == 0x65)
763 ++p;
764 else
765 break;
766 }
767 const uint8_t op = ins[p];
768 if (op == 0xC3 || op == 0xC2 || op == 0xEB || op == 0xE9) return true;
769 if (op == 0xFF && p + 1 < len && ((ins[p + 1] >> 3) & 7) == 4) return true; // jmp r/m64
770 if (op == 0x0F && p + 1 < len && ins[p + 1] == 0x0B) return true; // ud2
771 return false;
772}
773
774} // namespace detail
775
776inline bool apply(const Decoded& d, CONTEXT* c, EXCEPTION_RECORD* fault = nullptr) {
777 if (d.op == Op::none) return false;
778 const unsigned bits = unsigned(d.size) * 8u;
779 const uint64_t mask_n = bits == 64 ? ~uint64_t(0) : ((uint64_t(1) << bits) - 1u);
780
781 if (d.op == Op::movbe_store) {
782 const uint64_t swapped = bswap_val(detail::gpr_get(c, d.src1), d.size);
783 const uint64_t addr = detail::effective_addr(d, c);
784 if (!detail::safe_write(addr, &swapped, d.size, fault)) return false;
785 c->Rip += d.length;
786 return true;
787 }
788
789 uint64_t rm_val = 0;
790 if (d.mem) {
791 const uint64_t addr = detail::effective_addr(d, c);
792 if (!detail::safe_read(addr, &rm_val, d.size, fault)) return false;
793 } else {
794 rm_val = detail::gpr_get(c, d.rm) & mask_n;
795 }
796
797 const uint64_t msb = uint64_t(1) << (bits - 1u);
798 switch (d.op) {
799 case Op::andn: {
800 const uint64_t s1 = detail::gpr_get(c, d.src1) & mask_n;
801 const uint64_t res = (~s1 & rm_val) & mask_n;
802 detail::gpr_write(c, d.dst, res, d.size);
803 detail::set_flags(c, false, res == 0, (res & msb) != 0);
804 break;
805 }
806 case Op::bextr: {
807 const uint64_t ctl = detail::gpr_get(c, d.src1);
808 const unsigned start = unsigned(ctl & 0xFFu);
809 const unsigned len = unsigned((ctl >> 8) & 0xFFu);
810 uint64_t res = 0;
811 if (start < bits && len != 0) {
812 const uint64_t shifted = (rm_val & mask_n) >> start;
813 res = len >= bits ? shifted : (shifted & ((uint64_t(1) << len) - 1u));
814 }
815 detail::gpr_write(c, d.dst, res, d.size);
816 detail::set_flags(c, false, res == 0, false);
817 break;
818 }
819 case Op::blsi: {
820 const uint64_t s = rm_val & mask_n;
821 const uint64_t res = ((uint64_t(0) - s) & s) & mask_n;
822 detail::gpr_write(c, d.dst, res, d.size);
823 detail::set_flags(c, s != 0, res == 0, (res & msb) != 0);
824 break;
825 }
826 case Op::blsmsk: {
827 const uint64_t s = rm_val & mask_n;
828 const uint64_t res = ((s - 1u) ^ s) & mask_n;
829 detail::gpr_write(c, d.dst, res, d.size);
830 detail::set_flags(c, s == 0, res == 0, (res & msb) != 0);
831 break;
832 }
833 case Op::blsr: {
834 const uint64_t s = rm_val & mask_n;
835 const uint64_t res = ((s - 1u) & s) & mask_n;
836 detail::gpr_write(c, d.dst, res, d.size);
837 detail::set_flags(c, s == 0, res == 0, (res & msb) != 0);
838 break;
839 }
840 case Op::bzhi: {
841 const unsigned idx = unsigned(detail::gpr_get(c, d.src1) & 0xFFu);
842 const bool cf = idx >= bits;
843 const uint64_t res = cf ? (rm_val & mask_n) : (rm_val & ((uint64_t(1) << idx) - 1u));
844 detail::gpr_write(c, d.dst, res, d.size);
845 detail::set_flags(c, cf, res == 0, (res & msb) != 0);
846 break;
847 }
848 case Op::mulx: {
849 const uint64_t edx_rdx = detail::gpr_get(c, 2) & mask_n;
850 uint64_t lo = 0, hi = 0;
851 if (d.size == 4) {
852 const uint64_t prod = uint64_t(uint32_t(edx_rdx)) * uint64_t(uint32_t(rm_val));
853 lo = uint32_t(prod);
854 hi = uint32_t(prod >> 32);
855 } else {
856 lo = _umul128(edx_rdx, rm_val, &hi);
857 }
858 // Write low half first so that when both operands name the same GPR, the high half wins (Intel SDM).
859 detail::gpr_write(c, d.dst2, lo, d.size);
860 detail::gpr_write(c, d.dst, hi, d.size);
861 break;
862 }
863 case Op::pdep: {
864 const uint64_t s1 = detail::gpr_get(c, d.src1) & mask_n;
865 detail::gpr_write(c, d.dst, pdep_u64(s1, rm_val & mask_n), d.size);
866 break;
867 }
868 case Op::pext: {
869 const uint64_t s1 = detail::gpr_get(c, d.src1) & mask_n;
870 detail::gpr_write(c, d.dst, pext_u64(s1, rm_val & mask_n), d.size);
871 break;
872 }
873 case Op::rorx: {
874 const unsigned cnt = d.imm & (bits - 1u);
875 const uint64_t s = rm_val & mask_n;
876 const uint64_t res = cnt == 0 ? s : (((s >> cnt) | (s << (bits - cnt))) & mask_n);
877 detail::gpr_write(c, d.dst, res, d.size);
878 break;
879 }
880 case Op::sarx: {
881 const unsigned cnt = unsigned(detail::gpr_get(c, d.src1)) & (bits - 1u);
882 const uint64_t res = d.size == 4 ? uint32_t(int32_t(uint32_t(rm_val)) >> cnt)
883 : uint64_t(int64_t(rm_val) >> cnt);
884 detail::gpr_write(c, d.dst, res, d.size);
885 break;
886 }
887 case Op::shlx: {
888 const unsigned cnt = unsigned(detail::gpr_get(c, d.src1)) & (bits - 1u);
889 detail::gpr_write(c, d.dst, ((rm_val & mask_n) << cnt) & mask_n, d.size);
890 break;
891 }
892 case Op::shrx: {
893 const unsigned cnt = unsigned(detail::gpr_get(c, d.src1)) & (bits - 1u);
894 detail::gpr_write(c, d.dst, (rm_val & mask_n) >> cnt, d.size);
895 break;
896 }
897 case Op::movbe_load:
898 detail::gpr_write(c, d.dst, bswap_val(rm_val, d.size), d.size);
899 break;
900 case Op::tzcnt: {
901 const uint64_t s = rm_val & mask_n;
902 const uint64_t res = count_tz(s, bits);
903 detail::gpr_write(c, d.dst, res, d.size);
904 detail::set_flags(c, s == 0, res == 0, false);
905 break;
906 }
907 case Op::lzcnt: {
908 const uint64_t s = rm_val & mask_n;
909 const uint64_t res = count_lz(s, bits);
910 detail::gpr_write(c, d.dst, res, d.size);
911 detail::set_flags(c, s == 0, res == 0, false);
912 break;
913 }
914 default:
915 return false;
916 }
917 c->Rip += d.length;
918 return true;
919}
920
921inline bool lzcnt_patch_enabled() {
922 char v[8]{};
923 std::size_t n = 0;
924 return !(getenv_s(&n, v, "LEONIDA_LZCNT_PATCH") == 0 && n == 2 && v[0] == '0');
925}
926
927struct PatchResult {
928 std::size_t tzcnt_sites = 0;
929 std::size_t lzcnt_sites = 0;
930 std::size_t stub_sites = 0;
931 std::size_t ud2_sites = 0;
932 uint8_t* stubs = nullptr;
933 std::size_t stub_bytes = 0;
934};
935
936// Patches TZCNT (when `patch_tzcnt`) and LZCNT (when `patch_lzcnt`) across `.pdata` functions and 0xCC-delimited
937// leaf blocks inside `exec_sections` (pairs of section RVA and byte size within `[base, base + image_size)`).
938inline PatchResult patch_image(uint8_t* base, uint32_t image_size,
939 const std::vector<std::pair<uint32_t, uint32_t>>& exec_sections,
940 const RUNTIME_FUNCTION* pdata, uint32_t pdata_count, bool patch_tzcnt,
941 bool patch_lzcnt) {
942 PatchResult res;
943 if (!base || !image_size || (!patch_tzcnt && !patch_lzcnt) || exec_sections.empty()) return res;
944
945 const auto has_candidate_bytes = [&](const uint8_t* p, std::size_t len) -> bool {
946 for (std::size_t k = 0; k + 2 <= len; ++k) {
947 if (p[k] == 0x0F && ((patch_tzcnt && p[k + 1] == 0xBC) || (patch_lzcnt && p[k + 1] == 0xBD)))
948 return true;
949 }
950 return false;
951 };
952
953 struct FoundSite {
954 uint32_t rva;
955 Decoded dec;
956 };
957 std::vector<FoundSite> found;
958
959 const auto scan_block = [&](uint32_t beg_rva, uint32_t end_rva, bool require_terminator) {
960 const std::size_t len = end_rva - beg_rva;
961 const uint8_t* block = base + beg_rva;
962 if (!has_candidate_bytes(block, len)) return;
963 std::vector<FoundSite> local;
964 std::size_t pos = 0;
965 std::size_t last_pos = 0, last_len = 0;
966 while (pos < len) {
967 int kind = 0;
968 const std::size_t ilen = detail::insn_len64(block + pos, len - pos, &kind);
969 if (!ilen) return;
970 if ((kind == 1 && patch_tzcnt) || (kind == 2 && patch_lzcnt)) {
971 const Decoded d = decode(block + pos, ilen);
972 if (d.op != Op::none && d.length == ilen) local.push_back({beg_rva + uint32_t(pos), d});
973 }
974 last_pos = pos;
975 last_len = ilen;
976 pos += ilen;
977 }
978 if (pos != len || local.empty()) return;
979 if (require_terminator && !detail::is_block_terminator(block + last_pos, last_len)) return;
980 found.insert(found.end(), local.begin(), local.end());
981 };
982
983 for (const auto& [sec_rva, sec_size] : exec_sections) {
984 if (sec_rva >= image_size || !sec_size) continue;
985 const uint32_t sec_end = uint32_t(std::min<uint64_t>(uint64_t(sec_rva) + sec_size, image_size));
986 std::vector<std::pair<uint32_t, uint32_t>> funcs;
987 if (pdata && pdata_count) {
988 for (uint32_t i = 0; i < pdata_count; ++i) {
989 const uint32_t b = pdata[i].BeginAddress, e = pdata[i].EndAddress;
990 if (e > b && b >= sec_rva && e <= sec_end) funcs.push_back({b, e});
991 }
992 std::sort(funcs.begin(), funcs.end());
993 }
994 uint32_t cur = sec_rva;
995 const auto scan_gap = [&](uint32_t gb, uint32_t ge) {
996 const uint8_t* g = base + gb;
997 const std::size_t glen = ge - gb;
998 if (!has_candidate_bytes(g, glen)) return;
999 std::size_t p = 0;
1000 while (p < glen) {
1001 while (p < glen && g[p] == 0xCC) ++p;
1002 if (p >= glen) break;
1003 std::size_t sub_end = p;
1004 while (sub_end < glen && !(sub_end + 1 < glen && g[sub_end] == 0xCC && g[sub_end + 1] == 0xCC))
1005 ++sub_end;
1006 while (sub_end > p && g[sub_end - 1] == 0xCC) --sub_end;
1007 if (sub_end > p) scan_block(gb + uint32_t(p), gb + uint32_t(sub_end), true);
1008 p = sub_end + 1;
1009 }
1010 };
1011 for (const auto& [fb, fe] : funcs) {
1012 if (fb > cur) scan_gap(cur, fb);
1013 if (fe > cur) {
1014 scan_block(std::max(fb, cur), fe, false);
1015 cur = fe;
1016 }
1017 }
1018 if (cur < sec_end) scan_gap(cur, sec_end);
1019 }
1020
1021 if (found.empty()) return res;
1022
1023 std::size_t want_stubs = 0;
1024 for (const auto& s : found) {
1025 if (s.dec.length >= 5 && !s.dec.mem && (s.dec.size == 4 || s.dec.size == 8) && s.dec.dst != 4 && s.dec.rm != 4)
1026 ++want_stubs;
1027 }
1028
1029 uint8_t* stubs = nullptr;
1030 std::size_t stub_cap = 0;
1031 std::size_t stub_used = 0;
1032 if (want_stubs) {
1033 stub_cap = (want_stubs * 32u + 0xFFFFu) & ~std::size_t(0xFFFFu);
1034 stubs = detail::alloc_stub_pages(reinterpret_cast<uint64_t>(base),
1035 reinterpret_cast<uint64_t>(base) + image_size, stub_cap);
1036 }
1037
1038 std::vector<detail::Ud2Entry> new_ud2;
1039 for (const auto& s : found) {
1040 if (s.dec.op == Op::tzcnt) ++res.tzcnt_sites;
1041 else ++res.lzcnt_sites;
1042
1043 uint8_t* site_ptr = base + s.rva;
1044 const uint64_t site_va = reinterpret_cast<uint64_t>(site_ptr);
1045 const bool can_stub = stubs && s.dec.length >= 5 && !s.dec.mem && (s.dec.size == 4 || s.dec.size == 8) &&
1046 s.dec.dst != 4 && s.dec.rm != 4;
1047 if (can_stub) {
1048 const uint64_t stub_va = reinterpret_cast<uint64_t>(stubs + stub_used);
1049 const auto body = detail::build_cnt_stub(s.dec.op == Op::lzcnt, s.dec.size == 8, s.dec.dst, s.dec.rm,
1050 stub_va, site_va + s.dec.length);
1051 const int64_t rel64 = int64_t(stub_va) - int64_t(site_va + 5);
1052 if (stub_used + body.size() <= stub_cap && rel64 >= INT32_MIN && rel64 <= INT32_MAX) {
1053 std::memcpy(stubs + stub_used, body.data(), body.size());
1054 stub_used += (body.size() + 15u) & ~std::size_t(15u);
1055 const int32_t rel32 = int32_t(rel64);
1056 site_ptr[0] = 0xE9;
1057 std::memcpy(site_ptr + 1, &rel32, 4);
1058 for (uint8_t k = 5; k < s.dec.length; ++k) site_ptr[k] = 0x90;
1059 ++res.stub_sites;
1060 continue;
1061 }
1062 }
1063
1064 detail::Ud2Entry e{};
1065 e.va = site_va;
1066 e.len = s.dec.length;
1067 std::memcpy(e.bytes, site_ptr, s.dec.length);
1068 new_ud2.push_back(e);
1069 site_ptr[0] = 0x0F;
1070 site_ptr[1] = 0x0B; // UD2 -> STATUS_ILLEGAL_INSTRUCTION (never collides with 0xCC STATUS_BREAKPOINT)
1071 ++res.ud2_sites;
1072 }
1073
1074 if (stubs) {
1075 if (res.stub_sites) {
1076 DWORD old = 0;
1077 VirtualProtect(stubs, stub_cap, PAGE_EXECUTE_READ, &old);
1078 FlushInstructionCache(GetCurrentProcess(), stubs, stub_used);
1079 res.stubs = stubs;
1080 res.stub_bytes = stub_used;
1081 } else {
1082 VirtualFree(stubs, 0, MEM_RELEASE);
1083 }
1084 }
1085
1086 if (!new_ud2.empty()) {
1087 detail::Ud2Table& t = detail::ud2_table();
1088 std::unique_lock lock(t.mutex);
1089 const uint64_t img_lo = reinterpret_cast<uint64_t>(base);
1090 const uint64_t img_hi = img_lo + image_size;
1091 t.entries.erase(std::remove_if(t.entries.begin(), t.entries.end(),
1092 [&](const detail::Ud2Entry& x) { return x.va >= img_lo && x.va < img_hi; }),
1093 t.entries.end());
1094 t.entries.insert(t.entries.end(), new_ud2.begin(), new_ud2.end());
1095 std::sort(t.entries.begin(), t.entries.end());
1096 }
1097 return res;
1098}
1099
1100inline LONG CALLBACK handler(EXCEPTION_POINTERS* info) {
1101 if (info->ExceptionRecord->ExceptionCode != STATUS_ILLEGAL_INSTRUCTION) return EXCEPTION_CONTINUE_SEARCH;
1102 CONTEXT* c = info->ContextRecord;
1103 uint8_t code[15]{};
1104 std::size_t avail = sizeof code;
1105 if ((c->Rip & 0xFFFu) <= 0x1000u - sizeof code) {
1106 if (!detail::safe_read(c->Rip, code, sizeof code, nullptr)) return EXCEPTION_CONTINUE_SEARCH;
1107 } else {
1108 avail = detail::readable_bytes(c->Rip, sizeof code);
1109 if (avail < 2) return EXCEPTION_CONTINUE_SEARCH;
1110 std::memcpy(code, reinterpret_cast<const void*>(c->Rip), avail);
1111 }
1112
1113 Decoded d;
1114 if (code[0] == 0x0F && code[1] == 0x0B) {
1115 uint8_t orig[15]{};
1116 std::size_t orig_len = 0;
1117 if (!detail::lookup_ud2(c->Rip, orig, orig_len)) return EXCEPTION_CONTINUE_SEARCH;
1118 d = decode(orig, orig_len);
1119 } else {
1120 d = decode(code, avail);
1121 }
1122 if (d.op == Op::none) return EXCEPTION_CONTINUE_SEARCH;
1123
1124 const uint64_t fault_rip = c->Rip;
1125 EXCEPTION_RECORD fault{};
1126 if (!apply(d, c, &fault)) {
1127 EXCEPTION_RECORD* r = info->ExceptionRecord;
1128 r->ExceptionCode = fault.ExceptionCode;
1129 r->ExceptionFlags = 0;
1130 r->NumberParameters = fault.NumberParameters;
1131 for (DWORD k = 0; k < fault.NumberParameters && k < EXCEPTION_MAXIMUM_PARAMETERS; ++k)
1132 r->ExceptionInformation[k] = fault.ExceptionInformation[k];
1133 return EXCEPTION_CONTINUE_SEARCH;
1134 }
1135
1136 if (count(d.op).fetch_add(1, std::memory_order_relaxed) == 0)
1137 std::fprintf(stderr, "[rt] cpu: this CPU has no %s; emulating it (first at %p)\n", name(d.op),
1138 reinterpret_cast<void*>(fault_rip));
1139 return EXCEPTION_CONTINUE_EXECUTION;
1140}
1141
1142inline bool install() {
1143 static void* const cookie = AddVectoredExceptionHandler(1, &handler);
1144 return cookie != nullptr;
1145}
1146
1147} // namespace rt::bmi_emulation
1148#endif
diff --git a/runtime/src/buffer_va_index.h b/runtime/src/buffer_va_index.h
index 6fbba5b05..f0d4b927f 100644
--- a/runtime/src/buffer_va_index.h
+++ b/runtime/src/buffer_va_index.h
@@ -17,6 +17,7 @@
17 17
18#include <cstddef> 18#include <cstddef>
19#include <cstdint> 19#include <cstdint>
20#include <limits>
20#include <map> 21#include <map>
21#include <set> 22#include <set>
22#include <utility> 23#include <utility>
@@ -89,11 +90,24 @@ public:
89 return find(va, hit, bytes) && bytes <= hit.size - (va - hit.start); 90 return find(va, hit, bytes) && bytes <= hit.size - (va - hit.start);
90 } 91 }
91 92
93 // Whether any range overlaps [va, va + bytes) (bytes 0 counts as 1).
94 bool overlaps(std::uint64_t va, std::uint64_t bytes) const {
95 Hit hit{};
96 if (find(va, hit)) return true;
97 const auto it = ranges_.lower_bound({va, Id{}});
98 return it != ranges_.end() && it->first.first - va < (bytes ? bytes : 1);
99 }
100
92 std::size_t size() const { return ranges_.size(); } 101 std::size_t size() const { return ranges_.size(); }
93 std::uint64_t longest() const { return longest_; } 102 std::uint64_t longest() const { return longest_; }
103 // f(first VA, bytes) for every range, in VA order.
104 template <class F>
105 void for_each(F&& f) const {
106 for (const auto& [key, bytes] : ranges_) f(key.first, bytes);
107 }
94 108
95private: 109private:
96 static constexpr Id max_id() { return ~Id(0); } 110 static constexpr Id max_id() { return (std::numeric_limits<Id>::max)(); }
97 111
98 void drop_size(std::uint64_t size) { sizes_.erase(sizes_.find(size)); } // one copy, not every range of that size 112 void drop_size(std::uint64_t size) { sizes_.erase(sizes_.find(size)); } // one copy, not every range of that size
99 113
diff --git a/runtime/src/clzero_patch.h b/runtime/src/clzero_patch.h
index 7ab90e303..ec694f2f4 100644
--- a/runtime/src/clzero_patch.h
+++ b/runtime/src/clzero_patch.h
@@ -51,6 +51,7 @@ inline unsigned reg_reg(uint8_t rex, uint8_t modrm) { return ((modrm >> 3) & 7)
51// Finds the loops in `code[0, size)`. A CLZERO that is in neither shape is left to the #UD path. 51// Finds the loops in `code[0, size)`. A CLZERO that is in neither shape is left to the #UD path.
52inline std::vector<Site> find(const uint8_t* code, size_t size) { 52inline std::vector<Site> find(const uint8_t* code, size_t size) {
53 std::vector<Site> sites; 53 std::vector<Site> sites;
54 if (!code || size < 12) return sites;
54 for (size_t k = 0; k + 3 <= size; ++k) { 55 for (size_t k = 0; k + 3 <= size; ++k) {
55 if (!clzero_at(code + k)) continue; 56 if (!clzero_at(code + k)) continue;
56 // Shape A: the CLZERO is the loop's first instruction. 57 // Shape A: the CLZERO is the loop's first instruction.
@@ -91,8 +92,25 @@ inline std::vector<Site> find(const uint8_t* code, size_t size) {
91 return sites; 92 return sites;
92} 93}
93 94
95// Overflow-free check that a rel32 branch from `from_next` to `to` fits in signed 32 bits.
96inline bool rel32_offset(uint64_t from_next, uint64_t to, int32_t& out) {
97 constexpr uint64_t kMaxPos = static_cast<uint64_t>(INT32_MAX);
98 constexpr uint64_t kMaxNeg = static_cast<uint64_t>(INT32_MAX) + 1;
99 if (to >= from_next) {
100 const uint64_t d = to - from_next;
101 if (d > kMaxPos) return false;
102 out = static_cast<int32_t>(d);
103 return true;
104 }
105 const uint64_t d = from_next - to;
106 if (d > kMaxNeg) return false;
107 out = d == kMaxNeg ? INT32_MIN : -static_cast<int32_t>(d);
108 return true;
109}
110
94// The stub for one loop: its instructions before the CLZERO, the zeroing block, its instructions after the CLZERO up 111// The stub for one loop: its instructions before the CLZERO, the zeroing block, its instructions after the CLZERO up
95// to the jb, a jb back to the stub's start, then a jmp to `resume` (the instruction after the original jb). 112// to the jb, a jb back to the stub's start, then a jmp to `resume` (the instruction after the original jb).
113// Returns an empty vector if the final jmp rel32 cannot reach `resume`.
96inline std::vector<uint8_t> stub(const uint8_t* loop, const Site& s, uint64_t stub_at, uint64_t resume) { 114inline std::vector<uint8_t> stub(const uint8_t* loop, const Site& s, uint64_t stub_at, uint64_t resume) {
97 std::vector<uint8_t> out(loop, loop + s.clzero); // shape B: mov rax, CUR; add CUR, 40h 115 std::vector<uint8_t> out(loop, loop + s.clzero); // shape B: mov rax, CUR; add CUR, 40h
98 const uint8_t zero_line[] = { 116 const uint8_t zero_line[] = {
@@ -116,8 +134,8 @@ inline std::vector<uint8_t> stub(const uint8_t* loop, const Site& s, uint64_t st
116 out.push_back(0x72); 134 out.push_back(0x72);
117 out.push_back(uint8_t(int8_t(back))); 135 out.push_back(uint8_t(int8_t(back)));
118 out.push_back(0xE9); 136 out.push_back(0xE9);
119 const int64_t rel = int64_t(resume) - int64_t(stub_at + out.size() + 4); 137 int32_t rel32 = 0;
120 const int32_t rel32 = int32_t(rel); 138 if (out.size() + 4 > UINT64_MAX - stub_at || !rel32_offset(stub_at + out.size() + 4, resume, rel32)) return {};
121 const auto* b = reinterpret_cast<const uint8_t*>(&rel32); 139 const auto* b = reinterpret_cast<const uint8_t*>(&rel32);
122 out.insert(out.end(), b, b + 4); 140 out.insert(out.end(), b, b + 4);
123 return out; 141 return out;
@@ -125,17 +143,30 @@ inline std::vector<uint8_t> stub(const uint8_t* loop, const Site& s, uint64_t st
125 143
126// Reserves a page within 2 GiB above or below [lo, hi) for the stubs (the image does not move after this). 144// Reserves a page within 2 GiB above or below [lo, hi) for the stubs (the image does not move after this).
127inline uint8_t* stub_page(uint64_t lo, uint64_t hi, size_t size) { 145inline uint8_t* stub_page(uint64_t lo, uint64_t hi, size_t size) {
128 SYSTEM_INFO si; 146 if (!size || hi < lo) return nullptr;
147 SYSTEM_INFO si{};
129 GetSystemInfo(&si); 148 GetSystemInfo(&si);
130 const uint64_t gran = si.dwAllocationGranularity; 149 const uint64_t gran = si.dwAllocationGranularity ? si.dwAllocationGranularity : 0x10000;
131 const uint64_t limit = uint64_t(1) << 31; 150 const uint64_t limit = uint64_t(1) << 31;
132 for (uint64_t at = (hi + gran - 1) & ~(gran - 1); at + size < lo + limit - 0x1000; at += gran) { 151 const uint64_t max_span = limit - 0x1000;
133 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)) 152 if (hi - lo < max_span && hi <= UINT64_MAX - (gran - 1)) {
134 return static_cast<uint8_t*>(p); 153 const uint64_t start = (hi + gran - 1) & ~(gran - 1);
154 const uint64_t ceiling = lo <= UINT64_MAX - max_span ? lo + max_span : UINT64_MAX;
155 for (uint64_t at = start; size <= ceiling && at <= ceiling - size;) {
156 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE))
157 return static_cast<uint8_t*>(p);
158 if (at > UINT64_MAX - gran) break;
159 at += gran;
160 }
135 } 161 }
136 for (uint64_t at = (lo - size) & ~(gran - 1); at > gran && hi - at < limit - 0x1000; at -= gran) { 162 if (lo >= size) {
137 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)) 163 uint64_t at = (lo - size) & ~(gran - 1);
138 return static_cast<uint8_t*>(p); 164 while (at >= gran && hi - at < max_span) {
165 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE))
166 return static_cast<uint8_t*>(p);
167 if (at < gran) break;
168 at -= gran;
169 }
139 } 170 }
140 return nullptr; 171 return nullptr;
141} 172}
@@ -165,31 +196,50 @@ inline Result patch(const std::vector<std::pair<uint8_t*, size_t>>& ranges, uint
165 if (!stubs) return r; 196 if (!stubs) return r;
166 size_t used = 0; 197 size_t used = 0;
167 std::vector<std::vector<uint8_t>> bodies; 198 std::vector<std::vector<uint8_t>> bodies;
199 std::vector<int32_t> jump_rels;
200 bodies.reserve(all.size());
201 jump_rels.reserve(all.size());
168 for (const auto& [code, s] : all) { 202 for (const auto& [code, s] : all) {
169 uint8_t* const loop = code + s.head; 203 uint8_t* const loop = code + s.head;
170 const uint64_t at = uint64_t(stubs + used); 204 const uint64_t at = reinterpret_cast<uint64_t>(stubs + used);
171 bodies.push_back(stub(loop, s, at, uint64_t(loop + s.length))); 205 int32_t jmp_rel = 0;
172 used += (bodies.back().size() + 15) & ~size_t(15); 206 if (!rel32_offset(reinterpret_cast<uint64_t>(loop + 5), at, jmp_rel)) {
173 if (used > page) {
174 VirtualFree(stubs, 0, MEM_RELEASE); 207 VirtualFree(stubs, 0, MEM_RELEASE);
175 return r; 208 return r;
176 } 209 }
210 auto body = stub(loop, s, at, reinterpret_cast<uint64_t>(loop + s.length));
211 if (body.empty()) {
212 VirtualFree(stubs, 0, MEM_RELEASE);
213 return r;
214 }
215 const size_t padded = (body.size() + 15) & ~size_t(15);
216 if (padded > page - used) {
217 VirtualFree(stubs, 0, MEM_RELEASE);
218 return r;
219 }
220 bodies.push_back(std::move(body));
221 jump_rels.push_back(jmp_rel);
222 used += padded;
223 }
224 size_t offset = 0;
225 for (const auto& body : bodies) {
226 std::memcpy(stubs + offset, body.data(), body.size());
227 offset += (body.size() + 15) & ~size_t(15);
228 }
229 DWORD old = 0;
230 if (!VirtualProtect(stubs, page, PAGE_EXECUTE_READ, &old)) {
231 VirtualFree(stubs, 0, MEM_RELEASE);
232 return r;
177 } 233 }
178 used = 0; 234 FlushInstructionCache(GetCurrentProcess(), stubs, page);
235 // Only overwrite the image loops once the stub page is populated and executable.
179 for (size_t i = 0; i < all.size(); ++i) { 236 for (size_t i = 0; i < all.size(); ++i) {
180 const auto& [code, s] = all[i]; 237 const auto& [code, s] = all[i];
181 uint8_t* const loop = code + s.head; 238 uint8_t* const loop = code + s.head;
182 uint8_t* const at = stubs + used;
183 std::memcpy(at, bodies[i].data(), bodies[i].size());
184 used += (bodies[i].size() + 15) & ~size_t(15);
185 const int32_t rel = int32_t(int64_t(at) - int64_t(loop + 5));
186 loop[0] = 0xE9; 239 loop[0] = 0xE9;
187 std::memcpy(loop + 1, &rel, 4); 240 std::memcpy(loop + 1, &jump_rels[i], 4);
188 std::memset(loop + 5, 0xCC, s.length - 5); 241 std::memset(loop + 5, 0xCC, s.length - 5);
189 } 242 }
190 DWORD old = 0;
191 VirtualProtect(stubs, page, PAGE_EXECUTE_READ, &old);
192 FlushInstructionCache(GetCurrentProcess(), stubs, page);
193 r.sites = all.size(); 243 r.sites = all.size();
194 r.stubs = stubs; 244 r.stubs = stubs;
195 r.stub_bytes = used; 245 r.stub_bytes = used;
diff --git a/runtime/src/code_hooks.h b/runtime/src/code_hooks.h
index c87f1b2b1..636d9131e 100644
--- a/runtime/src/code_hooks.h
+++ b/runtime/src/code_hooks.h
@@ -24,12 +24,14 @@ using RemapFn = uint32_t (*)(uint32_t);
24// Executable memory within +-2 GiB of `close_to`, so a rel32 branch from the image reaches it. nullptr if none is free. 24// Executable memory within +-2 GiB of `close_to`, so a rel32 branch from the image reaches it. nullptr if none is free.
25inline uint8_t* alloc_near(const void* close_to, std::size_t size) { 25inline uint8_t* alloc_near(const void* close_to, std::size_t size) {
26 if (!close_to || size == 0) return nullptr; 26 if (!close_to || size == 0) return nullptr;
27 SYSTEM_INFO si; 27 SYSTEM_INFO si{};
28 GetSystemInfo(&si); 28 GetSystemInfo(&si);
29 const uintptr_t gran = si.dwAllocationGranularity; 29 const uintptr_t gran = si.dwAllocationGranularity ? static_cast<uintptr_t>(si.dwAllocationGranularity)
30 const uintptr_t center = reinterpret_cast<uintptr_t>(close_to) & ~(gran - 1); 30 : uintptr_t{0x10000};
31 const uintptr_t addr = reinterpret_cast<uintptr_t>(close_to);
32 const uintptr_t center = addr - (addr % gran);
31 const uintptr_t span = 0x70000000; // stay well inside the rel32 range from anywhere in a large image 33 const uintptr_t span = 0x70000000; // stay well inside the rel32 range from anywhere in a large image
32 for (uintptr_t delta = gran; delta < span; delta += gran) { 34 for (uintptr_t delta = gran; delta < span;) {
33 for (int side = 0; side < 2; ++side) { 35 for (int side = 0; side < 2; ++side) {
34 if (side == 0 && center < delta) continue; 36 if (side == 0 && center < delta) continue;
35 if (side == 1 && UINTPTR_MAX - center < delta) continue; 37 if (side == 1 && UINTPTR_MAX - center < delta) continue;
@@ -38,6 +40,8 @@ inline uint8_t* alloc_near(const void* close_to, std::size_t size) {
38 PAGE_EXECUTE_READWRITE)) 40 PAGE_EXECUTE_READWRITE))
39 return static_cast<uint8_t*>(p); 41 return static_cast<uint8_t*>(p);
40 } 42 }
43 if (span - delta <= gran) break;
44 delta += gran;
41 } 45 }
42 return nullptr; 46 return nullptr;
43} 47}
@@ -53,6 +57,12 @@ constexpr DWORD kThunkFunctionOffset = 0x240;
53// RUNTIME_FUNCTION, makes the page executable and registers the function table. Frees the page and returns null on 57// RUNTIME_FUNCTION, makes the page executable and registers the function table. Frees the page and returns null on
54// failure. 58// failure.
55inline uint8_t* finish_thunk(uint8_t* t, std::size_t code_size, std::initializer_list<uint8_t> unwind) { 59inline uint8_t* finish_thunk(uint8_t* t, std::size_t code_size, std::initializer_list<uint8_t> unwind) {
60 if (!t) return nullptr;
61 if (code_size == 0 || code_size > kThunkUnwindOffset ||
62 unwind.size() > kThunkFunctionOffset - kThunkUnwindOffset) {
63 VirtualFree(t, 0, MEM_RELEASE);
64 return nullptr;
65 }
56 std::size_t i = 0; 66 std::size_t i = 0;
57 for (uint8_t b : unwind) t[kThunkUnwindOffset + i++] = b; 67 for (uint8_t b : unwind) t[kThunkUnwindOffset + i++] = b;
58 auto* function = reinterpret_cast<RUNTIME_FUNCTION*>(t + kThunkFunctionOffset); 68 auto* function = reinterpret_cast<RUNTIME_FUNCTION*>(t + kThunkFunctionOffset);
@@ -151,9 +161,17 @@ inline std::size_t redirect_direct_branches(uint8_t* begin, std::size_t size, co
151 const uintptr_t next_addr = reinterpret_cast<uintptr_t>(next); 161 const uintptr_t next_addr = reinterpret_cast<uintptr_t>(next);
152 const uintptr_t dst_addr = next_addr + static_cast<uintptr_t>(static_cast<intptr_t>(rel)); 162 const uintptr_t dst_addr = next_addr + static_cast<uintptr_t>(static_cast<intptr_t>(rel));
153 if (dst_addr != reinterpret_cast<uintptr_t>(target)) continue; 163 if (dst_addr != reinterpret_cast<uintptr_t>(target)) continue;
154 const intptr_t to = static_cast<intptr_t>(reinterpret_cast<uintptr_t>(thunk) - next_addr); 164 const uintptr_t thunk_addr = reinterpret_cast<uintptr_t>(thunk);
155 if (to < INT32_MIN || to > INT32_MAX) continue; 165 int32_t rel2 = 0;
156 const int32_t rel2 = static_cast<int32_t>(to); 166 if (thunk_addr >= next_addr) {
167 const uintptr_t diff = thunk_addr - next_addr;
168 if (diff > static_cast<uintptr_t>(INT32_MAX)) continue;
169 rel2 = static_cast<int32_t>(diff);
170 } else {
171 const uintptr_t diff = next_addr - thunk_addr;
172 if (diff > static_cast<uintptr_t>(INT32_MAX) + 1u) continue;
173 rel2 = static_cast<int32_t>(-static_cast<int64_t>(diff));
174 }
157 std::memcpy(begin + i + 1, &rel2, 4); 175 std::memcpy(begin + i + 1, &rel2, 4);
158 ++n; 176 ++n;
159 i += 4; 177 i += 4;
@@ -179,6 +197,7 @@ inline HookResult redirect_image_calls(uint8_t* base, uint32_t target_rva, MakeT
179 if (dos->e_magic != IMAGE_DOS_SIGNATURE || dos->e_lfanew < static_cast<LONG>(sizeof(IMAGE_DOS_HEADER))) 197 if (dos->e_magic != IMAGE_DOS_SIGNATURE || dos->e_lfanew < static_cast<LONG>(sizeof(IMAGE_DOS_HEADER)))
180 return r.error = "not a mapped PE image", r; 198 return r.error = "not a mapped PE image", r;
181 const uint64_t lfanew = static_cast<uint64_t>(dos->e_lfanew); 199 const uint64_t lfanew = static_cast<uint64_t>(dos->e_lfanew);
200 if (lfanew > UINT32_MAX - sizeof(IMAGE_NT_HEADERS64)) return r.error = "not a mapped PE image", r;
182 const auto* nt = reinterpret_cast<const IMAGE_NT_HEADERS64*>(base + lfanew); 201 const auto* nt = reinterpret_cast<const IMAGE_NT_HEADERS64*>(base + lfanew);
183 if (nt->Signature != IMAGE_NT_SIGNATURE || 202 if (nt->Signature != IMAGE_NT_SIGNATURE ||
184 nt->FileHeader.SizeOfOptionalHeader < sizeof(IMAGE_OPTIONAL_HEADER64) || 203 nt->FileHeader.SizeOfOptionalHeader < sizeof(IMAGE_OPTIONAL_HEADER64) ||
@@ -228,6 +247,7 @@ inline HookResult redirect_image_calls(uint8_t* base, uint32_t target_rva, MakeT
228 VirtualProtect(begin, size, old, &ignored); 247 VirtualProtect(begin, size, old, &ignored);
229 FlushInstructionCache(GetCurrentProcess(), begin, size); 248 FlushInstructionCache(GetCurrentProcess(), begin, size);
230 } 249 }
250 if (r.redirected == 0) free_thunk(thunk);
231 r.ok = true; 251 r.ok = true;
232 return r; 252 return r;
233} 253}
diff --git a/runtime/src/command_list.h b/runtime/src/command_list.h
index 3d7ed093b..8b79c987e 100644
--- a/runtime/src/command_list.h
+++ b/runtime/src/command_list.h
@@ -1,4 +1,5 @@
1#pragma once 1#pragma once
2#include "command_list_epochs.h"
2#include "gpu_label_memory.h" 3#include "gpu_label_memory.h"
3 4
4// The command-list IR (docs/d3d12_vulkan.md section 3.2): what a D3D12 command list records, kept until 5// The command-list IR (docs/d3d12_vulkan.md section 3.2): what a D3D12 command list records, kept until
@@ -462,6 +463,7 @@ struct Draw {
462 std::uint32_t first_instance = 0; 463 std::uint32_t first_instance = 0;
463 bool mesh = false; 464 bool mesh = false;
464 std::shared_ptr<const DrawViewports> viewports; // non-null when >1 viewport or >1 scissor was bound 465 std::shared_ptr<const DrawViewports> viewports; // non-null when >1 viewport or >1 scissor was bound
466 std::array<float, 2> depth_bounds{0, 1}; // OMSetDepthBounds (min, max); used by depth-bounds pipelines only
465}; 467};
466 468
467// Only indirect draws allocate this extra payload. Copies of the IR share both its 469// Only indirect draws allocate this extra payload. Copies of the IR share both its
@@ -545,8 +547,8 @@ struct UavView {
545 std::uint64_t size; // buffer: bytes in the view 547 std::uint64_t size; // buffer: bytes in the view
546 std::uint32_t element_size; // buffer: bytes an element (rects count elements), 4 for a raw view 548 std::uint32_t element_size; // buffer: bytes an element (rects count elements), 4 for a raw view
547 std::uint32_t mip; // texture 549 std::uint32_t mip; // texture
548 std::uint32_t first_layer; 550 std::uint32_t first_layer; // 1D/2D array: first slice; 3D volume: FirstWSlice
549 std::uint32_t layer_count; 551 std::uint32_t layer_count; // 1D/2D array: slice count; 3D volume: WSize
550 bool exact_clear_format = false; // newly exposed 1D/3D UAVs: do not clear via a different backing format 552 bool exact_clear_format = false; // newly exposed 1D/3D UAVs: do not clear via a different backing format
551}; 553};
552 554
@@ -982,6 +984,7 @@ public:
982 commands_.clear(); 984 commands_.clear();
983 active_.clear(); 985 active_.clear();
984 closed_ = false; 986 closed_ = false;
987 stamp_.restamp();
985 return true; 988 return true;
986 } 989 }
987 990
@@ -1025,6 +1028,7 @@ private:
1025 std::vector<Command> commands_; 1028 std::vector<Command> commands_;
1026 std::vector<BeginQuery> active_; // queries begun and not yet ended 1029 std::vector<BeginQuery> active_; // queries begun and not yet ended
1027 bool closed_ = false; 1030 bool closed_ = false;
1031 command_list_epochs::Stamp stamp_; // when this recording began: a copy the layer retires waits for it
1028}; 1032};
1029 1033
1030} // namespace leonida 1034} // namespace leonida
diff --git a/runtime/src/command_list_epochs.h b/runtime/src/command_list_epochs.h
new file mode 100644
index 000000000..61c73565d
--- /dev/null
+++ b/runtime/src/command_list_epochs.h
@@ -0,0 +1,69 @@
1#pragma once
2// Which command lists recorded before a moment may still be replayed. A command list resolves the title addresses
3// its root views name when they are recorded (d3d12_com.cpp GraphicsCommandList::address), so a copy the layer
4// retires (a title window, DeviceState::retire_orphan_windows) may still be named by a list recorded before the
5// retirement and executed, or executed again, after it; a held batch and the async worker keep copies of the lists
6// too. Each list, and each copy of it, carries the epoch its recording began in (Stamp, a CommandList member):
7// whatever was retired at epoch E is named by no list once the oldest live stamp is E or later.
8#include <atomic>
9#include <cstdint>
10#include <mutex>
11#include <set>
12
13namespace leonida::command_list_epochs {
14
15struct Registry {
16 std::mutex mutex;
17 std::multiset<std::uint64_t> live; // the stamps of every list and copy alive
18 std::atomic<std::uint64_t> epoch{1};
19};
20inline Registry& registry() {
21 static Registry r;
22 return r;
23}
24
25// A new epoch: lists whose recording began before it carry a smaller stamp.
26inline std::uint64_t advance() { return registry().epoch.fetch_add(1, std::memory_order_acq_rel) + 1; }
27
28// The oldest stamp alive (UINT64_MAX with no list at all).
29inline std::uint64_t oldest() {
30 Registry& r = registry();
31 std::lock_guard lock(r.mutex);
32 return r.live.empty() ? UINT64_MAX : *r.live.begin();
33}
34
35class Stamp {
36public:
37 Stamp() : epoch_(enter(registry().epoch.load(std::memory_order_acquire))) {}
38 Stamp(const Stamp& other) : epoch_(enter(other.epoch_)) {}
39 Stamp& operator=(const Stamp& other) {
40 if (this != &other) {
41 leave(epoch_);
42 epoch_ = enter(other.epoch_);
43 }
44 return *this;
45 }
46 ~Stamp() { leave(epoch_); }
47 // A new recording begins (CommandList::reset).
48 void restamp() {
49 leave(epoch_);
50 epoch_ = enter(registry().epoch.load(std::memory_order_acquire));
51 }
52 std::uint64_t epoch() const { return epoch_; }
53
54private:
55 static std::uint64_t enter(std::uint64_t epoch) {
56 Registry& r = registry();
57 std::lock_guard lock(r.mutex);
58 r.live.insert(epoch);
59 return epoch;
60 }
61 static void leave(std::uint64_t epoch) {
62 Registry& r = registry();
63 std::lock_guard lock(r.mutex);
64 if (const auto it = r.live.find(epoch); it != r.live.end()) r.live.erase(it);
65 }
66 std::uint64_t epoch_;
67};
68
69} // namespace leonida::command_list_epochs
diff --git a/runtime/src/compile_gate_calibration.h b/runtime/src/compile_gate_calibration.h
new file mode 100644
index 000000000..e1cd48dec
--- /dev/null
+++ b/runtime/src/compile_gate_calibration.h
@@ -0,0 +1,249 @@
1// The measurement behind LEONIDA_COMPILE_GATE=auto (compile_gate_policy.h): whether this driver holds a queue
2// submission while a pipeline create is in it. Run once per driver at device creation, before the title has the
3// device, on the device's own queue: a worker thread creates the slow compute pipeline of
4// compile_gate_policy::slow_compute_spirv (no pipeline cache, a new seed each time), and this thread submits an empty
5// command buffer and waits for its fence over and over until the create returns. A create too fast to tell is tried
6// again larger, up to kMaxTrials. Every failure is a classic verdict; the caller does not cache those.
7#pragma once
8
9#include <vulkan/vulkan.h>
10
11#include "compile_gate_policy.h"
12
13#include <atomic>
14#include <chrono>
15#include <cstdint>
16#include <cstdio>
17#include <string>
18#include <thread>
19#include <type_traits>
20#include <vector>
21
22namespace leonida::compile_gate_calibration {
23
24inline constexpr std::uint32_t kFirstStatements = 1000;
25inline constexpr std::uint32_t kMostStatements = 32000;
26inline constexpr unsigned kMaxTrials = 4;
27inline constexpr double kStartTrialsWithinMs = 6000; // no new trial after this long
28inline constexpr std::uint64_t kFenceTimeoutNs = 10'000'000'000ull;
29// After a wait that failed, how long the fence gets before the fence and command pool are destroyed: they must not be
30// destroyed while the submission is pending. Still not signalled after this, or the device lost: they are left alive.
31inline constexpr std::uint64_t kDrainTimeoutNs = 60'000'000'000ull;
32inline constexpr std::size_t kMostSamples = 4000; // per trial; the create may outlast them
33
34struct Result {
35 bool ok = false; // false: a Vulkan call failed (`error` says which); the verdict is then unclear
36 std::string error;
37 compile_gate_policy::Verdict verdict;
38 unsigned trials = 0;
39 std::uint32_t statements = 0; // of the last trial
40 double total_ms = 0;
41};
42
43namespace detail {
44
45struct Fns {
46 PFN_vkCreateDescriptorSetLayout create_set_layout = nullptr;
47 PFN_vkDestroyDescriptorSetLayout destroy_set_layout = nullptr;
48 PFN_vkCreatePipelineLayout create_layout = nullptr;
49 PFN_vkDestroyPipelineLayout destroy_layout = nullptr;
50 PFN_vkCreateShaderModule create_module = nullptr;
51 PFN_vkDestroyShaderModule destroy_module = nullptr;
52 PFN_vkCreateComputePipelines create_compute = nullptr;
53 PFN_vkDestroyPipeline destroy_pipeline = nullptr;
54 PFN_vkCreateCommandPool create_pool = nullptr;
55 PFN_vkDestroyCommandPool destroy_pool = nullptr;
56 PFN_vkAllocateCommandBuffers allocate_cbs = nullptr;
57 PFN_vkBeginCommandBuffer begin_cb = nullptr;
58 PFN_vkEndCommandBuffer end_cb = nullptr;
59 PFN_vkCreateFence create_fence = nullptr;
60 PFN_vkDestroyFence destroy_fence = nullptr;
61 PFN_vkResetFences reset_fences = nullptr;
62 PFN_vkWaitForFences wait_fences = nullptr;
63 PFN_vkQueueSubmit queue_submit = nullptr;
64
65 bool load(PFN_vkGetDeviceProcAddr get, VkDevice device) {
66 const auto fn = [&](auto& out, const char* name) {
67 out = reinterpret_cast<std::remove_reference_t<decltype(out)>>(get(device, name));
68 return out != nullptr;
69 };
70 return fn(create_set_layout, "vkCreateDescriptorSetLayout") &&
71 fn(destroy_set_layout, "vkDestroyDescriptorSetLayout") &&
72 fn(create_layout, "vkCreatePipelineLayout") && fn(destroy_layout, "vkDestroyPipelineLayout") &&
73 fn(create_module, "vkCreateShaderModule") && fn(destroy_module, "vkDestroyShaderModule") &&
74 fn(create_compute, "vkCreateComputePipelines") && fn(destroy_pipeline, "vkDestroyPipeline") &&
75 fn(create_pool, "vkCreateCommandPool") && fn(destroy_pool, "vkDestroyCommandPool") &&
76 fn(allocate_cbs, "vkAllocateCommandBuffers") && fn(begin_cb, "vkBeginCommandBuffer") &&
77 fn(end_cb, "vkEndCommandBuffer") && fn(create_fence, "vkCreateFence") &&
78 fn(destroy_fence, "vkDestroyFence") && fn(reset_fences, "vkResetFences") &&
79 fn(wait_fences, "vkWaitForFences") && fn(queue_submit, "vkQueueSubmit");
80 }
81};
82
83using clock = std::chrono::steady_clock;
84inline double ms_between(clock::time_point a, clock::time_point b) {
85 return std::chrono::duration<double, std::milli>(b - a).count();
86}
87
88} // namespace detail
89
90// Runs the calibration on `queue` (of `family`). Nothing else may use the queue meanwhile. `seed` varies the program
91// (the caller passes something new each run, so the driver's own shader cache never answers). Progress goes to
92// stderr with `tag` in front.
93inline Result calibrate(PFN_vkGetDeviceProcAddr get, VkDevice device, VkQueue queue, std::uint32_t family,
94 std::uint32_t seed, const char* tag = "[rt] compile-gate:") {
95 namespace policy = compile_gate_policy;
96 Result result;
97 const auto began = detail::clock::now();
98 detail::Fns vk;
99 if (!get || !device || !queue || !vk.load(get, device)) {
100 result.error = "the device's entry points are missing";
101 return result;
102 }
103 VkDescriptorSetLayout set_layout = VK_NULL_HANDLE;
104 VkPipelineLayout layout = VK_NULL_HANDLE;
105 VkCommandPool pool = VK_NULL_HANDLE;
106 VkCommandBuffer cb = VK_NULL_HANDLE;
107 VkFence fence = VK_NULL_HANDLE;
108 bool keep_queue_objects = false; // a submission may still be pending: never destroy its fence or command pool
109 const auto cleanup = [&] {
110 if (fence && !keep_queue_objects) vk.destroy_fence(device, fence, nullptr);
111 if (pool && !keep_queue_objects) vk.destroy_pool(device, pool, nullptr);
112 if (layout) vk.destroy_layout(device, layout, nullptr);
113 if (set_layout) vk.destroy_set_layout(device, set_layout, nullptr);
114 };
115 const auto fail = [&](const char* what, VkResult r) {
116 char text[120];
117 std::snprintf(text, sizeof text, "%s failed (VkResult %d)", what, int(r));
118 result.error = text;
119 cleanup();
120 result.total_ms = detail::ms_between(began, detail::clock::now());
121 return result;
122 };
123
124 VkDescriptorSetLayoutBinding binding{};
125 binding.binding = 0;
126 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER;
127 binding.descriptorCount = 1;
128 binding.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT;
129 VkDescriptorSetLayoutCreateInfo set_info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO};
130 set_info.bindingCount = 1;
131 set_info.pBindings = &binding;
132 if (const VkResult r = vk.create_set_layout(device, &set_info, nullptr, &set_layout); r != VK_SUCCESS)
133 return fail("vkCreateDescriptorSetLayout", r);
134 VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO};
135 layout_info.setLayoutCount = 1;
136 layout_info.pSetLayouts = &set_layout;
137 if (const VkResult r = vk.create_layout(device, &layout_info, nullptr, &layout); r != VK_SUCCESS)
138 return fail("vkCreatePipelineLayout", r);
139 VkCommandPoolCreateInfo pool_info{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO};
140 pool_info.queueFamilyIndex = family;
141 if (const VkResult r = vk.create_pool(device, &pool_info, nullptr, &pool); r != VK_SUCCESS)
142 return fail("vkCreateCommandPool", r);
143 VkCommandBufferAllocateInfo cb_info{VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO};
144 cb_info.commandPool = pool;
145 cb_info.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY;
146 cb_info.commandBufferCount = 1;
147 if (const VkResult r = vk.allocate_cbs(device, &cb_info, &cb); r != VK_SUCCESS)
148 return fail("vkAllocateCommandBuffers", r);
149 VkCommandBufferBeginInfo begin{VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO};
150 if (const VkResult r = vk.begin_cb(cb, &begin); r != VK_SUCCESS) return fail("vkBeginCommandBuffer", r);
151 if (const VkResult r = vk.end_cb(cb); r != VK_SUCCESS) return fail("vkEndCommandBuffer", r);
152 VkFenceCreateInfo fence_info{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO};
153 if (const VkResult r = vk.create_fence(device, &fence_info, nullptr, &fence); r != VK_SUCCESS)
154 return fail("vkCreateFence", r);
155 VkSubmitInfo submit{VK_STRUCTURE_TYPE_SUBMIT_INFO};
156 submit.commandBufferCount = 1;
157 submit.pCommandBuffers = &cb;
158
159 std::uint32_t statements = kFirstStatements;
160 bool retried_unclear = false;
161 for (unsigned trial = 0; trial < kMaxTrials; ++trial) {
162 if (trial && detail::ms_between(began, detail::clock::now()) > kStartTrialsWithinMs) break;
163 const std::vector<std::uint32_t> words = policy::slow_compute_spirv(statements);
164 VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO};
165 module_info.codeSize = words.size() * sizeof(std::uint32_t);
166 module_info.pCode = words.data();
167 VkShaderModule module = VK_NULL_HANDLE;
168 if (const VkResult r = vk.create_module(device, &module_info, nullptr, &module); r != VK_SUCCESS)
169 return fail("vkCreateShaderModule", r);
170 const std::uint32_t trial_seed = seed + trial;
171 VkSpecializationMapEntry entry{0, 0, sizeof(std::uint32_t)};
172 VkSpecializationInfo spec{1, &entry, sizeof trial_seed, &trial_seed};
173 VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO};
174 info.stage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
175 info.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT;
176 info.stage.module = module;
177 info.stage.pName = "main";
178 info.stage.pSpecializationInfo = &spec;
179 info.layout = layout;
180
181 std::atomic<bool> entered{false}, left{false};
182 detail::clock::time_point create_begin{}, create_end{};
183 VkResult create_result = VK_SUCCESS;
184 VkPipeline pipeline = VK_NULL_HANDLE;
185 std::thread worker([&] {
186 create_begin = detail::clock::now();
187 entered.store(true, std::memory_order_release);
188 create_result = vk.create_compute(device, VK_NULL_HANDLE, 1, &info, nullptr, &pipeline);
189 create_end = detail::clock::now();
190 left.store(true, std::memory_order_release);
191 });
192 while (!entered.load(std::memory_order_acquire)) std::this_thread::yield();
193 const detail::clock::time_point start_mark = create_begin;
194 policy::Trial t;
195 VkResult submit_result = VK_SUCCESS;
196 bool in_flight = false; // submitted, its fence not yet seen signalled
197 // Let the create get into the driver before the first submission.
198 std::this_thread::sleep_for(std::chrono::milliseconds(20));
199 while (!left.load(std::memory_order_acquire) && t.samples.size() < kMostSamples) {
200 const auto s0 = detail::clock::now();
201 submit_result = vk.queue_submit(queue, 1, &submit, fence);
202 if (submit_result != VK_SUCCESS) break;
203 in_flight = true;
204 submit_result = vk.wait_fences(device, 1, &fence, VK_TRUE, kFenceTimeoutNs);
205 const auto s1 = detail::clock::now();
206 if (submit_result != VK_SUCCESS) break;
207 in_flight = false;
208 submit_result = vk.reset_fences(device, 1, &fence);
209 if (submit_result != VK_SUCCESS) break;
210 t.samples.push_back({detail::ms_between(start_mark, s0), detail::ms_between(start_mark, s1)});
211 std::this_thread::sleep_for(std::chrono::milliseconds(5));
212 }
213 worker.join();
214 if (pipeline) vk.destroy_pipeline(device, pipeline, nullptr);
215 vk.destroy_module(device, module, nullptr);
216 if (submit_result != VK_SUCCESS) {
217 // A wait that timed out leaves the submission pending: the fence and the command buffer's pool are
218 // destroyed only once its fence signals. On a lost device, or if it still has not, they are left alive
219 // (a small leak, on a path that ends in the classic gate anyway).
220 if (submit_result == VK_ERROR_DEVICE_LOST) keep_queue_objects = true;
221 else if (in_flight && vk.wait_fences(device, 1, &fence, VK_TRUE, kDrainTimeoutNs) != VK_SUCCESS)
222 keep_queue_objects = true;
223 return fail("an empty submission", submit_result);
224 }
225 if (create_result != VK_SUCCESS) return fail("vkCreateComputePipelines", create_result);
226 t.create_ms = detail::ms_between(create_begin, create_end);
227 result.verdict = policy::judge(t);
228 result.trials = trial + 1;
229 result.statements = statements;
230 std::fprintf(stderr, "%s calibration trial %u: %u statements, create %.0f ms, %zu submissions, %s\n", tag,
231 trial + 1, unsigned(statements), t.create_ms, t.samples.size(),
232 policy::outcome_name(result.verdict.outcome));
233 if (result.verdict.outcome == policy::Outcome::adaptive || result.verdict.outcome == policy::Outcome::holds)
234 break;
235 if (result.verdict.outcome == policy::Outcome::too_fast) {
236 if (statements >= kMostStatements) break;
237 statements = policy::next_statements(statements, t.create_ms, kMostStatements);
238 } else { // unclear: once more at the same size (another process may have used the GPU), then give up
239 if (retried_unclear) break;
240 retried_unclear = true;
241 }
242 }
243 cleanup();
244 result.ok = true;
245 result.total_ms = detail::ms_between(began, detail::clock::now());
246 return result;
247}
248
249} // namespace leonida::compile_gate_calibration
diff --git a/runtime/src/compile_gate_policy.h b/runtime/src/compile_gate_policy.h
new file mode 100644
index 000000000..2e8ea21b7
--- /dev/null
+++ b/runtime/src/compile_gate_policy.h
@@ -0,0 +1,533 @@
1// Which compile gate (SubmitMutex, vulkan_device_fault.h) a run uses, and the pure half of the calibration that
2// decides it when LEONIDA_COMPILE_GATE is unset or `auto`: the setting, the verdict over the timings, the cache file
3// and the SPIR-V of the slow pipeline. No Vulkan calls and no environment here, so compile_gate_policy_test checks it
4// without a GPU; compile_gate_calibration.h runs the measurement.
5//
6// `auto` measures the driver once, at device creation and before the title runs: a worker thread creates a compute
7// pipeline that takes the driver about a second to compile, and meanwhile the device's queue gets empty submissions,
8// each waited for on a fence. Submissions that come back in under kQuickMs while the create is still in the driver
9// mean this driver does not hold a submission behind a create: the adaptive gate. One held until the create leaves
10// means it does (NVIDIA 630.20 held one 10 s beside a long compute create and lost the device): the classic gate. A
11// create too fast to tell, a submission slow for another reason, or any failure: classic, the gate as before `auto`.
12// Holding an empty submission for a second beside a one-second create cannot lose the device; the probes the adaptive
13// gate makes in the title, beside creates of 30-60 s, can (docs/d3d12_vulkan.md). The verdict is cached per GPU and
14// driver (compile_gate_calibration.txt beside the pipeline cache), so the measurement runs once per driver.
15#pragma once
16
17#include <algorithm>
18#include <atomic>
19#include <cstdint>
20#include <cstdio>
21#include <cstdlib>
22#include <cstring>
23#include <optional>
24#include <initializer_list>
25#include <string>
26#include <string_view>
27#include <vector>
28
29namespace leonida {
30
31// The gate a run uses. off: no gate. classic: compute creates only, no limit, no probes. adaptive: bounded, probes,
32// off once the driver is seen not to hold submissions. always: both kinds, no probes (LEONIDA_COMPILE_GATE=1).
33enum class CompileGateMode { off, classic, adaptive, always };
34
35namespace compile_gate_policy {
36
37// What LEONIDA_COMPILE_GATE asks for. automatic: unset, empty or `auto`.
38enum class Setting { automatic, off, classic, adaptive, always };
39
40struct ParsedSetting {
41 Setting setting = Setting::automatic;
42 bool unknown = false; // a value none of the below: classic, as before `auto`
43};
44
45// "0" off, "1" always, "adaptive", "classic", "auto"; unset or empty: auto. Anything else is classic, as it was
46// before `auto`: an unknown value never turns the adaptive gate on.
47inline ParsedSetting parse_setting(const char* value) {
48 if (!value || !*value || !std::strcmp(value, "auto")) return {Setting::automatic, false};
49 if (!std::strcmp(value, "0")) return {Setting::off, false};
50 if (!std::strcmp(value, "1")) return {Setting::always, false};
51 if (!std::strcmp(value, "adaptive")) return {Setting::adaptive, false};
52 if (!std::strcmp(value, "classic")) return {Setting::classic, false};
53 return {Setting::classic, true};
54}
55
56// The mode a forced setting names; automatic is classic until the calibration decides.
57inline CompileGateMode forced_mode(Setting setting) {
58 switch (setting) {
59 case Setting::off: return CompileGateMode::off;
60 case Setting::adaptive: return CompileGateMode::adaptive;
61 case Setting::always: return CompileGateMode::always;
62 case Setting::classic:
63 case Setting::automatic: break;
64 }
65 return CompileGateMode::classic;
66}
67
68// Set by gta6rt's title path (main.cpp) only: the calibration never runs in a build host (--precompile-pipelines,
69// --compile-server) or in a test process that creates a device, which keep the classic gate under `auto`.
70inline std::atomic<bool> calibration_allowed{false};
71
72inline constexpr std::uint32_t kNvidiaVendorId = 0x10DE;
73inline constexpr std::uint32_t kAmdVendorId = 0x1002;
74inline constexpr std::uint32_t kIntelVendorId = 0x8086;
75
76// NVIDIA's VkPhysicalDeviceProperties::driverVersion: 10 bits major, 8 bits minor, then 8 and 6 bits the driver does
77// not show on Windows ("621.40" is major 621, minor 40).
78struct NvidiaVersion {
79 std::uint32_t major = 0;
80 std::uint32_t minor = 0;
81};
82constexpr NvidiaVersion decode_nvidia(std::uint32_t version) {
83 return {(version >> 22) & 0x3ffu, (version >> 14) & 0xffu};
84}
85constexpr std::uint32_t encode_nvidia(std::uint32_t major, std::uint32_t minor) {
86 return ((major & 0x3ffu) << 22) | ((minor & 0xffu) << 14);
87}
88
89// "NVIDIA 621.40", "AMD driver 0x...", "vendor 0x... driver 0x...", "an unknown GPU", for the log.
90inline std::string describe_driver(std::uint32_t vendor_id, std::uint32_t driver_version) {
91 char text[96];
92 if (vendor_id == kNvidiaVendorId) {
93 const NvidiaVersion v = decode_nvidia(driver_version);
94 std::snprintf(text, sizeof text, "NVIDIA %u.%02u", unsigned(v.major), unsigned(v.minor));
95 } else if (vendor_id == kAmdVendorId) {
96 std::snprintf(text, sizeof text, "AMD driver 0x%08x", unsigned(driver_version));
97 } else if (vendor_id == kIntelVendorId) {
98 std::snprintf(text, sizeof text, "Intel driver 0x%08x", unsigned(driver_version));
99 } else if (vendor_id == 0) {
100 std::snprintf(text, sizeof text, "an unknown GPU");
101 } else {
102 std::snprintf(text, sizeof text, "vendor 0x%04x driver 0x%08x", unsigned(vendor_id), unsigned(driver_version));
103 }
104 return text;
105}
106
107// ---- The verdict over one trial.
108
109inline constexpr double kQuickMs = 50; // a submission back within this did not wait for the create
110inline constexpr double kMinCreateMs = 300; // a shorter create cannot tell: the next trial is bigger
111inline constexpr unsigned kMinQuick = 3; // quick submissions needed for the adaptive verdict
112inline constexpr double kEndMarginMs = 20; // a quick one counts only if it came back this long before the create
113inline constexpr double kHeldMs = 250; // a submission this long ...
114inline constexpr double kHeldReturnMs = 200; // ... that came back within this of the create leaving was held by it
115inline constexpr double kTargetCreateMs = 800;
116
117// One submission, in ms from the moment the create entered the driver: entered the queue at start_ms, its fence
118// signalled at end_ms.
119struct Sample {
120 double start_ms = 0;
121 double end_ms = 0;
122};
123
124struct Trial {
125 double create_ms = 0; // how long vkCreateComputePipelines took
126 std::vector<Sample> samples;
127};
128
129enum class Outcome {
130 adaptive, // submissions came back quickly with the create still in the driver
131 holds, // a submission was held until the create left
132 too_fast, // the create left before it could tell
133 unclear, // a submission was slow, but not held by the create; or too few samples
134};
135
136inline const char* outcome_name(Outcome outcome) {
137 switch (outcome) {
138 case Outcome::adaptive: return "adaptive";
139 case Outcome::holds: return "holds";
140 case Outcome::too_fast: return "too_fast";
141 case Outcome::unclear: break;
142 }
143 return "unclear";
144}
145inline std::optional<Outcome> parse_outcome(std::string_view name) {
146 for (const Outcome o : {Outcome::adaptive, Outcome::holds, Outcome::too_fast, Outcome::unclear})
147 if (name == outcome_name(o)) return o;
148 return std::nullopt;
149}
150inline CompileGateMode mode_for(Outcome outcome) {
151 return outcome == Outcome::adaptive ? CompileGateMode::adaptive : CompileGateMode::classic;
152}
153
154struct Verdict {
155 Outcome outcome = Outcome::unclear;
156 unsigned quick = 0; // submissions back within kQuickMs, before the create left
157 double max_quick_ms = 0; // the longest of those
158 double create_ms = 0;
159 double slow_ms = 0; // the longest submission over kQuickMs (held or not), 0 if none
160};
161
162inline Verdict judge(const Trial& trial) {
163 Verdict v;
164 v.create_ms = trial.create_ms;
165 bool held = false, slow = false, late_quick = false;
166 for (const Sample& s : trial.samples) {
167 if (s.start_ms < 0 || s.start_ms >= trial.create_ms) continue; // entered while the create was in the driver
168 const double ms = s.end_ms - s.start_ms;
169 if (ms > kQuickMs) {
170 v.slow_ms = (std::max)(v.slow_ms, ms);
171 if (ms >= kHeldMs && s.end_ms >= trial.create_ms - kEndMarginMs &&
172 s.end_ms <= trial.create_ms + kHeldReturnMs)
173 held = true;
174 else
175 slow = true;
176 continue;
177 }
178 if (s.end_ms > trial.create_ms - kEndMarginMs) continue; // back as the create left: tells nothing
179 ++v.quick;
180 v.max_quick_ms = (std::max)(v.max_quick_ms, ms);
181 if (s.start_ms >= trial.create_ms * 0.5) late_quick = true;
182 }
183 if (held) v.outcome = Outcome::holds; // first: a hold outweighs any number of quick ones
184 else if (slow) v.outcome = Outcome::unclear;
185 else if (trial.create_ms < kMinCreateMs) v.outcome = Outcome::too_fast;
186 else if (v.quick >= kMinQuick && late_quick) v.outcome = Outcome::adaptive;
187 else v.outcome = Outcome::unclear;
188 return v;
189}
190
191// How many statements the next trial gets after one of `statements` took `create_ms`: towards kTargetCreateMs, at
192// least twice and at most eight times as many, and never more than `most`.
193inline std::uint32_t next_statements(std::uint32_t statements, double create_ms, std::uint32_t most) {
194 const double scaled = double(statements) * kTargetCreateMs / (std::max)(create_ms, 1.0);
195 const double grown = std::clamp(scaled, double(statements) * 2, double(statements) * 8);
196 return std::uint32_t((std::min)(grown, double(most)));
197}
198
199// "N submissions came back in <= X ms beside a Y ms create" and the other outcomes, for the log.
200inline std::string describe_verdict(const Verdict& v) {
201 char text[200];
202 switch (v.outcome) {
203 case Outcome::adaptive:
204 std::snprintf(text, sizeof text, "%u submissions came back in <= %.1f ms beside a %.0f ms create", v.quick,
205 v.max_quick_ms, v.create_ms);
206 break;
207 case Outcome::holds:
208 std::snprintf(text, sizeof text, "a submission was held %.0f ms, until a %.0f ms create left", v.slow_ms,
209 v.create_ms);
210 break;
211 case Outcome::too_fast:
212 std::snprintf(text, sizeof text, "inconclusive: the largest create took only %.0f ms", v.create_ms);
213 break;
214 case Outcome::unclear:
215 if (v.slow_ms > 0)
216 std::snprintf(text, sizeof text, "inconclusive: a submission took %.0f ms beside a %.0f ms create, "
217 "but did not come back with it", v.slow_ms, v.create_ms);
218 else
219 std::snprintf(text, sizeof text, "inconclusive: %u quick submissions beside a %.0f ms create", v.quick,
220 v.create_ms);
221 break;
222 }
223 return text;
224}
225
226// ---- The cache: one line per GPU and driver.
227
228struct CacheKey {
229 std::uint32_t vendor = 0;
230 std::uint32_t device = 0;
231 std::uint32_t driver = 0;
232 std::uint8_t uuid[16] = {}; // pipelineCacheUUID
233};
234inline bool same_key(const CacheKey& a, const CacheKey& b) {
235 return a.vendor == b.vendor && a.device == b.device && a.driver == b.driver &&
236 !std::memcmp(a.uuid, b.uuid, sizeof a.uuid);
237}
238
239struct CacheEntry {
240 CacheKey key;
241 Verdict verdict;
242};
243
244inline constexpr std::string_view kCacheTag = "compile-gate-calibration v1";
245
246inline std::string format_entry(const CacheEntry& e) {
247 char uuid[33];
248 for (int i = 0; i < 16; ++i) std::snprintf(uuid + 2 * i, 3, "%02x", unsigned(e.key.uuid[i]));
249 char text[320];
250 // Whole tenths of a millisecond, not decimals: no locale reads a comma into them.
251 std::snprintf(text, sizeof text,
252 "%s vendor=%04x device=%04x driver=%08x uuid=%s outcome=%s quick=%u max_quick_ds=%lld "
253 "create_ds=%lld slow_ds=%lld",
254 std::string(kCacheTag).c_str(), unsigned(e.key.vendor), unsigned(e.key.device),
255 unsigned(e.key.driver), uuid, outcome_name(e.verdict.outcome), e.verdict.quick,
256 static_cast<long long>(e.verdict.max_quick_ms * 10 + 0.5),
257 static_cast<long long>(e.verdict.create_ms * 10 + 0.5),
258 static_cast<long long>(e.verdict.slow_ms * 10 + 0.5));
259 return text;
260}
261
262namespace detail {
263inline bool hex_u32(std::string_view text, std::uint32_t& out) {
264 if (text.empty() || text.size() > 8) return false;
265 std::uint32_t v = 0;
266 for (const char c : text) {
267 int d;
268 if (c >= '0' && c <= '9') d = c - '0';
269 else if (c >= 'a' && c <= 'f') d = c - 'a' + 10;
270 else if (c >= 'A' && c <= 'F') d = c - 'A' + 10;
271 else return false;
272 v = (v << 4) | std::uint32_t(d);
273 }
274 out = v;
275 return true;
276}
277inline bool dec_ll(std::string_view text, long long& out) {
278 if (text.empty() || text.size() > 18) return false;
279 long long v = 0;
280 for (const char c : text) {
281 if (c < '0' || c > '9') return false;
282 v = v * 10 + (c - '0');
283 }
284 out = v;
285 return true;
286}
287} // namespace detail
288
289// One cache line; nullopt for a line that is not one (another version, damaged).
290inline std::optional<CacheEntry> parse_entry(std::string_view line) {
291 while (!line.empty() && (line.back() == '\r' || line.back() == '\n' || line.back() == ' ')) line.remove_suffix(1);
292 if (line.substr(0, kCacheTag.size()) != kCacheTag) return std::nullopt;
293 line.remove_prefix(kCacheTag.size());
294 CacheEntry e;
295 unsigned seen = 0;
296 while (!line.empty()) {
297 if (line.front() != ' ') return std::nullopt;
298 line.remove_prefix(1);
299 const std::size_t end = (std::min)(line.find(' '), line.size());
300 const std::string_view field = line.substr(0, end);
301 line.remove_prefix(end);
302 const std::size_t eq = field.find('=');
303 if (eq == std::string_view::npos) return std::nullopt;
304 const std::string_view name = field.substr(0, eq), value = field.substr(eq + 1);
305 long long n = 0;
306 if (name == "vendor") { if (!detail::hex_u32(value, e.key.vendor)) return std::nullopt; seen |= 1; }
307 else if (name == "device") { if (!detail::hex_u32(value, e.key.device)) return std::nullopt; seen |= 2; }
308 else if (name == "driver") { if (!detail::hex_u32(value, e.key.driver)) return std::nullopt; seen |= 4; }
309 else if (name == "uuid") {
310 if (value.size() != 32) return std::nullopt;
311 for (int i = 0; i < 16; ++i) {
312 std::uint32_t byte = 0;
313 if (!detail::hex_u32(value.substr(std::size_t(2 * i), 2), byte)) return std::nullopt;
314 e.key.uuid[i] = std::uint8_t(byte);
315 }
316 seen |= 8;
317 } else if (name == "outcome") {
318 const auto o = parse_outcome(value);
319 if (!o) return std::nullopt;
320 e.verdict.outcome = *o;
321 seen |= 16;
322 } else if (name == "quick") {
323 if (!detail::dec_ll(value, n) || n > 0xffffffffLL) return std::nullopt;
324 e.verdict.quick = unsigned(n);
325 } else if (name == "max_quick_ds") { if (!detail::dec_ll(value, n)) return std::nullopt; e.verdict.max_quick_ms = double(n) / 10; }
326 else if (name == "create_ds") { if (!detail::dec_ll(value, n)) return std::nullopt; e.verdict.create_ms = double(n) / 10; }
327 else if (name == "slow_ds") { if (!detail::dec_ll(value, n)) return std::nullopt; e.verdict.slow_ms = double(n) / 10; }
328 // An unknown field is skipped: a later version may add one.
329 }
330 if (seen != 31) return std::nullopt;
331 return e;
332}
333
334// Whether a calibration's verdict is written to the cache. Not an unclear one: a submission slowed by something else
335// on the GPU (another process, a driver background task) says nothing about this driver, and kept, it would hold
336// every later launch on the classic gate until the driver changes; the next launch measures again instead. A create
337// still too fast at kMostStatements is kept: that does not change from one launch to the next.
338inline bool cache_verdict(Outcome outcome) { return outcome != Outcome::unclear; }
339
340// The entry for `key` in a cache file's text, if it has one the cache keeps (an unclear one, written by an earlier
341// build, is not one: the next launch measures again).
342inline std::optional<CacheEntry> find_entry(std::string_view text, const CacheKey& key) {
343 std::optional<CacheEntry> found;
344 while (!text.empty()) {
345 const std::size_t end = (std::min)(text.find('\n'), text.size());
346 if (const auto e = parse_entry(text.substr(0, end));
347 e && same_key(e->key, key) && cache_verdict(e->verdict.outcome))
348 found = e; // the last wins
349 text.remove_prefix((std::min)(end + 1, text.size()));
350 }
351 return found;
352}
353
354// The text with `entry` in place of any line for its key, every other valid line kept, damaged lines dropped.
355inline std::string replace_entry(std::string_view text, const CacheEntry& entry) {
356 std::string out;
357 while (!text.empty()) {
358 const std::size_t end = (std::min)(text.find('\n'), text.size());
359 if (const auto e = parse_entry(text.substr(0, end)); e && !same_key(e->key, entry.key))
360 out += format_entry(*e) + "\n";
361 text.remove_prefix((std::min)(end + 1, text.size()));
362 }
363 out += format_entry(entry) + "\n";
364 return out;
365}
366
367// LEONIDA_COMPILE_GATE_RECALIBRATE=1: measure again and write over the cached verdict.
368inline bool recalibrate(const char* value) { return value && !std::strcmp(value, "1"); }
369
370// ---- The slow pipeline: a compute shader, SPIR-V 1.0, written here (no game data, no shader compiler).
371//
372// One storage buffer (set 0, binding 0) of floats: a = buf[0], b = buf[1] at run time, so nothing folds; then
373// `statements` times
374// a = fract(sin(a * k1 + b) * 43758.5453);
375// if (a > k2) b = b * 0.97 + a * k1; else b = b - a * k2;
376// with k1 and k2 made from the specialization constant 0 (the seed), and buf[2] = a + b. Each seed is a different
377// program to the driver, so neither a pipeline cache nor the driver's own shader cache can answer the create. It is
378// never dispatched.
379class SpirvWriter {
380public:
381 std::uint32_t id() { return next_++; }
382 void op(std::uint32_t opcode, std::initializer_list<std::uint32_t> operands) {
383 words_.push_back(std::uint32_t(operands.size() + 1) << 16 | opcode);
384 words_.insert(words_.end(), operands.begin(), operands.end());
385 }
386 void op_string(std::uint32_t opcode, std::initializer_list<std::uint32_t> before, const char* text,
387 std::initializer_list<std::uint32_t> after = {}) {
388 const std::size_t length = std::strlen(text);
389 const std::size_t string_words = length / 4 + 1;
390 words_.push_back(std::uint32_t(1 + before.size() + string_words + after.size()) << 16 | opcode);
391 words_.insert(words_.end(), before.begin(), before.end());
392 for (std::size_t w = 0; w < string_words; ++w) {
393 std::uint32_t word = 0;
394 for (std::size_t b = 0; b < 4; ++b) {
395 const std::size_t i = w * 4 + b;
396 if (i < length) word |= std::uint32_t(std::uint8_t(text[i])) << (8 * b);
397 }
398 words_.push_back(word);
399 }
400 words_.insert(words_.end(), after.begin(), after.end());
401 }
402 std::vector<std::uint32_t> finish() {
403 std::vector<std::uint32_t> out{0x07230203u, 0x00010000u, 0u, next_, 0u};
404 out.insert(out.end(), words_.begin(), words_.end());
405 return out;
406 }
407
408private:
409 std::vector<std::uint32_t> words_;
410 std::uint32_t next_ = 1;
411};
412
413inline std::uint32_t float_bits(float f) {
414 std::uint32_t u;
415 std::memcpy(&u, &f, sizeof u);
416 return u;
417}
418
419inline std::vector<std::uint32_t> slow_compute_spirv(std::uint32_t statements) {
420 enum : std::uint32_t {
421 OpExtInstImport = 11, OpExtInst = 12, OpMemoryModel = 14, OpEntryPoint = 15, OpExecutionMode = 16,
422 OpCapability = 17, OpTypeVoid = 19, OpTypeBool = 20, OpTypeInt = 21, OpTypeFloat = 22,
423 OpTypeRuntimeArray = 29, OpTypeStruct = 30, OpTypePointer = 32, OpTypeFunction = 33, OpConstant = 43,
424 OpSpecConstant = 50, OpFunction = 54, OpFunctionEnd = 56, OpVariable = 59, OpLoad = 61, OpStore = 62,
425 OpAccessChain = 65, OpDecorate = 71, OpMemberDecorate = 72, OpConvertUToF = 112, OpFAdd = 129,
426 OpFSub = 131, OpFMul = 133, OpFOrdGreaterThan = 186, OpSelectionMerge = 247, OpLabel = 248, OpBranch = 249,
427 OpBranchConditional = 250, OpReturn = 253,
428 };
429 enum : std::uint32_t { Uniform = 2, Function = 7, GLSLSin = 13, GLSLFract = 10 };
430 SpirvWriter w;
431 const std::uint32_t glsl = w.id(), main_fn = w.id(), void_t = w.id(), fn_t = w.id(), float_t = w.id(),
432 uint_t = w.id(), int_t = w.id(), bool_t = w.id(), seed = w.id(), array_t = w.id(),
433 block_t = w.id(), block_ptr = w.id(), buf = w.id(), ufloat_ptr = w.id(), ffloat_ptr = w.id(),
434 i0 = w.id(), i1 = w.id(), i2 = w.id(), c_big = w.id(), c_097 = w.id();
435 constexpr std::uint32_t kConstants = 13;
436 std::uint32_t ka[kConstants], kb[kConstants];
437 for (std::uint32_t i = 0; i < kConstants; ++i) ka[i] = w.id(), kb[i] = w.id();
438
439 w.op(OpCapability, {1}); // Shader
440 w.op_string(OpExtInstImport, {glsl}, "GLSL.std.450");
441 w.op(OpMemoryModel, {0, 1});
442 w.op_string(OpEntryPoint, {5, main_fn}, "main");
443 w.op(OpExecutionMode, {main_fn, 17, 1, 1, 1}); // LocalSize 1 1 1
444 w.op(OpDecorate, {seed, 1, 0}); // SpecId 0
445 w.op(OpDecorate, {array_t, 6, 4}); // ArrayStride 4
446 w.op(OpMemberDecorate, {block_t, 0, 35, 0}); // Offset 0
447 w.op(OpDecorate, {block_t, 3}); // BufferBlock
448 w.op(OpDecorate, {buf, 34, 0}); // DescriptorSet 0
449 w.op(OpDecorate, {buf, 33, 0}); // Binding 0
450 w.op(OpTypeVoid, {void_t});
451 w.op(OpTypeFunction, {fn_t, void_t});
452 w.op(OpTypeFloat, {float_t, 32});
453 w.op(OpTypeInt, {uint_t, 32, 0});
454 w.op(OpTypeInt, {int_t, 32, 1});
455 w.op(OpTypeBool, {bool_t});
456 w.op(OpTypeRuntimeArray, {array_t, float_t});
457 w.op(OpTypeStruct, {block_t, array_t});
458 w.op(OpTypePointer, {block_ptr, Uniform, block_t});
459 w.op(OpTypePointer, {ufloat_ptr, Uniform, float_t});
460 w.op(OpTypePointer, {ffloat_ptr, Function, float_t});
461 w.op(OpSpecConstant, {uint_t, seed, 0});
462 w.op(OpConstant, {int_t, i0, 0});
463 w.op(OpConstant, {int_t, i1, 1});
464 w.op(OpConstant, {int_t, i2, 2});
465 w.op(OpConstant, {float_t, c_big, float_bits(43758.5453f)});
466 w.op(OpConstant, {float_t, c_097, float_bits(0.97f)});
467 for (std::uint32_t i = 0; i < kConstants; ++i) {
468 w.op(OpConstant, {float_t, ka[i], float_bits(0.0013f * float(i + 1))});
469 w.op(OpConstant, {float_t, kb[i], float_bits(0.5f + 0.11f * float(i))});
470 }
471 w.op(OpVariable, {block_ptr, buf, Uniform});
472
473 w.op(OpFunction, {void_t, main_fn, 0, fn_t});
474 w.op(OpLabel, {w.id()});
475 const std::uint32_t va = w.id(), vb = w.id();
476 w.op(OpVariable, {ffloat_ptr, va, Function});
477 w.op(OpVariable, {ffloat_ptr, vb, Function});
478 const std::uint32_t p0 = w.id(), x = w.id(), p1 = w.id(), y = w.id(), seedf = w.id();
479 w.op(OpAccessChain, {ufloat_ptr, p0, buf, i0, i0});
480 w.op(OpLoad, {float_t, x, p0});
481 w.op(OpAccessChain, {ufloat_ptr, p1, buf, i0, i1});
482 w.op(OpLoad, {float_t, y, p1});
483 w.op(OpConvertUToF, {float_t, seedf, seed});
484 w.op(OpStore, {va, x});
485 w.op(OpStore, {vb, y});
486 for (std::uint32_t i = 0; i < statements; ++i) {
487 const std::uint32_t c1 = i % kConstants, c2 = (i * 7 + 3) % kConstants;
488 const std::uint32_t k1m = w.id(), k1 = w.id(), k2m = w.id(), k2 = w.id();
489 w.op(OpFMul, {float_t, k1m, seedf, ka[c1]});
490 w.op(OpFAdd, {float_t, k1, k1m, kb[c1]});
491 w.op(OpFMul, {float_t, k2m, seedf, ka[c2]});
492 w.op(OpFAdd, {float_t, k2, k2m, kb[c2]});
493 const std::uint32_t a = w.id(), b = w.id(), t1 = w.id(), t2 = w.id(), s = w.id(), m = w.id(), f = w.id();
494 w.op(OpLoad, {float_t, a, va});
495 w.op(OpLoad, {float_t, b, vb});
496 w.op(OpFMul, {float_t, t1, a, k1});
497 w.op(OpFAdd, {float_t, t2, t1, b});
498 w.op(OpExtInst, {float_t, s, glsl, GLSLSin, t2});
499 w.op(OpFMul, {float_t, m, s, c_big});
500 w.op(OpExtInst, {float_t, f, glsl, GLSLFract, m});
501 w.op(OpStore, {va, f});
502 const std::uint32_t cond = w.id(), then_l = w.id(), else_l = w.id(), merge_l = w.id();
503 w.op(OpFOrdGreaterThan, {bool_t, cond, f, k2});
504 w.op(OpSelectionMerge, {merge_l, 0});
505 w.op(OpBranchConditional, {cond, then_l, else_l});
506 w.op(OpLabel, {then_l});
507 const std::uint32_t tb = w.id(), tf = w.id(), tsum = w.id();
508 w.op(OpFMul, {float_t, tb, b, c_097});
509 w.op(OpFMul, {float_t, tf, f, k1});
510 w.op(OpFAdd, {float_t, tsum, tb, tf});
511 w.op(OpStore, {vb, tsum});
512 w.op(OpBranch, {merge_l});
513 w.op(OpLabel, {else_l});
514 const std::uint32_t ef = w.id(), ediff = w.id();
515 w.op(OpFMul, {float_t, ef, f, k2});
516 w.op(OpFSub, {float_t, ediff, b, ef});
517 w.op(OpStore, {vb, ediff});
518 w.op(OpBranch, {merge_l});
519 w.op(OpLabel, {merge_l});
520 }
521 const std::uint32_t fa = w.id(), fb = w.id(), sum = w.id(), p2 = w.id();
522 w.op(OpLoad, {float_t, fa, va});
523 w.op(OpLoad, {float_t, fb, vb});
524 w.op(OpFAdd, {float_t, sum, fa, fb});
525 w.op(OpAccessChain, {ufloat_ptr, p2, buf, i0, i2});
526 w.op(OpStore, {p2, sum});
527 w.op(OpReturn, {});
528 w.op(OpFunctionEnd, {});
529 return w.finish();
530}
531
532} // namespace compile_gate_policy
533} // namespace leonida
diff --git a/runtime/src/conservative_raster.h b/runtime/src/conservative_raster.h
index 469066d17..f0543f367 100644
--- a/runtime/src/conservative_raster.h
+++ b/runtime/src/conservative_raster.h
@@ -33,12 +33,41 @@ struct InnerCoverageRequirements {
33 33
34// Inspect the actual module, not optional index metadata, before vkCreateShaderModule. Every valid use of 34// Inspect the actual module, not optional index metadata, before vkCreateShaderModule. Every valid use of
35// FullyCoveredEXT requires FragmentFullyCoveredEXT; PostDepthCoverage has an additional device property. 35// FullyCoveredEXT requires FragmentFullyCoveredEXT; PostDepthCoverage has an additional device property.
36// Per SPIR-V Logical Layout (§2.4), OpCapability (17) and OpExecutionMode (16) precede all debug,
37// annotation, type, constant, global variable, and function sections, so scanning stops at the first
38// post-execution-mode instruction rather than walking the full module body.
36inline InnerCoverageRequirements inner_coverage_requirements(std::span<const std::uint32_t> words) { 39inline InnerCoverageRequirements inner_coverage_requirements(std::span<const std::uint32_t> words) {
40 constexpr auto is_post_execution_mode = [](std::uint32_t op) noexcept {
41 switch (op) {
42 case 1: // OpUndef
43 case 2: // OpSourceContinued
44 case 3: // OpSource
45 case 4: // OpSourceExtension
46 case 5: // OpName
47 case 6: // OpMemberName
48 case 7: // OpString
49 case 54: // OpFunction
50 case 59: // OpVariable
51 case 71: // OpDecorate
52 case 72: // OpMemberDecorate
53 case 73: // OpDecorationGroup
54 case 74: // OpGroupDecorate
55 case 75: // OpGroupMemberDecorate
56 case 330: // OpModuleProcessed
57 case 332: // OpDecorateId
58 case 5632: // OpDecorateString
59 case 5633: // OpMemberDecorateString
60 return true;
61 default:
62 return (op >= 19 && op <= 39) || (op >= 41 && op <= 52); // OpType* / OpConstant*
63 }
64 };
37 InnerCoverageRequirements result; 65 InnerCoverageRequirements result;
38 if (words.size() < 5 || words[0] != 0x07230203) return result; 66 if (words.size() < 5 || words[0] != 0x07230203) return result;
39 for (std::size_t i = 5; i < words.size();) { 67 for (std::size_t i = 5; i < words.size();) {
40 const auto count = words[i] >> 16, op = words[i] & 0xffff; 68 const auto count = words[i] >> 16, op = words[i] & 0xffff;
41 if (!count || count > words.size() - i) return result; 69 if (!count || count > words.size() - i) return result;
70 if (is_post_execution_mode(op)) break;
42 if (op == 17 && count >= 2 && words[i + 1] == 5265) result.fully_covered = true; 71 if (op == 17 && count >= 2 && words[i + 1] == 5265) result.fully_covered = true;
43 if (op == 16 && count >= 3 && words[i + 2] == 4446) result.post_depth = true; 72 if (op == 16 && count >= 3 && words[i + 2] == 4446) result.post_depth = true;
44 i += count; 73 i += count;
@@ -46,4 +75,21 @@ inline InnerCoverageRequirements inner_coverage_requirements(std::span<const std
46 result.valid = true; 75 result.valid = true;
47 return result; 76 return result;
48} 77}
78
79// True when the mesh shader module outputs triangles (OutputTrianglesEXT, 5298). A module with lines (5269), points (27)
80// or no output mode does not. Each mesh entry point of a valid module has exactly one of the three.
81inline bool mesh_outputs_triangles(std::span<const std::uint32_t> words) {
82 if (words.size() < 5 || words[0] != 0x07230203) return false;
83 bool triangles = false;
84 for (std::size_t i = 5; i < words.size();) {
85 const auto count = words[i] >> 16, op = words[i] & 0xffff;
86 if (!count || count > words.size() - i) return false;
87 if (op == 16 && count >= 3) { // OpExecutionMode
88 if (words[i + 2] == 5298) triangles = true;
89 else if (words[i + 2] == 5269 || words[i + 2] == 27) return false;
90 }
91 i += count;
92 }
93 return triangles;
94}
49} // namespace leonida::conservative_raster 95} // namespace leonida::conservative_raster
diff --git a/runtime/src/console_heap_fix.comp b/runtime/src/console_heap_fix.comp
new file mode 100644
index 000000000..85b5d1787
--- /dev/null
+++ b/runtime/src/console_heap_fix.comp
@@ -0,0 +1,292 @@
1// Console descriptor heap translation on the GPU (LEONIDA_CONSOLE_HEAP_GPU=1, shims/d3d12_console_heap_gpu.h).
2// The title writes 32-byte RDNA2 records into its console descriptor heap; shaders read a copy in which every buffer
3// V# whose base is the title's own memory names the GPU copy of that memory instead (DeviceState::fix_vsharp). This
4// pass makes that copy: for each listed slot it reads the title's bytes (a host mirror of the heap's pages), rewrites
5// the V# halves, and writes the record where shaders read it. T#s and other words are copied as they are (T#s are
6// found by their exact words in the bindless table; the CPU registers them).
7// console_heap_fix_spv.h is this file compiled with `glslc --target-env=vulkan1.2 -O -mfmt=c` (see the header);
8// keep them together. runtime/test/vk_console_heap_gpu_test.cpp checks it against the CPU reference
9// (console_heap_gpu_reference in d3d12_console_heap_gpu.h).
10//
11// A V# half (dwords 0-3, and 4-7 when dword 3 says the slot is a buffer pair) is translated like fix_vsharp:
12// - skipped when its TYPE bits (dword 3, bits 30-31) are set or it has no records (dword 2 zero);
13// - base 0: written with no records;
14// - base inside a range of the range table (the alias table: slot-133 buffers, title windows, pool extents), sorted
15// by title VA: rebased to the range's shader VA when the range was checked backed on the CPU and holds the V#'s
16// whole span; written with no records when it does not hold it (vsharp_address answers 0 there too). An
17// unchecked range falls through;
18// - the base as a shader VA (sign-extended from bit 47 with FLAG_SIGNED) with its whole span inside a span of the
19// backed table (live allocations, geometry blocks): left as it is, as vsharp_address's backed() leaves it;
20// - otherwise its exact 16 bytes are looked up in the key table (an open-addressed table the CPU fills with what
21// vsharp_address answered for those words: a shader VA, or "no backing"); found: rebased, or written with no
22// records;
23// - not found: written with no records; when the base is in the ask table (the title's memory and GPU windows, with
24// FLAG_ASK), or there is no ask table, the half is recorded in the miss list, which the CPU reads once the
25// submission is done, resolves (making the copy if it can) and enters in the key table.
26// "No records" is what fix_vsharp writes: dwords 0, 1 and 2 zero, so loads return 0 and stores are dropped, and no
27// shader adds heap_base to a raw title address.
28//
29// MODE_UPDATE writes the key table entries the CPU changed (one thread each) before MODE_TRANSLATE runs, so the
30// table only ever changes in GPU order, between passes.
31//
32// Addresses are 64-bit buffer device addresses passed as uvec2 (GL_EXT_buffer_reference_uvec2): only the
33// bufferDeviceAddress feature is needed, no shaderInt64.
34#version 460
35#extension GL_EXT_buffer_reference : require
36#extension GL_EXT_buffer_reference_uvec2 : require
37
38layout(local_size_x = 64) in;
39
40layout(buffer_reference, std430, buffer_reference_align = 16) buffer Slots {
41 uvec4 v[];
42};
43layout(buffer_reference, std430, buffer_reference_align = 4) buffer Words {
44 uint w[];
45};
46
47const uint MODE_TRANSLATE = 0u;
48const uint MODE_UPDATE = 1u;
49
50const uint RANGE_WORDS = 8u; // title_va (2), end (2), shader_va (2), flags, pad
51const uint RANGE_CHECKED = 1u; // the CPU found the whole range backed
52const uint KEY_WORDS = 8u; // key (4), to.x, to.y | flags << 16, pad (2)
53const uint KEY_USED = 1u;
54const uint KEY_NONE = 2u; // vsharp_address answered 0: no records
55const uint KEY_PROBES = 16u;
56const uint UPDATE_WORDS = 12u; // index, pad (3), entry (8)
57const uint MISS_HEADER = 4u; // count, capacity, overflowed, pad
58const uint SPAN_WORDS = 4u; // start (2), end (2)
59const uint FLAG_SIGNED = 1u;
60const uint FLAG_ASK = 2u;
61const uint FLAG_RANGE = 4u; // MODE_TRANSLATE over slots pc.work.x + i, not a list: a rescan, V# pairs only
62const uint FLAG_FILTER = 8u; // with FLAG_RANGE: only slots whose metadata meets a change span (below)
63
64layout(push_constant) uniform Params {
65 uvec2 input_slots; // the title's bytes of the heap (its host mirror)
66 uvec2 copy_slots; // the heap where shaders read it
67 uvec2 work; // slot indices (MODE_TRANSLATE)
68 uvec2 ranges; // range table
69 uvec2 keys; // key table
70 uvec2 misses; // miss list
71 uvec2 backed; // backed spans
72 uvec2 ask; // ask spans
73 uvec2 meta; // per slot and half, device-local: what the pass last made of it (meta_of); 0: none
74 uvec2 cshader; // a filtered rescan's change spans in shader VAs (backings and alias copies that went)
75 uvec2 ctitle; // and in title VAs (alias ranges that went, words answered since)
76 uint count; // work items or updates
77 uint range_count;
78 uint key_mask; // key table entries - 1 (a power of two)
79 uint mode;
80 uint heap; // the heap's index (< 8), kept in each miss
81 uint backed_count;
82 uint ask_count;
83 uint flags;
84 uint cshader_count;
85 uint ctitle_count;
86} pc;
87// MODE_UPDATE reads its records at pc.work (the push constants hold 128 bytes).
88
89uvec2 add64(uvec2 a, uvec2 b) {
90 uint carry;
91 uint lo = uaddCarry(a.x, b.x, carry);
92 return uvec2(lo, a.y + b.y + carry);
93}
94uvec2 sub64(uvec2 a, uvec2 b) {
95 uint borrow;
96 uint lo = usubBorrow(a.x, b.x, borrow);
97 return uvec2(lo, a.y - b.y - borrow);
98}
99bool less64(uvec2 a, uvec2 b) { return a.y < b.y || (a.y == b.y && a.x < b.x); }
100uvec2 offset(uvec2 base, uint word) {
101 uint carry;
102 uint lo = uaddCarry(base.x, word * 4u, carry);
103 return uvec2(lo, base.y + carry);
104}
105uint load(uvec2 base, uint word) { return Words(offset(base, word)).w[0]; }
106uvec2 load2(uvec2 base, uint word) { return uvec2(load(base, word), load(base, word + 1u)); }
107
108// FNV-1a over the four dwords, then MurmurHash3's fmix32: without the finalizer the low bits (the table index) depend
109// only on the low bits of each dword, and V#s whose bases differ only above bit 20 all fell into one probe chain.
110uint key_hash(uvec4 k) {
111 uint h = 2166136261u;
112 h = (h ^ k.x) * 16777619u;
113 h = (h ^ k.y) * 16777619u;
114 h = (h ^ k.z) * 16777619u;
115 h = (h ^ k.w) * 16777619u;
116 h ^= h >> 16;
117 h *= 0x85EBCA6Bu;
118 h ^= h >> 13;
119 h *= 0xC2B2AE35u;
120 h ^= h >> 16;
121 return h;
122}
123
124// [v, v + n) inside one of `count` sorted, disjoint spans at `spans`.
125bool spans_hold(uvec2 spans, uint count, uvec2 v, uvec2 n) {
126 uint lo = 0u, hi = count;
127 while (lo < hi) {
128 const uint mid = (lo + hi) >> 1u;
129 if (less64(v, load2(spans, SPAN_WORDS * mid))) hi = mid;
130 else lo = mid + 1u;
131 }
132 if (lo == 0u) return false;
133 const uvec2 end = load2(spans, SPAN_WORDS * (lo - 1u) + 2u);
134 return less64(v, end) && !less64(sub64(end, v), n);
135}
136
137// Some span of `count` sorted, disjoint spans at `spans` overlaps [v, v + n).
138bool spans_meet(uvec2 spans, uint count, uvec2 v, uvec2 n) {
139 const uvec2 last = add64(v, n); // spans starting below it
140 uint lo = 0u, hi = count;
141 while (lo < hi) {
142 const uint mid = (lo + hi) >> 1u;
143 if (less64(load2(spans, SPAN_WORDS * mid), last)) lo = mid + 1u;
144 else hi = mid;
145 }
146 if (lo == 0u) return false;
147 return less64(v, load2(spans, SPAN_WORDS * (lo - 1u) + 2u));
148}
149
150// A 48-bit V# base as the shader VA it names: sign-extended from bit 47 with FLAG_SIGNED.
151uvec2 shader_va(uvec2 base48) {
152 uvec2 v = uvec2(base48.x, base48.y & 0xffffu);
153 if ((pc.flags & FLAG_SIGNED) != 0u && (v.y & 0x8000u) != 0u) v.y |= 0xffff0000u;
154 return v;
155}
156
157// Metadata of one V# half: its title base and span before the pass, and the base it got (0: no records).
158// x = title base low, y = title base bits 32-47 | result bits 32-47 << 16, z = result low, w = span (saturated).
159uvec4 meta_of(uvec4 before, uvec4 after) {
160 if ((before.w >> 30) != 0u || before.z == 0u) return uvec4(0u);
161 const uint stride = (before.y >> 16) & 0x3fffu;
162 uvec2 span;
163 umulExtended(before.z, stride == 0u ? 1u : stride, span.y, span.x);
164 const uvec2 to = after.z == 0u ? uvec2(0u) : uvec2(after.x, after.y & 0xffffu);
165 return uvec4(before.x, (before.y & 0xffffu) | (to.y << 16), to.x, span.y != 0u ? 0xffffffffu : span.x);
166}
167
168// The half's metadata meets a change span: its title base in a title span, or its base or result (with its span) in
169// a shader span. What DeviceState's CPU release filter asks of a slot (LEONIDA_CONSOLE_RELEASE_FILTER).
170bool affected(uvec4 m) {
171 if (m.x == 0u && m.y == 0u && m.z == 0u) return false;
172 const uvec2 base = uvec2(m.x, m.y & 0xffffu);
173 const uvec2 span = uvec2(m.w, 0u);
174 if (pc.ctitle_count != 0u && spans_meet(pc.ctitle, pc.ctitle_count, base, uvec2(1u, 0u))) return true;
175 if (pc.cshader_count == 0u) return false;
176 if (spans_meet(pc.cshader, pc.cshader_count, shader_va(base), span)) return true;
177 const uvec2 to = uvec2(m.z, m.y >> 16);
178 return !(to.x == 0u && to.y == 0u) && spans_meet(pc.cshader, pc.cshader_count, shader_va(to), span);
179}
180
181void rebase(inout uvec4 k, uvec2 to) {
182 k.x = to.x;
183 k.y = (k.y & 0xffff0000u) | (to.y & 0xffffu);
184}
185void no_records(inout uvec4 k) {
186 k.x = 0u;
187 k.y = 0u;
188 k.z = 0u;
189}
190
191// 0: left as it is, 1: rebased or written with no records by a table, 2: missed (written with no records).
192uint translate(inout uvec4 k) {
193 if ((k.w >> 30) != 0u || k.z == 0u) return 0u;
194 const uvec2 base = uvec2(k.x, k.y & 0xffffu);
195 if (base.x == 0u && base.y == 0u) {
196 no_records(k);
197 return 1u;
198 }
199 const uint stride = (k.y >> 16) & 0x3fffu;
200 uvec2 span;
201 umulExtended(k.z, stride == 0u ? 1u : stride, span.y, span.x);
202 // The last range that starts at or below base.
203 uint lo = 0u, hi = pc.range_count;
204 while (lo < hi) {
205 const uint mid = (lo + hi) >> 1u;
206 if (less64(base, load2(pc.ranges, RANGE_WORDS * mid))) hi = mid;
207 else lo = mid + 1u;
208 }
209 if (lo > 0u) {
210 const uint e = RANGE_WORDS * (lo - 1u);
211 const uvec2 end = load2(pc.ranges, e + 2u);
212 if (less64(base, end) && (load(pc.ranges, e + 6u) & RANGE_CHECKED) != 0u) {
213 if (less64(sub64(end, base), span)) {
214 no_records(k);
215 } else {
216 const uvec2 start = load2(pc.ranges, e);
217 rebase(k, add64(load2(pc.ranges, e + 4u), sub64(base, start)));
218 }
219 return 1u;
220 }
221 }
222 uvec2 shader = base;
223 if ((pc.flags & FLAG_SIGNED) != 0u && (base.y & 0x8000u) != 0u) shader.y |= 0xffff0000u;
224 if (pc.backed_count != 0u && spans_hold(pc.backed, pc.backed_count, shader, span.x == 0u && span.y == 0u ? uvec2(1u, 0u) : span))
225 return 1u;
226 const uint h = key_hash(k);
227 for (uint p = 0u; p < KEY_PROBES; ++p) {
228 const uint at = KEY_WORDS * ((h + p) & pc.key_mask);
229 const uint flags = load(pc.keys, at + 5u) >> 16;
230 if ((flags & KEY_USED) == 0u) continue;
231 if (load(pc.keys, at) != k.x || load(pc.keys, at + 1u) != k.y || load(pc.keys, at + 2u) != k.z ||
232 load(pc.keys, at + 3u) != k.w)
233 continue;
234 if ((flags & KEY_NONE) != 0u) no_records(k);
235 else rebase(k, uvec2(load(pc.keys, at + 4u), load(pc.keys, at + 5u) & 0xffffu));
236 return 1u;
237 }
238 no_records(k);
239 if ((pc.flags & FLAG_ASK) != 0u && !spans_hold(pc.ask, pc.ask_count, base, uvec2(1u, 0u))) return 1u;
240 return 2u;
241}
242
243void miss(uint code) {
244 Words m = Words(pc.misses);
245 const uint at = atomicAdd(m.w[0], 1u);
246 if (at < m.w[1]) m.w[MISS_HEADER + at] = code;
247 else m.w[2] = 1u;
248}
249
250void main() {
251 const uint i = gl_GlobalInvocationID.x;
252 if (i >= pc.count) return;
253 if (pc.mode == MODE_UPDATE) {
254 const uvec2 record = offset(pc.work, UPDATE_WORDS * i);
255 const uint index = Words(record).w[0];
256 Words table = Words(offset(pc.keys, KEY_WORDS * index));
257 for (uint j = 0u; j < KEY_WORDS; ++j) table.w[j] = Words(record).w[4u + j];
258 return;
259 }
260 // A work item is a slot index; bit 31: the CPU found the slot neither a buffer pair nor a T# it can decode, and
261 // dwords 0-3 are written as zeros (fix_console_slot's rule: such words must not reach a shader as a descriptor).
262 const bool range = (pc.flags & FLAG_RANGE) != 0u;
263 const uint item = range ? pc.work.x + i : Words(pc.work).w[i];
264 const uint slot = item & 0x7fffffffu;
265 const bool has_meta = !(pc.meta.x == 0u && pc.meta.y == 0u);
266 // A filtered rescan reads only the device-local metadata of a slot it leaves alone, not the title's bytes.
267 if (range && (pc.flags & FLAG_FILTER) != 0u && has_meta) {
268 Slots m = Slots(pc.meta);
269 if (!affected(m.v[2u * slot]) && !affected(m.v[2u * slot + 1u])) return;
270 }
271 Slots source = Slots(pc.input_slots);
272 uvec4 a = source.v[2u * slot];
273 uvec4 b = source.v[2u * slot + 1u];
274 // A rescan rewrites buffer pairs only: every other slot keeps what its last listed pass wrote.
275 if (range && (a.w >> 30) != 0u) return;
276 if ((item >> 31) != 0u && (a.w >> 30) != 0u) a = uvec4(0u);
277 const uvec4 a0 = a, b0 = b;
278 if ((a.w >> 30) == 0u) {
279 // A miss is (heap << 29) | (slot << 1) | half: up to eight heaps of 2^28 slots.
280 if (translate(a) == 2u) miss((pc.heap << 29) | (slot << 1u));
281 if (translate(b) == 2u) miss((pc.heap << 29) | (slot << 1u) | 1u);
282 }
283 Slots target = Slots(pc.copy_slots);
284 target.v[2u * slot] = a;
285 target.v[2u * slot + 1u] = b;
286 if (has_meta) {
287 Slots m = Slots(pc.meta);
288 const bool pair = (a0.w >> 30) == 0u;
289 m.v[2u * slot] = pair ? meta_of(a0, a) : uvec4(0u);
290 m.v[2u * slot + 1u] = pair ? meta_of(b0, b) : uvec4(0u);
291 }
292}
diff --git a/runtime/src/console_heap_fix.inc b/runtime/src/console_heap_fix.inc
new file mode 100644
index 000000000..2e2882f6d
--- /dev/null
+++ b/runtime/src/console_heap_fix.inc
@@ -0,0 +1,3163 @@
1{0x07230203,0x00010500,0x000d000b,0x000021a5,
20x00000000,0x00020011,0x00000001,0x00020011,
30x000014e3,0x0006000b,0x00000001,0x4c534c47,
40x6474732e,0x3035342e,0x00000000,0x0003000e,
50x000014e4,0x00000001,0x0007000f,0x00000005,
60x00000004,0x6e69616d,0x00000000,0x00000180,
70x000003f8,0x00060010,0x00000004,0x00000011,
80x00000040,0x00000001,0x00000001,0x00040047,
90x000000b2,0x00000006,0x00000004,0x00030047,
100x000000b3,0x00000002,0x00050048,0x000000b3,
110x00000000,0x00000023,0x00000000,0x00030047,
120x0000017e,0x00000002,0x00050048,0x0000017e,
130x00000000,0x00000023,0x00000000,0x00050048,
140x0000017e,0x00000001,0x00000023,0x00000008,
150x00050048,0x0000017e,0x00000002,0x00000023,
160x00000010,0x00050048,0x0000017e,0x00000003,
170x00000023,0x00000018,0x00050048,0x0000017e,
180x00000004,0x00000023,0x00000020,0x00050048,
190x0000017e,0x00000005,0x00000023,0x00000028,
200x00050048,0x0000017e,0x00000006,0x00000023,
210x00000030,0x00050048,0x0000017e,0x00000007,
220x00000023,0x00000038,0x00050048,0x0000017e,
230x00000008,0x00000023,0x00000040,0x00050048,
240x0000017e,0x00000009,0x00000023,0x00000048,
250x00050048,0x0000017e,0x0000000a,0x00000023,
260x00000050,0x00050048,0x0000017e,0x0000000b,
270x00000023,0x00000058,0x00050048,0x0000017e,
280x0000000c,0x00000023,0x0000005c,0x00050048,
290x0000017e,0x0000000d,0x00000023,0x00000060,
300x00050048,0x0000017e,0x0000000e,0x00000023,
310x00000064,0x00050048,0x0000017e,0x0000000f,
320x00000023,0x00000068,0x00050048,0x0000017e,
330x00000010,0x00000023,0x0000006c,0x00050048,
340x0000017e,0x00000011,0x00000023,0x00000070,
350x00050048,0x0000017e,0x00000012,0x00000023,
360x00000074,0x00050048,0x0000017e,0x00000013,
370x00000023,0x00000078,0x00050048,0x0000017e,
380x00000014,0x00000023,0x0000007c,0x00040047,
390x000003f8,0x0000000b,0x0000001c,0x00040047,
400x00000469,0x00000006,0x00000010,0x00030047,
410x0000046a,0x00000002,0x00050048,0x0000046a,
420x00000000,0x00000023,0x00000000,0x00040047,
430x00000517,0x0000000b,0x00000019,0x00020013,
440x00000002,0x00030021,0x00000003,0x00000002,
450x00040015,0x00000006,0x00000020,0x00000000,
460x00040017,0x00000007,0x00000006,0x00000002,
470x00020014,0x00000012,0x00040017,0x00000027,
480x00000006,0x00000004,0x0004002b,0x00000006,
490x00000058,0x00000000,0x0004001e,0x0000005e,
500x00000006,0x00000006,0x0004002b,0x00000006,
510x00000063,0x00000001,0x0004002b,0x00000006,
520x0000009e,0x00000004,0x00030027,0x000000b1,
530x000014e5,0x0003001d,0x000000b2,0x00000006,
540x0003001e,0x000000b3,0x000000b2,0x00040020,
550x000000b1,0x000014e5,0x000000b3,0x00040015,
560x000000b5,0x00000020,0x00000001,0x0004002b,
570x000000b5,0x000000b6,0x00000000,0x00040020,
580x000000b7,0x000014e5,0x00000006,0x0004002b,
590x00000006,0x000000cb,0x811c9dc5,0x0004002b,
600x00000006,0x000000d0,0x01000193,0x0004002b,
610x00000006,0x000000d8,0x00000002,0x0004002b,
620x00000006,0x000000de,0x00000003,0x0004002b,
630x000000b5,0x000000e4,0x00000010,0x0004002b,
640x00000006,0x000000e8,0x85ebca6b,0x0004002b,
650x000000b5,0x000000ec,0x0000000d,0x0004002b,
660x00000006,0x000000f0,0xc2b2ae35,0x0003002a,
670x00000012,0x0000011e,0x0004002b,0x00000006,
680x0000017b,0x0000ffff,0x0017001e,0x0000017e,
690x00000007,0x00000007,0x00000007,0x00000007,
700x00000007,0x00000007,0x00000007,0x00000007,
710x00000007,0x00000007,0x00000007,0x00000006,
720x00000006,0x00000006,0x00000006,0x00000006,
730x00000006,0x00000006,0x00000006,0x00000006,
740x00000006,0x00040020,0x0000017f,0x00000009,
750x0000017e,0x0004003b,0x0000017f,0x00000180,
760x00000009,0x0004002b,0x000000b5,0x00000181,
770x00000012,0x00040020,0x00000182,0x00000009,
780x00000006,0x0004002b,0x00000006,0x0000018b,
790x00008000,0x0004002b,0x00000006,0x00000191,
800xffff0000,0x0004002b,0x000000b5,0x0000019b,
810x0000001e,0x0007002c,0x00000027,0x000001a7,
820x00000058,0x00000058,0x00000058,0x00000058,
830x0004002b,0x00000006,0x000001ad,0x00003fff,
840x0005002c,0x00000007,0x000001c2,0x00000058,
850x00000058,0x0004002b,0x00000006,0x000001dc,
860xffffffff,0x0004002b,0x000000b5,0x00000201,
870x00000014,0x0004002b,0x000000b5,0x00000207,
880x0000000a,0x0005002c,0x00000007,0x00000208,
890x00000063,0x00000058,0x00040020,0x0000020a,
900x00000009,0x00000007,0x00030029,0x00000012,
910x00000217,0x0004002b,0x000000b5,0x00000219,
920x00000013,0x0004002b,0x000000b5,0x00000220,
930x00000009,0x0004002b,0x000000b5,0x0000029a,
940x0000000c,0x0004002b,0x000000b5,0x000002aa,
950x00000003,0x0004002b,0x00000006,0x000002ab,
960x00000008,0x0004002b,0x00000006,0x000002d5,
970x00000006,0x0004002b,0x000000b5,0x00000325,
980x00000006,0x0004002b,0x00000006,0x0000034a,
990x00000010,0x0004002b,0x000000b5,0x00000355,
1000x00000004,0x0004002b,0x00000006,0x00000357,
1010x00000005,0x0004002b,0x000000b5,0x000003bc,
1020x00000001,0x0004002b,0x000000b5,0x000003c8,
1030x00000007,0x0004002b,0x000000b5,0x000003c9,
1040x00000011,0x0004002b,0x000000b5,0x000003dd,
1050x00000005,0x0004002b,0x000000b5,0x000003f3,
1060x00000002,0x00040017,0x000003f6,0x00000006,
1070x00000003,0x00040020,0x000003f7,0x00000001,
1080x000003f6,0x0004003b,0x000003f7,0x000003f8,
1090x00000001,0x00040020,0x000003f9,0x00000001,
1100x00000006,0x0004002b,0x000000b5,0x000003fd,
1110x0000000b,0x0004002b,0x000000b5,0x00000404,
1120x0000000e,0x0004002b,0x00000006,0x0000044e,
1130x7fffffff,0x0004002b,0x000000b5,0x00000451,
1140x00000008,0x00030027,0x00000468,0x000014e5,
1150x0003001d,0x00000469,0x00000027,0x0003001e,
1160x0000046a,0x00000469,0x00040020,0x00000468,
1170x000014e5,0x0000046a,0x00040020,0x00000474,
1180x000014e5,0x00000027,0x0004002b,0x000000b5,
1190x000004a5,0x0000001f,0x0004002b,0x000000b5,
1200x000004c2,0x0000000f,0x0004002b,0x000000b5,
1210x000004c5,0x0000001d,0x0004002b,0x00000006,
1220x00000516,0x00000040,0x0006002c,0x000003f6,
1230x00000517,0x00000516,0x00000063,0x00000063,
1240x00030001,0x00000006,0x00001da1,0x0004002b,
1250x00000006,0x0000218f,0x00000020,0x0004002b,
1260x00000006,0x00002193,0x00000030,0x00040017,
1270x0000219a,0x00000012,0x00000004,0x00050036,
1280x00000002,0x00000004,0x00000000,0x00000003,
1290x000200f8,0x00000005,0x000300f7,0x00000518,
1300x00000000,0x000300fb,0x00000058,0x00000519,
1310x000200f8,0x00000519,0x00050041,0x000003f9,
1320x000003fa,0x000003f8,0x00000058,0x0004003d,
1330x00000006,0x000003fb,0x000003fa,0x00050041,
1340x00000182,0x000003fe,0x00000180,0x000003fd,
1350x0004003d,0x00000006,0x000003ff,0x000003fe,
1360x000500ae,0x00000012,0x00000400,0x000003fb,
1370x000003ff,0x000300f7,0x00000402,0x00000000,
1380x000400fa,0x00000400,0x00000401,0x00000402,
1390x000200f8,0x00000401,0x000200f9,0x00000518,
1400x000200f8,0x00000402,0x00050041,0x00000182,
1410x00000405,0x00000180,0x00000404,0x0004003d,
1420x00000006,0x00000406,0x00000405,0x000500aa,
1430x00000012,0x00000407,0x00000406,0x00000063,
1440x000300f7,0x00000409,0x00000000,0x000400fa,
1450x00000407,0x00000408,0x00000409,0x000200f8,
1460x00000408,0x00050041,0x0000020a,0x0000040f,
1470x00000180,0x000003f3,0x0004003d,0x00000007,
1480x00000410,0x0000040f,0x00050051,0x00000006,
1490x0000053b,0x00000410,0x00000000,0x00050084,
1500x00000006,0x0000053d,0x000003fb,0x00002193,
1510x00050095,0x0000005e,0x0000053e,0x0000053b,
1520x0000053d,0x00050051,0x00000006,0x0000053f,
1530x0000053e,0x00000001,0x00050051,0x00000006,
1540x00000540,0x0000053e,0x00000000,0x00050051,
1550x00000006,0x00000543,0x00000410,0x00000001,
1560x00050080,0x00000006,0x00000545,0x00000543,
1570x0000053f,0x00050050,0x00000007,0x00000546,
1580x00000540,0x00000545,0x0004007c,0x000000b1,
1590x00000415,0x00000546,0x00060041,0x000000b7,
1600x00000416,0x00000415,0x000000b6,0x000000b6,
1610x0006003d,0x00000006,0x00000417,0x00000416,
1620x00000002,0x00000004,0x00050041,0x0000020a,
1630x0000041c,0x00000180,0x00000355,0x0004003d,
1640x00000007,0x0000041d,0x0000041c,0x00050051,
1650x00000006,0x0000054c,0x0000041d,0x00000000,
1660x00050084,0x00000006,0x0000054e,0x00000417,
1670x0000218f,0x00050095,0x0000005e,0x0000054f,
1680x0000054c,0x0000054e,0x00050051,0x00000006,
1690x00000550,0x0000054f,0x00000001,0x00050051,
1700x00000006,0x00000551,0x0000054f,0x00000000,
1710x00050051,0x00000006,0x00000554,0x0000041d,
1720x00000001,0x00050080,0x00000006,0x00000556,
1730x00000554,0x00000550,0x00050050,0x00000007,
1740x00000557,0x00000551,0x00000556,0x0004007c,
1750x000000b1,0x00000420,0x00000557,0x000200f9,
1760x00000422,0x000200f8,0x00000422,0x000700f5,
1770x00000006,0x00002123,0x00000058,0x00000408,
1780x00000433,0x00000423,0x000500b0,0x00000012,
1790x00000428,0x00002123,0x000002ab,0x000400f6,
1800x00000424,0x00000423,0x00000000,0x000400fa,
1810x00000428,0x00000423,0x00000424,0x000200f8,
1820x00000423,0x00050080,0x00000006,0x0000042e,
1830x0000009e,0x00002123,0x00060041,0x000000b7,
1840x0000042f,0x00000415,0x000000b6,0x0000042e,
1850x0006003d,0x00000006,0x00000430,0x0000042f,
1860x00000002,0x00000004,0x00060041,0x000000b7,
1870x00000431,0x00000420,0x000000b6,0x00002123,
1880x0005003e,0x00000431,0x00000430,0x00000002,
1890x00000004,0x00050080,0x00000006,0x00000433,
1900x00002123,0x000003bc,0x000200f9,0x00000422,
1910x000200f8,0x00000424,0x000200f9,0x00000518,
1920x000200f8,0x00000409,0x00050041,0x00000182,
1930x00000437,0x00000180,0x00000181,0x0004003d,
1940x00000006,0x00000438,0x00000437,0x000500c7,
1950x00000006,0x00000439,0x00000438,0x0000009e,
1960x000500ab,0x00000012,0x0000043a,0x00000439,
1970x00000058,0x000300f7,0x0000043f,0x00000000,
1980x000400fa,0x0000043a,0x0000043e,0x00000444,
1990x000200f8,0x00000444,0x00050041,0x0000020a,
2000x00000445,0x00000180,0x000003f3,0x0004003d,
2010x00000007,0x00000446,0x00000445,0x0004007c,
2020x000000b1,0x00000447,0x00000446,0x00060041,
2030x000000b7,0x00000449,0x00000447,0x000000b6,
2040x000003fb,0x0006003d,0x00000006,0x0000044a,
2050x00000449,0x00000002,0x00000004,0x000200f9,
2060x0000043f,0x000200f8,0x0000043e,0x00060041,
2070x00000182,0x00000440,0x00000180,0x000003f3,
2080x00000058,0x0004003d,0x00000006,0x00000441,
2090x00000440,0x00050080,0x00000006,0x00000443,
2100x00000441,0x000003fb,0x000200f9,0x0000043f,
2110x000200f8,0x0000043f,0x000700f5,0x00000006,
2120x00001ce6,0x00000443,0x0000043e,0x0000044a,
2130x00000444,0x000500c7,0x00000006,0x0000044f,
2140x00001ce6,0x0000044e,0x00060041,0x00000182,
2150x00000452,0x00000180,0x00000451,0x00000058,
2160x0004003d,0x00000006,0x00000453,0x00000452,
2170x000500aa,0x00000012,0x00000454,0x00000453,
2180x00000058,0x000300f7,0x00000456,0x00000000,
2190x000400fa,0x00000454,0x00000455,0x00000456,
2200x000200f8,0x00000455,0x00060041,0x00000182,
2210x00000457,0x00000180,0x00000451,0x00000063,
2220x0004003d,0x00000006,0x00000458,0x00000457,
2230x000500aa,0x00000012,0x00000459,0x00000458,
2240x00000058,0x000200f9,0x00000456,0x000200f8,
2250x00000456,0x000700f5,0x00000012,0x0000045a,
2260x00000454,0x0000043f,0x00000459,0x00000455,
2270x000400a8,0x00000012,0x0000045b,0x0000045a,
2280x000300f7,0x0000045e,0x00000000,0x000400fa,
2290x0000043a,0x0000045d,0x0000045e,0x000200f8,
2300x0000045d,0x000500c7,0x00000006,0x00000461,
2310x00000438,0x000002ab,0x000500ab,0x00000012,
2320x00000462,0x00000461,0x00000058,0x000200f9,
2330x0000045e,0x000200f8,0x0000045e,0x000700f5,
2340x00000012,0x00000463,0x0000043a,0x00000456,
2350x00000462,0x0000045d,0x000500a7,0x00000012,
2360x00000465,0x00000463,0x0000045b,0x000300f7,
2370x00000467,0x00000000,0x000400fa,0x00000465,
2380x00000466,0x00000467,0x000200f8,0x00000466,
2390x00050041,0x0000020a,0x0000046d,0x00000180,
2400x00000451,0x0004003d,0x00000007,0x0000046e,
2410x0000046d,0x0004007c,0x00000468,0x0000046f,
2420x0000046e,0x00050084,0x00000006,0x00000472,
2430x000000d8,0x0000044f,0x00060041,0x00000474,
2440x00000475,0x0000046f,0x000000b6,0x00000472,
2450x0006003d,0x00000027,0x00000476,0x00000475,
2460x00000002,0x00000010,0x000300f7,0x000005c0,
2470x00000000,0x000300fb,0x00000058,0x0000056d,
2480x000200f8,0x0000056d,0x00050051,0x00000006,
2490x0000056f,0x00000476,0x00000000,0x000500aa,
2500x00000012,0x00000570,0x0000056f,0x00000058,
2510x000300f7,0x00000575,0x00000000,0x000400fa,
2520x00000570,0x00000571,0x00000575,0x000200f8,
2530x00000571,0x00050051,0x00000006,0x00000573,
2540x00000476,0x00000001,0x000500aa,0x00000012,
2550x00000574,0x00000573,0x00000058,0x000200f9,
2560x00000575,0x000200f8,0x00000575,0x000700f5,
2570x00000012,0x00000576,0x00000570,0x0000056d,
2580x00000574,0x00000571,0x000300f7,0x0000057b,
2590x00000000,0x000400fa,0x00000576,0x00000577,
2600x0000057b,0x000200f8,0x00000577,0x00050051,
2610x00000006,0x00000579,0x00000476,0x00000002,
2620x000500aa,0x00000012,0x0000057a,0x00000579,
2630x00000058,0x000200f9,0x0000057b,0x000200f8,
2640x0000057b,0x000700f5,0x00000012,0x0000057c,
2650x00000576,0x00000575,0x0000057a,0x00000577,
2660x000300f7,0x0000057e,0x00000000,0x000400fa,
2670x0000057c,0x0000057d,0x0000057e,0x000200f8,
2680x0000057d,0x000200f9,0x000005c0,0x000200f8,
2690x0000057e,0x00050051,0x00000006,0x00000582,
2700x00000476,0x00000001,0x000500c7,0x00000006,
2710x00000583,0x00000582,0x0000017b,0x00050051,
2720x00000006,0x00000586,0x00000476,0x00000003,
2730x00050041,0x00000182,0x00000588,0x00000180,
2740x00000201,0x0004003d,0x00000006,0x00000589,
2750x00000588,0x000500ab,0x00000012,0x0000058a,
2760x00000589,0x00000058,0x000300f7,0x00000592,
2770x00000000,0x000400fa,0x0000058a,0x0000058b,
2780x00000592,0x000200f8,0x0000058b,0x00050041,
2790x0000020a,0x0000058c,0x00000180,0x00000207,
2800x0004003d,0x00000007,0x0000058d,0x0000058c,
2810x000300f7,0x000005fd,0x00000000,0x000300fb,
2820x00000058,0x000005d4,0x000200f8,0x000005d4,
2830x00050095,0x0000005e,0x00000607,0x0000056f,
2840x00000063,0x00050051,0x00000006,0x00000608,
2850x00000607,0x00000001,0x00050051,0x00000006,
2860x00000609,0x00000607,0x00000000,0x00050080,
2870x00000006,0x00000611,0x00000583,0x00000608,
2880x000200f9,0x000005d9,0x000200f8,0x000005d9,
2890x000700f5,0x00000006,0x00001ce8,0x00000589,
2900x000005d4,0x00002194,0x000005ef,0x000700f5,
2910x00000006,0x00001ce7,0x00000058,0x000005d4,
2920x00002124,0x000005ef,0x000500b0,0x00000012,
2930x000005dd,0x00001ce7,0x00001ce8,0x000400f6,
2940x000005f0,0x000005ef,0x00000000,0x000400fa,
2950x000005dd,0x000005de,0x000005f0,0x000200f8,
2960x000005de,0x00050080,0x00000006,0x000005e1,
2970x00001ce7,0x00001ce8,0x000500c2,0x00000006,
2980x000005e2,0x000005e1,0x00000063,0x00050084,
2990x00000006,0x000005e4,0x0000009e,0x000005e2,
3000x00050051,0x00000006,0x00000630,0x0000058d,
3010x00000000,0x00050084,0x00000006,0x00000632,
3020x000005e2,0x0000034a,0x00050095,0x0000005e,
3030x00000633,0x00000630,0x00000632,0x00050051,
3040x00000006,0x00000634,0x00000633,0x00000001,
3050x00050051,0x00000006,0x00000635,0x00000633,
3060x00000000,0x00050051,0x00000006,0x00000638,
3070x0000058d,0x00000001,0x00050080,0x00000006,
3080x0000063a,0x00000638,0x00000634,0x00050050,
3090x00000007,0x0000063b,0x00000635,0x0000063a,
3100x0004007c,0x000000b1,0x00000628,0x0000063b,
3110x00060041,0x000000b7,0x00000629,0x00000628,
3120x000000b6,0x000000b6,0x0006003d,0x00000006,
3130x0000062a,0x00000629,0x00000002,0x00000004,
3140x00050080,0x00000006,0x0000061d,0x000005e4,
3150x00000063,0x00050084,0x00000006,0x0000064d,
3160x0000061d,0x0000009e,0x00050095,0x0000005e,
3170x0000064e,0x00000630,0x0000064d,0x00050051,
3180x00000006,0x0000064f,0x0000064e,0x00000001,
3190x00050051,0x00000006,0x00000650,0x0000064e,
3200x00000000,0x00050080,0x00000006,0x00000655,
3210x00000638,0x0000064f,0x00050050,0x00000007,
3220x00000656,0x00000650,0x00000655,0x0004007c,
3230x000000b1,0x00000643,0x00000656,0x00060041,
3240x000000b7,0x00000644,0x00000643,0x000000b6,
3250x000000b6,0x0006003d,0x00000006,0x00000645,
3260x00000644,0x00000002,0x00000004,0x000500b0,
3270x00000012,0x0000065d,0x00000645,0x00000611,
3280x000400a8,0x00000012,0x0000065e,0x0000065d,
3290x000300f7,0x0000066d,0x00000000,0x000400fa,
3300x0000065e,0x0000065f,0x0000066d,0x000200f8,
3310x0000065f,0x000500aa,0x00000012,0x00000664,
3320x00000645,0x00000611,0x000300f7,0x0000066b,
3330x00000000,0x000400fa,0x00000664,0x00000665,
3340x0000066b,0x000200f8,0x00000665,0x000500b0,
3350x00000012,0x0000066a,0x0000062a,0x00000609,
3360x000200f9,0x0000066b,0x000200f8,0x0000066b,
3370x000700f5,0x00000012,0x0000066c,0x00000664,
3380x0000065f,0x0000066a,0x00000665,0x000200f9,
3390x0000066d,0x000200f8,0x0000066d,0x000700f5,
3400x00000012,0x0000066e,0x0000065d,0x000005de,
3410x0000066c,0x0000066b,0x000300f7,0x000005ee,
3420x00000000,0x000400fa,0x0000066e,0x000005e9,
3430x000005ec,0x000200f8,0x000005ec,0x000200f9,
3440x000005ee,0x000200f8,0x000005e9,0x00050080,
3450x00000006,0x000005eb,0x000005e2,0x00000063,
3460x000200f9,0x000005ee,0x000200f8,0x000005ee,
3470x000700f5,0x00000006,0x00002124,0x000005eb,
3480x000005e9,0x00001ce7,0x000005ec,0x000600a9,
3490x00000006,0x00002194,0x0000066e,0x00001ce8,
3500x000005e2,0x000200f9,0x000005ef,0x000200f8,
3510x000005ef,0x000200f9,0x000005d9,0x000200f8,
3520x000005f0,0x000500aa,0x00000012,0x000005f2,
3530x00001ce7,0x00000058,0x000300f7,0x000005f4,
3540x00000000,0x000400fa,0x000005f2,0x000005f3,
3550x000005f4,0x000200f8,0x000005f3,0x000200f9,
3560x000005fd,0x000200f8,0x000005f4,0x00050082,
3570x00000006,0x000005f6,0x00001ce7,0x00000063,
3580x00050084,0x00000006,0x000005f7,0x0000009e,
3590x000005f6,0x00050080,0x00000006,0x000005f8,
3600x000005f7,0x000000d8,0x00050051,0x00000006,
3610x0000068c,0x0000058d,0x00000000,0x00050084,
3620x00000006,0x0000068e,0x000005f8,0x0000009e,
3630x00050095,0x0000005e,0x0000068f,0x0000068c,
3640x0000068e,0x00050051,0x00000006,0x00000690,
3650x0000068f,0x00000001,0x00050051,0x00000006,
3660x00000691,0x0000068f,0x00000000,0x00050051,
3670x00000006,0x00000694,0x0000058d,0x00000001,
3680x00050080,0x00000006,0x00000696,0x00000694,
3690x00000690,0x00050050,0x00000007,0x00000697,
3700x00000691,0x00000696,0x0004007c,0x000000b1,
3710x00000684,0x00000697,0x00060041,0x000000b7,
3720x00000685,0x00000684,0x000000b6,0x000000b6,
3730x0006003d,0x00000006,0x00000686,0x00000685,
3740x00000002,0x00000004,0x00050080,0x00000006,
3750x00000679,0x000005f7,0x000000de,0x00050084,
3760x00000006,0x000006a9,0x00000679,0x0000009e,
3770x00050095,0x0000005e,0x000006aa,0x0000068c,
3780x000006a9,0x00050051,0x00000006,0x000006ab,
3790x000006aa,0x00000001,0x00050051,0x00000006,
3800x000006ac,0x000006aa,0x00000000,0x00050080,
3810x00000006,0x000006b1,0x00000694,0x000006ab,
3820x00050050,0x00000007,0x000006b2,0x000006ac,
3830x000006b1,0x0004007c,0x000000b1,0x0000069f,
3840x000006b2,0x00060041,0x000000b7,0x000006a0,
3850x0000069f,0x000000b6,0x000000b6,0x0006003d,
3860x00000006,0x000006a1,0x000006a0,0x00000002,
3870x00000004,0x000500b0,0x00000012,0x000006b9,
3880x00000583,0x000006a1,0x000400a8,0x00000012,
3890x000006ba,0x000006b9,0x000300f7,0x000006c9,
3900x00000000,0x000400fa,0x000006ba,0x000006bb,
3910x000006c9,0x000200f8,0x000006bb,0x000500aa,
3920x00000012,0x000006c0,0x00000583,0x000006a1,
3930x000300f7,0x000006c7,0x00000000,0x000400fa,
3940x000006c0,0x000006c1,0x000006c7,0x000200f8,
3950x000006c1,0x000500b0,0x00000012,0x000006c6,
3960x0000056f,0x00000686,0x000200f9,0x000006c7,
3970x000200f8,0x000006c7,0x000700f5,0x00000012,
3980x000006c8,0x000006c0,0x000006bb,0x000006c6,
3990x000006c1,0x000200f9,0x000006c9,0x000200f8,
4000x000006c9,0x000700f5,0x00000012,0x000006ca,
4010x000006b9,0x000005f4,0x000006c8,0x000006c7,
4020x000200f9,0x000005fd,0x000200f8,0x000005fd,
4030x000700f5,0x00000012,0x00001ce9,0x0000011e,
4040x000005f3,0x000006ca,0x000006c9,0x000200f9,
4050x00000592,0x000200f8,0x00000592,0x000700f5,
4060x00000012,0x00000593,0x0000058a,0x0000057e,
4070x00001ce9,0x000005fd,0x000300f7,0x00000595,
4080x00000000,0x000400fa,0x00000593,0x00000594,
4090x00000595,0x000200f8,0x00000594,0x000200f9,
4100x000005c0,0x000200f8,0x00000595,0x00050041,
4110x00000182,0x00000596,0x00000180,0x00000219,
4120x0004003d,0x00000006,0x00000597,0x00000596,
4130x000500aa,0x00000012,0x00000598,0x00000597,
4140x00000058,0x000300f7,0x0000059a,0x00000000,
4150x000400fa,0x00000598,0x00000599,0x0000059a,
4160x000200f8,0x00000599,0x000200f9,0x000005c0,
4170x000200f8,0x0000059a,0x00050050,0x00000007,
4180x000006d3,0x0000056f,0x00000583,0x000500c7,
4190x00000006,0x000006d6,0x00000438,0x00000063,
4200x000500ab,0x00000012,0x000006d7,0x000006d6,
4210x00000058,0x000300f7,0x000006dd,0x00000000,
4220x000400fa,0x000006d7,0x000006d8,0x000006dd,
4230x000200f8,0x000006d8,0x000500c7,0x00000006,
4240x000006db,0x00000582,0x0000018b,0x000500ab,
4250x00000012,0x000006dc,0x000006db,0x00000058,
4260x000200f9,0x000006dd,0x000200f8,0x000006dd,
4270x000700f5,0x00000012,0x000006de,0x000006d7,
4280x0000059a,0x000006dc,0x000006d8,0x000300f7,
4290x000006e4,0x00000000,0x000400fa,0x000006de,
4300x000006df,0x000006e4,0x000200f8,0x000006df,
4310x000500c5,0x00000006,0x000006e2,0x00000583,
4320x00000191,0x00060052,0x00000007,0x00001ab3,
4330x000006e2,0x000006d3,0x00000001,0x000200f9,
4340x000006e4,0x000200f8,0x000006e4,0x000700f5,
4350x00000007,0x00001ceb,0x000006d3,0x000006dd,
4360x00001ab3,0x000006df,0x00050041,0x0000020a,
4370x0000059d,0x00000180,0x00000220,0x0004003d,
4380x00000007,0x0000059e,0x0000059d,0x000300f7,
4390x00000721,0x00000000,0x000300fb,0x00000058,
4400x000006f8,0x000200f8,0x000006f8,0x00050051,
4410x00000006,0x00000728,0x00001ceb,0x00000000,
4420x00050095,0x0000005e,0x0000072b,0x00000728,
4430x00000586,0x00050051,0x00000006,0x0000072c,
4440x0000072b,0x00000001,0x00050051,0x00000006,
4450x0000072d,0x0000072b,0x00000000,0x00050051,
4460x00000006,0x00000730,0x00001ceb,0x00000001,
4470x00050080,0x00000006,0x00000735,0x00000730,
4480x0000072c,0x000200f9,0x000006fd,0x000200f8,
4490x000006fd,0x000700f5,0x00000006,0x00001ced,
4500x00000597,0x000006f8,0x00002195,0x00000713,
4510x000700f5,0x00000006,0x00001cec,0x00000058,
4520x000006f8,0x0000212a,0x00000713,0x000500b0,
4530x00000012,0x00000701,0x00001cec,0x00001ced,
4540x000400f6,0x00000714,0x00000713,0x00000000,
4550x000400fa,0x00000701,0x00000702,0x00000714,
4560x000200f8,0x00000702,0x00050080,0x00000006,
4570x00000705,0x00001cec,0x00001ced,0x000500c2,
4580x00000006,0x00000706,0x00000705,0x00000063,
4590x00050084,0x00000006,0x00000708,0x0000009e,
4600x00000706,0x00050051,0x00000006,0x00000754,
4610x0000059e,0x00000000,0x00050084,0x00000006,
4620x00000756,0x00000706,0x0000034a,0x00050095,
4630x0000005e,0x00000757,0x00000754,0x00000756,
4640x00050051,0x00000006,0x00000758,0x00000757,
4650x00000001,0x00050051,0x00000006,0x00000759,
4660x00000757,0x00000000,0x00050051,0x00000006,
4670x0000075c,0x0000059e,0x00000001,0x00050080,
4680x00000006,0x0000075e,0x0000075c,0x00000758,
4690x00050050,0x00000007,0x0000075f,0x00000759,
4700x0000075e,0x0004007c,0x000000b1,0x0000074c,
4710x0000075f,0x00060041,0x000000b7,0x0000074d,
4720x0000074c,0x000000b6,0x000000b6,0x0006003d,
4730x00000006,0x0000074e,0x0000074d,0x00000002,
4740x00000004,0x00050080,0x00000006,0x00000741,
4750x00000708,0x00000063,0x00050084,0x00000006,
4760x00000771,0x00000741,0x0000009e,0x00050095,
4770x0000005e,0x00000772,0x00000754,0x00000771,
4780x00050051,0x00000006,0x00000773,0x00000772,
4790x00000001,0x00050051,0x00000006,0x00000774,
4800x00000772,0x00000000,0x00050080,0x00000006,
4810x00000779,0x0000075c,0x00000773,0x00050050,
4820x00000007,0x0000077a,0x00000774,0x00000779,
4830x0004007c,0x000000b1,0x00000767,0x0000077a,
4840x00060041,0x000000b7,0x00000768,0x00000767,
4850x000000b6,0x000000b6,0x0006003d,0x00000006,
4860x00000769,0x00000768,0x00000002,0x00000004,
4870x000500b0,0x00000012,0x00000781,0x00000769,
4880x00000735,0x000400a8,0x00000012,0x00000782,
4890x00000781,0x000300f7,0x00000791,0x00000000,
4900x000400fa,0x00000782,0x00000783,0x00000791,
4910x000200f8,0x00000783,0x000500aa,0x00000012,
4920x00000788,0x00000769,0x00000735,0x000300f7,
4930x0000078f,0x00000000,0x000400fa,0x00000788,
4940x00000789,0x0000078f,0x000200f8,0x00000789,
4950x000500b0,0x00000012,0x0000078e,0x0000074e,
4960x0000072d,0x000200f9,0x0000078f,0x000200f8,
4970x0000078f,0x000700f5,0x00000012,0x00000790,
4980x00000788,0x00000783,0x0000078e,0x00000789,
4990x000200f9,0x00000791,0x000200f8,0x00000791,
5000x000700f5,0x00000012,0x00000792,0x00000781,
5010x00000702,0x00000790,0x0000078f,0x000300f7,
5020x00000712,0x00000000,0x000400fa,0x00000792,
5030x0000070d,0x00000710,0x000200f8,0x00000710,
5040x000200f9,0x00000712,0x000200f8,0x0000070d,
5050x00050080,0x00000006,0x0000070f,0x00000706,
5060x00000063,0x000200f9,0x00000712,0x000200f8,
5070x00000712,0x000700f5,0x00000006,0x0000212a,
5080x0000070f,0x0000070d,0x00001cec,0x00000710,
5090x000600a9,0x00000006,0x00002195,0x00000792,
5100x00001ced,0x00000706,0x000200f9,0x00000713,
5110x000200f8,0x00000713,0x000200f9,0x000006fd,
5120x000200f8,0x00000714,0x000500aa,0x00000012,
5130x00000716,0x00001cec,0x00000058,0x000300f7,
5140x00000718,0x00000000,0x000400fa,0x00000716,
5150x00000717,0x00000718,0x000200f8,0x00000717,
5160x000200f9,0x00000721,0x000200f8,0x00000718,
5170x00050082,0x00000006,0x0000071a,0x00001cec,
5180x00000063,0x00050084,0x00000006,0x0000071b,
5190x0000009e,0x0000071a,0x00050080,0x00000006,
5200x0000071c,0x0000071b,0x000000d8,0x00050051,
5210x00000006,0x000007b0,0x0000059e,0x00000000,
5220x00050084,0x00000006,0x000007b2,0x0000071c,
5230x0000009e,0x00050095,0x0000005e,0x000007b3,
5240x000007b0,0x000007b2,0x00050051,0x00000006,
5250x000007b4,0x000007b3,0x00000001,0x00050051,
5260x00000006,0x000007b5,0x000007b3,0x00000000,
5270x00050051,0x00000006,0x000007b8,0x0000059e,
5280x00000001,0x00050080,0x00000006,0x000007ba,
5290x000007b8,0x000007b4,0x00050050,0x00000007,
5300x000007bb,0x000007b5,0x000007ba,0x0004007c,
5310x000000b1,0x000007a8,0x000007bb,0x00060041,
5320x000000b7,0x000007a9,0x000007a8,0x000000b6,
5330x000000b6,0x0006003d,0x00000006,0x000007aa,
5340x000007a9,0x00000002,0x00000004,0x00050080,
5350x00000006,0x0000079d,0x0000071b,0x000000de,
5360x00050084,0x00000006,0x000007cd,0x0000079d,
5370x0000009e,0x00050095,0x0000005e,0x000007ce,
5380x000007b0,0x000007cd,0x00050051,0x00000006,
5390x000007cf,0x000007ce,0x00000001,0x00050051,
5400x00000006,0x000007d0,0x000007ce,0x00000000,
5410x00050080,0x00000006,0x000007d5,0x000007b8,
5420x000007cf,0x00050050,0x00000007,0x000007d6,
5430x000007d0,0x000007d5,0x0004007c,0x000000b1,
5440x000007c3,0x000007d6,0x00060041,0x000000b7,
5450x000007c4,0x000007c3,0x000000b6,0x000000b6,
5460x0006003d,0x00000006,0x000007c5,0x000007c4,
5470x00000002,0x00000004,0x000500b0,0x00000012,
5480x000007dd,0x00000730,0x000007c5,0x000400a8,
5490x00000012,0x000007de,0x000007dd,0x000300f7,
5500x000007ed,0x00000000,0x000400fa,0x000007de,
5510x000007df,0x000007ed,0x000200f8,0x000007df,
5520x000500aa,0x00000012,0x000007e4,0x00000730,
5530x000007c5,0x000300f7,0x000007eb,0x00000000,
5540x000400fa,0x000007e4,0x000007e5,0x000007eb,
5550x000200f8,0x000007e5,0x000500b0,0x00000012,
5560x000007ea,0x00000728,0x000007aa,0x000200f9,
5570x000007eb,0x000200f8,0x000007eb,0x000700f5,
5580x00000012,0x000007ec,0x000007e4,0x000007df,
5590x000007ea,0x000007e5,0x000200f9,0x000007ed,
5600x000200f8,0x000007ed,0x000700f5,0x00000012,
5610x000007ee,0x000007dd,0x00000718,0x000007ec,
5620x000007eb,0x000200f9,0x00000721,0x000200f8,
5630x00000721,0x000700f5,0x00000012,0x00001cee,
5640x0000011e,0x00000717,0x000007ee,0x000007ed,
5650x000300f7,0x000005a4,0x00000000,0x000400fa,
5660x00001cee,0x000005a3,0x000005a4,0x000200f8,
5670x000005a3,0x000200f9,0x000005c0,0x000200f8,
5680x000005a4,0x00050051,0x00000006,0x000005a6,
5690x00000476,0x00000002,0x000500c2,0x00000006,
5700x000005a9,0x00000582,0x000000e4,0x000500aa,
5710x00000012,0x000005ad,0x000005a6,0x00000058,
5720x000300f7,0x000005b2,0x00000000,0x000400fa,
5730x000005ad,0x000005ae,0x000005b2,0x000200f8,
5740x000005ae,0x000500aa,0x00000012,0x000005b1,
5750x000005a9,0x00000058,0x000200f9,0x000005b2,
5760x000200f8,0x000005b2,0x000700f5,0x00000012,
5770x000005b3,0x000005ad,0x000005a4,0x000005b1,
5780x000005ae,0x000400a8,0x00000012,0x000005b4,
5790x000005b3,0x000300f7,0x000005be,0x00000000,
5800x000400fa,0x000005b4,0x000005b5,0x000005be,
5810x000200f8,0x000005b5,0x000500c7,0x00000006,
5820x000007f6,0x000005a9,0x0000017b,0x00050050,
5830x00000007,0x000007f7,0x000005a6,0x000007f6,
5840x000300f7,0x00000801,0x00000000,0x000400fa,
5850x000006d7,0x000007fc,0x00000801,0x000200f8,
5860x000007fc,0x000500c7,0x00000006,0x000007ff,
5870x000005a9,0x0000018b,0x000500ab,0x00000012,
5880x00000800,0x000007ff,0x00000058,0x000200f9,
5890x00000801,0x000200f8,0x00000801,0x000700f5,
5900x00000012,0x00000802,0x000006d7,0x000005b5,
5910x00000800,0x000007fc,0x000300f7,0x00000808,
5920x00000000,0x000400fa,0x00000802,0x00000803,
5930x00000808,0x000200f8,0x00000803,0x000500c5,
5940x00000006,0x00000806,0x000007f6,0x00000191,
5950x00060052,0x00000007,0x00001ad5,0x00000806,
5960x000007f7,0x00000001,0x000200f9,0x00000808,
5970x000200f8,0x00000808,0x000700f5,0x00000007,
5980x00001cf0,0x000007f7,0x00000801,0x00001ad5,
5990x00000803,0x000300f7,0x00000845,0x00000000,
6000x000300fb,0x00000058,0x0000081c,0x000200f8,
6010x0000081c,0x00050051,0x00000006,0x0000084c,
6020x00001cf0,0x00000000,0x00050095,0x0000005e,
6030x0000084f,0x0000084c,0x00000586,0x00050051,
6040x00000006,0x00000850,0x0000084f,0x00000001,
6050x00050051,0x00000006,0x00000851,0x0000084f,
6060x00000000,0x00050051,0x00000006,0x00000854,
6070x00001cf0,0x00000001,0x00050080,0x00000006,
6080x00000859,0x00000854,0x00000850,0x000200f9,
6090x00000821,0x000200f8,0x00000821,0x000700f5,
6100x00000006,0x00001cf2,0x00000597,0x0000081c,
6110x00002196,0x00000837,0x000700f5,0x00000006,
6120x00001cf1,0x00000058,0x0000081c,0x00002130,
6130x00000837,0x000500b0,0x00000012,0x00000825,
6140x00001cf1,0x00001cf2,0x000400f6,0x00000838,
6150x00000837,0x00000000,0x000400fa,0x00000825,
6160x00000826,0x00000838,0x000200f8,0x00000826,
6170x00050080,0x00000006,0x00000829,0x00001cf1,
6180x00001cf2,0x000500c2,0x00000006,0x0000082a,
6190x00000829,0x00000063,0x00050084,0x00000006,
6200x0000082c,0x0000009e,0x0000082a,0x00050051,
6210x00000006,0x00000878,0x0000059e,0x00000000,
6220x00050084,0x00000006,0x0000087a,0x0000082a,
6230x0000034a,0x00050095,0x0000005e,0x0000087b,
6240x00000878,0x0000087a,0x00050051,0x00000006,
6250x0000087c,0x0000087b,0x00000001,0x00050051,
6260x00000006,0x0000087d,0x0000087b,0x00000000,
6270x00050051,0x00000006,0x00000880,0x0000059e,
6280x00000001,0x00050080,0x00000006,0x00000882,
6290x00000880,0x0000087c,0x00050050,0x00000007,
6300x00000883,0x0000087d,0x00000882,0x0004007c,
6310x000000b1,0x00000870,0x00000883,0x00060041,
6320x000000b7,0x00000871,0x00000870,0x000000b6,
6330x000000b6,0x0006003d,0x00000006,0x00000872,
6340x00000871,0x00000002,0x00000004,0x00050080,
6350x00000006,0x00000865,0x0000082c,0x00000063,
6360x00050084,0x00000006,0x00000895,0x00000865,
6370x0000009e,0x00050095,0x0000005e,0x00000896,
6380x00000878,0x00000895,0x00050051,0x00000006,
6390x00000897,0x00000896,0x00000001,0x00050051,
6400x00000006,0x00000898,0x00000896,0x00000000,
6410x00050080,0x00000006,0x0000089d,0x00000880,
6420x00000897,0x00050050,0x00000007,0x0000089e,
6430x00000898,0x0000089d,0x0004007c,0x000000b1,
6440x0000088b,0x0000089e,0x00060041,0x000000b7,
6450x0000088c,0x0000088b,0x000000b6,0x000000b6,
6460x0006003d,0x00000006,0x0000088d,0x0000088c,
6470x00000002,0x00000004,0x000500b0,0x00000012,
6480x000008a5,0x0000088d,0x00000859,0x000400a8,
6490x00000012,0x000008a6,0x000008a5,0x000300f7,
6500x000008b5,0x00000000,0x000400fa,0x000008a6,
6510x000008a7,0x000008b5,0x000200f8,0x000008a7,
6520x000500aa,0x00000012,0x000008ac,0x0000088d,
6530x00000859,0x000300f7,0x000008b3,0x00000000,
6540x000400fa,0x000008ac,0x000008ad,0x000008b3,
6550x000200f8,0x000008ad,0x000500b0,0x00000012,
6560x000008b2,0x00000872,0x00000851,0x000200f9,
6570x000008b3,0x000200f8,0x000008b3,0x000700f5,
6580x00000012,0x000008b4,0x000008ac,0x000008a7,
6590x000008b2,0x000008ad,0x000200f9,0x000008b5,
6600x000200f8,0x000008b5,0x000700f5,0x00000012,
6610x000008b6,0x000008a5,0x00000826,0x000008b4,
6620x000008b3,0x000300f7,0x00000836,0x00000000,
6630x000400fa,0x000008b6,0x00000831,0x00000834,
6640x000200f8,0x00000834,0x000200f9,0x00000836,
6650x000200f8,0x00000831,0x00050080,0x00000006,
6660x00000833,0x0000082a,0x00000063,0x000200f9,
6670x00000836,0x000200f8,0x00000836,0x000700f5,
6680x00000006,0x00002130,0x00000833,0x00000831,
6690x00001cf1,0x00000834,0x000600a9,0x00000006,
6700x00002196,0x000008b6,0x00001cf2,0x0000082a,
6710x000200f9,0x00000837,0x000200f8,0x00000837,
6720x000200f9,0x00000821,0x000200f8,0x00000838,
6730x000500aa,0x00000012,0x0000083a,0x00001cf1,
6740x00000058,0x000300f7,0x0000083c,0x00000000,
6750x000400fa,0x0000083a,0x0000083b,0x0000083c,
6760x000200f8,0x0000083b,0x000200f9,0x00000845,
6770x000200f8,0x0000083c,0x00050082,0x00000006,
6780x0000083e,0x00001cf1,0x00000063,0x00050084,
6790x00000006,0x0000083f,0x0000009e,0x0000083e,
6800x00050080,0x00000006,0x00000840,0x0000083f,
6810x000000d8,0x00050051,0x00000006,0x000008d4,
6820x0000059e,0x00000000,0x00050084,0x00000006,
6830x000008d6,0x00000840,0x0000009e,0x00050095,
6840x0000005e,0x000008d7,0x000008d4,0x000008d6,
6850x00050051,0x00000006,0x000008d8,0x000008d7,
6860x00000001,0x00050051,0x00000006,0x000008d9,
6870x000008d7,0x00000000,0x00050051,0x00000006,
6880x000008dc,0x0000059e,0x00000001,0x00050080,
6890x00000006,0x000008de,0x000008dc,0x000008d8,
6900x00050050,0x00000007,0x000008df,0x000008d9,
6910x000008de,0x0004007c,0x000000b1,0x000008cc,
6920x000008df,0x00060041,0x000000b7,0x000008cd,
6930x000008cc,0x000000b6,0x000000b6,0x0006003d,
6940x00000006,0x000008ce,0x000008cd,0x00000002,
6950x00000004,0x00050080,0x00000006,0x000008c1,
6960x0000083f,0x000000de,0x00050084,0x00000006,
6970x000008f1,0x000008c1,0x0000009e,0x00050095,
6980x0000005e,0x000008f2,0x000008d4,0x000008f1,
6990x00050051,0x00000006,0x000008f3,0x000008f2,
7000x00000001,0x00050051,0x00000006,0x000008f4,
7010x000008f2,0x00000000,0x00050080,0x00000006,
7020x000008f9,0x000008dc,0x000008f3,0x00050050,
7030x00000007,0x000008fa,0x000008f4,0x000008f9,
7040x0004007c,0x000000b1,0x000008e7,0x000008fa,
7050x00060041,0x000000b7,0x000008e8,0x000008e7,
7060x000000b6,0x000000b6,0x0006003d,0x00000006,
7070x000008e9,0x000008e8,0x00000002,0x00000004,
7080x000500b0,0x00000012,0x00000901,0x00000854,
7090x000008e9,0x000400a8,0x00000012,0x00000902,
7100x00000901,0x000300f7,0x00000911,0x00000000,
7110x000400fa,0x00000902,0x00000903,0x00000911,
7120x000200f8,0x00000903,0x000500aa,0x00000012,
7130x00000908,0x00000854,0x000008e9,0x000300f7,
7140x0000090f,0x00000000,0x000400fa,0x00000908,
7150x00000909,0x0000090f,0x000200f8,0x00000909,
7160x000500b0,0x00000012,0x0000090e,0x0000084c,
7170x000008ce,0x000200f9,0x0000090f,0x000200f8,
7180x0000090f,0x000700f5,0x00000012,0x00000910,
7190x00000908,0x00000903,0x0000090e,0x00000909,
7200x000200f9,0x00000911,0x000200f8,0x00000911,
7210x000700f5,0x00000012,0x00000912,0x00000901,
7220x0000083c,0x00000910,0x0000090f,0x000200f9,
7230x00000845,0x000200f8,0x00000845,0x000700f5,
7240x00000012,0x00001cf3,0x0000011e,0x0000083b,
7250x00000912,0x00000911,0x000200f9,0x000005be,
7260x000200f8,0x000005be,0x000700f5,0x00000012,
7270x000005bf,0x000005b4,0x000005b2,0x00001cf3,
7280x00000845,0x000200f9,0x000005c0,0x000200f8,
7290x000005c0,0x000d00f5,0x00000012,0x00001cf4,
7300x0000011e,0x0000057d,0x00000217,0x00000594,
7310x0000011e,0x00000599,0x00000217,0x000005a3,
7320x000005bf,0x000005be,0x000400a8,0x00000012,
7330x00000478,0x00001cf4,0x000300f7,0x0000047a,
7340x00000000,0x000400fa,0x00000478,0x00000479,
7350x0000047a,0x000200f8,0x00000479,0x00050080,
7360x00000006,0x0000047e,0x00000472,0x00000063,
7370x00060041,0x00000474,0x00000480,0x0000046f,
7380x000000b6,0x0000047e,0x0006003d,0x00000027,
7390x00000481,0x00000480,0x00000002,0x00000010,
7400x000300f7,0x0000097b,0x00000000,0x000300fb,
7410x00000058,0x00000928,0x000200f8,0x00000928,
7420x00050051,0x00000006,0x0000092a,0x00000481,
7430x00000000,0x000500aa,0x00000012,0x0000092b,
7440x0000092a,0x00000058,0x000300f7,0x00000930,
7450x00000000,0x000400fa,0x0000092b,0x0000092c,
7460x00000930,0x000200f8,0x0000092c,0x00050051,
7470x00000006,0x0000092e,0x00000481,0x00000001,
7480x000500aa,0x00000012,0x0000092f,0x0000092e,
7490x00000058,0x000200f9,0x00000930,0x000200f8,
7500x00000930,0x000700f5,0x00000012,0x00000931,
7510x0000092b,0x00000928,0x0000092f,0x0000092c,
7520x000300f7,0x00000936,0x00000000,0x000400fa,
7530x00000931,0x00000932,0x00000936,0x000200f8,
7540x00000932,0x00050051,0x00000006,0x00000934,
7550x00000481,0x00000002,0x000500aa,0x00000012,
7560x00000935,0x00000934,0x00000058,0x000200f9,
7570x00000936,0x000200f8,0x00000936,0x000700f5,
7580x00000012,0x00000937,0x00000931,0x00000930,
7590x00000935,0x00000932,0x000300f7,0x00000939,
7600x00000000,0x000400fa,0x00000937,0x00000938,
7610x00000939,0x000200f8,0x00000938,0x000200f9,
7620x0000097b,0x000200f8,0x00000939,0x00050051,
7630x00000006,0x0000093d,0x00000481,0x00000001,
7640x000500c7,0x00000006,0x0000093e,0x0000093d,
7650x0000017b,0x00050051,0x00000006,0x00000941,
7660x00000481,0x00000003,0x00050041,0x00000182,
7670x00000943,0x00000180,0x00000201,0x0004003d,
7680x00000006,0x00000944,0x00000943,0x000500ab,
7690x00000012,0x00000945,0x00000944,0x00000058,
7700x000300f7,0x0000094d,0x00000000,0x000400fa,
7710x00000945,0x00000946,0x0000094d,0x000200f8,
7720x00000946,0x00050041,0x0000020a,0x00000947,
7730x00000180,0x00000207,0x0004003d,0x00000007,
7740x00000948,0x00000947,0x000300f7,0x000009b8,
7750x00000000,0x000300fb,0x00000058,0x0000098f,
7760x000200f8,0x0000098f,0x00050095,0x0000005e,
7770x000009c2,0x0000092a,0x00000063,0x00050051,
7780x00000006,0x000009c3,0x000009c2,0x00000001,
7790x00050051,0x00000006,0x000009c4,0x000009c2,
7800x00000000,0x00050080,0x00000006,0x000009cc,
7810x0000093e,0x000009c3,0x000200f9,0x00000994,
7820x000200f8,0x00000994,0x000700f5,0x00000006,
7830x00001cf6,0x00000944,0x0000098f,0x00002197,
7840x000009aa,0x000700f5,0x00000006,0x00001cf5,
7850x00000058,0x0000098f,0x00002136,0x000009aa,
7860x000500b0,0x00000012,0x00000998,0x00001cf5,
7870x00001cf6,0x000400f6,0x000009ab,0x000009aa,
7880x00000000,0x000400fa,0x00000998,0x00000999,
7890x000009ab,0x000200f8,0x00000999,0x00050080,
7900x00000006,0x0000099c,0x00001cf5,0x00001cf6,
7910x000500c2,0x00000006,0x0000099d,0x0000099c,
7920x00000063,0x00050084,0x00000006,0x0000099f,
7930x0000009e,0x0000099d,0x00050051,0x00000006,
7940x000009eb,0x00000948,0x00000000,0x00050084,
7950x00000006,0x000009ed,0x0000099d,0x0000034a,
7960x00050095,0x0000005e,0x000009ee,0x000009eb,
7970x000009ed,0x00050051,0x00000006,0x000009ef,
7980x000009ee,0x00000001,0x00050051,0x00000006,
7990x000009f0,0x000009ee,0x00000000,0x00050051,
8000x00000006,0x000009f3,0x00000948,0x00000001,
8010x00050080,0x00000006,0x000009f5,0x000009f3,
8020x000009ef,0x00050050,0x00000007,0x000009f6,
8030x000009f0,0x000009f5,0x0004007c,0x000000b1,
8040x000009e3,0x000009f6,0x00060041,0x000000b7,
8050x000009e4,0x000009e3,0x000000b6,0x000000b6,
8060x0006003d,0x00000006,0x000009e5,0x000009e4,
8070x00000002,0x00000004,0x00050080,0x00000006,
8080x000009d8,0x0000099f,0x00000063,0x00050084,
8090x00000006,0x00000a08,0x000009d8,0x0000009e,
8100x00050095,0x0000005e,0x00000a09,0x000009eb,
8110x00000a08,0x00050051,0x00000006,0x00000a0a,
8120x00000a09,0x00000001,0x00050051,0x00000006,
8130x00000a0b,0x00000a09,0x00000000,0x00050080,
8140x00000006,0x00000a10,0x000009f3,0x00000a0a,
8150x00050050,0x00000007,0x00000a11,0x00000a0b,
8160x00000a10,0x0004007c,0x000000b1,0x000009fe,
8170x00000a11,0x00060041,0x000000b7,0x000009ff,
8180x000009fe,0x000000b6,0x000000b6,0x0006003d,
8190x00000006,0x00000a00,0x000009ff,0x00000002,
8200x00000004,0x000500b0,0x00000012,0x00000a18,
8210x00000a00,0x000009cc,0x000400a8,0x00000012,
8220x00000a19,0x00000a18,0x000300f7,0x00000a28,
8230x00000000,0x000400fa,0x00000a19,0x00000a1a,
8240x00000a28,0x000200f8,0x00000a1a,0x000500aa,
8250x00000012,0x00000a1f,0x00000a00,0x000009cc,
8260x000300f7,0x00000a26,0x00000000,0x000400fa,
8270x00000a1f,0x00000a20,0x00000a26,0x000200f8,
8280x00000a20,0x000500b0,0x00000012,0x00000a25,
8290x000009e5,0x000009c4,0x000200f9,0x00000a26,
8300x000200f8,0x00000a26,0x000700f5,0x00000012,
8310x00000a27,0x00000a1f,0x00000a1a,0x00000a25,
8320x00000a20,0x000200f9,0x00000a28,0x000200f8,
8330x00000a28,0x000700f5,0x00000012,0x00000a29,
8340x00000a18,0x00000999,0x00000a27,0x00000a26,
8350x000300f7,0x000009a9,0x00000000,0x000400fa,
8360x00000a29,0x000009a4,0x000009a7,0x000200f8,
8370x000009a7,0x000200f9,0x000009a9,0x000200f8,
8380x000009a4,0x00050080,0x00000006,0x000009a6,
8390x0000099d,0x00000063,0x000200f9,0x000009a9,
8400x000200f8,0x000009a9,0x000700f5,0x00000006,
8410x00002136,0x000009a6,0x000009a4,0x00001cf5,
8420x000009a7,0x000600a9,0x00000006,0x00002197,
8430x00000a29,0x00001cf6,0x0000099d,0x000200f9,
8440x000009aa,0x000200f8,0x000009aa,0x000200f9,
8450x00000994,0x000200f8,0x000009ab,0x000500aa,
8460x00000012,0x000009ad,0x00001cf5,0x00000058,
8470x000300f7,0x000009af,0x00000000,0x000400fa,
8480x000009ad,0x000009ae,0x000009af,0x000200f8,
8490x000009ae,0x000200f9,0x000009b8,0x000200f8,
8500x000009af,0x00050082,0x00000006,0x000009b1,
8510x00001cf5,0x00000063,0x00050084,0x00000006,
8520x000009b2,0x0000009e,0x000009b1,0x00050080,
8530x00000006,0x000009b3,0x000009b2,0x000000d8,
8540x00050051,0x00000006,0x00000a47,0x00000948,
8550x00000000,0x00050084,0x00000006,0x00000a49,
8560x000009b3,0x0000009e,0x00050095,0x0000005e,
8570x00000a4a,0x00000a47,0x00000a49,0x00050051,
8580x00000006,0x00000a4b,0x00000a4a,0x00000001,
8590x00050051,0x00000006,0x00000a4c,0x00000a4a,
8600x00000000,0x00050051,0x00000006,0x00000a4f,
8610x00000948,0x00000001,0x00050080,0x00000006,
8620x00000a51,0x00000a4f,0x00000a4b,0x00050050,
8630x00000007,0x00000a52,0x00000a4c,0x00000a51,
8640x0004007c,0x000000b1,0x00000a3f,0x00000a52,
8650x00060041,0x000000b7,0x00000a40,0x00000a3f,
8660x000000b6,0x000000b6,0x0006003d,0x00000006,
8670x00000a41,0x00000a40,0x00000002,0x00000004,
8680x00050080,0x00000006,0x00000a34,0x000009b2,
8690x000000de,0x00050084,0x00000006,0x00000a64,
8700x00000a34,0x0000009e,0x00050095,0x0000005e,
8710x00000a65,0x00000a47,0x00000a64,0x00050051,
8720x00000006,0x00000a66,0x00000a65,0x00000001,
8730x00050051,0x00000006,0x00000a67,0x00000a65,
8740x00000000,0x00050080,0x00000006,0x00000a6c,
8750x00000a4f,0x00000a66,0x00050050,0x00000007,
8760x00000a6d,0x00000a67,0x00000a6c,0x0004007c,
8770x000000b1,0x00000a5a,0x00000a6d,0x00060041,
8780x000000b7,0x00000a5b,0x00000a5a,0x000000b6,
8790x000000b6,0x0006003d,0x00000006,0x00000a5c,
8800x00000a5b,0x00000002,0x00000004,0x000500b0,
8810x00000012,0x00000a74,0x0000093e,0x00000a5c,
8820x000400a8,0x00000012,0x00000a75,0x00000a74,
8830x000300f7,0x00000a84,0x00000000,0x000400fa,
8840x00000a75,0x00000a76,0x00000a84,0x000200f8,
8850x00000a76,0x000500aa,0x00000012,0x00000a7b,
8860x0000093e,0x00000a5c,0x000300f7,0x00000a82,
8870x00000000,0x000400fa,0x00000a7b,0x00000a7c,
8880x00000a82,0x000200f8,0x00000a7c,0x000500b0,
8890x00000012,0x00000a81,0x0000092a,0x00000a41,
8900x000200f9,0x00000a82,0x000200f8,0x00000a82,
8910x000700f5,0x00000012,0x00000a83,0x00000a7b,
8920x00000a76,0x00000a81,0x00000a7c,0x000200f9,
8930x00000a84,0x000200f8,0x00000a84,0x000700f5,
8940x00000012,0x00000a85,0x00000a74,0x000009af,
8950x00000a83,0x00000a82,0x000200f9,0x000009b8,
8960x000200f8,0x000009b8,0x000700f5,0x00000012,
8970x00001cf7,0x0000011e,0x000009ae,0x00000a85,
8980x00000a84,0x000200f9,0x0000094d,0x000200f8,
8990x0000094d,0x000700f5,0x00000012,0x0000094e,
9000x00000945,0x00000939,0x00001cf7,0x000009b8,
9010x000300f7,0x00000950,0x00000000,0x000400fa,
9020x0000094e,0x0000094f,0x00000950,0x000200f8,
9030x0000094f,0x000200f9,0x0000097b,0x000200f8,
9040x00000950,0x00050041,0x00000182,0x00000951,
9050x00000180,0x00000219,0x0004003d,0x00000006,
9060x00000952,0x00000951,0x000500aa,0x00000012,
9070x00000953,0x00000952,0x00000058,0x000300f7,
9080x00000955,0x00000000,0x000400fa,0x00000953,
9090x00000954,0x00000955,0x000200f8,0x00000954,
9100x000200f9,0x0000097b,0x000200f8,0x00000955,
9110x00050050,0x00000007,0x00000a8e,0x0000092a,
9120x0000093e,0x000500c7,0x00000006,0x00000a91,
9130x00000438,0x00000063,0x000500ab,0x00000012,
9140x00000a92,0x00000a91,0x00000058,0x000300f7,
9150x00000a98,0x00000000,0x000400fa,0x00000a92,
9160x00000a93,0x00000a98,0x000200f8,0x00000a93,
9170x000500c7,0x00000006,0x00000a96,0x0000093d,
9180x0000018b,0x000500ab,0x00000012,0x00000a97,
9190x00000a96,0x00000058,0x000200f9,0x00000a98,
9200x000200f8,0x00000a98,0x000700f5,0x00000012,
9210x00000a99,0x00000a92,0x00000955,0x00000a97,
9220x00000a93,0x000300f7,0x00000a9f,0x00000000,
9230x000400fa,0x00000a99,0x00000a9a,0x00000a9f,
9240x000200f8,0x00000a9a,0x000500c5,0x00000006,
9250x00000a9d,0x0000093e,0x00000191,0x00060052,
9260x00000007,0x00001b11,0x00000a9d,0x00000a8e,
9270x00000001,0x000200f9,0x00000a9f,0x000200f8,
9280x00000a9f,0x000700f5,0x00000007,0x00001cf9,
9290x00000a8e,0x00000a98,0x00001b11,0x00000a9a,
9300x00050041,0x0000020a,0x00000958,0x00000180,
9310x00000220,0x0004003d,0x00000007,0x00000959,
9320x00000958,0x000300f7,0x00000adc,0x00000000,
9330x000300fb,0x00000058,0x00000ab3,0x000200f8,
9340x00000ab3,0x00050051,0x00000006,0x00000ae3,
9350x00001cf9,0x00000000,0x00050095,0x0000005e,
9360x00000ae6,0x00000ae3,0x00000941,0x00050051,
9370x00000006,0x00000ae7,0x00000ae6,0x00000001,
9380x00050051,0x00000006,0x00000ae8,0x00000ae6,
9390x00000000,0x00050051,0x00000006,0x00000aeb,
9400x00001cf9,0x00000001,0x00050080,0x00000006,
9410x00000af0,0x00000aeb,0x00000ae7,0x000200f9,
9420x00000ab8,0x000200f8,0x00000ab8,0x000700f5,
9430x00000006,0x00001cfb,0x00000952,0x00000ab3,
9440x00002198,0x00000ace,0x000700f5,0x00000006,
9450x00001cfa,0x00000058,0x00000ab3,0x0000213c,
9460x00000ace,0x000500b0,0x00000012,0x00000abc,
9470x00001cfa,0x00001cfb,0x000400f6,0x00000acf,
9480x00000ace,0x00000000,0x000400fa,0x00000abc,
9490x00000abd,0x00000acf,0x000200f8,0x00000abd,
9500x00050080,0x00000006,0x00000ac0,0x00001cfa,
9510x00001cfb,0x000500c2,0x00000006,0x00000ac1,
9520x00000ac0,0x00000063,0x00050084,0x00000006,
9530x00000ac3,0x0000009e,0x00000ac1,0x00050051,
9540x00000006,0x00000b0f,0x00000959,0x00000000,
9550x00050084,0x00000006,0x00000b11,0x00000ac1,
9560x0000034a,0x00050095,0x0000005e,0x00000b12,
9570x00000b0f,0x00000b11,0x00050051,0x00000006,
9580x00000b13,0x00000b12,0x00000001,0x00050051,
9590x00000006,0x00000b14,0x00000b12,0x00000000,
9600x00050051,0x00000006,0x00000b17,0x00000959,
9610x00000001,0x00050080,0x00000006,0x00000b19,
9620x00000b17,0x00000b13,0x00050050,0x00000007,
9630x00000b1a,0x00000b14,0x00000b19,0x0004007c,
9640x000000b1,0x00000b07,0x00000b1a,0x00060041,
9650x000000b7,0x00000b08,0x00000b07,0x000000b6,
9660x000000b6,0x0006003d,0x00000006,0x00000b09,
9670x00000b08,0x00000002,0x00000004,0x00050080,
9680x00000006,0x00000afc,0x00000ac3,0x00000063,
9690x00050084,0x00000006,0x00000b2c,0x00000afc,
9700x0000009e,0x00050095,0x0000005e,0x00000b2d,
9710x00000b0f,0x00000b2c,0x00050051,0x00000006,
9720x00000b2e,0x00000b2d,0x00000001,0x00050051,
9730x00000006,0x00000b2f,0x00000b2d,0x00000000,
9740x00050080,0x00000006,0x00000b34,0x00000b17,
9750x00000b2e,0x00050050,0x00000007,0x00000b35,
9760x00000b2f,0x00000b34,0x0004007c,0x000000b1,
9770x00000b22,0x00000b35,0x00060041,0x000000b7,
9780x00000b23,0x00000b22,0x000000b6,0x000000b6,
9790x0006003d,0x00000006,0x00000b24,0x00000b23,
9800x00000002,0x00000004,0x000500b0,0x00000012,
9810x00000b3c,0x00000b24,0x00000af0,0x000400a8,
9820x00000012,0x00000b3d,0x00000b3c,0x000300f7,
9830x00000b4c,0x00000000,0x000400fa,0x00000b3d,
9840x00000b3e,0x00000b4c,0x000200f8,0x00000b3e,
9850x000500aa,0x00000012,0x00000b43,0x00000b24,
9860x00000af0,0x000300f7,0x00000b4a,0x00000000,
9870x000400fa,0x00000b43,0x00000b44,0x00000b4a,
9880x000200f8,0x00000b44,0x000500b0,0x00000012,
9890x00000b49,0x00000b09,0x00000ae8,0x000200f9,
9900x00000b4a,0x000200f8,0x00000b4a,0x000700f5,
9910x00000012,0x00000b4b,0x00000b43,0x00000b3e,
9920x00000b49,0x00000b44,0x000200f9,0x00000b4c,
9930x000200f8,0x00000b4c,0x000700f5,0x00000012,
9940x00000b4d,0x00000b3c,0x00000abd,0x00000b4b,
9950x00000b4a,0x000300f7,0x00000acd,0x00000000,
9960x000400fa,0x00000b4d,0x00000ac8,0x00000acb,
9970x000200f8,0x00000acb,0x000200f9,0x00000acd,
9980x000200f8,0x00000ac8,0x00050080,0x00000006,
9990x00000aca,0x00000ac1,0x00000063,0x000200f9,
10000x00000acd,0x000200f8,0x00000acd,0x000700f5,
10010x00000006,0x0000213c,0x00000aca,0x00000ac8,
10020x00001cfa,0x00000acb,0x000600a9,0x00000006,
10030x00002198,0x00000b4d,0x00001cfb,0x00000ac1,
10040x000200f9,0x00000ace,0x000200f8,0x00000ace,
10050x000200f9,0x00000ab8,0x000200f8,0x00000acf,
10060x000500aa,0x00000012,0x00000ad1,0x00001cfa,
10070x00000058,0x000300f7,0x00000ad3,0x00000000,
10080x000400fa,0x00000ad1,0x00000ad2,0x00000ad3,
10090x000200f8,0x00000ad2,0x000200f9,0x00000adc,
10100x000200f8,0x00000ad3,0x00050082,0x00000006,
10110x00000ad5,0x00001cfa,0x00000063,0x00050084,
10120x00000006,0x00000ad6,0x0000009e,0x00000ad5,
10130x00050080,0x00000006,0x00000ad7,0x00000ad6,
10140x000000d8,0x00050051,0x00000006,0x00000b6b,
10150x00000959,0x00000000,0x00050084,0x00000006,
10160x00000b6d,0x00000ad7,0x0000009e,0x00050095,
10170x0000005e,0x00000b6e,0x00000b6b,0x00000b6d,
10180x00050051,0x00000006,0x00000b6f,0x00000b6e,
10190x00000001,0x00050051,0x00000006,0x00000b70,
10200x00000b6e,0x00000000,0x00050051,0x00000006,
10210x00000b73,0x00000959,0x00000001,0x00050080,
10220x00000006,0x00000b75,0x00000b73,0x00000b6f,
10230x00050050,0x00000007,0x00000b76,0x00000b70,
10240x00000b75,0x0004007c,0x000000b1,0x00000b63,
10250x00000b76,0x00060041,0x000000b7,0x00000b64,
10260x00000b63,0x000000b6,0x000000b6,0x0006003d,
10270x00000006,0x00000b65,0x00000b64,0x00000002,
10280x00000004,0x00050080,0x00000006,0x00000b58,
10290x00000ad6,0x000000de,0x00050084,0x00000006,
10300x00000b88,0x00000b58,0x0000009e,0x00050095,
10310x0000005e,0x00000b89,0x00000b6b,0x00000b88,
10320x00050051,0x00000006,0x00000b8a,0x00000b89,
10330x00000001,0x00050051,0x00000006,0x00000b8b,
10340x00000b89,0x00000000,0x00050080,0x00000006,
10350x00000b90,0x00000b73,0x00000b8a,0x00050050,
10360x00000007,0x00000b91,0x00000b8b,0x00000b90,
10370x0004007c,0x000000b1,0x00000b7e,0x00000b91,
10380x00060041,0x000000b7,0x00000b7f,0x00000b7e,
10390x000000b6,0x000000b6,0x0006003d,0x00000006,
10400x00000b80,0x00000b7f,0x00000002,0x00000004,
10410x000500b0,0x00000012,0x00000b98,0x00000aeb,
10420x00000b80,0x000400a8,0x00000012,0x00000b99,
10430x00000b98,0x000300f7,0x00000ba8,0x00000000,
10440x000400fa,0x00000b99,0x00000b9a,0x00000ba8,
10450x000200f8,0x00000b9a,0x000500aa,0x00000012,
10460x00000b9f,0x00000aeb,0x00000b80,0x000300f7,
10470x00000ba6,0x00000000,0x000400fa,0x00000b9f,
10480x00000ba0,0x00000ba6,0x000200f8,0x00000ba0,
10490x000500b0,0x00000012,0x00000ba5,0x00000ae3,
10500x00000b65,0x000200f9,0x00000ba6,0x000200f8,
10510x00000ba6,0x000700f5,0x00000012,0x00000ba7,
10520x00000b9f,0x00000b9a,0x00000ba5,0x00000ba0,
10530x000200f9,0x00000ba8,0x000200f8,0x00000ba8,
10540x000700f5,0x00000012,0x00000ba9,0x00000b98,
10550x00000ad3,0x00000ba7,0x00000ba6,0x000200f9,
10560x00000adc,0x000200f8,0x00000adc,0x000700f5,
10570x00000012,0x00001cfc,0x0000011e,0x00000ad2,
10580x00000ba9,0x00000ba8,0x000300f7,0x0000095f,
10590x00000000,0x000400fa,0x00001cfc,0x0000095e,
10600x0000095f,0x000200f8,0x0000095e,0x000200f9,
10610x0000097b,0x000200f8,0x0000095f,0x00050051,
10620x00000006,0x00000961,0x00000481,0x00000002,
10630x000500c2,0x00000006,0x00000964,0x0000093d,
10640x000000e4,0x000500aa,0x00000012,0x00000968,
10650x00000961,0x00000058,0x000300f7,0x0000096d,
10660x00000000,0x000400fa,0x00000968,0x00000969,
10670x0000096d,0x000200f8,0x00000969,0x000500aa,
10680x00000012,0x0000096c,0x00000964,0x00000058,
10690x000200f9,0x0000096d,0x000200f8,0x0000096d,
10700x000700f5,0x00000012,0x0000096e,0x00000968,
10710x0000095f,0x0000096c,0x00000969,0x000400a8,
10720x00000012,0x0000096f,0x0000096e,0x000300f7,
10730x00000979,0x00000000,0x000400fa,0x0000096f,
10740x00000970,0x00000979,0x000200f8,0x00000970,
10750x000500c7,0x00000006,0x00000bb1,0x00000964,
10760x0000017b,0x00050050,0x00000007,0x00000bb2,
10770x00000961,0x00000bb1,0x000300f7,0x00000bbc,
10780x00000000,0x000400fa,0x00000a92,0x00000bb7,
10790x00000bbc,0x000200f8,0x00000bb7,0x000500c7,
10800x00000006,0x00000bba,0x00000964,0x0000018b,
10810x000500ab,0x00000012,0x00000bbb,0x00000bba,
10820x00000058,0x000200f9,0x00000bbc,0x000200f8,
10830x00000bbc,0x000700f5,0x00000012,0x00000bbd,
10840x00000a92,0x00000970,0x00000bbb,0x00000bb7,
10850x000300f7,0x00000bc3,0x00000000,0x000400fa,
10860x00000bbd,0x00000bbe,0x00000bc3,0x000200f8,
10870x00000bbe,0x000500c5,0x00000006,0x00000bc1,
10880x00000bb1,0x00000191,0x00060052,0x00000007,
10890x00001b33,0x00000bc1,0x00000bb2,0x00000001,
10900x000200f9,0x00000bc3,0x000200f8,0x00000bc3,
10910x000700f5,0x00000007,0x00001cfe,0x00000bb2,
10920x00000bbc,0x00001b33,0x00000bbe,0x000300f7,
10930x00000c00,0x00000000,0x000300fb,0x00000058,
10940x00000bd7,0x000200f8,0x00000bd7,0x00050051,
10950x00000006,0x00000c07,0x00001cfe,0x00000000,
10960x00050095,0x0000005e,0x00000c0a,0x00000c07,
10970x00000941,0x00050051,0x00000006,0x00000c0b,
10980x00000c0a,0x00000001,0x00050051,0x00000006,
10990x00000c0c,0x00000c0a,0x00000000,0x00050051,
11000x00000006,0x00000c0f,0x00001cfe,0x00000001,
11010x00050080,0x00000006,0x00000c14,0x00000c0f,
11020x00000c0b,0x000200f9,0x00000bdc,0x000200f8,
11030x00000bdc,0x000700f5,0x00000006,0x00001d00,
11040x00000952,0x00000bd7,0x00002199,0x00000bf2,
11050x000700f5,0x00000006,0x00001cff,0x00000058,
11060x00000bd7,0x00002142,0x00000bf2,0x000500b0,
11070x00000012,0x00000be0,0x00001cff,0x00001d00,
11080x000400f6,0x00000bf3,0x00000bf2,0x00000000,
11090x000400fa,0x00000be0,0x00000be1,0x00000bf3,
11100x000200f8,0x00000be1,0x00050080,0x00000006,
11110x00000be4,0x00001cff,0x00001d00,0x000500c2,
11120x00000006,0x00000be5,0x00000be4,0x00000063,
11130x00050084,0x00000006,0x00000be7,0x0000009e,
11140x00000be5,0x00050051,0x00000006,0x00000c33,
11150x00000959,0x00000000,0x00050084,0x00000006,
11160x00000c35,0x00000be5,0x0000034a,0x00050095,
11170x0000005e,0x00000c36,0x00000c33,0x00000c35,
11180x00050051,0x00000006,0x00000c37,0x00000c36,
11190x00000001,0x00050051,0x00000006,0x00000c38,
11200x00000c36,0x00000000,0x00050051,0x00000006,
11210x00000c3b,0x00000959,0x00000001,0x00050080,
11220x00000006,0x00000c3d,0x00000c3b,0x00000c37,
11230x00050050,0x00000007,0x00000c3e,0x00000c38,
11240x00000c3d,0x0004007c,0x000000b1,0x00000c2b,
11250x00000c3e,0x00060041,0x000000b7,0x00000c2c,
11260x00000c2b,0x000000b6,0x000000b6,0x0006003d,
11270x00000006,0x00000c2d,0x00000c2c,0x00000002,
11280x00000004,0x00050080,0x00000006,0x00000c20,
11290x00000be7,0x00000063,0x00050084,0x00000006,
11300x00000c50,0x00000c20,0x0000009e,0x00050095,
11310x0000005e,0x00000c51,0x00000c33,0x00000c50,
11320x00050051,0x00000006,0x00000c52,0x00000c51,
11330x00000001,0x00050051,0x00000006,0x00000c53,
11340x00000c51,0x00000000,0x00050080,0x00000006,
11350x00000c58,0x00000c3b,0x00000c52,0x00050050,
11360x00000007,0x00000c59,0x00000c53,0x00000c58,
11370x0004007c,0x000000b1,0x00000c46,0x00000c59,
11380x00060041,0x000000b7,0x00000c47,0x00000c46,
11390x000000b6,0x000000b6,0x0006003d,0x00000006,
11400x00000c48,0x00000c47,0x00000002,0x00000004,
11410x000500b0,0x00000012,0x00000c60,0x00000c48,
11420x00000c14,0x000400a8,0x00000012,0x00000c61,
11430x00000c60,0x000300f7,0x00000c70,0x00000000,
11440x000400fa,0x00000c61,0x00000c62,0x00000c70,
11450x000200f8,0x00000c62,0x000500aa,0x00000012,
11460x00000c67,0x00000c48,0x00000c14,0x000300f7,
11470x00000c6e,0x00000000,0x000400fa,0x00000c67,
11480x00000c68,0x00000c6e,0x000200f8,0x00000c68,
11490x000500b0,0x00000012,0x00000c6d,0x00000c2d,
11500x00000c0c,0x000200f9,0x00000c6e,0x000200f8,
11510x00000c6e,0x000700f5,0x00000012,0x00000c6f,
11520x00000c67,0x00000c62,0x00000c6d,0x00000c68,
11530x000200f9,0x00000c70,0x000200f8,0x00000c70,
11540x000700f5,0x00000012,0x00000c71,0x00000c60,
11550x00000be1,0x00000c6f,0x00000c6e,0x000300f7,
11560x00000bf1,0x00000000,0x000400fa,0x00000c71,
11570x00000bec,0x00000bef,0x000200f8,0x00000bef,
11580x000200f9,0x00000bf1,0x000200f8,0x00000bec,
11590x00050080,0x00000006,0x00000bee,0x00000be5,
11600x00000063,0x000200f9,0x00000bf1,0x000200f8,
11610x00000bf1,0x000700f5,0x00000006,0x00002142,
11620x00000bee,0x00000bec,0x00001cff,0x00000bef,
11630x000600a9,0x00000006,0x00002199,0x00000c71,
11640x00001d00,0x00000be5,0x000200f9,0x00000bf2,
11650x000200f8,0x00000bf2,0x000200f9,0x00000bdc,
11660x000200f8,0x00000bf3,0x000500aa,0x00000012,
11670x00000bf5,0x00001cff,0x00000058,0x000300f7,
11680x00000bf7,0x00000000,0x000400fa,0x00000bf5,
11690x00000bf6,0x00000bf7,0x000200f8,0x00000bf6,
11700x000200f9,0x00000c00,0x000200f8,0x00000bf7,
11710x00050082,0x00000006,0x00000bf9,0x00001cff,
11720x00000063,0x00050084,0x00000006,0x00000bfa,
11730x0000009e,0x00000bf9,0x00050080,0x00000006,
11740x00000bfb,0x00000bfa,0x000000d8,0x00050051,
11750x00000006,0x00000c8f,0x00000959,0x00000000,
11760x00050084,0x00000006,0x00000c91,0x00000bfb,
11770x0000009e,0x00050095,0x0000005e,0x00000c92,
11780x00000c8f,0x00000c91,0x00050051,0x00000006,
11790x00000c93,0x00000c92,0x00000001,0x00050051,
11800x00000006,0x00000c94,0x00000c92,0x00000000,
11810x00050051,0x00000006,0x00000c97,0x00000959,
11820x00000001,0x00050080,0x00000006,0x00000c99,
11830x00000c97,0x00000c93,0x00050050,0x00000007,
11840x00000c9a,0x00000c94,0x00000c99,0x0004007c,
11850x000000b1,0x00000c87,0x00000c9a,0x00060041,
11860x000000b7,0x00000c88,0x00000c87,0x000000b6,
11870x000000b6,0x0006003d,0x00000006,0x00000c89,
11880x00000c88,0x00000002,0x00000004,0x00050080,
11890x00000006,0x00000c7c,0x00000bfa,0x000000de,
11900x00050084,0x00000006,0x00000cac,0x00000c7c,
11910x0000009e,0x00050095,0x0000005e,0x00000cad,
11920x00000c8f,0x00000cac,0x00050051,0x00000006,
11930x00000cae,0x00000cad,0x00000001,0x00050051,
11940x00000006,0x00000caf,0x00000cad,0x00000000,
11950x00050080,0x00000006,0x00000cb4,0x00000c97,
11960x00000cae,0x00050050,0x00000007,0x00000cb5,
11970x00000caf,0x00000cb4,0x0004007c,0x000000b1,
11980x00000ca2,0x00000cb5,0x00060041,0x000000b7,
11990x00000ca3,0x00000ca2,0x000000b6,0x000000b6,
12000x0006003d,0x00000006,0x00000ca4,0x00000ca3,
12010x00000002,0x00000004,0x000500b0,0x00000012,
12020x00000cbc,0x00000c0f,0x00000ca4,0x000400a8,
12030x00000012,0x00000cbd,0x00000cbc,0x000300f7,
12040x00000ccc,0x00000000,0x000400fa,0x00000cbd,
12050x00000cbe,0x00000ccc,0x000200f8,0x00000cbe,
12060x000500aa,0x00000012,0x00000cc3,0x00000c0f,
12070x00000ca4,0x000300f7,0x00000cca,0x00000000,
12080x000400fa,0x00000cc3,0x00000cc4,0x00000cca,
12090x000200f8,0x00000cc4,0x000500b0,0x00000012,
12100x00000cc9,0x00000c07,0x00000c89,0x000200f9,
12110x00000cca,0x000200f8,0x00000cca,0x000700f5,
12120x00000012,0x00000ccb,0x00000cc3,0x00000cbe,
12130x00000cc9,0x00000cc4,0x000200f9,0x00000ccc,
12140x000200f8,0x00000ccc,0x000700f5,0x00000012,
12150x00000ccd,0x00000cbc,0x00000bf7,0x00000ccb,
12160x00000cca,0x000200f9,0x00000c00,0x000200f8,
12170x00000c00,0x000700f5,0x00000012,0x00001d01,
12180x0000011e,0x00000bf6,0x00000ccd,0x00000ccc,
12190x000200f9,0x00000979,0x000200f8,0x00000979,
12200x000700f5,0x00000012,0x0000097a,0x0000096f,
12210x0000096d,0x00001d01,0x00000c00,0x000200f9,
12220x0000097b,0x000200f8,0x0000097b,0x000d00f5,
12230x00000012,0x00001d02,0x0000011e,0x00000938,
12240x00000217,0x0000094f,0x0000011e,0x00000954,
12250x00000217,0x0000095e,0x0000097a,0x00000979,
12260x000400a8,0x00000012,0x00000483,0x00001d02,
12270x000200f9,0x0000047a,0x000200f8,0x0000047a,
12280x000700f5,0x00000012,0x00000484,0x00000478,
12290x000005c0,0x00000483,0x0000097b,0x000300f7,
12300x00000486,0x00000000,0x000400fa,0x00000484,
12310x00000485,0x00000486,0x000200f8,0x00000485,
12320x000200f9,0x00000518,0x000200f8,0x00000486,
12330x000200f9,0x00000467,0x000200f8,0x00000467,
12340x00050041,0x0000020a,0x00000489,0x00000180,
12350x000000b6,0x0004003d,0x00000007,0x0000048a,
12360x00000489,0x0004007c,0x00000468,0x0000048b,
12370x0000048a,0x00050084,0x00000006,0x0000048f,
12380x000000d8,0x0000044f,0x00060041,0x00000474,
12390x00000490,0x0000048b,0x000000b6,0x0000048f,
12400x0006003d,0x00000027,0x00000491,0x00000490,
12410x00000002,0x00000010,0x00050080,0x00000006,
12420x00000496,0x0000048f,0x00000063,0x00060041,
12430x00000474,0x00000497,0x0000048b,0x000000b6,
12440x00000496,0x0006003d,0x00000027,0x00000498,
12450x00000497,0x00000002,0x00000010,0x000300f7,
12460x0000049b,0x00000000,0x000400fa,0x0000043a,
12470x0000049a,0x0000049b,0x000200f8,0x0000049a,
12480x00050051,0x00000006,0x0000049d,0x00000491,
12490x00000003,0x000500c2,0x00000006,0x0000049e,
12500x0000049d,0x0000019b,0x000500ab,0x00000012,
12510x0000049f,0x0000049e,0x00000058,0x000200f9,
12520x0000049b,0x000200f8,0x0000049b,0x000700f5,
12530x00000012,0x000004a0,0x0000043a,0x00000467,
12540x0000049f,0x0000049a,0x000300f7,0x000004a2,
12550x00000000,0x000400fa,0x000004a0,0x000004a1,
12560x000004a2,0x000200f8,0x000004a1,0x000200f9,
12570x00000518,0x000200f8,0x000004a2,0x000500c2,
12580x00000006,0x000004a6,0x00001ce6,0x000004a5,
12590x000500ab,0x00000012,0x000004a7,0x000004a6,
12600x00000058,0x000300f7,0x000004a9,0x00000000,
12610x000400fa,0x000004a7,0x000004a8,0x000004a9,
12620x000200f8,0x000004a8,0x00050051,0x00000006,
12630x000004ab,0x00000491,0x00000003,0x000500c2,
12640x00000006,0x000004ac,0x000004ab,0x0000019b,
12650x000500ab,0x00000012,0x000004ad,0x000004ac,
12660x00000058,0x000200f9,0x000004a9,0x000200f8,
12670x000004a9,0x000700f5,0x00000012,0x000004ae,
12680x000004a7,0x000004a2,0x000004ad,0x000004a8,
12690x00070050,0x0000219a,0x0000219b,0x000004ae,
12700x000004ae,0x000004ae,0x000004ae,0x000600a9,
12710x00000027,0x0000219c,0x0000219b,0x000001a7,
12720x00000491,0x00050051,0x00000006,0x000004b6,
12730x0000219c,0x00000003,0x000500c2,0x00000006,
12740x000004b7,0x000004b6,0x0000019b,0x000500aa,
12750x00000012,0x000004b8,0x000004b7,0x00000058,
12760x000300f7,0x000004ba,0x00000000,0x000400fa,
12770x000004b8,0x000004b9,0x000004ba,0x000200f8,
12780x000004b9,0x000300f7,0x00000e39,0x00000000,
12790x000300fb,0x00000058,0x00000d15,0x000200f8,
12800x00000d15,0x000500ab,0x00000012,0x00000d19,
12810x000004b7,0x00000058,0x000400a8,0x00000012,
12820x00000d1a,0x00000d19,0x000300f7,0x00000d1f,
12830x00000000,0x000400fa,0x00000d1a,0x00000d1b,
12840x00000d1f,0x000200f8,0x00000d1b,0x00050051,
12850x00000006,0x00000d1d,0x0000219c,0x00000002,
12860x000500aa,0x00000012,0x00000d1e,0x00000d1d,
12870x00000058,0x000200f9,0x00000d1f,0x000200f8,
12880x00000d1f,0x000700f5,0x00000012,0x00000d20,
12890x00000d19,0x00000d15,0x00000d1e,0x00000d1b,
12900x000300f7,0x00000d22,0x00000000,0x000400fa,
12910x00000d20,0x00000d21,0x00000d22,0x000200f8,
12920x00000d21,0x000200f9,0x00000e39,0x000200f8,
12930x00000d22,0x00050051,0x00000006,0x00000d24,
12940x0000219c,0x00000000,0x00050051,0x00000006,
12950x00000d26,0x0000219c,0x00000001,0x000500c7,
12960x00000006,0x00000d27,0x00000d26,0x0000017b,
12970x00050050,0x00000007,0x00000d28,0x00000d24,
12980x00000d27,0x000500aa,0x00000012,0x00000d2b,
12990x00000d24,0x00000058,0x000300f7,0x00000d30,
13000x00000000,0x000400fa,0x00000d2b,0x00000d2c,
13010x00000d30,0x000200f8,0x00000d2c,0x000500aa,
13020x00000012,0x00000d2f,0x00000d27,0x00000058,
13030x000200f9,0x00000d30,0x000200f8,0x00000d30,
13040x000700f5,0x00000012,0x00000d31,0x00000d2b,
13050x00000d22,0x00000d2f,0x00000d2c,0x000300f7,
13060x00000d36,0x00000000,0x000400fa,0x00000d31,
13070x00000d32,0x00000d36,0x000200f8,0x00000d32,
13080x00060052,0x00000027,0x00001b56,0x00000058,
13090x0000219c,0x00000000,0x00060052,0x00000027,
13100x00001b58,0x00000058,0x00001b56,0x00000001,
13110x00060052,0x00000027,0x00001b5a,0x00000058,
13120x00001b58,0x00000002,0x000200f9,0x00000e39,
13130x000200f8,0x00000d36,0x000500c2,0x00000006,
13140x00000d39,0x00000d26,0x000000e4,0x000500c7,
13150x00000006,0x00000d3a,0x00000d39,0x000001ad,
13160x00050051,0x00000006,0x00000d3c,0x0000219c,
13170x00000002,0x000500aa,0x00000012,0x00000d3e,
13180x00000d3a,0x00000058,0x000600a9,0x00000006,
13190x00000d40,0x00000d3e,0x00000063,0x00000d3a,
13200x00050097,0x0000005e,0x00000d43,0x00000d3c,
13210x00000d40,0x00050051,0x00000006,0x00000d44,
13220x00000d43,0x00000000,0x00050051,0x00000006,
13230x00000d45,0x00000d43,0x00000001,0x00050050,
13240x00000007,0x0000218e,0x00000d44,0x00000d45,
13250x00050041,0x00000182,0x00000d46,0x00000180,
13260x0000029a,0x0004003d,0x00000006,0x00000d47,
13270x00000d46,0x000200f9,0x00000d48,0x000200f8,
13280x00000d48,0x000700f5,0x00000006,0x00001d55,
13290x00000d47,0x00000d36,0x0000219d,0x00000d5f,
13300x000700f5,0x00000006,0x00001d54,0x00000058,
13310x00000d36,0x00002148,0x00000d5f,0x000500b0,
13320x00000012,0x00000d4c,0x00001d54,0x00001d55,
13330x000400f6,0x00000d60,0x00000d5f,0x00000000,
13340x000400fa,0x00000d4c,0x00000d4d,0x00000d60,
13350x000200f8,0x00000d4d,0x00050080,0x00000006,
13360x00000d50,0x00001d54,0x00001d55,0x000500c2,
13370x00000006,0x00000d51,0x00000d50,0x00000063,
13380x00050084,0x00000006,0x00000d53,0x000002ab,
13390x00000d51,0x00050041,0x0000020a,0x00000d54,
13400x00000180,0x000002aa,0x0004003d,0x00000007,
13410x00000d55,0x00000d54,0x00050051,0x00000006,
13420x00000e5c,0x00000d55,0x00000000,0x00050084,
13430x00000006,0x00000e5e,0x00000d51,0x0000218f,
13440x00050095,0x0000005e,0x00000e5f,0x00000e5c,
13450x00000e5e,0x00050051,0x00000006,0x00000e60,
13460x00000e5f,0x00000001,0x00050051,0x00000006,
13470x00000e61,0x00000e5f,0x00000000,0x00050051,
13480x00000006,0x00000e64,0x00000d55,0x00000001,
13490x00050080,0x00000006,0x00000e66,0x00000e64,
13500x00000e60,0x00050050,0x00000007,0x00000e67,
13510x00000e61,0x00000e66,0x0004007c,0x000000b1,
13520x00000e54,0x00000e67,0x00060041,0x000000b7,
13530x00000e55,0x00000e54,0x000000b6,0x000000b6,
13540x0006003d,0x00000006,0x00000e56,0x00000e55,
13550x00000002,0x00000004,0x00050080,0x00000006,
13560x00000e49,0x00000d53,0x00000063,0x00050084,
13570x00000006,0x00000e79,0x00000e49,0x0000009e,
13580x00050095,0x0000005e,0x00000e7a,0x00000e5c,
13590x00000e79,0x00050051,0x00000006,0x00000e7b,
13600x00000e7a,0x00000001,0x00050051,0x00000006,
13610x00000e7c,0x00000e7a,0x00000000,0x00050080,
13620x00000006,0x00000e81,0x00000e64,0x00000e7b,
13630x00050050,0x00000007,0x00000e82,0x00000e7c,
13640x00000e81,0x0004007c,0x000000b1,0x00000e6f,
13650x00000e82,0x00060041,0x000000b7,0x00000e70,
13660x00000e6f,0x000000b6,0x000000b6,0x0006003d,
13670x00000006,0x00000e71,0x00000e70,0x00000002,
13680x00000004,0x000500b0,0x00000012,0x00000e89,
13690x00000d27,0x00000e71,0x000400a8,0x00000012,
13700x00000e8a,0x00000e89,0x000300f7,0x00000e99,
13710x00000000,0x000400fa,0x00000e8a,0x00000e8b,
13720x00000e99,0x000200f8,0x00000e8b,0x000500aa,
13730x00000012,0x00000e90,0x00000d27,0x00000e71,
13740x000300f7,0x00000e97,0x00000000,0x000400fa,
13750x00000e90,0x00000e91,0x00000e97,0x000200f8,
13760x00000e91,0x000500b0,0x00000012,0x00000e96,
13770x00000d24,0x00000e56,0x000200f9,0x00000e97,
13780x000200f8,0x00000e97,0x000700f5,0x00000012,
13790x00000e98,0x00000e90,0x00000e8b,0x00000e96,
13800x00000e91,0x000200f9,0x00000e99,0x000200f8,
13810x00000e99,0x000700f5,0x00000012,0x00000e9a,
13820x00000e89,0x00000d4d,0x00000e98,0x00000e97,
13830x000300f7,0x00000d5e,0x00000000,0x000400fa,
13840x00000e9a,0x00000d59,0x00000d5b,0x000200f8,
13850x00000d5b,0x00050080,0x00000006,0x00000d5d,
13860x00000d51,0x00000063,0x000200f9,0x00000d5e,
13870x000200f8,0x00000d59,0x000200f9,0x00000d5e,
13880x000200f8,0x00000d5e,0x000700f5,0x00000006,
13890x00002148,0x00001d54,0x00000d59,0x00000d5d,
13900x00000d5b,0x000600a9,0x00000006,0x0000219d,
13910x00000e9a,0x00000d51,0x00001d55,0x000200f9,
13920x00000d5f,0x000200f8,0x00000d5f,0x000200f9,
13930x00000d48,0x000200f8,0x00000d60,0x000500ac,
13940x00000012,0x00000d62,0x00001d54,0x00000058,
13950x000300f7,0x00000d96,0x00000000,0x000400fa,
13960x00000d62,0x00000d63,0x00000d96,0x000200f8,
13970x00000d63,0x00050082,0x00000006,0x00000d65,
13980x00001d54,0x00000063,0x00050084,0x00000006,
13990x00000d66,0x000002ab,0x00000d65,0x00050080,
14000x00000006,0x00000d68,0x00000d66,0x000000d8,
14010x00050041,0x0000020a,0x00000d69,0x00000180,
14020x000002aa,0x0004003d,0x00000007,0x00000d6a,
14030x00000d69,0x00050051,0x00000006,0x00000eb8,
14040x00000d6a,0x00000000,0x00050084,0x00000006,
14050x00000eba,0x00000d68,0x0000009e,0x00050095,
14060x0000005e,0x00000ebb,0x00000eb8,0x00000eba,
14070x00050051,0x00000006,0x00000ebc,0x00000ebb,
14080x00000001,0x00050051,0x00000006,0x00000ebd,
14090x00000ebb,0x00000000,0x00050051,0x00000006,
14100x00000ec0,0x00000d6a,0x00000001,0x00050080,
14110x00000006,0x00000ec2,0x00000ec0,0x00000ebc,
14120x00050050,0x00000007,0x00000ec3,0x00000ebd,
14130x00000ec2,0x0004007c,0x000000b1,0x00000eb0,
14140x00000ec3,0x00060041,0x000000b7,0x00000eb1,
14150x00000eb0,0x000000b6,0x000000b6,0x0006003d,
14160x00000006,0x00000eb2,0x00000eb1,0x00000002,
14170x00000004,0x00050080,0x00000006,0x00000ea5,
14180x00000d66,0x000000de,0x00050084,0x00000006,
14190x00000ed5,0x00000ea5,0x0000009e,0x00050095,
14200x0000005e,0x00000ed6,0x00000eb8,0x00000ed5,
14210x00050051,0x00000006,0x00000ed7,0x00000ed6,
14220x00000001,0x00050051,0x00000006,0x00000ed8,
14230x00000ed6,0x00000000,0x00050080,0x00000006,
14240x00000edd,0x00000ec0,0x00000ed7,0x00050050,
14250x00000007,0x00000ede,0x00000ed8,0x00000edd,
14260x0004007c,0x000000b1,0x00000ecb,0x00000ede,
14270x00060041,0x000000b7,0x00000ecc,0x00000ecb,
14280x000000b6,0x000000b6,0x0006003d,0x00000006,
14290x00000ecd,0x00000ecc,0x00000002,0x00000004,
14300x000500b0,0x00000012,0x00000ee5,0x00000d27,
14310x00000ecd,0x000400a8,0x00000012,0x00000ee6,
14320x00000ee5,0x000300f7,0x00000ef5,0x00000000,
14330x000400fa,0x00000ee6,0x00000ee7,0x00000ef5,
14340x000200f8,0x00000ee7,0x000500aa,0x00000012,
14350x00000eec,0x00000d27,0x00000ecd,0x000300f7,
14360x00000ef3,0x00000000,0x000400fa,0x00000eec,
14370x00000eed,0x00000ef3,0x000200f8,0x00000eed,
14380x000500b0,0x00000012,0x00000ef2,0x00000d24,
14390x00000eb2,0x000200f9,0x00000ef3,0x000200f8,
14400x00000ef3,0x000700f5,0x00000012,0x00000ef4,
14410x00000eec,0x00000ee7,0x00000ef2,0x00000eed,
14420x000200f9,0x00000ef5,0x000200f8,0x00000ef5,
14430x000700f5,0x00000012,0x00000ef6,0x00000ee5,
14440x00000d63,0x00000ef4,0x00000ef3,0x000300f7,
14450x00000d77,0x00000000,0x000400fa,0x00000ef6,
14460x00000d6f,0x00000d77,0x000200f8,0x00000d6f,
14470x00050080,0x00000006,0x00000d71,0x00000d66,
14480x000002d5,0x00050084,0x00000006,0x00000f08,
14490x00000d71,0x0000009e,0x00050095,0x0000005e,
14500x00000f09,0x00000eb8,0x00000f08,0x00050051,
14510x00000006,0x00000f0a,0x00000f09,0x00000001,
14520x00050051,0x00000006,0x00000f0b,0x00000f09,
14530x00000000,0x00050080,0x00000006,0x00000f10,
14540x00000ec0,0x00000f0a,0x00050050,0x00000007,
14550x00000f11,0x00000f0b,0x00000f10,0x0004007c,
14560x000000b1,0x00000efe,0x00000f11,0x00060041,
14570x000000b7,0x00000eff,0x00000efe,0x000000b6,
14580x000000b6,0x0006003d,0x00000006,0x00000f00,
14590x00000eff,0x00000002,0x00000004,0x000500c7,
14600x00000006,0x00000d75,0x00000f00,0x00000063,
14610x000500ab,0x00000012,0x00000d76,0x00000d75,
14620x00000058,0x000200f9,0x00000d77,0x000200f8,
14630x00000d77,0x000700f5,0x00000012,0x00000d78,
14640x00000ef6,0x00000ef5,0x00000d76,0x00000d6f,
14650x000300f7,0x00000d95,0x00000000,0x000400fa,
14660x00000d78,0x00000d79,0x00000d95,0x000200f8,
14670x00000d79,0x00050096,0x0000005e,0x00000f1a,
14680x00000eb2,0x00000d24,0x00050051,0x00000006,
14690x00000f1b,0x00000f1a,0x00000001,0x00050051,
14700x00000006,0x00000f1c,0x00000f1a,0x00000000,
14710x00050082,0x00000006,0x00000f22,0x00000ecd,
14720x00000d27,0x00050082,0x00000006,0x00000f24,
14730x00000f22,0x00000f1b,0x000500b0,0x00000012,
14740x00000f2c,0x00000f24,0x00000d45,0x000400a8,
14750x00000012,0x00000f2d,0x00000f2c,0x000300f7,
14760x00000f3c,0x00000000,0x000400fa,0x00000f2d,
14770x00000f2e,0x00000f3c,0x000200f8,0x00000f2e,
14780x000500aa,0x00000012,0x00000f33,0x00000f24,
14790x00000d45,0x000300f7,0x00000f3a,0x00000000,
14800x000400fa,0x00000f33,0x00000f34,0x00000f3a,
14810x000200f8,0x00000f34,0x000500b0,0x00000012,
14820x00000f39,0x00000f1c,0x00000d44,0x000200f9,
14830x00000f3a,0x000200f8,0x00000f3a,0x000700f5,
14840x00000012,0x00000f3b,0x00000f33,0x00000f2e,
14850x00000f39,0x00000f34,0x000200f9,0x00000f3c,
14860x000200f8,0x00000f3c,0x000700f5,0x00000012,
14870x00000f3d,0x00000f2c,0x00000d79,0x00000f3b,
14880x00000f3a,0x000300f7,0x00000d94,0x00000000,
14890x000400fa,0x00000f3d,0x00000d7f,0x00000d83,
14900x000200f8,0x00000d83,0x00050084,0x00000006,
14910x00000f61,0x00000d65,0x0000218f,0x00050095,
14920x0000005e,0x00000f62,0x00000eb8,0x00000f61,
14930x00050051,0x00000006,0x00000f63,0x00000f62,
14940x00000001,0x00050051,0x00000006,0x00000f64,
14950x00000f62,0x00000000,0x00050080,0x00000006,
14960x00000f69,0x00000ec0,0x00000f63,0x00050050,
14970x00000007,0x00000f6a,0x00000f64,0x00000f69,
14980x0004007c,0x000000b1,0x00000f57,0x00000f6a,
14990x00060041,0x000000b7,0x00000f58,0x00000f57,
15000x000000b6,0x000000b6,0x0006003d,0x00000006,
15010x00000f59,0x00000f58,0x00000002,0x00000004,
15020x00050080,0x00000006,0x00000f4c,0x00000d66,
15030x00000063,0x00050084,0x00000006,0x00000f7c,
15040x00000f4c,0x0000009e,0x00050095,0x0000005e,
15050x00000f7d,0x00000eb8,0x00000f7c,0x00050051,
15060x00000006,0x00000f7e,0x00000f7d,0x00000001,
15070x00050051,0x00000006,0x00000f7f,0x00000f7d,
15080x00000000,0x00050080,0x00000006,0x00000f84,
15090x00000ec0,0x00000f7e,0x00050050,0x00000007,
15100x00000f85,0x00000f7f,0x00000f84,0x0004007c,
15110x000000b1,0x00000f72,0x00000f85,0x00060041,
15120x000000b7,0x00000f73,0x00000f72,0x000000b6,
15130x000000b6,0x0006003d,0x00000006,0x00000f74,
15140x00000f73,0x00000002,0x00000004,0x00050080,
15150x00000006,0x00000d89,0x00000d66,0x0000009e,
15160x00050084,0x00000006,0x00000fa5,0x00000d89,
15170x0000009e,0x00050095,0x0000005e,0x00000fa6,
15180x00000eb8,0x00000fa5,0x00050051,0x00000006,
15190x00000fa7,0x00000fa6,0x00000001,0x00050051,
15200x00000006,0x00000fa8,0x00000fa6,0x00000000,
15210x00050080,0x00000006,0x00000fad,0x00000ec0,
15220x00000fa7,0x00050050,0x00000007,0x00000fae,
15230x00000fa8,0x00000fad,0x0004007c,0x000000b1,
15240x00000f9b,0x00000fae,0x00060041,0x000000b7,
15250x00000f9c,0x00000f9b,0x000000b6,0x000000b6,
15260x0006003d,0x00000006,0x00000f9d,0x00000f9c,
15270x00000002,0x00000004,0x00050080,0x00000006,
15280x00000f90,0x00000d66,0x00000357,0x00050084,
15290x00000006,0x00000fc0,0x00000f90,0x0000009e,
15300x00050095,0x0000005e,0x00000fc1,0x00000eb8,
15310x00000fc0,0x00050051,0x00000006,0x00000fc2,
15320x00000fc1,0x00000001,0x00050051,0x00000006,
15330x00000fc3,0x00000fc1,0x00000000,0x00050080,
15340x00000006,0x00000fc8,0x00000ec0,0x00000fc2,
15350x00050050,0x00000007,0x00000fc9,0x00000fc3,
15360x00000fc8,0x0004007c,0x000000b1,0x00000fb6,
15370x00000fc9,0x00060041,0x000000b7,0x00000fb7,
15380x00000fb6,0x000000b6,0x000000b6,0x0006003d,
15390x00000006,0x00000fb8,0x00000fb7,0x00000002,
15400x00000004,0x00050096,0x0000005e,0x00000fd2,
15410x00000d24,0x00000f59,0x00050051,0x00000006,
15420x00000fd3,0x00000fd2,0x00000001,0x00050051,
15430x00000006,0x00000fd4,0x00000fd2,0x00000000,
15440x00050082,0x00000006,0x00000fda,0x00000d27,
15450x00000f74,0x00050082,0x00000006,0x00000fdc,
15460x00000fda,0x00000fd3,0x00050095,0x0000005e,
15470x00000fe6,0x00000f9d,0x00000fd4,0x00050051,
15480x00000006,0x00000fe7,0x00000fe6,0x00000001,
15490x00050051,0x00000006,0x00000fe8,0x00000fe6,
15500x00000000,0x00050080,0x00000006,0x00000fee,
15510x00000fb8,0x00000fdc,0x00050080,0x00000006,
15520x00000ff0,0x00000fee,0x00000fe7,0x00060052,
15530x00000027,0x00001b99,0x00000fe8,0x0000219c,
15540x00000000,0x000500c7,0x00000006,0x00000ff8,
15550x00000d26,0x00000191,0x000500c7,0x00000006,
15560x00000ffb,0x00000ff0,0x0000017b,0x000500c5,
15570x00000006,0x00000ffc,0x00000ff8,0x00000ffb,
15580x00060052,0x00000027,0x00001b9d,0x00000ffc,
15590x00001b99,0x00000001,0x000200f9,0x00000d94,
15600x000200f8,0x00000d7f,0x00060052,0x00000027,
15610x00001b82,0x00000058,0x0000219c,0x00000000,
15620x00060052,0x00000027,0x00001b84,0x00000058,
15630x00001b82,0x00000001,0x00060052,0x00000027,
15640x00001b86,0x00000058,0x00001b84,0x00000002,
15650x000200f9,0x00000d94,0x000200f8,0x00000d94,
15660x000700f5,0x00000027,0x00001df7,0x00001b86,
15670x00000d7f,0x00001b9d,0x00000d83,0x000200f9,
15680x00000e39,0x000200f8,0x00000d95,0x000200f9,
15690x00000d96,0x000200f8,0x00000d96,0x000500c7,
15700x00000006,0x00000d9a,0x00000438,0x00000063,
15710x000500ab,0x00000012,0x00000d9b,0x00000d9a,
15720x00000058,0x000300f7,0x00000da1,0x00000000,
15730x000400fa,0x00000d9b,0x00000d9c,0x00000da1,
15740x000200f8,0x00000d9c,0x000500c7,0x00000006,
15750x00000d9f,0x00000d26,0x0000018b,0x000500ab,
15760x00000012,0x00000da0,0x00000d9f,0x00000058,
15770x000200f9,0x00000da1,0x000200f8,0x00000da1,
15780x000700f5,0x00000012,0x00000da2,0x00000d9b,
15790x00000d96,0x00000da0,0x00000d9c,0x000300f7,
15800x00000da8,0x00000000,0x000400fa,0x00000da2,
15810x00000da3,0x00000da8,0x000200f8,0x00000da3,
15820x000500c5,0x00000006,0x00000da6,0x00000d27,
15830x00000191,0x00060052,0x00000007,0x00001ba1,
15840x00000da6,0x00000d28,0x00000001,0x000200f9,
15850x00000da8,0x000200f8,0x00000da8,0x000700f5,
15860x00000007,0x00001d58,0x00000d28,0x00000da1,
15870x00001ba1,0x00000da3,0x00050041,0x00000182,
15880x00000da9,0x00000180,0x000000e4,0x0004003d,
15890x00000006,0x00000daa,0x00000da9,0x000500ab,
15900x00000012,0x00000dab,0x00000daa,0x00000058,
15910x000300f7,0x00000dbe,0x00000000,0x000400fa,
15920x00000dab,0x00000dac,0x00000dbe,0x000200f8,
15930x00000dac,0x000500aa,0x00000012,0x00000daf,
15940x00000d44,0x00000058,0x000300f7,0x00000db4,
15950x00000000,0x000400fa,0x00000daf,0x00000db0,
15960x00000db4,0x000200f8,0x00000db0,0x000500aa,
15970x00000012,0x00000db3,0x00000d45,0x00000058,
15980x000200f9,0x00000db4,0x000200f8,0x00000db4,
15990x000700f5,0x00000012,0x00000db5,0x00000daf,
16000x00000dac,0x00000db3,0x00000db0,0x000600a9,
16010x00000007,0x00000db7,0x00000db5,0x00000208,
16020x0000218e,0x00050041,0x0000020a,0x00000db8,
16030x00000180,0x00000325,0x0004003d,0x00000007,
16040x00000db9,0x00000db8,0x000300f7,0x00001042,
16050x00000000,0x000300fb,0x00000058,0x00001012,
16060x000200f8,0x00001012,0x000200f9,0x00001014,
16070x000200f8,0x00001014,0x000700f5,0x00000006,
16080x00001d5a,0x00000daa,0x00001012,0x0000219e,
16090x0000102a,0x000700f5,0x00000006,0x00001d59,
16100x00000058,0x00001012,0x0000214e,0x0000102a,
16110x000500b0,0x00000012,0x00001018,0x00001d59,
16120x00001d5a,0x000400f6,0x0000102b,0x0000102a,
16130x00000000,0x000400fa,0x00001018,0x00001019,
16140x0000102b,0x000200f8,0x00001019,0x00050080,
16150x00000006,0x0000101c,0x00001d59,0x00001d5a,
16160x000500c2,0x00000006,0x0000101d,0x0000101c,
16170x00000063,0x00050084,0x00000006,0x0000101f,
16180x0000009e,0x0000101d,0x00050051,0x00000006,
16190x00001061,0x00000db9,0x00000000,0x00050084,
16200x00000006,0x00001063,0x0000101d,0x0000034a,
16210x00050095,0x0000005e,0x00001064,0x00001061,
16220x00001063,0x00050051,0x00000006,0x00001065,
16230x00001064,0x00000001,0x00050051,0x00000006,
16240x00001066,0x00001064,0x00000000,0x00050051,
16250x00000006,0x00001069,0x00000db9,0x00000001,
16260x00050080,0x00000006,0x0000106b,0x00001069,
16270x00001065,0x00050050,0x00000007,0x0000106c,
16280x00001066,0x0000106b,0x0004007c,0x000000b1,
16290x00001059,0x0000106c,0x00060041,0x000000b7,
16300x0000105a,0x00001059,0x000000b6,0x000000b6,
16310x0006003d,0x00000006,0x0000105b,0x0000105a,
16320x00000002,0x00000004,0x00050080,0x00000006,
16330x0000104e,0x0000101f,0x00000063,0x00050084,
16340x00000006,0x0000107e,0x0000104e,0x0000009e,
16350x00050095,0x0000005e,0x0000107f,0x00001061,
16360x0000107e,0x00050051,0x00000006,0x00001080,
16370x0000107f,0x00000001,0x00050051,0x00000006,
16380x00001081,0x0000107f,0x00000000,0x00050080,
16390x00000006,0x00001086,0x00001069,0x00001080,
16400x00050050,0x00000007,0x00001087,0x00001081,
16410x00001086,0x0004007c,0x000000b1,0x00001074,
16420x00001087,0x00060041,0x000000b7,0x00001075,
16430x00001074,0x000000b6,0x000000b6,0x0006003d,
16440x00000006,0x00001076,0x00001075,0x00000002,
16450x00000004,0x00050051,0x00000006,0x0000108b,
16460x00001d58,0x00000001,0x000500b0,0x00000012,
16470x0000108e,0x0000108b,0x00001076,0x000400a8,
16480x00000012,0x0000108f,0x0000108e,0x000300f7,
16490x0000109e,0x00000000,0x000400fa,0x0000108f,
16500x00001090,0x0000109e,0x000200f8,0x00001090,
16510x000500aa,0x00000012,0x00001095,0x0000108b,
16520x00001076,0x000300f7,0x0000109c,0x00000000,
16530x000400fa,0x00001095,0x00001096,0x0000109c,
16540x000200f8,0x00001096,0x00050051,0x00000006,
16550x00001098,0x00001d58,0x00000000,0x000500b0,
16560x00000012,0x0000109b,0x00001098,0x0000105b,
16570x000200f9,0x0000109c,0x000200f8,0x0000109c,
16580x000700f5,0x00000012,0x0000109d,0x00001095,
16590x00001090,0x0000109b,0x00001096,0x000200f9,
16600x0000109e,0x000200f8,0x0000109e,0x000700f5,
16610x00000012,0x0000109f,0x0000108e,0x00001019,
16620x0000109d,0x0000109c,0x000300f7,0x00001029,
16630x00000000,0x000400fa,0x0000109f,0x00001024,
16640x00001026,0x000200f8,0x00001026,0x00050080,
16650x00000006,0x00001028,0x0000101d,0x00000063,
16660x000200f9,0x00001029,0x000200f8,0x00001024,
16670x000200f9,0x00001029,0x000200f8,0x00001029,
16680x000700f5,0x00000006,0x0000214e,0x00001d59,
16690x00001024,0x00001028,0x00001026,0x000600a9,
16700x00000006,0x0000219e,0x0000109f,0x0000101d,
16710x00001d5a,0x000200f9,0x0000102a,0x000200f8,
16720x0000102a,0x000200f9,0x00001014,0x000200f8,
16730x0000102b,0x000500aa,0x00000012,0x0000102d,
16740x00001d59,0x00000058,0x000300f7,0x0000102f,
16750x00000000,0x000400fa,0x0000102d,0x0000102e,
16760x0000102f,0x000200f8,0x0000102e,0x000200f9,
16770x00001042,0x000200f8,0x0000102f,0x00050082,
16780x00000006,0x00001031,0x00001d59,0x00000063,
16790x00050084,0x00000006,0x00001032,0x0000009e,
16800x00001031,0x00050080,0x00000006,0x00001033,
16810x00001032,0x000000d8,0x00050051,0x00000006,
16820x000010bd,0x00000db9,0x00000000,0x00050084,
16830x00000006,0x000010bf,0x00001033,0x0000009e,
16840x00050095,0x0000005e,0x000010c0,0x000010bd,
16850x000010bf,0x00050051,0x00000006,0x000010c1,
16860x000010c0,0x00000001,0x00050051,0x00000006,
16870x000010c2,0x000010c0,0x00000000,0x00050051,
16880x00000006,0x000010c5,0x00000db9,0x00000001,
16890x00050080,0x00000006,0x000010c7,0x000010c5,
16900x000010c1,0x00050050,0x00000007,0x000010c8,
16910x000010c2,0x000010c7,0x0004007c,0x000000b1,
16920x000010b5,0x000010c8,0x00060041,0x000000b7,
16930x000010b6,0x000010b5,0x000000b6,0x000000b6,
16940x0006003d,0x00000006,0x000010b7,0x000010b6,
16950x00000002,0x00000004,0x00050080,0x00000006,
16960x000010aa,0x00001032,0x000000de,0x00050084,
16970x00000006,0x000010da,0x000010aa,0x0000009e,
16980x00050095,0x0000005e,0x000010db,0x000010bd,
16990x000010da,0x00050051,0x00000006,0x000010dc,
17000x000010db,0x00000001,0x00050051,0x00000006,
17010x000010dd,0x000010db,0x00000000,0x00050080,
17020x00000006,0x000010e2,0x000010c5,0x000010dc,
17030x00050050,0x00000007,0x000010e3,0x000010dd,
17040x000010e2,0x0004007c,0x000000b1,0x000010d0,
17050x000010e3,0x00060041,0x000000b7,0x000010d1,
17060x000010d0,0x000000b6,0x000000b6,0x0006003d,
17070x00000006,0x000010d2,0x000010d1,0x00000002,
17080x00000004,0x00050051,0x00000006,0x000010e7,
17090x00001d58,0x00000001,0x000500b0,0x00000012,
17100x000010ea,0x000010e7,0x000010d2,0x000400a8,
17110x00000012,0x000010eb,0x000010ea,0x000300f7,
17120x000010fa,0x00000000,0x000400fa,0x000010eb,
17130x000010ec,0x000010fa,0x000200f8,0x000010ec,
17140x000500aa,0x00000012,0x000010f1,0x000010e7,
17150x000010d2,0x000300f7,0x000010f8,0x00000000,
17160x000400fa,0x000010f1,0x000010f2,0x000010f8,
17170x000200f8,0x000010f2,0x00050051,0x00000006,
17180x000010f4,0x00001d58,0x00000000,0x000500b0,
17190x00000012,0x000010f7,0x000010f4,0x000010b7,
17200x000200f9,0x000010f8,0x000200f8,0x000010f8,
17210x000700f5,0x00000012,0x000010f9,0x000010f1,
17220x000010ec,0x000010f7,0x000010f2,0x000200f9,
17230x000010fa,0x000200f8,0x000010fa,0x000700f5,
17240x00000012,0x000010fb,0x000010ea,0x0000102f,
17250x000010f9,0x000010f8,0x000300f7,0x00001040,
17260x00000000,0x000400fa,0x000010fb,0x00001039,
17270x00001040,0x000200f8,0x00001039,0x00050051,
17280x00000006,0x00001103,0x00001d58,0x00000000,
17290x00050096,0x0000005e,0x00001104,0x000010b7,
17300x00001103,0x00050051,0x00000006,0x00001105,
17310x00001104,0x00000001,0x00050051,0x00000006,
17320x00001106,0x00001104,0x00000000,0x00050082,
17330x00000006,0x0000110c,0x000010d2,0x000010e7,
17340x00050082,0x00000006,0x0000110e,0x0000110c,
17350x00001105,0x00050051,0x00000006,0x00001115,
17360x00000db7,0x00000001,0x000500b0,0x00000012,
17370x00001116,0x0000110e,0x00001115,0x000400a8,
17380x00000012,0x00001117,0x00001116,0x000300f7,
17390x00001126,0x00000000,0x000400fa,0x00001117,
17400x00001118,0x00001126,0x000200f8,0x00001118,
17410x000500aa,0x00000012,0x0000111d,0x0000110e,
17420x00001115,0x000300f7,0x00001124,0x00000000,
17430x000400fa,0x0000111d,0x0000111e,0x00001124,
17440x000200f8,0x0000111e,0x00050051,0x00000006,
17450x00001122,0x00000db7,0x00000000,0x000500b0,
17460x00000012,0x00001123,0x00001106,0x00001122,
17470x000200f9,0x00001124,0x000200f8,0x00001124,
17480x000700f5,0x00000012,0x00001125,0x0000111d,
17490x00001118,0x00001123,0x0000111e,0x000200f9,
17500x00001126,0x000200f8,0x00001126,0x000700f5,
17510x00000012,0x00001127,0x00001116,0x00001039,
17520x00001125,0x00001124,0x000400a8,0x00000012,
17530x0000103f,0x00001127,0x000200f9,0x00001040,
17540x000200f8,0x00001040,0x000700f5,0x00000012,
17550x00001041,0x000010fb,0x000010fa,0x0000103f,
17560x00001126,0x000200f9,0x00001042,0x000200f8,
17570x00001042,0x000700f5,0x00000012,0x00001d5b,
17580x0000011e,0x0000102e,0x00001041,0x00001040,
17590x000200f9,0x00000dbe,0x000200f8,0x00000dbe,
17600x000700f5,0x00000012,0x00000dbf,0x00000dab,
17610x00000da8,0x00001d5b,0x00001042,0x000300f7,
17620x00000dc1,0x00000000,0x000400fa,0x00000dbf,
17630x00000dc0,0x00000dc1,0x000200f8,0x00000dc0,
17640x000200f9,0x00000e39,0x000200f8,0x00000dc1,
17650x000500c6,0x00000006,0x0000112e,0x000000cb,
17660x00000d24,0x00050084,0x00000006,0x0000112f,
17670x0000112e,0x000000d0,0x000500c6,0x00000006,
17680x00001133,0x0000112f,0x00000d26,0x00050084,
17690x00000006,0x00001134,0x00001133,0x000000d0,
17700x000500c6,0x00000006,0x00001138,0x00001134,
17710x00000d3c,0x00050084,0x00000006,0x00001139,
17720x00001138,0x000000d0,0x000500c6,0x00000006,
17730x0000113d,0x00001139,0x000004b6,0x00050084,
17740x00000006,0x0000113e,0x0000113d,0x000000d0,
17750x000500c2,0x00000006,0x00001140,0x0000113e,
17760x000000e4,0x000500c6,0x00000006,0x00001142,
17770x0000113e,0x00001140,0x00050084,0x00000006,
17780x00001144,0x00001142,0x000000e8,0x000500c2,
17790x00000006,0x00001146,0x00001144,0x000000ec,
17800x000500c6,0x00000006,0x00001148,0x00001144,
17810x00001146,0x00050084,0x00000006,0x0000114a,
17820x00001148,0x000000f0,0x000500c2,0x00000006,
17830x0000114c,0x0000114a,0x000000e4,0x000500c6,
17840x00000006,0x0000114e,0x0000114a,0x0000114c,
17850x000200f9,0x00000dc4,0x000200f8,0x00000dc4,
17860x000700f5,0x00000006,0x00001d6c,0x00000058,
17870x00000dc1,0x00000e22,0x00000e20,0x000500b0,
17880x00000012,0x00000dc7,0x00001d6c,0x0000034a,
17890x000400f6,0x00000e23,0x00000e20,0x00000000,
17900x000400fa,0x00000dc7,0x00000dc8,0x00000e23,
17910x000200f8,0x00000dc8,0x00050080,0x00000006,
17920x00000dcb,0x0000114e,0x00001d6c,0x00050041,
17930x00000182,0x00000dcc,0x00000180,0x000000ec,
17940x0004003d,0x00000006,0x00000dcd,0x00000dcc,
17950x000500c7,0x00000006,0x00000dce,0x00000dcb,
17960x00000dcd,0x00050084,0x00000006,0x00000dcf,
17970x000002ab,0x00000dce,0x00050080,0x00000006,
17980x00000dd1,0x00000dcf,0x00000357,0x00050041,
17990x0000020a,0x00000dd2,0x00000180,0x00000355,
18000x0004003d,0x00000007,0x00000dd3,0x00000dd2,
18010x00050051,0x00000006,0x0000115f,0x00000dd3,
18020x00000000,0x00050084,0x00000006,0x00001161,
18030x00000dd1,0x0000009e,0x00050095,0x0000005e,
18040x00001162,0x0000115f,0x00001161,0x00050051,
18050x00000006,0x00001163,0x00001162,0x00000001,
18060x00050051,0x00000006,0x00001164,0x00001162,
18070x00000000,0x00050051,0x00000006,0x00001167,
18080x00000dd3,0x00000001,0x00050080,0x00000006,
18090x00001169,0x00001167,0x00001163,0x00050050,
18100x00000007,0x0000116a,0x00001164,0x00001169,
18110x0004007c,0x000000b1,0x00001157,0x0000116a,
18120x00060041,0x000000b7,0x00001158,0x00001157,
18130x000000b6,0x000000b6,0x0006003d,0x00000006,
18140x00001159,0x00001158,0x00000002,0x00000004,
18150x000500c2,0x00000006,0x00000dd5,0x00001159,
18160x000000e4,0x000500c7,0x00000006,0x00000dd7,
18170x00000dd5,0x00000063,0x000500aa,0x00000012,
18180x00000dd8,0x00000dd7,0x00000058,0x000300f7,
18190x00000dda,0x00000000,0x000400fa,0x00000dd8,
18200x00000dd9,0x00000dda,0x000200f8,0x00000dd9,
18210x000200f9,0x00000e20,0x000200f8,0x00000dda,
18220x00050084,0x00000006,0x0000117c,0x00000dce,
18230x0000218f,0x00050095,0x0000005e,0x0000117d,
18240x0000115f,0x0000117c,0x00050051,0x00000006,
18250x0000117e,0x0000117d,0x00000001,0x00050051,
18260x00000006,0x0000117f,0x0000117d,0x00000000,
18270x00050080,0x00000006,0x00001184,0x00001167,
18280x0000117e,0x00050050,0x00000007,0x00001185,
18290x0000117f,0x00001184,0x0004007c,0x000000b1,
18300x00001172,0x00001185,0x00060041,0x000000b7,
18310x00001173,0x00001172,0x000000b6,0x000000b6,
18320x0006003d,0x00000006,0x00001174,0x00001173,
18330x00000002,0x00000004,0x000500ab,0x00000012,
18340x00000de1,0x00001174,0x00000d24,0x000400a8,
18350x00000012,0x00000de2,0x00000de1,0x000300f7,
18360x00000dec,0x00000000,0x000400fa,0x00000de2,
18370x00000de3,0x00000dec,0x000200f8,0x00000de3,
18380x00050080,0x00000006,0x00000de5,0x00000dcf,
18390x00000063,0x00050084,0x00000006,0x00001197,
18400x00000de5,0x0000009e,0x00050095,0x0000005e,
18410x00001198,0x0000115f,0x00001197,0x00050051,
18420x00000006,0x00001199,0x00001198,0x00000001,
18430x00050051,0x00000006,0x0000119a,0x00001198,
18440x00000000,0x00050080,0x00000006,0x0000119f,
18450x00001167,0x00001199,0x00050050,0x00000007,
18460x000011a0,0x0000119a,0x0000119f,0x0004007c,
18470x000000b1,0x0000118d,0x000011a0,0x00060041,
18480x000000b7,0x0000118e,0x0000118d,0x000000b6,
18490x000000b6,0x0006003d,0x00000006,0x0000118f,
18500x0000118e,0x00000002,0x00000004,0x000500ab,
18510x00000012,0x00000deb,0x0000118f,0x00000d26,
18520x000200f9,0x00000dec,0x000200f8,0x00000dec,
18530x000700f5,0x00000012,0x00000ded,0x00000de1,
18540x00000dda,0x00000deb,0x00000de3,0x000400a8,
18550x00000012,0x00000dee,0x00000ded,0x000300f7,
18560x00000df8,0x00000000,0x000400fa,0x00000dee,
18570x00000def,0x00000df8,0x000200f8,0x00000def,
18580x00050080,0x00000006,0x00000df1,0x00000dcf,
18590x000000d8,0x00050084,0x00000006,0x000011b2,
18600x00000df1,0x0000009e,0x00050095,0x0000005e,
18610x000011b3,0x0000115f,0x000011b2,0x00050051,
18620x00000006,0x000011b4,0x000011b3,0x00000001,
18630x00050051,0x00000006,0x000011b5,0x000011b3,
18640x00000000,0x00050080,0x00000006,0x000011ba,
18650x00001167,0x000011b4,0x00050050,0x00000007,
18660x000011bb,0x000011b5,0x000011ba,0x0004007c,
18670x000000b1,0x000011a8,0x000011bb,0x00060041,
18680x000000b7,0x000011a9,0x000011a8,0x000000b6,
18690x000000b6,0x0006003d,0x00000006,0x000011aa,
18700x000011a9,0x00000002,0x00000004,0x000500ab,
18710x00000012,0x00000df7,0x000011aa,0x00000d3c,
18720x000200f9,0x00000df8,0x000200f8,0x00000df8,
18730x000700f5,0x00000012,0x00000df9,0x00000ded,
18740x00000dec,0x00000df7,0x00000def,0x000400a8,
18750x00000012,0x00000dfa,0x00000df9,0x000300f7,
18760x00000e04,0x00000000,0x000400fa,0x00000dfa,
18770x00000dfb,0x00000e04,0x000200f8,0x00000dfb,
18780x00050080,0x00000006,0x00000dfd,0x00000dcf,
18790x000000de,0x00050084,0x00000006,0x000011cd,
18800x00000dfd,0x0000009e,0x00050095,0x0000005e,
18810x000011ce,0x0000115f,0x000011cd,0x00050051,
18820x00000006,0x000011cf,0x000011ce,0x00000001,
18830x00050051,0x00000006,0x000011d0,0x000011ce,
18840x00000000,0x00050080,0x00000006,0x000011d5,
18850x00001167,0x000011cf,0x00050050,0x00000007,
18860x000011d6,0x000011d0,0x000011d5,0x0004007c,
18870x000000b1,0x000011c3,0x000011d6,0x00060041,
18880x000000b7,0x000011c4,0x000011c3,0x000000b6,
18890x000000b6,0x0006003d,0x00000006,0x000011c5,
18900x000011c4,0x00000002,0x00000004,0x000500ab,
18910x00000012,0x00000e03,0x000011c5,0x000004b6,
18920x000200f9,0x00000e04,0x000200f8,0x00000e04,
18930x000700f5,0x00000012,0x00000e05,0x00000df9,
18940x00000df8,0x00000e03,0x00000dfb,0x000300f7,
18950x00000e07,0x00000000,0x000400fa,0x00000e05,
18960x00000e06,0x00000e07,0x000200f8,0x00000e06,
18970x000200f9,0x00000e20,0x000200f8,0x00000e07,
18980x000500c7,0x00000006,0x00000e09,0x00000dd5,
18990x000000d8,0x000500ab,0x00000012,0x00000e0a,
19000x00000e09,0x00000058,0x000300f7,0x00000e1f,
19010x00000000,0x000400fa,0x00000e0a,0x00000e0b,
19020x00000e0f,0x000200f8,0x00000e0f,0x00050080,
19030x00000006,0x00000e11,0x00000dcf,0x0000009e,
19040x00050084,0x00000006,0x000011ec,0x00000e11,
19050x0000009e,0x00050095,0x0000005e,0x000011ed,
19060x0000115f,0x000011ec,0x00050051,0x00000006,
19070x000011ee,0x000011ed,0x00000001,0x00050051,
19080x00000006,0x000011ef,0x000011ed,0x00000000,
19090x00050080,0x00000006,0x000011f4,0x00001167,
19100x000011ee,0x00050050,0x00000007,0x000011f5,
19110x000011ef,0x000011f4,0x0004007c,0x000000b1,
19120x000011e2,0x000011f5,0x00060041,0x000000b7,
19130x000011e3,0x000011e2,0x000000b6,0x000000b6,
19140x0006003d,0x00000006,0x000011e4,0x000011e3,
19150x00000002,0x00000004,0x0006003d,0x00000006,
19160x000011ff,0x00001158,0x00000002,0x00000004,
19170x00060052,0x00000027,0x00001be0,0x000011e4,
19180x0000219c,0x00000000,0x000500c7,0x00000006,
19190x00001217,0x00000d26,0x00000191,0x000500c7,
19200x00000006,0x0000121a,0x000011ff,0x0000017b,
19210x000500c5,0x00000006,0x0000121b,0x00001217,
19220x0000121a,0x00060052,0x00000027,0x00001be4,
19230x0000121b,0x00001be0,0x00000001,0x000200f9,
19240x00000e1f,0x000200f8,0x00000e0b,0x00060052,
19250x00000027,0x00001bd5,0x00000058,0x0000219c,
19260x00000000,0x00060052,0x00000027,0x00001bd7,
19270x00000058,0x00001bd5,0x00000001,0x00060052,
19280x00000027,0x00001bd9,0x00000058,0x00001bd7,
19290x00000002,0x000200f9,0x00000e1f,0x000200f8,
19300x00000e1f,0x000700f5,0x00000027,0x00001d86,
19310x00001bd9,0x00000e0b,0x00001be4,0x00000e0f,
19320x000200f9,0x00000e23,0x000200f8,0x00000e20,
19330x00050080,0x00000006,0x00000e22,0x00001d6c,
19340x000003bc,0x000200f9,0x00000dc4,0x000200f8,
19350x00000e23,0x000700f5,0x00000006,0x00001d91,
19360x00001da1,0x00000dc4,0x00000063,0x00000e1f,
19370x000700f5,0x00000027,0x00001d85,0x0000219c,
19380x00000dc4,0x00001d86,0x00000e1f,0x000700f5,
19390x00000012,0x00001d71,0x0000011e,0x00000dc4,
19400x00000217,0x00000e1f,0x000300f7,0x00000e25,
19410x00000000,0x000400fa,0x00001d71,0x00000e39,
19420x00000e25,0x000200f8,0x00000e25,0x00060052,
19430x00000027,0x00001be6,0x00000058,0x00001d85,
19440x00000000,0x00060052,0x00000027,0x00001be8,
19450x00000058,0x00001be6,0x00000001,0x00060052,
19460x00000027,0x00001bea,0x00000058,0x00001be8,
19470x00000002,0x000500c7,0x00000006,0x00000e2b,
19480x00000438,0x000000d8,0x000500ab,0x00000012,
19490x00000e2c,0x00000e2b,0x00000058,0x000300f7,
19500x00000e35,0x00000000,0x000400fa,0x00000e2c,
19510x00000e2d,0x00000e35,0x000200f8,0x00000e2d,
19520x00050041,0x0000020a,0x00000e2e,0x00000180,
19530x000003c8,0x0004003d,0x00000007,0x00000e2f,
19540x00000e2e,0x00050041,0x00000182,0x00000e30,
19550x00000180,0x000003c9,0x0004003d,0x00000006,
19560x00000e31,0x00000e30,0x000300f7,0x00001265,
19570x00000000,0x000300fb,0x00000058,0x00001235,
19580x000200f8,0x00001235,0x000200f9,0x00001237,
19590x000200f8,0x00001237,0x000700f5,0x00000006,
19600x00001d88,0x00000e31,0x00001235,0x0000219f,
19610x0000124d,0x000700f5,0x00000006,0x00001d87,
19620x00000058,0x00001235,0x00002165,0x0000124d,
19630x000500b0,0x00000012,0x0000123b,0x00001d87,
19640x00001d88,0x000400f6,0x0000124e,0x0000124d,
19650x00000000,0x000400fa,0x0000123b,0x0000123c,
19660x0000124e,0x000200f8,0x0000123c,0x00050080,
19670x00000006,0x0000123f,0x00001d87,0x00001d88,
19680x000500c2,0x00000006,0x00001240,0x0000123f,
19690x00000063,0x00050084,0x00000006,0x00001242,
19700x0000009e,0x00001240,0x00050051,0x00000006,
19710x00001284,0x00000e2f,0x00000000,0x00050084,
19720x00000006,0x00001286,0x00001240,0x0000034a,
19730x00050095,0x0000005e,0x00001287,0x00001284,
19740x00001286,0x00050051,0x00000006,0x00001288,
19750x00001287,0x00000001,0x00050051,0x00000006,
19760x00001289,0x00001287,0x00000000,0x00050051,
19770x00000006,0x0000128c,0x00000e2f,0x00000001,
19780x00050080,0x00000006,0x0000128e,0x0000128c,
19790x00001288,0x00050050,0x00000007,0x0000128f,
19800x00001289,0x0000128e,0x0004007c,0x000000b1,
19810x0000127c,0x0000128f,0x00060041,0x000000b7,
19820x0000127d,0x0000127c,0x000000b6,0x000000b6,
19830x0006003d,0x00000006,0x0000127e,0x0000127d,
19840x00000002,0x00000004,0x00050080,0x00000006,
19850x00001271,0x00001242,0x00000063,0x00050084,
19860x00000006,0x000012a1,0x00001271,0x0000009e,
19870x00050095,0x0000005e,0x000012a2,0x00001284,
19880x000012a1,0x00050051,0x00000006,0x000012a3,
19890x000012a2,0x00000001,0x00050051,0x00000006,
19900x000012a4,0x000012a2,0x00000000,0x00050080,
19910x00000006,0x000012a9,0x0000128c,0x000012a3,
19920x00050050,0x00000007,0x000012aa,0x000012a4,
19930x000012a9,0x0004007c,0x000000b1,0x00001297,
19940x000012aa,0x00060041,0x000000b7,0x00001298,
19950x00001297,0x000000b6,0x000000b6,0x0006003d,
19960x00000006,0x00001299,0x00001298,0x00000002,
19970x00000004,0x000500b0,0x00000012,0x000012b1,
19980x00000d27,0x00001299,0x000400a8,0x00000012,
19990x000012b2,0x000012b1,0x000300f7,0x000012c1,
20000x00000000,0x000400fa,0x000012b2,0x000012b3,
20010x000012c1,0x000200f8,0x000012b3,0x000500aa,
20020x00000012,0x000012b8,0x00000d27,0x00001299,
20030x000300f7,0x000012bf,0x00000000,0x000400fa,
20040x000012b8,0x000012b9,0x000012bf,0x000200f8,
20050x000012b9,0x000500b0,0x00000012,0x000012be,
20060x00000d24,0x0000127e,0x000200f9,0x000012bf,
20070x000200f8,0x000012bf,0x000700f5,0x00000012,
20080x000012c0,0x000012b8,0x000012b3,0x000012be,
20090x000012b9,0x000200f9,0x000012c1,0x000200f8,
20100x000012c1,0x000700f5,0x00000012,0x000012c2,
20110x000012b1,0x0000123c,0x000012c0,0x000012bf,
20120x000300f7,0x0000124c,0x00000000,0x000400fa,
20130x000012c2,0x00001247,0x00001249,0x000200f8,
20140x00001249,0x00050080,0x00000006,0x0000124b,
20150x00001240,0x00000063,0x000200f9,0x0000124c,
20160x000200f8,0x00001247,0x000200f9,0x0000124c,
20170x000200f8,0x0000124c,0x000700f5,0x00000006,
20180x00002165,0x00001d87,0x00001247,0x0000124b,
20190x00001249,0x000600a9,0x00000006,0x0000219f,
20200x000012c2,0x00001240,0x00001d88,0x000200f9,
20210x0000124d,0x000200f8,0x0000124d,0x000200f9,
20220x00001237,0x000200f8,0x0000124e,0x000500aa,
20230x00000012,0x00001250,0x00001d87,0x00000058,
20240x000300f7,0x00001252,0x00000000,0x000400fa,
20250x00001250,0x00001251,0x00001252,0x000200f8,
20260x00001251,0x000200f9,0x00001265,0x000200f8,
20270x00001252,0x00050082,0x00000006,0x00001254,
20280x00001d87,0x00000063,0x00050084,0x00000006,
20290x00001255,0x0000009e,0x00001254,0x00050080,
20300x00000006,0x00001256,0x00001255,0x000000d8,
20310x00050051,0x00000006,0x000012e0,0x00000e2f,
20320x00000000,0x00050084,0x00000006,0x000012e2,
20330x00001256,0x0000009e,0x00050095,0x0000005e,
20340x000012e3,0x000012e0,0x000012e2,0x00050051,
20350x00000006,0x000012e4,0x000012e3,0x00000001,
20360x00050051,0x00000006,0x000012e5,0x000012e3,
20370x00000000,0x00050051,0x00000006,0x000012e8,
20380x00000e2f,0x00000001,0x00050080,0x00000006,
20390x000012ea,0x000012e8,0x000012e4,0x00050050,
20400x00000007,0x000012eb,0x000012e5,0x000012ea,
20410x0004007c,0x000000b1,0x000012d8,0x000012eb,
20420x00060041,0x000000b7,0x000012d9,0x000012d8,
20430x000000b6,0x000000b6,0x0006003d,0x00000006,
20440x000012da,0x000012d9,0x00000002,0x00000004,
20450x00050080,0x00000006,0x000012cd,0x00001255,
20460x000000de,0x00050084,0x00000006,0x000012fd,
20470x000012cd,0x0000009e,0x00050095,0x0000005e,
20480x000012fe,0x000012e0,0x000012fd,0x00050051,
20490x00000006,0x000012ff,0x000012fe,0x00000001,
20500x00050051,0x00000006,0x00001300,0x000012fe,
20510x00000000,0x00050080,0x00000006,0x00001305,
20520x000012e8,0x000012ff,0x00050050,0x00000007,
20530x00001306,0x00001300,0x00001305,0x0004007c,
20540x000000b1,0x000012f3,0x00001306,0x00060041,
20550x000000b7,0x000012f4,0x000012f3,0x000000b6,
20560x000000b6,0x0006003d,0x00000006,0x000012f5,
20570x000012f4,0x00000002,0x00000004,0x000500b0,
20580x00000012,0x0000130d,0x00000d27,0x000012f5,
20590x000400a8,0x00000012,0x0000130e,0x0000130d,
20600x000300f7,0x0000131d,0x00000000,0x000400fa,
20610x0000130e,0x0000130f,0x0000131d,0x000200f8,
20620x0000130f,0x000500aa,0x00000012,0x00001314,
20630x00000d27,0x000012f5,0x000300f7,0x0000131b,
20640x00000000,0x000400fa,0x00001314,0x00001315,
20650x0000131b,0x000200f8,0x00001315,0x000500b0,
20660x00000012,0x0000131a,0x00000d24,0x000012da,
20670x000200f9,0x0000131b,0x000200f8,0x0000131b,
20680x000700f5,0x00000012,0x0000131c,0x00001314,
20690x0000130f,0x0000131a,0x00001315,0x000200f9,
20700x0000131d,0x000200f8,0x0000131d,0x000700f5,
20710x00000012,0x0000131e,0x0000130d,0x00001252,
20720x0000131c,0x0000131b,0x000300f7,0x00001263,
20730x00000000,0x000400fa,0x0000131e,0x0000125c,
20740x00001263,0x000200f8,0x0000125c,0x00050096,
20750x0000005e,0x00001327,0x000012da,0x00000d24,
20760x00050051,0x00000006,0x00001328,0x00001327,
20770x00000001,0x00050051,0x00000006,0x00001329,
20780x00001327,0x00000000,0x00050082,0x00000006,
20790x0000132f,0x000012f5,0x00000d27,0x00050082,
20800x00000006,0x00001331,0x0000132f,0x00001328,
20810x000500aa,0x00000012,0x00001340,0x00001331,
20820x00000058,0x000300f7,0x00001347,0x00000000,
20830x000400fa,0x00001340,0x00001341,0x00001347,
20840x000200f8,0x00001341,0x000500b0,0x00000012,
20850x00001346,0x00001329,0x00000063,0x000200f9,
20860x00001347,0x000200f8,0x00001347,0x000700f5,
20870x00000012,0x00001348,0x00001340,0x0000125c,
20880x00001346,0x00001341,0x000400a8,0x00000012,
20890x00001262,0x00001348,0x000200f9,0x00001263,
20900x000200f8,0x00001263,0x000700f5,0x00000012,
20910x00001264,0x0000131e,0x0000131d,0x00001262,
20920x00001347,0x000200f9,0x00001265,0x000200f8,
20930x00001265,0x000700f5,0x00000012,0x00001d89,
20940x0000011e,0x00001251,0x00001264,0x00001263,
20950x000400a8,0x00000012,0x00000e34,0x00001d89,
20960x000200f9,0x00000e35,0x000200f8,0x00000e35,
20970x000700f5,0x00000012,0x00000e36,0x00000e2c,
20980x00000e25,0x00000e34,0x00001265,0x000300f7,
20990x00000e38,0x00000000,0x000400fa,0x00000e36,
21000x00000e37,0x00000e38,0x000200f8,0x00000e37,
21010x000200f9,0x00000e39,0x000200f8,0x00000e38,
21020x000200f9,0x00000e39,0x000200f8,0x00000e39,
21030x001100f5,0x00000027,0x00001df6,0x0000219c,
21040x00000d21,0x00001b5a,0x00000d32,0x00001df7,
21050x00000d94,0x0000219c,0x00000dc0,0x00001d85,
21060x00000e23,0x00001bea,0x00000e37,0x00001bea,
21070x00000e38,0x001100f5,0x00000006,0x00001d90,
21080x00000058,0x00000d21,0x00000063,0x00000d32,
21090x00000063,0x00000d94,0x00000063,0x00000dc0,
21100x00001d91,0x00000e23,0x00000063,0x00000e37,
21110x000000d8,0x00000e38,0x000500aa,0x00000012,
21120x000004bf,0x00001d90,0x000000d8,0x000300f7,
21130x000004c1,0x00000000,0x000400fa,0x000004bf,
21140x000004c0,0x000004c1,0x000200f8,0x000004c0,
21150x00050041,0x00000182,0x000004c3,0x00000180,
21160x000004c2,0x0004003d,0x00000006,0x000004c4,
21170x000004c3,0x000500c4,0x00000006,0x000004c6,
21180x000004c4,0x000004c5,0x000500c4,0x00000006,
21190x000004c8,0x0000044f,0x00000063,0x000500c5,
21200x00000006,0x000004c9,0x000004c6,0x000004c8,
21210x00050041,0x0000020a,0x0000134e,0x00000180,
21220x000003dd,0x0004003d,0x00000007,0x0000134f,
21230x0000134e,0x0004007c,0x000000b1,0x00001350,
21240x0000134f,0x00060041,0x000000b7,0x00001352,
21250x00001350,0x000000b6,0x000000b6,0x000700ea,
21260x00000006,0x00001353,0x00001352,0x00000063,
21270x00000058,0x00000063,0x00060041,0x000000b7,
21280x00001356,0x00001350,0x000000b6,0x000003bc,
21290x0006003d,0x00000006,0x00001357,0x00001356,
21300x00000002,0x00000004,0x000500b0,0x00000012,
21310x00001358,0x00001353,0x00001357,0x000300f7,
21320x00001362,0x00000000,0x000400fa,0x00001358,
21330x00001359,0x0000135f,0x000200f8,0x0000135f,
21340x00060041,0x000000b7,0x00001361,0x00001350,
21350x000000b6,0x000003f3,0x0005003e,0x00001361,
21360x00000063,0x00000002,0x00000004,0x000200f9,
21370x00001362,0x000200f8,0x00001359,0x00050080,
21380x00000006,0x0000135c,0x0000009e,0x00001353,
21390x00060041,0x000000b7,0x0000135e,0x00001350,
21400x000000b6,0x0000135c,0x0005003e,0x0000135e,
21410x000004c9,0x00000002,0x00000004,0x000200f9,
21420x00001362,0x000200f8,0x00001362,0x000200f9,
21430x000004c1,0x000200f8,0x000004c1,0x000300f7,
21440x000014ce,0x00000000,0x000300fb,0x00000058,
21450x000013aa,0x000200f8,0x000013aa,0x00050051,
21460x00000006,0x000013ac,0x00000498,0x00000003,
21470x000500c2,0x00000006,0x000013ad,0x000013ac,
21480x0000019b,0x000500ab,0x00000012,0x000013ae,
21490x000013ad,0x00000058,0x000400a8,0x00000012,
21500x000013af,0x000013ae,0x000300f7,0x000013b4,
21510x00000000,0x000400fa,0x000013af,0x000013b0,
21520x000013b4,0x000200f8,0x000013b0,0x00050051,
21530x00000006,0x000013b2,0x00000498,0x00000002,
21540x000500aa,0x00000012,0x000013b3,0x000013b2,
21550x00000058,0x000200f9,0x000013b4,0x000200f8,
21560x000013b4,0x000700f5,0x00000012,0x000013b5,
21570x000013ae,0x000013aa,0x000013b3,0x000013b0,
21580x000300f7,0x000013b7,0x00000000,0x000400fa,
21590x000013b5,0x000013b6,0x000013b7,0x000200f8,
21600x000013b6,0x000200f9,0x000014ce,0x000200f8,
21610x000013b7,0x00050051,0x00000006,0x000013b9,
21620x00000498,0x00000000,0x00050051,0x00000006,
21630x000013bb,0x00000498,0x00000001,0x000500c7,
21640x00000006,0x000013bc,0x000013bb,0x0000017b,
21650x00050050,0x00000007,0x000013bd,0x000013b9,
21660x000013bc,0x000500aa,0x00000012,0x000013c0,
21670x000013b9,0x00000058,0x000300f7,0x000013c5,
21680x00000000,0x000400fa,0x000013c0,0x000013c1,
21690x000013c5,0x000200f8,0x000013c1,0x000500aa,
21700x00000012,0x000013c4,0x000013bc,0x00000058,
21710x000200f9,0x000013c5,0x000200f8,0x000013c5,
21720x000700f5,0x00000012,0x000013c6,0x000013c0,
21730x000013b7,0x000013c4,0x000013c1,0x000300f7,
21740x000013cb,0x00000000,0x000400fa,0x000013c6,
21750x000013c7,0x000013cb,0x000200f8,0x000013c7,
21760x00060052,0x00000027,0x00001c10,0x00000058,
21770x00000498,0x00000000,0x00060052,0x00000027,
21780x00001c12,0x00000058,0x00001c10,0x00000001,
21790x00060052,0x00000027,0x00001c14,0x00000058,
21800x00001c12,0x00000002,0x000200f9,0x000014ce,
21810x000200f8,0x000013cb,0x000500c2,0x00000006,
21820x000013ce,0x000013bb,0x000000e4,0x000500c7,
21830x00000006,0x000013cf,0x000013ce,0x000001ad,
21840x00050051,0x00000006,0x000013d1,0x00000498,
21850x00000002,0x000500aa,0x00000012,0x000013d3,
21860x000013cf,0x00000058,0x000600a9,0x00000006,
21870x000013d5,0x000013d3,0x00000063,0x000013cf,
21880x00050097,0x0000005e,0x000013d8,0x000013d1,
21890x000013d5,0x00050051,0x00000006,0x000013d9,
21900x000013d8,0x00000000,0x00050051,0x00000006,
21910x000013da,0x000013d8,0x00000001,0x00050050,
21920x00000007,0x00002190,0x000013d9,0x000013da,
21930x00050041,0x00000182,0x000013db,0x00000180,
21940x0000029a,0x0004003d,0x00000006,0x000013dc,
21950x000013db,0x000200f9,0x000013dd,0x000200f8,
21960x000013dd,0x000700f5,0x00000006,0x00001eae,
21970x000013dc,0x000013cb,0x000021a0,0x000013f4,
21980x000700f5,0x00000006,0x00001ead,0x00000058,
21990x000013cb,0x0000216b,0x000013f4,0x000500b0,
22000x00000012,0x000013e1,0x00001ead,0x00001eae,
22010x000400f6,0x000013f5,0x000013f4,0x00000000,
22020x000400fa,0x000013e1,0x000013e2,0x000013f5,
22030x000200f8,0x000013e2,0x00050080,0x00000006,
22040x000013e5,0x00001ead,0x00001eae,0x000500c2,
22050x00000006,0x000013e6,0x000013e5,0x00000063,
22060x00050084,0x00000006,0x000013e8,0x000002ab,
22070x000013e6,0x00050041,0x0000020a,0x000013e9,
22080x00000180,0x000002aa,0x0004003d,0x00000007,
22090x000013ea,0x000013e9,0x00050051,0x00000006,
22100x000014f1,0x000013ea,0x00000000,0x00050084,
22110x00000006,0x000014f3,0x000013e6,0x0000218f,
22120x00050095,0x0000005e,0x000014f4,0x000014f1,
22130x000014f3,0x00050051,0x00000006,0x000014f5,
22140x000014f4,0x00000001,0x00050051,0x00000006,
22150x000014f6,0x000014f4,0x00000000,0x00050051,
22160x00000006,0x000014f9,0x000013ea,0x00000001,
22170x00050080,0x00000006,0x000014fb,0x000014f9,
22180x000014f5,0x00050050,0x00000007,0x000014fc,
22190x000014f6,0x000014fb,0x0004007c,0x000000b1,
22200x000014e9,0x000014fc,0x00060041,0x000000b7,
22210x000014ea,0x000014e9,0x000000b6,0x000000b6,
22220x0006003d,0x00000006,0x000014eb,0x000014ea,
22230x00000002,0x00000004,0x00050080,0x00000006,
22240x000014de,0x000013e8,0x00000063,0x00050084,
22250x00000006,0x0000150e,0x000014de,0x0000009e,
22260x00050095,0x0000005e,0x0000150f,0x000014f1,
22270x0000150e,0x00050051,0x00000006,0x00001510,
22280x0000150f,0x00000001,0x00050051,0x00000006,
22290x00001511,0x0000150f,0x00000000,0x00050080,
22300x00000006,0x00001516,0x000014f9,0x00001510,
22310x00050050,0x00000007,0x00001517,0x00001511,
22320x00001516,0x0004007c,0x000000b1,0x00001504,
22330x00001517,0x00060041,0x000000b7,0x00001505,
22340x00001504,0x000000b6,0x000000b6,0x0006003d,
22350x00000006,0x00001506,0x00001505,0x00000002,
22360x00000004,0x000500b0,0x00000012,0x0000151e,
22370x000013bc,0x00001506,0x000400a8,0x00000012,
22380x0000151f,0x0000151e,0x000300f7,0x0000152e,
22390x00000000,0x000400fa,0x0000151f,0x00001520,
22400x0000152e,0x000200f8,0x00001520,0x000500aa,
22410x00000012,0x00001525,0x000013bc,0x00001506,
22420x000300f7,0x0000152c,0x00000000,0x000400fa,
22430x00001525,0x00001526,0x0000152c,0x000200f8,
22440x00001526,0x000500b0,0x00000012,0x0000152b,
22450x000013b9,0x000014eb,0x000200f9,0x0000152c,
22460x000200f8,0x0000152c,0x000700f5,0x00000012,
22470x0000152d,0x00001525,0x00001520,0x0000152b,
22480x00001526,0x000200f9,0x0000152e,0x000200f8,
22490x0000152e,0x000700f5,0x00000012,0x0000152f,
22500x0000151e,0x000013e2,0x0000152d,0x0000152c,
22510x000300f7,0x000013f3,0x00000000,0x000400fa,
22520x0000152f,0x000013ee,0x000013f0,0x000200f8,
22530x000013f0,0x00050080,0x00000006,0x000013f2,
22540x000013e6,0x00000063,0x000200f9,0x000013f3,
22550x000200f8,0x000013ee,0x000200f9,0x000013f3,
22560x000200f8,0x000013f3,0x000700f5,0x00000006,
22570x0000216b,0x00001ead,0x000013ee,0x000013f2,
22580x000013f0,0x000600a9,0x00000006,0x000021a0,
22590x0000152f,0x000013e6,0x00001eae,0x000200f9,
22600x000013f4,0x000200f8,0x000013f4,0x000200f9,
22610x000013dd,0x000200f8,0x000013f5,0x000500ac,
22620x00000012,0x000013f7,0x00001ead,0x00000058,
22630x000300f7,0x0000142b,0x00000000,0x000400fa,
22640x000013f7,0x000013f8,0x0000142b,0x000200f8,
22650x000013f8,0x00050082,0x00000006,0x000013fa,
22660x00001ead,0x00000063,0x00050084,0x00000006,
22670x000013fb,0x000002ab,0x000013fa,0x00050080,
22680x00000006,0x000013fd,0x000013fb,0x000000d8,
22690x00050041,0x0000020a,0x000013fe,0x00000180,
22700x000002aa,0x0004003d,0x00000007,0x000013ff,
22710x000013fe,0x00050051,0x00000006,0x0000154d,
22720x000013ff,0x00000000,0x00050084,0x00000006,
22730x0000154f,0x000013fd,0x0000009e,0x00050095,
22740x0000005e,0x00001550,0x0000154d,0x0000154f,
22750x00050051,0x00000006,0x00001551,0x00001550,
22760x00000001,0x00050051,0x00000006,0x00001552,
22770x00001550,0x00000000,0x00050051,0x00000006,
22780x00001555,0x000013ff,0x00000001,0x00050080,
22790x00000006,0x00001557,0x00001555,0x00001551,
22800x00050050,0x00000007,0x00001558,0x00001552,
22810x00001557,0x0004007c,0x000000b1,0x00001545,
22820x00001558,0x00060041,0x000000b7,0x00001546,
22830x00001545,0x000000b6,0x000000b6,0x0006003d,
22840x00000006,0x00001547,0x00001546,0x00000002,
22850x00000004,0x00050080,0x00000006,0x0000153a,
22860x000013fb,0x000000de,0x00050084,0x00000006,
22870x0000156a,0x0000153a,0x0000009e,0x00050095,
22880x0000005e,0x0000156b,0x0000154d,0x0000156a,
22890x00050051,0x00000006,0x0000156c,0x0000156b,
22900x00000001,0x00050051,0x00000006,0x0000156d,
22910x0000156b,0x00000000,0x00050080,0x00000006,
22920x00001572,0x00001555,0x0000156c,0x00050050,
22930x00000007,0x00001573,0x0000156d,0x00001572,
22940x0004007c,0x000000b1,0x00001560,0x00001573,
22950x00060041,0x000000b7,0x00001561,0x00001560,
22960x000000b6,0x000000b6,0x0006003d,0x00000006,
22970x00001562,0x00001561,0x00000002,0x00000004,
22980x000500b0,0x00000012,0x0000157a,0x000013bc,
22990x00001562,0x000400a8,0x00000012,0x0000157b,
23000x0000157a,0x000300f7,0x0000158a,0x00000000,
23010x000400fa,0x0000157b,0x0000157c,0x0000158a,
23020x000200f8,0x0000157c,0x000500aa,0x00000012,
23030x00001581,0x000013bc,0x00001562,0x000300f7,
23040x00001588,0x00000000,0x000400fa,0x00001581,
23050x00001582,0x00001588,0x000200f8,0x00001582,
23060x000500b0,0x00000012,0x00001587,0x000013b9,
23070x00001547,0x000200f9,0x00001588,0x000200f8,
23080x00001588,0x000700f5,0x00000012,0x00001589,
23090x00001581,0x0000157c,0x00001587,0x00001582,
23100x000200f9,0x0000158a,0x000200f8,0x0000158a,
23110x000700f5,0x00000012,0x0000158b,0x0000157a,
23120x000013f8,0x00001589,0x00001588,0x000300f7,
23130x0000140c,0x00000000,0x000400fa,0x0000158b,
23140x00001404,0x0000140c,0x000200f8,0x00001404,
23150x00050080,0x00000006,0x00001406,0x000013fb,
23160x000002d5,0x00050084,0x00000006,0x0000159d,
23170x00001406,0x0000009e,0x00050095,0x0000005e,
23180x0000159e,0x0000154d,0x0000159d,0x00050051,
23190x00000006,0x0000159f,0x0000159e,0x00000001,
23200x00050051,0x00000006,0x000015a0,0x0000159e,
23210x00000000,0x00050080,0x00000006,0x000015a5,
23220x00001555,0x0000159f,0x00050050,0x00000007,
23230x000015a6,0x000015a0,0x000015a5,0x0004007c,
23240x000000b1,0x00001593,0x000015a6,0x00060041,
23250x000000b7,0x00001594,0x00001593,0x000000b6,
23260x000000b6,0x0006003d,0x00000006,0x00001595,
23270x00001594,0x00000002,0x00000004,0x000500c7,
23280x00000006,0x0000140a,0x00001595,0x00000063,
23290x000500ab,0x00000012,0x0000140b,0x0000140a,
23300x00000058,0x000200f9,0x0000140c,0x000200f8,
23310x0000140c,0x000700f5,0x00000012,0x0000140d,
23320x0000158b,0x0000158a,0x0000140b,0x00001404,
23330x000300f7,0x0000142a,0x00000000,0x000400fa,
23340x0000140d,0x0000140e,0x0000142a,0x000200f8,
23350x0000140e,0x00050096,0x0000005e,0x000015af,
23360x00001547,0x000013b9,0x00050051,0x00000006,
23370x000015b0,0x000015af,0x00000001,0x00050051,
23380x00000006,0x000015b1,0x000015af,0x00000000,
23390x00050082,0x00000006,0x000015b7,0x00001562,
23400x000013bc,0x00050082,0x00000006,0x000015b9,
23410x000015b7,0x000015b0,0x000500b0,0x00000012,
23420x000015c1,0x000015b9,0x000013da,0x000400a8,
23430x00000012,0x000015c2,0x000015c1,0x000300f7,
23440x000015d1,0x00000000,0x000400fa,0x000015c2,
23450x000015c3,0x000015d1,0x000200f8,0x000015c3,
23460x000500aa,0x00000012,0x000015c8,0x000015b9,
23470x000013da,0x000300f7,0x000015cf,0x00000000,
23480x000400fa,0x000015c8,0x000015c9,0x000015cf,
23490x000200f8,0x000015c9,0x000500b0,0x00000012,
23500x000015ce,0x000015b1,0x000013d9,0x000200f9,
23510x000015cf,0x000200f8,0x000015cf,0x000700f5,
23520x00000012,0x000015d0,0x000015c8,0x000015c3,
23530x000015ce,0x000015c9,0x000200f9,0x000015d1,
23540x000200f8,0x000015d1,0x000700f5,0x00000012,
23550x000015d2,0x000015c1,0x0000140e,0x000015d0,
23560x000015cf,0x000300f7,0x00001429,0x00000000,
23570x000400fa,0x000015d2,0x00001414,0x00001418,
23580x000200f8,0x00001418,0x00050084,0x00000006,
23590x000015f6,0x000013fa,0x0000218f,0x00050095,
23600x0000005e,0x000015f7,0x0000154d,0x000015f6,
23610x00050051,0x00000006,0x000015f8,0x000015f7,
23620x00000001,0x00050051,0x00000006,0x000015f9,
23630x000015f7,0x00000000,0x00050080,0x00000006,
23640x000015fe,0x00001555,0x000015f8,0x00050050,
23650x00000007,0x000015ff,0x000015f9,0x000015fe,
23660x0004007c,0x000000b1,0x000015ec,0x000015ff,
23670x00060041,0x000000b7,0x000015ed,0x000015ec,
23680x000000b6,0x000000b6,0x0006003d,0x00000006,
23690x000015ee,0x000015ed,0x00000002,0x00000004,
23700x00050080,0x00000006,0x000015e1,0x000013fb,
23710x00000063,0x00050084,0x00000006,0x00001611,
23720x000015e1,0x0000009e,0x00050095,0x0000005e,
23730x00001612,0x0000154d,0x00001611,0x00050051,
23740x00000006,0x00001613,0x00001612,0x00000001,
23750x00050051,0x00000006,0x00001614,0x00001612,
23760x00000000,0x00050080,0x00000006,0x00001619,
23770x00001555,0x00001613,0x00050050,0x00000007,
23780x0000161a,0x00001614,0x00001619,0x0004007c,
23790x000000b1,0x00001607,0x0000161a,0x00060041,
23800x000000b7,0x00001608,0x00001607,0x000000b6,
23810x000000b6,0x0006003d,0x00000006,0x00001609,
23820x00001608,0x00000002,0x00000004,0x00050080,
23830x00000006,0x0000141e,0x000013fb,0x0000009e,
23840x00050084,0x00000006,0x0000163a,0x0000141e,
23850x0000009e,0x00050095,0x0000005e,0x0000163b,
23860x0000154d,0x0000163a,0x00050051,0x00000006,
23870x0000163c,0x0000163b,0x00000001,0x00050051,
23880x00000006,0x0000163d,0x0000163b,0x00000000,
23890x00050080,0x00000006,0x00001642,0x00001555,
23900x0000163c,0x00050050,0x00000007,0x00001643,
23910x0000163d,0x00001642,0x0004007c,0x000000b1,
23920x00001630,0x00001643,0x00060041,0x000000b7,
23930x00001631,0x00001630,0x000000b6,0x000000b6,
23940x0006003d,0x00000006,0x00001632,0x00001631,
23950x00000002,0x00000004,0x00050080,0x00000006,
23960x00001625,0x000013fb,0x00000357,0x00050084,
23970x00000006,0x00001655,0x00001625,0x0000009e,
23980x00050095,0x0000005e,0x00001656,0x0000154d,
23990x00001655,0x00050051,0x00000006,0x00001657,
24000x00001656,0x00000001,0x00050051,0x00000006,
24010x00001658,0x00001656,0x00000000,0x00050080,
24020x00000006,0x0000165d,0x00001555,0x00001657,
24030x00050050,0x00000007,0x0000165e,0x00001658,
24040x0000165d,0x0004007c,0x000000b1,0x0000164b,
24050x0000165e,0x00060041,0x000000b7,0x0000164c,
24060x0000164b,0x000000b6,0x000000b6,0x0006003d,
24070x00000006,0x0000164d,0x0000164c,0x00000002,
24080x00000004,0x00050096,0x0000005e,0x00001667,
24090x000013b9,0x000015ee,0x00050051,0x00000006,
24100x00001668,0x00001667,0x00000001,0x00050051,
24110x00000006,0x00001669,0x00001667,0x00000000,
24120x00050082,0x00000006,0x0000166f,0x000013bc,
24130x00001609,0x00050082,0x00000006,0x00001671,
24140x0000166f,0x00001668,0x00050095,0x0000005e,
24150x0000167b,0x00001632,0x00001669,0x00050051,
24160x00000006,0x0000167c,0x0000167b,0x00000001,
24170x00050051,0x00000006,0x0000167d,0x0000167b,
24180x00000000,0x00050080,0x00000006,0x00001683,
24190x0000164d,0x00001671,0x00050080,0x00000006,
24200x00001685,0x00001683,0x0000167c,0x00060052,
24210x00000027,0x00001c53,0x0000167d,0x00000498,
24220x00000000,0x000500c7,0x00000006,0x0000168d,
24230x000013bb,0x00000191,0x000500c7,0x00000006,
24240x00001690,0x00001685,0x0000017b,0x000500c5,
24250x00000006,0x00001691,0x0000168d,0x00001690,
24260x00060052,0x00000027,0x00001c57,0x00001691,
24270x00001c53,0x00000001,0x000200f9,0x00001429,
24280x000200f8,0x00001414,0x00060052,0x00000027,
24290x00001c3c,0x00000058,0x00000498,0x00000000,
24300x00060052,0x00000027,0x00001c3e,0x00000058,
24310x00001c3c,0x00000001,0x00060052,0x00000027,
24320x00001c40,0x00000058,0x00001c3e,0x00000002,
24330x000200f9,0x00001429,0x000200f8,0x00001429,
24340x000700f5,0x00000027,0x00001f7f,0x00001c40,
24350x00001414,0x00001c57,0x00001418,0x000200f9,
24360x000014ce,0x000200f8,0x0000142a,0x000200f9,
24370x0000142b,0x000200f8,0x0000142b,0x000500c7,
24380x00000006,0x0000142f,0x00000438,0x00000063,
24390x000500ab,0x00000012,0x00001430,0x0000142f,
24400x00000058,0x000300f7,0x00001436,0x00000000,
24410x000400fa,0x00001430,0x00001431,0x00001436,
24420x000200f8,0x00001431,0x000500c7,0x00000006,
24430x00001434,0x000013bb,0x0000018b,0x000500ab,
24440x00000012,0x00001435,0x00001434,0x00000058,
24450x000200f9,0x00001436,0x000200f8,0x00001436,
24460x000700f5,0x00000012,0x00001437,0x00001430,
24470x0000142b,0x00001435,0x00001431,0x000300f7,
24480x0000143d,0x00000000,0x000400fa,0x00001437,
24490x00001438,0x0000143d,0x000200f8,0x00001438,
24500x000500c5,0x00000006,0x0000143b,0x000013bc,
24510x00000191,0x00060052,0x00000007,0x00001c5b,
24520x0000143b,0x000013bd,0x00000001,0x000200f9,
24530x0000143d,0x000200f8,0x0000143d,0x000700f5,
24540x00000007,0x00001eb1,0x000013bd,0x00001436,
24550x00001c5b,0x00001438,0x00050041,0x00000182,
24560x0000143e,0x00000180,0x000000e4,0x0004003d,
24570x00000006,0x0000143f,0x0000143e,0x000500ab,
24580x00000012,0x00001440,0x0000143f,0x00000058,
24590x000300f7,0x00001453,0x00000000,0x000400fa,
24600x00001440,0x00001441,0x00001453,0x000200f8,
24610x00001441,0x000500aa,0x00000012,0x00001444,
24620x000013d9,0x00000058,0x000300f7,0x00001449,
24630x00000000,0x000400fa,0x00001444,0x00001445,
24640x00001449,0x000200f8,0x00001445,0x000500aa,
24650x00000012,0x00001448,0x000013da,0x00000058,
24660x000200f9,0x00001449,0x000200f8,0x00001449,
24670x000700f5,0x00000012,0x0000144a,0x00001444,
24680x00001441,0x00001448,0x00001445,0x000600a9,
24690x00000007,0x0000144c,0x0000144a,0x00000208,
24700x00002190,0x00050041,0x0000020a,0x0000144d,
24710x00000180,0x00000325,0x0004003d,0x00000007,
24720x0000144e,0x0000144d,0x000300f7,0x000016d7,
24730x00000000,0x000300fb,0x00000058,0x000016a7,
24740x000200f8,0x000016a7,0x000200f9,0x000016a9,
24750x000200f8,0x000016a9,0x000700f5,0x00000006,
24760x00001eb3,0x0000143f,0x000016a7,0x000021a1,
24770x000016bf,0x000700f5,0x00000006,0x00001eb2,
24780x00000058,0x000016a7,0x00002171,0x000016bf,
24790x000500b0,0x00000012,0x000016ad,0x00001eb2,
24800x00001eb3,0x000400f6,0x000016c0,0x000016bf,
24810x00000000,0x000400fa,0x000016ad,0x000016ae,
24820x000016c0,0x000200f8,0x000016ae,0x00050080,
24830x00000006,0x000016b1,0x00001eb2,0x00001eb3,
24840x000500c2,0x00000006,0x000016b2,0x000016b1,
24850x00000063,0x00050084,0x00000006,0x000016b4,
24860x0000009e,0x000016b2,0x00050051,0x00000006,
24870x000016f6,0x0000144e,0x00000000,0x00050084,
24880x00000006,0x000016f8,0x000016b2,0x0000034a,
24890x00050095,0x0000005e,0x000016f9,0x000016f6,
24900x000016f8,0x00050051,0x00000006,0x000016fa,
24910x000016f9,0x00000001,0x00050051,0x00000006,
24920x000016fb,0x000016f9,0x00000000,0x00050051,
24930x00000006,0x000016fe,0x0000144e,0x00000001,
24940x00050080,0x00000006,0x00001700,0x000016fe,
24950x000016fa,0x00050050,0x00000007,0x00001701,
24960x000016fb,0x00001700,0x0004007c,0x000000b1,
24970x000016ee,0x00001701,0x00060041,0x000000b7,
24980x000016ef,0x000016ee,0x000000b6,0x000000b6,
24990x0006003d,0x00000006,0x000016f0,0x000016ef,
25000x00000002,0x00000004,0x00050080,0x00000006,
25010x000016e3,0x000016b4,0x00000063,0x00050084,
25020x00000006,0x00001713,0x000016e3,0x0000009e,
25030x00050095,0x0000005e,0x00001714,0x000016f6,
25040x00001713,0x00050051,0x00000006,0x00001715,
25050x00001714,0x00000001,0x00050051,0x00000006,
25060x00001716,0x00001714,0x00000000,0x00050080,
25070x00000006,0x0000171b,0x000016fe,0x00001715,
25080x00050050,0x00000007,0x0000171c,0x00001716,
25090x0000171b,0x0004007c,0x000000b1,0x00001709,
25100x0000171c,0x00060041,0x000000b7,0x0000170a,
25110x00001709,0x000000b6,0x000000b6,0x0006003d,
25120x00000006,0x0000170b,0x0000170a,0x00000002,
25130x00000004,0x00050051,0x00000006,0x00001720,
25140x00001eb1,0x00000001,0x000500b0,0x00000012,
25150x00001723,0x00001720,0x0000170b,0x000400a8,
25160x00000012,0x00001724,0x00001723,0x000300f7,
25170x00001733,0x00000000,0x000400fa,0x00001724,
25180x00001725,0x00001733,0x000200f8,0x00001725,
25190x000500aa,0x00000012,0x0000172a,0x00001720,
25200x0000170b,0x000300f7,0x00001731,0x00000000,
25210x000400fa,0x0000172a,0x0000172b,0x00001731,
25220x000200f8,0x0000172b,0x00050051,0x00000006,
25230x0000172d,0x00001eb1,0x00000000,0x000500b0,
25240x00000012,0x00001730,0x0000172d,0x000016f0,
25250x000200f9,0x00001731,0x000200f8,0x00001731,
25260x000700f5,0x00000012,0x00001732,0x0000172a,
25270x00001725,0x00001730,0x0000172b,0x000200f9,
25280x00001733,0x000200f8,0x00001733,0x000700f5,
25290x00000012,0x00001734,0x00001723,0x000016ae,
25300x00001732,0x00001731,0x000300f7,0x000016be,
25310x00000000,0x000400fa,0x00001734,0x000016b9,
25320x000016bb,0x000200f8,0x000016bb,0x00050080,
25330x00000006,0x000016bd,0x000016b2,0x00000063,
25340x000200f9,0x000016be,0x000200f8,0x000016b9,
25350x000200f9,0x000016be,0x000200f8,0x000016be,
25360x000700f5,0x00000006,0x00002171,0x00001eb2,
25370x000016b9,0x000016bd,0x000016bb,0x000600a9,
25380x00000006,0x000021a1,0x00001734,0x000016b2,
25390x00001eb3,0x000200f9,0x000016bf,0x000200f8,
25400x000016bf,0x000200f9,0x000016a9,0x000200f8,
25410x000016c0,0x000500aa,0x00000012,0x000016c2,
25420x00001eb2,0x00000058,0x000300f7,0x000016c4,
25430x00000000,0x000400fa,0x000016c2,0x000016c3,
25440x000016c4,0x000200f8,0x000016c3,0x000200f9,
25450x000016d7,0x000200f8,0x000016c4,0x00050082,
25460x00000006,0x000016c6,0x00001eb2,0x00000063,
25470x00050084,0x00000006,0x000016c7,0x0000009e,
25480x000016c6,0x00050080,0x00000006,0x000016c8,
25490x000016c7,0x000000d8,0x00050051,0x00000006,
25500x00001752,0x0000144e,0x00000000,0x00050084,
25510x00000006,0x00001754,0x000016c8,0x0000009e,
25520x00050095,0x0000005e,0x00001755,0x00001752,
25530x00001754,0x00050051,0x00000006,0x00001756,
25540x00001755,0x00000001,0x00050051,0x00000006,
25550x00001757,0x00001755,0x00000000,0x00050051,
25560x00000006,0x0000175a,0x0000144e,0x00000001,
25570x00050080,0x00000006,0x0000175c,0x0000175a,
25580x00001756,0x00050050,0x00000007,0x0000175d,
25590x00001757,0x0000175c,0x0004007c,0x000000b1,
25600x0000174a,0x0000175d,0x00060041,0x000000b7,
25610x0000174b,0x0000174a,0x000000b6,0x000000b6,
25620x0006003d,0x00000006,0x0000174c,0x0000174b,
25630x00000002,0x00000004,0x00050080,0x00000006,
25640x0000173f,0x000016c7,0x000000de,0x00050084,
25650x00000006,0x0000176f,0x0000173f,0x0000009e,
25660x00050095,0x0000005e,0x00001770,0x00001752,
25670x0000176f,0x00050051,0x00000006,0x00001771,
25680x00001770,0x00000001,0x00050051,0x00000006,
25690x00001772,0x00001770,0x00000000,0x00050080,
25700x00000006,0x00001777,0x0000175a,0x00001771,
25710x00050050,0x00000007,0x00001778,0x00001772,
25720x00001777,0x0004007c,0x000000b1,0x00001765,
25730x00001778,0x00060041,0x000000b7,0x00001766,
25740x00001765,0x000000b6,0x000000b6,0x0006003d,
25750x00000006,0x00001767,0x00001766,0x00000002,
25760x00000004,0x00050051,0x00000006,0x0000177c,
25770x00001eb1,0x00000001,0x000500b0,0x00000012,
25780x0000177f,0x0000177c,0x00001767,0x000400a8,
25790x00000012,0x00001780,0x0000177f,0x000300f7,
25800x0000178f,0x00000000,0x000400fa,0x00001780,
25810x00001781,0x0000178f,0x000200f8,0x00001781,
25820x000500aa,0x00000012,0x00001786,0x0000177c,
25830x00001767,0x000300f7,0x0000178d,0x00000000,
25840x000400fa,0x00001786,0x00001787,0x0000178d,
25850x000200f8,0x00001787,0x00050051,0x00000006,
25860x00001789,0x00001eb1,0x00000000,0x000500b0,
25870x00000012,0x0000178c,0x00001789,0x0000174c,
25880x000200f9,0x0000178d,0x000200f8,0x0000178d,
25890x000700f5,0x00000012,0x0000178e,0x00001786,
25900x00001781,0x0000178c,0x00001787,0x000200f9,
25910x0000178f,0x000200f8,0x0000178f,0x000700f5,
25920x00000012,0x00001790,0x0000177f,0x000016c4,
25930x0000178e,0x0000178d,0x000300f7,0x000016d5,
25940x00000000,0x000400fa,0x00001790,0x000016ce,
25950x000016d5,0x000200f8,0x000016ce,0x00050051,
25960x00000006,0x00001798,0x00001eb1,0x00000000,
25970x00050096,0x0000005e,0x00001799,0x0000174c,
25980x00001798,0x00050051,0x00000006,0x0000179a,
25990x00001799,0x00000001,0x00050051,0x00000006,
26000x0000179b,0x00001799,0x00000000,0x00050082,
26010x00000006,0x000017a1,0x00001767,0x0000177c,
26020x00050082,0x00000006,0x000017a3,0x000017a1,
26030x0000179a,0x00050051,0x00000006,0x000017aa,
26040x0000144c,0x00000001,0x000500b0,0x00000012,
26050x000017ab,0x000017a3,0x000017aa,0x000400a8,
26060x00000012,0x000017ac,0x000017ab,0x000300f7,
26070x000017bb,0x00000000,0x000400fa,0x000017ac,
26080x000017ad,0x000017bb,0x000200f8,0x000017ad,
26090x000500aa,0x00000012,0x000017b2,0x000017a3,
26100x000017aa,0x000300f7,0x000017b9,0x00000000,
26110x000400fa,0x000017b2,0x000017b3,0x000017b9,
26120x000200f8,0x000017b3,0x00050051,0x00000006,
26130x000017b7,0x0000144c,0x00000000,0x000500b0,
26140x00000012,0x000017b8,0x0000179b,0x000017b7,
26150x000200f9,0x000017b9,0x000200f8,0x000017b9,
26160x000700f5,0x00000012,0x000017ba,0x000017b2,
26170x000017ad,0x000017b8,0x000017b3,0x000200f9,
26180x000017bb,0x000200f8,0x000017bb,0x000700f5,
26190x00000012,0x000017bc,0x000017ab,0x000016ce,
26200x000017ba,0x000017b9,0x000400a8,0x00000012,
26210x000016d4,0x000017bc,0x000200f9,0x000016d5,
26220x000200f8,0x000016d5,0x000700f5,0x00000012,
26230x000016d6,0x00001790,0x0000178f,0x000016d4,
26240x000017bb,0x000200f9,0x000016d7,0x000200f8,
26250x000016d7,0x000700f5,0x00000012,0x00001eb4,
26260x0000011e,0x000016c3,0x000016d6,0x000016d5,
26270x000200f9,0x00001453,0x000200f8,0x00001453,
26280x000700f5,0x00000012,0x00001454,0x00001440,
26290x0000143d,0x00001eb4,0x000016d7,0x000300f7,
26300x00001456,0x00000000,0x000400fa,0x00001454,
26310x00001455,0x00001456,0x000200f8,0x00001455,
26320x000200f9,0x000014ce,0x000200f8,0x00001456,
26330x000500c6,0x00000006,0x000017c3,0x000000cb,
26340x000013b9,0x00050084,0x00000006,0x000017c4,
26350x000017c3,0x000000d0,0x000500c6,0x00000006,
26360x000017c8,0x000017c4,0x000013bb,0x00050084,
26370x00000006,0x000017c9,0x000017c8,0x000000d0,
26380x000500c6,0x00000006,0x000017cd,0x000017c9,
26390x000013d1,0x00050084,0x00000006,0x000017ce,
26400x000017cd,0x000000d0,0x000500c6,0x00000006,
26410x000017d2,0x000017ce,0x000013ac,0x00050084,
26420x00000006,0x000017d3,0x000017d2,0x000000d0,
26430x000500c2,0x00000006,0x000017d5,0x000017d3,
26440x000000e4,0x000500c6,0x00000006,0x000017d7,
26450x000017d3,0x000017d5,0x00050084,0x00000006,
26460x000017d9,0x000017d7,0x000000e8,0x000500c2,
26470x00000006,0x000017db,0x000017d9,0x000000ec,
26480x000500c6,0x00000006,0x000017dd,0x000017d9,
26490x000017db,0x00050084,0x00000006,0x000017df,
26500x000017dd,0x000000f0,0x000500c2,0x00000006,
26510x000017e1,0x000017df,0x000000e4,0x000500c6,
26520x00000006,0x000017e3,0x000017df,0x000017e1,
26530x000200f9,0x00001459,0x000200f8,0x00001459,
26540x000700f5,0x00000006,0x00001ec5,0x00000058,
26550x00001456,0x000014b7,0x000014b5,0x000500b0,
26560x00000012,0x0000145c,0x00001ec5,0x0000034a,
26570x000400f6,0x000014b8,0x000014b5,0x00000000,
26580x000400fa,0x0000145c,0x0000145d,0x000014b8,
26590x000200f8,0x0000145d,0x00050080,0x00000006,
26600x00001460,0x000017e3,0x00001ec5,0x00050041,
26610x00000182,0x00001461,0x00000180,0x000000ec,
26620x0004003d,0x00000006,0x00001462,0x00001461,
26630x000500c7,0x00000006,0x00001463,0x00001460,
26640x00001462,0x00050084,0x00000006,0x00001464,
26650x000002ab,0x00001463,0x00050080,0x00000006,
26660x00001466,0x00001464,0x00000357,0x00050041,
26670x0000020a,0x00001467,0x00000180,0x00000355,
26680x0004003d,0x00000007,0x00001468,0x00001467,
26690x00050051,0x00000006,0x000017f4,0x00001468,
26700x00000000,0x00050084,0x00000006,0x000017f6,
26710x00001466,0x0000009e,0x00050095,0x0000005e,
26720x000017f7,0x000017f4,0x000017f6,0x00050051,
26730x00000006,0x000017f8,0x000017f7,0x00000001,
26740x00050051,0x00000006,0x000017f9,0x000017f7,
26750x00000000,0x00050051,0x00000006,0x000017fc,
26760x00001468,0x00000001,0x00050080,0x00000006,
26770x000017fe,0x000017fc,0x000017f8,0x00050050,
26780x00000007,0x000017ff,0x000017f9,0x000017fe,
26790x0004007c,0x000000b1,0x000017ec,0x000017ff,
26800x00060041,0x000000b7,0x000017ed,0x000017ec,
26810x000000b6,0x000000b6,0x0006003d,0x00000006,
26820x000017ee,0x000017ed,0x00000002,0x00000004,
26830x000500c2,0x00000006,0x0000146a,0x000017ee,
26840x000000e4,0x000500c7,0x00000006,0x0000146c,
26850x0000146a,0x00000063,0x000500aa,0x00000012,
26860x0000146d,0x0000146c,0x00000058,0x000300f7,
26870x0000146f,0x00000000,0x000400fa,0x0000146d,
26880x0000146e,0x0000146f,0x000200f8,0x0000146e,
26890x000200f9,0x000014b5,0x000200f8,0x0000146f,
26900x00050084,0x00000006,0x00001811,0x00001463,
26910x0000218f,0x00050095,0x0000005e,0x00001812,
26920x000017f4,0x00001811,0x00050051,0x00000006,
26930x00001813,0x00001812,0x00000001,0x00050051,
26940x00000006,0x00001814,0x00001812,0x00000000,
26950x00050080,0x00000006,0x00001819,0x000017fc,
26960x00001813,0x00050050,0x00000007,0x0000181a,
26970x00001814,0x00001819,0x0004007c,0x000000b1,
26980x00001807,0x0000181a,0x00060041,0x000000b7,
26990x00001808,0x00001807,0x000000b6,0x000000b6,
27000x0006003d,0x00000006,0x00001809,0x00001808,
27010x00000002,0x00000004,0x000500ab,0x00000012,
27020x00001476,0x00001809,0x000013b9,0x000400a8,
27030x00000012,0x00001477,0x00001476,0x000300f7,
27040x00001481,0x00000000,0x000400fa,0x00001477,
27050x00001478,0x00001481,0x000200f8,0x00001478,
27060x00050080,0x00000006,0x0000147a,0x00001464,
27070x00000063,0x00050084,0x00000006,0x0000182c,
27080x0000147a,0x0000009e,0x00050095,0x0000005e,
27090x0000182d,0x000017f4,0x0000182c,0x00050051,
27100x00000006,0x0000182e,0x0000182d,0x00000001,
27110x00050051,0x00000006,0x0000182f,0x0000182d,
27120x00000000,0x00050080,0x00000006,0x00001834,
27130x000017fc,0x0000182e,0x00050050,0x00000007,
27140x00001835,0x0000182f,0x00001834,0x0004007c,
27150x000000b1,0x00001822,0x00001835,0x00060041,
27160x000000b7,0x00001823,0x00001822,0x000000b6,
27170x000000b6,0x0006003d,0x00000006,0x00001824,
27180x00001823,0x00000002,0x00000004,0x000500ab,
27190x00000012,0x00001480,0x00001824,0x000013bb,
27200x000200f9,0x00001481,0x000200f8,0x00001481,
27210x000700f5,0x00000012,0x00001482,0x00001476,
27220x0000146f,0x00001480,0x00001478,0x000400a8,
27230x00000012,0x00001483,0x00001482,0x000300f7,
27240x0000148d,0x00000000,0x000400fa,0x00001483,
27250x00001484,0x0000148d,0x000200f8,0x00001484,
27260x00050080,0x00000006,0x00001486,0x00001464,
27270x000000d8,0x00050084,0x00000006,0x00001847,
27280x00001486,0x0000009e,0x00050095,0x0000005e,
27290x00001848,0x000017f4,0x00001847,0x00050051,
27300x00000006,0x00001849,0x00001848,0x00000001,
27310x00050051,0x00000006,0x0000184a,0x00001848,
27320x00000000,0x00050080,0x00000006,0x0000184f,
27330x000017fc,0x00001849,0x00050050,0x00000007,
27340x00001850,0x0000184a,0x0000184f,0x0004007c,
27350x000000b1,0x0000183d,0x00001850,0x00060041,
27360x000000b7,0x0000183e,0x0000183d,0x000000b6,
27370x000000b6,0x0006003d,0x00000006,0x0000183f,
27380x0000183e,0x00000002,0x00000004,0x000500ab,
27390x00000012,0x0000148c,0x0000183f,0x000013d1,
27400x000200f9,0x0000148d,0x000200f8,0x0000148d,
27410x000700f5,0x00000012,0x0000148e,0x00001482,
27420x00001481,0x0000148c,0x00001484,0x000400a8,
27430x00000012,0x0000148f,0x0000148e,0x000300f7,
27440x00001499,0x00000000,0x000400fa,0x0000148f,
27450x00001490,0x00001499,0x000200f8,0x00001490,
27460x00050080,0x00000006,0x00001492,0x00001464,
27470x000000de,0x00050084,0x00000006,0x00001862,
27480x00001492,0x0000009e,0x00050095,0x0000005e,
27490x00001863,0x000017f4,0x00001862,0x00050051,
27500x00000006,0x00001864,0x00001863,0x00000001,
27510x00050051,0x00000006,0x00001865,0x00001863,
27520x00000000,0x00050080,0x00000006,0x0000186a,
27530x000017fc,0x00001864,0x00050050,0x00000007,
27540x0000186b,0x00001865,0x0000186a,0x0004007c,
27550x000000b1,0x00001858,0x0000186b,0x00060041,
27560x000000b7,0x00001859,0x00001858,0x000000b6,
27570x000000b6,0x0006003d,0x00000006,0x0000185a,
27580x00001859,0x00000002,0x00000004,0x000500ab,
27590x00000012,0x00001498,0x0000185a,0x000013ac,
27600x000200f9,0x00001499,0x000200f8,0x00001499,
27610x000700f5,0x00000012,0x0000149a,0x0000148e,
27620x0000148d,0x00001498,0x00001490,0x000300f7,
27630x0000149c,0x00000000,0x000400fa,0x0000149a,
27640x0000149b,0x0000149c,0x000200f8,0x0000149b,
27650x000200f9,0x000014b5,0x000200f8,0x0000149c,
27660x000500c7,0x00000006,0x0000149e,0x0000146a,
27670x000000d8,0x000500ab,0x00000012,0x0000149f,
27680x0000149e,0x00000058,0x000300f7,0x000014b4,
27690x00000000,0x000400fa,0x0000149f,0x000014a0,
27700x000014a4,0x000200f8,0x000014a4,0x00050080,
27710x00000006,0x000014a6,0x00001464,0x0000009e,
27720x00050084,0x00000006,0x00001881,0x000014a6,
27730x0000009e,0x00050095,0x0000005e,0x00001882,
27740x000017f4,0x00001881,0x00050051,0x00000006,
27750x00001883,0x00001882,0x00000001,0x00050051,
27760x00000006,0x00001884,0x00001882,0x00000000,
27770x00050080,0x00000006,0x00001889,0x000017fc,
27780x00001883,0x00050050,0x00000007,0x0000188a,
27790x00001884,0x00001889,0x0004007c,0x000000b1,
27800x00001877,0x0000188a,0x00060041,0x000000b7,
27810x00001878,0x00001877,0x000000b6,0x000000b6,
27820x0006003d,0x00000006,0x00001879,0x00001878,
27830x00000002,0x00000004,0x0006003d,0x00000006,
27840x00001894,0x000017ed,0x00000002,0x00000004,
27850x00060052,0x00000027,0x00001c9a,0x00001879,
27860x00000498,0x00000000,0x000500c7,0x00000006,
27870x000018ac,0x000013bb,0x00000191,0x000500c7,
27880x00000006,0x000018af,0x00001894,0x0000017b,
27890x000500c5,0x00000006,0x000018b0,0x000018ac,
27900x000018af,0x00060052,0x00000027,0x00001c9e,
27910x000018b0,0x00001c9a,0x00000001,0x000200f9,
27920x000014b4,0x000200f8,0x000014a0,0x00060052,
27930x00000027,0x00001c8f,0x00000058,0x00000498,
27940x00000000,0x00060052,0x00000027,0x00001c91,
27950x00000058,0x00001c8f,0x00000001,0x00060052,
27960x00000027,0x00001c93,0x00000058,0x00001c91,
27970x00000002,0x000200f9,0x000014b4,0x000200f8,
27980x000014b4,0x000700f5,0x00000027,0x00001edf,
27990x00001c93,0x000014a0,0x00001c9e,0x000014a4,
28000x000200f9,0x000014b8,0x000200f8,0x000014b5,
28010x00050080,0x00000006,0x000014b7,0x00001ec5,
28020x000003bc,0x000200f9,0x00001459,0x000200f8,
28030x000014b8,0x000700f5,0x00000006,0x00001eea,
28040x00001da1,0x00001459,0x00000063,0x000014b4,
28050x000700f5,0x00000027,0x00001ede,0x00000498,
28060x00001459,0x00001edf,0x000014b4,0x000700f5,
28070x00000012,0x00001eca,0x0000011e,0x00001459,
28080x00000217,0x000014b4,0x000300f7,0x000014ba,
28090x00000000,0x000400fa,0x00001eca,0x000014ce,
28100x000014ba,0x000200f8,0x000014ba,0x00060052,
28110x00000027,0x00001ca0,0x00000058,0x00001ede,
28120x00000000,0x00060052,0x00000027,0x00001ca2,
28130x00000058,0x00001ca0,0x00000001,0x00060052,
28140x00000027,0x00001ca4,0x00000058,0x00001ca2,
28150x00000002,0x000500c7,0x00000006,0x000014c0,
28160x00000438,0x000000d8,0x000500ab,0x00000012,
28170x000014c1,0x000014c0,0x00000058,0x000300f7,
28180x000014ca,0x00000000,0x000400fa,0x000014c1,
28190x000014c2,0x000014ca,0x000200f8,0x000014c2,
28200x00050041,0x0000020a,0x000014c3,0x00000180,
28210x000003c8,0x0004003d,0x00000007,0x000014c4,
28220x000014c3,0x00050041,0x00000182,0x000014c5,
28230x00000180,0x000003c9,0x0004003d,0x00000006,
28240x000014c6,0x000014c5,0x000300f7,0x000018fa,
28250x00000000,0x000300fb,0x00000058,0x000018ca,
28260x000200f8,0x000018ca,0x000200f9,0x000018cc,
28270x000200f8,0x000018cc,0x000700f5,0x00000006,
28280x00001ee1,0x000014c6,0x000018ca,0x000021a2,
28290x000018e2,0x000700f5,0x00000006,0x00001ee0,
28300x00000058,0x000018ca,0x00002188,0x000018e2,
28310x000500b0,0x00000012,0x000018d0,0x00001ee0,
28320x00001ee1,0x000400f6,0x000018e3,0x000018e2,
28330x00000000,0x000400fa,0x000018d0,0x000018d1,
28340x000018e3,0x000200f8,0x000018d1,0x00050080,
28350x00000006,0x000018d4,0x00001ee0,0x00001ee1,
28360x000500c2,0x00000006,0x000018d5,0x000018d4,
28370x00000063,0x00050084,0x00000006,0x000018d7,
28380x0000009e,0x000018d5,0x00050051,0x00000006,
28390x00001919,0x000014c4,0x00000000,0x00050084,
28400x00000006,0x0000191b,0x000018d5,0x0000034a,
28410x00050095,0x0000005e,0x0000191c,0x00001919,
28420x0000191b,0x00050051,0x00000006,0x0000191d,
28430x0000191c,0x00000001,0x00050051,0x00000006,
28440x0000191e,0x0000191c,0x00000000,0x00050051,
28450x00000006,0x00001921,0x000014c4,0x00000001,
28460x00050080,0x00000006,0x00001923,0x00001921,
28470x0000191d,0x00050050,0x00000007,0x00001924,
28480x0000191e,0x00001923,0x0004007c,0x000000b1,
28490x00001911,0x00001924,0x00060041,0x000000b7,
28500x00001912,0x00001911,0x000000b6,0x000000b6,
28510x0006003d,0x00000006,0x00001913,0x00001912,
28520x00000002,0x00000004,0x00050080,0x00000006,
28530x00001906,0x000018d7,0x00000063,0x00050084,
28540x00000006,0x00001936,0x00001906,0x0000009e,
28550x00050095,0x0000005e,0x00001937,0x00001919,
28560x00001936,0x00050051,0x00000006,0x00001938,
28570x00001937,0x00000001,0x00050051,0x00000006,
28580x00001939,0x00001937,0x00000000,0x00050080,
28590x00000006,0x0000193e,0x00001921,0x00001938,
28600x00050050,0x00000007,0x0000193f,0x00001939,
28610x0000193e,0x0004007c,0x000000b1,0x0000192c,
28620x0000193f,0x00060041,0x000000b7,0x0000192d,
28630x0000192c,0x000000b6,0x000000b6,0x0006003d,
28640x00000006,0x0000192e,0x0000192d,0x00000002,
28650x00000004,0x000500b0,0x00000012,0x00001946,
28660x000013bc,0x0000192e,0x000400a8,0x00000012,
28670x00001947,0x00001946,0x000300f7,0x00001956,
28680x00000000,0x000400fa,0x00001947,0x00001948,
28690x00001956,0x000200f8,0x00001948,0x000500aa,
28700x00000012,0x0000194d,0x000013bc,0x0000192e,
28710x000300f7,0x00001954,0x00000000,0x000400fa,
28720x0000194d,0x0000194e,0x00001954,0x000200f8,
28730x0000194e,0x000500b0,0x00000012,0x00001953,
28740x000013b9,0x00001913,0x000200f9,0x00001954,
28750x000200f8,0x00001954,0x000700f5,0x00000012,
28760x00001955,0x0000194d,0x00001948,0x00001953,
28770x0000194e,0x000200f9,0x00001956,0x000200f8,
28780x00001956,0x000700f5,0x00000012,0x00001957,
28790x00001946,0x000018d1,0x00001955,0x00001954,
28800x000300f7,0x000018e1,0x00000000,0x000400fa,
28810x00001957,0x000018dc,0x000018de,0x000200f8,
28820x000018de,0x00050080,0x00000006,0x000018e0,
28830x000018d5,0x00000063,0x000200f9,0x000018e1,
28840x000200f8,0x000018dc,0x000200f9,0x000018e1,
28850x000200f8,0x000018e1,0x000700f5,0x00000006,
28860x00002188,0x00001ee0,0x000018dc,0x000018e0,
28870x000018de,0x000600a9,0x00000006,0x000021a2,
28880x00001957,0x000018d5,0x00001ee1,0x000200f9,
28890x000018e2,0x000200f8,0x000018e2,0x000200f9,
28900x000018cc,0x000200f8,0x000018e3,0x000500aa,
28910x00000012,0x000018e5,0x00001ee0,0x00000058,
28920x000300f7,0x000018e7,0x00000000,0x000400fa,
28930x000018e5,0x000018e6,0x000018e7,0x000200f8,
28940x000018e6,0x000200f9,0x000018fa,0x000200f8,
28950x000018e7,0x00050082,0x00000006,0x000018e9,
28960x00001ee0,0x00000063,0x00050084,0x00000006,
28970x000018ea,0x0000009e,0x000018e9,0x00050080,
28980x00000006,0x000018eb,0x000018ea,0x000000d8,
28990x00050051,0x00000006,0x00001975,0x000014c4,
29000x00000000,0x00050084,0x00000006,0x00001977,
29010x000018eb,0x0000009e,0x00050095,0x0000005e,
29020x00001978,0x00001975,0x00001977,0x00050051,
29030x00000006,0x00001979,0x00001978,0x00000001,
29040x00050051,0x00000006,0x0000197a,0x00001978,
29050x00000000,0x00050051,0x00000006,0x0000197d,
29060x000014c4,0x00000001,0x00050080,0x00000006,
29070x0000197f,0x0000197d,0x00001979,0x00050050,
29080x00000007,0x00001980,0x0000197a,0x0000197f,
29090x0004007c,0x000000b1,0x0000196d,0x00001980,
29100x00060041,0x000000b7,0x0000196e,0x0000196d,
29110x000000b6,0x000000b6,0x0006003d,0x00000006,
29120x0000196f,0x0000196e,0x00000002,0x00000004,
29130x00050080,0x00000006,0x00001962,0x000018ea,
29140x000000de,0x00050084,0x00000006,0x00001992,
29150x00001962,0x0000009e,0x00050095,0x0000005e,
29160x00001993,0x00001975,0x00001992,0x00050051,
29170x00000006,0x00001994,0x00001993,0x00000001,
29180x00050051,0x00000006,0x00001995,0x00001993,
29190x00000000,0x00050080,0x00000006,0x0000199a,
29200x0000197d,0x00001994,0x00050050,0x00000007,
29210x0000199b,0x00001995,0x0000199a,0x0004007c,
29220x000000b1,0x00001988,0x0000199b,0x00060041,
29230x000000b7,0x00001989,0x00001988,0x000000b6,
29240x000000b6,0x0006003d,0x00000006,0x0000198a,
29250x00001989,0x00000002,0x00000004,0x000500b0,
29260x00000012,0x000019a2,0x000013bc,0x0000198a,
29270x000400a8,0x00000012,0x000019a3,0x000019a2,
29280x000300f7,0x000019b2,0x00000000,0x000400fa,
29290x000019a3,0x000019a4,0x000019b2,0x000200f8,
29300x000019a4,0x000500aa,0x00000012,0x000019a9,
29310x000013bc,0x0000198a,0x000300f7,0x000019b0,
29320x00000000,0x000400fa,0x000019a9,0x000019aa,
29330x000019b0,0x000200f8,0x000019aa,0x000500b0,
29340x00000012,0x000019af,0x000013b9,0x0000196f,
29350x000200f9,0x000019b0,0x000200f8,0x000019b0,
29360x000700f5,0x00000012,0x000019b1,0x000019a9,
29370x000019a4,0x000019af,0x000019aa,0x000200f9,
29380x000019b2,0x000200f8,0x000019b2,0x000700f5,
29390x00000012,0x000019b3,0x000019a2,0x000018e7,
29400x000019b1,0x000019b0,0x000300f7,0x000018f8,
29410x00000000,0x000400fa,0x000019b3,0x000018f1,
29420x000018f8,0x000200f8,0x000018f1,0x00050096,
29430x0000005e,0x000019bc,0x0000196f,0x000013b9,
29440x00050051,0x00000006,0x000019bd,0x000019bc,
29450x00000001,0x00050051,0x00000006,0x000019be,
29460x000019bc,0x00000000,0x00050082,0x00000006,
29470x000019c4,0x0000198a,0x000013bc,0x00050082,
29480x00000006,0x000019c6,0x000019c4,0x000019bd,
29490x000500aa,0x00000012,0x000019d5,0x000019c6,
29500x00000058,0x000300f7,0x000019dc,0x00000000,
29510x000400fa,0x000019d5,0x000019d6,0x000019dc,
29520x000200f8,0x000019d6,0x000500b0,0x00000012,
29530x000019db,0x000019be,0x00000063,0x000200f9,
29540x000019dc,0x000200f8,0x000019dc,0x000700f5,
29550x00000012,0x000019dd,0x000019d5,0x000018f1,
29560x000019db,0x000019d6,0x000400a8,0x00000012,
29570x000018f7,0x000019dd,0x000200f9,0x000018f8,
29580x000200f8,0x000018f8,0x000700f5,0x00000012,
29590x000018f9,0x000019b3,0x000019b2,0x000018f7,
29600x000019dc,0x000200f9,0x000018fa,0x000200f8,
29610x000018fa,0x000700f5,0x00000012,0x00001ee2,
29620x0000011e,0x000018e6,0x000018f9,0x000018f8,
29630x000400a8,0x00000012,0x000014c9,0x00001ee2,
29640x000200f9,0x000014ca,0x000200f8,0x000014ca,
29650x000700f5,0x00000012,0x000014cb,0x000014c1,
29660x000014ba,0x000014c9,0x000018fa,0x000300f7,
29670x000014cd,0x00000000,0x000400fa,0x000014cb,
29680x000014cc,0x000014cd,0x000200f8,0x000014cc,
29690x000200f9,0x000014ce,0x000200f8,0x000014cd,
29700x000200f9,0x000014ce,0x000200f8,0x000014ce,
29710x001100f5,0x00000027,0x00001f7e,0x00000498,
29720x000013b6,0x00001c14,0x000013c7,0x00001f7f,
29730x00001429,0x00000498,0x00001455,0x00001ede,
29740x000014b8,0x00001ca4,0x000014cc,0x00001ca4,
29750x000014cd,0x001100f5,0x00000006,0x00001ee9,
29760x00000058,0x000013b6,0x00000063,0x000013c7,
29770x00000063,0x00001429,0x00000063,0x00001455,
29780x00001eea,0x000014b8,0x00000063,0x000014cc,
29790x000000d8,0x000014cd,0x000500aa,0x00000012,
29800x000004d0,0x00001ee9,0x000000d8,0x000300f7,
29810x000004d2,0x00000000,0x000400fa,0x000004d0,
29820x000004d1,0x000004d2,0x000200f8,0x000004d1,
29830x00050041,0x00000182,0x000004d3,0x00000180,
29840x000004c2,0x0004003d,0x00000006,0x000004d4,
29850x000004d3,0x000500c4,0x00000006,0x000004d5,
29860x000004d4,0x000004c5,0x000500c4,0x00000006,
29870x000004d7,0x0000044f,0x00000063,0x000500c5,
29880x00000006,0x000004d8,0x000004d5,0x000004d7,
29890x000500c5,0x00000006,0x000004d9,0x000004d8,
29900x00000063,0x00050041,0x0000020a,0x000019e3,
29910x00000180,0x000003dd,0x0004003d,0x00000007,
29920x000019e4,0x000019e3,0x0004007c,0x000000b1,
29930x000019e5,0x000019e4,0x00060041,0x000000b7,
29940x000019e7,0x000019e5,0x000000b6,0x000000b6,
29950x000700ea,0x00000006,0x000019e8,0x000019e7,
29960x00000063,0x00000058,0x00000063,0x00060041,
29970x000000b7,0x000019eb,0x000019e5,0x000000b6,
29980x000003bc,0x0006003d,0x00000006,0x000019ec,
29990x000019eb,0x00000002,0x00000004,0x000500b0,
30000x00000012,0x000019ed,0x000019e8,0x000019ec,
30010x000300f7,0x000019f7,0x00000000,0x000400fa,
30020x000019ed,0x000019ee,0x000019f4,0x000200f8,
30030x000019f4,0x00060041,0x000000b7,0x000019f6,
30040x000019e5,0x000000b6,0x000003f3,0x0005003e,
30050x000019f6,0x00000063,0x00000002,0x00000004,
30060x000200f9,0x000019f7,0x000200f8,0x000019ee,
30070x00050080,0x00000006,0x000019f1,0x0000009e,
30080x000019e8,0x00060041,0x000000b7,0x000019f3,
30090x000019e5,0x000000b6,0x000019f1,0x0005003e,
30100x000019f3,0x000004d9,0x00000002,0x00000004,
30110x000200f9,0x000019f7,0x000200f8,0x000019f7,
30120x000200f9,0x000004d2,0x000200f8,0x000004d2,
30130x000200f9,0x000004ba,0x000200f8,0x000004ba,
30140x000700f5,0x00000027,0x00001fbe,0x00000498,
30150x000004a9,0x00001f7e,0x000004d2,0x000700f5,
30160x00000027,0x00001f8b,0x0000219c,0x000004a9,
30170x00001df6,0x000004d2,0x00050041,0x0000020a,
30180x000004dd,0x00000180,0x000003bc,0x0004003d,
30190x00000007,0x000004de,0x000004dd,0x0004007c,
30200x00000468,0x000004df,0x000004de,0x00060041,
30210x00000474,0x000004e4,0x000004df,0x000000b6,
30220x0000048f,0x0005003e,0x000004e4,0x00001f8b,
30230x00000002,0x00000010,0x00060041,0x00000474,
30240x000004ea,0x000004df,0x000000b6,0x00000496,
30250x0005003e,0x000004ea,0x00001fbe,0x00000002,
30260x00000010,0x000300f7,0x000004ed,0x00000000,
30270x000400fa,0x0000045b,0x000004ec,0x000004ed,
30280x000200f8,0x000004ec,0x00050041,0x0000020a,
30290x000004ef,0x00000180,0x00000451,0x0004003d,
30300x00000007,0x000004f0,0x000004ef,0x0004007c,
30310x00000468,0x000004f1,0x000004f0,0x000300f7,
30320x000004fd,0x00000000,0x000400fa,0x000004b8,
30330x000004fc,0x00000503,0x000200f8,0x00000503,
30340x000200f9,0x000004fd,0x000200f8,0x000004fc,
30350x000300f7,0x00001a40,0x00000000,0x000300fb,
30360x00000058,0x00001a01,0x000200f8,0x00001a01,
30370x000500ab,0x00000012,0x00001a05,0x000004b7,
30380x00000058,0x000400a8,0x00000012,0x00001a06,
30390x00001a05,0x000300f7,0x00001a0b,0x00000000,
30400x000400fa,0x00001a06,0x00001a07,0x00001a0b,
30410x000200f8,0x00001a07,0x00050051,0x00000006,
30420x00001a09,0x0000219c,0x00000002,0x000500aa,
30430x00000012,0x00001a0a,0x00001a09,0x00000058,
30440x000200f9,0x00001a0b,0x000200f8,0x00001a0b,
30450x000700f5,0x00000012,0x00001a0c,0x00001a05,
30460x00001a01,0x00001a0a,0x00001a07,0x000300f7,
30470x00001a0e,0x00000000,0x000400fa,0x00001a0c,
30480x00001a0d,0x00001a0e,0x000200f8,0x00001a0d,
30490x000200f9,0x00001a40,0x000200f8,0x00001a0e,
30500x00050051,0x00000006,0x00001a10,0x0000219c,
30510x00000001,0x000500c2,0x00000006,0x00001a11,
30520x00001a10,0x000000e4,0x000500c7,0x00000006,
30530x00001a12,0x00001a11,0x000001ad,0x00050051,
30540x00000006,0x00001a14,0x0000219c,0x00000002,
30550x000500aa,0x00000012,0x00001a16,0x00001a12,
30560x00000058,0x000600a9,0x00000006,0x00001a18,
30570x00001a16,0x00000063,0x00001a12,0x00050097,
30580x0000005e,0x00001a1b,0x00001a14,0x00001a18,
30590x00050051,0x00000006,0x00001a1c,0x00001a1b,
30600x00000000,0x00050051,0x00000006,0x00001a1d,
30610x00001a1b,0x00000001,0x00050051,0x00000006,
30620x00001a1f,0x00001f8b,0x00000002,0x000500aa,
30630x00000012,0x00001a20,0x00001a1f,0x00000058,
30640x000300f7,0x00001a29,0x00000000,0x000400fa,
30650x00001a20,0x00001a21,0x00001a22,0x000200f8,
30660x00001a22,0x00050051,0x00000006,0x00001a24,
30670x00001f8b,0x00000000,0x00050051,0x00000006,
30680x00001a26,0x00001f8b,0x00000001,0x000500c7,
30690x00000006,0x00001a27,0x00001a26,0x0000017b,
30700x00050050,0x00000007,0x00001a28,0x00001a24,
30710x00001a27,0x000200f9,0x00001a29,0x000200f8,
30720x00001a21,0x000200f9,0x00001a29,0x000200f8,
30730x00001a29,0x000700f5,0x00000007,0x00002069,
30740x000001c2,0x00001a21,0x00001a28,0x00001a22,
30750x00050051,0x00000006,0x00001a2c,0x0000219c,
30760x00000000,0x000500c7,0x00000006,0x00001a2f,
30770x00001a10,0x0000017b,0x00050051,0x00000006,
30780x00001a31,0x00002069,0x00000001,0x000500c4,
30790x00000006,0x00001a32,0x00001a31,0x000000e4,
30800x000500c5,0x00000006,0x00001a33,0x00001a2f,
30810x00001a32,0x00050051,0x00000006,0x00001a35,
30820x00002069,0x00000000,0x000500ab,0x00000012,
30830x00001a38,0x00001a1d,0x00000058,0x000600a9,
30840x00000006,0x000021a3,0x00001a38,0x000001dc,
30850x00001a1c,0x00070050,0x00000027,0x00001a3f,
30860x00001a2c,0x00001a33,0x00001a35,0x000021a3,
30870x000200f9,0x00001a40,0x000200f8,0x00001a40,
30880x000700f5,0x00000027,0x0000206b,0x000001a7,
30890x00001a0d,0x00001a3f,0x00001a29,0x000200f9,
30900x000004fd,0x000200f8,0x000004fd,0x000700f5,
30910x00000027,0x0000206c,0x0000206b,0x00001a40,
30920x000001a7,0x00000503,0x00060041,0x00000474,
30930x00000505,0x000004f1,0x000000b6,0x0000048f,
30940x0005003e,0x00000505,0x0000206c,0x00000002,
30950x00000010,0x000300f7,0x0000050d,0x00000000,
30960x000400fa,0x000004b8,0x0000050c,0x00000513,
30970x000200f8,0x00000513,0x000200f9,0x0000050d,
30980x000200f8,0x0000050c,0x000300f7,0x00001a8a,
30990x00000000,0x000300fb,0x00000058,0x00001a4b,
31000x000200f8,0x00001a4b,0x00050051,0x00000006,
31010x00001a4d,0x00000498,0x00000003,0x000500c2,
31020x00000006,0x00001a4e,0x00001a4d,0x0000019b,
31030x000500ab,0x00000012,0x00001a4f,0x00001a4e,
31040x00000058,0x000400a8,0x00000012,0x00001a50,
31050x00001a4f,0x000300f7,0x00001a55,0x00000000,
31060x000400fa,0x00001a50,0x00001a51,0x00001a55,
31070x000200f8,0x00001a51,0x00050051,0x00000006,
31080x00001a53,0x00000498,0x00000002,0x000500aa,
31090x00000012,0x00001a54,0x00001a53,0x00000058,
31100x000200f9,0x00001a55,0x000200f8,0x00001a55,
31110x000700f5,0x00000012,0x00001a56,0x00001a4f,
31120x00001a4b,0x00001a54,0x00001a51,0x000300f7,
31130x00001a58,0x00000000,0x000400fa,0x00001a56,
31140x00001a57,0x00001a58,0x000200f8,0x00001a57,
31150x000200f9,0x00001a8a,0x000200f8,0x00001a58,
31160x00050051,0x00000006,0x00001a5a,0x00000498,
31170x00000001,0x000500c2,0x00000006,0x00001a5b,
31180x00001a5a,0x000000e4,0x000500c7,0x00000006,
31190x00001a5c,0x00001a5b,0x000001ad,0x00050051,
31200x00000006,0x00001a5e,0x00000498,0x00000002,
31210x000500aa,0x00000012,0x00001a60,0x00001a5c,
31220x00000058,0x000600a9,0x00000006,0x00001a62,
31230x00001a60,0x00000063,0x00001a5c,0x00050097,
31240x0000005e,0x00001a65,0x00001a5e,0x00001a62,
31250x00050051,0x00000006,0x00001a66,0x00001a65,
31260x00000000,0x00050051,0x00000006,0x00001a67,
31270x00001a65,0x00000001,0x00050051,0x00000006,
31280x00001a69,0x00001fbe,0x00000002,0x000500aa,
31290x00000012,0x00001a6a,0x00001a69,0x00000058,
31300x000300f7,0x00001a73,0x00000000,0x000400fa,
31310x00001a6a,0x00001a6b,0x00001a6c,0x000200f8,
31320x00001a6c,0x00050051,0x00000006,0x00001a6e,
31330x00001fbe,0x00000000,0x00050051,0x00000006,
31340x00001a70,0x00001fbe,0x00000001,0x000500c7,
31350x00000006,0x00001a71,0x00001a70,0x0000017b,
31360x00050050,0x00000007,0x00001a72,0x00001a6e,
31370x00001a71,0x000200f9,0x00001a73,0x000200f8,
31380x00001a6b,0x000200f9,0x00001a73,0x000200f8,
31390x00001a73,0x000700f5,0x00000007,0x0000211f,
31400x000001c2,0x00001a6b,0x00001a72,0x00001a6c,
31410x00050051,0x00000006,0x00001a76,0x00000498,
31420x00000000,0x000500c7,0x00000006,0x00001a79,
31430x00001a5a,0x0000017b,0x00050051,0x00000006,
31440x00001a7b,0x0000211f,0x00000001,0x000500c4,
31450x00000006,0x00001a7c,0x00001a7b,0x000000e4,
31460x000500c5,0x00000006,0x00001a7d,0x00001a79,
31470x00001a7c,0x00050051,0x00000006,0x00001a7f,
31480x0000211f,0x00000000,0x000500ab,0x00000012,
31490x00001a82,0x00001a67,0x00000058,0x000600a9,
31500x00000006,0x000021a4,0x00001a82,0x000001dc,
31510x00001a66,0x00070050,0x00000027,0x00001a89,
31520x00001a76,0x00001a7d,0x00001a7f,0x000021a4,
31530x000200f9,0x00001a8a,0x000200f8,0x00001a8a,
31540x000700f5,0x00000027,0x00002121,0x000001a7,
31550x00001a57,0x00001a89,0x00001a73,0x000200f9,
31560x0000050d,0x000200f8,0x0000050d,0x000700f5,
31570x00000027,0x00002122,0x00002121,0x00001a8a,
31580x000001a7,0x00000513,0x00060041,0x00000474,
31590x00000515,0x000004f1,0x000000b6,0x00000496,
31600x0005003e,0x00000515,0x00002122,0x00000002,
31610x00000010,0x000200f9,0x000004ed,0x000200f8,
31620x000004ed,0x000200f9,0x00000518,0x000200f8,
31630x00000518,0x000100fd,0x00010038}
diff --git a/runtime/src/console_heap_fix_spv.h b/runtime/src/console_heap_fix_spv.h
new file mode 100644
index 000000000..026f1c794
--- /dev/null
+++ b/runtime/src/console_heap_fix_spv.h
@@ -0,0 +1,11 @@
1#pragma once
2#include <cstdint>
3
4namespace leonida {
5
6// console_heap_fix.comp compiled with: glslc --target-env=vulkan1.2 -O -mfmt=c console_heap_fix.comp -o console_heap_fix.inc
7inline constexpr std::uint32_t console_heap_fix_spirv[] =
8#include "console_heap_fix.inc"
9;
10
11} // namespace leonida
diff --git a/runtime/src/console_heap_gpu.h b/runtime/src/console_heap_gpu.h
new file mode 100644
index 000000000..c4048a6eb
--- /dev/null
+++ b/runtime/src/console_heap_gpu.h
@@ -0,0 +1,1063 @@
1// Console descriptor heap translation on the GPU (LEONIDA_CONSOLE_HEAP_GPU=1): the buffer V#s the title writes into
2// its console descriptor heaps are rebased by a compute pass (console_heap_fix.comp) at the start of the submission
3// that reads them, instead of one by one on the submitting thread (DeviceState::fix_console_slot).
4//
5// What stays on the CPU (shims/d3d12_vulkan_device.cpp): finding the changed slots (the heap's ShadowPages and a
6// compare against the bytes each slot was last made from), registering the T#s (they are copied as they are; shaders
7// find them by their words), and every lookup that can make something: a V# the pass cannot answer is written with no
8// records and recorded in the pass's miss list; once the submission is done the CPU resolves its words with
9// vsharp_address (which may make a geometry copy), enters the answer in the key table, and queues the slot again.
10//
11// The pass answers a V# half from four tables, in vsharp_address's order:
12// - the range table: the title-VA ranges of the alias table (src/title_va_alias.h), sorted, each with the shader VA
13// of its copy and whether the CPU found that copy backed. Rebuilt when the alias table or the backings change;
14// - the backed table: the shader-VA spans of the live GPU allocations (DeviceState's gpu_backings, merged) and of
15// the geometry copies' blocks. A base already inside one (a V# our API wrote, or the title copied) is left as it
16// is, as vsharp_address's backed() leaves it. Merged neighbours make it a superset of what backed() accepts, but
17// never of memory that is not there;
18// - the key table: the exact 16 bytes of a V# half and what vsharp_address answered for them (a shader VA, or no
19// backing), open addressed with up to kProbes slots per key (FNV-1a and fmix32). The CPU keeps the
20// mirror below; its changes reach the GPU as updates the pass applies first, so the table changes in GPU order;
21// - the ask table: the title's memory and its GPU windows. A base outside them that nothing above answered gets no
22// records (vsharp_address could only answer 0); one inside them is a miss, for the CPU.
23// When a backing or an alias range goes, every key entry whose answer falls in its shader VAs is dropped and every V#
24// slot of the heap is translated again.
25//
26// ConsoleHeapKeys and console_heap_translate_slot are the CPU reference of the pass (vk_console_heap_gpu_test checks
27// the GPU against them); ConsoleHeapGpu records the pass.
28#pragma once
29#ifndef VK_NO_PROTOTYPES
30#define VK_NO_PROTOTYPES
31#endif
32#include <vulkan/vulkan.h>
33
34#include <algorithm>
35#include <array>
36#include <cstdint>
37#include <cstring>
38#include <map>
39#include <memory>
40#include <mutex>
41#include <utility>
42#include <vector>
43
44#include "console_heap_fix_spv.h"
45#include "vulkan_aftermath.h"
46#include "vulkan_memory.h"
47
48namespace leonida {
49
50struct ConsoleHeapRange {
51 std::uint64_t title_va = 0, end = 0, shader_va = 0;
52 bool checked = false; // the whole [shader_va, shader_va + end - title_va) is backed
53};
54
55// Sorted, disjoint [start, end) spans: the backed and ask tables.
56using ConsoleHeapSpans = std::vector<std::pair<std::uint64_t, std::uint64_t>>;
57
58// Sorts and merges spans (overlapping or touching ones become one); empty and wrapping ones are dropped.
59inline void merge_console_heap_spans(ConsoleHeapSpans& spans) {
60 std::erase_if(spans, [](const auto& s) { return s.second <= s.first; });
61 std::sort(spans.begin(), spans.end());
62 std::size_t out = 0;
63 for (std::size_t i = 0; i < spans.size(); ++i) {
64 if (out && spans[i].first <= spans[out - 1].second) spans[out - 1].second = std::max(spans[out - 1].second, spans[i].second);
65 else spans[out++] = spans[i];
66 }
67 spans.resize(out);
68}
69
70// [v, v + bytes) inside one span (bytes 0 counts as 1).
71inline bool console_heap_spans_hold(const ConsoleHeapSpans& spans, std::uint64_t v, std::uint64_t bytes) {
72 auto it = std::upper_bound(spans.begin(), spans.end(), v,
73 [](std::uint64_t x, const auto& s) { return x < s.first; });
74 if (it == spans.begin()) return false;
75 --it;
76 const std::uint64_t n = std::max<std::uint64_t>(bytes, 1);
77 return v < it->second && n <= it->second - v;
78}
79
80// What the reference (and the pass) answers from, besides the key table.
81struct ConsoleHeapTables {
82 std::vector<ConsoleHeapRange> ranges;
83 ConsoleHeapSpans backed;
84 ConsoleHeapSpans ask;
85 bool use_ask = false; // without it every unanswered half is a miss
86 bool signed_offsets = false; // LEONIDA_IMPORT_BELOW_ARENA: a base with bit 47 set is a negative offset
87};
88
89// The key table's CPU mirror. An entry's GPU form is 8 dwords: the key, the answer's low 32 bits, its bits 32-47 and
90// the flags in bits 16-31 of the sixth, two pad dwords.
91class ConsoleHeapKeys {
92public:
93 using Key = std::array<std::uint32_t, 4>;
94 static constexpr std::uint32_t kProbes = 16;
95 static constexpr std::uint32_t kUsed = 1, kNone = 2;
96 static constexpr std::uint32_t kEntryWords = 8, kUpdateWords = 12;
97
98 explicit ConsoleHeapKeys(std::uint32_t log2_entries = 20)
99 : mask_((1u << std::min<std::uint32_t>(log2_entries, 26)) - 1), entries_(std::size_t(mask_) + 1),
100 dirty_flag_(std::size_t(mask_) + 1, 0) {}
101
102 // FNV-1a over the four dwords, then MurmurHash3's fmix32 (console_heap_fix.comp key_hash): the finalizer makes
103 // the low bits, which index the table, depend on every bit of the key. Bare FNV-1a put every V# whose base
104 // differed only above bit 20 into one probe chain, and the 17th of them found no slot.
105 static std::uint32_t hash(const Key& k) {
106 std::uint32_t h = 2166136261u;
107 for (const std::uint32_t w : k) h = (h ^ w) * 16777619u;
108 h ^= h >> 16;
109 h *= 0x85EBCA6Bu;
110 h ^= h >> 13;
111 h *= 0xC2B2AE35u;
112 h ^= h >> 16;
113 return h;
114 }
115
116 std::uint32_t mask() const { return mask_; }
117 std::size_t size() const { return used_; }
118 std::size_t capacity() const { return entries_.size(); }
119
120 // The entry's index, or -1.
121 std::int64_t find(const Key& k) const {
122 const std::uint32_t h = hash(k);
123 for (std::uint32_t p = 0; p < kProbes; ++p) {
124 const std::uint32_t at = (h + p) & mask_;
125 if (entries_[at].flags & kUsed && entries_[at].key == k) return at;
126 }
127 return -1;
128 }
129 // True with the answer when the key is entered: `none` for no backing.
130 bool lookup(const Key& k, std::uint64_t& to, bool& none) const {
131 const std::int64_t at = find(k);
132 if (at < 0) return false;
133 to = entries_[std::size_t(at)].to;
134 none = entries_[std::size_t(at)].flags & kNone;
135 return true;
136 }
137
138 // Enters (or replaces) the answer for `k`: the shader VA `to` reaching `span` bytes, or no backing. False when all
139 // of the key's probe slots hold other keys.
140 bool put(const Key& k, std::uint64_t to, std::uint64_t span, bool none) {
141 std::int64_t at = find(k);
142 if (at < 0) {
143 const std::uint32_t h = hash(k);
144 for (std::uint32_t p = 0; p < kProbes && at < 0; ++p)
145 if (!(entries_[(h + p) & mask_].flags & kUsed)) at = (h + p) & mask_;
146 if (at < 0) return false;
147 ++used_;
148 } else {
149 unindex(std::uint32_t(at));
150 }
151 Entry& e = entries_[std::size_t(at)];
152 e.key = k;
153 e.to = to;
154 e.span = span;
155 e.flags = kUsed | (none ? kNone : 0);
156 if (!none) {
157 by_to_.emplace(to, std::uint32_t(at));
158 longest_ = std::max(longest_, span);
159 }
160 touch(std::uint32_t(at));
161 return true;
162 }
163
164 bool erase(const Key& k) {
165 const std::int64_t at = find(k);
166 if (at < 0) return false;
167 erase_at(std::uint32_t(at));
168 return true;
169 }
170
171 // Every answer reaching into [start, end) of the shader VAs: dropped. Returns how many.
172 std::size_t erase_overlapping(std::uint64_t start, std::uint64_t end) {
173 if (end <= start || by_to_.empty()) return 0;
174 const std::uint64_t from = start > longest_ ? start - longest_ : 0;
175 std::vector<std::uint32_t> gone;
176 for (auto it = by_to_.lower_bound(from); it != by_to_.end() && it->first < end; ++it) {
177 const Entry& e = entries_[it->second];
178 const std::uint64_t span = std::max<std::uint64_t>(e.span, 1);
179 if (e.to >= start || span > start - e.to) gone.push_back(it->second);
180 }
181 for (const std::uint32_t at : gone) erase_at(at);
182 return gone.size();
183 }
184
185 // Every "no backing" answer, for a caller that asks again after something changed: their keys.
186 void take_none(std::vector<Key>& out, std::size_t at_most) {
187 out.clear();
188 for (std::uint32_t at = 0; at < entries_.size() && out.size() < at_most; ++at) {
189 if ((entries_[at].flags & (kUsed | kNone)) != (kUsed | kNone)) continue;
190 out.push_back(entries_[at].key);
191 erase_at(at);
192 }
193 }
194
195 void clear() {
196 for (std::uint32_t at = 0; at < entries_.size(); ++at)
197 if (entries_[at].flags & kUsed) erase_at(at);
198 by_to_.clear();
199 longest_ = 0;
200 }
201 // Everything gone with no updates: for a GPU table that is cleared as a whole (ConsoleHeapGpu::reset_keys).
202 void clear_silent() {
203 std::fill(entries_.begin(), entries_.end(), Entry{});
204 for (const std::uint32_t at : dirty_) dirty_flag_[at] = 0;
205 dirty_.clear();
206 by_to_.clear();
207 used_ = 0;
208 longest_ = 0;
209 }
210
211 void gpu_words(std::uint32_t at, std::uint32_t out[kEntryWords]) const {
212 const Entry& e = entries_[at];
213 std::memset(out, 0, kEntryWords * 4);
214 if (!(e.flags & kUsed)) return;
215 for (int i = 0; i < 4; ++i) out[i] = e.key[i];
216 out[4] = std::uint32_t(e.to);
217 out[5] = std::uint32_t((e.to >> 32) & 0xffffu) | (std::uint32_t(e.flags) << 16);
218 }
219
220 // The entries changed since the last take, as update records (index, 3 pad dwords, the entry's 8 dwords).
221 void take_updates(std::vector<std::uint32_t>& out) {
222 out.clear();
223 out.reserve(dirty_.size() * kUpdateWords);
224 for (const std::uint32_t at : dirty_) {
225 dirty_flag_[at] = 0;
226 const std::size_t base = out.size();
227 out.resize(base + kUpdateWords, 0);
228 out[base] = at;
229 gpu_words(at, out.data() + base + 4);
230 }
231 dirty_.clear();
232 }
233 bool has_updates() const { return !dirty_.empty(); }
234 // Every entry again (a new GPU table, or updates that never reached the GPU).
235 void touch_all() {
236 for (std::uint32_t at = 0; at < entries_.size(); ++at)
237 if (entries_[at].flags & kUsed) touch(at);
238 }
239 void touch(std::uint32_t at) {
240 if (!dirty_flag_[at]) {
241 dirty_flag_[at] = 1;
242 dirty_.push_back(at);
243 }
244 }
245
246private:
247 struct Entry {
248 Key key{};
249 std::uint64_t to = 0;
250 std::uint64_t span = 0;
251 std::uint32_t flags = 0;
252 };
253 void unindex(std::uint32_t at) {
254 const Entry& e = entries_[at];
255 if (!(e.flags & kUsed) || (e.flags & kNone)) return;
256 auto [lo, hi] = by_to_.equal_range(e.to);
257 for (auto it = lo; it != hi; ++it)
258 if (it->second == at) {
259 by_to_.erase(it);
260 break;
261 }
262 }
263 void erase_at(std::uint32_t at) {
264 if (!(entries_[at].flags & kUsed)) return;
265 unindex(at);
266 entries_[at] = Entry{};
267 --used_;
268 touch(at);
269 }
270
271 std::uint32_t mask_;
272 std::vector<Entry> entries_;
273 std::size_t used_ = 0;
274 std::multimap<std::uint64_t, std::uint32_t> by_to_; // positive answers by shader VA
275 std::uint64_t longest_ = 0;
276 std::vector<std::uint32_t> dirty_;
277 std::vector<std::uint8_t> dirty_flag_;
278};
279
280// What the pass does to one V# half (console_heap_fix.comp translate()): 0 left as it is, 1 answered by a table
281// (rebased, written with no records, or left as it is), 2 missed (written with no records).
282inline unsigned console_heap_translate_half(std::uint32_t k[4], const ConsoleHeapTables& t,
283 const ConsoleHeapKeys& keys) {
284 if ((k[3] >> 30) || !k[2]) return 0;
285 const auto no_records = [k] { k[0] = k[1] = k[2] = 0; };
286 const auto rebase = [k](std::uint64_t to) {
287 k[0] = std::uint32_t(to);
288 k[1] = (k[1] & 0xffff0000u) | std::uint32_t((to >> 32) & 0xffffu);
289 };
290 const std::uint64_t base = std::uint64_t(k[0]) | (std::uint64_t(k[1] & 0xffffu) << 32);
291 if (!base) return no_records(), 1;
292 const std::uint32_t stride = (k[1] >> 16) & 0x3fffu;
293 const std::uint64_t span = std::uint64_t(k[2]) * (stride ? stride : 1);
294 auto it = std::upper_bound(t.ranges.begin(), t.ranges.end(), base,
295 [](std::uint64_t va, const ConsoleHeapRange& r) { return va < r.title_va; });
296 if (it != t.ranges.begin()) {
297 const ConsoleHeapRange& r = *std::prev(it);
298 if (base < r.end && r.checked) {
299 if (r.end - base < span) no_records();
300 else rebase(r.shader_va + (base - r.title_va));
301 return 1;
302 }
303 }
304 std::uint64_t offset = base;
305 if (t.signed_offsets && (base & (1ull << 47))) offset |= ~((1ull << 48) - 1);
306 if (console_heap_spans_hold(t.backed, offset, span)) return 1;
307 const ConsoleHeapKeys::Key key{k[0], k[1], k[2], k[3]};
308 std::uint64_t to = 0;
309 bool none = false;
310 if (keys.lookup(key, to, none)) {
311 if (none) no_records();
312 else rebase(to);
313 return 1;
314 }
315 no_records();
316 if (t.use_ask && !console_heap_spans_hold(t.ask, base, 1)) return 1;
317 return 2;
318}
319
320// One 32-byte slot as the pass writes it; the bit of each half that missed (1: dwords 0-3, 2: dwords 4-7).
321// `zero_first`: the work item's bit 31 (ConsoleHeapGpu::kZeroFirst).
322inline unsigned console_heap_translate_slot(std::uint32_t w[8], const ConsoleHeapTables& t,
323 const ConsoleHeapKeys& keys, bool zero_first = false) {
324 if (w[3] >> 30) {
325 if (zero_first) w[0] = w[1] = w[2] = w[3] = 0;
326 else return 0;
327 }
328 unsigned missed = 0;
329 if (console_heap_translate_half(w, t, keys) == 2) missed |= 1;
330 if (console_heap_translate_half(w + 4, t, keys) == 2) missed |= 2;
331 return missed;
332}
333
334// The pass itself: the key table on the GPU, the range table's versions, the slots to translate per heap, and the
335// passes in flight with their miss lists. Every method takes the object's own lock (a leaf: it takes no other).
336class ConsoleHeapGpu {
337public:
338 static constexpr unsigned kMaxHeaps = 8;
339 // A queued slot's bit 31: the slot is neither a buffer pair nor a T# the CPU could decode, and the pass writes its
340 // dwords 0-3 as zeros. The last queue() of a slot before a pass decides it.
341 static constexpr std::uint32_t kZeroFirst = 0x80000000u;
342 static constexpr std::uint32_t kMissCapacity = 1u << 16;
343 static constexpr std::uint32_t kMissHeader = 4;
344
345 struct Stats {
346 std::uint64_t passes = 0, slots = 0, updates = 0, misses = 0, overflows = 0, tables = 0, resets = 0;
347 std::uint64_t rescanned = 0; // slots of rescan() dispatches
348 std::uint64_t filtered = 0; // slots of rescan_filtered() dispatches
349 std::uint64_t copies = 0, copy_bytes = 0; // queue_copy()
350 std::uint64_t failed = 0; // passes whose submission did not reach the queue (their work went back)
351 };
352 enum TableKind : unsigned { range_table, backed_table, ask_table, change_shader_table, change_title_table, table_count };
353
354 ConsoleHeapGpu(PFN_vkGetDeviceProcAddr get, VkDevice device, const VkPhysicalDeviceMemoryProperties& memory,
355 std::uint32_t log2_keys = 20)
356 : get_(get), device_(device), memory_(memory), keys_(log2_keys) {}
357 ~ConsoleHeapGpu() {
358 std::lock_guard lock(mutex_);
359 for (auto& pass : in_flight_) free_buffer(pass.buffer);
360 for (Heap& h : heaps_) free_buffer(h.meta);
361 for (auto& b : retired_) free_buffer(b);
362 for (auto& buffer : pool_) free_buffer(buffer);
363 for (Table& t : tables_) {
364 for (auto& [version, buffer] : t.old) free_buffer(buffer);
365 for (auto& buffer : t.pool) free_buffer(buffer);
366 if (t.current) free_buffer(*t.current);
367 }
368 free_buffer(key_table_);
369 if (pipeline_) fn<PFN_vkDestroyPipeline>("vkDestroyPipeline")(device_, pipeline_, nullptr);
370 if (layout_) fn<PFN_vkDestroyPipelineLayout>("vkDestroyPipelineLayout")(device_, layout_, nullptr);
371 }
372 ConsoleHeapGpu(const ConsoleHeapGpu&) = delete;
373 ConsoleHeapGpu& operator=(const ConsoleHeapGpu&) = delete;
374
375 // The pipeline and the GPU key table (device-local, zeroed by the first pass). False: the pass cannot run.
376 bool init() {
377 std::lock_guard lock(mutex_);
378 if (pipeline_) return true;
379 if (!make_pipeline()) return false;
380 const VkDeviceSize bytes = VkDeviceSize(keys_.capacity()) * ConsoleHeapKeys::kEntryWords * 4;
381 if (!make_buffer(bytes, false, key_table_)) return false;
382 clear_keys_ = true;
383 return true;
384 }
385
386 // A heap the pass writes: its title bytes (`input`) and the copy shaders read (`copy`), `slots` 32-byte slots.
387 // -1 when there is no room.
388 // Each heap also gets device-local metadata, 32 bytes a slot (what the pass last made of each V# half), which
389 // lets a filtered rescan pass over the slots no change touches without reading their words (rescan_filtered).
390 int add_heap(VkDeviceAddress input, VkDeviceAddress copy, std::uint32_t slots) {
391 std::lock_guard lock(mutex_);
392 for (unsigned i = 0; i < kMaxHeaps; ++i) {
393 if (heaps_[i].slots) continue;
394 Heap& h = heaps_[i];
395 h = Heap{};
396 h.input = input;
397 h.copy = copy;
398 h.slots = slots;
399 h.queued.assign(slots, 0);
400 if (make_buffer(VkDeviceSize(slots) * 32, false, h.meta)) h.meta_clear = true;
401 return int(i);
402 }
403 return -1;
404 }
405 void remove_heap(int heap) {
406 std::lock_guard lock(mutex_);
407 if (heap < 0 || unsigned(heap) >= kMaxHeaps) return;
408 if (heaps_[heap].meta.buffer) retired_.push_back(heaps_[heap].meta); // a pass in flight may still write it
409 heaps_[heap] = Heap{};
410 }
411
412 void queue(int heap, std::uint32_t slot) {
413 std::lock_guard lock(mutex_);
414 queue_locked(heap, slot);
415 }
416 // A buffer copy for the start of the next pass, before the heap translation (LEONIDA_SHADOW_GPU: a slot-133 shadow's
417 // pages copied from an import of the title's pages). `keep` (the source import) lives until that pass retires.
418 void queue_copy(VkBuffer src, VkDeviceSize src_offset, VkBuffer dst, VkDeviceSize dst_offset, VkDeviceSize bytes,
419 std::shared_ptr<void> keep) {
420 std::lock_guard lock(mutex_);
421 copies_.push_back({src, dst, {src_offset, dst_offset, bytes}});
422 if (keep) keeps_.push_back(std::move(keep));
423 }
424
425 // Queued copies into `dst` dropped (its buffer is about to go); copies already recorded stay with their pass.
426 void drop_copies_to(VkBuffer dst) {
427 std::lock_guard lock(mutex_);
428 std::erase_if(copies_, [dst](const Copy& c) { return c.dst == dst; });
429 }
430
431 // Every buffer pair of slots [0, slots) translated again by the next pass: one dispatch over the range, no list
432 // (the pass reads each slot's words and leaves the slots that hold no pair as they are).
433 void rescan(int heap, std::uint32_t slots) {
434 std::lock_guard lock(mutex_);
435 if (heap < 0 || unsigned(heap) >= kMaxHeaps) return;
436 heaps_[heap].rescan = std::max(heaps_[heap].rescan, std::min(slots, heaps_[heap].slots));
437 }
438 // Like rescan(), but only the slots whose metadata meets a change span: `shader` spans of shader VAs (backings and
439 // alias copies that went: a half whose title base or result reaches into one) and `title` spans of title VAs
440 // (alias ranges that went, words answered since: a half whose title base is in one). Without metadata, every
441 // slot of the range, as rescan().
442 void rescan_filtered(int heap, std::uint32_t slots, const ConsoleHeapSpans& shader, const ConsoleHeapSpans& title) {
443 std::lock_guard lock(mutex_);
444 if (heap < 0 || unsigned(heap) >= kMaxHeaps) return;
445 heaps_[heap].rescan_filtered = std::max(heaps_[heap].rescan_filtered, std::min(slots, heaps_[heap].slots));
446 change_shader_.insert(change_shader_.end(), shader.begin(), shader.end());
447 change_title_.insert(change_title_.end(), title.begin(), title.end());
448 }
449 template <class It>
450 void queue(int heap, It first, It last) {
451 std::lock_guard lock(mutex_);
452 for (; first != last; ++first) queue_locked(heap, *first);
453 }
454
455 // A new range table for the next pass (sorted by title VA, not overlapping).
456 void set_ranges(const std::vector<ConsoleHeapRange>& ranges) {
457 std::lock_guard lock(mutex_);
458 Table& t = tables_[range_table];
459 t.words.clear();
460 for (const ConsoleHeapRange& r : ranges)
461 t.words.insert(t.words.end(), {std::uint32_t(r.title_va), std::uint32_t(r.title_va >> 32),
462 std::uint32_t(r.end), std::uint32_t(r.end >> 32),
463 std::uint32_t(r.shader_va), std::uint32_t(r.shader_va >> 32),
464 r.checked ? 1u : 0u, 0u});
465 t.count = std::uint32_t(ranges.size());
466 t.dirty = true;
467 }
468 // New backed or ask spans (merged) for the next pass.
469 void set_spans(TableKind kind, const ConsoleHeapSpans& spans) {
470 std::lock_guard lock(mutex_);
471 spans_locked(kind, spans);
472 }
473 void spans_locked(TableKind kind, const ConsoleHeapSpans& spans) {
474 Table& t = tables_[kind];
475 t.words.clear();
476 for (const auto& [start, end] : spans)
477 t.words.insert(t.words.end(), {std::uint32_t(start), std::uint32_t(start >> 32), std::uint32_t(end),
478 std::uint32_t(end >> 32)});
479 t.count = std::uint32_t(spans.size());
480 t.dirty = true;
481 if (kind == ask_table) use_ask_ = true;
482 }
483 void set_signed_offsets(bool on) {
484 std::lock_guard lock(mutex_);
485 signed_offsets_ = on;
486 }
487 // Every key entry gone at once (the GPU table is cleared by the next pass), for a table filling up.
488 void reset_keys() {
489 std::lock_guard lock(mutex_);
490 keys_.clear_silent();
491 clear_keys_ = true;
492 ++stats_.resets;
493 }
494
495 template <class F>
496 auto with_keys(F&& f) {
497 std::lock_guard lock(mutex_);
498 return f(keys_);
499 }
500
501 bool pending() {
502 std::lock_guard lock(mutex_);
503 return pending_locked();
504 }
505
506 // Records the pass into `cb`, ahead of the submission's lists: the key table updates, then each heap's queued
507 // slots, between barriers that order it after earlier work on the queue and before everything after it (and the
508 // host's read of the miss list). True when something was recorded; commit() must follow the submit.
509 bool record(VkCommandBuffer cb) {
510 std::lock_guard lock(mutex_);
511 if (!pipeline_ || !pending_locked() || in_flight_.size() >= 64) return false;
512 if (clear_keys_) keys_.touch_all();
513 std::vector<std::uint32_t> updates;
514 keys_.take_updates(updates);
515 const std::uint32_t update_count = std::uint32_t(updates.size() / ConsoleHeapKeys::kUpdateWords);
516 std::size_t work = 0;
517 for (const Heap& h : heaps_) work += h.work.size();
518 const VkDeviceSize bytes = VkDeviceSize(kMissHeader + kMissCapacity) * 4 + VkDeviceSize(work) * 4 +
519 VkDeviceSize(updates.size()) * 4 + 64;
520 Pass pass{};
521 if (!acquire_buffer(bytes, pass.buffer)) {
522 for (std::size_t i = 0; i < updates.size(); i += ConsoleHeapKeys::kUpdateWords) keys_.touch(updates[i]);
523 return false;
524 }
525 // A filtered rescan's change spans, merged, as this pass's change tables.
526 bool filtered = false;
527 for (const Heap& h : heaps_) filtered |= h.rescan_filtered && !h.rescan;
528 ConsoleHeapSpans change_shader, change_title;
529 if (filtered) {
530 change_shader = change_shader_;
531 change_title = change_title_;
532 merge_console_heap_spans(change_shader);
533 merge_console_heap_spans(change_title);
534 spans_locked(change_shader_table, change_shader);
535 spans_locked(change_title_table, change_title);
536 }
537 for (unsigned kind = 0; kind < table_count; ++kind) {
538 if (tables_[kind].dirty && !publish(tables_[kind], kind == range_table ? 32 : 16)) {
539 pool_.push_back(pass.buffer);
540 for (std::size_t i = 0; i < updates.size(); i += ConsoleHeapKeys::kUpdateWords) keys_.touch(updates[i]);
541 return false;
542 }
543 pass.versions[kind] = tables_[kind].version;
544 }
545 auto* words = static_cast<std::uint32_t*>(pass.buffer.mapped);
546 words[0] = 0;
547 words[1] = kMissCapacity;
548 words[2] = 0;
549 words[3] = 0;
550 std::size_t at = kMissHeader + kMissCapacity;
551 const VkDeviceAddress base = pass.buffer.address;
552 const VkDeviceAddress update_address = base + at * 4;
553 if (!updates.empty()) std::memcpy(words + at, updates.data(), updates.size() * 4);
554 at += updates.size();
555 const auto barrier = fn<PFN_vkCmdPipelineBarrier>("vkCmdPipelineBarrier");
556 const auto dispatch = fn<PFN_vkCmdDispatch>("vkCmdDispatch");
557 const auto push = fn<PFN_vkCmdPushConstants>("vkCmdPushConstants");
558 // The copies first (another kind of work in the same prelude), then what reads their destinations may run.
559 if (!copies_.empty()) {
560 std::stable_sort(copies_.begin(), copies_.end(), [](const Copy& a, const Copy& b) {
561 return a.src != b.src ? a.src < b.src : a.dst < b.dst;
562 });
563 std::vector<VkBufferCopy> regions;
564 const auto copy = fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer");
565 for (std::size_t i = 0; i < copies_.size();) {
566 std::size_t j = i;
567 regions.clear();
568 while (j < copies_.size() && copies_[j].src == copies_[i].src && copies_[j].dst == copies_[i].dst) {
569 regions.push_back(copies_[j].region);
570 stats_.copy_bytes += copies_[j].region.size;
571 ++j;
572 }
573 copy(cb, copies_[i].src, copies_[i].dst, std::uint32_t(regions.size()), regions.data());
574 stats_.copies += regions.size();
575 i = j;
576 }
577 VkMemoryBarrier copied{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
578 copied.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
579 copied.dstAccessMask = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT;
580 barrier(cb, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 0, 1, &copied, 0, nullptr, 0,
581 nullptr);
582 pass.copies = std::move(copies_);
583 pass.keeps = std::move(keeps_);
584 copies_.clear();
585 keeps_.clear();
586 }
587 // No barrier against the queue's earlier work: one from ALL_COMMANDS made every submission wait for the one
588 // before it to finish.
589 // The pass may then rewrite a slot an earlier submission still reads, as the CPU path's memcpy into the copy
590 // always could.
591 fn<PFN_vkCmdBindPipeline>("vkCmdBindPipeline")(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_);
592 Push p{};
593 const auto address = [&](TableKind kind) { return tables_[kind].current ? tables_[kind].current->address : 0; };
594 p.ranges = address(range_table);
595 p.backed = address(backed_table);
596 p.ask = address(ask_table);
597 p.keys = key_table_.address;
598 p.misses = base;
599 p.range_count = tables_[range_table].current ? tables_[range_table].count : 0;
600 p.backed_count = tables_[backed_table].current ? tables_[backed_table].count : 0;
601 p.ask_count = tables_[ask_table].current ? tables_[ask_table].count : 0;
602 p.flags = (signed_offsets_ ? 1u : 0u) | (use_ask_ ? 2u : 0u);
603 p.key_mask = keys_.mask();
604 if (clear_keys_) {
605 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, key_table_.buffer, 0, VK_WHOLE_SIZE, 0);
606 VkMemoryBarrier filled{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
607 filled.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
608 filled.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
609 barrier(cb, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &filled, 0,
610 nullptr, 0, nullptr);
611 }
612 // New heaps' metadata starts at zero (no half known).
613 bool meta_filled = false;
614 for (Heap& h : heaps_)
615 if (h.meta_clear && h.meta.buffer) {
616 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, h.meta.buffer, 0, VK_WHOLE_SIZE, 0);
617 h.meta_clear = false;
618 meta_filled = true;
619 pass.filled.push_back(int(&h - heaps_.data()));
620 }
621 if (meta_filled) {
622 VkMemoryBarrier filled{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
623 filled.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
624 filled.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
625 barrier(cb, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &filled, 0,
626 nullptr, 0, nullptr);
627 }
628 if (update_count) {
629 p.work = update_address; // MODE_UPDATE's records
630 p.count = update_count;
631 p.mode = 1;
632 push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(p), &p);
633 dispatch(cb, (update_count + 63) / 64, 1, 1);
634 VkMemoryBarrier written{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
635 written.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
636 written.dstAccessMask = VK_ACCESS_SHADER_READ_BIT;
637 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &written, 0,
638 nullptr, 0, nullptr);
639 }
640 p.mode = 0;
641 p.cshader = filtered ? address(change_shader_table) : 0;
642 p.ctitle = filtered ? address(change_title_table) : 0;
643 p.cshader_count = filtered && tables_[change_shader_table].current ? tables_[change_shader_table].count : 0;
644 p.ctitle_count = filtered && tables_[change_title_table].current ? tables_[change_title_table].count : 0;
645 for (unsigned i = 0; i < kMaxHeaps; ++i) {
646 Heap& h = heaps_[i];
647 const bool full = h.rescan != 0;
648 const std::uint32_t slots = full ? std::max(h.rescan, h.rescan_filtered) : h.rescan_filtered;
649 if (!slots) continue;
650 // Before the listed slots, so a slot both rewritten and rescanned ends with its listed (newer) form.
651 p.input_slots = h.input;
652 p.copy_slots = h.copy;
653 p.meta = h.meta.address;
654 p.heap = i;
655 const std::uint32_t flags = p.flags;
656 p.flags |= 4u; // FLAG_RANGE
657 if (!full) p.flags |= 8u; // FLAG_FILTER
658 for (std::uint32_t first = 0; first < slots; first += 65535u * 64u) {
659 const std::uint32_t n = std::min<std::uint32_t>(slots - first, 65535u * 64u);
660 p.work = first;
661 p.count = n;
662 push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(p), &p);
663 dispatch(cb, (n + 63) / 64, 1, 1);
664 (full ? stats_.rescanned : stats_.filtered) += n;
665 }
666 p.flags = flags;
667 pass.rescans.push_back({int(i), slots, !full});
668 h.rescan = h.rescan_filtered = 0;
669 }
670 if (filtered) {
671 pass.change_shader = std::move(change_shader);
672 pass.change_title = std::move(change_title);
673 }
674 change_shader_.clear();
675 change_title_.clear();
676 if (!pass.rescans.empty()) { // the listed slots' writes land after the rescan's
677 VkMemoryBarrier rescanned{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
678 rescanned.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
679 rescanned.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
680 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &rescanned,
681 0, nullptr, 0, nullptr);
682 }
683 for (unsigned i = 0; i < kMaxHeaps; ++i) {
684 Heap& h = heaps_[i];
685 if (h.work.empty()) continue;
686 std::memcpy(words + at, h.work.data(), h.work.size() * 4);
687 pass.work.push_back({int(i), std::move(h.work)});
688 const auto& list = pass.work.back().second;
689 for (const std::uint32_t item : list) h.queued[item & ~kZeroFirst] = 0;
690 h.work.clear();
691 p.input_slots = h.input;
692 p.copy_slots = h.copy;
693 p.meta = h.meta.address;
694 p.heap = i;
695 // At most 65535 groups a dispatch (the guaranteed limit).
696 for (std::size_t first = 0; first < list.size(); first += 65535ull * 64) {
697 const std::uint32_t n = std::uint32_t(std::min<std::size_t>(list.size() - first, 65535ull * 64));
698 p.work = base + (at + first) * 4;
699 p.count = n;
700 push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(p), &p);
701 dispatch(cb, (n + 63) / 64, 1, 1);
702 stats_.slots += n;
703 }
704 at += list.size();
705 }
706 VkMemoryBarrier after{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
707 after.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
708 after.dstAccessMask = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT | VK_ACCESS_HOST_READ_BIT;
709 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT | VK_PIPELINE_STAGE_HOST_BIT,
710 0, 1, &after, 0, nullptr, 0, nullptr);
711 pass.updates = std::move(updates);
712 pass.cleared = clear_keys_;
713 clear_keys_ = false;
714 stats_.updates += update_count;
715 ++stats_.passes;
716 in_flight_.push_back(std::move(pass));
717 return true;
718 }
719
720 // After the submit of the command buffer record() wrote into: `ticket` is a retire ticket at or after that
721 // submission. Not submitted: its slots and updates are queued again.
722 void commit(bool submitted, std::uint64_t ticket) {
723 std::lock_guard lock(mutex_);
724 for (auto it = in_flight_.rbegin(); it != in_flight_.rend(); ++it) {
725 if (it->committed) continue;
726 if (submitted) {
727 it->committed = true;
728 it->ticket = ticket;
729 return;
730 }
731 ++stats_.failed;
732 for (const auto& [heap, list] : it->work)
733 if (heaps_[heap].slots)
734 for (const std::uint32_t item : list) {
735 const std::uint32_t slot = item & ~kZeroFirst;
736 if (slot < heaps_[heap].slots && !heaps_[heap].queued[slot])
737 queue_locked(heap, item);
738 }
739 for (const auto& r : it->rescans) {
740 if (!heaps_[r.heap].slots) continue;
741 auto& to = r.filtered ? heaps_[r.heap].rescan_filtered : heaps_[r.heap].rescan;
742 to = std::max(to, r.slots);
743 }
744 change_shader_.insert(change_shader_.end(), it->change_shader.begin(), it->change_shader.end());
745 change_title_.insert(change_title_.end(), it->change_title.begin(), it->change_title.end());
746 for (const int heap : it->filled)
747 if (heaps_[heap].slots) heaps_[heap].meta_clear = true;
748 copies_.insert(copies_.begin(), it->copies.begin(), it->copies.end());
749 keeps_.insert(keeps_.begin(), it->keeps.begin(), it->keeps.end());
750 for (std::size_t i = 0; i < it->updates.size(); i += ConsoleHeapKeys::kUpdateWords)
751 keys_.touch(it->updates[i]);
752 if (it->cleared) clear_keys_ = true;
753 pool_.push_back(it->buffer);
754 in_flight_.erase(std::next(it).base());
755 return;
756 }
757 }
758
759 // The passes done by `completed` (a completed retire ticket): `miss(heap, slot, half)` for each V# half they
760 // could not answer, `overflow(heap)` for a heap whose misses ran past the list (-1: every heap).
761 template <class Miss, class Overflow>
762 void drain(std::uint64_t completed, Miss&& miss, Overflow&& overflow) {
763 std::vector<Pass> done;
764 {
765 std::lock_guard lock(mutex_);
766 for (auto it = in_flight_.begin(); it != in_flight_.end();) {
767 if (!it->committed || it->ticket > completed) {
768 ++it;
769 continue;
770 }
771 done.push_back(std::move(*it));
772 it = in_flight_.erase(it);
773 }
774 // Tables no pass in flight still reads go back to their pool.
775 for (unsigned kind = 0; kind < table_count; ++kind) {
776 Table& t = tables_[kind];
777 std::uint64_t oldest = t.version;
778 for (const Pass& pass : in_flight_) oldest = std::min(oldest, pass.versions[kind]);
779 for (auto it = t.old.begin(); it != t.old.end();) {
780 if (it->first < oldest) {
781 if (t.pool.size() < 8) t.pool.push_back(it->second);
782 else free_buffer(it->second);
783 it = t.old.erase(it);
784 } else {
785 ++it;
786 }
787 }
788 }
789 }
790 for (Pass& pass : done) {
791 const auto* words = static_cast<const std::uint32_t*>(pass.buffer.mapped);
792 const std::uint32_t count = std::min(words[0], kMissCapacity);
793 for (std::uint32_t i = 0; i < count; ++i) {
794 const std::uint32_t code = words[kMissHeader + i];
795 miss(int(code >> 29), (code >> 1) & ((1u << 28) - 1), code & 1u);
796 }
797 if (words[2]) overflow(-1);
798 std::lock_guard lock(mutex_);
799 stats_.misses += count;
800 stats_.overflows += words[2] ? 1 : 0;
801 pool_.push_back(pass.buffer);
802 }
803 }
804
805 std::size_t in_flight() {
806 std::lock_guard lock(mutex_);
807 return in_flight_.size();
808 }
809 // A pass recorded and not yet committed: its command buffer is on its way to the queue.
810 bool uncommitted() {
811 std::lock_guard lock(mutex_);
812 return std::any_of(in_flight_.begin(), in_flight_.end(), [](const Pass& p) { return !p.committed; });
813 }
814 Stats take_stats() {
815 std::lock_guard lock(mutex_);
816 return std::exchange(stats_, Stats{});
817 }
818
819private:
820 struct Buffer {
821 VkBuffer buffer = VK_NULL_HANDLE;
822 VkDeviceMemory memory = VK_NULL_HANDLE;
823 VkDeviceAddress address = 0;
824 VkDeviceSize size = 0;
825 void* mapped = nullptr;
826 };
827 struct Heap {
828 VkDeviceAddress input = 0, copy = 0;
829 std::uint32_t slots = 0;
830 std::vector<std::uint32_t> work;
831 std::vector<std::uint32_t> queued; // per slot: its position in `work` + 1, 0 when not queued
832 std::uint32_t rescan = 0; // slots [0, rescan) to translate again (rescan())
833 std::uint32_t rescan_filtered = 0; // the same, filtered by the change spans (rescan_filtered())
834 Buffer meta; // device-local, 32 bytes a slot (console_heap_fix.comp meta_of)
835 bool meta_clear = false;
836 };
837 struct Copy {
838 VkBuffer src, dst;
839 VkBufferCopy region;
840 };
841 struct Pass {
842 Buffer buffer;
843 std::array<std::uint64_t, table_count> versions{};
844 struct Rescan {
845 int heap;
846 std::uint32_t slots;
847 bool filtered;
848 };
849 std::vector<Rescan> rescans;
850 ConsoleHeapSpans change_shader, change_title;
851 std::vector<int> filled; // heaps whose metadata this pass zeroed
852 std::vector<Copy> copies;
853 std::vector<std::shared_ptr<void>> keeps;
854 std::vector<std::pair<int, std::vector<std::uint32_t>>> work;
855 std::vector<std::uint32_t> updates;
856 bool cleared = false, committed = false;
857 std::uint64_t ticket = 0;
858 };
859 struct Push {
860 VkDeviceAddress input_slots, copy_slots, work, ranges, keys, misses, backed, ask, meta, cshader, ctitle;
861 std::uint32_t count, range_count, key_mask, mode, heap, backed_count, ask_count, flags, cshader_count,
862 ctitle_count;
863 };
864 static_assert(sizeof(Push) == 128); // the guaranteed maxPushConstantsSize
865 // A table the CPU rebuilds whole (range, backed, ask): each version is its own buffer, kept until no pass in
866 // flight reads it, then reused.
867 struct Table {
868 std::vector<std::uint32_t> words;
869 std::uint32_t count = 0;
870 bool dirty = false;
871 std::unique_ptr<Buffer> current;
872 std::uint64_t version = 0;
873 std::vector<std::pair<std::uint64_t, Buffer>> old;
874 std::vector<Buffer> pool;
875 };
876
877 template <typename T>
878 T fn(const char* name) const {
879 return reinterpret_cast<T>(get_(device_, name));
880 }
881
882 void queue_locked(int heap, std::uint32_t item) {
883 if (heap < 0 || unsigned(heap) >= kMaxHeaps) return;
884 Heap& h = heaps_[heap];
885 const std::uint32_t slot = item & ~kZeroFirst;
886 if (slot >= h.slots) return;
887 if (const std::uint32_t at = h.queued[slot]) {
888 h.work[at - 1] = item;
889 return;
890 }
891 h.work.push_back(item);
892 h.queued[slot] = std::uint32_t(h.work.size());
893 }
894 bool pending_locked() const {
895 if (keys_.has_updates() || clear_keys_ || !copies_.empty()) return true;
896 for (const Heap& h : heaps_)
897 if (!h.work.empty() || h.rescan || h.rescan_filtered) return true;
898 return false;
899 }
900
901 bool publish(Table& t, std::size_t entry_bytes) {
902 Buffer table{};
903 if (t.count) {
904 // A version no pass reads any more, when one is big enough: the tables change at most submissions.
905 const VkDeviceSize bytes = VkDeviceSize(t.count) * entry_bytes;
906 for (auto it = t.pool.begin(); it != t.pool.end(); ++it)
907 if (it->size >= bytes) {
908 table = *it;
909 t.pool.erase(it);
910 break;
911 }
912 // Device-local and host-visible where there is such memory: the pass's binary searches read it a few
913 // dozen times per slot, and from system memory each step was a trip over the bus.
914 if (!table.buffer && !make_buffer(std::max<VkDeviceSize>(bytes + bytes / 2, 64 * 1024), true, table, true))
915 return false;
916 std::memcpy(table.mapped, t.words.data(), t.words.size() * 4);
917 }
918 if (t.current) t.old.emplace_back(t.version, *t.current);
919 t.current.reset();
920 if (table.buffer) t.current = std::make_unique<Buffer>(table);
921 ++t.version;
922 t.dirty = false;
923 ++stats_.tables;
924 return true;
925 }
926
927 bool acquire_buffer(VkDeviceSize bytes, Buffer& out) {
928 for (auto it = pool_.begin(); it != pool_.end(); ++it) {
929 if (it->size < bytes) continue;
930 out = *it;
931 pool_.erase(it);
932 return true;
933 }
934 // Room to grow: the next pass of about this size reuses it.
935 return make_buffer(std::max<VkDeviceSize>(bytes + bytes / 2, 1 << 20), true, out);
936 }
937
938 bool make_buffer(VkDeviceSize bytes, bool host, Buffer& out, bool host_device_local = false) {
939 out = {};
940 VkBufferCreateInfo info{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO};
941 info.size = bytes;
942 info.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT |
943 VK_BUFFER_USAGE_TRANSFER_DST_BIT;
944 if (fn<PFN_vkCreateBuffer>("vkCreateBuffer")(device_, &info, nullptr, &out.buffer) != VK_SUCCESS) return false;
945 VkMemoryRequirements requirements{};
946 fn<PFN_vkGetBufferMemoryRequirements>("vkGetBufferMemoryRequirements")(device_, out.buffer, &requirements);
947 const VkMemoryPropertyFlags required =
948 host ? VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT : 0;
949 const VkMemoryPropertyFlags preferred = host ? 0 : VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
950 VkMemoryAllocateFlagsInfo flags{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO};
951 flags.flags = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT;
952 VkMemoryAllocateInfo allocate{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, &flags};
953 allocate.allocationSize = requirements.size;
954 // Host-visible: system memory first (not the ReBAR heap the title's windows need).
955 std::vector<std::uint32_t> order;
956 if (host && host_device_local) {
957 order = memory_type_order(memory_, requirements.memoryTypeBits, required | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
958 0, requirements.size);
959 for (const std::uint32_t t : memory_type_order(memory_, requirements.memoryTypeBits, required, 0,
960 requirements.size))
961 if (std::find(order.begin(), order.end(), t) == order.end()) order.push_back(t);
962 } else if (host) {
963 order = memory_type_order(memory_, requirements.memoryTypeBits, required | VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
964 0, requirements.size);
965 for (const std::uint32_t t : memory_type_order(memory_, requirements.memoryTypeBits, required, 0,
966 requirements.size))
967 if (std::find(order.begin(), order.end(), t) == order.end()) order.push_back(t);
968 } else {
969 order = memory_type_order(memory_, requirements.memoryTypeBits, required, preferred, requirements.size);
970 }
971 const auto allocate_memory = fn<PFN_vkAllocateMemory>("vkAllocateMemory");
972 for (const std::uint32_t type : order) {
973 allocate.memoryTypeIndex = type;
974 if (allocate_memory(device_, &allocate, nullptr, &out.memory) == VK_SUCCESS) break;
975 out.memory = VK_NULL_HANDLE;
976 }
977 if (!out.memory ||
978 fn<PFN_vkBindBufferMemory>("vkBindBufferMemory")(device_, out.buffer, out.memory, 0) != VK_SUCCESS ||
979 (host && fn<PFN_vkMapMemory>("vkMapMemory")(device_, out.memory, 0, VK_WHOLE_SIZE, 0, &out.mapped) !=
980 VK_SUCCESS)) {
981 free_buffer(out);
982 return false;
983 }
984 VkBufferDeviceAddressInfo address{VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO};
985 address.buffer = out.buffer;
986 out.address = fn<PFN_vkGetBufferDeviceAddress>("vkGetBufferDeviceAddress")(device_, &address);
987 out.size = bytes;
988 if (!out.address) {
989 free_buffer(out);
990 return false;
991 }
992 return true;
993 }
994 void free_buffer(Buffer& b) {
995 if (b.buffer) fn<PFN_vkDestroyBuffer>("vkDestroyBuffer")(device_, b.buffer, nullptr);
996 if (b.memory) fn<PFN_vkFreeMemory>("vkFreeMemory")(device_, b.memory, nullptr); // unmaps
997 b = {};
998 }
999
1000 bool make_pipeline() {
1001 for (const char* name :
1002 {"vkCreateBuffer", "vkDestroyBuffer", "vkGetBufferMemoryRequirements", "vkAllocateMemory", "vkFreeMemory",
1003 "vkBindBufferMemory", "vkMapMemory", "vkGetBufferDeviceAddress", "vkCreateShaderModule",
1004 "vkDestroyShaderModule", "vkCreatePipelineLayout", "vkDestroyPipelineLayout", "vkCreateComputePipelines",
1005 "vkDestroyPipeline", "vkCmdPipelineBarrier", "vkCmdBindPipeline", "vkCmdPushConstants", "vkCmdDispatch",
1006 "vkCmdFillBuffer", "vkCmdCopyBuffer"})
1007 if (!get_(device_, name)) return false;
1008 VkShaderModule module = VK_NULL_HANDLE;
1009 VkShaderModuleCreateInfo shader{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO};
1010 shader.codeSize = sizeof(console_heap_fix_spirv);
1011 shader.pCode = console_heap_fix_spirv;
1012 const aftermath::ShaderName aftermath_name("(runtime) console_heap_fix");
1013 bool ok =
1014 fn<PFN_vkCreateShaderModule>("vkCreateShaderModule")(device_, &shader, nullptr, &module) == VK_SUCCESS;
1015 const VkPushConstantRange range{VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(Push)};
1016 VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO};
1017 layout_info.pushConstantRangeCount = 1;
1018 layout_info.pPushConstantRanges = &range;
1019 VkPipelineLayout layout = VK_NULL_HANDLE;
1020 VkPipeline pipeline = VK_NULL_HANDLE;
1021 ok = ok && fn<PFN_vkCreatePipelineLayout>("vkCreatePipelineLayout")(device_, &layout_info, nullptr, &layout) ==
1022 VK_SUCCESS;
1023 VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO};
1024 info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO};
1025 info.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT;
1026 info.stage.module = module;
1027 info.stage.pName = "main";
1028 info.layout = layout;
1029 ok = ok && fn<PFN_vkCreateComputePipelines>("vkCreateComputePipelines")(device_, VK_NULL_HANDLE, 1, &info,
1030 nullptr, &pipeline) == VK_SUCCESS;
1031 if (module) fn<PFN_vkDestroyShaderModule>("vkDestroyShaderModule")(device_, module, nullptr);
1032 if (!ok) {
1033 if (pipeline) fn<PFN_vkDestroyPipeline>("vkDestroyPipeline")(device_, pipeline, nullptr);
1034 if (layout) fn<PFN_vkDestroyPipelineLayout>("vkDestroyPipelineLayout")(device_, layout, nullptr);
1035 return false;
1036 }
1037 layout_ = layout;
1038 pipeline_ = pipeline;
1039 return true;
1040 }
1041
1042 PFN_vkGetDeviceProcAddr get_;
1043 VkDevice device_;
1044 VkPhysicalDeviceMemoryProperties memory_;
1045 std::mutex mutex_;
1046 VkPipelineLayout layout_ = VK_NULL_HANDLE;
1047 VkPipeline pipeline_ = VK_NULL_HANDLE;
1048 ConsoleHeapKeys keys_;
1049 Buffer key_table_;
1050 bool clear_keys_ = false;
1051 std::array<Heap, kMaxHeaps> heaps_{};
1052 std::array<Table, table_count> tables_{};
1053 bool use_ask_ = false, signed_offsets_ = false;
1054 std::vector<Pass> in_flight_;
1055 std::vector<Buffer> pool_;
1056 std::vector<Copy> copies_;
1057 std::vector<std::shared_ptr<void>> keeps_;
1058 ConsoleHeapSpans change_shader_, change_title_; // pending rescan_filtered() spans
1059 std::vector<Buffer> retired_; // removed heaps' metadata
1060 Stats stats_;
1061};
1062
1063} // namespace leonida
diff --git a/runtime/src/console_heap_slot_records.h b/runtime/src/console_heap_slot_records.h
new file mode 100644
index 000000000..4ab3c3b9d
--- /dev/null
+++ b/runtime/src/console_heap_slot_records.h
@@ -0,0 +1,227 @@
1#pragma once
2// What each buffer V# of a console resource heap's GPU copy resolved to (docs/d3d12_vulkan.md section 3.4), kept in
3// host RAM so that a change of the address space re-fixes exactly the slots it touches.
4//
5// A slot of the copy is the title's descriptor with its V# bases rewritten (DeviceState::fix_console_slot). What a
6// base became depends on things that change after the slot was written: a buffer or window released, an alias range
7// removed, a geometry copy retired, or (for a base nothing backed yet) a buffer, alias or title memory added. Without
8// a record of which slot resolved into which range, a change could only be applied by walking every live slot. Here
9// each V# half (the buffer V# and the UAV counter V# of a slot) records:
10// - base and span: the bytes the title's V# names, [base, base + span) (the base is the V#'s 48 bits);
11// - target: the device address its GPU copy names, [target, target + span); for a half that resolved to nothing,
12// the device address of a copy that was found but refused (not backed yet), or 0;
13// - state: resolved, waiting (written with no base and no records until something backs it) or none.
14// Two indexes find the halves a change touches: by base ("source") and by target. Each holds a half once, under the
15// power-of-two class of its span and the granule of its start (a granule is at least 64 KiB and at least the class),
16// so a range [lo, hi) is answered by visiting, per class in use, the granules from lo - 2^class to hi: the cost is the
17// halves near the range, never the heap. An entry is checked against the record when visited (a half that moved
18// leaves a stale entry behind; a bucket drops its stale entries whenever it has doubled since it was last cleaned).
19// Portable, standard library only: console_heap_slot_records_test exercises it without a GPU.
20#include <algorithm>
21#include <array>
22#include <bit>
23#include <cstddef>
24#include <cstdint>
25#include <cstdlib>
26#include <memory>
27#include <unordered_map>
28#include <vector>
29
30namespace leonida {
31
32// One change since the last submission, as a range; hi is exclusive and greater than lo.
33struct SlotChange {
34 enum Kind : std::uint8_t {
35 target_gone, // device addresses: a backing released, a copy's block destroyed, an alias range's copy gone
36 source_gone, // V# bases: an alias range removed or replaced, or a copy that answered for it gone
37 target_added, // device addresses: a backing added (a refused alias target may be backed now)
38 source_added, // V# bases: an alias range or title memory added, or a backing added at those arena offsets
39 };
40 Kind kind;
41 std::uint64_t lo, hi;
42};
43
44class ConsoleHeapSlotRecords {
45public:
46 enum State : std::uint8_t { none = 0, resolved = 1, waiting = 2 };
47
48 void reset(std::size_t slots) {
49 slots_ = slots;
50 // calloc: the pages of slots never written are never touched (the retail heap uses a tenth of its slots).
51 halves_.reset(slots ? static_cast<Half*>(std::calloc(slots * 2, sizeof(Half))) : nullptr);
52 if (slots && !halves_) slots_ = 0;
53 for (auto& index : indexes_) index = Index{};
54 recorded_ = waiting_ = 0;
55 looked_at_ = 0;
56 }
57 std::size_t slots() const { return slots_; }
58 std::size_t recorded() const { return recorded_; } // halves in state resolved or waiting
59 std::size_t waiting_count() const { return waiting_; } // halves in state waiting
60 std::uint64_t looked_at() const { return looked_at_; } // index entries visited by touched(), all calls
61
62 // Half `half` (0: the buffer V#, 1: the UAV counter V#) of `slot` now names [base, base + span) and resolved as
63 // `state` says, its copy at `target` (see above). span 0 counts as 1.
64 void set(std::size_t slot, unsigned half, State state, std::uint64_t base, std::uint64_t span,
65 std::uint64_t target) {
66 if (slot >= slots_ || half > 1) return;
67 if (state == none) base = span = target = 0;
68 if (!span) span = 1;
69 if (span > kMaxSpan) span = kMaxSpan;
70 const std::size_t key = slot * 2 + half;
71 Half& h = halves_[key];
72 const Half old = h;
73 count(old.state(), -1);
74 h.base = base;
75 h.target = target;
76 h.span_state = span | (std::uint64_t(state) << 56);
77 count(state, +1);
78 if (state == none) return; // entries left behind are stale now
79 const auto add = [&](int which, std::uint64_t start, std::uint64_t old_start) {
80 const unsigned c = span_class(span);
81 const std::uint64_t granule = start >> granule_shift(c);
82 // Unchanged key: the entry already there stands for it.
83 if (old.state() != none && (which == kSource || old.target) && span_class(old.span()) == c &&
84 (old_start >> granule_shift(c)) == granule)
85 return;
86 push(which, c, granule, std::uint32_t(key));
87 };
88 add(kSource, base, old.base);
89 if (target) add(kTarget, target, old.target);
90 }
91
92 void clear(std::size_t slot) {
93 set(slot, 0, none, 0, 0, 0);
94 set(slot, 1, none, 0, 0, 0);
95 }
96 void clear_range(std::size_t first, std::size_t end) {
97 end = (std::min)(end, slots_);
98 for (std::size_t slot = first; slot < end; ++slot)
99 for (unsigned half = 0; half < 2; ++half)
100 if (halves_[slot * 2 + half].state() != none) set(slot, half, none, 0, 0, 0);
101 }
102
103 State state(std::size_t slot, unsigned half) const {
104 return slot < slots_ && half < 2 ? halves_[slot * 2 + half].state() : none;
105 }
106 std::uint64_t target(std::size_t slot, unsigned half) const {
107 return slot < slots_ && half < 2 ? halves_[slot * 2 + half].target : 0;
108 }
109
110 // The slots `changes` touch, each once, ascending, appended to `out` (cleared first):
111 // target_gone: halves whose [target, target + span) overlaps the range (whatever their state);
112 // source_gone: halves whose [base, base + span) overlaps it;
113 // target_added, source_added: the same, waiting halves only (a resolved one stays valid until something goes).
114 void touched(const SlotChange* changes, std::size_t count, std::vector<std::uint32_t>& out) {
115 out.clear();
116 for (std::size_t i = 0; i < count; ++i) {
117 const SlotChange& change = changes[i];
118 if (change.hi <= change.lo) continue;
119 const bool target = change.kind == SlotChange::target_gone || change.kind == SlotChange::target_added;
120 const bool waiting_only = change.kind == SlotChange::target_added || change.kind == SlotChange::source_added;
121 find(target ? kTarget : kSource, change.lo, change.hi, waiting_only, out);
122 }
123 std::sort(out.begin(), out.end());
124 out.erase(std::unique(out.begin(), out.end()), out.end());
125 }
126
127private:
128 static constexpr int kSource = 0, kTarget = 1;
129 static constexpr std::uint64_t kMaxSpan = (std::uint64_t(1) << 56) - 1;
130 static constexpr unsigned kMinGranule = 16; // 64 KiB
131 static constexpr unsigned kClasses = 57;
132
133 struct Half {
134 std::uint64_t base, target, span_state;
135 std::uint64_t span() const { return span_state & kMaxSpan; }
136 State state() const { return State(span_state >> 56); }
137 };
138 struct Free {
139 void operator()(Half* p) const { std::free(p); }
140 };
141 struct Bucket {
142 std::vector<std::uint32_t> keys;
143 std::size_t clean = 0; // its size when it was last cleaned
144 };
145 struct Index {
146 std::array<std::unordered_map<std::uint64_t, Bucket>, kClasses> classes;
147 std::uint64_t used = 0; // a bit per class that ever held an entry
148 };
149
150 // The smallest c with span <= 2^c.
151 static unsigned span_class(std::uint64_t span) {
152 return span <= 1 ? 0u : unsigned(64 - std::countl_zero(span - 1));
153 }
154 static unsigned granule_shift(unsigned c) { return c < kMinGranule ? kMinGranule : c; }
155
156 void count(State state, int delta) {
157 if (state != none) recorded_ += std::size_t(std::ptrdiff_t(delta));
158 if (state == waiting) waiting_ += std::size_t(std::ptrdiff_t(delta));
159 }
160
161 // Whether index `which` still holds `key` under (c, granule).
162 bool current(int which, std::uint32_t key, unsigned c, std::uint64_t granule) const {
163 const Half& h = halves_[key];
164 if (h.state() == none || span_class(h.span()) != c) return false;
165 if (which == kTarget && !h.target) return false;
166 return ((which == kSource ? h.base : h.target) >> granule_shift(c)) == granule;
167 }
168
169 void push(int which, unsigned c, std::uint64_t granule, std::uint32_t key) {
170 Index& index = indexes_[which];
171 index.used |= std::uint64_t(1) << c;
172 Bucket& bucket = index.classes[c][granule];
173 bucket.keys.push_back(key);
174 if (bucket.keys.size() < 32 || bucket.keys.size() < 2 * bucket.clean) return;
175 auto& keys = bucket.keys;
176 keys.erase(std::remove_if(keys.begin(), keys.end(),
177 [&](std::uint32_t k) { return !current(which, k, c, granule); }),
178 keys.end());
179 std::sort(keys.begin(), keys.end());
180 keys.erase(std::unique(keys.begin(), keys.end()), keys.end());
181 bucket.clean = keys.size();
182 }
183
184 void find(int which, std::uint64_t lo, std::uint64_t hi, bool waiting_only, std::vector<std::uint32_t>& out) {
185 Index& index = indexes_[which];
186 for (std::uint64_t used = index.used; used; used &= used - 1) {
187 const unsigned c = unsigned(std::countr_zero(used));
188 auto& buckets = index.classes[c];
189 if (buckets.empty()) continue;
190 const unsigned shift = granule_shift(c);
191 // A half of this class overlaps [lo, hi) only if it starts in (lo - 2^c, hi).
192 const std::uint64_t reach = std::uint64_t(1) << c;
193 const std::uint64_t first = (lo >= reach ? lo - reach + 1 : 0) >> shift;
194 const std::uint64_t last = (hi - 1) >> shift;
195 const auto visit = [&](std::uint64_t granule, const Bucket& bucket) {
196 for (const std::uint32_t key : bucket.keys) {
197 ++looked_at_;
198 if (!current(which, key, c, granule)) continue;
199 const Half& h = halves_[key];
200 if (waiting_only && h.state() != waiting) continue;
201 const std::uint64_t start = which == kSource ? h.base : h.target;
202 const std::uint64_t span = h.span();
203 const std::uint64_t end = start + span < start ? UINT64_MAX : start + span;
204 if (start < hi && end > lo) out.push_back(key >> 1);
205 }
206 };
207 if (last - first >= buckets.size()) {
208 for (const auto& [granule, bucket] : buckets)
209 if (granule >= first && granule <= last) visit(granule, bucket);
210 } else {
211 for (std::uint64_t granule = first;; ++granule) {
212 const auto it = buckets.find(granule);
213 if (it != buckets.end()) visit(granule, it->second);
214 if (granule == last) break;
215 }
216 }
217 }
218 }
219
220 std::size_t slots_ = 0;
221 std::unique_ptr<Half[], Free> halves_;
222 std::array<Index, 2> indexes_;
223 std::size_t recorded_ = 0, waiting_ = 0;
224 std::uint64_t looked_at_ = 0;
225};
226
227} // namespace leonida
diff --git a/runtime/src/cpu_emulation.h b/runtime/src/cpu_emulation.h
index 8df3b55d0..e72587434 100644
--- a/runtime/src/cpu_emulation.h
+++ b/runtime/src/cpu_emulation.h
@@ -45,6 +45,8 @@ struct Decoded {
45 45
46// One of the encodings above at `code` (`avail` readable bytes), or Op::none. 46// One of the encodings above at `code` (`avail` readable bytes), or Op::none.
47inline Decoded decode(const uint8_t* code, std::size_t avail) { 47inline Decoded decode(const uint8_t* code, std::size_t avail) {
48 if (!code) return {};
49 if (avail > 15) avail = 15; // architectural x86-64 maximum instruction length
48 Decoded d; 50 Decoded d;
49 std::size_t i = 0; 51 std::size_t i = 0;
50 bool p66 = false, pf2 = false, pf3 = false; 52 bool p66 = false, pf2 = false, pf3 = false;
@@ -186,10 +188,12 @@ inline std::atomic<uint64_t>& count(Op op) {
186 return counts[int(op)]; 188 return counts[int(op)];
187} 189}
188 190
189// 0 when the page holding `addr` can be written; otherwise the exception a write raises there. A guard page loses 191// 0 when the page holding `addr` can be written (and sets `region_end` to the end of the contiguous committed
192// writable region returned by VirtualQuery); otherwise the exception a write raises there. A guard page loses
190// its guard on that first touch and reports STATUS_GUARD_PAGE_VIOLATION, as the system does for a real access. 193// its guard on that first touch and reports STATUS_GUARD_PAGE_VIOLATION, as the system does for a real access.
191inline DWORD writable(uint64_t addr) { 194inline DWORD writable_region(uint64_t addr, uint64_t& region_end) {
192 MEMORY_BASIC_INFORMATION mbi; 195 region_end = addr;
196 MEMORY_BASIC_INFORMATION mbi{};
193 if (!VirtualQuery(reinterpret_cast<void*>(addr), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT) 197 if (!VirtualQuery(reinterpret_cast<void*>(addr), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT)
194 return DWORD(STATUS_ACCESS_VIOLATION); 198 return DWORD(STATUS_ACCESS_VIOLATION);
195 if (mbi.Protect & PAGE_GUARD) { 199 if (mbi.Protect & PAGE_GUARD) {
@@ -200,19 +204,33 @@ inline DWORD writable(uint64_t addr) {
200 const DWORD p = mbi.Protect & 0xFF; 204 const DWORD p = mbi.Protect & 0xFF;
201 const bool ok = p == PAGE_READWRITE || p == PAGE_WRITECOPY || p == PAGE_EXECUTE_READWRITE || 205 const bool ok = p == PAGE_READWRITE || p == PAGE_WRITECOPY || p == PAGE_EXECUTE_READWRITE ||
202 p == PAGE_EXECUTE_WRITECOPY; 206 p == PAGE_EXECUTE_WRITECOPY;
203 return ok ? 0 : DWORD(STATUS_ACCESS_VIOLATION); 207 if (!ok) return DWORD(STATUS_ACCESS_VIOLATION);
208 const uint64_t base = reinterpret_cast<uint64_t>(mbi.BaseAddress);
209 if (addr < base || addr - base >= mbi.RegionSize) return DWORD(STATUS_ACCESS_VIOLATION);
210 const uint64_t avail = mbi.RegionSize - (addr - base);
211 region_end = avail > UINT64_MAX - addr ? UINT64_MAX : addr + avail;
212 return 0;
213}
214
215inline DWORD writable(uint64_t addr) {
216 uint64_t region_end = 0;
217 return writable_region(addr, region_end);
204} 218}
205 219
206// How many of the `want` bytes at `addr` can be read, by page protection (no fault is taken to find out). 220// How many of the `want` bytes at `addr` can be read, by page protection (no fault is taken to find out).
207inline std::size_t readable(uint64_t addr, std::size_t want) { 221inline std::size_t readable(uint64_t addr, std::size_t want) {
208 std::size_t got = 0; 222 std::size_t got = 0;
209 while (got < want) { 223 while (got < want) {
210 MEMORY_BASIC_INFORMATION mbi; 224 if (got > UINT64_MAX - addr) break;
211 if (!VirtualQuery(reinterpret_cast<void*>(addr + got), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT || 225 const uint64_t cur = addr + got;
226 MEMORY_BASIC_INFORMATION mbi{};
227 if (!VirtualQuery(reinterpret_cast<void*>(cur), &mbi, sizeof mbi) || mbi.State != MEM_COMMIT ||
212 (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS)) || !mbi.Protect) 228 (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS)) || !mbi.Protect)
213 break; 229 break;
214 const uint64_t end = reinterpret_cast<uint64_t>(mbi.BaseAddress) + mbi.RegionSize; 230 const uint64_t base = reinterpret_cast<uint64_t>(mbi.BaseAddress);
215 got += std::size_t(end - (addr + got)) < want - got ? std::size_t(end - (addr + got)) : want - got; 231 if (cur < base || cur - base >= mbi.RegionSize) break;
232 const uint64_t avail = mbi.RegionSize - (cur - base);
233 got += avail < want - got ? static_cast<std::size_t>(avail) : want - got;
216 } 234 }
217 return got; 235 return got;
218} 236}
@@ -315,15 +333,17 @@ inline ClzeroLoopResult try_clzero_loop(const uint8_t* code, std::size_t avail,
315 333
316 const uint64_t start = c->Rax; 334 const uint64_t start = c->Rax;
317 const uint64_t limit = gpr_read(c, limit_reg); 335 const uint64_t limit = gpr_read(c, limit_reg);
318 if ((start & 63) != 0 || limit <= start + 64) return ClzeroLoopResult::no_match; 336 if ((start & 63) != 0 || limit <= start || limit - start <= 64) return ClzeroLoopResult::no_match;
319 337
320 uint64_t total = (limit - start + 63) & ~uint64_t(63); 338 const uint64_t span = limit - start;
321 constexpr uint64_t kMaxBatch = uint64_t(64) << 20; 339 constexpr uint64_t kMaxBatch = uint64_t(64) << 20;
322 if (total > kMaxBatch) total = kMaxBatch; 340 const uint64_t total = span >= kMaxBatch ? kMaxBatch : ((span + 63) & ~uint64_t(63));
341 if (total > UINT64_MAX - start) return ClzeroLoopResult::no_match;
323 const uint64_t end = start + total; 342 const uint64_t end = start + total;
324 343
325 for (uint64_t cur = start; cur < end;) { 344 for (uint64_t cur = start; cur < end;) {
326 const DWORD err = writable(cur); 345 uint64_t region_end = cur;
346 const DWORD err = writable_region(cur, region_end);
327 if (err) { 347 if (err) {
328 if (cur > start) { 348 if (cur > start) {
329 std::memset(reinterpret_cast<void*>(start), 0, std::size_t(cur - start)); 349 std::memset(reinterpret_cast<void*>(start), 0, std::size_t(cur - start));
@@ -339,8 +359,7 @@ inline ClzeroLoopResult try_clzero_loop(const uint8_t* code, std::size_t avail,
339 } 359 }
340 return ClzeroLoopResult::faulted; 360 return ClzeroLoopResult::faulted;
341 } 361 }
342 const uint64_t next_page = (cur & ~uint64_t(0xFFF)) + 0x1000; 362 cur = region_end < end ? region_end : end;
343 cur = next_page < end ? next_page : end;
344 } 363 }
345 364
346 std::memset(reinterpret_cast<void*>(start), 0, std::size_t(total)); 365 std::memset(reinterpret_cast<void*>(start), 0, std::size_t(total));
@@ -350,6 +369,90 @@ inline ClzeroLoopResult try_clzero_loop(const uint8_t* code, std::size_t avail,
350 return ClzeroLoopResult::ok; 369 return ClzeroLoopResult::ok;
351} 370}
352 371
372// CLWB is rewritten in place at its first #UD, so a loop over a buffer faults once instead of once per cache line.
373// The retail title's GPU upload worker flushes whole buffers that way (exe+0x532f1b0 on 1.0.2.1); under Wine a #UD
374// costs tens of microseconds, which kept that worker busy for minutes per buffer and the boot waiting on it.
375// 66 0F AE /6 (CLWB) becomes 66 0F AE /7 (CLFLUSHOPT): the same operand and length, and it writes the line back too
376// (then evicts it). A host without CLFLUSHOPT gets 66 0F 1F /0, a NOP of the same length that touches no memory.
377// LEONIDA_CLWB_PATCH=0 keeps emulating every execution instead.
378// Threads of that worker reach the same site together: a #UD handled after another thread rewrote the site finds
379// the new instruction there and continues at it, and the rewrite itself is done once, under a lock.
380
381// 1: rewrite as CLFLUSHOPT, 2: as the NOP (no CLFLUSHOPT on this host), 0: LEONIDA_CLWB_PATCH=0.
382inline int clwb_patch_mode() {
383 static const int mode = [] {
384 char value[4]{};
385 if (GetEnvironmentVariableA("LEONIDA_CLWB_PATCH", value, sizeof(value)) > 0 && value[0] == '0') return 0;
386 int r[4];
387 __cpuidex(r, 7, 0);
388 return ((r[1] >> 23) & 1) ? 1 : 2; // EBX bit 23: CLFLUSHOPT
389 }();
390 return mode;
391}
392
393// How many CLWB sites were rewritten so far; each counts once, by the thread that wrote it.
394inline std::atomic<unsigned>& clwb_sites() {
395 static std::atomic<unsigned> sites{0};
396 return sites;
397}
398
399// True when `code` (`avail` bytes at a #UD) holds the form patch_clwb writes on this host, or the NOP's halfway
400// state (66 0F 1F /6): another thread rewrote the site after this thread's #UD. Neither form raises #UD here, so the
401// thread continues at the site and the CPU runs it.
402inline bool clwb_rewritten(const uint8_t* code, std::size_t avail) {
403 const int mode = clwb_patch_mode();
404 if (!mode) return false;
405 std::size_t i = 0;
406 bool p66 = false;
407 for (; i < avail && i < 14; ++i) {
408 const uint8_t b = code[i];
409 if (b == 0x66) p66 = true;
410 else if (!((b & 0xF0) == 0x40 || b == 0x67 || b == 0x2E || b == 0x3E || b == 0x26 || b == 0x36 ||
411 b == 0x64 || b == 0x65)) break;
412 }
413 if (!p66 || i + 3 > avail || code[i] != 0x0F || (code[i + 2] >> 6) == 3) return false;
414 const int reg = (code[i + 2] >> 3) & 7;
415 return mode == 1 ? code[i + 1] == 0xAE && reg == 7 : code[i + 1] == 0x1F && (reg == 0 || reg == 6);
416}
417
418inline bool patch_clwb(uint64_t rip, const uint8_t* code, std::size_t length) {
419 const int mode = clwb_patch_mode();
420 if (!mode) return false;
421 std::size_t at = 0;
422 while (at + 2 < length && !(code[at] == 0x0F && code[at + 1] == 0xAE)) ++at;
423 if (at + 2 >= length) return false;
424 const uint8_t opcode = mode == 1 ? 0xAE : 0x1F;
425 const uint8_t modrm = mode == 1 ? uint8_t(code[at + 2] | 0x08) : uint8_t(code[at + 2] & ~0x38); // reg 7 or 0
426 void* const where = reinterpret_cast<void*>(rip + at);
427 volatile uint8_t* const live = static_cast<volatile uint8_t*>(where);
428 // One thread at a time unprotects, checks, writes and protects again: without the lock a thread could write into
429 // a page another one has just set back to read-execute, or set it back to the read-write-execute it found.
430 static SRWLOCK lock = SRWLOCK_INIT;
431 AcquireSRWLockExclusive(&lock);
432 bool ok = live[1] == opcode && live[2] == modrm; // another thread rewrote it since this thread's #UD
433 bool wrote = false;
434 DWORD old = 0;
435 if (!ok && live[0] == 0x0F && live[1] == 0xAE && live[2] == code[at + 2] &&
436 VirtualProtect(where, 3, PAGE_EXECUTE_READWRITE, &old)) {
437 // Opcode first: between the two stores a thread running the site sees 66 0F 1F /6, a NOP as well. ModRM first
438 // would show it 66 0F AE /0, FXSAVE's encoding with a 66 the SDM does not allow (a 512-byte store at the
439 // operand, or a #UD that is no longer CLWB). CLFLUSHOPT only changes ModRM, one store.
440 if (live[1] != opcode) live[1] = opcode;
441 live[2] = modrm;
442 VirtualProtect(where, 3, old, &old);
443 FlushInstructionCache(GetCurrentProcess(), where, 3);
444 ok = wrote = true;
445 }
446 ReleaseSRWLockExclusive(&lock);
447 if (wrote) {
448 const unsigned n = ++clwb_sites();
449 if (n <= 4 || !(n & (n - 1)))
450 std::fprintf(stderr, "[rt] cpu: CLWB at %p rewritten as %s (%u sites so far)\n",
451 reinterpret_cast<void*>(rip), mode == 1 ? "CLFLUSHOPT" : "a NOP", n);
452 }
453 return ok;
454}
455
353inline LONG CALLBACK handler(EXCEPTION_POINTERS* info) { 456inline LONG CALLBACK handler(EXCEPTION_POINTERS* info) {
354 if (info->ExceptionRecord->ExceptionCode != STATUS_ILLEGAL_INSTRUCTION) return EXCEPTION_CONTINUE_SEARCH; 457 if (info->ExceptionRecord->ExceptionCode != STATUS_ILLEGAL_INSTRUCTION) return EXCEPTION_CONTINUE_SEARCH;
355 CONTEXT* c = info->ContextRecord; 458 CONTEXT* c = info->ContextRecord;
@@ -357,7 +460,9 @@ inline LONG CALLBACK handler(EXCEPTION_POINTERS* info) {
357 const std::size_t avail = readable(c->Rip, sizeof code); // the instruction may end at a page boundary 460 const std::size_t avail = readable(c->Rip, sizeof code); // the instruction may end at a page boundary
358 std::memcpy(code, reinterpret_cast<const void*>(c->Rip), avail); 461 std::memcpy(code, reinterpret_cast<const void*>(c->Rip), avail);
359 const Decoded d = decode(code, avail); 462 const Decoded d = decode(code, avail);
360 if (d.op == Op::none) return EXCEPTION_CONTINUE_SEARCH; 463 if (d.op == Op::none)
464 return clwb_rewritten(code, avail) ? EXCEPTION_CONTINUE_EXECUTION : EXCEPTION_CONTINUE_SEARCH;
465 if (d.op == Op::clwb && patch_clwb(c->Rip, code, d.length)) return EXCEPTION_CONTINUE_EXECUTION;
361 EXCEPTION_RECORD fault; 466 EXCEPTION_RECORD fault;
362 if (d.op == Op::clzero && !d.addr32 && d.length == 3) { 467 if (d.op == Op::clzero && !d.addr32 && d.length == 3) {
363 const uint64_t fault_rip = c->Rip; 468 const uint64_t fault_rip = c->Rip;
diff --git a/runtime/src/deferred_image_binding.h b/runtime/src/deferred_image_binding.h
index 668cf593d..6ef544199 100644
--- a/runtime/src/deferred_image_binding.h
+++ b/runtime/src/deferred_image_binding.h
@@ -11,12 +11,13 @@ class DeferredImageBinding {
11public: 11public:
12 using Bind = bool (*)(void*); 12 using Bind = bool (*)(void*);
13 DeferredImageBinding(void* owner, Bind bind) : owner_(owner), bind_(bind) {} 13 DeferredImageBinding(void* owner, Bind bind) : owner_(owner), bind_(bind) {}
14 void* owner() const { return owner_; }
14 bool bound() const { return bound_.load(std::memory_order_acquire); } 15 bool bound() const { return bound_.load(std::memory_order_acquire); }
15 bool ensure() { 16 bool ensure() {
16 if (bound()) return true; 17 if (bound()) return true;
17 std::lock_guard lock(mutex_); 18 std::lock_guard lock(mutex_);
18 if (bound()) return true; 19 if (bound()) return true;
19 if (!bind_(owner_)) return false; 20 if (!bind_ || !bind_(owner_)) return false;
20 bound_.store(true, std::memory_order_release); 21 bound_.store(true, std::memory_order_release);
21 return true; 22 return true;
22 } 23 }
diff --git a/runtime/src/depth24.h b/runtime/src/depth24.h
index b9100297b..e07c7f7d4 100644
--- a/runtime/src/depth24.h
+++ b/runtime/src/depth24.h
@@ -9,6 +9,7 @@
9 9
10#include <vulkan/vulkan.h> 10#include <vulkan/vulkan.h>
11 11
12#include <bit>
12#include <cmath> 13#include <cmath>
13#include <cstdint> 14#include <cstdint>
14 15
@@ -28,19 +29,44 @@ inline constexpr std::uint32_t depth24_max = 0xffffff;
28// The conversion of a float to a 24-bit UNORM as WARP and AMD's D3D12 drivers do it (measured against both, 5215 29// The conversion of a float to a 24-bit UNORM as WARP and AMD's D3D12 drivers do it (measured against both, 5215
29// clear values, ties and their neighbours included, in d3d12_depth24_compare.h): NaN and values below 0 give 0, 1 and above the 30// clear values, ties and their neighbours included, in d3d12_depth24_compare.h): NaN and values below 0 give 0, 1 and above the
30// maximum, anything in between multiplies by 2^24 - 1 in float (a rounded product, so a value a hair over a tie can 31// maximum, anything in between multiplies by 2^24 - 1 in float (a rounded product, so a value a hair over a tie can
31// land on it) and then rounds to nearest, ties to even (std::nearbyint's default mode). NVIDIA's D3D12 driver breaks 32// land on it) and then rounds to nearest, ties to even. NVIDIA's D3D12 driver breaks
32// some of those ties the other way, and its Vulkan driver, which has a native D24, agrees with it; a texture the 33// some of those ties the other way, and its Vulkan driver, which has a native D24, agrees with it; a texture the
33// layer stores as D32 follows WARP and AMD, which is what the Xbox build's own hardware is. 34// layer stores as D32 follows WARP and AMD, which is what the Xbox build's own hardware is.
35//
36// Both roundings (the product to a float, the float to an integer) are the GPU's round-to-nearest-even whatever the
37// calling thread's floating-point rounding mode: a clear can run on a thread that set FE_DOWNWARD or FE_TOWARDZERO,
38// and a float multiply, std::nearbyint and a double-to-float conversion all follow that mode (0x1p-23f gives 1 rather
39// than 2 when rounding down). So the product is formed exactly in a double (24 bits times 24 bits fit in 53, so no
40// rounding happens in any mode) and rounded by depth24_detail::round_even, which uses floor, fmod and ldexp only: those
41// are exact in every mode and need no fenv access.
42namespace depth24_detail {
43// x >= 0 and below 2^52 with x + 0.5 exact (callers pass at most 24 integer bits and 24 fraction bits).
44inline double round_even(double x) {
45 const double r = std::floor(x + 0.5);
46 return r - x == 0.5 && std::fmod(r, 2.0) != 0.0 ? r - 1.0 : r;
47}
48} // namespace depth24_detail
49
34inline std::uint32_t depth24_quantize(float value) { 50inline std::uint32_t depth24_quantize(float value) {
35 if (!(value > 0.0f)) return 0; 51 if (!(value > 0.0f)) return 0;
36 if (value >= 1.0f) return depth24_max; 52 if (value >= 1.0f) return depth24_max;
37 const float product = value * 16777215.0f; // a float multiply, not a double one 53 const double exact = double(value) * 16777215.0; // exact: 24 + 24 bits
38 return static_cast<std::uint32_t>(std::nearbyint(product)); 54 // The float product the GPU multiply gives: 24 significant bits, ties to even.
55 int exponent = 0;
56 std::frexp(exact, &exponent); // exact = f * 2^exponent, f in [0.5, 1)
57 const double product = std::ldexp(depth24_detail::round_even(std::ldexp(exact, 24 - exponent)), exponent - 24);
58 return static_cast<std::uint32_t>(depth24_detail::round_even(product));
39} 59}
40 60
41// The float stored for a 24-bit UNORM: the nearest float to d / 16777215 (quantising it gives d back). 61// The float stored for a 24-bit UNORM: the nearest float to d / 16777215 (quantising it gives d back). The same
62// arithmetic as depth24_convert.comp, no division: for d = m * 2^(e-23), m of 24 bits, the quotient is exactly
63// float(m + 1) * 2^(e-47) (see the shader). Every step is exact, so the thread's rounding mode does not matter.
42inline float depth24_to_float(std::uint32_t d) { 64inline float depth24_to_float(std::uint32_t d) {
43 return static_cast<float>(double(d & depth24_max) / double(depth24_max)); 65 d &= depth24_max;
66 if (d == 0) return 0.0f;
67 const int e = std::bit_width(d) - 1;
68 const std::uint32_t m = d << (23 - e);
69 return std::ldexp(static_cast<float>(m + 1u), e - 47);
44} 70}
45 71
46// A depth value as the layer's D32 must hold it for a D24 texture: what a clear writes, so that reading the texture 72// A depth value as the layer's D32 must hold it for a D24 texture: what a clear writes, so that reading the texture
diff --git a/runtime/src/depth24_fragment.h b/runtime/src/depth24_fragment.h
index d32f975b2..4c212ee5c 100644
--- a/runtime/src/depth24_fragment.h
+++ b/runtime/src/depth24_fragment.h
@@ -55,7 +55,8 @@ enum : std::uint32_t {
55 op_function = 54, op_function_end = 56, op_variable = 59, op_load = 61, op_store = 62, op_decorate = 71, 55 op_function = 54, op_function_end = 56, op_variable = 59, op_load = 61, op_store = 62, op_decorate = 71,
56 op_composite_extract = 81, op_convert_f_to_u = 109, op_convert_u_to_f = 112, op_bitcast = 124, op_i_add = 128, 56 op_composite_extract = 81, op_convert_f_to_u = 109, op_convert_u_to_f = 112, op_bitcast = 124, op_i_add = 128,
57 op_f_add = 129, op_i_sub = 130, op_f_mul = 133, op_select = 169, op_i_equal = 170, op_u_greater_than = 172, 57 op_f_add = 129, op_i_sub = 130, op_f_mul = 133, op_select = 169, op_i_equal = 170, op_u_greater_than = 172,
58 op_u_greater_than_equal = 174, op_shift_left_logical = 196, op_dpdx = 207, op_dpdy = 208, op_label = 248, 58 op_u_greater_than_equal = 174, op_shift_right_logical = 194, op_shift_left_logical = 196, op_dpdx = 207,
59 op_dpdy = 208, op_label = 248,
59 op_return = 253, op_no_line = 317, op_execution_mode_id = 331, 60 op_return = 253, op_no_line = 317, op_execution_mode_id = 331,
60}; 61};
61enum : std::uint32_t { storage_input = 1, storage_output = 3 }; 62enum : std::uint32_t { storage_input = 1, storage_output = 3 };
@@ -182,12 +183,18 @@ public:
182 constants_.push_back({t, value, id}); 183 constants_.push_back({t, value, id});
183 return id; 184 return id;
184 } 185 }
186 bool is_depth16() const { return levels_ == 65535.0f; }
187
185 // Declares what quantise() uses, so it can run inside apply() (at returns) without adding globals. 188 // Declares what quantise() uses, so it can run inside apply() (at returns) without adding globals.
186 void prime_quantise() { 189 void prime_quantise() {
187 t_bool(); 190 t_bool();
188 glsl(); 191 glsl();
189 for (float f : {levels_, 0.0f}) f32(f); 192 for (float f : {levels_, 0.0f}) f32(f);
190 for (std::uint32_t u : {0x3f800000u, 0xffffffu, 0x7f800000u, 0u, 23u, 1u, 80u}) u32(u); 193 if (is_depth16()) {
194 for (std::uint32_t u : {0x3f800000u, 0xffffu, 0x7f800000u, 0u, 15u, 8u, 128u, 88u, 23u}) u32(u);
195 } else {
196 for (std::uint32_t u : {0x3f800000u, 0xffffffu, 0x7f800000u, 0u, 23u, 1u, 80u}) u32(u);
197 }
191 } 198 }
192 std::uint32_t f32(float f) { return constant(t_float(), bits(f)); } 199 std::uint32_t f32(float f) { return constant(t_float(), bits(f)); }
193 std::uint32_t u32(std::uint32_t u) { return constant(t_uint(), u); } 200 std::uint32_t u32(std::uint32_t u) { return constant(t_uint(), u); }
@@ -245,9 +252,11 @@ public:
245 return id; 252 return id;
246 } 253 }
247 254
248 // depth24_to_float(depth24_from_bits(z)) of depth24_convert.comp, branch-free. 255 // Quantise z to D24 (levels_ == 16777215.0f) or D16 (levels_ == 65535.0f) and reconstruct the nearest float
256 // to d / levels_ without floating-point division (SPIR-V OpFDiv only guarantees 2.5 ULP), branch-free.
249 std::uint32_t quantise(std::vector<Inst>& code, std::uint32_t z) { 257 std::uint32_t quantise(std::vector<Inst>& code, std::uint32_t z) {
250 const std::uint32_t tf = t_float(), tu = t_uint(), tb = t_bool(); 258 const std::uint32_t tf = t_float(), tu = t_uint(), tb = t_bool();
259 const std::uint32_t max_code = is_depth16() ? 0xffffu : 0xffffffu;
251 const std::uint32_t b = emit(code, op_bitcast, tu, {z}); 260 const std::uint32_t b = emit(code, op_bitcast, tu, {z});
252 const std::uint32_t product = emit(code, op_f_mul, tf, {z, f32(levels_)}); 261 const std::uint32_t product = emit(code, op_f_mul, tf, {z, f32(levels_)});
253 const std::uint32_t rounded = ext(code, tf, glsl_round_even, {product}); 262 const std::uint32_t rounded = ext(code, tf, glsl_round_even, {product});
@@ -256,17 +265,36 @@ public:
256 f32(levels_)}); 265 f32(levels_)});
257 const std::uint32_t code_mid = emit(code, op_convert_f_to_u, tu, {safe}); 266 const std::uint32_t code_mid = emit(code, op_convert_f_to_u, tu, {safe});
258 const std::uint32_t at_least_one = emit(code, op_u_greater_than_equal, tb, {b, u32(0x3f800000u)}); 267 const std::uint32_t at_least_one = emit(code, op_u_greater_than_equal, tb, {b, u32(0x3f800000u)});
259 const std::uint32_t code_hi = emit(code, op_select, tu, {at_least_one, u32(0xffffffu), code_mid}); 268 const std::uint32_t code_hi = emit(code, op_select, tu, {at_least_one, u32(max_code), code_mid});
260 const std::uint32_t negative_or_nan = emit(code, op_u_greater_than, tb, {b, u32(0x7f800000u)}); 269 const std::uint32_t negative_or_nan = emit(code, op_u_greater_than, tb, {b, u32(0x7f800000u)});
261 const std::uint32_t d = emit(code, op_select, tu, {negative_or_nan, u32(0), code_hi}); 270 const std::uint32_t d = emit(code, op_select, tu, {negative_or_nan, u32(0), code_hi});
262 // float(m + 1) * 2^(e - 47) with e = findMSB(d) and m = d << (23 - e); d == 0 gives 0.
263 const std::uint32_t e = ext(code, tu, glsl_find_umsb, {d}); 271 const std::uint32_t e = ext(code, tu, glsl_find_umsb, {d});
264 const std::uint32_t m = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(23), e})}); 272 std::uint32_t value = 0;
265 const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {m, u32(1)})}); 273 if (is_depth16()) {
266 const std::uint32_t exponent = emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(80)}), 274 // Nearest float to d / (2^16 - 1) for d in 1..65535:
267 u32(23)}); 275 // n = d << (15 - e) puts d's MSB at bit 15; repeating n in binary gives (n << 8) | (n >> 8) as the
268 const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent}); 276 // top 24 bits, and the tail below bit 8 is strictly > 0.5 iff bit 7 of n is set (never a tie), so
269 const std::uint32_t value = emit(code, op_f_mul, tf, {mf, scale}); 277 // m = (n << 8) + ((n + 128) >> 8) is the exact rounded 24-bit mantissa (0x1000000 for d == 65535).
278 // Multiplying float(m) by 2^(e - 39) (biased exponent e + 88) matches float(double(d) / 65535.0)
279 // for every 16-bit code, and for d == 0 (e == 0xffffffff) shifts stay < 32 and zero selects 0.0f.
280 const std::uint32_t n = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(15), e})});
281 const std::uint32_t n_hi = emit(code, op_shift_left_logical, tu, {n, u32(8)});
282 const std::uint32_t n_lo =
283 emit(code, op_shift_right_logical, tu, {emit(code, op_i_add, tu, {n, u32(128)}), u32(8)});
284 const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {n_hi, n_lo})});
285 const std::uint32_t exponent =
286 emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(88)}), u32(23)});
287 const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent});
288 value = emit(code, op_f_mul, tf, {mf, scale});
289 } else {
290 // float(m + 1) * 2^(e - 47) with e = findMSB(d) and m = d << (23 - e); d == 0 gives 0.
291 const std::uint32_t m = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(23), e})});
292 const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {m, u32(1)})});
293 const std::uint32_t exponent = emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(80)}),
294 u32(23)});
295 const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent});
296 value = emit(code, op_f_mul, tf, {mf, scale});
297 }
270 const std::uint32_t zero = emit(code, op_i_equal, tb, {d, u32(0)}); 298 const std::uint32_t zero = emit(code, op_i_equal, tb, {d, u32(0)});
271 return emit(code, op_select, tf, {zero, f32(0.0f), value}); 299 return emit(code, op_select, tf, {zero, f32(0.0f), value});
272 } 300 }
@@ -328,9 +356,9 @@ public:
328 } 356 }
329 357
330private: 358private:
331 float levels_;
332 Module& m_; 359 Module& m_;
333 std::uint32_t entry_; 360 std::uint32_t entry_;
361 float levels_;
334 std::vector<Inst> existing_; 362 std::vector<Inst> existing_;
335 std::vector<Inst> globals_, decorations_, modes_; 363 std::vector<Inst> globals_, decorations_, modes_;
336 Inst import_; 364 Inst import_;
@@ -346,6 +374,10 @@ private:
346inline std::vector<std::uint32_t> depth24_patch_fragment(const std::vector<std::uint32_t>& words, 374inline std::vector<std::uint32_t> depth24_patch_fragment(const std::vector<std::uint32_t>& words,
347 const Depth24Bias& bias, std::string& why) { 375 const Depth24Bias& bias, std::string& why) {
348 using namespace spirv24; 376 using namespace spirv24;
377 if (bias.levels != 16777215.0f && bias.levels != 65535.0f) {
378 why = "unsupported depth quantisation level count";
379 return {};
380 }
349 Module m; 381 Module m;
350 if (!m.parse(words, why)) return {}; 382 if (!m.parse(words, why)) return {};
351 std::uint32_t entry = 0; 383 std::uint32_t entry = 0;
diff --git a/runtime/src/descriptor_table.h b/runtime/src/descriptor_table.h
index a0d80968a..82fa19dbf 100644
--- a/runtime/src/descriptor_table.h
+++ b/runtime/src/descriptor_table.h
@@ -19,7 +19,21 @@ namespace leonida {
19inline constexpr std::uint32_t kFnvOffsetBasis = 2166136261u; 19inline constexpr std::uint32_t kFnvOffsetBasis = 2166136261u;
20inline constexpr std::uint32_t kFnvPrime = 16777619u; 20inline constexpr std::uint32_t kFnvPrime = 16777619u;
21inline constexpr std::uint32_t kDescriptorProbes = 8; 21inline constexpr std::uint32_t kDescriptorProbes = 8;
22inline constexpr std::uint32_t kSlotOccupiedMarker = 0xA11CA7EDu; 22// An entry's last dword is 0 while the slot is empty. This bit marks it occupied, and the low bits (kKindMask) say
23// what the index is good for: one bit per array the image is bound in, sampled and storage.
24inline constexpr std::uint32_t kSlotOccupiedMarker = 0x80000000u;
25inline constexpr std::uint32_t kKindMask = 0x1FFFu; // bits 0..6 sampled, 8..12 storage
26
27// What an index is bound in, for the library whose modules read it (`descriptor_table` tagged in their index.json
28// meta; tools/rdna2spirv.py reads the same bits with OpBitFieldUExtract). Bit `dimension` is that dimension's
29// sampled array (dimensions 0..6, ImageDimension in vulkan_bindless.h); bit 8 + dimension its storage arrays
30// (dimensions 0..4 have them). A table for a plain library leaves every kind bit zero.
31inline constexpr std::uint32_t kind_sampled_bit(std::uint32_t dimension) {
32 return dimension < 7 ? (1u << dimension) : 0u;
33}
34inline constexpr std::uint32_t kind_storage_bit(std::uint32_t dimension) {
35 return dimension < 5 ? (1u << (8 + dimension)) : 0u;
36}
23 37
24// Key types: 38// Key types:
25// T# key is 8 dwords. 39// T# key is 8 dwords.
@@ -93,14 +107,20 @@ inline DescriptorKey make_ssharp_key(const std::uint32_t ssharp[4]) {
93 return k; 107 return k;
94} 108}
95 109
96// Memory layout of each entry in the table: 10 uint32s = 40 bytes. 110// Memory layout of each entry in the table: 10 uint32s = 40 bytes. The last word is the kind a translated shader
111// reads next to the index, and its occupied bit; a module that does not read it never looks at it.
97struct DescriptorEntry { 112struct DescriptorEntry {
98 std::uint32_t key[8] = {}; 113 std::uint32_t key[8] = {};
99 std::uint32_t index = 0; 114 std::uint32_t index = 0;
100 std::uint32_t pad = 0; // 0 when empty, kSlotOccupiedMarker when occupied 115 std::uint32_t kind = 0; // 0 when empty, kSlotOccupiedMarker | (kKindMask bits) when occupied
101}; 116};
102static_assert(sizeof(DescriptorEntry) == 40); 117static_assert(sizeof(DescriptorEntry) == 40);
103 118
119inline constexpr bool slot_occupied(const DescriptorEntry& entry) {
120 return (entry.kind & kSlotOccupiedMarker) != 0;
121}
122inline constexpr std::uint32_t slot_kind(const DescriptorEntry& entry) { return entry.kind & kKindMask; }
123
104class DescriptorTable { 124class DescriptorTable {
105public: 125public:
106 enum class InsertResult { added, unchanged, replaced, added_with_relocation }; 126 enum class InsertResult { added, unchanged, replaced, added_with_relocation };
@@ -122,22 +142,23 @@ public:
122 // The kind this table places and finds keys with (immutable after construction). 142 // The kind this table places and finds keys with (immutable after construction).
123 DescriptorHashKind hash_kind() const { return hash_kind_; } 143 DescriptorHashKind hash_kind() const { return hash_kind_; }
124 144
125 // Inserts or updates a key -> index mapping. 145 // Inserts or updates a key -> (index, kind) mapping. If the key already exists in one of the 8 probe slots,
126 // If the key already exists in one of the 8 probe slots, its index is updated. 146 // its entry is updated. Try one bounded relocation before growing. Load never exceeds 50%. `kind` is what a
127 // Try one bounded relocation before growing. Load never exceeds 50%. 147 // shader that reads it (a `descriptor_table` tagged module) uses to tell which array the index is bound in; a
128 bool insert(const std::uint32_t key[8], std::uint32_t index) { 148 // sampler's entry has none.
129 insert_or_update(key, index); 149 bool insert(const std::uint32_t key[8], std::uint32_t index, std::uint32_t kind = 0) {
150 insert_or_update(key, index, kind);
130 return true; 151 return true;
131 } 152 }
132 153
133 // Report the change under the same lock so the GPU caller can synchronize writes to live slots. 154 // Report the change under the same lock so the GPU caller can synchronize writes to live slots.
134 InsertResult insert_or_update(const std::uint32_t key[8], std::uint32_t index) { 155 InsertResult insert_or_update(const std::uint32_t key[8], std::uint32_t index, std::uint32_t kind = 0) {
135 std::lock_guard lock(mutex_); 156 std::lock_guard lock(mutex_);
136 return insert_locked(key, index); 157 return insert_locked(key, index, kind);
137 } 158 }
138 159
139 bool insert(const DescriptorKey& key, std::uint32_t index) { 160 bool insert(const DescriptorKey& key, std::uint32_t index, std::uint32_t kind = 0) {
140 return insert(key.data(), index); 161 return insert(key.data(), index, kind);
141 } 162 }
142 163
143 // Queries the index associated with key. Returns 0 if not found. 164 // Queries the index associated with key. Returns 0 if not found.
@@ -147,7 +168,7 @@ public:
147 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) { 168 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) {
148 const std::uint32_t slot = (h + k) & mask_; 169 const std::uint32_t slot = (h + k) & mask_;
149 const auto& entry = entries_[slot]; 170 const auto& entry = entries_[slot];
150 if (entry.pad == kSlotOccupiedMarker && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) { 171 if (slot_occupied(entry) && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) {
151 return entry.index; 172 return entry.index;
152 } 173 }
153 } 174 }
@@ -164,7 +185,7 @@ public:
164 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) { 185 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) {
165 const std::uint32_t slot = (h + k) & mask_; 186 const std::uint32_t slot = (h + k) & mask_;
166 const auto& entry = entries_[slot]; 187 const auto& entry = entries_[slot];
167 if (entry.pad == kSlotOccupiedMarker && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) { 188 if (slot_occupied(entry) && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) {
168 return true; 189 return true;
169 } 190 }
170 } 191 }
@@ -222,8 +243,8 @@ public:
222 } 243 }
223 244
224 // Exports the table buffer format consumed by SPIR-V set 0, binding 2. 245 // Exports the table buffer format consumed by SPIR-V set 0, binding 2.
225 // Word 0 is mask; followed by entries[mask + 1] of 10 dwords: key[8], index, pad. 246 // Word 0 is mask; followed by entries[mask + 1] of 10 dwords: key[8], index, kind.
226 std::vector<std::uint32_t> build_gpu_buffer(bool clear_pad = false) const { 247 std::vector<std::uint32_t> build_gpu_buffer(bool clear_occupied = false) const {
227 std::lock_guard lock(mutex_); 248 std::lock_guard lock(mutex_);
228 std::vector<std::uint32_t> out(1 + entries_.size() * 10, 0); 249 std::vector<std::uint32_t> out(1 + entries_.size() * 10, 0);
229 out[0] = mask_; 250 out[0] = mask_;
@@ -231,7 +252,7 @@ public:
231 const std::size_t base = 1 + s * 10; 252 const std::size_t base = 1 + s * 10;
232 std::memcpy(&out[base], entries_[s].key, sizeof(entries_[s].key)); 253 std::memcpy(&out[base], entries_[s].key, sizeof(entries_[s].key));
233 out[base + 8] = entries_[s].index; 254 out[base + 8] = entries_[s].index;
234 out[base + 9] = clear_pad ? 0 : entries_[s].pad; 255 out[base + 9] = clear_occupied ? slot_kind(entries_[s]) : entries_[s].kind;
235 } 256 }
236 return out; 257 return out;
237 } 258 }
@@ -252,7 +273,7 @@ public:
252 return changes; 273 return changes;
253 } 274 }
254 275
255 // One slot's 10 dwords (key[8], index, pad) to `dest`; false when the slot is out of range. 276 // One slot's 10 dwords (key[8], index, kind) to `dest`; false when the slot is out of range.
256 bool read_slot(std::uint32_t slot, std::uint32_t* dest) const { return read_slots(slot, 1, dest); } 277 bool read_slot(std::uint32_t slot, std::uint32_t* dest) const { return read_slots(slot, 1, dest); }
257 278
258 // `count` consecutive slots' 10 dwords each to `dest`, under one lock; false when any is out of range. 279 // `count` consecutive slots' 10 dwords each to `dest`, under one lock; false when any is out of range.
@@ -264,13 +285,13 @@ public:
264 const DescriptorEntry& entry = entries_[first + i]; 285 const DescriptorEntry& entry = entries_[first + i];
265 std::memcpy(dest + i * 10, entry.key, sizeof(entry.key)); 286 std::memcpy(dest + i * 10, entry.key, sizeof(entry.key));
266 dest[i * 10 + 8] = entry.index; 287 dest[i * 10 + 8] = entry.index;
267 dest[i * 10 + 9] = entry.pad; 288 dest[i * 10 + 9] = entry.kind;
268 } 289 }
269 return true; 290 return true;
270 } 291 }
271 292
272 // Serializes directly into `dest` (must hold at least size_bytes()) without allocating a temporary vector. 293 // Serializes directly into `dest` (must hold at least size_bytes()) without allocating a temporary vector.
273 void write_to_buffer(void* dest, bool clear_pad = false) const { 294 void write_to_buffer(void* dest, bool clear_occupied = false) const {
274 if (!dest) return; 295 if (!dest) return;
275 std::lock_guard lock(mutex_); 296 std::lock_guard lock(mutex_);
276 auto* out = static_cast<std::uint8_t*>(dest); 297 auto* out = static_cast<std::uint8_t*>(dest);
@@ -280,7 +301,7 @@ public:
280 std::uint32_t slot[10]; 301 std::uint32_t slot[10];
281 std::memcpy(slot, entry.key, sizeof(entry.key)); 302 std::memcpy(slot, entry.key, sizeof(entry.key));
282 slot[8] = entry.index; 303 slot[8] = entry.index;
283 slot[9] = clear_pad ? 0 : entry.pad; 304 slot[9] = clear_occupied ? slot_kind(entry) : entry.kind;
284 std::memcpy(out, slot, sizeof(slot)); 305 std::memcpy(out, slot, sizeof(slot));
285 out += sizeof(slot); 306 out += sizeof(slot);
286 } 307 }
@@ -298,7 +319,7 @@ private:
298 const auto mask = static_cast<std::uint32_t>(entries.size() - 1); 319 const auto mask = static_cast<std::uint32_t>(entries.size() - 1);
299 for (auto offset = kDescriptorProbes; offset < 2 * kDescriptorProbes - 1; ++offset) { 320 for (auto offset = kDescriptorProbes; offset < 2 * kDescriptorProbes - 1; ++offset) {
300 const auto hole = (hash + offset) & mask; 321 const auto hole = (hash + offset) & mask;
301 if (entries[hole].pad == kSlotOccupiedMarker) continue; 322 if (slot_occupied(entries[hole])) continue;
302 for (auto k = kDescriptorProbes; k > 0; --k) { 323 for (auto k = kDescriptorProbes; k > 0; --k) {
303 const auto slot = (hash + k - 1) & mask; 324 const auto slot = (hash + k - 1) & mask;
304 const auto home = hash_descriptor_key(entries[slot].key, kind); 325 const auto home = hash_descriptor_key(entries[slot].key, kind);
@@ -313,7 +334,7 @@ private:
313 return -1; 334 return -1;
314 } 335 }
315 336
316 InsertResult insert_locked(const std::uint32_t key[8], std::uint32_t index) { 337 InsertResult insert_locked(const std::uint32_t key[8], std::uint32_t index, std::uint32_t kind) {
317 while (true) { 338 while (true) {
318 const std::uint32_t h = hash_descriptor_key(key, hash_kind_); 339 const std::uint32_t h = hash_descriptor_key(key, hash_kind_);
319 int empty_slot = -1; 340 int empty_slot = -1;
@@ -321,10 +342,12 @@ private:
321 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) { 342 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) {
322 const std::uint32_t slot = (h + k) & mask_; 343 const std::uint32_t slot = (h + k) & mask_;
323 auto& entry = entries_[slot]; 344 auto& entry = entries_[slot];
324 if (entry.pad == kSlotOccupiedMarker) { 345 if (slot_occupied(entry)) {
325 if (std::memcmp(entry.key, key, sizeof(entry.key)) == 0) { 346 if (std::memcmp(entry.key, key, sizeof(entry.key)) == 0) {
326 if (entry.index == index) return InsertResult::unchanged; 347 if (entry.index == index && slot_kind(entry) == kind) return InsertResult::unchanged;
348 // A new index or a new kind: either way the slot's copy of the entry must reach the GPU.
327 entry.index = index; 349 entry.index = index;
350 entry.kind = kSlotOccupiedMarker | (kind & kKindMask);
328 mark(slot); 351 mark(slot);
329 return InsertResult::replaced; 352 return InsertResult::replaced;
330 } 353 }
@@ -356,7 +379,7 @@ private:
356 auto& entry = entries_[empty_slot]; 379 auto& entry = entries_[empty_slot];
357 std::memcpy(entry.key, key, sizeof(entry.key)); 380 std::memcpy(entry.key, key, sizeof(entry.key));
358 entry.index = index; 381 entry.index = index;
359 entry.pad = kSlotOccupiedMarker; 382 entry.kind = kSlotOccupiedMarker | (kind & kKindMask);
360 ++occupied_count_; 383 ++occupied_count_;
361 if (relocate) mark(moved_to); 384 if (relocate) mark(moved_to);
362 mark(std::uint32_t(empty_slot)); 385 mark(std::uint32_t(empty_slot));
@@ -374,7 +397,7 @@ private:
374 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) { 397 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) {
375 const std::uint32_t slot = (h + k) & mask_; 398 const std::uint32_t slot = (h + k) & mask_;
376 const auto& entry = entries_[slot]; 399 const auto& entry = entries_[slot];
377 if (entry.pad == kSlotOccupiedMarker && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) { 400 if (slot_occupied(entry) && std::memcmp(entry.key, key, sizeof(entry.key)) == 0) {
378 found_slot = slot; 401 found_slot = slot;
379 found = true; 402 found = true;
380 break; 403 break;
@@ -398,12 +421,12 @@ private:
398 bool rehash_ok = true; 421 bool rehash_ok = true;
399 422
400 for (const auto& old : entries_) { 423 for (const auto& old : entries_) {
401 if (old.pad != kSlotOccupiedMarker) continue; 424 if (!slot_occupied(old)) continue;
402 const std::uint32_t h = hash_descriptor_key(old.key, hash_kind_); 425 const std::uint32_t h = hash_descriptor_key(old.key, hash_kind_);
403 int slot = -1; 426 int slot = -1;
404 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) { 427 for (std::uint32_t k = 0; k < kDescriptorProbes; ++k) {
405 const std::uint32_t s = (h + k) & new_mask; 428 const std::uint32_t s = (h + k) & new_mask;
406 if (new_entries[s].pad != kSlotOccupiedMarker) { 429 if (!slot_occupied(new_entries[s])) {
407 slot = static_cast<int>(s); 430 slot = static_cast<int>(s);
408 break; 431 break;
409 } 432 }
diff --git a/runtime/src/dev_overlay.h b/runtime/src/dev_overlay.h
new file mode 100644
index 000000000..abbb9b9ab
--- /dev/null
+++ b/runtime/src/dev_overlay.h
@@ -0,0 +1,286 @@
1#pragma once
2// LEONIDA_DEV_OVERLAY=1 (off by default, Windows): a small click-through window over the top left corner of the title's
3// window that says how the boot is doing: frames and submissions a second, where a submission's CPU time goes and which
4// phase runs now, pipeline builds, indirect draws, CPU, memory. It is its own window with its own thread and GDI text,
5// so it keeps counting while the title shows no frames for seconds (pipeline builds, a stalled submission), it is in no
6// captured frame, and it changes nothing the GPU does. It only reads counters: submit_phases.h, indirect_draw_stats.h,
7// dev_status.h, and memory_figures.h for the private memory and the device's GPU memory, which LEONIDA_TITLE_HUD
8// (shims/title_hud.h) shows with the same text. The HUD is the other view: frame times, memory and compile time in the
9// window's title bar.
10#include "dev_status.h"
11#include "indirect_draw_stats.h"
12#include "memory_figures.h"
13#include "submit_phases.h"
14
15#ifdef _WIN32
16#ifndef NOMINMAX
17#define NOMINMAX
18#endif
19#include <windows.h>
20#include <psapi.h>
21#ifdef _MSC_VER
22#pragma comment(lib, "user32.lib")
23#pragma comment(lib, "gdi32.lib")
24#pragma comment(lib, "psapi.lib")
25#endif
26#endif
27
28#include <algorithm>
29#include <cmath>
30#include <cstdint>
31#include <cstdio>
32#include <cstdlib>
33#include <string>
34#include <thread>
35#include <vector>
36
37namespace leonida::dev_overlay {
38
39// The counters between two looks. A total that went down was reset by its own log line: what it holds is the new part.
40inline std::uint64_t grown(std::uint64_t now, std::uint64_t& before) {
41 const std::uint64_t by = now >= before ? now - before : now;
42 before = now;
43 return by;
44}
45
46struct Sample {
47 double seconds = 0;
48 double frames = 0, submissions = 0; // a second
49 double phase_ms[submit_phases::kCount]{}; // a submission
50 int phase = -1; // running now
51 double phase_for = 0; // seconds it has been
52 unsigned building = 0;
53 std::uint64_t built = 0;
54 std::string build; // the last one started
55 unsigned long long drawn = 0, skipped = 0; // indirect draws so far
56 double cores = 0, free_gb = 0;
57 memory_figures::ProcessMemory ram; // private memory and working set
58 VramBudget vram; // the device's VK_EXT_memory_budget; "n/a" without it
59};
60
61// The text of one sample: pure, for the test.
62inline std::vector<std::string> lines(const Sample& s, double age) {
63 char text[160];
64 std::vector<std::string> out;
65 std::snprintf(text, sizeof text, "Leonida dev %.0f s %.1f fps %.1f submissions/s", age, s.frames, s.submissions);
66 out.emplace_back(text);
67 double total = 0;
68 for (const double ms : s.phase_ms) total += ms;
69 std::snprintf(text, sizeof text, "CPU/submission %.1f ms: descriptors %.1f, textures %.1f, copies %.1f, replay %.1f", total,
70 s.phase_ms[submit_phases::heaps], s.phase_ms[submit_phases::textures],
71 s.phase_ms[submit_phases::shadows] + s.phase_ms[submit_phases::geometry],
72 s.phase_ms[submit_phases::replay]);
73 out.emplace_back(text);
74 static const char* const now[submit_phases::kCount] = {"waiting for the GPU", "fixing descriptors", "copying title memory",
75 "copying geometry", "refreshing textures", "recording and submitting"};
76 if (s.phase >= 0 && s.phase < int(submit_phases::kCount)) {
77 if (std::isfinite(s.phase_for) && s.phase_for >= 1.0)
78 std::snprintf(text, sizeof text, "now: %s for %.0f s", now[s.phase], std::floor(s.phase_for));
79 else
80 std::snprintf(text, sizeof text, "now: %s", now[s.phase]);
81 } else {
82 std::snprintf(text, sizeof text, "now: the title's own code");
83 }
84 out.emplace_back(text);
85 if (s.building)
86 std::snprintf(text, sizeof text, "pipelines: %llu built, %u building (%.50s)",
87 static_cast<unsigned long long>(s.built), s.building, s.build.c_str());
88 else
89 std::snprintf(text, sizeof text, "pipelines: %llu built", static_cast<unsigned long long>(s.built));
90 out.emplace_back(text);
91 std::snprintf(text, sizeof text, "indirect draws: %llu drawn, %llu skipped", s.drawn, s.skipped);
92 out.emplace_back(text);
93 std::snprintf(text, sizeof text, "%.1f cores, %.1f GB RAM free", s.cores, s.free_gb);
94 out.emplace_back(text);
95 out.emplace_back(memory_figures::ram_text(s.ram) + " " + memory_figures::vram_text(s.vram));
96 return out;
97}
98
99inline bool enabled() {
100 static const bool on = [] {
101#ifdef _WIN32
102 char value[3]{};
103 std::size_t length = 0;
104 return getenv_s(&length, value, sizeof value, "LEONIDA_DEV_OVERLAY") == 0 && length == 2 && value[0] == '1';
105#else
106 const char* value = std::getenv("LEONIDA_DEV_OVERLAY");
107 return value && value[0] == '1' && !value[1];
108#endif
109 }();
110 return on;
111}
112
113#ifdef _WIN32
114class Overlay {
115public:
116 void run() {
117 WNDCLASSW type{};
118 type.lpfnWndProc = &Overlay::procedure;
119 type.hInstance = GetModuleHandleW(nullptr);
120 type.lpszClassName = L"LeonidaDevOverlay";
121 if (!RegisterClassW(&type)) return;
122 window_ = CreateWindowExW(WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_NOACTIVATE | WS_EX_TOPMOST | WS_EX_TOOLWINDOW,
123 type.lpszClassName, L"", WS_POPUP, 0, 0, 10, 10, nullptr, nullptr, type.hInstance, this);
124 if (!window_) return;
125 SetWindowLongPtrW(window_, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(this));
126 SetLayeredWindowAttributes(window_, 0, 205, LWA_ALPHA);
127 font_ = CreateFontW(-14, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
128 CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, FIXED_PITCH | FF_MODERN, L"Consolas");
129 look();
130 SetTimer(window_, 1, 500, nullptr);
131 MSG message;
132 while (GetMessageW(&message, nullptr, 0, 0) > 0) DispatchMessageW(&message);
133 }
134
135private:
136 static LRESULT CALLBACK procedure(HWND window, UINT message, WPARAM w, LPARAM l) {
137 auto* self = reinterpret_cast<Overlay*>(GetWindowLongPtrW(window, GWLP_USERDATA));
138 if (self && message == WM_TIMER) {
139 self->look();
140 return 0;
141 }
142 if (self && message == WM_PAINT) {
143 self->paint();
144 return 0;
145 }
146 if (message == WM_NCHITTEST) return HTTRANSPARENT;
147 return DefWindowProcW(window, message, w, l);
148 }
149
150 // The process's largest visible top-level window is the title's.
151 struct Search {
152 HWND own, found;
153 std::int64_t area;
154 };
155 static BOOL CALLBACK consider(HWND window, LPARAM parameter) {
156 auto& search = *reinterpret_cast<Search*>(parameter);
157 DWORD process = 0;
158 GetWindowThreadProcessId(window, &process);
159 RECT r{};
160 if (process != GetCurrentProcessId() || window == search.own || !IsWindowVisible(window) || IsIconic(window) ||
161 !GetClientRect(window, &r))
162 return TRUE;
163 const std::int64_t area = std::int64_t(r.right) * r.bottom;
164 if (area > search.area) search = {search.own, window, area};
165 return TRUE;
166 }
167
168 void look() {
169 namespace sp = submit_phases;
170 sp::Totals& totals = sp::totals();
171 const std::int64_t now = sp::now_ns();
172 Sample s;
173 s.seconds = before_ ? double(now - before_) * 1e-9 : 0;
174 const std::uint64_t frames = grown(totals.present_serial.load(std::memory_order_relaxed), frames_);
175 const std::uint64_t submissions = grown(totals.all_submissions.load(std::memory_order_relaxed), submissions_);
176 std::uint64_t ns[sp::kCount];
177 for (unsigned p = 0; p < sp::kCount; ++p) ns[p] = grown(totals.ns[p].load(std::memory_order_relaxed), ns_[p]);
178 // A stall longer than a look leaves nothing to divide by: the figures then cover the last two seconds.
179 window_frames_ += frames;
180 window_submissions_ += submissions;
181 window_seconds_ += s.seconds;
182 for (unsigned p = 0; p < sp::kCount; ++p) window_ns_[p] += ns[p];
183 if (window_seconds_ >= 2 || !before_) {
184 shown_ = {};
185 if (window_seconds_ > 0) {
186 shown_.frames = double(window_frames_) / window_seconds_;
187 shown_.submissions = double(window_submissions_) / window_seconds_;
188 }
189 for (unsigned p = 0; p < sp::kCount; ++p) {
190 if (window_submissions_) shown_.phase_ms[p] = double(window_ns_[p]) * 1e-6 / double(window_submissions_);
191 window_ns_[p] = 0;
192 }
193 window_frames_ = window_submissions_ = 0;
194 window_seconds_ = 0;
195 }
196 s.frames = shown_.frames;
197 s.submissions = shown_.submissions;
198 std::copy(std::begin(shown_.phase_ms), std::end(shown_.phase_ms), std::begin(s.phase_ms));
199 before_ = now;
200
201 const sp::Running running = sp::running();
202 s.phase = running.phase;
203 if (s.phase >= 0) s.phase_for = std::max(0.0, double(now - running.since) * 1e-9);
204 dev_status::Builds& builds = dev_status::builds();
205 s.building = builds.active.load(std::memory_order_relaxed);
206 s.built = builds.done.load(std::memory_order_relaxed);
207 s.build = builds.last();
208 const auto& draws = indirect_stats::counts().values;
209 s.drawn = draws[std::size_t(indirect_stats::Event::emitted)].load(std::memory_order_relaxed);
210 s.skipped = draws[std::size_t(indirect_stats::Event::record_skip)].load(std::memory_order_relaxed) +
211 draws[std::size_t(indirect_stats::Event::replay_skip)].load(std::memory_order_relaxed);
212 FILETIME created{}, exited{}, kernel{}, user{};
213 if (GetProcessTimes(GetCurrentProcess(), &created, &exited, &kernel, &user)) {
214 const auto ticks = [](const FILETIME& f) { return (std::uint64_t(f.dwHighDateTime) << 32) | f.dwLowDateTime; };
215 const std::uint64_t used = grown(ticks(kernel) + ticks(user), cpu_);
216 if (s.seconds > 0) s.cores = double(used) * 1e-7 / s.seconds;
217 }
218 s.ram = memory_figures::process_memory();
219 s.vram = memory_figures::latest_vram(); // reads the device at most once per 500 ms
220 MEMORYSTATUSEX status{sizeof status};
221 if (GlobalMemoryStatusEx(&status)) s.free_gb = double(status.ullAvailPhys) / double(1u << 30);
222 lines_ = lines(s, sp::process_age());
223 place();
224 }
225
226 void place() {
227 Search search{window_, nullptr, 0};
228 EnumWindows(&Overlay::consider, reinterpret_cast<LPARAM>(&search));
229 // Shown only over the title while it is the window in front, so the topmost text is never over anything else.
230 if (!search.found || GetForegroundWindow() != search.found) {
231 ShowWindow(window_, SW_HIDE);
232 return;
233 }
234 POINT corner{8, 8};
235 ClientToScreen(search.found, &corner);
236 std::size_t longest = 0;
237 for (const auto& line : lines_) longest = std::max(longest, line.size());
238 SetWindowPos(window_, HWND_TOPMOST, corner.x, corner.y, int(longest) * 8 + 12, int(lines_.size()) * 17 + 8,
239 SWP_NOACTIVATE | SWP_SHOWWINDOW);
240 InvalidateRect(window_, nullptr, FALSE);
241 }
242
243 void paint() {
244 PAINTSTRUCT ps;
245 HDC dc = BeginPaint(window_, &ps);
246 RECT area;
247 GetClientRect(window_, &area);
248 HDC memory = CreateCompatibleDC(dc);
249 HBITMAP bitmap = CreateCompatibleBitmap(dc, area.right, area.bottom);
250 HGDIOBJ old_bitmap = SelectObject(memory, bitmap), old_font = SelectObject(memory, font_);
251 FillRect(memory, &area, static_cast<HBRUSH>(GetStockObject(BLACK_BRUSH)));
252 SetBkMode(memory, TRANSPARENT);
253 int y = 4;
254 for (std::size_t i = 0; i < lines_.size(); ++i, y += 17) {
255 SetTextColor(memory, i == 0 ? RGB(120, 255, 140) : RGB(235, 235, 235));
256 TextOutA(memory, 6, y, lines_[i].data(), int(lines_[i].size()));
257 }
258 BitBlt(dc, 0, 0, area.right, area.bottom, memory, 0, 0, SRCCOPY);
259 SelectObject(memory, old_bitmap);
260 SelectObject(memory, old_font);
261 DeleteObject(bitmap);
262 DeleteDC(memory);
263 EndPaint(window_, &ps);
264 }
265
266 HWND window_ = nullptr;
267 HFONT font_ = nullptr;
268 std::vector<std::string> lines_;
269 std::int64_t before_ = 0;
270 std::uint64_t frames_ = 0, submissions_ = 0, cpu_ = 0, ns_[submit_phases::kCount]{};
271 std::uint64_t window_frames_ = 0, window_submissions_ = 0, window_ns_[submit_phases::kCount]{};
272 double window_seconds_ = 0;
273 Sample shown_;
274};
275#endif
276
277// Once per process; nothing without LEONIDA_DEV_OVERLAY=1.
278inline void start() {
279#ifdef _WIN32
280 if (!enabled()) return;
281 std::fprintf(stderr, "[rt] dev overlay on (LEONIDA_DEV_OVERLAY=1)\n");
282 std::thread([] { static Overlay overlay; overlay.run(); }).detach();
283#endif
284}
285
286} // namespace leonida::dev_overlay
diff --git a/runtime/src/dev_status.h b/runtime/src/dev_status.h
new file mode 100644
index 000000000..3efc9bf4f
--- /dev/null
+++ b/runtime/src/dev_status.h
@@ -0,0 +1,51 @@
1#pragma once
2// What the runtime is building now, for the dev overlay (dev_overlay.h). Always on: two relaxed atomics a build, and a
3// short copy under a lock for the name.
4#include <algorithm>
5#include <atomic>
6#include <cstdint>
7#include <cstring>
8#include <mutex>
9#include <string>
10
11namespace leonida::dev_status {
12
13struct Builds {
14 std::atomic<unsigned> active{0};
15 std::atomic<std::uint64_t> done{0};
16
17 std::string last() {
18 std::lock_guard lock(mutex_);
19 return name_;
20 }
21 void name(const char* text) {
22 std::lock_guard lock(mutex_);
23 const std::size_t n = std::min(std::strlen(text), sizeof name_ - 1);
24 std::memcpy(name_, text, n);
25 name_[n] = 0;
26 }
27
28private:
29 std::mutex mutex_;
30 char name_[96]{};
31};
32inline Builds& builds() {
33 static Builds instance;
34 return instance;
35}
36
37// One pipeline build, from construction to destruction.
38struct Build {
39 explicit Build(const char* name) {
40 builds().name(name);
41 builds().active.fetch_add(1, std::memory_order_relaxed);
42 }
43 ~Build() {
44 builds().active.fetch_sub(1, std::memory_order_relaxed);
45 builds().done.fetch_add(1, std::memory_order_relaxed);
46 }
47 Build(const Build&) = delete;
48 Build& operator=(const Build&) = delete;
49};
50
51} // namespace leonida::dev_status
diff --git a/runtime/src/display_white_cache.h b/runtime/src/display_white_cache.h
new file mode 100644
index 000000000..f3f8e3362
--- /dev/null
+++ b/runtime/src/display_white_cache.h
@@ -0,0 +1,82 @@
1// The Windows SDR white level for XboxPresentation (shims/xbox_present.cpp), read off the present path.
2//
3// Reading it costs a QueryDisplayConfig and two DisplayConfigGetDeviceInfo calls (measured in xbox_present_test, docs
4// section 4.5): too much for the present path, which would hitch once a second and feed the pacer. So a worker thread
5// reads it: at once when the first HDR10 present asks for it, then about once a period. PresentX reads the cached value.
6// Kept apart from XboxPresentation so the wake-up can be tested without a window or a GPU (display_white_cache_test).
7#pragma once
8
9#include <atomic>
10#include <chrono>
11#include <condition_variable>
12#include <functional>
13#include <mutex>
14#include <thread>
15#include <utility>
16
17namespace leonida {
18
19class DisplayWhiteCache {
20public:
21 // `read` returns the white level in nits, or 0 when it cannot be read (a failed read keeps the last good value). It
22 // runs on the worker thread only, and only after the first get().
23 explicit DisplayWhiteCache(std::function<float()> read,
24 std::chrono::milliseconds period = std::chrono::milliseconds(1000))
25 : read_(std::move(read)), period_(period), thread_([this] { run(); }) {}
26
27 ~DisplayWhiteCache() {
28 {
29 std::lock_guard lock(mutex_);
30 stop_ = true;
31 }
32 wake_.notify_all();
33 thread_.join();
34 }
35
36 DisplayWhiteCache(const DisplayWhiteCache&) = delete;
37 DisplayWhiteCache& operator=(const DisplayWhiteCache&) = delete;
38
39 // The last good value (0: none yet). The first call wakes the worker to read now, instead of at the end of the
40 // period it is waiting out; later reads come once a period.
41 float get() {
42 if (!wanted_.exchange(true)) {
43 std::lock_guard lock(mutex_);
44 read_now_ = true; // what the worker's wait checks: a notify alone ends no wait whose predicate is false
45 wake_.notify_all();
46 }
47 return value_.load();
48 }
49
50 // Number of reads the worker has made (tests).
51 unsigned reads() const { return reads_.load(); }
52
53private:
54 void run() {
55 std::unique_lock lock(mutex_);
56 while (!stop_) {
57 if (wanted_.load()) {
58 read_now_ = false;
59 lock.unlock();
60 const float nits = read_();
61 if (nits > 0.0f) value_ = nits;
62 ++reads_;
63 lock.lock();
64 }
65 // read_now_ also covers a get() that came before this wait began: its notify found no waiter.
66 wake_.wait_for(lock, period_, [this] { return stop_ || read_now_; });
67 }
68 }
69
70 std::function<float()> read_;
71 std::chrono::milliseconds period_;
72 std::atomic<float> value_{0.0f};
73 std::atomic<bool> wanted_{false};
74 std::atomic<unsigned> reads_{0};
75 std::mutex mutex_;
76 std::condition_variable wake_;
77 bool stop_ = false; // under mutex_
78 bool read_now_ = false; // under mutex_: the first get() asks for a read before the period ends
79 std::thread thread_; // last: it starts once every other member is made
80};
81
82} // namespace leonida
diff --git a/runtime/src/dstorage_hold.h b/runtime/src/dstorage_hold.h
new file mode 100644
index 000000000..1695c1e7c
--- /dev/null
+++ b/runtime/src/dstorage_hold.h
@@ -0,0 +1,23 @@
1// Counters of the DirectStorage queues' rule "reads into physical pages wait for the title's Submit"
2// (shims/dstorage.cpp, docs/directstorage.md). Process-wide, so the log line and the test read the same numbers.
3#pragma once
4
5#include <atomic>
6#include <cstdint>
7
8namespace leonida::dstorage {
9
10struct HoldStats {
11 std::atomic<uint64_t> self_submits{0}; // a queue half full submitted itself
12 std::atomic<uint64_t> held_reads{0}; // reads into physical pages such a submit left for the title's Submit
13 std::atomic<uint64_t> full_releases{0}; // a full queue submitted its held entries (the title waits in an enqueue)
14 std::atomic<uint64_t> timed_releases{0}; // LEONIDA_DSTORAGE_HOLD_MS ran out before the title's Submit
15 std::atomic<uint64_t> page0_entries{0}; // destination page lists that named page 0 when their data was written
16};
17
18inline HoldStats& hold_stats() {
19 static HoldStats stats;
20 return stats;
21}
22
23} // namespace leonida::dstorage
diff --git a/runtime/src/dual_source_fragment.h b/runtime/src/dual_source_fragment.h
index 86bc66236..50242cb6f 100644
--- a/runtime/src/dual_source_fragment.h
+++ b/runtime/src/dual_source_fragment.h
@@ -5,54 +5,83 @@
5// (VK_BLEND_FACTOR_SRC1_*, dualSrcBlend). For a pipeline whose blend state uses a SRC1 factor, the fragment module's 5// (VK_BLEND_FACTOR_SRC1_*, dualSrcBlend). For a pipeline whose blend state uses a SRC1 factor, the fragment module's
6// Location 1 output is moved to Location 0 and given Index 1. Standard library only. 6// Location 1 output is moved to Location 0 and given Index 1. Standard library only.
7 7
8#include <algorithm>
9#include <array>
10#include <cstddef>
8#include <cstdint> 11#include <cstdint>
9#include <map>
10#include <set>
11#include <vector> 12#include <vector>
12 13
13namespace leonida::dual_source { 14namespace leonida::dual_source {
14 15
15// Rewrites `words` in place and returns true, or returns false and leaves them unchanged when the module is not one 16// Rewrites `words` in place and returns true, or returns false and leaves them unchanged when the module is not one
16// this rewrite understands: not SPIR-V, no Output variable at Location 1, an output at Location 2 or above (Vulkan has 17// this rewrite understands: not SPIR-V, no unique Output variable at Location 1, duplicate Location decoration on an
17// one dual-source attachment), or an Index decoration already present. 18// Output variable, an output at Location 2 or above (Vulkan has one dual-source attachment), or an Index decoration
19// already present.
18inline bool remap(std::vector<std::uint32_t>& words) { 20inline bool remap(std::vector<std::uint32_t>& words) {
19 constexpr std::uint32_t kOpDecorate = 71, kOpVariable = 59, kOpTypePointer = 32; 21 constexpr std::uint32_t kOpFunction = 54, kOpDecorate = 71, kOpVariable = 59;
20 constexpr std::uint32_t kLocation = 30, kIndex = 32, kBuiltIn = 11, kStorageOutput = 3; 22 constexpr std::uint32_t kLocation = 30, kIndex = 32, kBuiltIn = 11, kStorageOutput = 3;
21 if (words.size() < 5 || words[0] != 0x07230203) return false; 23 if (words.size() < 5 || words[0] != 0x07230203u) return false;
22 std::map<std::uint32_t, std::size_t> location_at; // variable id -> word index of its Location literal 24
23 std::map<std::uint32_t, std::uint32_t> location_of; 25 struct LocationDecl {
24 std::set<std::uint32_t> output_pointers, outputs, builtins; 26 std::uint32_t id;
27 std::uint32_t location;
28 std::size_t literal_at;
29 };
30 std::vector<LocationDecl> locations;
31 std::vector<std::uint32_t> outputs;
32 std::vector<std::uint32_t> builtins;
33
34 // Annotations and global Output variables live before the first OpFunction (SPIR-V logical layout §2.4).
25 for (std::size_t at = 5; at < words.size();) { 35 for (std::size_t at = 5; at < words.size();) {
26 const std::uint32_t n = words[at] >> 16, op = words[at] & 0xffffu; 36 const std::uint32_t n = words[at] >> 16, op = words[at] & 0xffffu;
27 if (!n || n > words.size() - at) return false; 37 if (!n || n > words.size() - at) return false;
28 if (op == kOpDecorate && n == 4 && words[at + 2] == kLocation) { 38 if (op == kOpFunction) break;
29 location_at[words[at + 1]] = at + 3; 39 if (op == kOpDecorate && n >= 3) {
30 location_of[words[at + 1]] = words[at + 3]; 40 const std::uint32_t dec = words[at + 2];
31 } else if (op == kOpDecorate && n >= 3 && words[at + 2] == kIndex) { 41 if (dec == kLocation && n == 4) {
32 return false; 42 locations.push_back({words[at + 1], words[at + 3], at + 3});
33 } else if (op == kOpDecorate && n >= 3 && words[at + 2] == kBuiltIn) { 43 } else if (dec == kIndex) {
34 builtins.insert(words[at + 1]); 44 return false;
35 } else if (op == kOpTypePointer && n == 4 && words[at + 2] == kStorageOutput) { 45 } else if (dec == kBuiltIn) {
36 output_pointers.insert(words[at + 1]); 46 builtins.push_back(words[at + 1]);
47 }
37 } else if (op == kOpVariable && n >= 4 && words[at + 3] == kStorageOutput) { 48 } else if (op == kOpVariable && n >= 4 && words[at + 3] == kStorageOutput) {
38 outputs.insert(words[at + 2]); 49 outputs.push_back(words[at + 2]);
39 } 50 }
40 at += n; 51 at += n;
41 } 52 }
53
54 if (outputs.empty() || locations.empty()) return false;
55 std::sort(builtins.begin(), builtins.end());
56 builtins.erase(std::unique(builtins.begin(), builtins.end()), builtins.end());
57 std::sort(outputs.begin(), outputs.end());
58 outputs.erase(std::unique(outputs.begin(), outputs.end()), outputs.end());
59 std::sort(locations.begin(), locations.end(), [](const LocationDecl& a, const LocationDecl& b) {
60 return a.id != b.id ? a.id < b.id : a.literal_at < b.literal_at;
61 });
62
42 std::uint32_t second = 0; 63 std::uint32_t second = 0;
64 std::size_t second_literal_at = 0;
43 for (const std::uint32_t id : outputs) { 65 for (const std::uint32_t id : outputs) {
44 if (builtins.count(id)) continue; 66 if (std::binary_search(builtins.begin(), builtins.end(), id)) continue;
45 const auto loc = location_of.find(id); 67 const auto it = std::lower_bound(locations.begin(), locations.end(), id,
46 if (loc == location_of.end()) continue; 68 [](const LocationDecl& d, std::uint32_t target) { return d.id < target; });
47 if (loc->second >= 2) return false; 69 if (it == locations.end() || it->id != id) continue;
48 if (loc->second == 1) second = id; 70 // Refuse ambiguous duplicate Location decorations on the same Output variable.
71 if (it + 1 != locations.end() && (it + 1)->id == id) return false;
72 if (it->location >= 2u) return false;
73 if (it->location == 1u) {
74 if (second) return false; // more than one Output at Location 1
75 second = id;
76 second_literal_at = it->literal_at;
77 }
49 } 78 }
50 if (!second) return false; 79 if (!second) return false;
51 const std::size_t literal = location_at[second]; 80
52 words[literal] = 0; 81 words[second_literal_at] = 0u;
53 // OpDecorate %second Index 1, right after its Location decoration (annotations stay together). 82 // OpDecorate %second Index 1, right after its Location decoration (annotations stay together).
54 const std::vector<std::uint32_t> index{(4u << 16) | kOpDecorate, second, kIndex, 1}; 83 const std::array<std::uint32_t, 4> index{(4u << 16) | kOpDecorate, second, kIndex, 1u};
55 words.insert(words.begin() + static_cast<std::ptrdiff_t>(literal + 1), index.begin(), index.end()); 84 words.insert(words.begin() + static_cast<std::ptrdiff_t>(second_literal_at + 1), index.begin(), index.end());
56 return true; 85 return true;
57} 86}
58 87
diff --git a/runtime/src/frame_pacer.h b/runtime/src/frame_pacer.h
index 2c9f1fd7e..7eee49cbf 100644
--- a/runtime/src/frame_pacer.h
+++ b/runtime/src/frame_pacer.h
@@ -19,6 +19,10 @@
19// * A frame is "in flight" from PresentX until the vblank that shows it. Frames show one per vblank, in order. 19// * A frame is "in flight" from PresentX until the vblank that shows it. Frames show one per vblank, in order.
20// WaitFrameEventX does not return while `latency` frames are in flight. A frame presented while the origin event 20// WaitFrameEventX does not return while `latency` frames are in flight. A frame presented while the origin event
21// is not armed is not paced (PresentX does not hold it for a vblank): it shows at once and is never in flight. 21// is not armed is not paced (PresentX does not hold it for a vblank): it shows at once and is never in flight.
22// * At most `latency` frames are in flight. A present into a full queue (several presents with no wait between
23// them) replaces the newest queued frame and takes its vblank, like a mailbox: the replaced frame is never shown,
24// and the older ones keep their vblanks. So the queue, and the next wait, never reach further than `latency`
25// vblanks ahead, however many presents came in between.
22// * A wait that comes late (after the next origin already passed) returns at once with the newest passed origin; 26// * A wait that comes late (after the next origin already passed) returns at once with the newest passed origin;
23// the missed origins are skipped, not queued. 27// the missed origins are skipped, not queued.
24// * Tokens are 1, 2, 3, ... (0 is the null token), one per successful wait, never reused, across suspend/resume. 28// * Tokens are 1, 2, 3, ... (0 is the null token), one per successful wait, never reused, across suspend/resume.
@@ -212,15 +216,25 @@ public:
212 // SetFrameIntervalX(output, interval, latency, flags). `period_us` is the interval as a period; `latency` is 216 // SetFrameIntervalX(output, interval, latency, flags). `period_us` is the interval as a period; `latency` is
213 // the number of frames allowed in flight (0 counts as 1). The vblank grid is re-based: its epoch is now. A 217 // the number of frames allowed in flight (0 counts as 1). The vblank grid is re-based: its epoch is now. A
214 // scheduled origin event stays armed (with its offset, kept below the new period) and its next origin is one 218 // scheduled origin event stays armed (with its offset, kept below the new period) and its next origin is one
215 // new period from now; waiters blocked on the old grid pick the new one up. 219 // new period from now. When the period changes, pending frames receive consecutive vblanks on that grid in
220 // their original order. Reapplying the same period preserves their display deadlines.
216 std::int32_t set_frame_interval(std::uint32_t period_us, std::uint32_t latency, std::uint32_t flags) { 221 std::int32_t set_frame_interval(std::uint32_t period_us, std::uint32_t latency, std::uint32_t flags) {
217 (void)flags; 222 (void)flags;
218 if (period_us == 0) return pacer_hr::invalid_arg; 223 if (period_us == 0) return pacer_hr::invalid_arg;
219 std::lock_guard guard(mutex_); 224 std::lock_guard guard(mutex_);
220 if (suspended_) return pacer_hr::invalid_state; 225 if (suspended_) return pacer_hr::invalid_state;
226 const auto now = clock_.now_us();
227 if (period_us_ != period_us) {
228 retire_locked(now);
229 auto next_flip = now;
230 for (Pending& frame : pending_) {
231 next_flip += period_us;
232 frame.flip_us = next_flip;
233 }
234 }
221 period_us_ = period_us; 235 period_us_ = period_us;
222 latency_ = std::max(latency, 1u); 236 latency_ = std::max(latency, 1u);
223 epoch_us_ = clock_.now_us(); 237 epoch_us_ = now;
224 interval_set_ = true; 238 interval_set_ = true;
225 for (std::uint32_t k = 0; k < frame_event_count; ++k) { 239 for (std::uint32_t k = 0; k < frame_event_count; ++k) {
226 event_offset_us_[k] = std::min(event_offset_us_[k], period_us - 1); 240 event_offset_us_[k] = std::min(event_offset_us_[k], period_us - 1);
@@ -266,8 +280,9 @@ public:
266 280
267 // GetFrameStatisticsX(token, type_mask, &count, array). `count` is the room in `out` on entry and the number of 281 // GetFrameStatisticsX(token, type_mask, &count, array). `count` is the room in `out` on entry and the number of
268 // entries written on return. S_OK when every producible requested type was written (event, present, display), 282 // entries written on return. S_OK when every producible requested type was written (event, present, display),
269 // S_FALSE with count 0 or fewer when they are not (there yet, or the token is unknown or has aged out of the 283 // S_FALSE with count 0 or fewer when they are not (there yet, the frame was replaced in a full queue and never
270 // last 64). With a null `out`, count only receives how many entries are available. 284 // shown, or the token is unknown or has aged out of the last 64). With a null `out`, count only receives how many
285 // entries are available.
271 std::int32_t get_frame_statistics(std::uint64_t token, std::uint32_t type_mask, std::uint32_t* count, 286 std::int32_t get_frame_statistics(std::uint64_t token, std::uint32_t type_mask, std::uint32_t* count,
272 FrameStatistic* out) { 287 FrameStatistic* out) {
273 if (!count) return pacer_hr::invalid_arg; 288 if (!count) return pacer_hr::invalid_arg;
@@ -359,12 +374,10 @@ public:
359 if (r.token == token) { r.presented = r.displayed = true; r.present_us = r.display_us = now; } 374 if (r.token == token) { r.presented = r.displayed = true; r.present_us = r.display_us = now; }
360 return; 375 return;
361 } 376 }
362 // The vblank after now, and not before the one after the previous queued frame. 377 const bool queued_before = !pending_.empty();
363 const std::uint64_t since = now > epoch_us_ ? now - epoch_us_ : 0; 378 std::uint64_t flip = queue_flip_locked(now);
364 std::uint64_t flip = epoch_us_ + (since / period_us_ + 1) * period_us_;
365 if (!pending_.empty()) flip = std::max(flip, pending_.back().flip_us + period_us_);
366 float percent = 0.0f; 379 float percent = 0.0f;
367 if (sync == PresentSync::immediate && pending_.empty()) { 380 if (sync == PresentSync::immediate && !queued_before) {
368 flip = now; 381 flip = now;
369 std::uint64_t late_us = 0; 382 std::uint64_t late_us = 0;
370 for (const Record& r : records_) 383 for (const Record& r : records_)
@@ -386,9 +399,7 @@ public:
386 record_present_timing_locked(now, 0); 399 record_present_timing_locked(now, 0);
387 if (!interval_set_ || !any_armed_locked() || uncapped_) return; 400 if (!interval_set_ || !any_armed_locked() || uncapped_) return;
388 retire_locked(now); 401 retire_locked(now);
389 const std::uint64_t since = now > epoch_us_ ? now - epoch_us_ : 0; 402 const std::uint64_t flip = queue_flip_locked(now);
390 std::uint64_t flip = epoch_us_ + (since / period_us_ + 1) * period_us_;
391 if (!pending_.empty()) flip = std::max(flip, pending_.back().flip_us + period_us_);
392 pending_.push_back(Pending{0, flip, 0.0f}); 403 pending_.push_back(Pending{0, flip, 0.0f});
393 cv_.notify_all(); 404 cv_.notify_all();
394 } 405 }
@@ -396,6 +407,7 @@ public:
396 // SuspendX: presentation stops, the registration and the frames in flight are dropped, waiters fail. 407 // SuspendX: presentation stops, the registration and the frames in flight are dropped, waiters fail.
397 void suspend() { 408 void suspend() {
398 std::lock_guard guard(mutex_); 409 std::lock_guard guard(mutex_);
410 ++suspend_generation_;
399 suspended_ = true; 411 suspended_ = true;
400 interval_set_ = false; 412 interval_set_ = false;
401 has_last_present_ = false; // do not count the suspended pause as a frame interval after resume 413 has_last_present_ = false; // do not count the suspended pause as a frame interval after resume
@@ -484,6 +496,25 @@ private:
484 bool presented = false, displayed = false; 496 bool presented = false, displayed = false;
485 }; 497 };
486 498
499 // The vblank a frame presented now is queued for: the vblank after now, and not before the one after the previous
500 // queued frame. At most `latency_` frames are in flight, so with the queue full the newest queued frame is
501 // replaced (dropped: never shown) and the new one takes its vblank; the older ones keep theirs. A queue longer
502 // than the latency (after SetFrameIntervalX lowered it) is cut back the same way, from the newest end.
503 std::uint64_t queue_flip_locked(std::uint64_t now) {
504 if (pending_.size() >= latency_) { // latency_ is at least 1, so the queue is not empty
505 std::uint64_t flip = 0;
506 while (pending_.size() >= latency_) {
507 flip = pending_.back().flip_us;
508 pending_.pop_back();
509 }
510 return flip;
511 }
512 const std::uint64_t since = now > epoch_us_ ? now - epoch_us_ : 0;
513 std::uint64_t flip = epoch_us_ + (since / period_us_ + 1) * period_us_;
514 if (!pending_.empty()) flip = std::max(flip, pending_.back().flip_us + period_us_);
515 return flip;
516 }
517
487 void record_present_timing_locked(std::uint64_t now, std::uint64_t token) { 518 void record_present_timing_locked(std::uint64_t now, std::uint64_t token) {
488 ++presents_recorded_; 519 ++presents_recorded_;
489 if (has_last_present_ && now >= last_present_us_) { 520 if (has_last_present_ && now >= last_present_us_) {
@@ -534,7 +565,8 @@ private:
534 auto& tick = last_event_tick_[frame_event_origin]; 565 auto& tick = last_event_tick_[frame_event_origin];
535 tick = std::max(tick, newest); 566 tick = std::max(tick, newest);
536 const auto origin = first + static_cast<std::uint64_t>(tick) * period_us_; 567 const auto origin = first + static_cast<std::uint64_t>(tick) * period_us_;
537 *token = issue_token_locked(origin, origin - offset + period_us_); 568 // The current token can be polled before the first configured origin.
569 *token = issue_token_locked(std::min(origin, now), origin - offset + period_us_);
538 return pacer_hr::ok; 570 return pacer_hr::ok;
539 } 571 }
540 572
@@ -555,13 +587,15 @@ private:
555 587
556 std::int32_t wait_locked(std::unique_lock<std::mutex>& lock, std::uint32_t event, std::uint32_t timeout_ms, 588 std::int32_t wait_locked(std::unique_lock<std::mutex>& lock, std::uint32_t event, std::uint32_t timeout_ms,
557 std::uint32_t flags, std::uint64_t* token) { 589 std::uint32_t flags, std::uint64_t* token) {
590 const auto generation = suspend_generation_; // resume may re-arm the event before this wait reacquires the lock
558 const bool is_origin = (event == frame_event_origin); 591 const bool is_origin = (event == frame_event_origin);
559 const bool token_on_timeout = (flags & frame_wait_flag_token_on_timeout) != 0; 592 const bool token_on_timeout = (flags & frame_wait_flag_token_on_timeout) != 0;
560 const std::uint64_t start = clock_.now_us(); 593 const std::uint64_t start = clock_.now_us();
561 const std::uint64_t give_up = timeout_ms == infinite_timeout_ms ? no_deadline 594 const std::uint64_t give_up = timeout_ms == infinite_timeout_ms ? no_deadline
562 : start + std::uint64_t(timeout_ms) * 1000; 595 : start + std::uint64_t(timeout_ms) * 1000;
563 for (;;) { 596 for (;;) {
564 if (shutdown_ || suspended_ || !interval_set_) return pacer_hr::invalid_state; 597 if (shutdown_ || suspended_ || !interval_set_ || generation != suspend_generation_)
598 return pacer_hr::invalid_state;
565 if (is_origin ? !event_armed_[frame_event_origin] 599 if (is_origin ? !event_armed_[frame_event_origin]
566 : (!event_armed_[event] && !event_armed_[frame_event_origin])) { 600 : (!event_armed_[event] && !event_armed_[frame_event_origin])) {
567 return pacer_hr::invalid_state; 601 return pacer_hr::invalid_state;
@@ -610,6 +644,7 @@ private:
610 std::uint32_t waiters_ = 0; 644 std::uint32_t waiters_ = 0;
611 645
612 bool suspended_ = false; 646 bool suspended_ = false;
647 std::uint64_t suspend_generation_ = 0;
613 bool interval_set_ = false; 648 bool interval_set_ = false;
614 bool event_armed_[frame_event_count] = {false, false, false}; 649 bool event_armed_[frame_event_count] = {false, false, false};
615 bool uncapped_ = false; 650 bool uncapped_ = false;
diff --git a/runtime/src/fsdraw_probe.h b/runtime/src/fsdraw_probe.h
index 180b02b36..367f793cb 100644
--- a/runtime/src/fsdraw_probe.h
+++ b/runtime/src/fsdraw_probe.h
@@ -38,7 +38,26 @@ inline State& state() {
38 return s; 38 return s;
39} 39}
40 40
41// What backs a title VA on the GPU side (set by the device: "slot-133 shadow", ...), for the CB comparison below.
42inline std::atomic<const char* (*)(std::uint64_t)>& backing_hook() {
43 static std::atomic<const char* (*)(std::uint64_t)> hook{nullptr};
44 return hook;
45}
46
47// LEONIDA_FSDRAW_PROBE=1 turns the records and lines on (so does LEONIDA_COMPUTE_INPUTS, whose probe reads the T#
48// and CBV records). Off by default: they take this mutex at every T# registered, CBV made, pipeline created and
49// table submitted. The arena mapping (note_arena) is kept either way.
50inline bool enabled() {
51 static const bool on = [] {
52 const char* v = std::getenv("LEONIDA_FSDRAW_PROBE");
53 const char* inputs = std::getenv("LEONIDA_COMPUTE_INPUTS");
54 return (v && *v == '1') || (inputs && *inputs);
55 }();
56 return on;
57}
58
41inline void note_pipeline(std::uintptr_t id, std::string text) { 59inline void note_pipeline(std::uintptr_t id, std::string text) {
60 if (!enabled()) return;
42 std::lock_guard lock(state().mutex); 61 std::lock_guard lock(state().mutex);
43 state().pipelines[id] = std::move(text); 62 state().pipelines[id] = std::move(text);
44} 63}
@@ -55,6 +74,7 @@ inline std::string pipeline(std::uintptr_t id) {
55} 74}
56 75
57inline void note_tsharp(const std::uint32_t* words) { 76inline void note_tsharp(const std::uint32_t* words) {
77 if (!enabled()) return;
58 std::array<std::uint32_t, 8> key{}; 78 std::array<std::uint32_t, 8> key{};
59 std::memcpy(key.data(), words, sizeof(key)); 79 std::memcpy(key.data(), words, sizeof(key));
60 std::lock_guard lock(state().mutex); 80 std::lock_guard lock(state().mutex);
@@ -62,6 +82,7 @@ inline void note_tsharp(const std::uint32_t* words) {
62} 82}
63 83
64inline bool has_tsharp(const std::uint32_t* words) { 84inline bool has_tsharp(const std::uint32_t* words) {
85 if (!enabled()) return false;
65 std::array<std::uint32_t, 8> key{}; 86 std::array<std::uint32_t, 8> key{};
66 std::memcpy(key.data(), words, sizeof(key)); 87 std::memcpy(key.data(), words, sizeof(key));
67 std::lock_guard lock(state().mutex); 88 std::lock_guard lock(state().mutex);
@@ -84,22 +105,25 @@ inline void forget_arena(const std::uint8_t* mapped) {
84 } 105 }
85} 106}
86 107
87// A render target a fullscreen draw wrote: the present-probe reads it back with the source (at most 4 kept). 108// A render target a fullscreen draw wrote, or a traced texture (LEONIDA_TRACE_TEXTURE): the present-probe reads it back
109// with the source (at most 24 kept).
88inline void note_target(std::uint64_t id) { 110inline void note_target(std::uint64_t id) {
89 if (!id) return; 111 if (!id || !enabled()) return;
90 std::lock_guard lock(state().mutex); 112 std::lock_guard lock(state().mutex);
91 auto& r = state().readback; 113 auto& r = state().readback;
92 for (const std::uint64_t x : r) 114 for (const std::uint64_t x : r)
93 if (x == id) return; 115 if (x == id) return;
94 if (r.size() < 4) r.push_back(id); 116 if (r.size() < 24) r.push_back(id);
95} 117}
96 118
97inline std::vector<std::uint64_t> targets() { 119inline std::vector<std::uint64_t> targets() {
120 if (!enabled()) return {};
98 std::lock_guard lock(state().mutex); 121 std::lock_guard lock(state().mutex);
99 return state().readback; 122 return state().readback;
100} 123}
101 124
102inline void note_table(std::uint64_t translated, std::uint64_t original) { 125inline void note_table(std::uint64_t translated, std::uint64_t original) {
126 if (!enabled()) return;
103 std::lock_guard lock(state().mutex); 127 std::lock_guard lock(state().mutex);
104 auto& m = state().table_origin; 128 auto& m = state().table_origin;
105 if (m.size() > 8192) m.clear(); 129 if (m.size() > 8192) m.clear();
@@ -107,12 +131,14 @@ inline void note_table(std::uint64_t translated, std::uint64_t original) {
107} 131}
108 132
109inline std::uint64_t table_origin(std::uint64_t va) { 133inline std::uint64_t table_origin(std::uint64_t va) {
134 if (!enabled()) return va;
110 std::lock_guard lock(state().mutex); 135 std::lock_guard lock(state().mutex);
111 const auto it = state().table_origin.find(va); 136 const auto it = state().table_origin.find(va);
112 return it == state().table_origin.end() ? va : it->second; 137 return it == state().table_origin.end() ? va : it->second;
113} 138}
114 139
115inline void note_cbv(std::uint64_t base, std::uint64_t location, std::uint32_t size) { 140inline void note_cbv(std::uint64_t base, std::uint64_t location, std::uint32_t size) {
141 if (!enabled()) return;
116 std::lock_guard lock(state().mutex); 142 std::lock_guard lock(state().mutex);
117 auto& m = state().cbv_origin; 143 auto& m = state().cbv_origin;
118 if (m.size() > 8192) m.clear(); 144 if (m.size() > 8192) m.clear();
@@ -120,6 +146,7 @@ inline void note_cbv(std::uint64_t base, std::uint64_t location, std::uint32_t s
120} 146}
121 147
122inline bool cbv_origin(std::uint64_t base, std::uint64_t& location) { 148inline bool cbv_origin(std::uint64_t base, std::uint64_t& location) {
149 if (!enabled()) return false;
123 std::lock_guard lock(state().mutex); 150 std::lock_guard lock(state().mutex);
124 const auto it = state().cbv_origin.find(base); 151 const auto it = state().cbv_origin.find(base);
125 if (it == state().cbv_origin.end()) return false; 152 if (it == state().cbv_origin.end()) return false;
@@ -157,7 +184,13 @@ inline std::uint64_t arena_size() {
157// arena has its first 16 dwords printed from the arena. 184// arena has its first 16 dwords printed from the arena.
158inline void describe_table(const char* tag, std::uint64_t va, std::uint32_t slots, const std::uint8_t* cpu, 185inline void describe_table(const char* tag, std::uint64_t va, std::uint32_t slots, const std::uint8_t* cpu,
159 const char* heap_kind) { 186 const char* heap_kind) {
160 const std::uint32_t shown = slots < 4 ? slots : 4; 187 // LEONIDA_FSDRAW_SLOTS=<n>: how many of a table's slots are shown (4 by default; a composite's textures sit later).
188 static const std::uint32_t limit = [] {
189 const char* v = std::getenv("LEONIDA_FSDRAW_SLOTS");
190 const unsigned long n = v ? std::strtoul(v, nullptr, 10) : 0;
191 return n ? std::uint32_t(n < 64 ? n : 64) : 4u;
192 }();
193 const std::uint32_t shown = slots < limit ? slots : limit;
161 std::fprintf(stderr, "[rt] fsdraw: %s table va 0x%llx slots %u heap %s (arena size 0x%llx)\n", tag, 194 std::fprintf(stderr, "[rt] fsdraw: %s table va 0x%llx slots %u heap %s (arena size 0x%llx)\n", tag,
162 static_cast<unsigned long long>(va), slots, heap_kind, static_cast<unsigned long long>(arena_size())); 195 static_cast<unsigned long long>(va), slots, heap_kind, static_cast<unsigned long long>(arena_size()));
163 for (std::uint32_t i = 0; i < shown; ++i) { 196 for (std::uint32_t i = 0; i < shown; ++i) {
@@ -187,6 +220,32 @@ inline void describe_table(const char* tag, std::uint64_t va, std::uint32_t slot
187 if (!all.empty() && arena_words(base, all.data(), all.size())) 220 if (!all.empty() && arena_words(base, all.data(), all.size()))
188 for (const std::uint32_t x : all) nonzero += x != 0; 221 for (const std::uint32_t x : all) nonzero += x != 0;
189 } 222 }
223 // A V# in the arena: the title bytes it was copied from, beside the arena copy the GPU reads, and what
224 // keeps that copy (a coherence gap shows as title nonzero / arena zero, repeatedly).
225 std::uint64_t source = 0, range_va = 0, range_bytes = 0;
226 if (in_arena && title_va_aliases().title_of_shader(base, source, range_va, range_bytes)) {
227 std::uint64_t lo = 0, hi = 0;
228 std::uint32_t title_words[16]{};
229 const bool title_readable =
230 title_va_aliases().title_memory(source, lo, hi) && hi - source >= sizeof title_words;
231 if (title_readable)
232 std::memcpy(title_words, reinterpret_cast<const void*>(static_cast<std::uintptr_t>(source)),
233 sizeof title_words);
234 const auto hook = backing_hook().load(std::memory_order_acquire);
235 std::fprintf(stderr, "[rt] fsdraw: %s slot %u arena 0x%llx comes from title 0x%llx (alias range 0x%llx, "
236 "%llu bytes; backing %s): title [%s]%s\n",
237 tag, i, static_cast<unsigned long long>(base), static_cast<unsigned long long>(source),
238 static_cast<unsigned long long>(range_va), static_cast<unsigned long long>(range_bytes),
239 hook ? hook(source) : "unknown",
240 title_readable ? hex_words(title_words, 16).c_str() : "not readable",
241 !title_readable ? ""
242 // Only the alias range's own bytes (at most the 64 shown): the rest is another object's.
243 : std::memcmp(title_words, data, std::size_t(std::min<std::uint64_t>(
244 sizeof data, range_va + range_bytes - source))) ? " DIFFER" : " SAME");
245 } else if (in_arena) {
246 std::fprintf(stderr, "[rt] fsdraw: %s slot %u arena 0x%llx: no title range maps to it (the layer's own memory)\n",
247 tag, i, static_cast<unsigned long long>(base));
248 }
190 std::uint64_t location = 0; 249 std::uint64_t location = 0;
191 const bool made = cbv_origin(base, location); 250 const bool made = cbv_origin(base, location);
192 std::fprintf(stderr, "[rt] fsdraw: %s slot %u V# base 0x%llx stride %u records %u -> %s [%s] nonzero dwords " 251 std::fprintf(stderr, "[rt] fsdraw: %s slot %u V# base 0x%llx stride %u records %u -> %s [%s] nonzero dwords "
diff --git a/runtime/src/gfx10_descriptors.h b/runtime/src/gfx10_descriptors.h
index 9dad4ed7a..acfa590f8 100644
--- a/runtime/src/gfx10_descriptors.h
+++ b/runtime/src/gfx10_descriptors.h
@@ -159,11 +159,24 @@ inline constexpr std::uint32_t packed_uav_flag = 0x00400000;
159inline constexpr std::uint32_t volume_uav_word(std::uint32_t offset, std::uint32_t count) { 159inline constexpr std::uint32_t volume_uav_word(std::uint32_t offset, std::uint32_t count) {
160 return volume_uav_tag | ((count - 1) << 11) | offset; 160 return volume_uav_tag | ((count - 1) << 11) | offset;
161} 161}
162struct VolumeUavRange {
163 std::uint32_t first_w = 0;
164 std::uint32_t w_size = 0;
165};
166// The tag stores the first W slice and the slice count minus one. Bit 22 is independent packed-format metadata.
167inline constexpr bool volume_uav_range(const ImageWords& words, const Image& image, VolumeUavRange& out) {
168 if (image.type != ImageType::image_3d || !(words[4] & volume_uav_flag) ||
169 (words[7] & volume_uav_tag_mask) != volume_uav_tag)
170 return false;
171 out.first_w = words[7] & 0x7ffu;
172 out.w_size = ((words[7] >> 11) & 0x7ffu) + 1u;
173 return true;
174}
162inline constexpr bool partial_volume_uav(const ImageWords& words, const Image& image) { 175inline constexpr bool partial_volume_uav(const ImageWords& words, const Image& image) {
176 VolumeUavRange range{};
177 if (!volume_uav_range(words, image, range)) return false;
163 const auto mip_depth = image.depth >> image.first_mip; 178 const auto mip_depth = image.depth >> image.first_mip;
164 return image.type == ImageType::image_3d && (words[4] & volume_uav_flag) && 179 return range.first_w != 0 || range.w_size != (mip_depth ? mip_depth : 1u);
165 (words[7] & volume_uav_tag_mask) == volume_uav_tag &&
166 (words[7] & ~packed_uav_flag) != volume_uav_word(0, mip_depth ? mip_depth : 1u);
167} 180}
168 181
169inline constexpr float image_min_lod(const ImageWords& words) { 182inline constexpr float image_min_lod(const ImageWords& words) {
@@ -223,6 +236,16 @@ inline constexpr VkImageViewType vulkan_view_type(ImageType type) {
223 } 236 }
224} 237}
225 238
239inline constexpr VkImageSubresourceRange vulkan_subresource_range(const Image& image, VkImageAspectFlags aspects) {
240 const bool volume = image.type == ImageType::image_3d;
241 return {aspects, image.first_mip, image.mip_count, volume ? 0u : image.first_layer,
242 volume ? 1u : image.layer_count};
243}
244
245inline constexpr bool has_hardware_volume_uav_slice_offset(const ImageWords& words, const Image& image) {
246 return image.type == ImageType::image_3d && image.first_layer != 0 && detail::get(words[5], 0, 4) == 1;
247}
248
226// ---- formats ---- 249// ---- formats ----
227 250
228// One row for each Vulkan format: its GFX10_FORMAT code, and the DST_SEL that reads its channels as R, G, B, A 251// One row for each Vulkan format: its GFX10_FORMAT code, and the DST_SEL that reads its channels as R, G, B, A
diff --git a/runtime/src/gpu_label_memory.h b/runtime/src/gpu_label_memory.h
index ac0c53591..9ad7c1d75 100644
--- a/runtime/src/gpu_label_memory.h
+++ b/runtime/src/gpu_label_memory.h
@@ -35,8 +35,14 @@ class Memory {
35 auto previous = regions_.upper_bound(base); 35 auto previous = regions_.upper_bound(base);
36 if (!heap && previous != regions_.begin()) { 36 if (!heap && previous != regions_.begin()) {
37 --previous; 37 --previous;
38 const auto &r = *previous->second; 38 auto &r = *previous->second;
39 if (!r.heap && r.allocation_base == allocation_base && base >= r.begin && end <= r.end) return; 39 if (!r.heap && r.allocation_base == allocation_base && base >= r.begin) {
40 if (end <= r.end) return;
41 if (base == r.begin) {
42 r.end = end;
43 return;
44 }
45 }
40 } 46 }
41 regions_[base] = std::make_shared<Region>(Region{base, end, allocation_base, heap}); 47 regions_[base] = std::make_shared<Region>(Region{base, end, allocation_base, heap});
42 } 48 }
diff --git a/runtime/src/heavy_pipeline_cache.h b/runtime/src/heavy_pipeline_cache.h
new file mode 100644
index 000000000..8cad10e66
--- /dev/null
+++ b/runtime/src/heavy_pipeline_cache.h
@@ -0,0 +1,94 @@
1// A pipeline cache that survives a crash, for the pipelines the offline corpus does not have (RT-HEAVY-PIPELINE-CACHE).
2//
3// The offline seed (pipeline_cache.bin, several GiB) covers what the `pipelines` build stage creates. A pipeline it
4// misses is compiled on the spot, and some of those take the driver seconds each. pipeline_cache.session.bin cannot
5// keep them across a crash: it is written at device teardown only, and a cache seeded from the corpus returns the
6// whole corpus, over its write limit, so it is not written at all.
7//
8// So a pipeline is first created against the corpus cache with VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED.
9// When the driver would have to compile, it is created again against a cache of its own, seeded from
10// pipeline_cache.heavy.bin. That cache holds only the corpus's misses, so it stays small. After a compile that took
11// at least LEONIDA_HEAVY_PIPELINE_CACHE_MS (default 500 ms), it is written back to disk on a thread of its own: a
12// staging file renamed over the old one, so a crash at any point leaves the last complete file.
13//
14// This header holds the pure decisions (the threshold and when to write). Vulkan and the file live in the device.
15#pragma once
16
17#include <cstdint>
18#include <cstdlib>
19
20namespace leonida::heavy_pipeline_cache {
21
22inline constexpr std::uint32_t default_threshold_ms = 500;
23
24struct Threshold {
25 std::uint32_t ms = default_threshold_ms; // 0: off
26 bool valid = true; // false: the text was not a number; ms stays the default
27};
28
29// LEONIDA_HEAVY_PIPELINE_CACHE_MS: a compile at least this long schedules a write; 0 turns the heavy cache off.
30inline Threshold parse_threshold(const char* text) {
31 if (!text || !*text) return {};
32 std::uint64_t value = 0;
33 for (const char* p = text; *p; ++p) {
34 if (*p < '0' || *p > '9') return {default_threshold_ms, false};
35 value = value * 10 + std::uint64_t(*p - '0');
36 if (value > 3'600'000) return {default_threshold_ms, false}; // an hour: past it the text is a mistake
37 }
38 return {std::uint32_t(value), true};
39}
40
41// When the writer thread writes. A heavy compile marks the cache dirty; the write waits `settle_ms` after the
42// newest one (heavy compiles come in bursts at a load, and each write copies the whole heavy cache) but never more
43// than `max_delay_ms` after the first unwritten one, so a long burst is still saved as it goes. A write that fails
44// keeps the cache dirty and is tried again `retry_ms` later, the delay doubling with each failure in a row up to
45// `max_retry_ms`, so a disk that stays full or a driver that keeps failing does not make the writer spin.
46class WriteSchedule {
47public:
48 static constexpr std::uint64_t settle_ms = 3000;
49 static constexpr std::uint64_t max_delay_ms = 20000;
50 static constexpr std::uint64_t retry_ms = 5000;
51 static constexpr std::uint64_t max_retry_ms = 120000;
52
53 void note_heavy(std::uint64_t now_ms) {
54 if (!dirty_) first_ = now_ms;
55 dirty_ = true;
56 last_ = now_ms;
57 ++generation_;
58 }
59 bool dirty() const { return dirty_; }
60 // The time to write at; only meaningful while dirty.
61 std::uint64_t due_ms() const {
62 const std::uint64_t settled = last_ + settle_ms, latest = first_ + max_delay_ms;
63 const std::uint64_t at = settled < latest ? settled : latest;
64 return at > retry_at_ ? at : retry_at_;
65 }
66 bool due(std::uint64_t now_ms) const { return dirty_ && now_ms >= due_ms(); }
67 // Taken when a write starts; the write covers every heavy compile noted up to then.
68 std::uint64_t generation() const { return generation_; }
69 // A write that started at `generation` and `started_ms` is done. A heavy compile noted after it started, even in
70 // the same millisecond tick, keeps the cache dirty for the next write, due as if it were first noted then.
71 void written(std::uint64_t generation, std::uint64_t started_ms) {
72 failures_ = 0;
73 retry_at_ = 0;
74 if (generation_ == generation) dirty_ = false;
75 else first_ = started_ms;
76 }
77 // A write that started at `started_ms` failed: the cache stays dirty and the next try waits out the backoff.
78 void failed(std::uint64_t started_ms) {
79 std::uint64_t delay = retry_ms;
80 for (std::uint32_t i = 0; i < failures_ && delay < max_retry_ms; ++i) delay *= 2;
81 if (delay > max_retry_ms) delay = max_retry_ms;
82 if (failures_ < 64) ++failures_;
83 retry_at_ = started_ms + delay;
84 }
85 std::uint32_t failures() const { return failures_; }
86
87private:
88 bool dirty_ = false;
89 std::uint64_t first_ = 0, last_ = 0, generation_ = 0;
90 std::uint32_t failures_ = 0; // failed writes in a row
91 std::uint64_t retry_at_ = 0; // no write before this time after a failure
92};
93
94} // namespace leonida::heavy_pipeline_cache
diff --git a/runtime/src/host_image_copy_policy.h b/runtime/src/host_image_copy_policy.h
new file mode 100644
index 000000000..a67be2a88
--- /dev/null
+++ b/runtime/src/host_image_copy_policy.h
@@ -0,0 +1,33 @@
1// LEONIDA_HOST_IMAGE_COPY: whether the Vulkan D3D12 layer (shims/d3d12_vulkan_device.cpp) enables
2// VK_EXT_host_image_copy for WriteToSubresource/ReadFromSubresource. Pure stdlib, so the choice is tested without a
3// GPU (test/host_image_copy_policy_test.cpp).
4//
5// 0 never: the extension is not enabled and every CPU texture copy takes the staging submit.
6// 1 whenever the device has the extension and its hostImageCopy feature.
7// auto (unset, empty or any other text) as 1, except on NVIDIA, where it is off: a real boot on an RTX 4070 SUPER
8// lost the device (WRITE_INVALID) in 7 of 7 runs with host image copies and in 0 of 2 without them. The
9// cause is not known yet (docs/d3d12_vulkan.md).
10#pragma once
11
12#include <cstdint>
13#include <cstring>
14
15namespace leonida {
16
17constexpr std::uint32_t kNvidiaVendorId = 0x10DE; // VkPhysicalDeviceProperties::vendorID
18
19struct HostImageCopyChoice {
20 bool use;
21 const char* reason; // static text for the device-creation log line
22};
23
24// `setting` is the variable's text (null when unset); `available` is the extension with its hostImageCopy feature.
25inline HostImageCopyChoice host_image_copy_choice(const char* setting, bool available, std::uint32_t vendor_id) {
26 if (setting && std::strcmp(setting, "0") == 0) return {false, "LEONIDA_HOST_IMAGE_COPY=0"};
27 if (!available) return {false, "not available"};
28 if (setting && std::strcmp(setting, "1") == 0) return {true, "LEONIDA_HOST_IMAGE_COPY=1"};
29 if (vendor_id == kNvidiaVendorId) return {false, "auto: NVIDIA"};
30 return {true, "available"};
31}
32
33} // namespace leonida
diff --git a/runtime/src/image_memory.h b/runtime/src/image_memory.h
index 3a473192b..e2c0eb144 100644
--- a/runtime/src/image_memory.h
+++ b/runtime/src/image_memory.h
@@ -35,9 +35,10 @@ public:
35 if (!size || !alignment || size > size_) return false; 35 if (!size || !alignment || size > size_) return false;
36 for (auto it = by_size_.lower_bound({size, 0}); it != by_size_.end(); ++it) { 36 for (auto it = by_size_.lower_bound({size, 0}); it != by_size_.end(); ++it) {
37 const auto [piece_size, piece] = *it; 37 const auto [piece_size, piece] = *it;
38 const std::uint64_t start = (piece + alignment - 1) / alignment * alignment; 38 const std::uint64_t rem = piece % alignment;
39 const std::uint64_t lead = start - piece; 39 const std::uint64_t lead = rem ? alignment - rem : 0;
40 if (lead > piece_size || size > piece_size - lead) continue; 40 if (lead > piece_size || size > piece_size - lead) continue;
41 const std::uint64_t start = piece + lead;
41 erase(piece, piece_size); 42 erase(piece, piece_size);
42 insert(piece, lead); 43 insert(piece, lead);
43 insert(start + size, piece_size - lead - size); 44 insert(start + size, piece_size - lead - size);
@@ -52,17 +53,21 @@ public:
52 53
53 // Gives back a range allocate() returned. 54 // Gives back a range allocate() returned.
54 void release(std::uint64_t offset, std::uint64_t size) { 55 void release(std::uint64_t offset, std::uint64_t size) {
56 if (!size) return;
55 in_use_ -= size; 57 in_use_ -= size;
56 if (const auto next = by_offset_.lower_bound(offset); next != by_offset_.end() && offset + size == next->first) { 58 auto it = by_offset_.lower_bound(offset);
57 const std::uint64_t next_size = next->second; 59 if (it != by_offset_.end() && offset + size == it->first) {
58 erase(next->first, next_size); 60 const std::uint64_t next_size = it->second;
61 by_size_.erase({next_size, it->first});
62 it = by_offset_.erase(it);
59 size += next_size; 63 size += next_size;
60 } 64 }
61 if (auto previous = by_offset_.lower_bound(offset); previous != by_offset_.begin()) { 65 if (it != by_offset_.begin()) {
62 previous = std::prev(previous); 66 const auto previous = std::prev(it);
63 const auto [start, previous_size] = *previous; 67 const auto [start, previous_size] = *previous;
64 if (start + previous_size == offset) { 68 if (start + previous_size == offset) {
65 erase(start, previous_size); 69 by_size_.erase({previous_size, start});
70 by_offset_.erase(previous);
66 offset = start; 71 offset = start;
67 size += previous_size; 72 size += previous_size;
68 } 73 }
@@ -143,34 +148,49 @@ public:
143 } 148 }
144 149
145 // A range of a block of `type`, in a new block of `block_bytes` when no block has room. Null when the driver has no 150 // A range of a block of `type`, in a new block of `block_bytes` when no block has room. Null when the driver has no
146 // room for that block; the caller then makes its own allocation. 151 // room for that block; the caller then makes its own allocation. Driver callbacks (`allocate_` / `free_`) always
152 // run outside `mutex_` so slow kernel allocations never block concurrent releases or allocations on other blocks.
147 std::unique_ptr<Range> allocate(std::uint32_t type, std::uint64_t size, std::uint64_t alignment, 153 std::unique_ptr<Range> allocate(std::uint32_t type, std::uint64_t size, std::uint64_t alignment,
148 std::uint64_t block_bytes) { 154 std::uint64_t block_bytes) {
149 std::lock_guard lock(mutex_); 155 if (!size || !alignment) return nullptr;
150 Type& pool = types_[type];
151 std::uint64_t offset = 0; 156 std::uint64_t offset = 0;
152 bool reused = false; 157 bool reused = false;
153 for (const auto& block : pool.blocks) { 158 std::unique_lock lock(mutex_);
154 if (block->ranges.largest() < size || !block->ranges.allocate(size, alignment, offset, reused)) continue; 159 {
155 ++ranges_; 160 Type& pool = types_[type];
156 return std::unique_ptr<Range>(new Range(*this, block.get(), block->memory, offset, size, reused)); 161 for (const auto& block : pool.blocks) {
162 if (block->ranges.largest() < size || !block->ranges.allocate(size, alignment, offset, reused)) continue;
163 ++ranges_;
164 return std::unique_ptr<Range>(new Range(*this, block.get(), block->memory, offset, size, reused));
165 }
166 // A failed driver allocation is slow, and a full heap stays full until something is given back: do not ask
167 // for another block at every texture until a range is released, or that many textures later.
168 if (size > block_bytes || (pool.skip && pool.skip--)) return nullptr;
157 } 169 }
158 // A failed driver allocation is slow, and a full heap stays full until something is given back: do not ask for 170 lock.unlock();
159 // another block at every texture until a range is released, or that many textures later.
160 if (size > block_bytes || (pool.skip && pool.skip--)) return nullptr;
161 const Memory memory = allocate_(type, block_bytes); 171 const Memory memory = allocate_(type, block_bytes);
162 if (!memory) { 172 if (!memory) {
163 pool.skip = kRetryAfter; 173 lock.lock();
174 types_[type].skip = kRetryAfter;
164 return nullptr; 175 return nullptr;
165 } 176 }
166 auto block = std::make_unique<Block>(type, memory, block_bytes); 177 std::unique_ptr<Block> block;
178 try {
179 block = std::make_unique<Block>(type, memory, block_bytes);
180 } catch (...) {
181 free_(memory);
182 throw;
183 }
167 if (!block->ranges.allocate(size, alignment, offset, reused)) { 184 if (!block->ranges.allocate(size, alignment, offset, reused)) {
168 free_(memory); 185 free_(memory);
169 return nullptr; 186 return nullptr;
170 } 187 }
188 lock.lock();
189 Type& pool = types_[type];
171 ++ranges_; 190 ++ranges_;
191 Block* raw = block.get();
172 pool.blocks.push_back(std::move(block)); 192 pool.blocks.push_back(std::move(block));
173 return std::unique_ptr<Range>(new Range(*this, pool.blocks.back().get(), memory, offset, size, reused)); 193 return std::unique_ptr<Range>(new Range(*this, raw, memory, offset, size, reused));
174 } 194 }
175 195
176 Stats stats() const { 196 Stats stats() const {
diff --git a/runtime/src/indirect_clamp.comp b/runtime/src/indirect_clamp.comp
index 565a19463..37af7431f 100644
--- a/runtime/src/indirect_clamp.comp
+++ b/runtime/src/indirect_clamp.comp
@@ -9,9 +9,19 @@
9// charging the list budget. The command list charges its work (vertices, indices, or groups * 64) against 2^27 units with 9// charging the list budget. The command list charges its work (vertices, indices, or groups * 64) against 2^27 units with
10// an atomic CAS, so thousands of garbage records cannot run for seconds either. 10// an atomic CAS, so thousands of garbage records cannot run for seconds either.
11// 11//
12// A draw record of 2^23 vertices (or indices) an instance or more is a slot the title has not filled, not a draw: it
13// runs empty and charges nothing, so a few of them cannot use up the list budget and empty every real draw after them
14// (RT-INDIRECT-DRAW-UNFILLED-COUNT; a census in codec-d/cool_fox's fork of VIctory found 90 records of 2^24 in one
15// list, its docs/findings.md and crates/victory-gpu/src/indirect.rs; no code of it is used).
16//
12// The bounds cut legitimate work beyond them, so they are generous: 2^24 vertices (or indices), 2^26 vertex instances, 17// The bounds cut legitimate work beyond them, so they are generous: 2^24 vertices (or indices), 2^26 vertex instances,
13// 65 535 groups per dimension, 2^20 groups per dispatch, and mesh dispatches charged 128 threads per group. The 18// the device's own maxComputeWorkGroupCount per dimension for a dispatch (65 535 for a mesh dispatch), 2^20 groups per
14// console's mesh dispatch is one-dimensional; the output uses one group in y and z. 19// dispatch, and mesh dispatches charged 128 threads per group. The console's mesh dispatch is one-dimensional; the
20// output uses one group in y and z.
21//
22// A dispatch is bounded by the device's limit, not by Vulkan's guaranteed minimum of 65 535: NVIDIA, for one, allows
23// 2^31 - 1 groups in x, and a fixed 65 535 cut a one-dimensional dispatch of more groups short, so the groups
24// past it never ran and their output stayed stale (blocky patches; idea from codec-d/cool_fox docs/findings.md).
15#version 460 25#version 460
16#extension GL_EXT_buffer_reference : require 26#extension GL_EXT_buffer_reference : require
17layout(local_size_x = 64) in; 27layout(local_size_x = 64) in;
@@ -35,13 +45,19 @@ layout(push_constant) uniform Params {
35 uint first_record; // the record index this chunk starts at 45 uint first_record; // the record index this chunk starts at
36 uint max_records; // max_command_count of the ExecuteIndirect call 46 uint max_records; // max_command_count of the ExecuteIndirect call
37 uint flags; // bit 0: counted; bits 1..16: optional per-dispatch group budget 47 uint flags; // bit 0: counted; bits 1..16: optional per-dispatch group budget
48 uint max_x; // the device's maxComputeWorkGroupCount: a dispatch's x, y and z run up to these
49 uint max_y; // (three words, not a uvec3, whose 16-byte alignment would move it past the C++ struct)
50 uint max_z;
51 uint reserved;
38} p; 52} p;
39 53
40// One ExecuteIndirect batch's limits. A record that asks for more runs empty instead of for seconds. 54// One ExecuteIndirect batch's limits. A record that asks for more runs empty instead of for seconds.
41const uint max_vertices = 1u << 24u; // vertices or indices in one draw 55const uint max_vertices = 1u << 24u; // vertices or indices in one draw
56const uint unfilled_draw = 1u << 23u; // vertices or indices an instance from which a draw record is unfilled
42const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count 57const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count
43const uint max_group_dimension = 65535u; // groups in x, y or z 58const uint max_mesh_dimension = 65535u; // groups in a mesh dispatch's x (dispatches: p.max_x, y, z)
44const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch 59const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch
60const uint narrow_groups = 65535u; // the x a dispatch record was cut at before, for the counters
45const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64 61const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64
46 62
47// Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never 63// Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never
@@ -101,7 +117,8 @@ void main() {
101 // A draw or an indexed draw: count, instances, then the two (or three) locations, copied as they are. 117 // A draw or an indexed draw: count, instances, then the two (or three) locations, copied as they are.
102 const uint count = p.arguments.data[src]; 118 const uint count = p.arguments.data[src];
103 const uint instances = p.arguments.data[src + 1u]; 119 const uint instances = p.arguments.data[src + 1u];
104 uint index_count = min(count, max_vertices); 120 // An unfilled record (a count of 2^23 or more) runs empty, free: cost 0, so it leaves the budget alone.
121 uint index_count = count >= unfilled_draw ? 0u : min(count, max_vertices);
105 uint instance_count = min(instances, max_vertex_instances / max(index_count, 1u)); 122 uint instance_count = min(instances, max_vertex_instances / max(index_count, 1u));
106 if (index_count == 0u) instance_count = 0u; 123 if (index_count == 0u) instance_count = 0u;
107 clamped = index_count != count || instance_count != instances ? 1u : 0u; 124 clamped = index_count != count || instance_count != instances ? 1u : 0u;
@@ -112,26 +129,47 @@ void main() {
112 words[3] = p.arguments.data[src + 3u]; 129 words[3] = p.arguments.data[src + 3u];
113 if (p.kind == 1u) words[4] = p.arguments.data[src + 4u]; 130 if (p.kind == 1u) words[4] = p.arguments.data[src + 4u];
114 } else { 131 } else {
115 // A dispatch or a mesh dispatch: three group counts. x * y fits 32 bits (each is at most 65 535); the whole 132 // A dispatch or a mesh dispatch: three group counts, each bounded by the device's limit. A product past
116 // group count may not, so an oversized product runs empty. 133 // max_groups runs empty; it is checked by division, because x alone may be up to 2^32 - 1.
117 const uint asked_x = p.arguments.data[src]; 134 const uint asked_x = p.arguments.data[src];
118 const uint asked_y = p.arguments.data[src + 1u]; 135 const uint asked_y = p.arguments.data[src + 1u];
119 const uint asked_z = p.arguments.data[src + 2u]; 136 const uint asked_z = p.arguments.data[src + 2u];
120 uint x = min(asked_x, max_group_dimension); 137 if (p.kind == 3u) {
121 uint y = min(asked_y, max_group_dimension); 138 // Before the clamp: how many mesh records ask for more than one group in y or z, and the largest y and z
122 uint z = min(asked_z, max_group_dimension); 139 // asked (stats words 8-11), which y = z = 1 below would cut.
140 atomicAdd(p.stats.data[8], 1u);
141 if (asked_y > 1u || asked_z > 1u) {
142 atomicAdd(p.stats.data[9], 1u);
143 atomicMax(p.stats.data[10], asked_y);
144 atomicMax(p.stats.data[11], asked_z);
145 }
146 }
147 const uvec3 limit = p.kind == 3u ? uvec3(max_mesh_dimension, 1u, 1u) : max(uvec3(p.max_x, p.max_y, p.max_z), uvec3(1u));
148 uint x = min(asked_x, limit.x);
149 uint y = min(asked_y, limit.y);
150 uint z = min(asked_z, limit.z);
123 if (p.kind == 3u) { y = 1u; z = 1u; } 151 if (p.kind == 3u) { y = 1u; z = 1u; }
152 // A dispatch past the device's limit in some dimension, cut there (stats word 14).
153 const bool past_device = p.kind != 3u && (x != asked_x || y != asked_y || z != asked_z);
124 const uint groups = p.flags >> 1u; 154 const uint groups = p.flags >> 1u;
125 if (groups != 0u && x != 0u && y != 0u && z != 0u) { 155 if (groups != 0u && x != 0u && y != 0u && z != 0u) {
126 x = min(x, groups); 156 x = min(x, groups);
127 y = min(y, groups / x); 157 y = min(y, groups / x);
128 z = min(z, groups / x / y); 158 z = min(z, groups / x / y);
129 } 159 }
130 if (z != 0u && x * y > max_groups / z) { 160 if (x != 0u && y != 0u && z != 0u && (x > max_groups || y > max_groups / x || z > max_groups / x / y)) {
131 x = 0u; 161 x = 0u;
132 y = 0u; 162 y = 0u;
133 z = 0u; 163 z = 0u;
134 } 164 }
165 if (p.kind != 3u) {
166 // Dispatch records (stats words 12-15): those that run wider than 65 535 groups in x, the widest x that
167 // runs, those cut at the device's limits (and still run), and all of them.
168 atomicAdd(p.stats.data[15], 1u);
169 if (x > narrow_groups) atomicAdd(p.stats.data[12], 1u);
170 atomicMax(p.stats.data[13], x);
171 if (past_device && x != 0u) atomicAdd(p.stats.data[14], 1u);
172 }
135 clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u; 173 clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u;
136 cost = x * y * z * (p.kind == 3u ? 128u : 64u); 174 cost = x * y * z * (p.kind == 3u ? 128u : 64u);
137 words[0] = x; 175 words[0] = x;
diff --git a/runtime/src/indirect_clamp_spv.h b/runtime/src/indirect_clamp_spv.h
index 50253df78..36e4d9654 100644
--- a/runtime/src/indirect_clamp_spv.h
+++ b/runtime/src/indirect_clamp_spv.h
@@ -3,7 +3,7 @@
3#include <cstdint> 3#include <cstdint>
4namespace leonida { 4namespace leonida {
5inline constexpr std::uint32_t indirect_clamp_spirv[] = { 5inline constexpr std::uint32_t indirect_clamp_spirv[] = {
6 0x07230203u, 0x00010500u, 0x0008000bu, 0x000002d0u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, 6 0x07230203u, 0x00010500u, 0x0008000bu, 0x000003b0u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u,
7 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, 7 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu,
8 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u, 8 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u,
9 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u, 9 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u,
@@ -17,271 +17,336 @@ inline constexpr std::uint32_t indirect_clamp_spirv[] = {
17 0x00070006u, 0x0000001au, 0x00000007u, 0x69727473u, 0x775f6564u, 0x7364726fu, 0x00000000u, 0x00050006u, 17 0x00070006u, 0x0000001au, 0x00000007u, 0x69727473u, 0x775f6564u, 0x7364726fu, 0x00000000u, 0x00050006u,
18 0x0000001au, 0x00000008u, 0x6f636572u, 0x00736472u, 0x00070006u, 0x0000001au, 0x00000009u, 0x73726966u, 18 0x0000001au, 0x00000008u, 0x6f636572u, 0x00736472u, 0x00070006u, 0x0000001au, 0x00000009u, 0x73726966u,
19 0x65725f74u, 0x64726f63u, 0x00000000u, 0x00060006u, 0x0000001au, 0x0000000au, 0x5f78616du, 0x6f636572u, 19 0x65725f74u, 0x64726f63u, 0x00000000u, 0x00060006u, 0x0000001au, 0x0000000au, 0x5f78616du, 0x6f636572u,
20 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00040005u, 0x0000001cu, 20 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00050006u, 0x0000001au,
21 0x73677241u, 0x00006e49u, 0x00050006u, 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 21 0x0000000cu, 0x5f78616du, 0x00000078u, 0x00050006u, 0x0000001au, 0x0000000du, 0x5f78616du, 0x00000079u,
22 0x0000001eu, 0x6e756f43u, 0x006e4974u, 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, 22 0x00050006u, 0x0000001au, 0x0000000eu, 0x5f78616du, 0x0000007au, 0x00040005u, 0x0000001cu, 0x73677241u,
23 0x00040005u, 0x00000020u, 0x73677241u, 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, 23 0x00006e49u, 0x00050006u, 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x0000001eu,
24 0x00000000u, 0x00050005u, 0x00000022u, 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, 24 0x6e756f43u, 0x006e4974u, 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u,
25 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, 25 0x00000020u, 0x73677241u, 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, 0x00000000u,
26 0x00000024u, 0x00000000u, 0x61746164u, 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, 26 0x00050005u, 0x00000022u, 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, 0x00000000u,
27 0x0000005au, 0x475f6c67u, 0x61626f6cu, 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, 27 0x61746164u, 0x00000000u, 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, 0x00000024u,
28 0x00000116u, 0x64726f77u, 0x00000073u, 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, 28 0x00000000u, 0x61746164u, 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, 0x0000005au,
29 0x00000000u, 0x00000023u, 0x00000000u, 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, 29 0x475f6c67u, 0x61626f6cu, 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, 0x00000116u,
30 0x00050048u, 0x0000001au, 0x00000002u, 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, 30 0x64726f77u, 0x00000073u, 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, 0x00000000u,
31 0x00000023u, 0x00000018u, 0x00050048u, 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, 31 0x00000023u, 0x00000000u, 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, 0x00050048u,
32 0x0000001au, 0x00000005u, 0x00000023u, 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, 32 0x0000001au, 0x00000002u, 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, 0x00000023u,
33 0x00000030u, 0x00050048u, 0x0000001au, 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, 33 0x00000018u, 0x00050048u, 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, 0x0000001au,
34 0x00000008u, 0x00000023u, 0x00000038u, 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, 34 0x00000005u, 0x00000023u, 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, 0x00000030u,
35 0x00050048u, 0x0000001au, 0x0000000au, 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, 35 0x00050048u, 0x0000001au, 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, 0x00000008u,
36 0x00000023u, 0x00000044u, 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001cu, 36 0x00000023u, 0x00000038u, 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, 0x00050048u,
37 0x00000002u, 0x00040048u, 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, 0x00000000u, 37 0x0000001au, 0x0000000au, 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, 0x00000023u,
38 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001eu, 38 0x00000044u, 0x00050048u, 0x0000001au, 0x0000000cu, 0x00000023u, 0x00000048u, 0x00050048u, 0x0000001au,
39 0x00000002u, 0x00040048u, 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, 0x00000000u, 39 0x0000000du, 0x00000023u, 0x0000004cu, 0x00050048u, 0x0000001au, 0x0000000eu, 0x00000023u, 0x00000050u,
40 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000020u, 40 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001cu, 0x00000002u, 0x00040048u,
41 0x00000002u, 0x00050048u, 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000021u, 41 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, 0x00000000u, 0x00000023u, 0x00000000u,
42 0x00000006u, 0x00000004u, 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, 42 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001eu, 0x00000002u, 0x00040048u,
43 0x00000023u, 0x00000000u, 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, 43 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, 0x00000000u, 0x00000023u, 0x00000000u,
44 0x00000002u, 0x00050048u, 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, 44 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000020u, 0x00000002u, 0x00050048u,
45 0x0000000bu, 0x0000001cu, 0x00040047u, 0x00000209u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, 45 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000021u, 0x00000006u, 0x00000004u,
46 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, 46 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, 0x00000023u, 0x00000000u,
47 0x00000007u, 0x00000007u, 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, 47 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, 0x00000002u, 0x00050048u,
48 0x00000000u, 0x00030029u, 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, 48 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, 0x0000000bu, 0x0000001cu,
49 0x00000016u, 0x000014e5u, 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, 0x000014e5u, 49 0x00040047u, 0x00000293u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, 0x00030021u, 0x00000003u,
50 0x00030027u, 0x00000019u, 0x000014e5u, 0x000e001eu, 0x0000001au, 0x00000015u, 0x00000016u, 0x00000017u, 50 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, 0x00000007u, 0x00000007u,
51 0x00000018u, 0x00000019u, 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 51 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, 0x00000000u, 0x00030029u,
52 0x00000006u, 0x0003001du, 0x0000001bu, 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu, 0x00040020u, 52 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, 0x00000016u, 0x000014e5u,
53 0x00000015u, 0x000014e5u, 0x0000001cu, 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu, 0x0000001eu, 53 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, 0x000014e5u, 0x00030027u, 0x00000019u,
54 0x0000001du, 0x00040020u, 0x00000016u, 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu, 0x00000006u, 54 0x000014e5u, 0x0011001eu, 0x0000001au, 0x00000015u, 0x00000016u, 0x00000017u, 0x00000018u, 0x00000019u,
55 0x0003001eu, 0x00000020u, 0x0000001fu, 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u, 0x0003001du, 55 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u,
56 0x00000021u, 0x00000006u, 0x0003001eu, 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u, 0x000014e5u, 56 0x00000006u, 0x00000006u, 0x0003001du, 0x0000001bu, 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu,
57 0x00000022u, 0x0003001du, 0x00000023u, 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u, 0x00040020u, 57 0x00040020u, 0x00000015u, 0x000014e5u, 0x0000001cu, 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu,
58 0x00000019u, 0x000014e5u, 0x00000024u, 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au, 0x0004003bu, 58 0x0000001eu, 0x0000001du, 0x00040020u, 0x00000016u, 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu,
59 0x00000025u, 0x00000026u, 0x00000009u, 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u, 0x0004002bu, 59 0x00000006u, 0x0003001eu, 0x00000020u, 0x0000001fu, 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u,
60 0x00000027u, 0x00000028u, 0x00000005u, 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u, 0x0004002bu, 60 0x0003001du, 0x00000021u, 0x00000006u, 0x0003001eu, 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u,
61 0x00000027u, 0x0000002cu, 0x00000000u, 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u, 0x0004002bu, 61 0x000014e5u, 0x00000022u, 0x0003001du, 0x00000023u, 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u,
62 0x00000006u, 0x0000002fu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u, 0x0003002au, 62 0x00040020u, 0x00000019u, 0x000014e5u, 0x00000024u, 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au,
63 0x00000008u, 0x00000041u, 0x00040017u, 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u, 0x00000059u, 63 0x0004003bu, 0x00000025u, 0x00000026u, 0x00000009u, 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u,
64 0x00000001u, 0x00000058u, 0x0004003bu, 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u, 0x0000005bu, 64 0x0004002bu, 0x00000027u, 0x00000028u, 0x00000005u, 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u,
65 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u, 0x00000060u, 65 0x0004002bu, 0x00000027u, 0x0000002cu, 0x00000000u, 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u,
66 0x00000009u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu, 0x00000027u, 66 0x0004002bu, 0x00000006u, 0x0000002fu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u,
67 0x0000006eu, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu, 0x00000006u, 67 0x0003002au, 0x00000008u, 0x00000041u, 0x00040017u, 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u,
68 0x00000079u, 0x00000005u, 0x0004002bu, 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu, 0x00000027u, 68 0x00000059u, 0x00000001u, 0x00000058u, 0x0004003bu, 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u,
69 0x00000084u, 0x0000000bu, 0x0004002bu, 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu, 0x00000027u, 69 0x0000005bu, 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u,
70 0x00000091u, 0x00000001u, 0x00040020u, 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu, 0x00000027u, 70 0x00000060u, 0x00000009u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu,
71 0x0000009eu, 0x00000003u, 0x00040020u, 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu, 0x00000027u, 71 0x00000027u, 0x0000006eu, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu,
72 0x000000a9u, 0x00000004u, 0x0004002bu, 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u, 0x000000bdu, 72 0x00000006u, 0x00000079u, 0x00000005u, 0x0004002bu, 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu,
73 0x00000009u, 0x00000017u, 0x0004002bu, 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u, 0x000000dau, 73 0x00000027u, 0x00000084u, 0x0000000bu, 0x0004002bu, 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu,
74 0x00000009u, 0x00000015u, 0x0004002bu, 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu, 0x00000114u, 74 0x00000027u, 0x00000091u, 0x00000001u, 0x00040020u, 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu,
75 0x00000006u, 0x00000079u, 0x00040020u, 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu, 0x00000114u, 75 0x00000027u, 0x0000009eu, 0x00000003u, 0x00040020u, 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu,
76 0x00000117u, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu, 0x00000006u, 76 0x00000027u, 0x000000a9u, 0x00000004u, 0x0004002bu, 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u,
77 0x0000012eu, 0x01000000u, 0x0004002bu, 0x00000006u, 0x00000132u, 0x04000000u, 0x0004002bu, 0x00000006u, 77 0x000000bdu, 0x00000009u, 0x00000017u, 0x0004002bu, 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u,
78 0x0000014du, 0x00000002u, 0x0004002bu, 0x00000006u, 0x0000017cu, 0x0000ffffu, 0x0004002bu, 0x00000006u, 78 0x000000dau, 0x00000009u, 0x00000015u, 0x0004002bu, 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu,
79 0x000001b0u, 0x00100000u, 0x0004002bu, 0x00000006u, 0x000001cbu, 0x00000080u, 0x0004002bu, 0x00000006u, 79 0x00000114u, 0x00000006u, 0x00000079u, 0x00040020u, 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu,
80 0x000001ccu, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000209u, 0x000001ccu, 0x0000002fu, 0x0000002fu, 80 0x00000114u, 0x00000117u, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu,
81 0x00030001u, 0x00000008u, 0x00000288u, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 81 0x00000006u, 0x0000012eu, 0x00800000u, 0x0004002bu, 0x00000006u, 0x00000135u, 0x01000000u, 0x0004002bu,
82 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, 0x0000020au, 82 0x00000006u, 0x0000013au, 0x04000000u, 0x0004002bu, 0x00000006u, 0x00000155u, 0x00000002u, 0x0004002bu,
83 0x00000000u, 0x000300fbu, 0x0000000eu, 0x0000020bu, 0x000200f8u, 0x0000020bu, 0x00050041u, 0x0000005bu, 83 0x00000006u, 0x000001a8u, 0x0000ffffu, 0x0006002cu, 0x00000058u, 0x000001a9u, 0x000001a8u, 0x0000002fu,
84 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, 0x00050041u, 84 0x0000002fu, 0x0004002bu, 0x00000027u, 0x000001abu, 0x0000000cu, 0x0004002bu, 0x00000027u, 0x000001aeu,
85 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, 0x00000061u, 85 0x0000000du, 0x0004002bu, 0x00000027u, 0x000001b1u, 0x0000000eu, 0x0006002cu, 0x00000058u, 0x000001b5u,
86 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, 0x00000000u, 86 0x0000002fu, 0x0000002fu, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x00000209u, 0x00100000u, 0x0004002bu,
87 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, 0x0000020au, 87 0x00000027u, 0x00000227u, 0x0000000fu, 0x0004002bu, 0x00000006u, 0x00000255u, 0x00000080u, 0x0004002bu,
88 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, 0x0004003du, 88 0x00000006u, 0x00000256u, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000293u, 0x00000256u, 0x0000002fu,
89 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, 0x0000005du, 89 0x0000002fu, 0x00030001u, 0x00000008u, 0x0000034bu, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u,
90 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, 0x00000070u, 90 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u,
91 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000074u, 91 0x00000294u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x00000295u, 0x000200f8u, 0x00000295u, 0x00050041u,
92 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, 0x000500aau, 92 0x0000005bu, 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu,
93 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, 0x00000077u, 93 0x00050041u, 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u,
94 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, 0x00000074u, 94 0x00000061u, 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u,
95 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x00000246u, 0x0000007au, 0x00000073u, 0x0000007cu, 95 0x00000000u, 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u,
96 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x00000246u, 0x00050041u, 0x00000060u, 96 0x00000294u, 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u,
97 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, 0x000500c7u, 97 0x0004003du, 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au,
98 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, 0x00000087u, 98 0x0000005du, 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u,
99 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, 0x00000006u, 99 0x00000070u, 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u,
100 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, 0x0000008eu, 100 0x00000074u, 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u,
101 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, 0x00000091u, 101 0x000500aau, 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au,
102 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, 0x00000094u, 102 0x00000077u, 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u,
103 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, 0x00000004u, 103 0x00000074u, 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x000002d0u, 0x0000007au, 0x00000073u,
104 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, 0x000500aau, 104 0x0000007cu, 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x000002d0u, 0x00050041u,
105 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, 0x000400fau, 105 0x00000060u, 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u,
106 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, 0x000000a0u, 106 0x000500c7u, 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u,
107 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, 0x0000002du, 107 0x00000087u, 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du,
108 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, 0x00000002u, 108 0x00000006u, 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u,
109 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, 0x000000a8u, 109 0x0000008eu, 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u,
110 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, 0x00050041u, 110 0x00000091u, 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u,
111 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, 0x000000aau, 111 0x00000094u, 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u,
112 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, 0x00000006u, 112 0x00000004u, 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u,
113 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, 0x000200f8u, 113 0x000500aau, 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u,
114 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, 0x000200f8u, 114 0x000400fau, 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu,
115 0x0000008fu, 0x000700f5u, 0x00000006u, 0x0000024cu, 0x0000008cu, 0x00000074u, 0x00000099u, 0x0000009du, 115 0x000000a0u, 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u,
116 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x0000024cu, 0x000300f7u, 0x000000b2u, 0x00000000u, 116 0x0000002du, 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u,
117 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, 0x000000b4u, 117 0x00000002u, 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u,
118 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000002c2u, 0x0000000eu, 0x000000b1u, 0x000000c5u, 118 0x000000a8u, 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u,
119 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000002c2u, 0x00000246u, 0x000400f6u, 0x000000b6u, 119 0x00050041u, 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu,
120 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, 0x000000b5u, 120 0x000000aau, 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau,
121 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000000bfu, 121 0x00000006u, 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u,
122 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000002c2u, 0x00060041u, 0x0000002du, 122 0x000200f8u, 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu,
123 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, 0x00000002u, 123 0x000200f8u, 0x0000008fu, 0x000700f5u, 0x00000006u, 0x000002d6u, 0x0000008cu, 0x00000074u, 0x00000099u,
124 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000002c2u, 0x00000091u, 0x000200f9u, 0x000000b4u, 124 0x0000009du, 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x000002d6u, 0x000300f7u, 0x000000b2u,
125 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x0000020au, 0x000200f8u, 0x000000b2u, 0x00050041u, 0x00000060u, 125 0x00000000u, 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u,
126 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, 0x00050084u, 126 0x000000b4u, 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000003a2u, 0x0000000eu, 0x000000b1u,
127 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000cfu, 127 0x000000c5u, 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000003a2u, 0x000002d0u, 0x000400f6u,
128 0x000700f5u, 0x00000008u, 0x00000257u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, 0x000700f5u, 128 0x000000b6u, 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u,
129 0x00000006u, 0x00000252u, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, 0x00000008u, 129 0x000000b5u, 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u,
130 0x000000d6u, 0x00000252u, 0x00000246u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, 0x000400fau, 130 0x000000bfu, 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000003a2u, 0x00060041u,
131 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, 0x00000000u, 131 0x0000002du, 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu,
132 0x000400fau, 0x00000257u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, 0x000000dau, 132 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000003a2u, 0x00000091u, 0x000200f9u,
133 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, 0x00050080u, 133 0x000000b4u, 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000b2u, 0x00050041u,
134 0x00000006u, 0x000000dfu, 0x000000ccu, 0x00000252u, 0x00060041u, 0x0000002du, 0x000000e0u, 0x000000dcu, 134 0x00000060u, 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau,
135 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, 0x00000004u, 135 0x00050084u, 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u,
136 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, 0x000200f8u, 136 0x000000cfu, 0x000700f5u, 0x00000008u, 0x000002e1u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u,
137 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x00000257u, 0x000000d0u, 0x000000e3u, 0x000000d8u, 137 0x000700f5u, 0x00000006u, 0x000002dcu, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u,
138 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, 0x00000252u, 138 0x00000008u, 0x000000d6u, 0x000002dcu, 0x000002d0u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u,
139 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, 0x000000e8u, 139 0x000400fau, 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u,
140 0x00000257u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, 0x000000eau, 140 0x00000000u, 0x000400fau, 0x000002e1u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u,
141 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, 0x000300f7u, 141 0x000000dau, 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu,
142 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, 0x000000eeu, 142 0x00050080u, 0x00000006u, 0x000000dfu, 0x000000ccu, 0x000002dcu, 0x00060041u, 0x0000002du, 0x000000e0u,
143 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000f1u, 143 0x000000dcu, 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u,
144 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, 0x0006003du, 144 0x00000004u, 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u,
145 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000f5u, 145 0x000200f8u, 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x000002e1u, 0x000000d0u, 0x000000e3u,
146 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, 0x00000008u, 146 0x000000d8u, 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u,
147 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, 0x000200f8u, 147 0x000002dcu, 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u,
148 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x00000257u, 0x000000d1u, 0x000000f6u, 0x000000efu, 148 0x000000e8u, 0x000002e1u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u,
149 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, 0x000200f8u, 149 0x000000eau, 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu,
150 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, 0x000002beu, 150 0x000300f7u, 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u,
151 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, 0x000002beu, 151 0x000000eeu, 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u,
152 0x00000246u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, 0x000000fcu, 152 0x000000f1u, 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu,
153 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, 0x000000bcu, 153 0x0006003du, 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u,
154 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, 0x00000081u, 154 0x000000f5u, 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u,
155 0x000002beu, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, 0x0005003eu, 155 0x00000008u, 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau,
156 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, 0x000002beu, 156 0x000200f8u, 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x000002e1u, 0x000000d1u, 0x000000f6u,
157 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, 0x0000010bu, 157 0x000000efu, 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u,
158 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, 0x0000002du, 158 0x000200f8u, 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u,
159 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, 0x0000010du, 159 0x0000039eu, 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u,
160 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, 0x0000002cu, 160 0x0000039eu, 0x000002d0u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u,
161 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 161 0x000000fcu, 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u,
162 0x000200f9u, 0x0000020au, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000300f7u, 162 0x000000bcu, 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u,
163 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x00000165u, 0x000200f8u, 0x0000011du, 163 0x00000081u, 0x0000039eu, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u,
164 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000121u, 164 0x0005003eu, 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au,
165 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, 0x0006003du, 165 0x0000039eu, 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u,
166 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000129u, 166 0x0000010bu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u,
167 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, 0x00000129u, 167 0x0000002du, 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu,
168 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, 168 0x0000010du, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu,
169 0x0000012fu, 0x00000001u, 0x00000026u, 0x00000124u, 0x0000012eu, 0x0007000cu, 0x00000006u, 0x00000134u, 169 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu,
170 0x00000001u, 0x00000029u, 0x0000012fu, 0x0000002fu, 0x00050086u, 0x00000006u, 0x00000135u, 0x00000132u, 170 0x0000002fu, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u,
171 0x00000134u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x0000012bu, 0x00000135u, 171 0x000300f7u, 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x0000016du, 0x000200f8u,
172 0x000500aau, 0x00000008u, 0x00000138u, 0x0000012fu, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000002c9u, 172 0x0000011du, 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u,
173 0x00000138u, 0x0000000eu, 0x00000136u, 0x000500abu, 0x00000008u, 0x0000013du, 0x0000012fu, 0x00000124u, 173 0x00000121u, 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu,
174 0x000500abu, 0x00000008u, 0x00000140u, 0x000002c9u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000141u, 174 0x0006003du, 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u,
175 0x0000013du, 0x00000140u, 0x000600a9u, 0x00000006u, 0x00000142u, 0x00000141u, 0x0000002fu, 0x0000000eu, 175 0x00000129u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu,
176 0x00050084u, 0x00000006u, 0x00000145u, 0x0000012fu, 0x000002c9u, 0x00050041u, 0x00000007u, 0x00000147u, 176 0x00000129u, 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x000500aeu,
177 0x00000116u, 0x0000002cu, 0x0003003eu, 0x00000147u, 0x0000012fu, 0x00050041u, 0x00000007u, 0x00000149u, 177 0x00000008u, 0x0000012fu, 0x00000124u, 0x0000012eu, 0x000300f7u, 0x00000132u, 0x00000000u, 0x000400fau,
178 0x00000116u, 0x00000091u, 0x0003003eu, 0x00000149u, 0x000002c9u, 0x00050080u, 0x00000006u, 0x0000014eu, 178 0x0000012fu, 0x00000131u, 0x00000133u, 0x000200f8u, 0x00000131u, 0x000200f9u, 0x00000132u, 0x000200f8u,
179 0x000000ccu, 0x0000014du, 0x00060041u, 0x0000002du, 0x0000014fu, 0x00000121u, 0x0000002cu, 0x0000014eu, 179 0x00000133u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x00000124u, 0x00000135u,
180 0x0006003du, 0x00000006u, 0x00000150u, 0x0000014fu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 180 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000132u, 0x000700f5u, 0x00000006u, 0x00000331u, 0x0000000eu,
181 0x00000151u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x00000151u, 0x00000150u, 0x00050080u, 0x00000006u, 181 0x00000131u, 0x00000136u, 0x00000133u, 0x0007000cu, 0x00000006u, 0x0000013cu, 0x00000001u, 0x00000029u,
182 0x00000155u, 0x000000ccu, 0x0000007cu, 0x00060041u, 0x0000002du, 0x00000156u, 0x00000121u, 0x0000002cu, 182 0x00000331u, 0x0000002fu, 0x00050086u, 0x00000006u, 0x0000013du, 0x0000013au, 0x0000013cu, 0x0007000cu,
183 0x00000155u, 0x0006003du, 0x00000006u, 0x00000157u, 0x00000156u, 0x00000002u, 0x00000004u, 0x00050041u, 183 0x00000006u, 0x0000013eu, 0x00000001u, 0x00000026u, 0x0000012bu, 0x0000013du, 0x000500aau, 0x00000008u,
184 0x00000007u, 0x00000158u, 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000158u, 0x00000157u, 0x000500aau, 184 0x00000140u, 0x00000331u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000003a9u, 0x00000140u, 0x0000000eu,
185 0x00000008u, 0x0000015bu, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x0000015du, 0x00000000u, 0x000400fau, 185 0x0000013eu, 0x000500abu, 0x00000008u, 0x00000145u, 0x00000331u, 0x00000124u, 0x000500abu, 0x00000008u,
186 0x0000015bu, 0x0000015cu, 0x0000015du, 0x000200f8u, 0x0000015cu, 0x00050080u, 0x00000006u, 0x00000161u, 186 0x00000148u, 0x000003a9u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000149u, 0x00000145u, 0x00000148u,
187 0x000000ccu, 0x00000078u, 0x00060041u, 0x0000002du, 0x00000162u, 0x00000121u, 0x0000002cu, 0x00000161u, 187 0x000600a9u, 0x00000006u, 0x0000014au, 0x00000149u, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u,
188 0x0006003du, 0x00000006u, 0x00000163u, 0x00000162u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 188 0x0000014du, 0x00000331u, 0x000003a9u, 0x00050041u, 0x00000007u, 0x0000014fu, 0x00000116u, 0x0000002cu,
189 0x00000164u, 0x00000116u, 0x000000a9u, 0x0003003eu, 0x00000164u, 0x00000163u, 0x000200f9u, 0x0000015du, 189 0x0003003eu, 0x0000014fu, 0x00000331u, 0x00050041u, 0x00000007u, 0x00000151u, 0x00000116u, 0x00000091u,
190 0x000200f8u, 0x0000015du, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x00000165u, 0x00050041u, 0x000000dau, 190 0x0003003eu, 0x00000151u, 0x000003a9u, 0x00050080u, 0x00000006u, 0x00000156u, 0x000000ccu, 0x00000155u,
191 0x00000167u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000168u, 0x00000167u, 0x00060041u, 191 0x00060041u, 0x0000002du, 0x00000157u, 0x00000121u, 0x0000002cu, 0x00000156u, 0x0006003du, 0x00000006u,
192 0x0000002du, 0x0000016au, 0x00000168u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x0000016bu, 192 0x00000158u, 0x00000157u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000159u, 0x00000116u,
193 0x0000016au, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000170u, 0x000000ccu, 0x0000002fu, 193 0x000000bcu, 0x0003003eu, 0x00000159u, 0x00000158u, 0x00050080u, 0x00000006u, 0x0000015du, 0x000000ccu,
194 0x00060041u, 0x0000002du, 0x00000171u, 0x00000168u, 0x0000002cu, 0x00000170u, 0x0006003du, 0x00000006u, 194 0x0000007cu, 0x00060041u, 0x0000002du, 0x0000015eu, 0x00000121u, 0x0000002cu, 0x0000015du, 0x0006003du,
195 0x00000172u, 0x00000171u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000177u, 0x000000ccu, 195 0x00000006u, 0x0000015fu, 0x0000015eu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000160u,
196 0x0000014du, 0x00060041u, 0x0000002du, 0x00000178u, 0x00000168u, 0x0000002cu, 0x00000177u, 0x0006003du, 196 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000160u, 0x0000015fu, 0x000500aau, 0x00000008u, 0x00000163u,
197 0x00000006u, 0x00000179u, 0x00000178u, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, 0x0000017du, 197 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000165u, 0x00000000u, 0x000400fau, 0x00000163u, 0x00000164u,
198 0x00000001u, 0x00000026u, 0x0000016bu, 0x0000017cu, 0x0007000cu, 0x00000006u, 0x00000180u, 0x00000001u, 198 0x00000165u, 0x000200f8u, 0x00000164u, 0x00050080u, 0x00000006u, 0x00000169u, 0x000000ccu, 0x00000078u,
199 0x00000026u, 0x00000172u, 0x0000017cu, 0x0007000cu, 0x00000006u, 0x00000183u, 0x00000001u, 0x00000026u, 199 0x00060041u, 0x0000002du, 0x0000016au, 0x00000121u, 0x0000002cu, 0x00000169u, 0x0006003du, 0x00000006u,
200 0x00000179u, 0x0000017cu, 0x000500aau, 0x00000008u, 0x00000186u, 0x00000070u, 0x0000007cu, 0x000600a9u, 200 0x0000016bu, 0x0000016au, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x0000016cu, 0x00000116u,
201 0x00000006u, 0x000002cau, 0x00000186u, 0x0000002fu, 0x00000183u, 0x000600a9u, 0x00000006u, 0x000002cbu, 201 0x000000a9u, 0x0003003eu, 0x0000016cu, 0x0000016bu, 0x000200f9u, 0x00000165u, 0x000200f8u, 0x00000165u,
202 0x00000186u, 0x0000002fu, 0x00000180u, 0x000500c2u, 0x00000006u, 0x0000018cu, 0x00000086u, 0x0000002fu, 202 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000016du, 0x00050041u, 0x000000dau, 0x0000016fu, 0x00000026u,
203 0x000500abu, 0x00000008u, 0x0000018eu, 0x0000018cu, 0x0000000eu, 0x000500abu, 0x00000008u, 0x00000190u, 203 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000170u, 0x0000016fu, 0x00060041u, 0x0000002du, 0x00000172u,
204 0x0000017du, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000191u, 0x0000018eu, 0x00000190u, 0x000500abu, 204 0x00000170u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x00000173u, 0x00000172u, 0x00000002u,
205 0x00000008u, 0x00000193u, 0x000002cbu, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000194u, 0x00000191u, 205 0x00000004u, 0x00050080u, 0x00000006u, 0x00000178u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du,
206 0x00000193u, 0x000500abu, 0x00000008u, 0x00000196u, 0x000002cau, 0x0000000eu, 0x000500a7u, 0x00000008u, 206 0x00000179u, 0x00000170u, 0x0000002cu, 0x00000178u, 0x0006003du, 0x00000006u, 0x0000017au, 0x00000179u,
207 0x00000197u, 0x00000194u, 0x00000196u, 0x000300f7u, 0x00000199u, 0x00000000u, 0x000400fau, 0x00000197u, 207 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000017fu, 0x000000ccu, 0x00000155u, 0x00060041u,
208 0x00000198u, 0x00000199u, 0x000200f8u, 0x00000198u, 0x0007000cu, 0x00000006u, 0x0000019cu, 0x00000001u, 208 0x0000002du, 0x00000180u, 0x00000170u, 0x0000002cu, 0x0000017fu, 0x0006003du, 0x00000006u, 0x00000181u,
209 0x00000026u, 0x0000017du, 0x0000018cu, 0x00050086u, 0x00000006u, 0x000001a0u, 0x0000018cu, 0x0000019cu, 209 0x00000180u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x00000184u, 0x00000070u, 0x0000007cu,
210 0x0007000cu, 0x00000006u, 0x000001a1u, 0x00000001u, 0x00000026u, 0x000002cbu, 0x000001a0u, 0x00050086u, 210 0x000300f7u, 0x00000186u, 0x00000000u, 0x000400fau, 0x00000184u, 0x00000185u, 0x00000186u, 0x000200f8u,
211 0x00000006u, 0x000001a7u, 0x000001a0u, 0x000001a1u, 0x0007000cu, 0x00000006u, 0x000001a8u, 0x00000001u, 211 0x00000185u, 0x00050041u, 0x00000029u, 0x00000187u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u,
212 0x00000026u, 0x000002cau, 0x000001a7u, 0x000200f9u, 0x00000199u, 0x000200f8u, 0x00000199u, 0x000700f5u, 212 0x00000188u, 0x00000187u, 0x00060041u, 0x0000002du, 0x00000189u, 0x00000188u, 0x0000002cu, 0x0000005fu,
213 0x00000006u, 0x00000260u, 0x000002cbu, 0x00000165u, 0x000001a1u, 0x00000198u, 0x000700f5u, 0x00000006u, 213 0x000700eau, 0x00000006u, 0x0000018au, 0x00000189u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu,
214 0x0000025fu, 0x0000017du, 0x00000165u, 0x0000019cu, 0x00000198u, 0x000700f5u, 0x00000006u, 0x0000025eu, 214 0x00000008u, 0x0000018cu, 0x0000017au, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000018eu, 0x00000181u,
215 0x000002cau, 0x00000165u, 0x000001a8u, 0x00000198u, 0x000500abu, 0x00000008u, 0x000001aau, 0x0000025eu, 215 0x0000002fu, 0x000500a6u, 0x00000008u, 0x0000018fu, 0x0000018cu, 0x0000018eu, 0x000300f7u, 0x00000191u,
216 0x0000000eu, 0x000300f7u, 0x000001acu, 0x00000000u, 0x000400fau, 0x000001aau, 0x000001abu, 0x000001acu, 216 0x00000000u, 0x000400fau, 0x0000018fu, 0x00000190u, 0x00000191u, 0x000200f8u, 0x00000190u, 0x00060041u,
217 0x000200f8u, 0x000001abu, 0x00050084u, 0x00000006u, 0x000001afu, 0x0000025fu, 0x00000260u, 0x00050086u, 217 0x0000002du, 0x00000194u, 0x00000188u, 0x0000002cu, 0x00000068u, 0x000700eau, 0x00000006u, 0x00000195u,
218 0x00000006u, 0x000001b2u, 0x000001b0u, 0x0000025eu, 0x000500acu, 0x00000008u, 0x000001b3u, 0x000001afu, 218 0x00000194u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000198u, 0x00000188u,
219 0x000001b2u, 0x000200f9u, 0x000001acu, 0x000200f8u, 0x000001acu, 0x000700f5u, 0x00000008u, 0x000001b4u, 219 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x0000019au, 0x00000198u, 0x0000002fu, 0x0000000eu,
220 0x000001aau, 0x00000199u, 0x000001b3u, 0x000001abu, 0x000600a9u, 0x00000006u, 0x000002ccu, 0x000001b4u, 220 0x0000017au, 0x00060041u, 0x0000002du, 0x0000019du, 0x00000188u, 0x0000002cu, 0x00000084u, 0x000700efu,
221 0x0000000eu, 0x0000025eu, 0x000600a9u, 0x00000006u, 0x000002cdu, 0x000001b4u, 0x0000000eu, 0x00000260u, 221 0x00000006u, 0x0000019fu, 0x0000019du, 0x0000002fu, 0x0000000eu, 0x00000181u, 0x000200f9u, 0x00000191u,
222 0x000600a9u, 0x00000006u, 0x000002ceu, 0x000001b4u, 0x0000000eu, 0x0000025fu, 0x000500abu, 0x00000008u, 222 0x000200f8u, 0x00000191u, 0x000200f9u, 0x00000186u, 0x000200f8u, 0x00000186u, 0x000300f7u, 0x000001a7u,
223 0x000001b9u, 0x000002ceu, 0x0000016bu, 0x000500abu, 0x00000008u, 0x000001bcu, 0x000002cdu, 0x00000172u, 223 0x00000000u, 0x000400fau, 0x00000184u, 0x000001a6u, 0x000001aau, 0x000200f8u, 0x000001a6u, 0x000200f9u,
224 0x000500a6u, 0x00000008u, 0x000001bdu, 0x000001b9u, 0x000001bcu, 0x000500abu, 0x00000008u, 0x000001c0u, 224 0x000001a7u, 0x000200f8u, 0x000001aau, 0x00050041u, 0x00000060u, 0x000001acu, 0x00000026u, 0x000001abu,
225 0x000002ccu, 0x00000179u, 0x000500a6u, 0x00000008u, 0x000001c1u, 0x000001bdu, 0x000001c0u, 0x000600a9u, 225 0x0004003du, 0x00000006u, 0x000001adu, 0x000001acu, 0x00050041u, 0x00000060u, 0x000001afu, 0x00000026u,
226 0x00000006u, 0x000001c2u, 0x000001c1u, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, 0x000001c5u, 226 0x000001aeu, 0x0004003du, 0x00000006u, 0x000001b0u, 0x000001afu, 0x00050041u, 0x00000060u, 0x000001b2u,
227 0x000002ceu, 0x000002cdu, 0x00050084u, 0x00000006u, 0x000001c7u, 0x000001c5u, 0x000002ccu, 0x000600a9u, 227 0x00000026u, 0x000001b1u, 0x0004003du, 0x00000006u, 0x000001b3u, 0x000001b2u, 0x00060050u, 0x00000058u,
228 0x00000006u, 0x000001cdu, 0x00000186u, 0x000001cbu, 0x000001ccu, 0x00050084u, 0x00000006u, 0x000001ceu, 228 0x000001b4u, 0x000001adu, 0x000001b0u, 0x000001b3u, 0x0007000cu, 0x00000058u, 0x000001b6u, 0x00000001u,
229 0x000001c7u, 0x000001cdu, 0x00050041u, 0x00000007u, 0x000001d0u, 0x00000116u, 0x0000002cu, 0x0003003eu, 229 0x00000029u, 0x000001b4u, 0x000001b5u, 0x000200f9u, 0x000001a7u, 0x000200f8u, 0x000001a7u, 0x000700f5u,
230 0x000001d0u, 0x000002ceu, 0x00050041u, 0x00000007u, 0x000001d2u, 0x00000116u, 0x00000091u, 0x0003003eu, 230 0x00000058u, 0x000002e5u, 0x000001a9u, 0x000001a6u, 0x000001b6u, 0x000001aau, 0x00050051u, 0x00000006u,
231 0x000001d2u, 0x000002cdu, 0x00050041u, 0x00000007u, 0x000001d4u, 0x00000116u, 0x000000bcu, 0x0003003eu, 231 0x000001bbu, 0x000002e5u, 0x00000000u, 0x0007000cu, 0x00000006u, 0x000001bcu, 0x00000001u, 0x00000026u,
232 0x000001d4u, 0x000002ccu, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000011eu, 0x000700f5u, 0x00000006u, 232 0x00000173u, 0x000001bbu, 0x00050051u, 0x00000006u, 0x000001c0u, 0x000002e5u, 0x00000001u, 0x0007000cu,
233 0x00000292u, 0x00000142u, 0x0000015du, 0x000001c2u, 0x000001acu, 0x000700f5u, 0x00000006u, 0x00000278u, 233 0x00000006u, 0x000001c1u, 0x00000001u, 0x00000026u, 0x0000017au, 0x000001c0u, 0x00050051u, 0x00000006u,
234 0x00000145u, 0x0000015du, 0x000001ceu, 0x000001acu, 0x000500abu, 0x00000008u, 0x000001d6u, 0x00000278u, 234 0x000001c5u, 0x000002e5u, 0x00000002u, 0x0007000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u,
235 0x0000000eu, 0x000300f7u, 0x000001d8u, 0x00000000u, 0x000400fau, 0x000001d6u, 0x000001d7u, 0x000001d8u, 235 0x00000181u, 0x000001c5u, 0x000600a9u, 0x00000006u, 0x000003aau, 0x00000184u, 0x0000002fu, 0x000001c6u,
236 0x000200f8u, 0x000001d7u, 0x000300f7u, 0x00000244u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x0000021cu, 236 0x000600a9u, 0x00000006u, 0x000003abu, 0x00000184u, 0x0000002fu, 0x000001c1u, 0x000500abu, 0x00000008u,
237 0x000200f8u, 0x0000021cu, 0x000500aau, 0x00000008u, 0x0000021eu, 0x00000278u, 0x0000000eu, 0x000300f7u, 237 0x000001cfu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x000001d1u, 0x00000000u, 0x000400fau, 0x000001cfu,
238 0x00000220u, 0x00000000u, 0x000400fau, 0x0000021eu, 0x0000021fu, 0x00000220u, 0x000200f8u, 0x0000021fu, 238 0x000001d0u, 0x000001d1u, 0x000200f8u, 0x000001d0u, 0x000500abu, 0x00000008u, 0x000001d4u, 0x000001bcu,
239 0x000200f9u, 0x00000244u, 0x000200f8u, 0x00000220u, 0x00050041u, 0x00000029u, 0x00000221u, 0x00000026u, 239 0x00000173u, 0x000500abu, 0x00000008u, 0x000001d7u, 0x000003abu, 0x0000017au, 0x000500a6u, 0x00000008u,
240 0x00000028u, 0x0004003du, 0x00000019u, 0x00000222u, 0x00000221u, 0x00060041u, 0x0000002du, 0x00000223u, 240 0x000001d8u, 0x000001d4u, 0x000001d7u, 0x000500abu, 0x00000008u, 0x000001dbu, 0x000003aau, 0x00000181u,
241 0x00000222u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000224u, 0x00000223u, 0x0000002fu, 241 0x000500a6u, 0x00000008u, 0x000001dcu, 0x000001d8u, 0x000001dbu, 0x000200f9u, 0x000001d1u, 0x000200f8u,
242 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x00000225u, 0x000200f8u, 0x00000225u, 0x000700f5u, 0x00000006u, 242 0x000001d1u, 0x000700f5u, 0x00000008u, 0x000001ddu, 0x000001cfu, 0x000001a7u, 0x000001dcu, 0x000001d0u,
243 0x0000027au, 0x00000224u, 0x00000220u, 0x00000239u, 0x00000240u, 0x000500b0u, 0x00000008u, 0x00000228u, 243 0x000500c2u, 0x00000006u, 0x000001e1u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x000001e3u,
244 0x0000027au, 0x00000037u, 0x000400f6u, 0x00000241u, 0x00000240u, 0x00000000u, 0x000400fau, 0x00000228u, 244 0x000001e1u, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001e5u, 0x000001bcu, 0x0000000eu, 0x000500a7u,
245 0x00000229u, 0x00000241u, 0x000200f8u, 0x00000229u, 0x00050082u, 0x00000006u, 0x0000022bu, 0x00000037u, 245 0x00000008u, 0x000001e6u, 0x000001e3u, 0x000001e5u, 0x000500abu, 0x00000008u, 0x000001e8u, 0x000003abu,
246 0x0000027au, 0x000500acu, 0x00000008u, 0x0000022eu, 0x00000278u, 0x0000022bu, 0x000300f7u, 0x00000230u, 246 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001e9u, 0x000001e6u, 0x000001e8u, 0x000500abu, 0x00000008u,
247 0x00000000u, 0x000400fau, 0x0000022eu, 0x0000022fu, 0x00000230u, 0x000200f8u, 0x0000022fu, 0x000200f9u, 247 0x000001ebu, 0x000003aau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001ecu, 0x000001e9u, 0x000001ebu,
248 0x00000241u, 0x000200f8u, 0x00000230u, 0x00050080u, 0x00000006u, 0x00000233u, 0x0000027au, 0x00000278u, 248 0x000300f7u, 0x000001eeu, 0x00000000u, 0x000400fau, 0x000001ecu, 0x000001edu, 0x000001eeu, 0x000200f8u,
249 0x000900e6u, 0x00000006u, 0x00000239u, 0x00000223u, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x00000233u, 249 0x000001edu, 0x0007000cu, 0x00000006u, 0x000001f1u, 0x00000001u, 0x00000026u, 0x000001bcu, 0x000001e1u,
250 0x0000027au, 0x000500aau, 0x00000008u, 0x0000023cu, 0x00000239u, 0x0000027au, 0x000300f7u, 0x0000023eu, 250 0x00050086u, 0x00000006u, 0x000001f5u, 0x000001e1u, 0x000001f1u, 0x0007000cu, 0x00000006u, 0x000001f6u,
251 0x00000000u, 0x000400fau, 0x0000023cu, 0x0000023du, 0x0000023eu, 0x000200f8u, 0x0000023du, 0x000200f9u, 251 0x00000001u, 0x00000026u, 0x000003abu, 0x000001f5u, 0x00050086u, 0x00000006u, 0x000001fcu, 0x000001f5u,
252 0x00000241u, 0x000200f8u, 0x0000023eu, 0x000200f9u, 0x00000240u, 0x000200f8u, 0x00000240u, 0x000200f9u, 252 0x000001f6u, 0x0007000cu, 0x00000006u, 0x000001fdu, 0x00000001u, 0x00000026u, 0x000003aau, 0x000001fcu,
253 0x00000225u, 0x000200f8u, 0x00000241u, 0x000900f5u, 0x00000008u, 0x0000027fu, 0x00000288u, 0x00000225u, 253 0x000200f9u, 0x000001eeu, 0x000200f8u, 0x000001eeu, 0x000700f5u, 0x00000006u, 0x000002fau, 0x000003aau,
254 0x00000041u, 0x0000022fu, 0x00000012u, 0x0000023du, 0x000900f5u, 0x00000008u, 0x0000027cu, 0x00000041u, 254 0x000001d1u, 0x000001fdu, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f9u, 0x000003abu, 0x000001d1u,
255 0x00000225u, 0x00000012u, 0x0000022fu, 0x00000012u, 0x0000023du, 0x000300f7u, 0x00000243u, 0x00000000u, 255 0x000001f6u, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f8u, 0x000001bcu, 0x000001d1u, 0x000001f1u,
256 0x000400fau, 0x0000027cu, 0x00000244u, 0x00000243u, 0x000200f8u, 0x00000243u, 0x000200f9u, 0x00000244u, 256 0x000001edu, 0x000500abu, 0x00000008u, 0x000001ffu, 0x000002f8u, 0x0000000eu, 0x000500abu, 0x00000008u,
257 0x000200f8u, 0x00000244u, 0x000900f5u, 0x00000008u, 0x0000027eu, 0x00000012u, 0x0000021fu, 0x0000027fu, 257 0x00000201u, 0x000002f9u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000202u, 0x000001ffu, 0x00000201u,
258 0x00000241u, 0x00000041u, 0x00000243u, 0x000400a8u, 0x00000008u, 0x000001dcu, 0x0000027eu, 0x000200f9u, 258 0x000500abu, 0x00000008u, 0x00000204u, 0x000002fau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000205u,
259 0x000001d8u, 0x000200f8u, 0x000001d8u, 0x000700f5u, 0x00000008u, 0x000001ddu, 0x000001d6u, 0x0000011eu, 259 0x00000202u, 0x00000204u, 0x000300f7u, 0x00000207u, 0x00000000u, 0x000400fau, 0x00000205u, 0x00000206u,
260 0x000001dcu, 0x00000244u, 0x000300f7u, 0x000001dfu, 0x00000000u, 0x000400fau, 0x000001ddu, 0x000001deu, 260 0x00000207u, 0x000200f8u, 0x00000206u, 0x000500acu, 0x00000008u, 0x0000020au, 0x000002f8u, 0x00000209u,
261 0x000001dfu, 0x000200f8u, 0x000001deu, 0x00050041u, 0x00000029u, 0x000001e0u, 0x00000026u, 0x000000a9u, 261 0x000400a8u, 0x00000008u, 0x0000020bu, 0x0000020au, 0x000300f7u, 0x0000020du, 0x00000000u, 0x000400fau,
262 0x0004003du, 0x00000019u, 0x000001e1u, 0x000001e0u, 0x00060041u, 0x0000002du, 0x000001e2u, 0x000001e1u, 262 0x0000020bu, 0x0000020cu, 0x0000020du, 0x000200f8u, 0x0000020cu, 0x00050086u, 0x00000006u, 0x00000210u,
263 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x000001e3u, 0x000001e2u, 0x0000002fu, 0x0000000eu, 263 0x00000209u, 0x000002f8u, 0x000500acu, 0x00000008u, 0x00000211u, 0x000002f9u, 0x00000210u, 0x000200f9u,
264 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u, 0x000001dfu, 0x000200f8u, 0x000001dfu, 264 0x0000020du, 0x000200f8u, 0x0000020du, 0x000700f5u, 0x00000008u, 0x00000212u, 0x0000020au, 0x00000206u,
265 0x000600a9u, 0x00000006u, 0x000002cfu, 0x000001ddu, 0x0000002fu, 0x00000292u, 0x000500abu, 0x00000008u, 265 0x00000211u, 0x0000020cu, 0x000400a8u, 0x00000008u, 0x00000213u, 0x00000212u, 0x000300f7u, 0x00000215u,
266 0x000001e5u, 0x000002cfu, 0x0000000eu, 0x000300f7u, 0x000001e7u, 0x00000000u, 0x000400fau, 0x000001e5u, 266 0x00000000u, 0x000400fau, 0x00000213u, 0x00000214u, 0x00000215u, 0x000200f8u, 0x00000214u, 0x00050086u,
267 0x000001e6u, 0x000001e7u, 0x000200f8u, 0x000001e6u, 0x00050041u, 0x00000029u, 0x000001e8u, 0x00000026u, 267 0x00000006u, 0x00000218u, 0x00000209u, 0x000002f8u, 0x00050086u, 0x00000006u, 0x0000021au, 0x00000218u,
268 0x000000a9u, 0x0004003du, 0x00000019u, 0x000001e9u, 0x000001e8u, 0x00060041u, 0x0000002du, 0x000001eau, 268 0x000002f9u, 0x000500acu, 0x00000008u, 0x0000021bu, 0x000002fau, 0x0000021au, 0x000200f9u, 0x00000215u,
269 0x000001e9u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x000001ebu, 0x000001eau, 0x0000002fu, 269 0x000200f8u, 0x00000215u, 0x000700f5u, 0x00000008u, 0x0000021cu, 0x00000212u, 0x0000020du, 0x0000021bu,
270 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x000001ecu, 0x00000116u, 0x0000002cu, 0x0004003du, 270 0x00000214u, 0x000200f9u, 0x00000207u, 0x000200f8u, 0x00000207u, 0x000700f5u, 0x00000008u, 0x0000021du,
271 0x00000006u, 0x000001edu, 0x000001ecu, 0x000500aau, 0x00000008u, 0x000001eeu, 0x000001edu, 0x0000000eu, 271 0x00000205u, 0x000001eeu, 0x0000021cu, 0x00000215u, 0x000600a9u, 0x00000006u, 0x000003acu, 0x0000021du,
272 0x000300f7u, 0x000001f0u, 0x00000000u, 0x000400fau, 0x000001eeu, 0x000001efu, 0x000001f0u, 0x000200f8u, 272 0x0000000eu, 0x000002fau, 0x000600a9u, 0x00000006u, 0x000003adu, 0x0000021du, 0x0000000eu, 0x000002f9u,
273 0x000001efu, 0x00060041u, 0x0000002du, 0x000001f3u, 0x000001e9u, 0x0000002cu, 0x0000009eu, 0x000700eau, 273 0x000600a9u, 0x00000006u, 0x000003aeu, 0x0000021du, 0x0000000eu, 0x000002f8u, 0x000300f7u, 0x00000224u,
274 0x00000006u, 0x000001f4u, 0x000001f3u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000001f0u, 274 0x00000000u, 0x000400fau, 0x000001cfu, 0x00000223u, 0x00000224u, 0x000200f8u, 0x00000223u, 0x00050041u,
275 0x000200f8u, 0x000001f0u, 0x000200f9u, 0x000001e7u, 0x000200f8u, 0x000001e7u, 0x000200f9u, 0x000001f6u, 275 0x00000029u, 0x00000225u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000226u, 0x00000225u,
276 0x000200f8u, 0x000001f6u, 0x000700f5u, 0x00000006u, 0x00000297u, 0x0000000eu, 0x000001e7u, 0x00000208u, 276 0x00060041u, 0x0000002du, 0x00000228u, 0x00000226u, 0x0000002cu, 0x00000227u, 0x000700eau, 0x00000006u,
277 0x000001f7u, 0x000500b0u, 0x00000008u, 0x000001fdu, 0x00000297u, 0x00000246u, 0x000400f6u, 0x000001f8u, 277 0x00000229u, 0x00000228u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000022bu,
278 0x000001f7u, 0x00000000u, 0x000400fau, 0x000001fdu, 0x000001f7u, 0x000001f8u, 0x000200f8u, 0x000001f7u, 278 0x000003aeu, 0x000001a8u, 0x000300f7u, 0x0000022du, 0x00000000u, 0x000400fau, 0x0000022bu, 0x0000022cu,
279 0x00050041u, 0x000000bdu, 0x000001feu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000001ffu, 279 0x0000022du, 0x000200f8u, 0x0000022cu, 0x00060041u, 0x0000002du, 0x00000230u, 0x00000226u, 0x0000002cu,
280 0x000001feu, 0x00050080u, 0x00000006u, 0x00000202u, 0x00000081u, 0x00000297u, 0x00050041u, 0x00000007u, 280 0x000001abu, 0x000700eau, 0x00000006u, 0x00000231u, 0x00000230u, 0x0000002fu, 0x0000000eu, 0x0000002fu,
281 0x00000204u, 0x00000116u, 0x00000297u, 0x0004003du, 0x00000006u, 0x00000205u, 0x00000204u, 0x00060041u, 281 0x000200f9u, 0x0000022du, 0x000200f8u, 0x0000022du, 0x00060041u, 0x0000002du, 0x00000234u, 0x00000226u,
282 0x0000002du, 0x00000206u, 0x000001ffu, 0x0000002cu, 0x00000202u, 0x0005003eu, 0x00000206u, 0x00000205u, 282 0x0000002cu, 0x000001aeu, 0x000700efu, 0x00000006u, 0x00000236u, 0x00000234u, 0x0000002fu, 0x0000000eu,
283 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000208u, 0x00000297u, 0x00000091u, 0x000200f9u, 283 0x000003aeu, 0x000500abu, 0x00000008u, 0x00000239u, 0x000003aeu, 0x0000000eu, 0x000500a7u, 0x00000008u,
284 0x000001f6u, 0x000200f8u, 0x000001f8u, 0x000200f9u, 0x0000020au, 0x000200f8u, 0x0000020au, 0x000100fdu, 284 0x0000023au, 0x000001ddu, 0x00000239u, 0x000300f7u, 0x0000023cu, 0x00000000u, 0x000400fau, 0x0000023au,
285 0x00010038u, 285 0x0000023bu, 0x0000023cu, 0x000200f8u, 0x0000023bu, 0x00060041u, 0x0000002du, 0x0000023fu, 0x00000226u,
286 0x0000002cu, 0x000001b1u, 0x000700eau, 0x00000006u, 0x00000240u, 0x0000023fu, 0x0000002fu, 0x0000000eu,
287 0x0000002fu, 0x000200f9u, 0x0000023cu, 0x000200f8u, 0x0000023cu, 0x000200f9u, 0x00000224u, 0x000200f8u,
288 0x00000224u, 0x000500abu, 0x00000008u, 0x00000243u, 0x000003aeu, 0x00000173u, 0x000500abu, 0x00000008u,
289 0x00000246u, 0x000003adu, 0x0000017au, 0x000500a6u, 0x00000008u, 0x00000247u, 0x00000243u, 0x00000246u,
290 0x000500abu, 0x00000008u, 0x0000024au, 0x000003acu, 0x00000181u, 0x000500a6u, 0x00000008u, 0x0000024bu,
291 0x00000247u, 0x0000024au, 0x000600a9u, 0x00000006u, 0x0000024cu, 0x0000024bu, 0x0000002fu, 0x0000000eu,
292 0x00050084u, 0x00000006u, 0x0000024fu, 0x000003aeu, 0x000003adu, 0x00050084u, 0x00000006u, 0x00000251u,
293 0x0000024fu, 0x000003acu, 0x000600a9u, 0x00000006u, 0x00000257u, 0x00000184u, 0x00000255u, 0x00000256u,
294 0x00050084u, 0x00000006u, 0x00000258u, 0x00000251u, 0x00000257u, 0x00050041u, 0x00000007u, 0x0000025au,
295 0x00000116u, 0x0000002cu, 0x0003003eu, 0x0000025au, 0x000003aeu, 0x00050041u, 0x00000007u, 0x0000025cu,
296 0x00000116u, 0x00000091u, 0x0003003eu, 0x0000025cu, 0x000003adu, 0x00050041u, 0x00000007u, 0x0000025eu,
297 0x00000116u, 0x000000bcu, 0x0003003eu, 0x0000025eu, 0x000003acu, 0x000200f9u, 0x0000011eu, 0x000200f8u,
298 0x0000011eu, 0x000700f5u, 0x00000006u, 0x0000035eu, 0x0000014au, 0x00000165u, 0x0000024cu, 0x00000224u,
299 0x000700f5u, 0x00000006u, 0x0000033au, 0x0000014du, 0x00000165u, 0x00000258u, 0x00000224u, 0x000500abu,
300 0x00000008u, 0x00000260u, 0x0000033au, 0x0000000eu, 0x000300f7u, 0x00000262u, 0x00000000u, 0x000400fau,
301 0x00000260u, 0x00000261u, 0x00000262u, 0x000200f8u, 0x00000261u, 0x000300f7u, 0x000002ceu, 0x00000000u,
302 0x000300fbu, 0x0000000eu, 0x000002a6u, 0x000200f8u, 0x000002a6u, 0x000500aau, 0x00000008u, 0x000002a8u,
303 0x0000033au, 0x0000000eu, 0x000300f7u, 0x000002aau, 0x00000000u, 0x000400fau, 0x000002a8u, 0x000002a9u,
304 0x000002aau, 0x000200f8u, 0x000002a9u, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002aau, 0x00050041u,
305 0x00000029u, 0x000002abu, 0x00000026u, 0x00000028u, 0x0004003du, 0x00000019u, 0x000002acu, 0x000002abu,
306 0x00060041u, 0x0000002du, 0x000002adu, 0x000002acu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u,
307 0x000002aeu, 0x000002adu, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x000002afu, 0x000200f8u,
308 0x000002afu, 0x000700f5u, 0x00000006u, 0x0000033cu, 0x000002aeu, 0x000002aau, 0x000002c3u, 0x000002cau,
309 0x000500b0u, 0x00000008u, 0x000002b2u, 0x0000033cu, 0x00000037u, 0x000400f6u, 0x000002cbu, 0x000002cau,
310 0x00000000u, 0x000400fau, 0x000002b2u, 0x000002b3u, 0x000002cbu, 0x000200f8u, 0x000002b3u, 0x00050082u,
311 0x00000006u, 0x000002b5u, 0x00000037u, 0x0000033cu, 0x000500acu, 0x00000008u, 0x000002b8u, 0x0000033au,
312 0x000002b5u, 0x000300f7u, 0x000002bau, 0x00000000u, 0x000400fau, 0x000002b8u, 0x000002b9u, 0x000002bau,
313 0x000200f8u, 0x000002b9u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002bau, 0x00050080u, 0x00000006u,
314 0x000002bdu, 0x0000033cu, 0x0000033au, 0x000900e6u, 0x00000006u, 0x000002c3u, 0x000002adu, 0x0000002fu,
315 0x0000000eu, 0x0000000eu, 0x000002bdu, 0x0000033cu, 0x000500aau, 0x00000008u, 0x000002c6u, 0x000002c3u,
316 0x0000033cu, 0x000300f7u, 0x000002c8u, 0x00000000u, 0x000400fau, 0x000002c6u, 0x000002c7u, 0x000002c8u,
317 0x000200f8u, 0x000002c7u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002c8u, 0x000200f9u, 0x000002cau,
318 0x000200f8u, 0x000002cau, 0x000200f9u, 0x000002afu, 0x000200f8u, 0x000002cbu, 0x000900f5u, 0x00000008u,
319 0x00000341u, 0x0000034bu, 0x000002afu, 0x00000041u, 0x000002b9u, 0x00000012u, 0x000002c7u, 0x000900f5u,
320 0x00000008u, 0x0000033eu, 0x00000041u, 0x000002afu, 0x00000012u, 0x000002b9u, 0x00000012u, 0x000002c7u,
321 0x000300f7u, 0x000002cdu, 0x00000000u, 0x000400fau, 0x0000033eu, 0x000002ceu, 0x000002cdu, 0x000200f8u,
322 0x000002cdu, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002ceu, 0x000900f5u, 0x00000008u, 0x00000340u,
323 0x00000012u, 0x000002a9u, 0x00000341u, 0x000002cbu, 0x00000041u, 0x000002cdu, 0x000400a8u, 0x00000008u,
324 0x00000266u, 0x00000340u, 0x000200f9u, 0x00000262u, 0x000200f8u, 0x00000262u, 0x000700f5u, 0x00000008u,
325 0x00000267u, 0x00000260u, 0x0000011eu, 0x00000266u, 0x000002ceu, 0x000300f7u, 0x00000269u, 0x00000000u,
326 0x000400fau, 0x00000267u, 0x00000268u, 0x00000269u, 0x000200f8u, 0x00000268u, 0x00050041u, 0x00000029u,
327 0x0000026au, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000026bu, 0x0000026au, 0x00060041u,
328 0x0000002du, 0x0000026cu, 0x0000026bu, 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x0000026du,
329 0x0000026cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u,
330 0x00000269u, 0x000200f8u, 0x00000269u, 0x000600a9u, 0x00000006u, 0x000003afu, 0x00000267u, 0x0000002fu,
331 0x0000035eu, 0x000500abu, 0x00000008u, 0x0000026fu, 0x000003afu, 0x0000000eu, 0x000300f7u, 0x00000271u,
332 0x00000000u, 0x000400fau, 0x0000026fu, 0x00000270u, 0x00000271u, 0x000200f8u, 0x00000270u, 0x00050041u,
333 0x00000029u, 0x00000272u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000273u, 0x00000272u,
334 0x00060041u, 0x0000002du, 0x00000274u, 0x00000273u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u,
335 0x00000275u, 0x00000274u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x00000276u,
336 0x00000116u, 0x0000002cu, 0x0004003du, 0x00000006u, 0x00000277u, 0x00000276u, 0x000500aau, 0x00000008u,
337 0x00000278u, 0x00000277u, 0x0000000eu, 0x000300f7u, 0x0000027au, 0x00000000u, 0x000400fau, 0x00000278u,
338 0x00000279u, 0x0000027au, 0x000200f8u, 0x00000279u, 0x00060041u, 0x0000002du, 0x0000027du, 0x00000273u,
339 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x0000027eu, 0x0000027du, 0x0000002fu, 0x0000000eu,
340 0x0000002fu, 0x000200f9u, 0x0000027au, 0x000200f8u, 0x0000027au, 0x000200f9u, 0x00000271u, 0x000200f8u,
341 0x00000271u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000280u, 0x000700f5u, 0x00000006u, 0x00000363u,
342 0x0000000eu, 0x00000271u, 0x00000292u, 0x00000281u, 0x000500b0u, 0x00000008u, 0x00000287u, 0x00000363u,
343 0x000002d0u, 0x000400f6u, 0x00000282u, 0x00000281u, 0x00000000u, 0x000400fau, 0x00000287u, 0x00000281u,
344 0x00000282u, 0x000200f8u, 0x00000281u, 0x00050041u, 0x000000bdu, 0x00000288u, 0x00000026u, 0x000000bcu,
345 0x0004003du, 0x00000017u, 0x00000289u, 0x00000288u, 0x00050080u, 0x00000006u, 0x0000028cu, 0x00000081u,
346 0x00000363u, 0x00050041u, 0x00000007u, 0x0000028eu, 0x00000116u, 0x00000363u, 0x0004003du, 0x00000006u,
347 0x0000028fu, 0x0000028eu, 0x00060041u, 0x0000002du, 0x00000290u, 0x00000289u, 0x0000002cu, 0x0000028cu,
348 0x0005003eu, 0x00000290u, 0x0000028fu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000292u,
349 0x00000363u, 0x00000091u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000282u, 0x000200f9u, 0x00000294u,
350 0x000200f8u, 0x00000294u, 0x000100fdu, 0x00010038u,
286}; 351};
287} // namespace leonida 352} // namespace leonida
diff --git a/runtime/src/indirect_draw_stats.h b/runtime/src/indirect_draw_stats.h
index 39ed09b35..0413ae5d8 100644
--- a/runtime/src/indirect_draw_stats.h
+++ b/runtime/src/indirect_draw_stats.h
@@ -1,45 +1,104 @@
1// Process-wide counts of calls recorded and replay attempts. A command list can replay more than once. 1// Process-wide counts of calls recorded and replay attempts. A command list can replay more than once.
2#pragma once 2#pragma once
3#include <atomic> 3#include <atomic>
4#include <cstddef>
5#include <cstdint>
4#include <cstdio> 6#include <cstdio>
5 7
6namespace leonida::indirect_stats { 8namespace leonida::indirect_stats {
7enum class Event { recorded, emitted, record_skip, replay_skip }; 9enum class Event { recorded, emitted, record_skip, replay_skip };
10// One flag per reason, shared across resolver instantiations.
11enum Reason { compound, disabled, pipeline, root_layout, viewport, mesh, topology, first_instance, entry, robust_index,
12 count_limit, multi_draw, count_feature, raw_count_limit, argument_usage, count_usage,
13 divisor, pending_pipeline, index_view, index_range, stateless, reason_count };
14
15// D3D_PRIMITIVE_TOPOLOGY values whose Vulkan dynamic topology (or rectangle-list geometry-stage variant) needs no CPU
16// vertex/index-count expansion at prepare time: POINTLIST(1), LINELIST(2), LINESTRIP(3), TRIANGLELIST(4),
17// TRIANGLESTRIP(5), *_ADJ(10..13), and console RECTLIST(17). UNDEFINED(0), QUADLIST(19), and patch lists remain skipped.
18inline constexpr bool topology_supported(std::uint32_t value) {
19 return (value >= 1 && value <= 5) || (value >= 10 && value <= 13) || value == 17;
20}
21
22inline constexpr const char* reason_name(Reason reason) {
23 constexpr const char* names[]{"compound signature", "opt-out", "missing pipeline", "missing root signature",
24 "empty viewport", "mesh indirect", "topology", "drawIndirectFirstInstance", "missing Vulkan entry point",
25 "robust sized index binding", "maxDrawIndirectCount", "multiDrawIndirect", "drawIndirectCount",
26 "counted draw requires maxDrawIndirectCount == UINT32_MAX", "argument buffer lacks indirect creation usage",
27 "count buffer lacks indirect creation usage", "nonunit vertex divisor", "pipeline pending",
28 "invalid index view", "index view outside buffer or misaligned", "legacy command has no graphics state"};
29 static_assert(sizeof(names) / sizeof(*names) == reason_count);
30 return static_cast<unsigned>(reason) < reason_count ? names[reason] : "unknown";
31}
32
33inline constexpr const char* reason_tag(Reason reason) {
34 constexpr const char* tags[]{"compound", "disabled", "pipeline", "root_layout", "viewport", "mesh", "topology",
35 "first_instance", "entry", "robust_index", "count_limit", "multi_draw", "count_feature", "raw_count_limit",
36 "argument_usage", "count_usage", "divisor", "pending_pipeline", "index_view", "index_range", "stateless"};
37 static_assert(sizeof(tags) / sizeof(*tags) == reason_count);
38 return static_cast<unsigned>(reason) < reason_count ? tags[reason] : "unknown";
39}
40
8struct Counts { 41struct Counts {
9 std::atomic<unsigned long long> values[4]{}; 42 std::atomic<unsigned long long> values[4]{};
10 void report() const { 43 std::atomic<unsigned long long> by_reason[reason_count]{};
11 std::fprintf(stderr, "[rt] indirect graphics: recorded=%llu emitted=%llu record_skips=%llu replay_skips=%llu\n", 44 void report(std::FILE* out = stderr) const {
12 values[0].load(), values[1].load(), values[2].load(), values[3].load()); 45 char line[1280];
46 int pos = std::snprintf(
47 line, sizeof(line),
48 "[rt] indirect graphics: recorded=%llu emitted=%llu record_skips=%llu replay_skips=%llu",
49 values[0].load(std::memory_order_relaxed), values[1].load(std::memory_order_relaxed),
50 values[2].load(std::memory_order_relaxed), values[3].load(std::memory_order_relaxed));
51 if (pos < 0) return;
52 if (static_cast<std::size_t>(pos) >= sizeof(line)) pos = static_cast<int>(sizeof(line) - 1);
53 bool first_reason = true;
54 for (unsigned i = 0; i < reason_count; ++i) {
55 const auto count = by_reason[i].load(std::memory_order_relaxed);
56 if (!count) continue;
57 const int rem = static_cast<int>(sizeof(line)) - pos;
58 if (rem <= 2) break;
59 const int n = std::snprintf(line + pos, static_cast<std::size_t>(rem), "%s%s=%llu",
60 first_reason ? " [" : ", ",
61 reason_tag(static_cast<Reason>(i)), count);
62 if (n <= 0) break;
63 pos += (n < rem) ? n : (rem - 1);
64 first_reason = false;
65 }
66 if (!first_reason && static_cast<std::size_t>(pos) + 1 < sizeof(line)) line[pos++] = ']';
67 std::fprintf(out, "%.*s\n", pos, line);
13 } 68 }
14 ~Counts() { 69 ~Counts() {
15 for (const auto& value : values) { 70 for (const auto& value : values) {
16 if (value.load()) { 71 if (value.load(std::memory_order_relaxed)) {
17 report(); 72 report();
18 break; 73 break;
19 } 74 }
20 } 75 }
21 } 76 }
22}; 77};
78
79inline Counts& counts() {
80 static Counts instance;
81 return instance;
82}
83
84inline unsigned long long reason_skips(Reason reason) {
85 return static_cast<unsigned>(reason) < reason_count
86 ? counts().by_reason[reason].load(std::memory_order_relaxed)
87 : 0ull;
88}
89
23inline void note(Event event) { 90inline void note(Event event) {
24 static Counts counts; 91 auto& c = counts();
25 const auto n = 1 + counts.values[static_cast<unsigned>(event)].fetch_add(1, std::memory_order_relaxed); 92 const auto n = 1 + c.values[static_cast<unsigned>(event)].fetch_add(1, std::memory_order_relaxed);
26 if ((n & (n - 1)) == 0) counts.report(); 93 if ((n & (n - 1)) == 0) c.report();
27} 94}
28// One flag per reason, shared across resolver instantiations. 95
29enum Reason { compound, disabled, pipeline, root_layout, viewport, mesh, topology, first_instance, entry, robust_index,
30 count_limit, multi_draw, count_feature, raw_count_limit, argument_usage, count_usage,
31 divisor, pending_pipeline, index_view, index_range, stateless, reason_count };
32inline void skip(Event event, Reason reason) { 96inline void skip(Event event, Reason reason) {
33 static constexpr const char* names[]{"compound signature", "opt-out", "missing pipeline", "missing root signature", 97 if (static_cast<unsigned>(reason) >= reason_count) return;
34 "empty viewport", "mesh indirect", "topology", "drawIndirectFirstInstance", "missing Vulkan entry point",
35 "robust sized index binding", "maxDrawIndirectCount", "multiDrawIndirect", "drawIndirectCount",
36 "counted draw requires maxDrawIndirectCount == UINT32_MAX", "argument buffer lacks indirect creation usage",
37 "count buffer lacks indirect creation usage", "nonunit vertex divisor", "pipeline pending",
38 "invalid index view", "index view outside buffer or misaligned", "legacy command has no graphics state"};
39 static_assert(sizeof(names) / sizeof(*names) == reason_count);
40 static std::atomic_flag shown[reason_count]{}; 98 static std::atomic_flag shown[reason_count]{};
41 if (!shown[reason].test_and_set(std::memory_order_relaxed)) 99 if (!shown[reason].test_and_set(std::memory_order_relaxed))
42 std::fprintf(stderr, "[rt] indirect graphics skipped: %s\n", names[reason]); 100 std::fprintf(stderr, "[rt] indirect graphics skipped: %s\n", reason_name(reason));
101 counts().by_reason[reason].fetch_add(1, std::memory_order_relaxed);
43 note(event); 102 note(event);
44} 103}
45} 104}
diff --git a/runtime/src/isa_jit_patch.h b/runtime/src/isa_jit_patch.h
new file mode 100644
index 000000000..022960cd7
--- /dev/null
+++ b/runtime/src/isa_jit_patch.h
@@ -0,0 +1,1524 @@
1// Ahead-of-time native AVX1 + SSE4.2 + x86-64 stub compiler for BMI1, BMI2, MOVBE, FMA3 and AVX2 sites on
2// pre-Haswell AVX1 hosts (Intel Sandy Bridge and Ivy Bridge).
3//
4// Emulating every VEX BMI1/BMI2/AVX2/FMA3 instruction through #UD (STATUS_ILLEGAL_INSTRUCTION ->
5// KiUserExceptionDispatcher) costs ~4,000-6,000 cycles per instruction, stalling hot decompression and SIMD loops.
6// Before an image's sections are marked read/execute, patch_image() rewrites verified code sites in two ways:
7// 1. Exact same-length in-place VEX rewrites (zero stub overhead) where an AVX1 instruction performs the identical
8// architectural bit operation with no SIMD FP exceptions:
9// - vpand / vpandn / vpor / vpxor (256b) -> vandps / vandnps / vorps / vxorps (256b)
10// - vextracti128 / vinserti128 / vperm2i128 -> vextractf128 / vinsertf128 / vperm2f128
11// - vbroadcasti128 m128 -> vbroadcastf128 m128
12// - vpblendd (128b/256b) -> vblendps (128b/256b)
13// - vpbroadcastd m32 (128b/256b) -> vbroadcastss m32 (128b/256b)
14// - vpbroadcastq ymm, m64 -> vbroadcastsd ymm, m64
15// 2. Near `jmp rel32` trampolines to native machine-code stubs within +-2 GiB of the module:
16// - >=5-byte BMI1/BMI2/MOVBE sites -> native x86-64 GPR sequences preserving/setting exact architectural EFLAGS
17// - >=5-byte AVX2 & FMA3 sites -> native AVX1 (YMM + 2x128-bit XMM) sequences preserving all GPRs & EFLAGS
18// - 4-byte 0xC5 AVX2 sites -> when LEONIDA_ISA_FUSE_4B=1 is set (off by default), fused with the
19// immediately following instruction when no direct branch, relocation,
20// unwind scope, export, RVA table or Clang table-relative switch entry
21// anywhere in the image targets the interior boundary.
22//
23// Any unpatched site (e.g. F16C, vpmaskmov*, pdep/pext, addr32/FS/GS overrides, or unfused 4-byte sites) remains
24// untouched and continues to execute through bmi_emulation::handler / avx2_emulation::handler on #UD.
25// Set LEONIDA_ISA_PATCH=0 to disable; set LEONIDA_ISA_FUSE_4B=1 to opt in to 4-byte cross-instruction fusion.
26#pragma once
27
28#ifdef _WIN32
29#include <windows.h>
30
31#include <algorithm>
32#include <cstddef>
33#include <cstdint>
34#include <cstdlib>
35#include <cstring>
36#include <utility>
37#include <vector>
38
39#include "avx2_emulation.h"
40#include "bmi_emulation.h"
41
42namespace rt::isa_jit_patch {
43
44inline bool enabled() {
45 char v[8]{};
46 std::size_t n = 0;
47 return !(getenv_s(&n, v, "LEONIDA_ISA_PATCH") == 0 && n == 2 && v[0] == '0');
48}
49
50inline bool fuse_4b_enabled() {
51 char v[8]{};
52 std::size_t n = 0;
53 return getenv_s(&n, v, "LEONIDA_ISA_FUSE_4B") == 0 && n == 2 && v[0] == '1';
54}
55
56struct Stats {
57 std::size_t inplace_sites = 0;
58 std::size_t bmi_stubs = 0;
59 std::size_t avx2_stubs = 0;
60 std::size_t avx2_fused_4b = 0;
61 std::size_t fma3_stubs = 0;
62 uint8_t* stubs = nullptr;
63 std::size_t stub_bytes = 0;
64 std::size_t stub_reserved = 0;
65};
66
67namespace detail {
68
69inline void emit_u8(std::vector<uint8_t>& o, uint8_t b) { o.push_back(b); }
70inline void emit_i8(std::vector<uint8_t>& o, int8_t v) { o.push_back(uint8_t(v)); }
71inline void emit_i32(std::vector<uint8_t>& o, int32_t v) {
72 uint8_t b[4];
73 std::memcpy(b, &v, 4);
74 o.insert(o.end(), b, b + 4);
75}
76inline void emit_u32(std::vector<uint8_t>& o, uint32_t v) {
77 uint8_t b[4];
78 std::memcpy(b, &v, 4);
79 o.insert(o.end(), b, b + 4);
80}
81
82inline void emit_jmp_rel32(std::vector<uint8_t>& o, uint64_t stub_base_va, uint64_t target_va) {
83 emit_u8(o, 0xE9);
84 const int64_t rel = int64_t(target_va) - int64_t(stub_base_va + o.size() + 4);
85 emit_i32(o, int32_t(rel));
86}
87
88inline void emit_push_gpr(std::vector<uint8_t>& o, uint8_t r) {
89 if (r >= 8) emit_u8(o, 0x41);
90 emit_u8(o, uint8_t(0x50 + (r & 7)));
91}
92
93inline void emit_pop_gpr(std::vector<uint8_t>& o, uint8_t r) {
94 if (r >= 8) emit_u8(o, 0x41);
95 emit_u8(o, uint8_t(0x58 + (r & 7)));
96}
97
98inline void emit_rex(std::vector<uint8_t>& o, bool w, uint8_t reg, uint8_t idx, uint8_t rm_base, bool force = false) {
99 const uint8_t rex =
100 uint8_t(0x40 | (w ? 8 : 0) | ((reg >= 8) ? 4 : 0) | ((idx >= 8) ? 2 : 0) | ((rm_base >= 8) ? 1 : 0));
101 if (rex != 0x40 || force) emit_u8(o, rex);
102}
103
104inline void emit_mov_rr(std::vector<uint8_t>& o, bool w64, uint8_t dst, uint8_t src) {
105 // 89 /r: mov r/m, reg (dst = r/m, src = reg)
106 emit_rex(o, w64, src, 0, dst);
107 emit_u8(o, 0x89);
108 emit_u8(o, uint8_t(0xC0 | ((src & 7) << 3) | (dst & 7)));
109}
110
111inline void emit_mov_imm32(std::vector<uint8_t>& o, uint8_t dst, uint32_t imm) {
112 if (dst >= 8) emit_u8(o, 0x41);
113 emit_u8(o, uint8_t(0xB8 + (dst & 7)));
114 emit_u32(o, imm);
115}
116
117inline uint8_t scale_bits(uint8_t scale) {
118 return scale == 8 ? 3 : scale == 4 ? 2 : scale == 2 ? 1 : 0;
119}
120
121// Emits ModRM + optional SIB + disp for a memory operand (already preceded by opcode byte), adjusting [rsp + disp] by
122// `stack_adj` and re-anchoring [rip + disp] from `orig_next_va` to `stub_base_va + o.size() + 5 + trailing_imm_bytes`.
123inline bool emit_mem_modrm(std::vector<uint8_t>& o, uint8_t reg_low3, int8_t base, int8_t index, uint8_t scale,
124 int32_t disp, int32_t stack_adj, uint64_t orig_next_va, uint64_t stub_base_va,
125 std::size_t trailing_imm_bytes = 0) {
126 if (base == -2) {
127 const uint64_t target_va = orig_next_va + uint64_t(int64_t(disp));
128 const uint64_t stub_next_va = stub_base_va + o.size() + 1 + 4 + trailing_imm_bytes;
129 const int64_t rel = int64_t(target_va) - int64_t(stub_next_va);
130 if (rel < INT32_MIN || rel > INT32_MAX) return false;
131 emit_u8(o, uint8_t(((reg_low3 & 7) << 3) | 5));
132 emit_i32(o, int32_t(rel));
133 return true;
134 }
135
136 const int64_t adj64 = int64_t(disp) + (base == 4 ? int64_t(stack_adj) : 0);
137 if (adj64 < INT32_MIN || adj64 > INT32_MAX) return false;
138 const int32_t adj = int32_t(adj64);
139
140 if (base == -1) {
141 emit_u8(o, uint8_t(((reg_low3 & 7) << 3) | 4));
142 const uint8_t idx_bits = (index >= 0) ? uint8_t(index & 7) : 4u;
143 emit_u8(o, uint8_t((scale_bits(scale) << 6) | (idx_bits << 3) | 5u));
144 emit_i32(o, adj);
145 return true;
146 }
147
148 const uint8_t base_low = uint8_t(base & 7);
149 const uint8_t mod = (adj == 0 && base_low != 5) ? 0u : (adj >= -128 && adj <= 127) ? 1u : 2u;
150 if (index >= 0 || base_low == 4) {
151 emit_u8(o, uint8_t((mod << 6) | ((reg_low3 & 7) << 3) | 4u));
152 const uint8_t idx_bits = (index >= 0) ? uint8_t(index & 7) : 4u;
153 emit_u8(o, uint8_t((scale_bits(scale) << 6) | (idx_bits << 3) | base_low));
154 } else {
155 emit_u8(o, uint8_t((mod << 6) | ((reg_low3 & 7) << 3) | base_low));
156 }
157 if (mod == 1) emit_i8(o, int8_t(adj));
158 else if (mod == 2) emit_i32(o, adj);
159 return true;
160}
161
162inline uint8_t pick_scratch_gpr(uint32_t used_mask) {
163 // Prefer volatile/common regs, never RSP (4).
164 constexpr uint8_t order[] = {0, 1, 2, 8, 9, 10, 11, 3, 5, 6, 7, 12, 13, 14, 15};
165 for (uint8_t r : order) {
166 if (((used_mask >> r) & 1u) == 0) return r;
167 }
168 return 0xFF;
169}
170
171inline uint8_t pick_scratch_ymm(uint32_t used_mask) {
172 for (uint8_t r = 0; r < 16; ++r) {
173 if (((used_mask >> r) & 1u) == 0) return r;
174 }
175 return 0xFF;
176}
177
178// Emits `mov dst_gpr, r/m` (32-bit or 64-bit) for a BMI/MOVBE decoded operand.
179inline bool emit_bmi_load_rm(std::vector<uint8_t>& o, const bmi_emulation::Decoded& d, uint8_t dst_gpr,
180 int32_t stack_adj, uint64_t orig_next_va, uint64_t stub_base_va) {
181 const bool w64 = d.size == 8;
182 if (!d.mem) {
183 emit_mov_rr(o, w64, dst_gpr, d.rm);
184 return true;
185 }
186 const uint8_t idx_r = d.index >= 0 ? uint8_t(d.index) : 0u;
187 const uint8_t base_r = d.base >= 0 ? uint8_t(d.base) : 0u;
188 emit_rex(o, w64, dst_gpr, idx_r, base_r);
189 emit_u8(o, 0x8B); // mov r, r/m
190 return emit_mem_modrm(o, dst_gpr & 7, d.base, d.index, d.scale, d.disp, stack_adj, orig_next_va, stub_base_va);
191}
192
193// Emits a native x86-64 machine-code body (without trailing jmp) for a BMI1/BMI2/MOVBE instruction.
194inline bool emit_bmi_body(std::vector<uint8_t>& o, const bmi_emulation::Decoded& d, uint64_t orig_va,
195 uint64_t stub_base_va, const bmi_emulation::Host& host) {
196 using bmi_emulation::Op;
197 if (d.addr32 || d.seg != 0) return false;
198 if (d.size == 2 && d.op == Op::movbe_load) {
199 if (host.movbe || d.dst == 4 || !d.mem) return false;
200 const uint64_t orig_next_va = orig_va + d.length;
201 const uint8_t idx_r = d.index >= 0 ? uint8_t(d.index) : 0u;
202 const uint8_t base_r = d.base >= 0 ? uint8_t(d.base) : 0u;
203 emit_u8(o, 0x66);
204 emit_rex(o, false, d.dst, idx_r, base_r);
205 emit_u8(o, 0x8B); // mov r16, [mem] (preserves dst[63:16])
206 if (!emit_mem_modrm(o, d.dst & 7, d.base, d.index, d.scale, d.disp, 0, orig_next_va, stub_base_va))
207 return false;
208 emit_u8(o, 0x9C); // pushfq
209 emit_u8(o, 0x66);
210 emit_rex(o, false, 0, 0, d.dst);
211 emit_u8(o, 0xC1);
212 emit_u8(o, uint8_t(0xC0 | (d.dst & 7))); // rol r16, 8 (byte-swaps 16-bit register)
213 emit_u8(o, 8);
214 emit_u8(o, 0x9D); // popfq
215 return true;
216 }
217 if (d.size != 4 && d.size != 8) return false;
218
219 // Skip instructions the host CPU already executes natively without #UD.
220 switch (d.op) {
221 case Op::andn: case Op::bextr: case Op::blsi: case Op::blsmsk: case Op::blsr:
222 if (host.bmi1) return false;
223 break;
224 case Op::bzhi: case Op::mulx: case Op::rorx: case Op::sarx: case Op::shlx: case Op::shrx:
225 if (host.bmi2) return false;
226 break;
227 case Op::movbe_load: case Op::movbe_store:
228 if (host.movbe) return false;
229 break;
230 default:
231 return false; // pdep, pext, tzcnt, lzcnt handled elsewhere
232 }
233
234 const bool w64 = d.size == 8;
235 const uint8_t bits = w64 ? 64 : 32;
236 const uint64_t orig_next_va = orig_va + d.length;
237
238 uint32_t used = (1u << 4); // never RSP
239 used |= (1u << d.dst) | (1u << d.dst2) | (1u << d.src1);
240 if (!d.mem) used |= (1u << d.rm);
241 else {
242 if (d.base >= 0) used |= (1u << d.base);
243 if (d.index >= 0) used |= (1u << d.index);
244 }
245
246 if (d.op != Op::movbe_store && d.dst == 4) return false;
247 if (d.op == Op::mulx && d.dst2 == 4) return false;
248
249 switch (d.op) {
250 case Op::movbe_load: {
251 if (!emit_bmi_load_rm(o, d, d.dst, 0, orig_next_va, stub_base_va)) return false;
252 emit_rex(o, w64, 0, 0, d.dst);
253 emit_u8(o, 0x0F);
254 emit_u8(o, uint8_t(0xC8 + (d.dst & 7))); // bswap dst (touches no flags)
255 return true;
256 }
257 case Op::movbe_store: {
258 const uint8_t tmp = pick_scratch_gpr(used);
259 if (tmp == 0xFF) return false;
260 emit_push_gpr(o, tmp);
261 emit_mov_rr(o, w64, tmp, d.src1);
262 emit_rex(o, w64, 0, 0, tmp);
263 emit_u8(o, 0x0F);
264 emit_u8(o, uint8_t(0xC8 + (tmp & 7))); // bswap tmp
265 const uint8_t idx_r = d.index >= 0 ? uint8_t(d.index) : 0u;
266 const uint8_t base_r = d.base >= 0 ? uint8_t(d.base) : 0u;
267 emit_rex(o, w64, tmp, idx_r, base_r);
268 emit_u8(o, 0x89); // mov [mem], tmp
269 if (!emit_mem_modrm(o, tmp & 7, d.base, d.index, d.scale, d.disp, 8, orig_next_va, stub_base_va)) return false;
270 emit_pop_gpr(o, tmp);
271 return true;
272 }
273 case Op::rorx: {
274 const uint8_t cnt = d.imm & (bits - 1u);
275 if (!emit_bmi_load_rm(o, d, d.dst, 0, orig_next_va, stub_base_va)) return false;
276 if (cnt != 0) {
277 emit_u8(o, 0x9C); // pushfq
278 emit_rex(o, w64, 0, 0, d.dst);
279 emit_u8(o, 0xC1);
280 emit_u8(o, uint8_t(0xC8 | (d.dst & 7))); // ror dst, imm8
281 emit_u8(o, cnt);
282 emit_u8(o, 0x9D); // popfq
283 }
284 return true;
285 }
286 case Op::shlx:
287 case Op::shrx:
288 case Op::sarx: {
289 const uint8_t shift_sub = (d.op == Op::shlx) ? 4u : (d.op == Op::shrx) ? 5u : 7u;
290 if (d.src1 == 1 && d.dst != 1) {
291 // Fast path: count is already in RCX/CL and dst != RCX.
292 if (!emit_bmi_load_rm(o, d, d.dst, 0, orig_next_va, stub_base_va)) return false;
293 emit_u8(o, 0x9C); // pushfq
294 emit_rex(o, w64, 0, 0, d.dst);
295 emit_u8(o, 0xD3);
296 emit_u8(o, uint8_t(0xC0 | (shift_sub << 3) | (d.dst & 7)));
297 emit_u8(o, 0x9D); // popfq
298 return true;
299 }
300 const uint8_t tmp = pick_scratch_gpr(used | (1u << 1));
301 if (tmp == 0xFF) return false;
302 emit_push_gpr(o, tmp);
303 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
304 emit_u8(o, 0x51); // push rcx
305 emit_u8(o, 0x9C); // pushfq
306 if (d.src1 != 1) emit_mov_rr(o, false, 1, d.src1); // mov ecx, src1_32
307 emit_rex(o, w64, 0, 0, tmp);
308 emit_u8(o, 0xD3);
309 emit_u8(o, uint8_t(0xC0 | (shift_sub << 3) | (tmp & 7)));
310 emit_u8(o, 0x9D); // popfq
311 emit_u8(o, 0x59); // pop rcx
312 emit_mov_rr(o, w64, d.dst, tmp);
313 emit_pop_gpr(o, tmp);
314 return true;
315 }
316 case Op::mulx: {
317 const uint8_t tmp = pick_scratch_gpr(used | (1u << 0) | (1u << 2));
318 if (tmp == 0xFF) return false;
319 emit_push_gpr(o, tmp);
320 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
321 emit_u8(o, 0x50); // push rax ([rsp+16] after pushfq)
322 emit_u8(o, 0x52); // push rdx ([rsp+8] after pushfq)
323 emit_u8(o, 0x9C); // pushfq
324 emit_mov_rr(o, w64, 0, 2); // mov rax/eax, rdx/edx
325 emit_rex(o, w64, 0, 0, tmp);
326 emit_u8(o, 0xF7);
327 emit_u8(o, uint8_t(0xE0 | (tmp & 7))); // mul tmp -> rax=lo (zero-ext), rdx=hi (zero-ext)
328 emit_u8(o, 0x9D); // popfq -> now [rsp] = saved rdx, [rsp+8] = saved rax
329 // Write low half (rax) to dst2 first, then high half (rdx) to dst (so dst wins when dst == dst2).
330 const auto write_mulx_out = [&](uint8_t target_reg, uint8_t val_reg) {
331 if (target_reg == 2) {
332 // mov [rsp], val_reg (64-bit, already zero-extended when !w64)
333 emit_u8(o, 0x48);
334 emit_u8(o, 0x89);
335 emit_u8(o, uint8_t(((val_reg & 7) << 3) | 4u));
336 emit_u8(o, 0x24);
337 } else if (target_reg == 0) {
338 // mov [rsp+8], val_reg
339 emit_u8(o, 0x48);
340 emit_u8(o, 0x89);
341 emit_u8(o, uint8_t(0x44 | ((val_reg & 7) << 3)));
342 emit_u8(o, 0x24);
343 emit_u8(o, 0x08);
344 } else {
345 emit_mov_rr(o, w64, target_reg, val_reg);
346 }
347 };
348 write_mulx_out(d.dst2, 0);
349 write_mulx_out(d.dst, 2);
350 emit_u8(o, 0x5A); // pop rdx
351 emit_u8(o, 0x58); // pop rax
352 emit_pop_gpr(o, tmp);
353 return true;
354 }
355 case Op::andn: {
356 const uint8_t tmp = pick_scratch_gpr(used);
357 if (tmp == 0xFF) return false;
358 emit_push_gpr(o, tmp);
359 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
360 emit_mov_rr(o, w64, d.dst, d.src1);
361 emit_rex(o, w64, 0, 0, d.dst);
362 emit_u8(o, 0xF7);
363 emit_u8(o, uint8_t(0xD0 | (d.dst & 7))); // not dst
364 emit_rex(o, w64, tmp, 0, d.dst);
365 emit_u8(o, 0x21); // and dst, tmp (sets CF=0, OF=0, ZF, SF)
366 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (d.dst & 7)));
367 emit_pop_gpr(o, tmp);
368 return true;
369 }
370 case Op::blsi: {
371 // res = (-s) & s; CF = (s != 0) == (res != 0), OF = 0, ZF = (res == 0), SF = msb(res)
372 const uint8_t tmp = pick_scratch_gpr(used);
373 if (tmp == 0xFF) return false;
374 emit_push_gpr(o, tmp);
375 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
376 emit_mov_rr(o, w64, d.dst, tmp);
377 emit_rex(o, w64, 0, 0, d.dst);
378 emit_u8(o, 0xF7);
379 emit_u8(o, uint8_t(0xD8 | (d.dst & 7))); // neg dst (sets CF = (s != 0), dst = -s)
380 emit_rex(o, w64, tmp, 0, d.dst);
381 emit_u8(o, 0x21); // and dst, tmp (sets OF=0, ZF=(res==0), SF=msb(res), clears CF)
382 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (d.dst & 7)));
383 emit_u8(o, 0x74); // je +1 (skip stc when res == 0)
384 emit_u8(o, 0x01);
385 emit_u8(o, 0xF9); // stc (CF = 1 when res != 0)
386 emit_pop_gpr(o, tmp);
387 return true;
388 }
389 case Op::blsr:
390 case Op::blsmsk: {
391 // BLSR: res = (s - 1) & s; CF = (s == 0), OF = 0, ZF = (res == 0), SF = msb(res)
392 // BLSMSK: res = (s - 1) ^ s; CF = (s == 0), OF = 0, ZF = (res == 0), SF = msb(res)
393 const uint8_t tmp = pick_scratch_gpr(used);
394 if (tmp == 0xFF) return false;
395 emit_push_gpr(o, tmp);
396 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
397 emit_rex(o, w64, tmp, 0, tmp);
398 emit_u8(o, 0x85);
399 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (tmp & 7))); // test tmp, tmp
400 const std::size_t jz_patch = o.size();
401 emit_u8(o, 0x74); // jz is_zero
402 emit_u8(o, 0x00);
403 // Non-zero path (CF must be 0): lea dst, [tmp - 1]
404 emit_rex(o, w64, d.dst, 0, tmp);
405 emit_u8(o, 0x8D);
406 if ((tmp & 7) == 4) {
407 emit_u8(o, uint8_t(0x44 | ((d.dst & 7) << 3)));
408 emit_u8(o, 0x24);
409 } else {
410 emit_u8(o, uint8_t(0x40 | ((d.dst & 7) << 3) | (tmp & 7)));
411 }
412 emit_i8(o, -1);
413 // and / xor dst, tmp (sets CF=0, OF=0, ZF, SF)
414 emit_rex(o, w64, tmp, 0, d.dst);
415 emit_u8(o, d.op == Op::blsr ? 0x21 : 0x31);
416 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (d.dst & 7)));
417 const std::size_t jmp_done = o.size();
418 emit_u8(o, 0xEB);
419 emit_u8(o, 0x00);
420 // is_zero path (s == 0 -> CF = 1):
421 o[jz_patch + 1] = uint8_t(o.size() - (jz_patch + 2));
422 if (d.op == Op::blsr) {
423 emit_rex(o, false, d.dst, 0, d.dst);
424 emit_u8(o, 0x31);
425 emit_u8(o, uint8_t(0xC0 | ((d.dst & 7) << 3) | (d.dst & 7))); // xor dst32, dst32
426 } else {
427 emit_rex(o, w64, 0, 0, d.dst);
428 emit_u8(o, 0x83);
429 emit_u8(o, uint8_t(0xC8 | (d.dst & 7)));
430 emit_u8(o, 0xFF); // or dst, -1
431 }
432 emit_u8(o, 0xF9); // stc
433 o[jmp_done + 1] = uint8_t(o.size() - (jmp_done + 2));
434 emit_pop_gpr(o, tmp);
435 return true;
436 }
437 case Op::bzhi: {
438 const uint8_t tmp = pick_scratch_gpr(used | (1u << 1));
439 if (tmp == 0xFF) return false;
440 const uint8_t tmp2 = pick_scratch_gpr(used | (1u << 1) | (1u << tmp));
441 if (tmp2 == 0xFF) return false;
442 emit_push_gpr(o, tmp);
443 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
444 emit_push_gpr(o, tmp2);
445 emit_u8(o, 0x51); // push rcx
446 if (d.src1 != 1) emit_mov_rr(o, false, 1, d.src1); // mov ecx, src1_32
447 emit_u8(o, 0x81); emit_u8(o, 0xE1); emit_u32(o, 0xFFu); // and ecx, 0xFF
448 emit_u8(o, 0x83); emit_u8(o, 0xF9); emit_u8(o, bits); // cmp ecx, bits
449 const std::size_t jae_ge = o.size();
450 emit_u8(o, 0x73); emit_u8(o, 0x00); // jae ge_bits
451 // < bits: tmp2 = (1 << cl) - 1; and tmp, tmp2 (sets CF=0, OF=0, ZF, SF)
452 emit_mov_imm32(o, tmp2, 1);
453 emit_rex(o, w64, 0, 0, tmp2);
454 emit_u8(o, 0xD3);
455 emit_u8(o, uint8_t(0xE0 | (tmp2 & 7))); // shl tmp2, cl
456 emit_rex(o, w64, 0, 0, tmp2);
457 emit_u8(o, 0xFF);
458 emit_u8(o, uint8_t(0xC8 | (tmp2 & 7))); // dec tmp2
459 emit_rex(o, w64, tmp2, 0, tmp);
460 emit_u8(o, 0x21);
461 emit_u8(o, uint8_t(0xC0 | ((tmp2 & 7) << 3) | (tmp & 7))); // and tmp, tmp2
462 const std::size_t jmp_done = o.size();
463 emit_u8(o, 0xEB); emit_u8(o, 0x00);
464 // ge_bits: res = tmp, CF = 1, OF = 0, ZF = (tmp == 0), SF = msb(tmp)
465 o[jae_ge + 1] = uint8_t(o.size() - (jae_ge + 2));
466 emit_rex(o, w64, tmp, 0, tmp);
467 emit_u8(o, 0x85);
468 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (tmp & 7))); // test tmp, tmp
469 emit_u8(o, 0xF9); // stc
470 o[jmp_done + 1] = uint8_t(o.size() - (jmp_done + 2));
471 emit_u8(o, 0x59); // pop rcx
472 emit_mov_rr(o, w64, d.dst, tmp);
473 emit_pop_gpr(o, tmp2);
474 emit_pop_gpr(o, tmp);
475 return true;
476 }
477 case Op::bextr: {
478 const uint8_t tmp = pick_scratch_gpr(used | (1u << 1));
479 if (tmp == 0xFF) return false;
480 const uint8_t tmp2 = pick_scratch_gpr(used | (1u << 1) | (1u << tmp));
481 if (tmp2 == 0xFF) return false;
482 emit_push_gpr(o, tmp);
483 if (!emit_bmi_load_rm(o, d, tmp, 8, orig_next_va, stub_base_va)) return false;
484 emit_push_gpr(o, tmp2);
485 emit_u8(o, 0x51); // push rcx
486 emit_mov_rr(o, false, tmp2, d.src1); // mov tmp2_32, src1_32 (ctl)
487 emit_mov_rr(o, false, 1, tmp2); // mov ecx, tmp2_32
488 emit_u8(o, 0x81); emit_u8(o, 0xE1); emit_u32(o, 0xFFu); // and ecx, 0xFF (start)
489 emit_u8(o, 0x83); emit_u8(o, 0xF9); emit_u8(o, bits); // cmp ecx, bits
490 const std::size_t jae_zero = o.size();
491 emit_u8(o, 0x73); emit_u8(o, 0x00); // jae zero_out
492 // shr tmp, cl
493 emit_rex(o, w64, 0, 0, tmp);
494 emit_u8(o, 0xD3);
495 emit_u8(o, uint8_t(0xE8 | (tmp & 7)));
496 // ecx = (tmp2 >> 8) & 0xFF (len)
497 emit_mov_rr(o, false, 1, tmp2);
498 emit_u8(o, 0xC1); emit_u8(o, 0xE9); emit_u8(o, 0x08); // shr ecx, 8
499 emit_u8(o, 0x81); emit_u8(o, 0xE1); emit_u32(o, 0xFFu); // and ecx, 0xFF (sets ZF if len == 0)
500 const std::size_t jz_zero = o.size();
501 emit_u8(o, 0x74); emit_u8(o, 0x00); // jz zero_out
502 emit_u8(o, 0x83); emit_u8(o, 0xF9); emit_u8(o, bits); // cmp ecx, bits
503 const std::size_t jae_keep = o.size();
504 emit_u8(o, 0x73); emit_u8(o, 0x00); // jae keep_shifted
505 // 0 < len < bits: tmp2 = (1 << cl) - 1; and tmp, tmp2
506 emit_mov_imm32(o, tmp2, 1);
507 emit_rex(o, w64, 0, 0, tmp2);
508 emit_u8(o, 0xD3);
509 emit_u8(o, uint8_t(0xE0 | (tmp2 & 7))); // shl tmp2, cl
510 emit_rex(o, w64, 0, 0, tmp2);
511 emit_u8(o, 0xFF);
512 emit_u8(o, uint8_t(0xC8 | (tmp2 & 7))); // dec tmp2
513 emit_rex(o, w64, tmp2, 0, tmp);
514 emit_u8(o, 0x21);
515 emit_u8(o, uint8_t(0xC0 | ((tmp2 & 7) << 3) | (tmp & 7))); // and tmp, tmp2 (CF=0, OF=0, ZF)
516 const std::size_t jmp_done1 = o.size();
517 emit_u8(o, 0xEB); emit_u8(o, 0x00);
518
519 // zero_out:
520 o[jae_zero + 1] = uint8_t(o.size() - (jae_zero + 2));
521 o[jz_zero + 1] = uint8_t(o.size() - (jz_zero + 2));
522 emit_rex(o, false, tmp, 0, tmp);
523 emit_u8(o, 0x31);
524 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (tmp & 7))); // xor tmp32, tmp32 (CF=0, OF=0, ZF=1, SF=0)
525 const std::size_t jmp_done2 = o.size();
526 emit_u8(o, 0xEB); emit_u8(o, 0x00);
527
528 // keep_shifted:
529 o[jae_keep + 1] = uint8_t(o.size() - (jae_keep + 2));
530 emit_rex(o, w64, tmp, 0, tmp);
531 emit_u8(o, 0x85);
532 emit_u8(o, uint8_t(0xC0 | ((tmp & 7) << 3) | (tmp & 7))); // test tmp, tmp (CF=0, OF=0, ZF)
533
534 // done:
535 o[jmp_done1 + 1] = uint8_t(o.size() - (jmp_done1 + 2));
536 o[jmp_done2 + 1] = uint8_t(o.size() - (jmp_done2 + 2));
537 emit_u8(o, 0x59); // pop rcx
538 emit_mov_rr(o, w64, d.dst, tmp);
539 emit_pop_gpr(o, tmp2);
540 emit_pop_gpr(o, tmp);
541 return true;
542 }
543 default:
544 return false;
545 }
546}
547
548// 3-byte VEX helper (maps 1..3, all registers 0..15).
549inline void emit_vex3(std::vector<uint8_t>& o, uint8_t vmap, uint8_t reg, uint8_t idx, uint8_t rm_base, uint8_t vex_w,
550 uint8_t vvvv, uint8_t vex_l, uint8_t pp, uint8_t op) {
551 emit_u8(o, 0xC4);
552 const uint8_t b1 = uint8_t(((reg >= 8 ? 0 : 1) << 7) | ((idx >= 8 ? 0 : 1) << 6) |
553 ((rm_base >= 8 ? 0 : 1) << 5) | (vmap & 0x1F));
554 const uint8_t b2 = uint8_t(((vex_w & 1) << 7) | (((~vvvv) & 0xF) << 3) | ((vex_l & 1) << 2) | (pp & 3));
555 emit_u8(o, b1);
556 emit_u8(o, b2);
557 emit_u8(o, op);
558}
559
560inline void emit_vex_rr(std::vector<uint8_t>& o, uint8_t vmap, uint8_t vex_w, uint8_t vex_l, uint8_t pp, uint8_t op,
561 uint8_t reg, uint8_t vvvv, uint8_t rm) {
562 emit_vex3(o, vmap, reg, 0, rm, vex_w, vvvv, vex_l, pp, op);
563 emit_u8(o, uint8_t(0xC0 | ((reg & 7) << 3) | (rm & 7)));
564}
565
566inline void emit_vex_rri(std::vector<uint8_t>& o, uint8_t vmap, uint8_t vex_w, uint8_t vex_l, uint8_t pp, uint8_t op,
567 uint8_t reg, uint8_t vvvv, uint8_t rm, uint8_t imm) {
568 emit_vex_rr(o, vmap, vex_w, vex_l, pp, op, reg, vvvv, rm);
569 emit_u8(o, imm);
570}
571
572// Flag-preserving stack frame helpers: `lea rsp, [rsp + delta]` touches zero flags and zero GPRs.
573inline void emit_lea_rsp(std::vector<uint8_t>& o, int8_t delta) {
574 emit_u8(o, 0x48); emit_u8(o, 0x8D); emit_u8(o, 0x64); emit_u8(o, 0x24); emit_i8(o, delta);
575}
576
577inline void emit_vmovdqu_rsp(std::vector<uint8_t>& o, bool store, uint8_t ymm, int8_t disp) {
578 // vmovdqu ymm, [rsp + disp] (6F) or [rsp + disp], ymm (7F), VEX.256.F3.0F (pp=2, L=1)
579 emit_vex3(o, 1, ymm, 0, 4, 0, 0, 1, 2, store ? 0x7F : 0x6F);
580 if (disp == 0) {
581 emit_u8(o, uint8_t(((ymm & 7) << 3) | 4u));
582 emit_u8(o, 0x24);
583 } else {
584 emit_u8(o, uint8_t(0x40 | ((ymm & 7) << 3) | 4u));
585 emit_u8(o, 0x24);
586 emit_i8(o, disp);
587 }
588}
589
590inline void emit_vextractf128_hi(std::vector<uint8_t>& o, uint8_t dst_xmm, uint8_t src_ymm) {
591 // vextractf128 xmm_dst, ymm_src, 1: VEX.256.66.0F3A.W0 19 /r 01 (reg = src_ymm, rm = dst_xmm)
592 emit_vex_rri(o, 3, 0, 1, 1, 0x19, src_ymm, 0, dst_xmm, 1);
593}
594
595inline void emit_vinsertf128_hi(std::vector<uint8_t>& o, uint8_t dst_ymm, uint8_t lo_ymm, uint8_t hi_xmm) {
596 // vinsertf128 ymm_dst, ymm_lo, xmm_hi, 1: VEX.256.66.0F3A.W0 18 /r 01
597 emit_vex_rri(o, 3, 0, 1, 1, 0x18, dst_ymm, lo_ymm, hi_xmm, 1);
598}
599
600// Loads `d.mem_bytes` (1, 2, 4, 8, 16, or 32) from `d`'s memory operand into `dst_vec` using AVX1 unaligned moves.
601inline bool emit_avx1_load_mem(std::vector<uint8_t>& o, const avx2_emulation::Decoded& d, uint8_t dst_vec,
602 int32_t stack_adj, uint64_t orig_next_va, uint64_t stub_base_va) {
603 const uint8_t idx_r = d.index >= 0 ? uint8_t(d.index) : 0u;
604 const uint8_t base_r = d.base >= 0 ? uint8_t(d.base) : 0u;
605 if (d.mem_bytes == 32) {
606 emit_vex3(o, 1, dst_vec, idx_r, base_r, 0, 0, 1, 0, 0x10); // vmovups ymm, m256
607 } else if (d.mem_bytes == 16) {
608 emit_vex3(o, 1, dst_vec, idx_r, base_r, 0, 0, 0, 0, 0x10); // vmovups xmm, m128
609 } else if (d.mem_bytes == 8) {
610 emit_vex3(o, 1, dst_vec, idx_r, base_r, 0, 0, 0, 2, 0x7E); // vmovq xmm, m64 (F3 0F 7E)
611 } else if (d.mem_bytes == 4) {
612 emit_vex3(o, 1, dst_vec, idx_r, base_r, 0, 0, 0, 1, 0x6E); // vmovd xmm, m32 (66 0F 6E)
613 } else if (d.mem_bytes == 2) {
614 // vpinsrw xmm, xmm, m16, 0 (66 0F C4 /r 00) - reads exact 2 bytes
615 emit_vex3(o, 1, dst_vec, idx_r, base_r, 0, dst_vec, 0, 1, 0xC4);
616 if (!emit_mem_modrm(o, dst_vec & 7, d.base, d.index, d.scale, d.disp, stack_adj, orig_next_va, stub_base_va, 1))
617 return false;
618 emit_u8(o, 0x00);
619 return true;
620 } else if (d.mem_bytes == 1) {
621 // vpinsrb xmm, xmm, m8, 0 (66 0F3A 20 /r 00) - reads exact 1 byte
622 emit_vex3(o, 3, dst_vec, idx_r, base_r, 0, dst_vec, 0, 1, 0x20);
623 if (!emit_mem_modrm(o, dst_vec & 7, d.base, d.index, d.scale, d.disp, stack_adj, orig_next_va, stub_base_va, 1))
624 return false;
625 emit_u8(o, 0x00);
626 return true;
627 } else {
628 return false;
629 }
630 return emit_mem_modrm(o, dst_vec & 7, d.base, d.index, d.scale, d.disp, stack_adj, orig_next_va, stub_base_va);
631}
632
633// Returns true if `site[0..d.length)` can be rewritten in place into an exact same-length native AVX1 instruction.
634// If `apply_change` is true, mutates `site` in place.
635inline bool try_avx2_inplace(uint8_t* site, const avx2_emulation::Decoded& d, const avx2_emulation::Host& host,
636 bool apply_change) {
637 if (d.cat != avx2_emulation::Category::avx2 || host.avx2) return false;
638 // Memory-source vbroadcastss (0x18) and vbroadcastsd (0x19) are already native AVX1; leave them untouched.
639 if (d.vmap == 2 && (d.op == 0x18 || d.op == 0x19) && d.mem) return false;
640
641 std::size_t p = 0;
642 while (p < d.length && site[p] != 0xC4 && site[p] != 0xC5) ++p;
643 if (p >= d.length) return false;
644
645 // 1. 256-bit vpand(DB)/vpandn(DF)/vpor(EB)/vpxor(EF) -> vandps(54)/vandnps(55)/vorps(56)/vxorps(57)
646 if (d.vmap == 1 && d.pp == 1 && d.vex_l == 1 &&
647 (d.op == 0xDB || d.op == 0xDF || d.op == 0xEB || d.op == 0xEF)) {
648 const uint8_t new_op = d.op == 0xDB ? 0x54 : d.op == 0xDF ? 0x55 : d.op == 0xEB ? 0x56 : 0x57;
649 if (apply_change) {
650 if (site[p] == 0xC5) {
651 site[p + 1] = uint8_t(site[p + 1] & ~3u); // pp = 0
652 site[p + 2] = new_op;
653 } else {
654 site[p + 2] = uint8_t(site[p + 2] & ~0x83u); // vex_w = 0, pp = 0
655 site[p + 3] = new_op;
656 }
657 }
658 return true;
659 }
660
661 // 2. 3-byte VEX (0xC4, W=0, pp=1) exact bit-equivalent AVX1 opcodes:
662 if (site[p] == 0xC4 && d.vex_w == 0 && d.pp == 1) {
663 uint8_t new_op = 0;
664 if (d.vmap == 3 && d.op == 0x39) new_op = 0x19; // vextracti128 -> vextractf128
665 else if (d.vmap == 3 && d.op == 0x38) new_op = 0x18; // vinserti128 -> vinsertf128
666 else if (d.vmap == 3 && d.op == 0x46) new_op = 0x06; // vperm2i128 -> vperm2f128
667 else if (d.vmap == 3 && d.op == 0x02) new_op = 0x0C; // vpblendd -> vblendps
668 else if (d.vmap == 2 && d.op == 0x5A && d.mem) new_op = 0x1A; // vbroadcasti128 -> vbroadcastf128
669 else if (d.vmap == 2 && d.op == 0x58 && d.mem) new_op = 0x18; // vpbroadcastd m32 -> vbroadcastss m32
670 else if (d.vmap == 2 && d.op == 0x59 && d.mem && d.vex_l == 1) new_op = 0x19; // vpbroadcastq ymm,m64 -> vbroadcastsd
671 if (new_op != 0) {
672 if (apply_change) site[p + 3] = new_op;
673 return true;
674 }
675 }
676 return false;
677}
678
679// Emits a native AVX1 machine-code body (without trailing jmp) for an AVX2 or FMA3 instruction.
680inline bool emit_avx2_fma_body(std::vector<uint8_t>& o, const avx2_emulation::Decoded& d, uint64_t orig_va,
681 uint64_t stub_base_va, const avx2_emulation::Host& host) {
682 using avx2_emulation::Category;
683 if (d.addr32 || d.seg != 0) return false;
684 if (d.cat == Category::fma3 && host.fma) return false;
685 if (d.cat == Category::avx2 && host.avx2) return false;
686 if (d.cat != Category::avx2 && d.cat != Category::fma3) return false;
687 // Skip native AVX1 memory broadcasts.
688 if (d.cat == Category::avx2 && d.vmap == 2 && (d.op == 0x18 || d.op == 0x19) && d.mem) return false;
689
690 const uint64_t orig_next_va = orig_va + d.length;
691 uint32_t used_ymm = (1u << d.reg) | (1u << d.vvvv);
692 if (!d.mem) used_ymm |= (1u << d.rm);
693 if (d.vmap == 3 && d.op == 0x4C) used_ymm |= (1u << ((d.imm >> 4) & 0xFu));
694
695 // ---- FMA3 ----
696 if (d.cat == Category::fma3) {
697 const uint8_t lo_nib = d.op & 0x0Fu;
698 const uint8_t hi_nib = d.op & 0xF0u;
699 // Support fmadd(8/9), fmsub(A/B), fnmadd(C/D), fnmsub(E/F), fmaddsub(6). Leave rare fmsubadd(7) to #UD.
700 if (lo_nib == 7 || lo_nib < 6) return false;
701
702 const uint8_t t0 = pick_scratch_ymm(used_ymm);
703 const uint8_t t1 = pick_scratch_ymm(used_ymm | (1u << t0));
704 if (t0 == 0xFF || t1 == 0xFF) return false;
705
706 emit_lea_rsp(o, -64);
707 emit_vmovdqu_rsp(o, true, t0, 0);
708 emit_vmovdqu_rsp(o, true, t1, 32);
709
710 uint8_t r3 = d.rm;
711 if (d.mem) {
712 if (!emit_avx1_load_mem(o, d, t1, 64, orig_next_va, stub_base_va)) return false;
713 r3 = t1;
714 }
715
716 const uint8_t a_reg = (hi_nib == 0x90u) ? d.reg : d.vvvv;
717 const uint8_t b_reg = (hi_nib == 0xA0u) ? d.reg : r3;
718 const uint8_t c_reg = (hi_nib == 0x90u) ? d.vvvv : (hi_nib == 0xA0u) ? r3 : d.reg;
719 const bool scalar = (lo_nib >= 8) && ((lo_nib & 1u) != 0);
720 const bool is_f64 = d.vex_w != 0;
721 const uint8_t pp_fp = scalar ? (is_f64 ? 3u : 2u) : (is_f64 ? 1u : 0u); // F2/F3 for sd/ss, 66/none for pd/ps
722 const uint8_t vl = scalar ? 0u : d.vex_l;
723
724 // t0 = A * B
725 emit_vex_rr(o, 1, 0, vl, pp_fp, 0x59, t0, a_reg, b_reg); // vmulps/pd/ss/sd
726
727 const uint8_t comb_dst = scalar ? t0 : d.reg;
728 if (lo_nib == 8 || lo_nib == 9) {
729 emit_vex_rr(o, 1, 0, vl, pp_fp, 0x58, comb_dst, t0, c_reg); // vadd* (A*B + C)
730 } else if (lo_nib == 0x0A || lo_nib == 0x0B) {
731 emit_vex_rr(o, 1, 0, vl, pp_fp, 0x5C, comb_dst, t0, c_reg); // vsub* (A*B - C)
732 } else if (lo_nib == 0x0C || lo_nib == 0x0D) {
733 emit_vex_rr(o, 1, 0, vl, pp_fp, 0x5C, comb_dst, c_reg, t0); // vsub* (C - A*B)
734 } else if (lo_nib == 6) {
735 // vfmaddsub -> vaddsubps (F2 0F D0, pp=3) / vaddsubpd (66 0F D0, pp=1)
736 emit_vex_rr(o, 1, 0, vl, is_f64 ? 1u : 3u, 0xD0, d.reg, t0, c_reg);
737 } else {
738 // fnmsub (0x0E / 0x0F): negate t0 via sign-bit mask in a third scratch register before subtracting c_reg.
739 const uint8_t sm = pick_scratch_ymm(used_ymm | (1u << t0) | (1u << t1));
740 if (sm == 0xFF) return false;
741 emit_lea_rsp(o, -32);
742 emit_vmovdqu_rsp(o, true, sm, 0);
743 emit_vex_rr(o, 1, 0, 0, 1, 0x76, sm, sm, sm); // vpcmpeqd xmm_sm, xmm_sm, xmm_sm
744 if (!is_f64) {
745 emit_vex_rri(o, 1, 0, 0, 1, 0x72, 6, sm, sm, 31); // vpslld xmm_sm, xmm_sm, 31
746 } else {
747 emit_vex_rri(o, 1, 0, 0, 1, 0x73, 6, sm, sm, 63); // vpsllq xmm_sm, xmm_sm, 63
748 }
749 if (vl == 1) emit_vinsertf128_hi(o, sm, sm, sm);
750 emit_vex_rr(o, 1, 0, vl, is_f64 ? 1u : 0u, 0x57, t0, t0, sm); // vxorps/pd t0, t0, sm
751 emit_vmovdqu_rsp(o, false, sm, 0);
752 emit_lea_rsp(o, 32);
753 emit_vex_rr(o, 1, 0, vl, pp_fp, 0x5C, comb_dst, t0, c_reg); // (-A*B) - C
754 }
755
756 if (scalar) {
757 // Merge scalar lane t0[0] into d.reg[0], keeping d.reg[127:32/64] and zeroing d.reg[255:128].
758 emit_vex_rr(o, 1, 0, 0, is_f64 ? 3u : 2u, 0x10, d.reg, d.reg, t0); // vmovsd / vmovss d.reg, d.reg, t0
759 }
760
761 emit_vmovdqu_rsp(o, false, t1, 32);
762 emit_vmovdqu_rsp(o, false, t0, 0);
763 emit_lea_rsp(o, 64);
764 return true;
765 }
766
767 // ---- AVX2 ----
768 // 1. Register-source 32-bit/64-bit broadcasts (zero scratch registers, zero stack adjustment):
769 if (d.vmap == 2 && !d.mem && (d.op == 0x18 || d.op == 0x58)) {
770 emit_vex_rri(o, 1, 0, 0, 1, 0x70, d.reg, 0, d.rm, 0x00); // vpshufd xmm(d.reg), xmm(d.rm), 0x00
771 if (d.vex_l == 1) emit_vinsertf128_hi(o, d.reg, d.reg, d.reg);
772 return true;
773 }
774 if (d.vmap == 2 && !d.mem && (d.op == 0x19 || d.op == 0x59)) {
775 emit_vex_rr(o, 1, 0, 0, 3, 0x12, d.reg, 0, d.rm); // vmovddup xmm(d.reg), xmm(d.rm)
776 if (d.vex_l == 1) emit_vinsertf128_hi(o, d.reg, d.reg, d.reg);
777 return true;
778 }
779 if (d.vmap == 2 && d.mem && d.op == 0x59 && d.vex_l == 0) {
780 // vpbroadcastq xmm, m64 -> vmovddup xmm, m64
781 const uint8_t idx_r = d.index >= 0 ? uint8_t(d.index) : 0u;
782 const uint8_t base_r = d.base >= 0 ? uint8_t(d.base) : 0u;
783 emit_vex3(o, 1, d.reg, idx_r, base_r, 0, 0, 0, 3, 0x12);
784 return emit_mem_modrm(o, d.reg & 7, d.base, d.index, d.scale, d.disp, 0, orig_next_va, stub_base_va);
785 }
786 if (d.vmap == 2 && !d.mem && d.op == 0x79) {
787 // vpbroadcastw reg-source: vpshuflw xmm, xmm_rm, 0 (pp=3); vpshufd xmm, xmm, 0 (pp=1); [vinsertf128]
788 emit_vex_rri(o, 1, 0, 0, 3, 0x70, d.reg, 0, d.rm, 0x00);
789 emit_vex_rri(o, 1, 0, 0, 1, 0x70, d.reg, 0, d.reg, 0x00);
790 if (d.vex_l == 1) emit_vinsertf128_hi(o, d.reg, d.reg, d.reg);
791 return true;
792 }
793
794 // Remaining AVX2 stubs allocate stack scratch for t0, t1 (flag-preserving via lea rsp).
795 const uint8_t t0 = pick_scratch_ymm(used_ymm);
796 const uint8_t t1 = pick_scratch_ymm(used_ymm | (1u << t0));
797 if (t0 == 0xFF || t1 == 0xFF) return false;
798
799 // 2. vpmovmskb r32/64, ymm (vmap=1, op=0xD7, !d.mem)
800 if (d.vmap == 1 && d.op == 0xD7) {
801 if (d.reg == 4) return false;
802 const uint8_t tgpr = pick_scratch_gpr((1u << 4) | (1u << d.reg));
803 if (tgpr == 0xFF) return false;
804 emit_lea_rsp(o, -32);
805 emit_vmovdqu_rsp(o, true, t0, 0);
806 emit_push_gpr(o, tgpr);
807 emit_u8(o, 0x9C); // pushfq
808 emit_vextractf128_hi(o, t0, d.rm);
809 emit_vex_rr(o, 1, 0, 0, 1, 0xD7, tgpr, 0, t0); // vpmovmskb tgpr32, xmm_t0
810 emit_vex_rr(o, 1, 0, 0, 1, 0xD7, d.reg, 0, d.rm); // vpmovmskb reg32, xmm(d.rm) (zero-extends reg64)
811 emit_rex(o, false, 0, 0, tgpr);
812 emit_u8(o, 0xC1); emit_u8(o, uint8_t(0xE0 | (tgpr & 7))); emit_u8(o, 16); // shl tgpr32, 16
813 emit_rex(o, false, tgpr, 0, d.reg);
814 emit_u8(o, 0x09); emit_u8(o, uint8_t(0xC0 | ((tgpr & 7) << 3) | (d.reg & 7))); // or reg32, tgpr32
815 emit_u8(o, 0x9D); // popfq
816 emit_pop_gpr(o, tgpr);
817 emit_vmovdqu_rsp(o, false, t0, 0);
818 emit_lea_rsp(o, 32);
819 return true;
820 }
821
822 // Leave rare variable shifts (0x45..0x47), vpermps/vpermd (0x16/0x36), vpmaskmov (0x8C/0x8E), vpblendvb (0x4C)
823 // to #UD emulation.
824 if (d.vmap == 2 && (d.op == 0x16 || d.op == 0x36 || d.op == 0x45 || d.op == 0x46 || d.op == 0x47 ||
825 d.op == 0x8C || d.op == 0x8E))
826 return false;
827 if (d.vmap == 3 && d.op == 0x4C) return false;
828
829 emit_lea_rsp(o, -64);
830 emit_vmovdqu_rsp(o, true, t0, 0);
831 emit_vmovdqu_rsp(o, true, t1, 32);
832
833 uint8_t s2 = d.rm;
834 if (d.mem) {
835 if (!emit_avx1_load_mem(o, d, t1, 64, orig_next_va, stub_base_va)) return false;
836 s2 = t1;
837 }
838
839 // 3. vpbroadcastb (0x78) & mem vpbroadcastw (0x79):
840 if (d.vmap == 2 && d.op == 0x78) {
841 emit_vex_rr(o, 1, 0, 0, 1, 0xEF, t0, t0, t0); // vpxor xmm_t0, xmm_t0, xmm_t0
842 emit_vex_rr(o, 2, 0, 0, 1, 0x00, d.reg, s2, t0); // vpshufb xmm(d.reg), xmm(s2), xmm_t0
843 if (d.vex_l == 1) emit_vinsertf128_hi(o, d.reg, d.reg, d.reg);
844 } else if (d.vmap == 2 && d.op == 0x79) {
845 emit_vex_rri(o, 1, 0, 0, 3, 0x70, d.reg, 0, s2, 0x00);
846 emit_vex_rri(o, 1, 0, 0, 1, 0x70, d.reg, 0, d.reg, 0x00);
847 if (d.vex_l == 1) emit_vinsertf128_hi(o, d.reg, d.reg, d.reg);
848 }
849 // 4. vpermq / vpermpd (vmap=3, op=0x00/0x01, vex_w=1, vex_l=1):
850 else if (d.vmap == 3 && (d.op == 0x00 || d.op == 0x01)) {
851 emit_vex_rr(o, 1, 0, 0, 0, 0x28, t0, 0, s2); // vmovaps xmm_t0, xmm(s2) [low 128b]
852 emit_vextractf128_hi(o, t1, s2); // xmm_t1 = high 128b
853 const uint8_t q0 = d.imm & 3u, q1 = (d.imm >> 2) & 3u, q2 = (d.imm >> 4) & 3u, q3 = (d.imm >> 6) & 3u;
854 // vshufpd xmm(d.reg), srcA, srcB, imm2 (VEX.128.66.0F C6 /r ib)
855 emit_vex_rri(o, 1, 0, 0, 1, 0xC6, d.reg, (q0 & 2u) ? t1 : t0, (q1 & 2u) ? t1 : t0,
856 uint8_t((q0 & 1u) | ((q1 & 1u) << 1)));
857 emit_vex_rri(o, 1, 0, 0, 1, 0xC6, t0, (q2 & 2u) ? t1 : t0, (q3 & 2u) ? t1 : t0,
858 uint8_t((q2 & 1u) | ((q3 & 1u) << 1)));
859 emit_vinsertf128_hi(o, d.reg, d.reg, t0);
860 }
861 // 5. vpmovsx* (0x20..0x25) & vpmovzx* (0x30..0x35), vex_l == 1:
862 else if (d.vmap == 2 && ((d.op >= 0x20 && d.op <= 0x25) || (d.op >= 0x30 && d.op <= 0x35))) {
863 const uint8_t k = d.op & 0x0Fu;
864 const uint8_t half_bytes = (k == 0 || k == 3 || k == 5) ? 8u : (k == 1 || k == 4) ? 4u : 2u;
865 emit_vex_rri(o, 1, 0, 0, 1, 0x73, 3, t0, s2, half_bytes); // vpsrldq xmm_t0, xmm(s2), half_bytes
866 emit_vex_rr(o, 2, 0, 0, 1, d.op, t0, 0, t0); // high 128b
867 emit_vex_rr(o, 2, 0, 0, 1, d.op, d.reg, 0, s2); // low 128b
868 emit_vinsertf128_hi(o, d.reg, d.reg, t0);
869 }
870 // 6. Map-1 immediate shifts (0x71, 0x72, 0x73: sub=d.reg, dst=d.vvvv, src=s2, imm=d.imm):
871 else if (d.vmap == 1 && (d.op == 0x71 || d.op == 0x72 || d.op == 0x73)) {
872 emit_vextractf128_hi(o, t0, s2);
873 emit_vex_rri(o, 1, 0, 0, 1, d.op, d.reg, t0, t0, d.imm);
874 emit_vex_rri(o, 1, 0, 0, 1, d.op, d.reg, d.vvvv, s2, d.imm);
875 emit_vinsertf128_hi(o, d.vvvv, d.vvvv, t0);
876 }
877 // 7. Map-1 XMM-count shifts (0xD1..0xD3, 0xE1..0xE2, 0xF1..0xF3: count is low 64b of xmm(s2) for both lanes):
878 else if (d.vmap == 1 && (d.op == 0xD1 || d.op == 0xD2 || d.op == 0xD3 || d.op == 0xE1 || d.op == 0xE2 ||
879 d.op == 0xF1 || d.op == 0xF2 || d.op == 0xF3)) {
880 emit_vextractf128_hi(o, t0, d.vvvv);
881 emit_vex_rr(o, 1, 0, 0, 1, d.op, t0, t0, s2);
882 emit_vex_rr(o, 1, 0, 0, 1, d.op, d.reg, d.vvvv, s2);
883 emit_vinsertf128_hi(o, d.reg, d.reg, t0);
884 }
885 // 8. Unary 256-bit lane-wise ops: vpshufd/hw/lw (vmap=1, op=0x70, imm8) & vpabsb/w/d (vmap=2, op=0x1C..0x1E):
886 else if ((d.vmap == 1 && d.op == 0x70) || (d.vmap == 2 && (d.op == 0x1C || d.op == 0x1D || d.op == 0x1E))) {
887 emit_vextractf128_hi(o, t0, s2);
888 if (d.vmap == 1) {
889 emit_vex_rri(o, 1, 0, 0, d.pp, 0x70, t0, 0, t0, d.imm);
890 emit_vex_rri(o, 1, 0, 0, d.pp, 0x70, d.reg, 0, s2, d.imm);
891 } else {
892 emit_vex_rr(o, 2, 0, 0, 1, d.op, t0, 0, t0);
893 emit_vex_rr(o, 2, 0, 0, 1, d.op, d.reg, 0, s2);
894 }
895 emit_vinsertf128_hi(o, d.reg, d.reg, t0);
896 }
897 // 9. All remaining binary 256-bit lane-wise ops (map 1, map 2, and map 3 vpblendw 0x0E / vpalignr 0x0F):
898 else if (d.vex_l == 1 && (d.vmap == 1 || d.vmap == 2 || (d.vmap == 3 && (d.op == 0x0E || d.op == 0x0F)))) {
899 emit_vextractf128_hi(o, t0, d.vvvv); // save vvvv_hi before touching d.reg (in case d.reg == d.vvvv)
900 if (d.mem) {
901 // s2 == t1 holds [mem_lo, mem_hi] and d.reg != t1: compute low 128b into d.reg first while xmm_t1 == mem_lo.
902 if (d.vmap == 3) {
903 emit_vex_rri(o, 3, 0, 0, 1, d.op, d.reg, d.vvvv, t1, d.imm);
904 emit_vextractf128_hi(o, t1, t1);
905 emit_vex_rri(o, 3, 0, 0, 1, d.op, t0, t0, t1, d.imm);
906 } else {
907 emit_vex_rr(o, d.vmap, 0, 0, d.pp, d.op, d.reg, d.vvvv, t1);
908 emit_vextractf128_hi(o, t1, t1);
909 emit_vex_rr(o, d.vmap, 0, 0, d.pp, d.op, t0, t0, t1);
910 }
911 } else {
912 emit_vextractf128_hi(o, t1, s2);
913 if (d.vmap == 3) {
914 emit_vex_rri(o, 3, 0, 0, 1, d.op, t0, t0, t1, d.imm);
915 emit_vex_rri(o, 3, 0, 0, 1, d.op, d.reg, d.vvvv, s2, d.imm);
916 } else {
917 emit_vex_rr(o, d.vmap, 0, 0, d.pp, d.op, t0, t0, t1);
918 emit_vex_rr(o, d.vmap, 0, 0, d.pp, d.op, d.reg, d.vvvv, s2);
919 }
920 }
921 emit_vinsertf128_hi(o, d.reg, d.reg, t0);
922 } else {
923 return false;
924 }
925
926 emit_vmovdqu_rsp(o, false, t1, 32);
927 emit_vmovdqu_rsp(o, false, t0, 0);
928 emit_lea_rsp(o, 64);
929 return true;
930}
931
932inline bool is_control_flow(const uint8_t* ins, std::size_t len, int64_t* rel_out = nullptr) {
933 if (rel_out) *rel_out = 0;
934 std::size_t p = 0;
935 while (p + 1 < len) {
936 const uint8_t b = ins[p];
937 if ((b & 0xF0) == 0x40 || b == 0x66 || b == 0x67 || b == 0xF2 || b == 0xF3 ||
938 b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E || b == 0x64 || b == 0x65)
939 ++p;
940 else
941 break;
942 }
943 const uint8_t op = ins[p];
944 if (((op >= 0x70 && op <= 0x7F) || (op >= 0xE0 && op <= 0xE3) || op == 0xEB) && p + 2 == len) {
945 if (rel_out) *rel_out = int8_t(ins[p + 1]);
946 return true;
947 }
948 if ((op == 0xE8 || op == 0xE9) && p + 5 == len) {
949 int32_t d = 0;
950 std::memcpy(&d, ins + p + 1, 4);
951 if (rel_out) *rel_out = d;
952 return true;
953 }
954 if (op == 0x0F && p + 1 < len) {
955 const uint8_t op2 = ins[p + 1];
956 if (op2 >= 0x80 && op2 <= 0x8F && p + 6 == len) {
957 int32_t d = 0;
958 std::memcpy(&d, ins + p + 2, 4);
959 if (rel_out) *rel_out = d;
960 return true;
961 }
962 if (op2 == 0x05 || op2 == 0x0B || op2 == 0x34) return true;
963 }
964 if (op == 0xC3 || op == 0xC2 || op == 0xCB || op == 0xCA || op == 0xCC || op == 0xCD || op == 0xCF || op == 0xF4)
965 return true;
966 if (op == 0xFF && p + 1 < len) {
967 const uint8_t sub = (ins[p + 1] >> 3) & 7u;
968 if (sub >= 2 && sub <= 5) return true;
969 }
970 return false;
971}
972
973// Finds the byte offset of the 4-byte RIP-relative displacement inside a non-control-flow instruction `ins[0..len)`,
974// or returns 0 if `ins` is not RIP-relative. Returns SIZE_MAX if `ins` is ambiguous.
975inline std::size_t find_rip_disp32_offset(const uint8_t* ins, std::size_t len) {
976 std::size_t i = 0;
977 bool p66 = false, pf2 = false, pf3 = false, any_rex = false;
978 for (; i < len && i < 14; ++i) {
979 const uint8_t b = ins[i];
980 if ((b & 0xF0) == 0x40) { any_rex = true; continue; }
981 if (b == 0x66) p66 = true;
982 else if (b == 0xF2) pf2 = true;
983 else if (b == 0xF3) pf3 = true;
984 else if (b == 0x67) return SIZE_MAX;
985 else if (b == 0x26 || b == 0x2E || b == 0x36 || b == 0x3E || b == 0x64 || b == 0x65) {}
986 else break;
987 }
988 if (i >= len) return SIZE_MAX;
989 const uint8_t op = ins[i++];
990 if (op == 0xC4 || op == 0xC5) {
991 if (p66 || pf2 || pf3 || any_rex) return SIZE_MAX;
992 uint8_t vmap = 1, vop = 0;
993 if (op == 0xC5) {
994 if (i + 2 > len) return SIZE_MAX;
995 vop = ins[i + 1];
996 i += 2;
997 } else {
998 if (i + 3 > len) return SIZE_MAX;
999 vmap = ins[i] & 0x1F;
1000 vop = ins[i + 2];
1001 i += 3;
1002 }
1003 if (vmap == 1 && vop == 0x77) return 0;
1004 if (i >= len) return SIZE_MAX;
1005 const uint8_t m = ins[i++];
1006 if ((m >> 6) == 0 && (m & 7) == 5) return (i + 4 <= len) ? i : SIZE_MAX;
1007 return 0;
1008 }
1009 if (op == 0x0F) {
1010 if (i >= len) return SIZE_MAX;
1011 const uint8_t op2 = ins[i++];
1012 if (op2 == 0x38 || op2 == 0x3A) {
1013 if (i >= len) return SIZE_MAX;
1014 ++i;
1015 } else {
1016 switch (op2) {
1017 case 0x05: case 0x06: case 0x07: case 0x08: case 0x09: case 0x0B: case 0x0E:
1018 case 0x30: case 0x31: case 0x32: case 0x33: case 0x34: case 0x35: case 0x37: case 0x77:
1019 case 0xA0: case 0xA1: case 0xA2: case 0xA8: case 0xA9: case 0xAA:
1020 case 0xC8: case 0xC9: case 0xCA: case 0xCB: case 0xCC: case 0xCD: case 0xCE: case 0xCF:
1021 return 0;
1022 default: break;
1023 }
1024 if (op2 >= 0x80 && op2 <= 0x8F) return 0;
1025 }
1026 if (i >= len) return SIZE_MAX;
1027 const uint8_t m = ins[i++];
1028 if ((m >> 6) == 0 && (m & 7) == 5) return (i + 4 <= len) ? i : SIZE_MAX;
1029 return 0;
1030 }
1031 // Single-byte non-ModRM opcodes:
1032 if ((op >= 0x50 && op <= 0x5F) || (op >= 0x90 && op <= 0x9F) || (op >= 0xA0 && op <= 0xAF) ||
1033 (op >= 0xB0 && op <= 0xBF) || (op & 0xC7) == 0x04 || (op & 0xC7) == 0x05 || op == 0x68 || op == 0x6A ||
1034 op == 0xC8 || op == 0xC9 || op == 0xD7 || (op >= 0xEC && op <= 0xEF) || (op >= 0xF8 && op <= 0xFD))
1035 return 0;
1036 if (i >= len) return SIZE_MAX;
1037 const uint8_t m = ins[i++];
1038 if ((m >> 6) == 0 && (m & 7) == 5) return (i + 4 <= len) ? i : SIZE_MAX;
1039 return 0;
1040}
1041
1042// Emits `ins2` (the second instruction of a fused 4B+len2 pair) into `o`, either as a native stub body (if `ins2` is
1043// itself an emulated BMI/AVX2/FMA3/in-place op) or by relocating `ins2` verbatim.
1044inline bool emit_second_insn(std::vector<uint8_t>& o, const uint8_t* ins2, std::size_t len2, uint64_t orig_va2,
1045 uint64_t stub_base_va, const bmi_emulation::Host& bmi_host,
1046 const avx2_emulation::Host& avx_host) {
1047 // Check if ins2 is an AVX2/FMA3/F16C instruction:
1048 const auto ad2 = avx2_emulation::decode(ins2, len2);
1049 if (ad2.cat != avx2_emulation::Category::none &&
1050 !(ad2.vmap == 2 && (ad2.op == 0x18 || ad2.op == 0x19) && ad2.mem)) {
1051 uint8_t copy[15]{};
1052 std::memcpy(copy, ins2, len2);
1053 if (try_avx2_inplace(copy, ad2, avx_host, true)) {
1054 const std::size_t rip_off = find_rip_disp32_offset(copy, len2);
1055 if (rip_off == SIZE_MAX) return false;
1056 if (rip_off != 0) {
1057 int32_t old_d = 0;
1058 std::memcpy(&old_d, copy + rip_off, 4);
1059 const uint64_t target_va = orig_va2 + len2 + uint64_t(int64_t(old_d));
1060 const uint64_t stub_next_va = stub_base_va + o.size() + len2;
1061 const int64_t new_d = int64_t(target_va) - int64_t(stub_next_va);
1062 if (new_d < INT32_MIN || new_d > INT32_MAX) return false;
1063 const int32_t d32 = int32_t(new_d);
1064 std::memcpy(copy + rip_off, &d32, 4);
1065 }
1066 o.insert(o.end(), copy, copy + len2);
1067 return true;
1068 }
1069 return emit_avx2_fma_body(o, ad2, orig_va2, stub_base_va, avx_host);
1070 }
1071
1072 // Check if ins2 is a BMI/MOVBE instruction:
1073 const auto bd2 = bmi_emulation::decode(ins2, len2);
1074 if (bd2.op != bmi_emulation::Op::none) {
1075 if (bd2.op == bmi_emulation::Op::tzcnt || bd2.op == bmi_emulation::Op::lzcnt) return false;
1076 return emit_bmi_body(o, bd2, orig_va2, stub_base_va, bmi_host);
1077 }
1078
1079 // Skip rare 0F 01 / 0F 78 / 0F 79 / 0F AE encodings that may trap on non-Zen hosts.
1080 if (ins2[0] == 0x0F || ins2[0] == 0x66 || ins2[0] == 0xF2 || ins2[0] == 0xF3) {
1081 for (std::size_t k = 0; k + 1 < len2; ++k) {
1082 if (ins2[k] == 0x0F &&
1083 (ins2[k + 1] == 0x01 || ins2[k + 1] == 0x78 || ins2[k + 1] == 0x79 || ins2[k + 1] == 0xAE))
1084 return false;
1085 }
1086 }
1087
1088 // Native x86-64 / AVX1 instruction: copy and relocate RIP-relative disp32 if present.
1089 const std::size_t rip_off = find_rip_disp32_offset(ins2, len2);
1090 if (rip_off == SIZE_MAX) return false;
1091 uint8_t copy[15]{};
1092 std::memcpy(copy, ins2, len2);
1093 if (rip_off != 0) {
1094 int32_t old_d = 0;
1095 std::memcpy(&old_d, copy + rip_off, 4);
1096 const uint64_t target_va = orig_va2 + len2 + uint64_t(int64_t(old_d));
1097 const uint64_t stub_next_va = stub_base_va + o.size() + len2;
1098 const int64_t new_d = int64_t(target_va) - int64_t(stub_next_va);
1099 if (new_d < INT32_MIN || new_d > INT32_MAX) return false;
1100 const int32_t d32 = int32_t(new_d);
1101 std::memcpy(copy + rip_off, &d32, 4);
1102 }
1103 o.insert(o.end(), copy, copy + len2);
1104 return true;
1105}
1106
1107inline uint8_t* reserve_stub_region(uint64_t lo, uint64_t hi, std::size_t size) {
1108 SYSTEM_INFO si;
1109 GetSystemInfo(&si);
1110 const uint64_t gran = si.dwAllocationGranularity;
1111 const uint64_t limit = uint64_t(1) << 31;
1112 for (uint64_t at = (hi + gran - 1) & ~(gran - 1); at + size < lo + limit - 0x10000; at += gran) {
1113 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE, PAGE_NOACCESS))
1114 return static_cast<uint8_t*>(p);
1115 }
1116 for (uint64_t at = (lo > size ? (lo - size) & ~(gran - 1) : 0); at > gran && hi - at < limit - 0x10000; at -= gran) {
1117 if (void* p = VirtualAlloc(reinterpret_cast<void*>(at), size, MEM_RESERVE, PAGE_NOACCESS))
1118 return static_cast<uint8_t*>(p);
1119 }
1120 return nullptr;
1121}
1122
1123} // namespace detail
1124
1125inline Stats patch_image(uint8_t* base, uint32_t image_size,
1126 bmi_emulation::Host bmi_host = bmi_emulation::detect_host(),
1127 avx2_emulation::Host avx_host = avx2_emulation::detect_host()) {
1128 Stats st{};
1129 if (!base || image_size < 0x200 || !enabled()) return st;
1130
1131 if (bmi_host.bmi1 && bmi_host.bmi2 && bmi_host.movbe && avx_host.avx2 && avx_host.fma)
1132 return st;
1133
1134 const auto* dos = reinterpret_cast<const IMAGE_DOS_HEADER*>(base);
1135 if (dos->e_magic != IMAGE_DOS_SIGNATURE || dos->e_lfanew <= 0 ||
1136 uint64_t(dos->e_lfanew) + sizeof(IMAGE_NT_HEADERS64) > image_size)
1137 return st;
1138 const auto* nt = reinterpret_cast<const IMAGE_NT_HEADERS64*>(base + dos->e_lfanew);
1139 if (nt->Signature != IMAGE_NT_SIGNATURE || nt->OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR64_MAGIC) return st;
1140
1141 const uint64_t img_base = reinterpret_cast<uint64_t>(base);
1142
1143 // Collect executable and non-executable section ranges.
1144 std::vector<std::pair<uint32_t, uint32_t>> exec_secs, data_secs;
1145 const IMAGE_SECTION_HEADER* sec = IMAGE_FIRST_SECTION(nt);
1146 for (unsigned i = 0; i < nt->FileHeader.NumberOfSections; ++i, ++sec) {
1147 if (sec->VirtualAddress >= image_size) continue;
1148 const uint32_t sz = uint32_t(std::min<uint64_t>(
1149 sec->Misc.VirtualSize ? sec->Misc.VirtualSize : sec->SizeOfRawData, image_size - sec->VirtualAddress));
1150 if (!sz) continue;
1151 if (sec->Characteristics & IMAGE_SCN_MEM_EXECUTE) exec_secs.push_back({sec->VirtualAddress, sz});
1152 else data_secs.push_back({sec->VirtualAddress, sz});
1153 }
1154 if (exec_secs.empty()) return st;
1155
1156 // Build bitset of every RVA targeted by exports, relocations, .pdata unwind scopes, 32-bit RVA tables in data/gaps,
1157 // Clang table-relative switch tables, and direct intra-function branches (used when LEONIDA_ISA_FUSE_4B=1 to
1158 // guarantee 4-byte instruction fusion never crosses a jump target).
1159 const bool fuse_4b = fuse_4b_enabled();
1160 std::vector<uint8_t> target_bits(fuse_4b ? ((std::size_t(image_size) + 7u) >> 3) : 0u, 0);
1161 const auto mark_rva = [&](uint64_t rva) {
1162 if (fuse_4b && rva < image_size) target_bits[std::size_t(rva) >> 3] |= uint8_t(1u << (rva & 7u));
1163 };
1164 const auto is_marked_rva = [&](uint32_t rva) -> bool {
1165 return !fuse_4b || rva >= image_size || ((target_bits[rva >> 3] >> (rva & 7u)) & 1u) != 0;
1166 };
1167
1168 if (fuse_4b && nt->OptionalHeader.AddressOfEntryPoint) mark_rva(nt->OptionalHeader.AddressOfEntryPoint);
1169
1170 const auto get_dir = [&](unsigned idx) -> IMAGE_DATA_DIRECTORY {
1171 return idx < nt->OptionalHeader.NumberOfRvaAndSizes ? nt->OptionalHeader.DataDirectory[idx]
1172 : IMAGE_DATA_DIRECTORY{};
1173 };
1174
1175 if (fuse_4b) {
1176 // 1. Exports
1177 const auto exp_dir = get_dir(IMAGE_DIRECTORY_ENTRY_EXPORT);
1178 if (exp_dir.VirtualAddress && exp_dir.Size >= sizeof(IMAGE_EXPORT_DIRECTORY) &&
1179 uint64_t(exp_dir.VirtualAddress) + sizeof(IMAGE_EXPORT_DIRECTORY) <= image_size) {
1180 const auto* ed = reinterpret_cast<const IMAGE_EXPORT_DIRECTORY*>(base + exp_dir.VirtualAddress);
1181 if (uint64_t(ed->AddressOfFunctions) + uint64_t(ed->NumberOfFunctions) * 4u <= image_size) {
1182 const auto* fns = reinterpret_cast<const uint32_t*>(base + ed->AddressOfFunctions);
1183 for (uint32_t i = 0; i < ed->NumberOfFunctions; ++i) mark_rva(fns[i]);
1184 }
1185 }
1186
1187 // 2. Relocations (any absolute 64-bit pointer inside the image)
1188 const auto rel_dir = get_dir(IMAGE_DIRECTORY_ENTRY_BASERELOC);
1189 if (rel_dir.VirtualAddress && rel_dir.Size &&
1190 uint64_t(rel_dir.VirtualAddress) + rel_dir.Size <= image_size) {
1191 const uint8_t* p = base + rel_dir.VirtualAddress;
1192 const uint8_t* end = p + rel_dir.Size;
1193 while (p + sizeof(IMAGE_BASE_RELOCATION) <= end) {
1194 const auto* blk = reinterpret_cast<const IMAGE_BASE_RELOCATION*>(p);
1195 if (blk->SizeOfBlock < sizeof(IMAGE_BASE_RELOCATION) || p + blk->SizeOfBlock > end) break;
1196 const auto* ents = reinterpret_cast<const uint16_t*>(blk + 1);
1197 const std::size_t cnt = (blk->SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) / 2;
1198 for (std::size_t i = 0; i < cnt; ++i) {
1199 if ((ents[i] >> 12) == IMAGE_REL_BASED_DIR64) {
1200 const uint64_t rva = uint64_t(blk->VirtualAddress) + (ents[i] & 0xFFFu);
1201 if (rva + 8 <= image_size) {
1202 uint64_t va = 0;
1203 std::memcpy(&va, base + rva, 8);
1204 if (va >= img_base && va - img_base < image_size) mark_rva(va - img_base);
1205 }
1206 }
1207 }
1208 p += blk->SizeOfBlock;
1209 }
1210 }
1211
1212 // 3. Non-executable sections: mark every 4-byte uint32_t RVA candidate (1-byte stride) in [0, image_size) and 8-byte aligned VAs
1213 for (const auto& [drva, dsz] : data_secs) {
1214 const uint8_t* dp = base + drva;
1215 for (uint32_t off = 0; off + 4 <= dsz; ++off) {
1216 uint32_t w = 0;
1217 std::memcpy(&w, dp + off, 4);
1218 if (w < image_size) mark_rva(w);
1219 if ((off & 7u) == 0 && off + 8 <= dsz) {
1220 uint64_t q = 0;
1221 std::memcpy(&q, dp + off, 8);
1222 if (q >= img_base && q - img_base < image_size) mark_rva(q - img_base);
1223 }
1224 }
1225 }
1226 }
1227
1228 // 4. .pdata table
1229 const auto exc_dir = get_dir(IMAGE_DIRECTORY_ENTRY_EXCEPTION);
1230 const RUNTIME_FUNCTION* pdata = nullptr;
1231 uint32_t pdata_count = 0;
1232 if (exc_dir.VirtualAddress && exc_dir.Size >= sizeof(RUNTIME_FUNCTION) && exc_dir.VirtualAddress < image_size) {
1233 const uint64_t max_b = std::min<uint64_t>(exc_dir.Size, image_size - exc_dir.VirtualAddress);
1234 pdata_count = uint32_t(max_b / sizeof(RUNTIME_FUNCTION));
1235 pdata = reinterpret_cast<const RUNTIME_FUNCTION*>(base + exc_dir.VirtualAddress);
1236 for (uint32_t i = 0; i < pdata_count; ++i) {
1237 mark_rva(pdata[i].BeginAddress);
1238 mark_rva(pdata[i].EndAddress);
1239 const uint32_t uw_rva = pdata[i].UnwindData & ~1u;
1240 if (uw_rva + 4 <= image_size) {
1241 const uint8_t flags = base[uw_rva] >> 3;
1242 const uint8_t codes = base[uw_rva + 2];
1243 const uint32_t after_codes = uw_rva + 4u + uint32_t((codes + 1u) & ~1u) * 2u;
1244 if ((flags & 3u) && after_codes + 8 <= image_size) {
1245 uint32_t handler_rva = 0, scope_cnt = 0;
1246 std::memcpy(&handler_rva, base + after_codes, 4);
1247 std::memcpy(&scope_cnt, base + after_codes + 4, 4);
1248 mark_rva(handler_rva);
1249 if (scope_cnt <= 4096 && after_codes + 8u + scope_cnt * 16u <= image_size) {
1250 for (uint32_t s = 0; s < scope_cnt; ++s) {
1251 uint32_t sb = 0, se = 0, sh = 0, sj = 0;
1252 std::memcpy(&sb, base + after_codes + 8u + s * 16u + 0u, 4);
1253 std::memcpy(&se, base + after_codes + 8u + s * 16u + 4u, 4);
1254 std::memcpy(&sh, base + after_codes + 8u + s * 16u + 8u, 4);
1255 std::memcpy(&sj, base + after_codes + 8u + s * 16u + 12u, 4);
1256 mark_rva(sb); mark_rva(se); mark_rva(sh); mark_rva(sj);
1257 }
1258 }
1259 }
1260 }
1261 }
1262 }
1263
1264 enum class SiteKind : uint8_t { bmi, avx2, fma3, fused_4b };
1265 struct PendingStub {
1266 SiteKind kind;
1267 uint32_t rva;
1268 uint8_t span_len;
1269 uint8_t ins2_len; // non-zero only for fused_4b
1270 bmi_emulation::Decoded bd;
1271 avx2_emulation::Decoded ad;
1272 };
1273 std::vector<PendingStub> pending;
1274
1275 const auto mark_block_targets = [&](uint32_t beg_rva, uint32_t end_rva, bool require_term) -> bool {
1276 const std::size_t len = end_rva - beg_rva;
1277 const uint8_t* block = base + beg_rva;
1278 std::size_t pos = 0, last_pos = 0, last_len = 0;
1279 while (pos < len) {
1280 const std::size_t ilen = bmi_emulation::detail::insn_len64(block + pos, len - pos, nullptr);
1281 if (!ilen) return false;
1282 int64_t rel = 0;
1283 if (detail::is_control_flow(block + pos, ilen, &rel)) {
1284 if (fuse_4b && rel != 0) {
1285 const int64_t tgt = int64_t(beg_rva) + int64_t(pos + ilen) + rel;
1286 if (tgt >= 0 && tgt < int64_t(image_size)) mark_rva(uint64_t(tgt));
1287 }
1288 } else if (fuse_4b) {
1289 const std::size_t rip_off = detail::find_rip_disp32_offset(block + pos, ilen);
1290 if (rip_off != 0 && rip_off != SIZE_MAX) {
1291 int32_t disp = 0;
1292 std::memcpy(&disp, block + pos + rip_off, 4);
1293 const int64_t tgt = int64_t(beg_rva) + int64_t(pos + ilen) + disp;
1294 if (tgt >= 0 && tgt < int64_t(image_size)) {
1295 const uint32_t tbl_rva = uint32_t(tgt);
1296 mark_rva(tbl_rva);
1297 // Clang/LLVM x64 Windows switch lowering (`lea reg, [rip + tbl]; movsxd idx, [reg + 4*idx];
1298 // add idx, reg; jmp idx`) stores signed 32-bit offsets relative to `tbl_rva` in `.rdata`.
1299 for (const auto& [drva, dsz] : data_secs) {
1300 if (tbl_rva >= drva && tbl_rva < drva + dsz) {
1301 const uint32_t max_entries = std::min<uint32_t>((drva + dsz - tbl_rva) / 4u, 4096u);
1302 const uint8_t* tp = base + tbl_rva;
1303 for (uint32_t idx = 0; idx < max_entries; ++idx) {
1304 int32_t rel_entry = 0;
1305 std::memcpy(&rel_entry, tp + idx * 4u, 4);
1306 const int64_t case_rva = int64_t(tbl_rva) + int64_t(rel_entry);
1307 if (case_rva < int64_t(beg_rva) || case_rva >= int64_t(end_rva)) break;
1308 mark_rva(uint64_t(case_rva));
1309 }
1310 break;
1311 }
1312 }
1313 }
1314 }
1315 }
1316 last_pos = pos;
1317 last_len = ilen;
1318 pos += ilen;
1319 }
1320 if (pos != len || !last_len) return false;
1321 if (require_term && !bmi_emulation::detail::is_block_terminator(block + last_pos, last_len)) return false;
1322 return true;
1323 };
1324
1325 const auto emit_block_sites = [&](uint32_t beg_rva, uint32_t end_rva) {
1326 const std::size_t len = end_rva - beg_rva;
1327 uint8_t* block = base + beg_rva;
1328
1329 struct Ins {
1330 uint32_t pos;
1331 uint8_t ilen;
1332 uint8_t tz_lz;
1333 };
1334 std::vector<Ins> insns;
1335 insns.reserve(len / 4 + 1);
1336
1337 std::size_t pos = 0;
1338 while (pos < len) {
1339 int tz_lz = 0;
1340 const std::size_t ilen = bmi_emulation::detail::insn_len64(block + pos, len - pos, &tz_lz);
1341 if (!ilen) return;
1342 insns.push_back({uint32_t(pos), uint8_t(ilen), uint8_t(tz_lz)});
1343 pos += ilen;
1344 }
1345 if (pos != len || insns.empty()) return;
1346
1347 for (std::size_t k = 0; k < insns.size(); ++k) {
1348 const uint32_t rva1 = beg_rva + insns[k].pos;
1349 uint8_t* p1 = base + rva1;
1350 const std::size_t len1 = insns[k].ilen;
1351
1352 // Check AVX2 / FMA3 first:
1353 const auto ad = avx2_emulation::decode(p1, len1);
1354 if (ad.cat == avx2_emulation::Category::avx2 || ad.cat == avx2_emulation::Category::fma3) {
1355 if (ad.vmap == 2 && (ad.op == 0x18 || ad.op == 0x19) && ad.mem) continue;
1356 if (detail::try_avx2_inplace(p1, ad, avx_host, true)) {
1357 ++st.inplace_sites;
1358 continue;
1359 }
1360 if (ad.length >= 5) {
1361 pending.push_back({ad.cat == avx2_emulation::Category::fma3 ? SiteKind::fma3 : SiteKind::avx2,
1362 rva1, ad.length, 0, {}, ad});
1363 continue;
1364 }
1365 // 4-byte 0xC5 AVX2 site: when LEONIDA_ISA_FUSE_4B=1 is set, try forward fusion with insns[k + 1]
1366 // when rva2 is not a branch or jump-table target.
1367 if (fuse_4b && ad.length == 4 && k + 1 < insns.size()) {
1368 const uint32_t rva2 = beg_rva + insns[k + 1].pos;
1369 const uint8_t len2 = insns[k + 1].ilen;
1370 const uint8_t* p2 = base + rva2;
1371 if (insns[k + 1].tz_lz == 0 && !is_marked_rva(rva2) && !detail::is_control_flow(p2, len2)) {
1372 pending.push_back({SiteKind::fused_4b, rva1, uint8_t(4 + len2), len2, {}, ad});
1373 ++k; // consume ins2
1374 }
1375 }
1376 continue;
1377 }
1378
1379 // Check BMI1 / BMI2 / MOVBE:
1380 if (insns[k].tz_lz == 0) {
1381 const auto bd = bmi_emulation::decode(p1, len1);
1382 if (bd.op != bmi_emulation::Op::none && bd.length >= 5) {
1383 pending.push_back({SiteKind::bmi, rva1, bd.length, 0, bd, {}});
1384 }
1385 }
1386 }
1387 };
1388
1389 // First pass over gaps in executable sections to mark any switch RVA tables sitting between .pdata functions.
1390 std::vector<std::pair<uint32_t, uint32_t>> all_funcs, all_gaps, valid_blocks;
1391 for (const auto& [sec_rva, sec_sz] : exec_secs) {
1392 const uint32_t sec_end = sec_rva + sec_sz;
1393 std::vector<std::pair<uint32_t, uint32_t>> funcs;
1394 if (pdata && pdata_count) {
1395 for (uint32_t i = 0; i < pdata_count; ++i) {
1396 const uint32_t b = pdata[i].BeginAddress, e = pdata[i].EndAddress;
1397 if (e > b && b >= sec_rva && e <= sec_end) funcs.push_back({b, e});
1398 }
1399 std::sort(funcs.begin(), funcs.end());
1400 }
1401 uint32_t cur = sec_rva;
1402 for (const auto& [fb, fe] : funcs) {
1403 if (fb > cur) all_gaps.push_back({cur, fb});
1404 if (fe > cur) {
1405 all_funcs.push_back({std::max(fb, cur), fe});
1406 cur = fe;
1407 }
1408 }
1409 if (cur < sec_end) all_gaps.push_back({cur, sec_end});
1410 }
1411
1412 if (fuse_4b) {
1413 for (const auto& [gb, ge] : all_gaps) {
1414 const uint8_t* gp = base + gb;
1415 const uint32_t gsz = ge - gb;
1416 for (uint32_t off = 0; off + 4 <= gsz; ++off) {
1417 uint32_t w = 0;
1418 std::memcpy(&w, gp + off, 4);
1419 if (w < image_size) mark_rva(w);
1420 }
1421 }
1422 }
1423
1424 // Pass 1: validate blocks and mark all direct branch & RIP-relative targets across the entire module.
1425 valid_blocks.reserve(all_funcs.size() + 1024);
1426 for (const auto& [fb, fe] : all_funcs) {
1427 if (mark_block_targets(fb, fe, false)) valid_blocks.push_back({fb, fe});
1428 }
1429 for (const auto& [gb, ge] : all_gaps) {
1430 const uint8_t* g = base + gb;
1431 const std::size_t glen = ge - gb;
1432 std::size_t p = 0;
1433 while (p < glen) {
1434 while (p < glen && g[p] == 0xCC) ++p;
1435 if (p >= glen) break;
1436 std::size_t sub_end = p;
1437 while (sub_end < glen && !(sub_end + 1 < glen && g[sub_end] == 0xCC && g[sub_end + 1] == 0xCC)) ++sub_end;
1438 while (sub_end > p && g[sub_end - 1] == 0xCC) --sub_end;
1439 if (sub_end > p && mark_block_targets(gb + uint32_t(p), gb + uint32_t(sub_end), true))
1440 valid_blocks.push_back({gb + uint32_t(p), gb + uint32_t(sub_end)});
1441 p = sub_end + 1;
1442 }
1443 }
1444
1445 // Pass 2: apply in-place rewrites and collect trampoline sites now that `target_bits` is complete.
1446 for (const auto& [bb, be] : valid_blocks) emit_block_sites(bb, be);
1447
1448 // Free the temporary target bitset immediately before allocating stubs.
1449 {
1450 std::vector<uint8_t>().swap(target_bits);
1451 }
1452
1453 if (pending.empty()) return st;
1454
1455 const std::size_t reserve_bytes = (pending.size() * 96u + 0xFFFFu) & ~std::size_t(0xFFFFu);
1456 uint8_t* stubs = detail::reserve_stub_region(img_base, img_base + image_size, reserve_bytes);
1457 if (!stubs) return st;
1458
1459 std::size_t used = 0;
1460 std::size_t committed = 0;
1461 std::vector<uint8_t> body;
1462 body.reserve(160);
1463
1464 for (const auto& s : pending) {
1465 body.clear();
1466 uint8_t* site_ptr = base + s.rva;
1467 const uint64_t site_va = img_base + s.rva;
1468 const uint64_t stub_va = reinterpret_cast<uint64_t>(stubs + used);
1469 const int64_t jump_to_stub = int64_t(stub_va) - int64_t(site_va + 5);
1470 if (jump_to_stub < INT32_MIN || jump_to_stub > INT32_MAX) continue;
1471
1472 bool ok = false;
1473 if (s.kind == SiteKind::bmi) {
1474 ok = detail::emit_bmi_body(body, s.bd, site_va, stub_va, bmi_host);
1475 } else if (s.kind == SiteKind::avx2 || s.kind == SiteKind::fma3) {
1476 ok = detail::emit_avx2_fma_body(body, s.ad, site_va, stub_va, avx_host);
1477 } else if (s.kind == SiteKind::fused_4b) {
1478 ok = detail::emit_avx2_fma_body(body, s.ad, site_va, stub_va, avx_host) &&
1479 detail::emit_second_insn(body, site_ptr + 4, s.ins2_len, site_va + 4, stub_va, bmi_host, avx_host);
1480 }
1481 if (!ok) continue;
1482
1483 const uint64_t resume_va = site_va + s.span_len;
1484 const int64_t jump_back = int64_t(resume_va) - int64_t(stub_va + body.size() + 5);
1485 if (jump_back < INT32_MIN || jump_back > INT32_MAX) continue;
1486 detail::emit_jmp_rel32(body, stub_va, resume_va);
1487
1488 if (used + body.size() > reserve_bytes) break;
1489 if (used + body.size() > committed) {
1490 const std::size_t want_commit =
1491 std::min(reserve_bytes, (used + body.size() + 0xFFFFu) & ~std::size_t(0xFFFFu));
1492 if (!VirtualAlloc(stubs + committed, want_commit - committed, MEM_COMMIT, PAGE_READWRITE)) break;
1493 committed = want_commit;
1494 }
1495
1496 std::memcpy(stubs + used, body.data(), body.size());
1497 used += (body.size() + 15u) & ~std::size_t(15u);
1498
1499 const int32_t rel32 = int32_t(jump_to_stub);
1500 site_ptr[0] = 0xE9;
1501 std::memcpy(site_ptr + 1, &rel32, 4);
1502 for (uint8_t k = 5; k < s.span_len; ++k) site_ptr[k] = 0x90;
1503
1504 if (s.kind == SiteKind::bmi) ++st.bmi_stubs;
1505 else if (s.kind == SiteKind::fma3) ++st.fma3_stubs;
1506 else if (s.kind == SiteKind::fused_4b) { ++st.avx2_stubs; ++st.avx2_fused_4b; }
1507 else ++st.avx2_stubs;
1508 }
1509
1510 if (used > 0) {
1511 DWORD old = 0;
1512 VirtualProtect(stubs, committed, PAGE_EXECUTE_READ, &old);
1513 FlushInstructionCache(GetCurrentProcess(), stubs, used);
1514 st.stubs = stubs;
1515 st.stub_bytes = used;
1516 st.stub_reserved = reserve_bytes;
1517 } else {
1518 VirtualFree(stubs, 0, MEM_RELEASE);
1519 }
1520 return st;
1521}
1522
1523} // namespace rt::isa_jit_patch
1524#endif
diff --git a/runtime/src/large_module_gate.h b/runtime/src/large_module_gate.h
new file mode 100644
index 000000000..f66420bc2
--- /dev/null
+++ b/runtime/src/large_module_gate.h
@@ -0,0 +1,293 @@
1// How many large SPIR-V modules vk_pipeline_check and the runtime let into the driver at once, by a memory budget.
2//
3// Measured on RADV GFX1201 (Mesa 25.3.6) with the Mesa shader cache off: a 5.7 MB translated ray-tracing compute
4// module peaks at 1.96 GB of process memory compiling alone (~330 bytes per SPIR-V byte), a 0.36 MB one at 94 MB.
5// Compiling the large ones strictly one at a time left the other threads idle: 40 modules (27 over 4 MiB) on 6
6// threads took 308 s exclusively and 75 s in parallel, 7.0 GB and 8.7 GB peak. kBytesPerSpirvByte keeps a margin
7// over the measurement. The NVIDIA 621.24 driver (RTX 3080) took 85 to 131 bytes per SPIR-V byte for synthetic compute
8// modules of 128 KiB to 4 MiB (docs/d3d12_vulkan.md, "Large pipelines").
9//
10// The process grew past one module's peak even one at a time because glibc keeps freed memory in per-thread arenas
11// (6 threads: 6.2 GB; MALLOC_ARENA_MAX=1: 2.1 GB, same modules). release_free_memory() hands it back after each
12// large module.
13#pragma once
14
15#include <algorithm>
16#include <condition_variable>
17#include <cstddef>
18#include <cstdint>
19#include <cstdio>
20#include <functional>
21#include <list>
22#include <mutex>
23#include <optional>
24#include <string>
25#include <utility>
26
27#ifdef _WIN32
28#ifndef NOMINMAX
29#define NOMINMAX
30#endif
31#include <windows.h>
32#endif
33#if defined(__GLIBC__)
34#include <malloc.h>
35#endif
36
37namespace leonida {
38
39inline constexpr uint64_t kBytesPerSpirvByte = 512;
40
41inline uint64_t large_module_estimate(uint64_t spirv_bytes) { return spirv_bytes * kBytesPerSpirvByte; }
42
43#if defined(__linux__)
44// The first unsigned number in a file ("max" and unreadable files give no value).
45inline bool read_u64_file(const std::string& path, uint64_t& value) {
46 std::FILE* f = std::fopen(path.c_str(), "r");
47 if (!f) return false;
48 unsigned long long v = 0;
49 const bool ok = std::fscanf(f, "%llu", &v) == 1;
50 std::fclose(f);
51 value = v;
52 return ok;
53}
54
55// The room left under the cgroup v2 memory.max of this process and of every cgroup above it (a container or
56// systemd-run -p MemoryMax=...), or UINT64_MAX when none sets a limit. cgroup_root is a parameter for the tests.
57inline uint64_t cgroup_memory_room(const std::string& self_cgroup_file = "/proc/self/cgroup",
58 const std::string& cgroup_root = "/sys/fs/cgroup") {
59 std::FILE* f = std::fopen(self_cgroup_file.c_str(), "r");
60 if (!f) return UINT64_MAX;
61 char line[4096];
62 std::string rel;
63 while (std::fgets(line, sizeof(line), f)) {
64 std::string l(line);
65 if (l.rfind("0::", 0) == 0) { // the cgroup v2 line
66 rel = l.substr(3);
67 while (!rel.empty() && (rel.back() == '\n' || rel.back() == '\r')) rel.pop_back();
68 break;
69 }
70 }
71 std::fclose(f);
72 uint64_t room = UINT64_MAX;
73 for (std::string dir = rel; !dir.empty();) {
74 // In a cgroup namespace, "/" can be a constrained cgroup mounted as the visible root.
75 const std::string base = dir == "/" ? cgroup_root : cgroup_root + dir;
76 uint64_t max = 0, current = 0;
77 if (read_u64_file(base + "/memory.max", max) && read_u64_file(base + "/memory.current", current))
78 room = std::min(room, max > current ? max - current : 0);
79 const auto slash = dir.find_last_of('/');
80 if (dir == "/" || slash == std::string::npos) break;
81 dir.resize(slash == 0 ? 1 : slash);
82 }
83 return room;
84}
85#endif
86
87// Memory the OS could give this process now, or 0 when it can't tell (then the caller keeps the old exclusive gate).
88inline uint64_t available_memory_bytes() {
89#ifdef _WIN32
90 MEMORYSTATUSEX status{};
91 status.dwLength = sizeof(status);
92 return GlobalMemoryStatusEx(&status) ? uint64_t(status.ullAvailPhys) : 0;
93#elif defined(__linux__)
94 std::FILE* f = std::fopen("/proc/meminfo", "r");
95 if (!f) return 0;
96 char line[256];
97 unsigned long long kb = 0;
98 bool found = false;
99 while (std::fgets(line, sizeof(line), f))
100 if (std::sscanf(line, "MemAvailable: %llu kB", &kb) == 1) { found = true; break; }
101 std::fclose(f);
102 if (!found) return 0;
103 const uint64_t room = cgroup_memory_room();
104 return std::max<uint64_t>(1, std::min(uint64_t(kb) * 1024, room)); // 0 would mean "unknown"
105#else
106 return 0;
107#endif
108}
109
110// What large compiles may use of the free RAM and of the room under the commit limit: three quarters of the smaller. (On
111// Windows an allocation that the limit has no room for fails, whatever RAM is free.)
112inline uint64_t large_compile_share(uint64_t free_ram, uint64_t commit_room) {
113 return std::min(free_ram, commit_room) / 4 * 3;
114}
115
116// The same of the memory that is free at this moment. 0 when it is unknown: then they compile one at a time.
117inline uint64_t large_compile_budget_bytes() {
118#ifdef _WIN32
119 MEMORYSTATUSEX status{};
120 status.dwLength = sizeof(status);
121 if (!GlobalMemoryStatusEx(&status)) return 0;
122 return large_compile_share(status.ullAvailPhys, status.ullAvailPageFile);
123#else
124 return large_compile_share(available_memory_bytes(), UINT64_MAX);
125#endif
126}
127
128// LEONIDA_BIG_COMPILE_BUDGET_MB: a fixed budget in MiB instead of the share of the free memory (0: one at a time). Unset
129// or empty, and text that is not a number: none. `valid` is false for the latter.
130struct LargeCompileBudget {
131 std::optional<uint64_t> fixed{};
132 bool valid = true;
133};
134
135inline LargeCompileBudget large_compile_budget(const char* text) {
136 if (!text || !*text) return {};
137 uint64_t mib = 0;
138 for (const char* c = text; *c; ++c) {
139 if (*c < '0' || *c > '9') return {std::nullopt, false};
140 mib = std::min<uint64_t>(mib * 10 + uint64_t(*c - '0'), UINT64_MAX >> 20);
141 }
142 return {mib << 20, true};
143}
144
145// Return memory freed by the driver's compiler to the OS (glibc keeps it in the arena of the thread that freed it).
146inline void release_free_memory() {
147#if defined(__GLIBC__)
148 malloc_trim(0);
149#endif
150}
151
152// Lets large modules in while their estimates fit the budget and fewer than max_inflight are in. One always gets in
153// when none is, so a module bigger than the whole budget still compiles (alone among the large ones).
154//
155// The second constructor is the runtime's: the budget is read again whenever a place is given or returned, and the
156// modules get in in the order they came, those a submission waits for (demand) before the others (speculative). While the
157// first in line does not fit, the next behind it that does may pass, as long as all that have passed it would fit the
158// budget together with it. So, with the budget as it is, it waits at most for those that were in when it became the first,
159// however many come after it, and one larger than the budget is not passed. A speculative one gets in only while no demand
160// waits and no submission has a Demand, and only within a quarter of the budget, so that a demand finds the rest free. An
161// estimate counts in full until its module leaves, although the driver has allocated part of it by then and the budget is
162// that much smaller: what is in has not taken all it is going to.
163class LargeModuleGate {
164public:
165 enum class Work { demand, speculative };
166
167 LargeModuleGate(uint64_t budget, unsigned max_inflight)
168 : budget_(budget), max_inflight_(max_inflight ? max_inflight : 1) {}
169 explicit LargeModuleGate(std::function<uint64_t()> budget)
170 : budget_(0), max_inflight_(UINT32_MAX), read_budget_(std::move(budget)) {}
171
172 bool admits(uint64_t estimate) const {
173 std::lock_guard<std::mutex> g(mu_);
174 return admits_locked(estimate, budget());
175 }
176 void enter(uint64_t estimate, Work work = Work::demand) {
177 std::unique_lock<std::mutex> l(mu_);
178 if (!read_budget_) {
179 cv_.wait(l, [&] { return admits_locked(estimate, limit_for(work)); });
180 } else {
181 auto& queue = waiting_[work == Work::demand ? 0 : 1];
182 const auto me = queue.insert(queue.end(), Waiter{estimate});
183 cv_.wait(l, [&] {
184 return (work == Work::demand || (waiting_[0].empty() && !demanded_)) && next_locked(work) == &*me;
185 });
186 if (me != queue.begin()) queue.front().passed += estimate;
187 queue.erase(me);
188 }
189 used_ += estimate;
190 ++inflight_;
191 if (!waiting_[0].empty() || !waiting_[1].empty()) cv_.notify_all(); // the next in the queue may fit as well
192 }
193 void leave(uint64_t estimate) {
194 {
195 std::lock_guard<std::mutex> g(mu_);
196 used_ -= estimate;
197 --inflight_;
198 }
199 cv_.notify_all();
200 }
201 unsigned inflight() const {
202 std::lock_guard<std::mutex> g(mu_);
203 return inflight_;
204 }
205 size_t waiting(Work work) const { // in order: the threads in enter(), with a budget that is read
206 std::lock_guard<std::mutex> g(mu_);
207 return waiting_[work == Work::demand ? 0 : 1].size();
208 }
209 uint64_t budget() const { return read_budget_ ? read_budget_() : budget_; }
210 unsigned max_inflight() const { return max_inflight_; }
211
212 // A submission that has large modules to build: until it ends, the places that its modules leave between one and the
213 // next are not taken by speculative ones.
214 class Demand {
215 public:
216 explicit Demand(LargeModuleGate& gate) : gate_(gate) {
217 std::lock_guard<std::mutex> g(gate_.mu_);
218 ++gate_.demanded_;
219 }
220 ~Demand() {
221 {
222 std::lock_guard<std::mutex> g(gate_.mu_);
223 --gate_.demanded_;
224 }
225 gate_.cv_.notify_all();
226 }
227 Demand(const Demand&) = delete;
228 Demand& operator=(const Demand&) = delete;
229
230 private:
231 LargeModuleGate& gate_;
232 };
233
234 // Holds a place from construction until destruction (or release()), then hands freed memory back.
235 class Ticket {
236 public:
237 Ticket() = default;
238 Ticket(LargeModuleGate& gate, uint64_t estimate, Work work = Work::demand) : gate_(&gate), estimate_(estimate) {
239 gate.enter(estimate, work);
240 }
241 Ticket(Ticket&& o) noexcept : gate_(o.gate_), estimate_(o.estimate_) { o.gate_ = nullptr; }
242 Ticket& operator=(Ticket&& o) noexcept {
243 if (this != &o) { release(); gate_ = o.gate_; estimate_ = o.estimate_; o.gate_ = nullptr; }
244 return *this;
245 }
246 Ticket(const Ticket&) = delete;
247 Ticket& operator=(const Ticket&) = delete;
248 ~Ticket() { release(); }
249 void release() {
250 if (!gate_) return;
251 gate_->leave(estimate_);
252 gate_ = nullptr;
253 release_free_memory();
254 }
255 private:
256 LargeModuleGate* gate_ = nullptr;
257 uint64_t estimate_ = 0;
258 };
259
260private:
261 struct Waiter {
262 uint64_t estimate;
263 uint64_t passed = 0; // the estimates of those that have passed it while it was the first in line
264 };
265
266 uint64_t limit_for(Work work) const { return work == Work::demand ? budget() : budget() / 4; }
267 bool admits_locked(uint64_t estimate, uint64_t limit) const {
268 return inflight_ == 0 || (inflight_ < max_inflight_ && used_ + estimate <= limit);
269 }
270 // The one in line that gets in now, if any: the first, or else the first that fits and may pass it.
271 const Waiter* next_locked(Work work) const {
272 const auto& queue = waiting_[work == Work::demand ? 0 : 1];
273 const uint64_t limit = limit_for(work);
274 for (const Waiter& w : queue) {
275 const Waiter& first = queue.front();
276 if (&w != &first && first.passed + w.estimate + first.estimate > limit) continue;
277 if (admits_locked(w.estimate, limit)) return &w;
278 }
279 return nullptr;
280 }
281
282 const uint64_t budget_;
283 const unsigned max_inflight_;
284 const std::function<uint64_t()> read_budget_;
285 mutable std::mutex mu_;
286 std::condition_variable cv_;
287 std::list<Waiter> waiting_[2]; // demand, speculative: one for each thread in enter(), in the order they came
288 uint64_t used_ = 0;
289 unsigned inflight_ = 0;
290 unsigned demanded_ = 0; // the Demands
291};
292
293} // namespace leonida
diff --git a/runtime/src/list_value_wait_budget.h b/runtime/src/list_value_wait_budget.h
new file mode 100644
index 000000000..8e1fd5219
--- /dev/null
+++ b/runtime/src/list_value_wait_budget.h
@@ -0,0 +1,251 @@
1#pragma once
2// Work-aware timeout clock and cycle-safe producer dependency analysis for console command-list memory waits
3// (runtime/shims/d3d12_xs_list_values.h, docs/d3d12_xs_console_abi.md §5.5).
4//
5// A memory wait gate needs a bounded timeout so an unmodelled write (one the runtime never lands) cannot hang a queue
6// forever. Counting wall-clock time blindly cuts waits short whenever the runtime is busy running held work (e.g.
7// multi-second CPU shadow/texture copies inside the releaser) or while an in-flight producer write has not finished on
8// the GPU yet, running dependent queues out of order.
9//
10// This header separates the policy from Windows/D3D12 handles so it can be verified portably under sanitizers:
11// - `pause_reason()` decides whether submitted or held work can still satisfy a gate without creating a deadlock cycle:
12// 1. `releaser_busy`: held work from an already-opened gate is currently being released/submitted;
13// 2. `matching_producer`: an in-flight WriteGroup whose final write to a waited address can satisfy an unmet wait, and
14// every pending gate preceding that WriteGroup is cycle-free with respect to the waiting queue;
15// 3. `active_work`: unrelated unblocked GPU work (a WriteGroup or action gate with no pending gate ahead of it) is
16// still executing, paused only up to `active_pause_cap_us` so a continuously streaming queue cannot starve an
17// unmodelled wait.
18// - `GateTimeoutState` tracks idle wait time (`elapsed_us`) separately from paused time, expiring once `elapsed_us`
19// reaches `budget_us`. Every pause reason (`releaser_busy` and `matching_producer` included) is bounded by a finite
20// `max_pause_cap_us` so a producer stuck behind an untracked dependency (e.g. a title fence wait or a hung Signal)
21// still expires instead of hanging forever, and demoted (`cut_short`) gates scale both caps with their short budget.
22//
23// Pure C++20 standard library only.
24
25#include <algorithm>
26#include <cstddef>
27#include <cstdint>
28#include <span>
29#include <vector>
30
31namespace leonida::list_value_wait {
32
33enum class PauseReason : std::uint8_t {
34 none = 0, // no submitted or held work can still satisfy this gate -> timeout clock ticks
35 releaser_busy = 1, // releaser thread is executing or draining opened gates
36 matching_producer = 2, // an acyclic in-flight WriteGroup can satisfy an unmet wait of this gate
37 active_work = 3, // unrelated unblocked submitted work is still executing (bounded by active_pause_cap_us)
38};
39
40struct WaitPredicate {
41 std::uint64_t address = 0;
42 std::uint64_t reference = 0;
43 std::uint32_t comparison = 0;
44 bool wide = false;
45};
46
47struct PendingWrite {
48 std::uint64_t address = 0;
49 std::uint64_t value = 0;
50 std::uint8_t bytes = 0;
51 bool timestamp = false; // GPU/system timestamp: final value is unknown until landing
52};
53
54struct PendingWriteGroup {
55 const void* queue = nullptr;
56 std::uint64_t after_gate = 0; // highest pending gate value on `queue` ahead of this group when submitted (0: none)
57 std::span<const PendingWrite> writes;
58};
59
60struct PendingGate {
61 const void* queue = nullptr;
62 std::uint64_t value = 0;
63 bool is_action = false; // waits only on earlier GPU work on `queue`, never on memory
64 std::span<const WaitPredicate> unmet_waits; // waits not currently satisfied in memory (empty for action gates)
65};
66
67struct PauseCaps {
68 std::uint64_t active_us = 0; // cap on pausing solely for unrelated active_work
69 std::uint64_t max_us = 0; // hard finite cap across ALL pause reasons (releaser_busy, matching_producer, active_work)
70};
71
72// Pause caps scaled with the gate's own timeout budget (`gate_timeout_ms`) and demotion state (`cut_short`):
73// - Normal gates: `active_us = 300x` and `max_us = 1500x` of `gate_timeout_ms`, capped at 10 min. At the default
74// 200 ms timeout this allows up to 60 s for unrelated GPU work and up to 300 s (5 min) while the releaser or an
75// acyclic matching producer is working (covering multi-minute world-phase pipeline builds), while guaranteeing a
76// finite exit if a producer is held behind an untracked dependency (title fence wait or stuck Signal).
77// - Demoted (`cut_short`) gates: `active_us = 1x` and `max_us = 4x` of `gate_timeout_ms` (4 ms / 16 ms at the 4 ms
78// demoted budget), so an unmodelled wait only pays a few milliseconds instead of inheriting the full timeout's cap.
79inline constexpr PauseCaps default_pause_caps(unsigned gate_timeout_ms, bool cut_short = false) {
80 constexpr std::uint64_t kMaxCapMs = 600000u; // 10 min hard ceiling
81 const std::uint64_t base_ms = gate_timeout_ms ? std::uint64_t{gate_timeout_ms} : 1u;
82 const auto scale_ms = [base_ms](std::uint64_t mult) -> std::uint64_t {
83 return base_ms > kMaxCapMs / mult ? kMaxCapMs : base_ms * mult;
84 };
85 const std::uint64_t active_ms = cut_short ? (base_ms < kMaxCapMs ? base_ms : kMaxCapMs) : scale_ms(300u);
86 const std::uint64_t max_ms = cut_short ? scale_ms(4u) : scale_ms(1500u);
87 return {active_ms * 1000u, max_ms * 1000u};
88}
89
90inline constexpr std::uint64_t default_active_pause_cap_us(unsigned gate_timeout_ms, bool cut_short = false) {
91 return default_pause_caps(gate_timeout_ms, cut_short).active_us;
92}
93
94inline constexpr std::uint64_t default_max_pause_cap_us(unsigned gate_timeout_ms, bool cut_short = false) {
95 return default_pause_caps(gate_timeout_ms, cut_short).max_us;
96}
97
98struct GateTimeoutState {
99 std::uint64_t budget_us = 0;
100 std::uint64_t elapsed_us = 0;
101 std::uint64_t active_paused_us = 0;
102 std::uint64_t active_pause_cap_us = 0;
103 std::uint64_t total_paused_us = 0;
104 std::uint64_t max_pause_cap_us = 0;
105 bool paused_ever = false;
106
107 void reset(std::uint64_t budget, std::uint64_t active_cap, std::uint64_t max_cap) {
108 budget_us = budget;
109 elapsed_us = 0;
110 active_paused_us = 0;
111 total_paused_us = 0;
112 max_pause_cap_us = max_cap;
113 active_pause_cap_us = active_cap < max_cap ? active_cap : max_cap;
114 paused_ever = false;
115 }
116
117 // Advances the gate by `dt_us` under `reason`. Returns true once the idle timeout budget is exhausted.
118 // Every pause reason is bounded by `max_pause_cap_us`; unrelated `active_work` is additionally bounded by
119 // `active_pause_cap_us`.
120 bool advance(std::uint64_t dt_us, PauseReason reason) {
121 std::uint64_t room = 0;
122 if (reason == PauseReason::releaser_busy || reason == PauseReason::matching_producer) {
123 room = total_paused_us < max_pause_cap_us ? max_pause_cap_us - total_paused_us : 0u;
124 } else if (reason == PauseReason::active_work) {
125 const std::uint64_t total_room =
126 total_paused_us < max_pause_cap_us ? max_pause_cap_us - total_paused_us : 0u;
127 const std::uint64_t active_room =
128 active_paused_us < active_pause_cap_us ? active_pause_cap_us - active_paused_us : 0u;
129 room = total_room < active_room ? total_room : active_room;
130 }
131 if (room > 0) {
132 if (dt_us == 0) return false;
133 paused_ever = true;
134 const std::uint64_t absorb = dt_us < room ? dt_us : room;
135 total_paused_us += absorb;
136 if (reason == PauseReason::active_work) active_paused_us += absorb;
137 dt_us -= absorb;
138 }
139 if (dt_us > UINT64_MAX - elapsed_us)
140 elapsed_us = UINT64_MAX;
141 else
142 elapsed_us += dt_us;
143 return elapsed_us >= budget_us;
144 }
145};
146
147namespace detail {
148
149// True when `group`'s final write touching [wait.address, wait.address + need) lands a value that meets `wait`
150// (or is a timestamp write to the exact address whose runtime value is unknown until landing).
151template <class MetFn>
152inline bool write_group_matches_wait(const PendingWriteGroup& group, const WaitPredicate& wait, MetFn&& met) {
153 const std::uint64_t need = wait.wide ? 8u : 4u;
154 if (!wait.address || wait.address > UINT64_MAX - need) return false;
155 const std::uint64_t wait_end = wait.address + need;
156 for (std::size_t i = group.writes.size(); i-- > 0;) {
157 const PendingWrite& w = group.writes[i];
158 if (!w.bytes || w.address > UINT64_MAX - w.bytes) continue;
159 const std::uint64_t write_end = w.address + w.bytes;
160 if (w.address >= wait_end || wait.address >= write_end) continue;
161 if (w.address == wait.address && w.bytes >= need &&
162 (w.timestamp || met(wait.comparison, w.value, wait.reference, wait.wide)))
163 return true;
164 // A later write in the same group overwrote or partially overlapped the waited range with a non-matching value.
165 return false;
166 }
167 return false;
168}
169
170// True when no pending gate in `gates` precedes `(queue, after_gate)`.
171inline bool is_unblocked(std::span<const PendingGate> gates, const void* queue, std::uint64_t after_gate) {
172 if (!after_gate) return true;
173 for (const PendingGate& g : gates)
174 if (g.queue == queue && g.value <= after_gate) return false;
175 return true;
176}
177
178// True when `gate_idx` (directly or transitively via matching in-flight writes) depends on a gate on `target_queue`.
179template <class MetFn>
180inline bool gate_can_reach_queue(std::size_t gate_idx, const void* target_queue,
181 std::span<const PendingWriteGroup> writes, std::span<const PendingGate> gates,
182 MetFn&& met, std::vector<std::size_t>& visiting) {
183 const PendingGate& g = gates[gate_idx];
184 if (g.queue == target_queue) return true;
185 if (g.is_action) return false;
186 if (std::find(visiting.begin(), visiting.end(), gate_idx) != visiting.end()) return false;
187 visiting.push_back(gate_idx);
188 for (const WaitPredicate& wait : g.unmet_waits) {
189 for (const PendingWriteGroup& w : writes) {
190 if (!write_group_matches_wait(w, wait, met)) continue;
191 if (!w.after_gate) continue;
192 for (std::size_t b = 0; b < gates.size(); ++b) {
193 if (gates[b].queue != w.queue || gates[b].value > w.after_gate) continue;
194 if (gates[b].queue == target_queue ||
195 gate_can_reach_queue(b, target_queue, writes, gates, met, visiting)) {
196 visiting.pop_back();
197 return true;
198 }
199 }
200 }
201 }
202 visiting.pop_back();
203 return false;
204}
205
206} // namespace detail
207
208// Decides whether the timeout clock of `gates[target_idx]` should pause on this pump pass.
209// `met(comparison, value, reference, wide)` must implement the same predicate as `console_value_met`.
210template <class MetFn>
211inline PauseReason pause_reason(bool releaser_busy, std::span<const PendingWriteGroup> writes,
212 std::span<const PendingGate> gates, std::size_t target_idx, MetFn&& met) {
213 if (releaser_busy) return PauseReason::releaser_busy;
214 if (target_idx >= gates.size()) return PauseReason::none;
215 const PendingGate& target = gates[target_idx];
216 if (target.is_action) return PauseReason::none;
217
218 // 1. A matching in-flight WriteGroup whose preceding gates (if any) do not cycle back to `target.queue`.
219 std::vector<std::size_t> visiting;
220 for (const WaitPredicate& wait : target.unmet_waits) {
221 for (const PendingWriteGroup& w : writes) {
222 if (!detail::write_group_matches_wait(w, wait, met)) continue;
223 bool cyclic = false;
224 if (w.after_gate) {
225 for (std::size_t b = 0; b < gates.size(); ++b) {
226 if (gates[b].queue != w.queue || gates[b].value > w.after_gate) continue;
227 visiting.clear();
228 if (gates[b].queue == target.queue ||
229 detail::gate_can_reach_queue(b, target.queue, writes, gates, met, visiting)) {
230 cyclic = true;
231 break;
232 }
233 }
234 }
235 if (!cyclic) return PauseReason::matching_producer;
236 }
237 }
238
239 // 2. Unrelated unblocked submitted GPU work (an unblocked WriteGroup on any queue, or an unblocked action gate on
240 // another queue) that could still write memory via a shader/copy or unblock a CPU producer.
241 for (const PendingWriteGroup& w : writes) {
242 if (detail::is_unblocked(gates, w.queue, w.after_gate)) return PauseReason::active_work;
243 }
244 for (const PendingGate& g : gates) {
245 if (!g.is_action || g.queue == target.queue) continue;
246 if (g.value == 0 || detail::is_unblocked(gates, g.queue, g.value - 1)) return PauseReason::active_work;
247 }
248 return PauseReason::none;
249}
250
251} // namespace leonida::list_value_wait
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp
index f01997775..f44eb2535 100644
--- a/runtime/src/main.cpp
+++ b/runtime/src/main.cpp
@@ -9,6 +9,13 @@
9// gta6rt --init <image> [--game-dir DIR] [--overlay DIR] 9// gta6rt --init <image> [--game-dir DIR] [--overlay DIR]
10// The same mapping, then each loaded DLL's TLS callbacks and DllMain(DLL_PROCESS_ATTACH) are run. 10// The same mapping, then each loaded DLL's TLS callbacks and DllMain(DLL_PROCESS_ATTACH) are run.
11// 11//
12// gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first]
13// [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--skip-listed] [--list]
14// No game: creates the Vulkan device as --run does and builds every compute pipeline of the shader library
15// (LEONIDA_SHADERS) into the pipeline journal and the driver's cache, so a title's first dispatch of a large one
16// does not stall it. Resumable: entries already journaled are skipped (--all: built anyway). Programs named by
17// LEONIDA_SKIP_COMPUTE are built too unless --skip-listed is given. See shims/d3d12_precompile.h.
18//
12// gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--trace-d3d12] [--trace FILE] [-- game arguments...] 19// gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--trace-d3d12] [--trace FILE] [-- game arguments...]
13// The same, then the EXE's own TLS callbacks and its entry point, on a game thread. The game's argv and 20// The same, then the EXE's own TLS callbacks and its entry point, on a game thread. The game's argv and
14// command line are <exe name> plus the arguments after "--"; exit/ExitProcess from the game end the run 21// command line are <exe name> plus the arguments after "--"; exit/ExitProcess from the game end the run
@@ -24,6 +31,7 @@
24#include <exception> 31#include <exception>
25#include <filesystem> 32#include <filesystem>
26#include <map> 33#include <map>
34#include <mutex>
27#include <string> 35#include <string>
28#include <system_error> 36#include <system_error>
29#include <vector> 37#include <vector>
@@ -32,24 +40,51 @@
32 40
33namespace { 41namespace {
34 42
35// The retail executable (1.0.2.1) runs a hang watchdog thread (function at RVA 0x2215a60): when the game's main loop 43// The retail title runs a hang watchdog thread: when the game's main loop has not set its "kick" byte for 30
36// has not set its "kick" byte (RVA 0x71b6331) for 30 one-second ticks, it calls a crash callback and then writes to 44// one-second ticks, it calls a crash callback and then writes to address 0 (`movl $0, 0`). Under the runtime the
37// address 0 (`movl $0, 0` at RVA 0x2215c35). Under the runtime the game thread can legitimately stall for longer than 45// game thread can legitimately stall for longer than that, e.g. while the driver compiles pipelines against a cold
38// that, e.g. while the driver compiles pipelines against a cold cache (first boot after a driver update), and the 46// cache (first boot after a driver update), and the title then kills itself. By default the watchdog stays armed, as
39// title then kills itself. By default the watchdog stays armed, as on the console. With LEONIDA_TITLE_WATCHDOG=0, and 47// on the console. LEONIDA_TITLE_WATCHDOG=0 asks to keep it from firing, as before. The two places that takes are
40// only when that exact trap instruction sits where it does in this build, a runtime thread sets the kick byte twice a 48// measured locally and not kept in the repository: LEONIDA_TITLE_WATCHDOG_KICK="<trap RVA>,<kick RVA>" (hex) names
41// second so the title's watchdog never fires. 49// them, and only with both variables, and only when that exact trap instruction sits at the first RVA, does a
42constexpr std::uint32_t kWatchdogTrapRva = 0x2215c35; 50// runtime thread set the byte at the second twice a second, so the title's watchdog never fires. Either variable
43constexpr std::uint32_t kWatchdogKickRva = 0x71b6331; 51// alone leaves the watchdog armed and says so once.
44constexpr unsigned char kWatchdogTrap[] = {0xC7, 0x04, 0x25, 0, 0, 0, 0, 0, 0, 0, 0}; // movl $0, 0x0 52constexpr unsigned char kWatchdogTrap[] = {0xC7, 0x04, 0x25, 0, 0, 0, 0, 0, 0, 0, 0}; // movl $0, 0x0
45 53
54bool watchdog_rvas(std::uint32_t& trap_rva, std::uint32_t& kick_rva) {
55 char value[64]{};
56 const DWORD n = GetEnvironmentVariableA("LEONIDA_TITLE_WATCHDOG_KICK", value, sizeof(value));
57 if (!n || n >= sizeof(value)) return false;
58 char* rest = nullptr;
59 const unsigned long long trap = std::strtoull(value, &rest, 16);
60 if (!rest || *rest != ',') return false;
61 const unsigned long long kick = std::strtoull(rest + 1, &rest, 16);
62 if (!rest || *rest || !trap || !kick || trap > 0xFFFFFFFFull || kick > 0xFFFFFFFFull) return false;
63 trap_rva = static_cast<std::uint32_t>(trap);
64 kick_rva = static_cast<std::uint32_t>(kick);
65 return true;
66}
67
46void keep_title_watchdog_kicked(std::uint8_t* base) { 68void keep_title_watchdog_kicked(std::uint8_t* base) {
47 char value[4]{}; 69 char keep[4]{};
48 if (GetEnvironmentVariableA("LEONIDA_TITLE_WATCHDOG", value, sizeof(value)) != 1 || value[0] != '0') return; 70 const bool disarm = GetEnvironmentVariableA("LEONIDA_TITLE_WATCHDOG", keep, sizeof(keep)) == 1 && keep[0] == '0';
71 std::uint32_t kWatchdogTrapRva = 0, kWatchdogKickRva = 0;
72 const bool named = watchdog_rvas(kWatchdogTrapRva, kWatchdogKickRva);
73 if (!disarm) {
74 if (named)
75 std::fprintf(stderr, "[rt] loader: LEONIDA_TITLE_WATCHDOG_KICK is set but LEONIDA_TITLE_WATCHDOG is not 0;"
76 " the title's hang watchdog stays armed\n");
77 return;
78 }
79 if (!named) {
80 std::fprintf(stderr, "[rt] loader: LEONIDA_TITLE_WATCHDOG=0 needs LEONIDA_TITLE_WATCHDOG_KICK=<trap RVA>,"
81 "<kick RVA> (hex); the title's hang watchdog stays armed\n");
82 return;
83 }
49 MEMORY_BASIC_INFORMATION trap{}, kick{}; 84 MEMORY_BASIC_INFORMATION trap{}, kick{};
50 if (!VirtualQuery(base + kWatchdogTrapRva, &trap, sizeof(trap)) || trap.State != MEM_COMMIT || 85 if (!VirtualQuery(base + kWatchdogTrapRva, &trap, sizeof(trap)) || trap.State != MEM_COMMIT ||
51 std::memcmp(base + kWatchdogTrapRva, kWatchdogTrap, sizeof(kWatchdogTrap)) != 0) 86 std::memcmp(base + kWatchdogTrapRva, kWatchdogTrap, sizeof(kWatchdogTrap)) != 0)
52 return; // not the build this was measured on: leave the title's watchdog alone 87 return; // not the trap the RVAs name: leave the title's watchdog alone
53 const DWORD writable = PAGE_READWRITE | PAGE_WRITECOPY | PAGE_EXECUTE_READWRITE | PAGE_EXECUTE_WRITECOPY; 88 const DWORD writable = PAGE_READWRITE | PAGE_WRITECOPY | PAGE_EXECUTE_READWRITE | PAGE_EXECUTE_WRITECOPY;
54 if (!VirtualQuery(base + kWatchdogKickRva, &kick, sizeof(kick)) || kick.State != MEM_COMMIT || 89 if (!VirtualQuery(base + kWatchdogKickRva, &kick, sizeof(kick)) || kick.State != MEM_COMMIT ||
55 !(kick.Protect & writable)) 90 !(kick.Protect & writable))
@@ -71,7 +106,7 @@ void keep_title_watchdog_kicked(std::uint8_t* base) {
71 } 106 }
72} 107}
73 108
74// LEONIDA_PEEK="0x9e1dac0:3,0x7446510,0x98f828c" (diagnostic): a thread prints the 8-byte values at these RVAs of the 109// LEONIDA_PEEK="<rva>:3,<rva>,<rva>" (diagnostic): a thread prints the 8-byte values at these RVAs of the
75// title's image (":n" = n consecutive values, at most 32; "RVA>OFF" reads through the pointer stored at the RVA, at 110// title's image (":n" = n consecutive values, at most 32; "RVA>OFF" reads through the pointer stored at the RVA, at
76// pointer + OFF, both hex) every LEONIDA_PEEK_SECONDS (default 10). For answering "what does this 111// pointer + OFF, both hex) every LEONIDA_PEEK_SECONDS (default 10). For answering "what does this
77// global hold at run time" without a debugger: the reverse-engineering notes (docs/re/requests.md) ask for exactly 112// global hold at run time" without a debugger: the reverse-engineering notes (docs/re/requests.md) ask for exactly
@@ -141,13 +176,17 @@ void start_title_peek(std::uint8_t* base) {
141 176
142} // namespace 177} // namespace
143 178
179#include "avx2_emulation.h"
144#include "base_reservation.h" 180#include "base_reservation.h"
181#include "compile_gate_policy.h"
182#include "bmi_emulation.h"
145#include "code_hooks.h" 183#include "code_hooks.h"
146#include "cpu_emulation.h" 184#include "cpu_emulation.h"
147#include "host_cpu.h" 185#include "host_cpu.h"
148#include "mods.h" 186#include "mods.h"
149#include "pe_loader.h" 187#include "pe_loader.h"
150#include "thread_stacks.h" 188#include "thread_stacks.h"
189#include "dev_overlay.h"
151#include "thread_sampler.h" 190#include "thread_sampler.h"
152#include "title_page_watch.h" 191#include "title_page_watch.h"
153#include "title_geometry_watch.h" 192#include "title_geometry_watch.h"
@@ -155,7 +194,9 @@ void start_title_peek(std::uint8_t* base) {
155#include "../shims/d3d12_xs_device.h" 194#include "../shims/d3d12_xs_device.h"
156#include "../shims/file_system.h" 195#include "../shims/file_system.h"
157#ifdef LEONIDA_VULKAN_DEVICE 196#ifdef LEONIDA_VULKAN_DEVICE
197#include "vulkan_device_fault.h"
158#include "../shims/d3d12_compile_exit.h" 198#include "../shims/d3d12_compile_exit.h"
199#include "../shims/d3d12_precompile.h"
159#include "../shims/package_splash.h" 200#include "../shims/package_splash.h"
160#endif 201#endif
161#include "../shims/process_shim.h" 202#include "../shims/process_shim.h"
@@ -196,7 +237,9 @@ bool configure_first_run_ui(const std::filesystem::path& package, std::filesyste
196 {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"}, 237 {L"LEONIDA_D3D12", L"vulkan"}, {L"LEONIDA_ARENA_MB", L"2048"},
197 {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"}, 238 {L"LEONIDA_GRAPHICS_STAGE_LAYOUT", L"1"}, {L"LEONIDA_PIPELINE_COMPILE", L"on-demand"},
198 {L"LEONIDA_FRAME_PACING", L"1"}, 239 {L"LEONIDA_FRAME_PACING", L"1"},
199 {L"LEONIDA_KEYBOARD_PAD", L"always"}, 240 // Focused, not always: keys typed into another window must not press anything on a consent page.
241 // Scripted presses (LEONIDA_INPUT_SCRIPT) still run while the window is unfocused.
242 {L"LEONIDA_KEYBOARD_PAD", L"1"},
200 }; 243 };
201 for (const auto& setting : settings) { 244 for (const auto& setting : settings) {
202 if (!set_default(setting.name, setting.value)) return false; 245 if (!set_default(setting.name, setting.value)) return false;
@@ -221,25 +264,120 @@ int usage() {
221 "usage: gta6rt --dry-run <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace FILE]\n" 264 "usage: gta6rt --dry-run <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace FILE]\n"
222 " gta6rt --init <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE]\n" 265 " gta6rt --init <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE]\n"
223 " gta6rt --first-run-ui <exe> [--game-dir DIR] [--overlay DIR] [--trace FILE]\n" 266 " gta6rt --first-run-ui <exe> [--game-dir DIR] [--overlay DIR] [--trace FILE]\n"
224 " gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE] [-- game arguments...]\n"); 267 " gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE] [-- game arguments...]\n"
268 " gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first] [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--skip-listed] [--list] [--via-helper]\n"
269 " gta6rt --compile-server [--parent PID] [--threads N] [--idle-threads N] [--idle-exit SECONDS]\n");
225 return 2; 270 return 2;
226} 271}
227 272
273#ifdef LEONIDA_VULKAN_DEVICE
274// gta6rt --precompile-pipelines ...: argv[1] is the mode.
275int precompile_main(int argc, wchar_t** argv) {
276 rt::d3d12::PrecompileOptions options;
277 const auto number = [&](int& i, auto& out) {
278 if (i + 1 >= argc) return false;
279 wchar_t* end = nullptr;
280 const unsigned long long v = std::wcstoull(argv[++i], &end, 10);
281 if (!end || *end) return false;
282 out = static_cast<std::remove_reference_t<decltype(out)>>(v);
283 return true;
284 };
285 for (int i = 2; i < argc; ++i) {
286 const std::wstring a = argv[i];
287 bool ok = true;
288 if (a == L"--threads") ok = number(i, options.threads);
289 else if (a == L"--big-threads") ok = number(i, options.big_threads);
290 else if (a == L"--big-bytes") ok = number(i, options.big_bytes);
291 else if (a == L"--limit") ok = number(i, options.limit);
292 else if (a == L"--min-bytes") ok = number(i, options.min_bytes);
293 else if (a == L"--max-bytes") ok = number(i, options.max_bytes);
294 else if (a == L"--all") options.rebuild = true;
295 else if (a == L"--smallest-first") options.smallest_first = true;
296 else if (a == L"--skip-listed") options.skip_listed = true;
297 else if (a == L"--list") options.dry_run = true;
298 else if (a == L"--via-helper") options.via_helper = true;
299 else if (a == L"--filter" && i + 1 < argc) {
300 const std::wstring part = argv[++i];
301 options.filters.emplace_back(part.begin(), part.end()); // library names are ASCII
302 } else ok = false;
303 if (!ok) return usage();
304 }
305 return rt::d3d12::precompile_compute_pipelines(options);
306}
307
308// gta6rt --compile-server [--parent PID] [--threads N] [--idle-threads N] [--idle-exit SECONDS]
309// (shims/d3d12_compile_helper.h).
310int compile_server_main(int argc, wchar_t** argv) {
311 rt::d3d12::CompileServerOptions options;
312 for (int i = 2; i < argc; ++i) {
313 const std::wstring a = argv[i];
314 if (i + 1 >= argc) return usage();
315 wchar_t* end = nullptr;
316 const unsigned long long v = std::wcstoull(argv[++i], &end, 10);
317 if (!end || *end) return usage();
318 if (a == L"--parent") options.parent_pid = static_cast<unsigned long>(v);
319 else if (a == L"--threads") options.threads = static_cast<unsigned>(v);
320 else if (a == L"--idle-threads") options.idle_threads = static_cast<unsigned>(v);
321 else if (a == L"--idle-exit") options.idle_exit_s = static_cast<unsigned>(v);
322 else return usage();
323 }
324 return rt::d3d12::compile_server(options);
325}
326#endif
327
228} // namespace 328} // namespace
229 329
230#ifdef LEONIDA_VULKAN_DEVICE 330#ifdef LEONIDA_VULKAN_DEVICE
231// The run ends with the title's Vulkan device alive, so no ~Device stops the background pipeline compiler: stop it 331// The run ends with the title's Vulkan device alive, so no ~Device stops the background pipeline compiler: stop it
232// here, before ExitProcess ends its thread, maybe inside the driver's compiler (rt::d3d12::stop_pipeline_compiles). 332// here, before ExitProcess ends its thread, maybe inside the driver's compiler (rt::d3d12::stop_pipeline_compiles).
233constexpr unsigned kExitCompileWaitMs = 2000; // a console close gives the whole process 5 s 333constexpr unsigned kExitCompileWaitMs = 2000; // a console close gives the whole process 5 s
334// For a build still running on a title thread, then the session cache write (rt::d3d12::save_pipeline_caches_at_exit).
335constexpr unsigned kExitCacheWaitMs = 1000;
234 336
235static BOOL WINAPI stop_compiles_on_console_exit(DWORD event) { 337static BOOL WINAPI stop_compiles_on_console_exit(DWORD event) {
236 if (event == CTRL_C_EVENT || event == CTRL_BREAK_EVENT || event == CTRL_CLOSE_EVENT) { 338 if (event == CTRL_C_EVENT || event == CTRL_BREAK_EVENT || event == CTRL_CLOSE_EVENT) {
237 rt::d3d12_xs::stop_list_values(500); // as at the run's end: no list-value thread cut off inside the layer 339 rt::d3d12_xs::stop_list_values(500); // as at the run's end: no list-value thread cut off inside the layer
238 rt::d3d12::stop_pipeline_compiles(kExitCompileWaitMs); 340 rt::d3d12::stop_pipeline_compiles(kExitCompileWaitMs);
341 rt::d3d12::save_pipeline_caches_at_exit(kExitCacheWaitMs);
239 } 342 }
240 return FALSE; // the next handler (the default one: ExitProcess) ends the process, as before 343 return FALSE; // the next handler (the default one: ExitProcess) ends the process, as before
241} 344}
242 345
346// A run that ends in an exception nothing handles (a fault in the title or one of its DLLs, the int3 after a device
347// loss) would otherwise keep none of the pipelines it compiled, and the next boot builds them all again. The device is
348// left alone apart from that write; the exception then goes on as before (the previous filter, or Windows' own
349// handling), so the exit code is the exception's. Not for a stack overflow: no stack is left to write with.
350static LPTOP_LEVEL_EXCEPTION_FILTER previous_fatal_filter = nullptr;
351// The retail title installs a filter of its own (SetUnhandledExceptionFilter from api-ms-win-core-errorhandling),
352// which replaced this one and ended the process without it (measured: a title fault at 354 s wrote nothing). Its
353// call is served here instead: this filter stays installed and hands the exception to the title's, as Windows would.
354static void* volatile title_fatal_filter = nullptr;
355
356static LPTOP_LEVEL_EXCEPTION_FILTER WINAPI title_set_unhandled_exception_filter(LPTOP_LEVEL_EXCEPTION_FILTER filter) {
357 return reinterpret_cast<LPTOP_LEVEL_EXCEPTION_FILTER>(
358 InterlockedExchangePointer(&title_fatal_filter, reinterpret_cast<void*>(filter)));
359}
360
361static LONG WINAPI save_caches_on_fatal_exception(EXCEPTION_POINTERS* info) {
362 const DWORD code = info && info->ExceptionRecord ? info->ExceptionRecord->ExceptionCode : 0;
363 if (code != EXCEPTION_STACK_OVERFLOW) {
364 // Several title threads can fault at once (measured: eight within a second). The first writes; the others
365 // wait here for it, so none of them reaches the title's filter, which may end the process, mid-write.
366 static std::once_flag once;
367 std::call_once(once, [code] {
368 std::fprintf(stderr, "[rt] unhandled exception 0x%08lx: writing the session pipeline cache before the "
369 "process ends\n", static_cast<unsigned long>(code));
370 rt::d3d12::stop_pipeline_compiles(kExitCompileWaitMs);
371 rt::d3d12::save_pipeline_caches_at_exit(kExitCacheWaitMs);
372 std::fflush(stderr);
373 });
374 }
375 if (auto* title = reinterpret_cast<LPTOP_LEVEL_EXCEPTION_FILTER>(
376 InterlockedCompareExchangePointer(&title_fatal_filter, nullptr, nullptr)))
377 return title(info);
378 return previous_fatal_filter ? previous_fatal_filter(info) : EXCEPTION_CONTINUE_SEARCH;
379}
380
243static BOOL WINAPI show_package_window(HWND window, int command) { 381static BOOL WINAPI show_package_window(HWND window, int command) {
244 const BOOL previous = ShowWindow(window, command); 382 const BOOL previous = ShowWindow(window, command);
245 const DWORD error = GetLastError(); 383 const DWORD error = GetLastError();
@@ -251,6 +389,13 @@ static BOOL WINAPI show_package_window(HWND window, int command) {
251#endif 389#endif
252 390
253int wmain(int argc, wchar_t** argv) { 391int wmain(int argc, wchar_t** argv) {
392#ifdef LEONIDA_VULKAN_DEVICE
393 if (argc > 1 && std::wstring(argv[1]) == L"--precompile-pipelines") return precompile_main(argc, argv);
394 if (argc > 1 && std::wstring(argv[1]) == L"--compile-server") return compile_server_main(argc, argv);
395#endif
396 // The title's process (not a build host above): LEONIDA_COMPILE_GATE=auto may calibrate the driver when the device
397 // is made (src/compile_gate_policy.h).
398 leonida::compile_gate_policy::calibration_allowed = true;
254 std::filesystem::path image, game_dir, overlay_dir, mods_dir; 399 std::filesystem::path image, game_dir, overlay_dir, mods_dir;
255 uint32_t archetype_lookup_rva = 0; // --archetype-lookup RVA[,ARG]: the game's archetype lookup by hash 400 uint32_t archetype_lookup_rva = 0; // --archetype-lookup RVA[,ARG]: the game's archetype lookup by hash
256 int archetype_lookup_arg = 0; 401 int archetype_lookup_arg = 0;
@@ -347,6 +492,13 @@ int wmain(int argc, wchar_t** argv) {
347 rt::fs::configure(game_dir, overlay_dir); 492 rt::fs::configure(game_dir, overlay_dir);
348#ifdef LEONIDA_VULKAN_DEVICE 493#ifdef LEONIDA_VULKAN_DEVICE
349 if (run) { 494 if (run) {
495 // Before the image is loaded, so its import binds here (save_caches_on_fatal_exception).
496 const rt::shims::Entry filter_imports[] = {
497 {"api-ms-win-core-errorhandling-l1-1-0.dll", "SetUnhandledExceptionFilter",
498 reinterpret_cast<void*>(&title_set_unhandled_exception_filter)},
499 {"kernel32.dll", "SetUnhandledExceptionFilter", reinterpret_cast<void*>(&title_set_unhandled_exception_filter)},
500 };
501 rt::shims::Table{filter_imports, std::size(filter_imports)};
350 rt::package_splash::configure(game_dir); 502 rt::package_splash::configure(game_dir);
351 if (rt::package_splash::configured()) { 503 if (rt::package_splash::configured()) {
352 const rt::shims::Entry window_imports[] = { 504 const rt::shims::Entry window_imports[] = {
@@ -388,11 +540,15 @@ int wmain(int argc, wchar_t** argv) {
388 rt::d3d12_trace::set_enabled(trace_d3d12); 540 rt::d3d12_trace::set_enabled(trace_d3d12);
389 // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first. 541 // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first.
390 rt::d3d12_xs::set_placed_at_va_pages_hook(&rt::xmem::commit_physical_range); 542 rt::d3d12_xs::set_placed_at_va_pages_hook(&rt::xmem::commit_physical_range);
543 if (rt::xmem::slot31_runs() && rt::xmem::queue_page_mappings_enabled())
544 rt::d3d12_xs::set_copy_page_mappings_hook(&rt::xmem::copy_page_mappings);
391 // So do the file shims' reads, whose kernel writes do not fault them in: on ERROR_NOACCESS (title_page_watch.h). 545 // So do the file shims' reads, whose kernel writes do not fault them in: on ERROR_NOACCESS (title_page_watch.h).
392 leonida::geometry_writes::aliases.store(&rt::xmem::geometry_aliases); 546 leonida::geometry_writes::aliases.store(&rt::xmem::geometry_aliases);
393 leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range); 547 leonida::kernel_writes::set_committer(&rt::xmem::commit_physical_range);
394 rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data); 548 rt::d3d12_xs::set_texture_page_provider(&rt::xmem::pin_mapped_data);
395 leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned); 549 leonida::kernel_writes::set_unguarder(&rt::xmem::reopen_unowned);
550 // The first call of a forwarded device slot names its caller as module+offset (RT-526).
551 rt::d3d12_xs::set_device_slot_caller_formatter(&rt::shims::module_offset);
396 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { 552 if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) {
397 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" 553 std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n"
398 : "error: cannot create the trace file\n"); 554 : "error: cannot create the trace file\n");
@@ -407,6 +563,19 @@ int wmain(int argc, wchar_t** argv) {
407 if (!rt::cpu_emulation::install()) 563 if (!rt::cpu_emulation::install())
408 std::fprintf(stderr, "[rt] cpu: AddVectoredExceptionHandler failed (error %lu); instructions this CPU lacks " 564 std::fprintf(stderr, "[rt] cpu: AddVectoredExceptionHandler failed (error %lu); instructions this CPU lacks "
409 "will stop the game\n", GetLastError()); 565 "will stop the game\n", GetLastError());
566 if (const auto bmi = rt::bmi_emulation::detect_host(); !bmi.bmi1 || !bmi.bmi2 || !bmi.lzcnt || !bmi.movbe)
567 std::fprintf(stderr, "[rt] cpu: this CPU lacks%s%s%s%s; the game's uses are emulated (docs/cpu_features.md)\n",
568 bmi.bmi1 ? "" : " BMI1", bmi.bmi2 ? "" : " BMI2", bmi.lzcnt ? "" : " LZCNT",
569 bmi.movbe ? "" : " MOVBE");
570 if (!rt::bmi_emulation::install())
571 std::fprintf(stderr, "[rt] cpu: AddVectoredExceptionHandler (BMI) failed (error %lu); instructions this CPU "
572 "lacks will stop the game\n", GetLastError());
573 if (const auto avx2 = rt::avx2_emulation::detect_host(); !avx2.avx2 || !avx2.fma || !avx2.f16c)
574 std::fprintf(stderr, "[rt] cpu: this CPU lacks%s%s%s; the game's uses are emulated (docs/cpu_features.md)\n",
575 avx2.avx2 ? "" : " AVX2", avx2.fma ? "" : " FMA3", avx2.f16c ? "" : " F16C");
576 if (!rt::avx2_emulation::install())
577 std::fprintf(stderr, "[rt] cpu: AddVectoredExceptionHandler (AVX2) failed (error %lu); instructions this CPU "
578 "lacks will stop the game\n", GetLastError());
410 579
411 try { 580 try {
412 rt::Loader loader(game_dir); 581 rt::Loader loader(game_dir);
@@ -493,7 +662,9 @@ int wmain(int argc, wchar_t** argv) {
493 std::fprintf(stderr, "error: %s has no entry point\n", main_module.name.c_str()); 662 std::fprintf(stderr, "error: %s has no entry point\n", main_module.name.c_str());
494 return 1; 663 return 1;
495 } 664 }
496 const std::wstring paths = L"console paths: GAME: -> " + game_dir.native() + L", writes -> " + overlay_dir.native(); 665 const std::filesystem::path scratch_dir = rt::fs::scratch_dir();
666 const std::wstring paths = L"console paths: GAME: -> " + game_dir.native() + L", writes -> " +
667 overlay_dir.native() + L", T: -> " + scratch_dir.native();
497 const HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE); 668 const HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE);
498 DWORD mode; 669 DWORD mode;
499 bool printed = false; 670 bool printed = false;
@@ -506,18 +677,25 @@ int wmain(int argc, wchar_t** argv) {
506 if (!printed) { 677 if (!printed) {
507 const auto game = game_dir.u8string(); 678 const auto game = game_dir.u8string();
508 const auto overlay = overlay_dir.u8string(); 679 const auto overlay = overlay_dir.u8string();
509 std::printf("console paths: GAME: -> %s, writes -> %s\n", 680 const auto scratch = scratch_dir.u8string();
510 reinterpret_cast<const char*>(game.c_str()), reinterpret_cast<const char*>(overlay.c_str())); 681 std::printf("console paths: GAME: -> %s, writes -> %s, T: -> %s\n",
682 reinterpret_cast<const char*>(game.c_str()), reinterpret_cast<const char*>(overlay.c_str()),
683 reinterpret_cast<const char*>(scratch.c_str()));
511 } 684 }
512 std::printf("running %s\n", main_module.name.c_str()); 685 std::printf("running %s\n", main_module.name.c_str());
513 std::fflush(stdout); 686 std::fflush(stdout);
514 keep_title_watchdog_kicked(main_module.base); 687 keep_title_watchdog_kicked(main_module.base);
515 start_title_peek(main_module.base); 688 start_title_peek(main_module.base);
689 leonida::dev_overlay::start(); // LEONIDA_DEV_OVERLAY=1
516 leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic) 690 leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic)
517#ifdef LEONIDA_VULKAN_DEVICE 691#ifdef LEONIDA_VULKAN_DEVICE
518 SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE); 692 SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE);
693 previous_fatal_filter = SetUnhandledExceptionFilter(&save_caches_on_fatal_exception);
519#endif 694#endif
520 int code; 695 int code;
696#ifdef LEONIDA_VULKAN_DEVICE
697 leonida::thread_stack_hook.store(&rt::print_thread_stacks_now, std::memory_order_release);
698#endif
521 { 699 {
522 auto stacks = rt::start_thread_stacks(); 700 auto stacks = rt::start_thread_stacks();
523 code = rt::process::run_entry(main_module.base + main_module.entry_rva); 701 code = rt::process::run_entry(main_module.base + main_module.entry_rva);
@@ -536,6 +714,7 @@ int wmain(int argc, wchar_t** argv) {
536 rt::d3d12_xs::stop_list_values(500); 714 rt::d3d12_xs::stop_list_values(500);
537#ifdef LEONIDA_VULKAN_DEVICE 715#ifdef LEONIDA_VULKAN_DEVICE
538 rt::d3d12::stop_pipeline_compiles(kExitCompileWaitMs); 716 rt::d3d12::stop_pipeline_compiles(kExitCompileWaitMs);
717 rt::d3d12::save_pipeline_caches_at_exit(kExitCacheWaitMs);
539#endif 718#endif
540 rt::cleanup_tls_clones(); 719 rt::cleanup_tls_clones();
541 ExitProcess(static_cast<UINT>(code)); 720 ExitProcess(static_cast<UINT>(code));
diff --git a/runtime/src/mem_probe.h b/runtime/src/mem_probe.h
index a36d38bfe..f8c573da4 100644
--- a/runtime/src/mem_probe.h
+++ b/runtime/src/mem_probe.h
@@ -9,12 +9,18 @@
9// other PE private memory (runtime + title heaps), PE images, PE sections, memory the Vulkan 9// other PE private memory (runtime + title heaps), PE images, PE sections, memory the Vulkan
10// driver mapped for us, /dev/nvidia* mappings, other native (Unix-side) anonymous memory 10// driver mapped for us, /dev/nvidia* mappings, other native (Unix-side) anonymous memory
11// (driver heaps, glibc arenas), and files. 11// (driver heaps, glibc arenas), and files.
12// [rt] mem-probe breakdown: the same allocations by consumer (src/memory_breakdown.h): the arena with its reserved,
13// bound and in-use bytes, geometry copies, title windows and shadows, upload heaps, staging,
14// texture blocks, sampled textures, render targets and depth, and other, which add up to the
15// allocated bytes of the t= line.
12// The Vulkan counts come from wrapping the runtime's own function table (install()); helpers that load their own 16// The Vulkan counts come from wrapping the runtime's own function table (install()); helpers that load their own
13// pointers (depth24, predicate, xdxr, swapchain) are not counted: they create a handful of objects. 17// pointers (depth24, predicate, xdxr, swapchain) are not counted: they create a handful of objects.
14 18
15#include <windows.h> 19#include <windows.h>
16#include <vulkan/vulkan.h> 20#include <vulkan/vulkan.h>
17 21
22#include "memory_breakdown.h"
23
18#include <algorithm> 24#include <algorithm>
19#include <atomic> 25#include <atomic>
20#include <cctype> 26#include <cctype>
@@ -40,6 +46,8 @@ struct Allocation {
40 bool imported = false; 46 bool imported = false;
41 std::uintptr_t mapped = 0; 47 std::uintptr_t mapped = 0;
42 std::uint64_t mapped_bytes = 0; 48 std::uint64_t mapped_bytes = 0;
49 // Who asked for it (an Owner scope at the allocation), or what was bound to it later (bind_image_memory).
50 memory_breakdown::Consumer consumer = memory_breakdown::Consumer::other;
43}; 51};
44 52
45struct State { 53struct State {
@@ -52,11 +60,15 @@ struct State {
52 PFN_vkCreateGraphicsPipelines create_graphics = nullptr; 60 PFN_vkCreateGraphicsPipelines create_graphics = nullptr;
53 PFN_vkCreateComputePipelines create_compute = nullptr; 61 PFN_vkCreateComputePipelines create_compute = nullptr;
54 PFN_vkDestroyPipeline destroy_pipeline = nullptr; 62 PFN_vkDestroyPipeline destroy_pipeline = nullptr;
63 PFN_vkCreateImage create_image = nullptr;
64 PFN_vkDestroyImage destroy_image = nullptr;
65 PFN_vkBindImageMemory bind_image = nullptr;
55 66
56 std::mutex mutex; 67 std::mutex mutex;
57 std::unordered_map<VkDeviceMemory, Allocation> allocations; 68 std::unordered_map<VkDeviceMemory, Allocation> allocations;
58 std::unordered_map<VkShaderModule, std::uint64_t> modules; 69 std::unordered_map<VkShaderModule, std::uint64_t> modules;
59 std::unordered_map<VkPipeline, std::uint8_t> pipelines; // 0 graphics, 1 compute 70 std::unordered_map<VkPipeline, std::uint8_t> pipelines; // 0 graphics, 1 compute
71 std::unordered_map<VkImage, std::uint32_t> image_usage; // VkImageUsageFlags of each live image
60 std::uint64_t module_bytes = 0, modules_made = 0, module_bytes_made = 0; 72 std::uint64_t module_bytes = 0, modules_made = 0, module_bytes_made = 0;
61 std::uint64_t graphics_live = 0, compute_live = 0, graphics_made = 0, compute_made = 0; 73 std::uint64_t graphics_live = 0, compute_live = 0, graphics_made = 0, compute_made = 0;
62 std::uint64_t graphics_ns = 0, compute_ns = 0; // time inside vkCreate*Pipelines 74 std::uint64_t graphics_ns = 0, compute_ns = 0; // time inside vkCreate*Pipelines
@@ -94,7 +106,8 @@ inline VKAPI_ATTR VkResult VKAPI_CALL allocate_memory(VkDevice device, const VkM
94 const VkResult result = s.allocate(device, info, callbacks, out); 106 const VkResult result = s.allocate(device, info, callbacks, out);
95 if (result == VK_SUCCESS && out && *out) { 107 if (result == VK_SUCCESS && out && *out) {
96 std::lock_guard lock(s.mutex); 108 std::lock_guard lock(s.mutex);
97 s.allocations[*out] = {info->memoryTypeIndex, info->allocationSize, imported_memory(info), 0, 0}; 109 s.allocations[*out] = {info->memoryTypeIndex, info->allocationSize, imported_memory(info), 0, 0,
110 memory_breakdown::current_owner()};
98 } 111 }
99 return result; 112 return result;
100} 113}
@@ -132,6 +145,43 @@ inline VKAPI_ATTR void VKAPI_CALL unmap_memory(VkDevice device, VkDeviceMemory m
132 s.unmap(device, memory); 145 s.unmap(device, memory);
133} 146}
134 147
148inline VKAPI_ATTR VkResult VKAPI_CALL create_image(VkDevice device, const VkImageCreateInfo* info,
149 const VkAllocationCallbacks* callbacks, VkImage* out) {
150 State& s = state();
151 const VkResult result = s.create_image(device, info, callbacks, out);
152 if (result == VK_SUCCESS && out && *out) {
153 std::lock_guard lock(s.mutex);
154 s.image_usage[*out] = info->usage;
155 }
156 return result;
157}
158
159inline VKAPI_ATTR void VKAPI_CALL destroy_image(VkDevice device, VkImage image, const VkAllocationCallbacks* callbacks) {
160 State& s = state();
161 if (image) {
162 std::lock_guard lock(s.mutex);
163 s.image_usage.erase(image);
164 }
165 s.destroy_image(device, image, callbacks);
166}
167
168// Memory nobody named that an image is bound to is that image's: a render target or depth buffer, or a sampled
169// texture. A named block (the texture blocks) keeps its name, whatever is bound into it.
170inline VKAPI_ATTR VkResult VKAPI_CALL bind_image_memory(VkDevice device, VkImage image, VkDeviceMemory memory,
171 VkDeviceSize offset) {
172 State& s = state();
173 const VkResult result = s.bind_image(device, image, memory, offset);
174 if (result == VK_SUCCESS) {
175 std::lock_guard lock(s.mutex);
176 const auto a = s.allocations.find(memory);
177 const auto u = s.image_usage.find(image);
178 if (a != s.allocations.end() && u != s.image_usage.end() &&
179 a->second.consumer == memory_breakdown::Consumer::other)
180 a->second.consumer = memory_breakdown::image_consumer(u->second);
181 }
182 return result;
183}
184
135inline VKAPI_ATTR VkResult VKAPI_CALL create_shader_module(VkDevice device, const VkShaderModuleCreateInfo* info, 185inline VKAPI_ATTR VkResult VKAPI_CALL create_shader_module(VkDevice device, const VkShaderModuleCreateInfo* info,
136 const VkAllocationCallbacks* callbacks, 186 const VkAllocationCallbacks* callbacks,
137 VkShaderModule* out) { 187 VkShaderModule* out) {
@@ -246,7 +296,8 @@ void install(Functions& vk) {
246 if (s.installed++) return; 296 if (s.installed++) return;
247 if (!vk.vkAllocateMemory || !vk.vkFreeMemory || !vk.vkMapMemory || !vk.vkUnmapMemory || 297 if (!vk.vkAllocateMemory || !vk.vkFreeMemory || !vk.vkMapMemory || !vk.vkUnmapMemory ||
248 !vk.vkCreateShaderModule || !vk.vkDestroyShaderModule || !vk.vkCreateGraphicsPipelines || 298 !vk.vkCreateShaderModule || !vk.vkDestroyShaderModule || !vk.vkCreateGraphicsPipelines ||
249 !vk.vkCreateComputePipelines || !vk.vkDestroyPipeline) 299 !vk.vkCreateComputePipelines || !vk.vkDestroyPipeline || !vk.vkCreateImage || !vk.vkDestroyImage ||
300 !vk.vkBindImageMemory)
250 return; 301 return;
251 s.started = GetTickCount64(); 302 s.started = GetTickCount64();
252 s.allocate = vk.vkAllocateMemory, vk.vkAllocateMemory = allocate_memory; 303 s.allocate = vk.vkAllocateMemory, vk.vkAllocateMemory = allocate_memory;
@@ -258,6 +309,9 @@ void install(Functions& vk) {
258 s.create_graphics = vk.vkCreateGraphicsPipelines, vk.vkCreateGraphicsPipelines = create_graphics_pipelines; 309 s.create_graphics = vk.vkCreateGraphicsPipelines, vk.vkCreateGraphicsPipelines = create_graphics_pipelines;
259 s.create_compute = vk.vkCreateComputePipelines, vk.vkCreateComputePipelines = create_compute_pipelines; 310 s.create_compute = vk.vkCreateComputePipelines, vk.vkCreateComputePipelines = create_compute_pipelines;
260 s.destroy_pipeline = vk.vkDestroyPipeline, vk.vkDestroyPipeline = destroy_pipeline; 311 s.destroy_pipeline = vk.vkDestroyPipeline, vk.vkDestroyPipeline = destroy_pipeline;
312 s.create_image = vk.vkCreateImage, vk.vkCreateImage = create_image;
313 s.destroy_image = vk.vkDestroyImage, vk.vkDestroyImage = destroy_image;
314 s.bind_image = vk.vkBindImageMemory, vk.vkBindImageMemory = bind_image_memory;
261 std::fprintf(stderr, "[rt] mem-probe: installed, every %u s\n", interval_seconds()); 315 std::fprintf(stderr, "[rt] mem-probe: installed, every %u s\n", interval_seconds());
262} 316}
263 317
@@ -451,6 +505,7 @@ inline std::string read_rollup() {
451struct DeviceFacts { 505struct DeviceFacts {
452 std::function<std::string()> describe; // one text fragment 506 std::function<std::string()> describe; // one text fragment
453 std::function<Ranges()> title_ranges; // the title's memory 507 std::function<Ranges()> title_ranges; // the title's memory
508 std::function<memory_breakdown::DeviceShare()> share; // the arena and the bindless tables, for the breakdown
454 VkPhysicalDeviceMemoryProperties memory{}; 509 VkPhysicalDeviceMemoryProperties memory{};
455}; 510};
456 511
@@ -477,6 +532,7 @@ inline void sample(const DeviceFacts& facts) {
477 std::uint64_t type_count[VK_MAX_MEMORY_TYPES] = {}, type_bytes[VK_MAX_MEMORY_TYPES] = {}; 532 std::uint64_t type_count[VK_MAX_MEMORY_TYPES] = {}, type_bytes[VK_MAX_MEMORY_TYPES] = {};
478 std::uint64_t import_count[VK_MAX_MEMORY_TYPES] = {}, import_bytes[VK_MAX_MEMORY_TYPES] = {}; 533 std::uint64_t import_count[VK_MAX_MEMORY_TYPES] = {}, import_bytes[VK_MAX_MEMORY_TYPES] = {};
479 Ranges vk_mapped; 534 Ranges vk_mapped;
535 memory_breakdown::Tally tally;
480 std::uint64_t modules = 0, module_bytes = 0, modules_made = 0, module_bytes_made = 0; 536 std::uint64_t modules = 0, module_bytes = 0, modules_made = 0, module_bytes_made = 0;
481 std::uint64_t graphics = 0, compute = 0, graphics_made = 0, compute_made = 0, graphics_ns = 0, compute_ns = 0; 537 std::uint64_t graphics = 0, compute = 0, graphics_made = 0, compute_made = 0, graphics_ns = 0, compute_ns = 0;
482 { 538 {
@@ -491,6 +547,7 @@ inline void sample(const DeviceFacts& facts) {
491 type_bytes[i] += a.bytes; 547 type_bytes[i] += a.bytes;
492 } 548 }
493 if (a.mapped && !a.imported) vk_mapped.push_back({a.mapped, a.mapped + a.mapped_bytes}); 549 if (a.mapped && !a.imported) vk_mapped.push_back({a.mapped, a.mapped + a.mapped_bytes});
550 tally.add(a.consumer, a.bytes, a.imported);
494 } 551 }
495 modules = s.modules.size(); 552 modules = s.modules.size();
496 module_bytes = s.module_bytes; 553 module_bytes = s.module_bytes;
@@ -527,6 +584,10 @@ inline void sample(const DeviceFacts& facts) {
527 (unsigned long long)compute_made, double(graphics_ns) / 1e9, double(compute_ns) / 1e9, 584 (unsigned long long)compute_made, double(graphics_ns) / 1e9, double(compute_ns) / 1e9,
528 (unsigned long long)modules, mib(module_bytes), (unsigned long long)modules_made, 585 (unsigned long long)modules, mib(module_bytes), (unsigned long long)modules_made,
529 mib(module_bytes_made), memory_text.c_str(), facts.describe ? facts.describe().c_str() : ""); 586 mib(module_bytes_made), memory_text.c_str(), facts.describe ? facts.describe().c_str() : "");
587 std::fprintf(stderr, "[rt] mem-probe breakdown t=%.0fs: %s\n", t,
588 memory_breakdown::format(tally, facts.share ? facts.share() : memory_breakdown::DeviceShare{},
589 module_bytes)
590 .c_str());
530 Ranges title = facts.title_ranges ? facts.title_ranges() : Ranges{}; 591 Ranges title = facts.title_ranges ? facts.title_ranges() : Ranges{};
531 std::sort(title.begin(), title.end()); 592 std::sort(title.begin(), title.end());
532 Usage usage[b_count]; 593 Usage usage[b_count];
diff --git a/runtime/src/memory_breakdown.h b/runtime/src/memory_breakdown.h
new file mode 100644
index 000000000..7e2ae7057
--- /dev/null
+++ b/runtime/src/memory_breakdown.h
@@ -0,0 +1,152 @@
1#pragma once
2
3// The mem probe's breakdown line (src/mem_probe.h, LEONIDA_MEM_PROBE=<seconds>): the runtime's own vkAllocateMemory
4// bytes split by the consumer that asked for them, so the parts add up to the total the probe's `mem-probe t=` line
5// prints per memory type. Diagnostic only: nothing here changes what is allocated or where.
6//
7// A consumer is named in one of two ways:
8// - by the caller: an Owner scope around the call that allocates (the arena, the geometry copies' and title
9// windows' 4 MiB blocks, upload heaps, staging, the texture blocks). The probe's vkAllocateMemory wrapper reads
10// the scope of the thread it runs on;
11// - by what is bound to it: memory nobody named that a dedicated image is bound to is a render target or depth
12// buffer when the image is an attachment, else a sampled texture (image_consumer()).
13// Memory named neither way is "other", so the parts always sum to the total.
14//
15// Pure standard library (the usage bits are passed in as plain integers), so the tally and the text are tested
16// without a GPU or Windows (memory_breakdown_test).
17
18#include <array>
19#include <cstdint>
20#include <cstdio>
21#include <string>
22
23namespace leonida::memory_breakdown {
24
25enum class Consumer : std::uint8_t {
26 other, // nobody named it and no image is bound to it
27 arena, // the GPU address arena's memory (docs/d3d12_vulkan.md section 3.3)
28 geometry, // geometry copies: GeometryViews' 4 MiB blocks (shims/d3d12_geometry_views.h)
29 windows, // title windows outside the arena and slot-133 shadow buffers with their own memory
30 upload, // upload and readback heap buffers with their own memory
31 staging, // texture staging and copy scratch
32 image_blocks, // blocks that hold many textures (ImageMemory, TitleImagePool)
33 sampled, // dedicated memory of a texture that is not an attachment
34 render_target, // dedicated memory of a colour or depth/stencil attachment
35 count
36};
37
38constexpr std::size_t kConsumers = std::size_t(Consumer::count);
39
40inline const char* consumer_name(Consumer c) {
41 switch (c) {
42 case Consumer::other: return "other";
43 case Consumer::arena: return "arena";
44 case Consumer::geometry: return "geometry copies";
45 case Consumer::windows: return "title windows and shadows";
46 case Consumer::upload: return "upload heaps";
47 case Consumer::staging: return "staging";
48 case Consumer::image_blocks: return "texture blocks";
49 case Consumer::sampled: return "sampled textures";
50 case Consumer::render_target: return "render targets and depth";
51 default: return "?";
52 }
53}
54
55// VkImageUsageFlagBits values, as plain integers so this header needs no Vulkan headers.
56constexpr std::uint32_t kColorAttachment = 0x10; // VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
57constexpr std::uint32_t kDepthStencilAttachment = 0x20; // VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
58
59// The consumer of memory an image of `usage` is bound to, when nobody named the memory.
60inline Consumer image_consumer(std::uint32_t usage) {
61 return usage & (kColorAttachment | kDepthStencilAttachment) ? Consumer::render_target : Consumer::sampled;
62}
63
64// The consumer the calling thread allocates for. Set by an Owner scope; Consumer::other outside one.
65inline Consumer& current_owner() {
66 thread_local Consumer owner = Consumer::other;
67 return owner;
68}
69
70// Names the consumer of the allocations this thread makes while the scope lives. Scopes nest: the inner one wins
71// and the outer one is back when it ends.
72class Owner {
73public:
74 explicit Owner(Consumer consumer) : previous_(current_owner()) { current_owner() = consumer; }
75 ~Owner() { current_owner() = previous_; }
76 Owner(const Owner&) = delete;
77 Owner& operator=(const Owner&) = delete;
78
79private:
80 Consumer previous_;
81};
82
83// Live allocations per consumer. Imported memory (host pointers, the title's own pages) is system memory the runtime
84// did not allocate, so it is kept apart, as the probe's total keeps it apart.
85struct Tally {
86 std::array<std::uint64_t, kConsumers> bytes{}, count{};
87 std::uint64_t imported_bytes = 0, imported_count = 0;
88
89 void add(Consumer consumer, std::uint64_t size, bool imported) {
90 if (imported) {
91 imported_bytes += size;
92 ++imported_count;
93 return;
94 }
95 const std::size_t i = std::size_t(consumer) < kConsumers ? std::size_t(consumer) : 0;
96 bytes[i] += size;
97 ++count[i];
98 }
99 std::uint64_t total() const {
100 std::uint64_t sum = 0;
101 for (const std::uint64_t b : bytes) sum += b;
102 return sum;
103 }
104};
105
106// What the device knows about the arena and the tables outside the probe's wrapped allocations.
107struct DeviceShare {
108 bool arena = false;
109 std::uint64_t arena_reserved = 0; // the arena's size: the address range shaders may name
110 std::uint64_t arena_bound = 0; // bytes of memory behind it
111 std::uint64_t arena_in_use = 0; // bytes allocations hold
112 // arena_in_use by kind, as DeviceState::ArenaUse: buffers, descriptor heaps, shader code, heaps
113 std::array<std::uint64_t, 4> arena_use{};
114 std::uint64_t bindless_table_bytes = 0; // allocated by BindlessSet through its own function table
115};
116
117inline double mib(std::uint64_t bytes) { return double(bytes) / 1048576.0; }
118
119// The breakdown line's text after "[rt] mem-probe breakdown t=<s>: ". Every consumer is printed, zero or not, so a
120// reader can line up two ticks; the figures are whole MiB.
121inline std::string format(const Tally& tally, const DeviceShare& device, std::uint64_t module_bytes) {
122 std::string out;
123 char item[256];
124 std::snprintf(item, sizeof item, "allocated %.0f MiB =", mib(tally.total()));
125 out += item;
126 bool first = true;
127 for (std::size_t i = 1; i <= kConsumers; ++i) {
128 const std::size_t c = i % kConsumers; // "other" last
129 std::snprintf(item, sizeof item, "%s %s %.0f (%llu)", first ? "" : " +", consumer_name(Consumer(c)),
130 mib(tally.bytes[c]), (unsigned long long)tally.count[c]);
131 out += item;
132 first = false;
133 if (Consumer(c) == Consumer::arena && device.arena) {
134 std::snprintf(item, sizeof item,
135 " [reserved %.0f, bound %.0f, in use %.0f: buffers %.0f, descriptor heaps %.0f, shader code "
136 "%.0f, heaps %.0f]",
137 mib(device.arena_reserved), mib(device.arena_bound), mib(device.arena_in_use),
138 mib(device.arena_use[0]), mib(device.arena_use[1]), mib(device.arena_use[2]),
139 mib(device.arena_use[3]));
140 out += item;
141 }
142 }
143 std::snprintf(item, sizeof item,
144 "; imported %.0f MiB (%llu); not in the total: bindless tables %.0f MiB (own function table), shader "
145 "modules %.0f MiB SPIR-V, pipelines and swapchain images (the driver's)",
146 mib(tally.imported_bytes), (unsigned long long)tally.imported_count,
147 mib(device.bindless_table_bytes), mib(module_bytes));
148 out += item;
149 return out;
150}
151
152} // namespace leonida::memory_breakdown
diff --git a/runtime/src/memory_figures.h b/runtime/src/memory_figures.h
new file mode 100644
index 000000000..8bf611553
--- /dev/null
+++ b/runtime/src/memory_figures.h
@@ -0,0 +1,147 @@
1#pragma once
2// The memory figures that the title HUD (shims/title_hud.h, LEONIDA_TITLE_HUD) and the dev overlay (dev_overlay.h,
3// LEONIDA_DEV_OVERLAY) both show, and the text for each. Both views use this header, so they show the same figures
4// and the same "n/a" where there is no figure, never a false 0:
5// GPU memory: in use and the budget over the device-local heaps, and in use in the other heaps, from the device's
6// VK_EXT_memory_budget (vulkan_memory_budget.h reads it). The device publishes a reader here (publish_vram_reader)
7// because the overlay runs outside the device, and latest_vram() calls it at most once per refresh_ms.
8// Private memory: the process's commit charge. Wine fills only PagefileUsage, which on Windows 8 and later is the
9// same figure as PrivateUsage.
10// No Vulkan here, and Win32 only under _WIN32, so the overlay's test builds on every host.
11#ifdef _WIN32
12#ifndef NOMINMAX
13#define NOMINMAX
14#endif
15#include <windows.h>
16#include <psapi.h>
17#ifdef _MSC_VER
18#pragma comment(lib, "psapi.lib")
19#endif
20#endif
21
22#include <algorithm>
23#include <chrono>
24#include <cstdint>
25#include <cstdio>
26#include <mutex>
27#include <string>
28
29namespace leonida {
30
31struct VramBudget {
32 // False when there is nothing to show: no VK_EXT_memory_budget on the device, no device, or a device that
33 // reports no budget for any DEVICE_LOCAL heap. The views show "n/a" then, not a 0.
34 bool available = false;
35 std::uint64_t local_usage = 0; // heapUsage summed over the DEVICE_LOCAL heaps
36 std::uint64_t local_budget = 0; // heapBudget summed over the DEVICE_LOCAL heaps
37 std::uint64_t shared_usage = 0; // heapUsage summed over the other heaps: system memory the GPU uses
38};
39
40namespace memory_figures {
41
42inline double gb(std::uint64_t bytes) { return double(bytes) / double(1ull << 30); }
43
44// "VRAM 3.5/16.0 GB +0.5 shared", or "VRAM n/a".
45inline std::string vram_text(const VramBudget& vram) {
46 if (!vram.available) return "VRAM n/a";
47 char text[96];
48 std::snprintf(text, sizeof text, "VRAM %.1f/%.1f GB +%.1f shared", gb(vram.local_usage), gb(vram.local_budget),
49 gb(vram.shared_usage));
50 return text;
51}
52
53struct ProcessMemory {
54 bool read = false; // GetProcessMemoryInfo answered
55 std::uint64_t private_usage = 0, pagefile_usage = 0, working_set = 0;
56};
57
58// The commit charge. PrivateUsage and PagefileUsage are the same figure on Windows 8 and later. Wine's
59// GetProcessMemoryInfo writes only the PROCESS_MEMORY_COUNTERS part, so PrivateUsage reads 0 there.
60inline std::uint64_t private_bytes(const ProcessMemory& memory) {
61 return (std::max)(memory.private_usage, memory.pagefile_usage); // parenthesised: windows.h may define max
62}
63
64// "RAM 2.5 GB (ws 1.0)". "RAM n/a (ws 1.0)" when the private bytes read 0, "RAM n/a" when nothing could be read.
65inline std::string ram_text(const ProcessMemory& memory) {
66 char text[96];
67 if (!memory.read)
68 std::snprintf(text, sizeof text, "RAM n/a");
69 else if (const std::uint64_t bytes = private_bytes(memory); !bytes)
70 std::snprintf(text, sizeof text, "RAM n/a (ws %.1f)", gb(memory.working_set));
71 else
72 std::snprintf(text, sizeof text, "RAM %.1f GB (ws %.1f)", gb(bytes), gb(memory.working_set));
73 return text;
74}
75
76#ifdef _WIN32
77// This process's figures now.
78inline ProcessMemory process_memory() {
79 PROCESS_MEMORY_COUNTERS_EX counters{};
80 counters.cb = sizeof counters;
81 ProcessMemory out;
82 if (!GetProcessMemoryInfo(GetCurrentProcess(), reinterpret_cast<PROCESS_MEMORY_COUNTERS*>(&counters),
83 sizeof counters))
84 return out;
85 out.read = true;
86 out.private_usage = counters.PrivateUsage;
87 out.pagefile_usage = counters.PagefileUsage;
88 out.working_set = counters.WorkingSetSize;
89 return out;
90}
91#endif
92
93// The device's figure, published for views outside the device. A device with VK_EXT_memory_budget publishes a reader
94// when it is created and withdraws it first thing when it goes. The views call latest_vram(), which calls the reader at
95// most once per refresh_ms and returns the last figure in between. The lock is held during a read, so withdrawing
96// waits for a read that is in progress, and a reader is never called after its device is gone.
97using VramReader = VramBudget (*)(const void* context);
98inline constexpr std::chrono::milliseconds refresh_ms{500};
99
100class VramPublisher {
101public:
102 void publish(VramReader reader, const void* context) {
103 std::lock_guard lock(mutex_);
104 reader_ = reader;
105 context_ = context;
106 last_ = {};
107 read_ = false;
108 }
109 // Only the device that published the current reader withdraws it. Another device may have published since.
110 void withdraw(const void* context) {
111 std::lock_guard lock(mutex_);
112 if (context_ != context) return;
113 reader_ = nullptr;
114 context_ = nullptr;
115 last_ = {};
116 read_ = false;
117 }
118 VramBudget latest(std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now()) {
119 std::lock_guard lock(mutex_);
120 if (!reader_) return {};
121 if (!read_ || now - at_ >= refresh_ms) {
122 last_ = reader_(context_);
123 at_ = now;
124 read_ = true;
125 }
126 return last_;
127 }
128
129private:
130 std::mutex mutex_;
131 VramReader reader_ = nullptr;
132 const void* context_ = nullptr;
133 VramBudget last_;
134 std::chrono::steady_clock::time_point at_{};
135 bool read_ = false;
136};
137
138inline VramPublisher& vram_publisher() {
139 static VramPublisher instance;
140 return instance;
141}
142inline void publish_vram_reader(VramReader reader, const void* context) { vram_publisher().publish(reader, context); }
143inline void withdraw_vram_reader(const void* context) { vram_publisher().withdraw(context); }
144inline VramBudget latest_vram() { return vram_publisher().latest(); }
145
146} // namespace memory_figures
147} // namespace leonida
diff --git a/runtime/src/native_pso.h b/runtime/src/native_pso.h
index 22427d1f5..16052da36 100644
--- a/runtime/src/native_pso.h
+++ b/runtime/src/native_pso.h
@@ -346,7 +346,8 @@ inline std::uint8_t d3d12_stencil_op(std::uint32_t op, std::uint32_t operand) {
346 346
347// Empty for a state D3D12 cannot express here: clip space other than D3D's, only one of the near/far z clips off, 347// Empty for a state D3D12 cannot express here: clip space other than D3D's, only one of the near/far z clips off,
348// a polygon mode, culling both faces, depth bounds, the colour-write-on-depth flags, a stencil op without a D3D12 op, 348// a polygon mode, culling both faces, depth bounds, the colour-write-on-depth flags, a stencil op without a D3D12 op,
349// or front and back stencil masks that differ (D3D12_DEPTH_STENCIL_DESC has one pair). 349// or two-sided stencil (BACKFACE_ENABLE) with front and back masks that differ (D3D12_DEPTH_STENCIL_DESC has one
350// pair).
350// PA_CL_CLIP_CNTL: DX_CLIP_SPACE_DEF [19], ZCLIP_NEAR_DISABLE [26], ZCLIP_FAR_DISABLE [27]. 351// PA_CL_CLIP_CNTL: DX_CLIP_SPACE_DEF [19], ZCLIP_NEAR_DISABLE [26], ZCLIP_FAR_DISABLE [27].
351// PA_SU_SC_MODE_CNTL: CULL_FRONT [0], CULL_BACK [1], FACE [2] (1: clockwise is front), POLY_MODE [4:3]. 352// PA_SU_SC_MODE_CNTL: CULL_FRONT [0], CULL_BACK [1], FACE [2] (1: clockwise is front), POLY_MODE [4:3].
352// DB_DEPTH_CONTROL: STENCIL_ENABLE [0], Z_ENABLE [1], Z_WRITE_ENABLE [2], DEPTH_BOUNDS_ENABLE [3], ZFUNC [6:4], 353// DB_DEPTH_CONTROL: STENCIL_ENABLE [0], Z_ENABLE [1], Z_WRITE_ENABLE [2], DEPTH_BOUNDS_ENABLE [3], ZFUNC [6:4],
@@ -368,7 +369,10 @@ inline std::optional<DepthRaster> d3d12_depth_raster(const DepthRasterRegisters&
368 s.depth_func = static_cast<std::uint8_t>((d >> 4 & 7) + 1); 369 s.depth_func = static_cast<std::uint8_t>((d >> 4 & 7) + 1);
369 s.stencil_enable = d & 1; 370 s.stencil_enable = d & 1;
370 if (!s.stencil_enable) return s; 371 if (!s.stencil_enable) return s;
371 if ((r.stencil_ref_mask & 0x00ffff00) != (r.stencil_ref_mask_bf & 0x00ffff00)) return std::nullopt; 372 // Without BACKFACE_ENABLE the back face uses the front registers and DB_STENCILREFMASK_BF is ignored, as the
373 // back face's ops and function are below.
374 const bool two_sided = d >> 7 & 1;
375 if (two_sided && (r.stencil_ref_mask & 0x00ffff00) != (r.stencil_ref_mask_bf & 0x00ffff00)) return std::nullopt;
372 s.read_mask = static_cast<std::uint8_t>(r.stencil_ref_mask >> 8); 376 s.read_mask = static_cast<std::uint8_t>(r.stencil_ref_mask >> 8);
373 s.write_mask = static_cast<std::uint8_t>(r.stencil_ref_mask >> 16); 377 s.write_mask = static_cast<std::uint8_t>(r.stencil_ref_mask >> 16);
374 const auto face = [&](std::uint32_t ops, std::uint32_t func, std::uint32_t operand) -> std::optional<StencilFace> { 378 const auto face = [&](std::uint32_t ops, std::uint32_t func, std::uint32_t operand) -> std::optional<StencilFace> {
@@ -381,7 +385,7 @@ inline std::optional<DepthRaster> d3d12_depth_raster(const DepthRasterRegisters&
381 return f; 385 return f;
382 }; 386 };
383 const auto front = face(r.stencil_control, d >> 8 & 7, r.stencil_ref_mask >> 24); 387 const auto front = face(r.stencil_control, d >> 8 & 7, r.stencil_ref_mask >> 24);
384 const auto back = (d >> 7 & 1) ? face(r.stencil_control >> 12, d >> 20 & 7, r.stencil_ref_mask_bf >> 24) : front; 388 const auto back = two_sided ? face(r.stencil_control >> 12, d >> 20 & 7, r.stencil_ref_mask_bf >> 24) : front;
385 if (!front || !back) return std::nullopt; 389 if (!front || !back) return std::nullopt;
386 s.front = *front; 390 s.front = *front;
387 s.back = *back; 391 s.back = *back;
diff --git a/runtime/src/pe_loader.cpp b/runtime/src/pe_loader.cpp
index 3558cffb5..303469b06 100644
--- a/runtime/src/pe_loader.cpp
+++ b/runtime/src/pe_loader.cpp
@@ -2,6 +2,7 @@
2 2
3#include <windows.h> 3#include <windows.h>
4#include <intrin.h> 4#include <intrin.h>
5#include <share.h>
5#include <tlhelp32.h> 6#include <tlhelp32.h>
6 7
7#include <algorithm> 8#include <algorithm>
@@ -10,7 +11,7 @@
10#include <cstdio> 11#include <cstdio>
11#include <cstdlib> 12#include <cstdlib>
12#include <cstring> 13#include <cstring>
13#include <fstream> 14#include <memory>
14#include <mutex> 15#include <mutex>
15#include <stdexcept> 16#include <stdexcept>
16#include <system_error> 17#include <system_error>
@@ -19,8 +20,10 @@
19#include "../shims/shims.h" 20#include "../shims/shims.h"
20#include "../shims/startup_trace.h" 21#include "../shims/startup_trace.h"
21#include "base_reservation.h" 22#include "base_reservation.h"
23#include "bmi_emulation.h"
22#include "clzero_patch.h" 24#include "clzero_patch.h"
23#include "cpu_emulation.h" 25#include "cpu_emulation.h"
26#include "isa_jit_patch.h"
24 27
25namespace rt { 28namespace rt {
26 29
@@ -77,9 +80,16 @@ std::string path_utf8(const std::filesystem::path& path) {
77} 80}
78 81
79std::vector<uint8_t> read_file(const std::filesystem::path& p) { 82std::vector<uint8_t> read_file(const std::filesystem::path& p) {
80 std::ifstream f(p, std::ios::binary); 83 std::unique_ptr<std::FILE, decltype(&std::fclose)> file(
81 if (!f) throw std::runtime_error("cannot open " + path_utf8(p)); 84 _wfsopen(p.c_str(), L"rb", _SH_DENYNO), std::fclose);
82 return {std::istreambuf_iterator<char>(f), {}}; 85 if (!file) throw std::runtime_error("cannot open " + path_utf8(p));
86
87 std::vector<uint8_t> bytes;
88 std::array<uint8_t, 64 * 1024> block;
89 while (const auto count = std::fread(block.data(), 1, block.size(), file.get()))
90 bytes.insert(bytes.end(), block.data(), block.data() + count);
91 if (std::ferror(file.get())) throw std::runtime_error("cannot read " + path_utf8(p));
92 return bytes;
83} 93}
84 94
85template <class T> 95template <class T>
@@ -1341,6 +1351,15 @@ void* bundled_load_w(void* ctx, const std::wstring& basename, uint32_t flags, bo
1341 return static_cast<Loader*>(ctx)->load_runtime_module_w(basename, flags, handled); 1351 return static_cast<Loader*>(ctx)->load_runtime_module_w(basename, flags, handled);
1342} 1352}
1343 1353
1354void* bundled_compat_module(void* ctx, const std::wstring& basename, const std::wstring& name, bool load,
1355 uint32_t flags, bool& handled) {
1356 return static_cast<Loader*>(ctx)->runtime_compat_module(basename, name, load, flags, handled);
1357}
1358
1359bool bundled_owns_compat_handle(void* ctx, void* module) {
1360 return static_cast<Loader*>(ctx)->owns_compat_handle(module);
1361}
1362
1344const shims::BundledModuleOps kBundledOps{ 1363const shims::BundledModuleOps kBundledOps{
1345 &bundled_find_loaded, 1364 &bundled_find_loaded,
1346 &bundled_load, 1365 &bundled_load,
@@ -1348,6 +1367,8 @@ const shims::BundledModuleOps kBundledOps{
1348 &bundled_owns_handle, 1367 &bundled_owns_handle,
1349 &bundled_find_loaded_w, 1368 &bundled_find_loaded_w,
1350 &bundled_load_w, 1369 &bundled_load_w,
1370 &bundled_compat_module,
1371 &bundled_owns_compat_handle,
1351}; 1372};
1352 1373
1353// Marks what a run-time load maps as a dynamic load for as long as it is in scope (the caller holds the mutex). 1374// Marks what a run-time load maps as a dynamic load for as long as it is in scope (the caller holds the mutex).
@@ -1363,7 +1384,18 @@ struct RuntimeLoadScope {
1363Loader::Loader(std::filesystem::path game_dir) : game_dir_(std::move(game_dir)) { 1384Loader::Loader(std::filesystem::path game_dir) : game_dir_(std::move(game_dir)) {
1364 std::vector<wchar_t> compat(32768); 1385 std::vector<wchar_t> compat(32768);
1365 const DWORD n = GetEnvironmentVariableW(L"LEONIDA_COMPAT_DIR", compat.data(), static_cast<DWORD>(compat.size())); 1386 const DWORD n = GetEnvironmentVariableW(L"LEONIDA_COMPAT_DIR", compat.data(), static_cast<DWORD>(compat.size()));
1366 if (n > 0 && n < compat.size()) compat_dir_ = std::filesystem::path(compat.data()); 1387 if (n > 0 && n < compat.size()) {
1388 // Absolute, with backslashes and no trailing separator: LoadLibraryExW with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR
1389 // needs a full path, and owns_compat_handle() compares it with a module's own folder.
1390 std::error_code ec;
1391 compat_dir_ = std::filesystem::absolute(std::filesystem::path(compat.data()), ec).lexically_normal();
1392 compat_dir_.make_preferred();
1393 if (!compat_dir_.has_filename()) compat_dir_ = compat_dir_.parent_path();
1394 for (std::filesystem::directory_iterator it(compat_dir_, ec), end; !ec && it != end; it.increment(ec)) {
1395 std::error_code file_ec;
1396 if (it->is_regular_file(file_ec)) compat_files_.push_back(it->path().filename());
1397 }
1398 }
1367 shims::add_module_lookup(this, &lookup_in_loader); 1399 shims::add_module_lookup(this, &lookup_in_loader);
1368 shims::add_bundled_loader(this, &kBundledOps); 1400 shims::add_bundled_loader(this, &kBundledOps);
1369} 1401}
@@ -1504,6 +1536,8 @@ void* Loader::load_runtime_module_w(const std::wstring& basename, uint32_t flags
1504 if (prefer_host_copy(narrow)) return nullptr; 1536 if (prefer_host_copy(narrow)) return nullptr;
1505 1537
1506 std::lock_guard lock(mutex_); 1538 std::lock_guard lock(mutex_);
1539 // As load_runtime_module: a run-time load, so DllMain gets a null lpvReserved.
1540 const RuntimeLoadScope dynamic(runtime_loads_);
1507 Module* existing = find_wide_module(basename); 1541 Module* existing = find_wide_module(basename);
1508 const std::filesystem::path candidate = game_dir_ / basename; 1542 const std::filesystem::path candidate = game_dir_ / basename;
1509 std::error_code ec; 1543 std::error_code ec;
@@ -1721,10 +1755,7 @@ Module& Loader::map_image(const std::filesystem::path& path, const std::string&
1721 if (!m->base) 1755 if (!m->base)
1722 m->base = static_cast<uint8_t*>(VirtualAlloc(reinterpret_cast<void*>(oh.ImageBase), oh.SizeOfImage, 1756 m->base = static_cast<uint8_t*>(VirtualAlloc(reinterpret_cast<void*>(oh.ImageBase), oh.SizeOfImage,
1723 MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); 1757 MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE));
1724 if (!m->base) { 1758 if (!m->base) { // whether the image may move is decided at the relocation step below
1725 const auto relocs = directory(nt, IMAGE_DIRECTORY_ENTRY_BASERELOC);
1726 if (!relocs.Size)
1727 throw std::runtime_error(m->name + ": preferred base is taken and the image has no relocations");
1728 m->base = static_cast<uint8_t*>(VirtualAlloc(nullptr, oh.SizeOfImage, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); 1759 m->base = static_cast<uint8_t*>(VirtualAlloc(nullptr, oh.SizeOfImage, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE));
1729 if (!m->base) throw std::runtime_error(m->name + ": VirtualAlloc failed"); 1760 if (!m->base) throw std::runtime_error(m->name + ": VirtualAlloc failed");
1730 } 1761 }
@@ -1749,10 +1780,19 @@ Module& Loader::map_image(const std::filesystem::path& path, const std::string&
1749 } 1780 }
1750 1781
1751 int64_t delta = reinterpret_cast<int64_t>(m->base) - static_cast<int64_t>(oh.ImageBase); 1782 int64_t delta = reinterpret_cast<int64_t>(m->base) - static_cast<int64_t>(oh.ImageBase);
1752 if (delta) { 1783 // A moved image with a relocation table is fixed up, whatever IMAGE_FILE_RELOCS_STRIPPED says. Without a table,
1753 m->relocated = true; 1784 // the flag refuses the move; with the flag clear the image is moved and nothing is fixed up, so it is trusted to
1754 const auto dir = directory(nt, IMAGE_DIRECTORY_ENTRY_BASERELOC); 1785 // hold no absolute addresses. The Windows 11 loader does all three (runtime/README.md); that move is logged so
1755 if (!dir.Size) throw std::runtime_error(m->name + ": the image has no relocations and isn't at its base"); 1786 // it shows in traces. base_reservation::needed still keeps the main image's range free when it has no
1787 // relocation directory, so a main image is moved this way only where the range could not be had.
1788 const auto dir = directory(nt, IMAGE_DIRECTORY_ENTRY_BASERELOC);
1789 if (delta) m->relocated = true;
1790 if (delta && !dir.Size && (nt->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED))
1791 throw std::runtime_error(m->name + ": preferred base is taken and the image's relocations are stripped");
1792 if (delta && !dir.Size)
1793 std::fprintf(stderr, "[rt] loader: %s: preferred base %#llx is taken, moved to %p with no relocations\n",
1794 m->name.c_str(), static_cast<unsigned long long>(oh.ImageBase), static_cast<void*>(m->base));
1795 if (delta && dir.Size) {
1756 require_range(m->name, dir.VirtualAddress, dir.Size, m->size, "the relocation table"); 1796 require_range(m->name, dir.VirtualAddress, dir.Size, m->size, "the relocation table");
1757 auto* block = at<IMAGE_BASE_RELOCATION>(m->base, dir.VirtualAddress); 1797 auto* block = at<IMAGE_BASE_RELOCATION>(m->base, dir.VirtualAddress);
1758 auto* end = reinterpret_cast<uint8_t*>(block) + dir.Size; 1798 auto* end = reinterpret_cast<uint8_t*>(block) + dir.Size;
@@ -1884,6 +1924,25 @@ void Loader::initialize_tls(Module& m) {
1884 throw std::runtime_error(m.name + ": reserved TLS index is out of range"); 1924 throw std::runtime_error(m.name + ": reserved TLS index is out of range");
1885 } 1925 }
1886 1926
1927 // An EXE's code may read its TLS at index 0 directly (/GA); index 0 is gta6rt.exe's here (pe_loader.h,
1928 // tls_ga_slot). Patched before any of the image's code runs, TLS callbacks included, and before the owner is
1929 // published below: from then on a thread event (install_thread_block) reads m.tls_ga_slot
1930 // (RT-LOADER-RUNTIME-SCOPE-AND-TLS-SLOT).
1931 if (executable && total && index != 0 && ga_tls_patch_enabled()) {
1932 static const DWORD ga_slot = TlsAlloc();
1933 if (ga_slot == TLS_OUT_OF_INDEXES || ga_slot >= 64) {
1934 std::fprintf(stderr, "[rt] loader: %s: no TlsAlloc slot below 64 for its index-0 TLS reads\n",
1935 m.name.c_str());
1936 } else {
1937 m.tls_ga_sites = patch_ga_tls_reads(m, ga_slot);
1938 if (m.tls_ga_sites) m.tls_ga_slot = ga_slot;
1939 std::fprintf(stderr,
1940 "[rt] loader: %s: %zu index-0 TLS reads (gs:[58h]) now read its own TLS (TlsSlots[%lu]); "
1941 "its module TLS index is %u\n",
1942 m.name.c_str(), m.tls_ga_sites, static_cast<unsigned long>(ga_slot), index);
1943 }
1944 }
1945
1887 // The fields are complete before a thread event can see the owner. 1946 // The fields are complete before a thread event can see the owner.
1888 ExclusiveTlsLock lock; 1947 ExclusiveTlsLock lock;
1889 Module* expected = nullptr; 1948 Module* expected = nullptr;
@@ -1902,26 +1961,6 @@ void Loader::initialize_tls(Module& m) {
1902 // VirtualProtect dance. 1961 // VirtualProtect dance.
1903 if (index_rva) *reinterpret_cast<uint32_t*>(m.base + index_rva) = index; 1962 if (index_rva) *reinterpret_cast<uint32_t*>(m.base + index_rva) = index;
1904 } 1963 }
1905 {
1906 // An EXE's code may read its TLS at index 0 directly (/GA); index 0 is gta6rt.exe's here (pe_loader.h,
1907 // tls_ga_slot). Patched before any of the image's code runs, TLS callbacks included.
1908 const auto* dos = reinterpret_cast<const IMAGE_DOS_HEADER*>(m.base);
1909 const auto* nt = reinterpret_cast<const IMAGE_NT_HEADERS64*>(m.base + dos->e_lfanew);
1910 if (!(nt->FileHeader.Characteristics & IMAGE_FILE_DLL) && total && index != 0 && ga_tls_patch_enabled()) {
1911 static const DWORD ga_slot = TlsAlloc();
1912 if (ga_slot == TLS_OUT_OF_INDEXES || ga_slot >= 64) {
1913 std::fprintf(stderr, "[rt] loader: %s: no TlsAlloc slot below 64 for its index-0 TLS reads\n",
1914 m.name.c_str());
1915 } else {
1916 m.tls_ga_sites = patch_ga_tls_reads(m, ga_slot);
1917 if (m.tls_ga_sites) m.tls_ga_slot = ga_slot;
1918 std::fprintf(stderr,
1919 "[rt] loader: %s: %zu index-0 TLS reads (gs:[58h]) now read its own TLS (TlsSlots[%lu]); "
1920 "its module TLS index is %u\n",
1921 m.name.c_str(), m.tls_ga_sites, static_cast<unsigned long>(ga_slot), index);
1922 }
1923 }
1924 }
1925 try { 1964 try {
1926 install_thread_block(m); 1965 install_thread_block(m);
1927 } catch (...) { 1966 } catch (...) {
@@ -2040,37 +2079,128 @@ void* Loader::resolve_forwarder(const std::string& spec, Binding& binding, int d
2040 return reinterpret_cast<void*>(p); 2079 return reinterpret_cast<void*>(p);
2041} 2080}
2042 2081
2082const std::filesystem::path* Loader::compat_file(const std::wstring& basename) const {
2083 if (basename.empty()) return nullptr;
2084 for (const auto& file : compat_files_)
2085 if (same_module_name(file.c_str(), basename.c_str())) return &file;
2086 return nullptr;
2087}
2088
2089void* Loader::compat_handle(const std::filesystem::path& file, bool load, uint32_t& error) {
2090 error = ERROR_SUCCESS;
2091 const std::string key = lower(path_utf8(file));
2092 if (auto it = compat_modules_.find(key); it != compat_modules_.end()) return it->second;
2093 const std::filesystem::path candidate = compat_dir_ / file;
2094 // Already live without a lookup through here: Windows loaded it from the folder as another compat DLL's
2095 // dependency (LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR), or something loaded it by its path. That is the module a
2096 // static import or a run-time load must share. The reference taken here is kept, as for the DLLs loaded below.
2097 if (HMODULE live = nullptr; GetModuleHandleExW(0, candidate.c_str(), &live) && live) {
2098 compat_modules_.emplace(key, live);
2099 std::fprintf(stderr, "[rt] compat: %s -> %s (already loaded)\n", path_utf8(file).c_str(),
2100 path_utf8(candidate).c_str());
2101 return live;
2102 }
2103 if (!load) return nullptr;
2104 // The full path, with the compat folder on the DLL's own search path for its dependencies; never the game
2105 // folder. Windows maps it, so its CRT, TLS and SEH work as for any host DLL.
2106 // A file Windows cannot map (truncated, wrong machine, not a PE image) otherwise raises a modal "Bad Image"
2107 // box and LoadLibraryExW does not return until someone clicks it: a headless run would hang on a failure
2108 // that the caller reports anyway. The mode is this thread's, and goes back as it was.
2109 DWORD previous_mode = 0;
2110 const bool mode_set = SetThreadErrorMode(GetThreadErrorMode() | SEM_FAILCRITICALERRORS, &previous_mode) != 0;
2111 HMODULE h = LoadLibraryExW(candidate.c_str(), nullptr, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_SYSTEM32);
2112 error = h ? ERROR_SUCCESS : GetLastError();
2113 if (mode_set) SetThreadErrorMode(previous_mode, nullptr);
2114 if (!h) return nullptr;
2115 compat_modules_.emplace(key, h);
2116 std::fprintf(stderr, "[rt] compat: %s -> %s\n", path_utf8(file).c_str(), path_utf8(candidate).c_str());
2117 return h;
2118}
2119
2043bool Loader::resolve_compat(const std::string& key, const std::string& dll, const std::string& name, uint16_t ordinal, 2120bool Loader::resolve_compat(const std::string& key, const std::string& dll, const std::string& name, uint16_t ordinal,
2044 bool by_ordinal, void*& out) { 2121 bool by_ordinal, void*& out) {
2045 out = nullptr; 2122 out = nullptr;
2046 if (compat_dir_.empty() || key.empty() || key.find_first_of("/\\:") != std::string::npos) return false; 2123 if (compat_dir_.empty() || key.empty() || key.find_first_of("/\\:") != std::string::npos) return false;
2047 HMODULE h = nullptr; 2124 const std::filesystem::path* file = compat_file(acp_to_wide(dll));
2048 if (auto it = compat_modules_.find(key); it != compat_modules_.end()) { 2125 if (!file) return false;
2049 h = static_cast<HMODULE>(it->second); 2126 uint32_t error = ERROR_SUCCESS;
2050 } else { 2127 HMODULE h = static_cast<HMODULE>(compat_handle(*file, true, error));
2051 const std::filesystem::path candidate = compat_dir_ / std::filesystem::path(dll); 2128 if (!h)
2052 std::error_code ec; 2129 throw std::runtime_error("LEONIDA_COMPAT_DIR: " + path_utf8(compat_dir_ / *file) +
2053 if (!std::filesystem::is_regular_file(candidate, ec)) return false; 2130 " exists but Windows could not load it (error " + std::to_string(error) + ")");
2054 // The full path, with the compat folder on the DLL's own search path for its dependencies; never the game
2055 // folder. Windows maps it, so its CRT, TLS and SEH work as for any host DLL.
2056 // A file Windows cannot map (truncated, wrong machine, not a PE image) otherwise raises a modal "Bad Image"
2057 // box and LoadLibraryExW does not return until someone clicks it: a headless run would hang on a failure
2058 // that is reported right below anyway. The mode is this thread's, and goes back as it was.
2059 DWORD previous_mode = 0;
2060 const bool mode_set = SetThreadErrorMode(GetThreadErrorMode() | SEM_FAILCRITICALERRORS, &previous_mode) != 0;
2061 h = LoadLibraryExW(candidate.c_str(), nullptr, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_SYSTEM32);
2062 const DWORD load_error = h ? ERROR_SUCCESS : GetLastError();
2063 if (mode_set) SetThreadErrorMode(previous_mode, nullptr);
2064 if (!h)
2065 throw std::runtime_error("LEONIDA_COMPAT_DIR: " + path_utf8(candidate) + " exists but Windows could not " +
2066 "load it (error " + std::to_string(load_error) + ")");
2067 compat_modules_.emplace(key, h);
2068 std::fprintf(stderr, "[rt] compat: %s -> %s\n", dll.c_str(), path_utf8(candidate).c_str());
2069 }
2070 out = reinterpret_cast<void*>(GetProcAddress(h, by_ordinal ? MAKEINTRESOURCEA(ordinal) : name.c_str())); 2131 out = reinterpret_cast<void*>(GetProcAddress(h, by_ordinal ? MAKEINTRESOURCEA(ordinal) : name.c_str()));
2071 return true; 2132 return true;
2072} 2133}
2073 2134
2135void* Loader::runtime_compat_module(const std::wstring& basename, const std::wstring& name, bool load,
2136 uint32_t flags, bool& handled) {
2137 handled = false;
2138 if (compat_dir_.empty()) return nullptr;
2139 std::lock_guard lock(mutex_);
2140 const std::filesystem::path* file = compat_file(basename);
2141 if (!file) return nullptr;
2142 const std::filesystem::path compat_path = compat_dir_ / *file;
2143 // A name with a directory names one file, which Windows would load even when another of the same name is in use:
2144 // the compat DLL answers it only when it is that file (".dll" added as LoadLibrary adds it). Any other path goes
2145 // on as without the folder.
2146 if (name.find_first_of(L"\\/:") != std::wstring::npos) {
2147 std::filesystem::path given(name);
2148 given.replace_filename(basename);
2149 std::error_code ec;
2150 if (!std::filesystem::equivalent(given, compat_path, ec)) return nullptr;
2151 }
2152 handled = true;
2153 // DONT_RESOLVE_DLL_REFERENCES maps a DLL without its dependencies, TLS or DllMain. The compat DLL is shared with
2154 // static imports, initialised, so refuse it before loading or returning a handle, as for bundled DLLs
2155 // (load_runtime_candidate).
2156 if (load && (flags & DONT_RESOLVE_DLL_REFERENCES) != 0) {
2157 std::fprintf(stderr, "[rt] compat: LoadLibraryEx(%s, DONT_RESOLVE_DLL_REFERENCES) is not supported\n",
2158 path_utf8(compat_path).c_str());
2159 SetLastError(ERROR_NOT_SUPPORTED);
2160 return nullptr;
2161 }
2162 uint32_t error = ERROR_SUCCESS;
2163 void* h = compat_handle(*file, load, error);
2164 if (!h && load) {
2165 // As a LoadLibrary of a file Windows refuses: null and its error, never the shim (the player put the DLL
2166 // there to own the module).
2167 std::fprintf(stderr, "[rt] compat: %s exists but Windows could not load it (error %u, run-time load)\n",
2168 path_utf8(compat_path).c_str(), error);
2169 SetLastError(error);
2170 } else if (!h) {
2171 SetLastError(ERROR_MOD_NOT_FOUND); // GetModuleHandle of a module nothing has loaded yet
2172 }
2173 return h;
2174}
2175
2176bool Loader::owns_compat_handle(void* module) {
2177 if (!module || compat_dir_.empty()) return false;
2178 {
2179 std::lock_guard lock(mutex_);
2180 for (const auto& [key, h] : compat_modules_)
2181 if (h == module) return true;
2182 }
2183 // A DLL from the folder that no lookup has seen yet (Windows loaded it as another compat DLL's dependency): its
2184 // exports are its own too. Recorded, with a kept reference, through compat_handle(). GetModuleFileNameW can take
2185 // the Windows loader lock, so the path is read without mutex_ held; compat_dir_ and compat_files_ do not change
2186 // after construction.
2187 std::vector<wchar_t> path(MAX_PATH);
2188 DWORD length = 0;
2189 for (;;) {
2190 length = GetModuleFileNameW(static_cast<HMODULE>(module), path.data(), static_cast<DWORD>(path.size()));
2191 if (!length || length < path.size() || path.size() >= 32768) break;
2192 path.resize(path.size() * 2);
2193 }
2194 if (!length || length >= path.size()) return false;
2195 const std::filesystem::path file(std::wstring(path.data(), length));
2196 if (!same_module_name(file.parent_path().c_str(), compat_dir_.c_str())) return false;
2197 const std::filesystem::path* entry = compat_file(file.filename().native());
2198 if (!entry) return false;
2199 std::lock_guard lock(mutex_);
2200 uint32_t error = ERROR_SUCCESS;
2201 return compat_handle(*entry, false, error) == module;
2202}
2203
2074void* Loader::resolve(Module& m, const std::string& dll, const std::string& name, uint16_t ordinal, bool by_ordinal) { 2204void* Loader::resolve(Module& m, const std::string& dll, const std::string& name, uint16_t ordinal, bool by_ordinal) {
2075 std::string key = lower(dll); 2205 std::string key = lower(dll);
2076 std::string sym = by_ordinal ? "#" + std::to_string(ordinal) : name; 2206 std::string sym = by_ordinal ? "#" + std::to_string(ordinal) : name;
@@ -2123,7 +2253,10 @@ void Loader::bind_imports(Module& m) {
2123 const uint64_t headers_end = nt->OptionalHeader.SizeOfHeaders; 2253 const uint64_t headers_end = nt->OptionalHeader.SizeOfHeaders;
2124 2254
2125 // Thunk tables have no length field: they end at a zero entry, so each step is checked against the image. 2255 // Thunk tables have no length field: they end at a zero entry, so each step is checked against the image.
2126 auto bind_thunks = [&](const std::string& dll, uint64_t lookup_rva, uint64_t iat_rva) { 2256 // `delayed`: a delay import that binds to an unimplemented thunk is traced. Windows' delay-load helper would raise
2257 // 0xC06D007E (module) or 0xC06D007F (procedure) at its first call, which a title can catch for a fallback; the
2258 // thunk returns 0 instead, so the trace names each such import before any image code runs.
2259 auto bind_thunks = [&](const std::string& dll, uint64_t lookup_rva, uint64_t iat_rva, bool delayed) {
2127 for (;; lookup_rva += sizeof(IMAGE_THUNK_DATA64), iat_rva += sizeof(IMAGE_THUNK_DATA64)) { 2260 for (;; lookup_rva += sizeof(IMAGE_THUNK_DATA64), iat_rva += sizeof(IMAGE_THUNK_DATA64)) {
2128 require_range(m.name, lookup_rva, sizeof(IMAGE_THUNK_DATA64), m.size, "an import lookup table"); 2261 require_range(m.name, lookup_rva, sizeof(IMAGE_THUNK_DATA64), m.size, "an import lookup table");
2129 require_range(m.name, iat_rva, sizeof(IMAGE_THUNK_DATA64), m.size, "an import address table"); 2262 require_range(m.name, iat_rva, sizeof(IMAGE_THUNK_DATA64), m.size, "an import address table");
@@ -2141,6 +2274,10 @@ void Loader::bind_imports(Module& m) {
2141 throw std::runtime_error(m.name + ": an import address table lands in the headers"); 2274 throw std::runtime_error(m.name + ": an import address table lands in the headers");
2142 at<IMAGE_THUNK_DATA64>(m.base, static_cast<uint32_t>(iat_rva))->u1.Function = 2275 at<IMAGE_THUNK_DATA64>(m.base, static_cast<uint32_t>(iat_rva))->u1.Function =
2143 reinterpret_cast<uint64_t>(resolve(m, dll, name, ord, by_ord)); 2276 reinterpret_cast<uint64_t>(resolve(m, dll, name, ord, by_ord));
2277 if (delayed && startup_trace::enabled() && m.imports.back().binding == Binding::Unimplemented)
2278 startup_trace::event("delay_import_unimplemented",
2279 "\"module\":" + startup_trace::quote(m.name) + ",\"import\":" +
2280 startup_trace::quote(dll + "!" + m.imports.back().name));
2144 } 2281 }
2145 }; 2282 };
2146 2283
@@ -2153,7 +2290,7 @@ void Loader::bind_imports(Module& m) {
2153 if (!d->Name) break; 2290 if (!d->Name) break;
2154 std::string dll = read_string(m.name, m.base, m.size, d->Name, "an imported DLL name"); 2291 std::string dll = read_string(m.name, m.base, m.size, d->Name, "an imported DLL name");
2155 uint32_t lookup = d->OriginalFirstThunk ? d->OriginalFirstThunk : d->FirstThunk; 2292 uint32_t lookup = d->OriginalFirstThunk ? d->OriginalFirstThunk : d->FirstThunk;
2156 bind_thunks(dll, lookup, d->FirstThunk); 2293 bind_thunks(dll, lookup, d->FirstThunk, false);
2157 } 2294 }
2158 } 2295 }
2159 // Delay imports are bound eagerly: simpler, and the full import surface shows up in --dry-run. 2296 // Delay imports are bound eagerly: simpler, and the full import surface shows up in --dry-run.
@@ -2176,7 +2313,7 @@ void Loader::bind_imports(Module& m) {
2176 // thunk addresses as name RVAs. 2313 // thunk addresses as name RVAs.
2177 if (!d->ImportNameTableRVA) 2314 if (!d->ImportNameTableRVA)
2178 throw std::runtime_error(m.name + ": a delay-import descriptor has no name table"); 2315 throw std::runtime_error(m.name + ": a delay-import descriptor has no name table");
2179 bind_thunks(dll, d->ImportNameTableRVA, d->ImportAddressTableRVA); 2316 bind_thunks(dll, d->ImportNameTableRVA, d->ImportAddressTableRVA, true);
2180 } 2317 }
2181 } 2318 }
2182} 2319}
@@ -2202,6 +2339,47 @@ void Loader::protect_sections(Module& m) {
2202 "[rt] loader: %s: %zu CLZERO loops run from stubs at %p (%zu bytes), not as a #UD per line\n", 2339 "[rt] loader: %s: %zu CLZERO loops run from stubs at %p (%zu bytes), not as a #UD per line\n",
2203 m.name.c_str(), patched.sites, static_cast<void*>(patched.stubs), patched.stub_bytes); 2340 m.name.c_str(), patched.sites, static_cast<void*>(patched.stubs), patched.stub_bytes);
2204 } 2341 }
2342 {
2343 const auto isa = rt::isa_jit_patch::patch_image(m.base, m.size);
2344 if (isa.stubs && isa.stub_bytes) {
2345 std::unique_lock lock(ranges_mutex_);
2346 ranges_.push_back({reinterpret_cast<uint64_t>(isa.stubs),
2347 static_cast<uint32_t>(isa.stub_bytes), m.name + "[isa-stubs]"});
2348 }
2349 if (isa.inplace_sites || isa.bmi_stubs || isa.avx2_stubs || isa.fma3_stubs) {
2350 std::fprintf(stderr,
2351 "[rt] loader: %s: native AVX1/x64 acceleration: %zu in-place, %zu BMI, %zu AVX2 (%zu fused 4B), "
2352 "%zu FMA3 stubs at %p (%zu KiB)\n",
2353 m.name.c_str(), isa.inplace_sites, isa.bmi_stubs, isa.avx2_stubs, isa.avx2_fused_4b,
2354 isa.fma3_stubs, static_cast<void*>(isa.stubs), (isa.stub_bytes + 1023u) / 1024u);
2355 }
2356 }
2357 static const auto bmi_host = rt::bmi_emulation::detect_host();
2358 if ((!bmi_host.bmi1 || !bmi_host.lzcnt) && rt::bmi_emulation::lzcnt_patch_enabled()) {
2359 std::vector<std::pair<uint32_t, uint32_t>> exec_ranges;
2360 const IMAGE_SECTION_HEADER* cs = IMAGE_FIRST_SECTION(nt);
2361 for (unsigned i = 0; i < nt->FileHeader.NumberOfSections; ++i, ++cs) {
2362 if (!(cs->Characteristics & IMAGE_SCN_MEM_EXECUTE) || cs->VirtualAddress >= m.size) continue;
2363 const uint64_t size = std::min<uint64_t>(std::min(cs->Misc.VirtualSize, cs->SizeOfRawData),
2364 m.size - cs->VirtualAddress);
2365 if (size) exec_ranges.push_back({cs->VirtualAddress, static_cast<uint32_t>(size)});
2366 }
2367 const auto exc = directory(nt, IMAGE_DIRECTORY_ENTRY_EXCEPTION);
2368 const RUNTIME_FUNCTION* pdata = nullptr;
2369 uint32_t pdata_count = 0;
2370 if (exc.VirtualAddress && exc.Size >= sizeof(RUNTIME_FUNCTION) && exc.VirtualAddress < m.size) {
2371 const uint64_t max_bytes = std::min<uint64_t>(exc.Size, m.size - exc.VirtualAddress);
2372 pdata_count = static_cast<uint32_t>(max_bytes / sizeof(RUNTIME_FUNCTION));
2373 pdata = at<RUNTIME_FUNCTION>(m.base, exc.VirtualAddress);
2374 }
2375 const auto patched = rt::bmi_emulation::patch_image(
2376 m.base, m.size, exec_ranges, pdata, pdata_count, !bmi_host.bmi1, !bmi_host.lzcnt);
2377 if (patched.tzcnt_sites || patched.lzcnt_sites)
2378 std::fprintf(stderr,
2379 "[rt] loader: %s: patched %zu TZCNT and %zu LZCNT sites (%zu stubs at %p, %zu #UD)\n",
2380 m.name.c_str(), patched.tzcnt_sites, patched.lzcnt_sites, patched.stub_sites,
2381 static_cast<void*>(patched.stubs), patched.ud2_sites);
2382 }
2205 VirtualProtect(m.base, nt->OptionalHeader.SizeOfHeaders, PAGE_READONLY, &old); 2383 VirtualProtect(m.base, nt->OptionalHeader.SizeOfHeaders, PAGE_READONLY, &old);
2206 auto* sec = IMAGE_FIRST_SECTION(nt); 2384 auto* sec = IMAGE_FIRST_SECTION(nt);
2207 for (unsigned i = 0; i < nt->FileHeader.NumberOfSections; ++i, ++sec) { 2385 for (unsigned i = 0; i < nt->FileHeader.NumberOfSections; ++i, ++sec) {
diff --git a/runtime/src/pe_loader.h b/runtime/src/pe_loader.h
index f75426e41..31be1a9d3 100644
--- a/runtime/src/pe_loader.h
+++ b/runtime/src/pe_loader.h
@@ -137,6 +137,14 @@ public:
137 void* load_runtime_module_w(const std::wstring& basename, uint32_t flags, bool& handled); 137 void* load_runtime_module_w(const std::wstring& basename, uint32_t flags, bool& handled);
138 void* resolve_module_export(void* module_handle, const std::string& sym, bool& owns_handle); 138 void* resolve_module_export(void* module_handle, const std::string& sym, bool& owns_handle);
139 bool owns_module_handle(void* module_handle) const; 139 bool owns_module_handle(void* module_handle) const;
140 // LEONIDA_COMPAT_DIR for a run-time LoadLibrary / GetModuleHandle (shims::BundledModuleOps::compat_module): the
141 // same DLL, and the same handle, a static import of `basename` binds to. `name` is the caller's: one with a
142 // directory is handled only when it names the compat file. DONT_RESOLVE_DLL_REFERENCES in `flags` is refused, as
143 // for bundled DLLs. owns_compat_handle: whether `module` is a DLL from the folder, including one Windows loaded
144 // there as another's dependency (it is then kept, as the others are).
145 void* runtime_compat_module(const std::wstring& basename, const std::wstring& name, bool load, uint32_t flags,
146 bool& handled);
147 bool owns_compat_handle(void* module);
140 148
141private: 149private:
142 void initialise(Module& m); 150 void initialise(Module& m);
@@ -153,6 +161,12 @@ private:
153 // owns every import of that DLL; `out` is the export, or null when the DLL lacks it. Caller holds mutex_. 161 // owns every import of that DLL; `out` is the export, or null when the DLL lacks it. Caller holds mutex_.
154 bool resolve_compat(const std::string& key, const std::string& dll, const std::string& name, uint16_t ordinal, 162 bool resolve_compat(const std::string& key, const std::string& dll, const std::string& name, uint16_t ordinal,
155 bool by_ordinal, void*& out); 163 bool by_ordinal, void*& out);
164 // The file in compat_dir_ named `basename` (case-insensitively, as Windows matches module names), or null.
165 const std::filesystem::path* compat_file(const std::wstring& basename) const;
166 // The handle of `file` (a compat_file() entry): the one already in use (looked up before, or loaded by Windows on
167 // its own, as another compat DLL's dependency), else loaded by Windows when `load`. Null with `error` (a Windows
168 // error code) when Windows refused the file, or when it is not loaded and `load` is false. Caller holds mutex_.
169 void* compat_handle(const std::filesystem::path& file, bool load, uint32_t& error);
156 void* resolve_forwarder(const std::string& spec, Binding& binding, int depth); 170 void* resolve_forwarder(const std::string& spec, Binding& binding, int depth);
157 void parse_exports(Module& m); 171 void parse_exports(Module& m);
158 void protect_sections(Module& m); 172 void protect_sections(Module& m);
@@ -162,8 +176,10 @@ private:
162 std::filesystem::path game_dir_; 176 std::filesystem::path game_dir_;
163 // LEONIDA_COMPAT_DIR, read when the Loader is made; empty = no compat step. Drop-in DLLs named like console 177 // LEONIDA_COMPAT_DIR, read when the Loader is made; empty = no compat step. Drop-in DLLs named like console
164 // modules (runtime/README.md, "Compat modules"), loaded by Windows from there and kept for the process lifetime. 178 // modules (runtime/README.md, "Compat modules"), loaded by Windows from there and kept for the process lifetime.
179 // The folder's file names are listed once, then, so a lookup by name never touches the disk.
165 std::filesystem::path compat_dir_; 180 std::filesystem::path compat_dir_;
166 std::map<std::string, void*> compat_modules_; // lower-case DLL name -> HMODULE 181 std::vector<std::filesystem::path> compat_files_; // file names in compat_dir_
182 std::map<std::string, void*> compat_modules_; // file name (UTF-8, ASCII lower case) -> HMODULE
167 std::map<std::filesystem::path::string_type, Module*> by_name_; // native basename, ASCII case folded 183 std::map<std::filesystem::path::string_type, Module*> by_name_; // native basename, ASCII case folded
168 std::vector<Module*> order_; // mapping order; owns the modules 184 std::vector<Module*> order_; // mapping order; owns the modules
169 std::vector<Module*> init_order_; // dependencies first, see initialisation_order() 185 std::vector<Module*> init_order_; // dependencies first, see initialisation_order()
diff --git a/runtime/src/pipeline_cache_file.h b/runtime/src/pipeline_cache_file.h
index 98e5788a8..0e914918c 100644
--- a/runtime/src/pipeline_cache_file.h
+++ b/runtime/src/pipeline_cache_file.h
@@ -20,6 +20,8 @@
20 20
21inline std::error_code write_pipeline_cache_file(const std::filesystem::path& destination, 21inline std::error_code write_pipeline_cache_file(const std::filesystem::path& destination,
22 const char* data, size_t size) { 22 const char* data, size_t size) {
23 if (destination.empty() || (size > 0 && !data))
24 return std::make_error_code(std::errc::invalid_argument);
23 namespace fs = std::filesystem; 25 namespace fs = std::filesystem;
24 const auto stamp = std::chrono::steady_clock::now().time_since_epoch().count(); 26 const auto stamp = std::chrono::steady_clock::now().time_since_epoch().count();
25 fs::path staged; 27 fs::path staged;
diff --git a/runtime/src/pipeline_cache_journal.h b/runtime/src/pipeline_cache_journal.h
new file mode 100644
index 000000000..0e80470dd
--- /dev/null
+++ b/runtime/src/pipeline_cache_journal.h
@@ -0,0 +1,359 @@
1// One Vulkan pipeline cache file per compiled compute pipeline: the "pipeline journal".
2//
3// The session cache (pipeline_cache_store.h) is one blob written at device teardown or at an idle checkpoint. A boot
4// that ends by a crash, a device loss or `timeout` never tears the device down, and while the compute warm-up thread
5// has builds queued the idle checkpoint never runs, so the hundreds of large compute pipelines a boot compiles were
6// compiled again on every boot. The journal keeps each one in its own small cache file the moment it is built:
7//
8// <cache dir>/pipeline_cache.d/cs-<16 hex digits>.bin
9//
10// The name is a hash of what the pipeline is made of (the SPIR-V words, the stage's subgroup request and the layout).
11// Each file is a complete VkPipelineCache blob holding one pipeline. A build reads the file, if any, into a
12// VkPipelineCache of its own and creates the pipeline against it: the driver finds the pipeline there (a hit, a few
13// milliseconds where the compile took seconds) or compiles it and the file is written again. Files are published
14// whole (write_pipeline_cache_file: a closed staging file renamed over the target), so a process killed mid-write
15// leaves the previous file or none, and a boot that dies keeps everything it built before.
16//
17// The hash only picks the file. Whether the pipeline in it may be used is the driver's decision: it checks the blob
18// header (vendor, device, pipeline-cache UUID; checked here first too, so a driver update starts over) and its own key.
19//
20// Upkeep (tidy, at the first pipeline of a device): staging files a killed writer left behind are removed once they are
21// ten minutes old, and past LEONIDA_PIPELINE_JOURNAL_BYTES the least recently used files go until three quarters of
22// it is left. A file's modification time is its last use: written, or touched when a build found its pipeline there.
23//
24// Pure stdlib apart from pipeline_cache_file.h's Windows rename retry; tested by pipeline_cache_journal_test.
25#pragma once
26
27#include <algorithm>
28#include <chrono>
29#include <cstddef>
30#include <cstdint>
31#include <cstdio>
32#include <filesystem>
33#include <fstream>
34#include <string>
35#include <string_view>
36#include <system_error>
37#include <type_traits>
38#include <vector>
39
40#include "cached_pso.h"
41#include "pipeline_cache_store.h" // before pipeline_cache_file.h, whose <windows.h> may define max
42#include "pipeline_cache_file.h"
43
44namespace leonida::pipeline_journal {
45
46// Bumped when what goes into a key changes, so files named under the old scheme are no longer looked up.
47inline constexpr std::uint32_t key_version = 1;
48
49// A file larger than this is not read (a corrupt or foreign file; one pipeline's cache is a few MiB at most).
50inline constexpr std::size_t entry_read_limit = std::size_t{256} << 20;
51
52// 64-bit FNV-1a. Not cryptographic: it names a file, and a collision costs one compile, not a wrong pipeline.
53class Hasher {
54public:
55 Hasher() { value(key_version); }
56
57 void bytes(const void* data, std::size_t size) {
58 if (!data || size == 0) return;
59 const auto* p = static_cast<const std::uint8_t*>(data);
60 std::uint64_t h = hash_;
61 for (std::size_t i = 0; i < size; ++i) {
62 h ^= p[i];
63 h *= 0x100000001b3ull;
64 }
65 hash_ = h;
66 }
67
68 template<class T> void value(const T& v) {
69 static_assert(std::is_trivially_copyable_v<T>);
70 bytes(&v, sizeof(v));
71 }
72
73 void text(const char* s) {
74 const std::string_view view(s ? s : "");
75 value(std::uint64_t(view.size()));
76 bytes(view.data(), view.size());
77 }
78
79 std::uint64_t digest() const { return hash_; }
80
81private:
82 std::uint64_t hash_ = 0xcbf29ce484222325ull;
83};
84
85// <dir>/<kind>-<key as 16 lowercase hex digits>.bin
86inline std::filesystem::path entry_path(const std::filesystem::path& dir, const char* kind, std::uint64_t key) {
87 char suffix[24];
88 std::snprintf(suffix, sizeof(suffix), "-%016llx.bin", static_cast<unsigned long long>(key));
89 std::string name(kind && *kind ? kind : "entry");
90 name += suffix;
91 return dir / name;
92}
93
94// Resolve the two roots once, not on the compile path. With no seed keep the original single-root behavior.
95// An explicit bad/overlapping pair disables the journal rather than accidentally publishing into the seed.
96// This is a configuration check, not a substitute for a read-only mount/ACL and stable parent directories.
97struct Roots {
98 std::filesystem::path writable;
99 std::filesystem::path seed;
100};
101
102inline Roots resolve_roots(const std::filesystem::path& local, const std::filesystem::path& seed) {
103 namespace fs = std::filesystem;
104 if (seed.empty() || local.empty()) return {local, {}};
105 std::error_code ec;
106 if (!seed.is_absolute() || !fs::is_directory(seed, ec) || ec) return {};
107 const auto source = fs::canonical(seed, ec);
108 if (ec) return {};
109 const auto abs_local = fs::absolute(local, ec);
110 if (ec) return {};
111 const auto dest = fs::weakly_canonical(abs_local, ec); // The writable leaf need not exist yet.
112 if (ec) return {};
113 const bool dest_exists = fs::exists(dest, ec);
114 if (ec || (dest_exists && !fs::is_directory(dest, ec))) return {};
115 // Use directory identity, not string prefixes: NTFS aliases and case differences still identify one directory.
116 auto overlaps = [&](const fs::path& existing, fs::path path) {
117 for (;;) {
118 if (fs::exists(path, ec) && fs::equivalent(existing, path, ec)) return true;
119 if (ec) return true;
120 const auto parent = path.parent_path();
121 if (parent == path || parent.empty()) return false;
122 path = parent;
123 }
124 };
125 if (overlaps(source, dest) || (dest_exists && overlaps(dest, source))) return {};
126 return {dest, source};
127}
128
129// The selected compatible bytes plus metadata for the *writable* leaf as the build found it.
130struct EntryFile {
131 std::vector<char> data; // compatible local bytes, else compatible seed bytes; empty when neither is usable
132 bool from_seed = false; // an external hit must not refresh either the immutable seed or a stale local file
133 std::uint64_t bytes = 0; // its size on disk, whatever its contents (0: none): what a rewrite replaces
134 std::filesystem::file_time_type used{}; // its modification time: its last use
135};
136
137inline EntryFile read_entry_file(const std::filesystem::path& path, const cached_pso::Identity& identity,
138 std::size_t limit = entry_read_limit) {
139 EntryFile entry;
140 std::error_code ec;
141 const auto size = std::filesystem::file_size(path, ec);
142 if (ec) return entry;
143 entry.bytes = size;
144 entry.used = std::filesystem::last_write_time(path, ec);
145 if (ec || size < pipeline_cache_store::header_bytes || size > limit) return entry;
146 std::ifstream file(path, std::ios::binary);
147 if (!file) return entry;
148 entry.data.resize(static_cast<std::size_t>(size));
149 if (!file.read(entry.data.data(), static_cast<std::streamsize>(entry.data.size())) ||
150 !pipeline_cache_store::header_matches(entry.data.data(), entry.data.size(), identity))
151 entry.data.clear();
152 return entry;
153}
154
155// The file's bytes, or empty when it is missing, unreadable, over `limit`, or its header does not name `identity`.
156inline std::vector<char> read_entry(const std::filesystem::path& path, const cached_pso::Identity& identity,
157 std::size_t limit = entry_read_limit) {
158 return read_entry_file(path, identity, limit).data;
159}
160
161// Whether the file is there with a header naming this device and driver: only the header is read (gta6rt
162// --precompile-pipelines asks this of thousands of files of a few MiB).
163inline bool entry_usable(const std::filesystem::path& path, const cached_pso::Identity& identity,
164 std::size_t limit = entry_read_limit) {
165 // A helper-ready file must also fit the consumer's bounded read. Check metadata, not the full payload.
166 std::error_code ec;
167 const auto size = std::filesystem::file_size(path, ec);
168 if (ec || size < pipeline_cache_store::header_bytes || size > limit) return false;
169 std::ifstream file(path, std::ios::binary);
170 char header[pipeline_cache_store::header_bytes];
171 return file && file.read(header, sizeof(header)) &&
172 pipeline_cache_store::header_matches(header, sizeof(header), identity);
173}
174
175enum class ReadRole { runtime, materialize_local };
176
177// A write always replaces the local file, not the seed. Keep its size and timestamp even if its
178// data is unusable. A seed miss adds no writable bytes; the seed directory is never scanned.
179inline EntryFile read_with_seed(const std::filesystem::path& local_entry, const std::filesystem::path& seed,
180 const cached_pso::Identity& identity, ReadRole role, std::size_t limit = entry_read_limit) {
181 auto local = read_entry_file(local_entry, identity, limit);
182 // Build hosts promise a file in the writable journal. External data must not satisfy such a request.
183 if (role == ReadRole::runtime && local.data.empty() && !seed.empty()) {
184 local.data = read_entry_file(seed / local_entry.filename(), identity, limit).data;
185 local.from_seed = !local.data.empty();
186 }
187 return local;
188}
189
190// A create this long, with no feedback to say, was a compile.
191inline constexpr std::uint64_t unreported_compile_ms = 1000;
192// NVIDIA 630.20 answers FAIL_ON_PIPELINE_COMPILE_REQUIRED with a compiled pipeline (seconds) instead of
193// VK_PIPELINE_COMPILE_REQUIRED. A pipeline from its own disk cache comes back fast and without the application-cache
194// hit bit too, and is no sign of that.
195inline constexpr std::uint64_t probe_compile_ms = 250;
196
197// Whether a build writes its journal file. `seeded`: its cache was made from the file; `hit`: the creation feedback
198// (1 found in that cache, 0 not, -1 not reported); `driver_ms`: the vkCreateComputePipelines call alone.
199inline bool should_write(bool seeded, int hit, std::uint64_t driver_ms) {
200 if (!seeded) return true; // the pipeline is in no file yet
201 if (hit >= 0) return hit == 0;
202 return driver_ms >= unreported_compile_ms;
203}
204
205// Whether a pipeline the shared cache gave for FAIL_ON_PIPELINE_COMPILE_REQUIRED was compiled after all.
206inline bool probe_compiled(int hit, std::uint64_t driver_ms) { return hit == 0 && driver_ms >= probe_compile_ms; }
207
208// The journal's size after a file of `old_bytes` (0: none) is replaced by one of `new_bytes`.
209inline std::uint64_t replace_bytes(std::uint64_t total, std::uint64_t old_bytes, std::uint64_t new_bytes) {
210 return total - (std::min)(total, old_bytes) + new_bytes;
211}
212
213// A file's last use is refreshed when it is more than this old, not at every hit.
214inline constexpr std::chrono::hours touch_after{1};
215
216inline void touch(const std::filesystem::path& path, std::filesystem::file_time_type now) {
217 std::error_code ec;
218 std::filesystem::last_write_time(path, now, ec);
219}
220
221// Called only after a journal cache hit. Only the local entry that supplied the hit is eligible for LRU.
222inline void touch_local_hit(const std::filesystem::path& local_entry, const EntryFile& file,
223 std::filesystem::file_time_type now) {
224 if (!file.from_seed && file.bytes && now - file.used >= touch_after)
225 touch(local_entry, now);
226}
227
228namespace detail {
229inline bool digits(std::string_view s) {
230 return !s.empty() && s.find_first_not_of("0123456789") == std::string_view::npos;
231}
232inline bool hex(std::string_view s) {
233 return !s.empty() && s.find_first_not_of("0123456789abcdef") == std::string_view::npos;
234}
235} // namespace detail
236
237// <kind>-<16 hex digits>.bin, as entry_path names them.
238inline bool entry_name(std::string_view name) {
239 constexpr std::string_view ext = ".bin";
240 const auto dash = name.find('-');
241 if (dash == std::string_view::npos || dash == 0 || name.size() != dash + 1 + 16 + ext.size() ||
242 name.substr(name.size() - ext.size()) != ext)
243 return false;
244 return detail::hex(name.substr(dash + 1, 16));
245}
246
247// What write_pipeline_cache_file stages an entry in: <entry>.tmp.<digits>.<digits>.
248inline bool staging_name(std::string_view name) {
249 constexpr std::string_view mark = ".tmp.";
250 const auto at = name.rfind(mark);
251 if (at == std::string_view::npos || !entry_name(name.substr(0, at))) return false;
252 const auto suffix = name.substr(at + mark.size());
253 const auto dot = suffix.find('.');
254 return dot != std::string_view::npos && detail::digits(suffix.substr(0, dot)) &&
255 detail::digits(suffix.substr(dot + 1));
256}
257
258struct EntryInfo {
259 std::filesystem::path path;
260 std::uint64_t bytes = 0;
261 std::filesystem::file_time_type used{};
262};
263
264// Which entries go, least recently used first, when they hold more than `budget`: as many as leave at most `target`.
265inline std::vector<std::size_t> plan_eviction(const std::vector<EntryInfo>& entries, std::uint64_t budget,
266 std::uint64_t target) {
267 std::uint64_t total = 0;
268 for (const EntryInfo& entry : entries) total += entry.bytes;
269 std::vector<std::size_t> out;
270 if (total <= budget) return out;
271 std::vector<std::size_t> order(entries.size());
272 for (std::size_t i = 0; i < order.size(); ++i) order[i] = i;
273 std::sort(order.begin(), order.end(), [&](std::size_t a, std::size_t b) {
274 if (entries[a].used != entries[b].used) return entries[a].used < entries[b].used;
275 return entries[a].path < entries[b].path;
276 });
277 for (const std::size_t i : order) {
278 if (total <= target) break;
279 out.push_back(i);
280 total -= entries[i].bytes;
281 }
282 return out;
283}
284
285struct TidyResult {
286 std::uint64_t bytes = 0; // what the entries left take
287 std::size_t entries = 0; // how many are left
288 std::size_t evicted = 0; // entries removed for the budget
289 std::size_t swept = 0; // staging files removed
290};
291
292// Removes staging files older than `staging_age` (a writer still holding one keeps it: Windows refuses to delete an
293// open file not shared for deletion), then, past `budget`, the least recently used entries until three quarters of
294// it is left. Other files in `dir` are left alone and not counted.
295inline TidyResult tidy(const std::filesystem::path& dir, std::uint64_t budget,
296 std::chrono::seconds staging_age = std::chrono::minutes(10),
297 std::filesystem::file_time_type now = std::filesystem::file_time_type::clock::now()) {
298 TidyResult result;
299 std::vector<EntryInfo> entries;
300 std::error_code ec;
301 for (std::filesystem::directory_iterator it(dir, ec), end; !ec && it != end; it.increment(ec)) {
302 std::error_code stat;
303 if (!it->is_regular_file(stat) || stat) continue;
304 const std::string name = it->path().filename().string();
305 const auto used = it->last_write_time(stat);
306 if (stat) continue;
307 if (staging_name(name)) {
308 std::error_code removed;
309 if (now - used >= staging_age && std::filesystem::remove(it->path(), removed) && !removed) ++result.swept;
310 continue;
311 }
312 if (!entry_name(name)) continue;
313 const auto size = it->file_size(stat);
314 if (!stat) entries.push_back({it->path(), size, used});
315 }
316 std::vector<bool> gone(entries.size());
317 for (const std::size_t i : plan_eviction(entries, budget, budget / 4 * 3)) {
318 std::error_code removed;
319 if (std::filesystem::remove(entries[i].path, removed) && !removed) {
320 gone[i] = true;
321 ++result.evicted;
322 }
323 }
324 for (std::size_t i = 0; i < entries.size(); ++i) {
325 if (gone[i]) continue;
326 result.bytes += entries[i].bytes;
327 ++result.entries;
328 }
329 return result;
330}
331
332// What the journal's files take on disk now: the sizes of the regular files in `dir` (0 when it does not exist).
333inline std::uint64_t directory_bytes(const std::filesystem::path& dir) {
334 std::uint64_t total = 0;
335 std::error_code ec;
336 for (std::filesystem::directory_iterator it(dir, ec), end; !ec && it != end; it.increment(ec)) {
337 std::error_code stat;
338 if (it->is_regular_file(stat) && !stat) {
339 const auto size = it->file_size(stat);
340 if (!stat) total += size;
341 }
342 }
343 return total;
344}
345
346// LEONIDA_PIPELINE_JOURNAL_BYTES: how much the journal may hold. A compute pipeline's file is 2-5 MiB on NVIDIA: the
347// ~1700 a boot builds take ~4 GiB, the whole library's ~5400 (gta6rt --precompile-pipelines) about 15. A boot writes
348// nothing past it; the next one's tidy makes room.
349inline constexpr std::uint64_t default_budget = std::uint64_t{32} << 30;
350
351// Publishes `data` as the file at `path`, creating its directory. The previous file stays until the rename.
352inline std::error_code write_entry(const std::filesystem::path& path, const void* data, std::size_t size) {
353 std::error_code ec;
354 std::filesystem::create_directories(path.parent_path(), ec);
355 if (ec) return ec;
356 return write_pipeline_cache_file(path, static_cast<const char*>(data), size);
357}
358
359} // namespace leonida::pipeline_journal
diff --git a/runtime/src/pipeline_cache_store.h b/runtime/src/pipeline_cache_store.h
index 6d519d99b..5b93d93f0 100644
--- a/runtime/src/pipeline_cache_store.h
+++ b/runtime/src/pipeline_cache_store.h
@@ -23,11 +23,18 @@
23 23
24namespace leonida::pipeline_cache_store { 24namespace leonida::pipeline_cache_store {
25 25
26// A session cache normally holds what one boot compiled (a few MB to a few hundred MB). The cap is what keeps a 26// A session cache holds what the boots so far compiled: 1.28 GB after a few world frames on NVIDIA and still growing,
27// cache seeded from the multi-GB corpus file -- whose data comes back as the whole union -- from being rewritten 27// where a 256 MiB cap kept every later build from being saved. The limit applies to what the session adds: a cache
28// at every exit. Past it the previous session file is left alone; raise the limit with 28// seeded from the offline corpus file comes back from the driver as the whole union, so the seed's size is not
29// LEONIDA_PIPELINE_CACHE_BYTES when a session really compiles that much. 29// counted (over_save_limit), and a 9.7 GB seed plus a few hundred MB of new builds is still saved. Past the limit the
30inline constexpr std::size_t default_save_limit = std::size_t{256} << 20; // 256 MiB 30// previous session file is left alone; raise it with LEONIDA_PIPELINE_CACHE_BYTES when a session really compiles that
31// much.
32inline constexpr std::size_t default_save_limit = std::size_t{4096} << 20; // 4 GiB
33
34// Whether a cache of `size` bytes, created from an offline seed of `seed` bytes (0: none), adds more than `limit`.
35inline bool over_save_limit(std::size_t size, std::size_t seed, std::size_t limit) {
36 return size - (seed < size ? seed : size) > limit;
37}
31 38
32struct SaveLimit { 39struct SaveLimit {
33 std::size_t bytes = default_save_limit; 40 std::size_t bytes = default_save_limit;
diff --git a/runtime/src/pipeline_order.h b/runtime/src/pipeline_order.h
new file mode 100644
index 000000000..c7d8b3b0f
--- /dev/null
+++ b/runtime/src/pipeline_order.h
@@ -0,0 +1,653 @@
1// RT-PIPELINE-PREWARM-ORDER, phase 1: a passive record of which pipelines the title asks for first. Off unless
2// LEONIDA_PIPELINE_ORDER_LOG=1; it changes nothing the title or the replay does.
3//
4// For each pipeline state and variant (the unbound-attachment mask of a graphics pipeline, 0 for compute) that a
5// dispatch or draw names for the first time in a run, one line is appended to pipeline_order.log beside
6// pipeline_cache.session.bin: the description key of the PSO, the variant, when the PSO was created and when it was
7// first used (milliseconds since the process started) and how long its build took. At exit one line of counts says how
8// many were asked for, how many were ready already, and the median lead between creation and first use.
9//
10// The hot path (claim, publish, note_build) takes no lock, makes no system call and allocates nothing: a fixed table
11// of 64-bit identities decides "first time" with one compare-and-swap and a preallocated slot takes the record. A
12// thread of its own appends published slots to the file every few hundred milliseconds, so a process that is killed
13// loses at most the last interval. The file is text so that it can be read with any tool; each line ends with a
14// checksum, a truncated or damaged line is skipped when read back, never fatal.
15//
16// # leonida pipeline order 1 first line of a new file
17// S 1 <vendor hex> <device hex> a run starts here
18// P <c|g|m> <key> <variant hex> <created ms> <first ms> <build ms or -> <ready 0|1> *<checksum>
19// B <key> <variant hex> <build ms> *<checksum> the build of a P line whose time was not known yet
20// E <key> <variant hex> <name hash hex> *<checksum> which library entry a compute P line is (right after it)
21//
22// c = compute, g = graphics, m = mesh. The checksum is FNV-1a over the line before " *". No game data is in the file:
23// the key is a SHA-256 of the title's own description of the pipeline (cached_pso.h), the rest are numbers. The name
24// hash of an E line is 16 hex digits of FNV-1a 64 over the name of the library entry the pipeline was made from (the
25// name itself is not written). A reader from before E lines skips them (counted as lines not read);
26// parse() below reads them.
27#pragma once
28
29#include <algorithm>
30#include <atomic>
31#include <chrono>
32#include <condition_variable>
33#include <cstdint>
34#include <cstdio>
35#include <cstring>
36#include <filesystem>
37#include <fstream>
38#ifdef _WIN32
39#include <share.h>
40#endif
41#include <memory>
42#include <mutex>
43#include <string>
44#include <string_view>
45#include <system_error>
46#include <thread>
47#include <utility>
48#include <vector>
49
50namespace leonida::pipeline_order {
51
52inline constexpr std::uint32_t unknown_ms = 0xffffffffu; // a build time nobody measured
53inline constexpr std::size_t key_chars = 64; // a SHA-256 in hex; longer keys are cut
54inline constexpr std::size_t default_capacity = 8192; // records per run
55inline constexpr std::size_t max_capacity = 16000; // the table packs the slot into 14 bits
56inline constexpr std::uintmax_t default_max_file_bytes = 8u << 20; // a larger file is set aside as .prev at open
57
58// LEONIDA_PIPELINE_ORDER_LOG: "1" turns the record on. Unset, empty, "0" and anything else leave it off.
59inline bool parse_enabled(const char* text) { return text && text[0] == '1' && text[1] == '\0'; }
60
61struct Record {
62 char kind = 'c'; // c compute, g graphics, m mesh
63 std::string key;
64 std::uint32_t variant = 0;
65 std::uint32_t created_ms = 0;
66 std::uint32_t first_ms = 0;
67 std::uint32_t build_ms = unknown_ms;
68 bool ready = false; // its handle existed when it was first asked for
69 bool operator==(const Record&) const = default;
70};
71
72// An E line: the library entry (by the hash of its name) behind a pipeline and variant.
73struct EntryName {
74 std::string key;
75 std::uint32_t variant = 0;
76 std::uint64_t name_hash = 0;
77 bool operator==(const EntryName&) const = default;
78};
79
80struct Session {
81 std::uint32_t vendor = 0;
82 std::uint32_t device = 0;
83 std::vector<Record> records; // in the order the title asked for them
84};
85
86struct ReadResult {
87 std::vector<Session> sessions;
88 std::vector<EntryName> entries; // the E lines of the whole file, in file order
89 std::size_t bad_lines = 0; // complete lines that could not be read: skipped
90 bool cut_tail = false; // the last line had no newline: a write that did not finish, skipped
91};
92
93inline std::uint32_t checksum(std::string_view text) {
94 std::uint32_t h = 0x811c9dc5u;
95 for (const char c : text) h = (h ^ std::uint8_t(c)) * 0x01000193u;
96 return h;
97}
98
99inline std::uint64_t key_hash(std::string_view key) {
100 std::uint64_t h = 0xcbf29ce484222325ull;
101 for (const char c : key) h = (h ^ std::uint8_t(c)) * 0x100000001b3ull;
102 return h ? h : 1;
103}
104
105// The hash an E line carries for the name of a library entry.
106inline std::uint64_t entry_name_hash(std::string_view name) { return key_hash(name); }
107
108namespace detail {
109
110inline std::uint64_t mix(std::uint64_t key, std::uint32_t variant) {
111 std::uint64_t z = key + 0x9e3779b97f4a7c15ull * (std::uint64_t(variant) + 1);
112 z = (z ^ (z >> 30)) * 0xbf58476d1ce4e5b9ull;
113 z = (z ^ (z >> 27)) * 0x94d049bb133111ebull;
114 return z ^ (z >> 31);
115}
116
117inline void append_line(std::string& out, std::string body) {
118 char tail[16];
119 std::snprintf(tail, sizeof(tail), " *%08x\n", checksum(body));
120 out += body;
121 out += tail;
122}
123
124inline std::string number_or_dash(std::uint32_t v) { return v == unknown_ms ? "-" : std::to_string(v); }
125
126inline bool parse_u32(std::string_view s, int base, std::uint32_t& out) {
127 if (s.empty() || s.size() > 10) return false;
128 std::uint64_t v = 0;
129 for (const char c : s) {
130 int d;
131 if (c >= '0' && c <= '9') d = c - '0';
132 else if (base == 16 && c >= 'a' && c <= 'f') d = c - 'a' + 10;
133 else return false;
134 if (d >= base) return false;
135 v = v * std::uint64_t(base) + std::uint64_t(d);
136 if (v > 0xffffffffull) return false;
137 }
138 out = std::uint32_t(v);
139 return true;
140}
141
142// Exactly 16 lowercase hex digits.
143inline bool parse_hash64(std::string_view s, std::uint64_t& out) {
144 if (s.size() != 16) return false;
145 std::uint64_t v = 0;
146 for (const char c : s) {
147 int d;
148 if (c >= '0' && c <= '9') d = c - '0';
149 else if (c >= 'a' && c <= 'f') d = c - 'a' + 10;
150 else return false;
151 v = (v << 4) | std::uint64_t(d);
152 }
153 out = v;
154 return true;
155}
156
157inline std::vector<std::string_view> split(std::string_view s) {
158 std::vector<std::string_view> out;
159 std::size_t i = 0;
160 while (i < s.size()) {
161 const std::size_t j = s.find(' ', i);
162 if (j == std::string_view::npos) {
163 out.push_back(s.substr(i));
164 break;
165 }
166 out.push_back(s.substr(i, j - i));
167 i = j + 1;
168 }
169 return out;
170}
171
172} // namespace detail
173
174inline std::string format_header() { return "# leonida pipeline order 1\n"; }
175
176inline std::string format_session(std::uint32_t vendor, std::uint32_t device) {
177 char text[64];
178 std::snprintf(text, sizeof(text), "S 1 %x %x", vendor, device);
179 std::string out;
180 detail::append_line(out, text);
181 return out;
182}
183
184inline std::string format_record(const Record& r) {
185 std::string body = "P ";
186 body += r.kind;
187 body += ' ';
188 body += r.key;
189 char numbers[32];
190 std::snprintf(numbers, sizeof(numbers), " %x ", r.variant);
191 body += numbers;
192 body += std::to_string(r.created_ms) + ' ' + std::to_string(r.first_ms) + ' ' + detail::number_or_dash(r.build_ms) +
193 (r.ready ? " 1" : " 0");
194 std::string out;
195 detail::append_line(out, std::move(body));
196 return out;
197}
198
199inline std::string format_build(std::string_view key, std::uint32_t variant, std::uint32_t build_ms) {
200 char numbers[32];
201 std::snprintf(numbers, sizeof(numbers), " %x ", variant);
202 std::string body = "B ";
203 body += key;
204 body += numbers;
205 body += std::to_string(build_ms);
206 std::string out;
207 detail::append_line(out, std::move(body));
208 return out;
209}
210
211inline std::string format_entry(std::string_view key, std::uint32_t variant, std::uint64_t name_hash) {
212 char numbers[48];
213 std::snprintf(numbers, sizeof(numbers), " %x %016llx", variant, static_cast<unsigned long long>(name_hash));
214 std::string body = "E ";
215 body += key;
216 body += numbers;
217 std::string out;
218 detail::append_line(out, std::move(body));
219 return out;
220}
221
222// Reads what a file holds: whole sessions in file order, a record per P line (its B line merged in), every damaged line
223// skipped. Never throws on any input.
224inline ReadResult parse(std::string_view text) {
225 ReadResult result;
226 if (!text.empty() && text.back() != '\n') {
227 result.cut_tail = true;
228 const std::size_t last = text.rfind('\n');
229 text = last == std::string_view::npos ? std::string_view{} : text.substr(0, last + 1);
230 }
231 const auto session = [&]() -> Session& {
232 if (result.sessions.empty()) result.sessions.emplace_back();
233 return result.sessions.back();
234 };
235 std::size_t at = 0;
236 while (at < text.size()) {
237 const std::size_t end = text.find('\n', at);
238 if (end == std::string_view::npos) break; // not reached: the unfinished last line was cut off above
239 std::string_view line = text.substr(at, end - at);
240 at = end + 1;
241 if (!line.empty() && line.back() == '\r') line.remove_suffix(1);
242 if (line.empty() || line[0] == '#') continue;
243 const std::size_t star = line.rfind(" *");
244 std::uint32_t sum = 0;
245 if (star == std::string_view::npos || star + 2 + 8 != line.size() ||
246 !detail::parse_u32(line.substr(star + 2), 16, sum) || sum != checksum(line.substr(0, star))) {
247 ++result.bad_lines;
248 continue;
249 }
250 const auto f = detail::split(line.substr(0, star));
251 bool ok = false;
252 if (f.size() == 4 && f[0] == "S") {
253 Session s;
254 ok = f[1] == "1" && detail::parse_u32(f[2], 16, s.vendor) && detail::parse_u32(f[3], 16, s.device);
255 if (ok) result.sessions.push_back(std::move(s));
256 } else if (f.size() == 8 && f[0] == "P") {
257 Record r;
258 ok = f[1].size() == 1 && (f[1][0] == 'c' || f[1][0] == 'g' || f[1][0] == 'm') && !f[2].empty() &&
259 f[2].size() <= key_chars && detail::parse_u32(f[3], 16, r.variant) &&
260 detail::parse_u32(f[4], 10, r.created_ms) && detail::parse_u32(f[5], 10, r.first_ms) &&
261 (f[6] == "-" || detail::parse_u32(f[6], 10, r.build_ms)) && (f[7] == "0" || f[7] == "1");
262 if (ok) {
263 r.kind = f[1][0];
264 r.key = std::string(f[2]);
265 r.ready = f[7] == "1";
266 session().records.push_back(std::move(r));
267 }
268 } else if (f.size() == 4 && f[0] == "B") {
269 std::uint32_t variant = 0, ms = 0;
270 ok = !f[1].empty() && f[1].size() <= key_chars && detail::parse_u32(f[2], 16, variant) &&
271 detail::parse_u32(f[3], 10, ms);
272 if (ok) {
273 // The newest record of the run with that key and variant that still has no build time.
274 auto& records = session().records;
275 for (auto it = records.rbegin(); it != records.rend(); ++it)
276 if (it->variant == variant && it->key == f[1] && it->build_ms == unknown_ms) {
277 it->build_ms = ms;
278 break;
279 }
280 }
281 } else if (f.size() == 4 && f[0] == "E") {
282 EntryName e;
283 ok = !f[1].empty() && f[1].size() <= key_chars && detail::parse_u32(f[2], 16, e.variant) &&
284 detail::parse_hash64(f[3], e.name_hash);
285 if (ok) {
286 e.key = std::string(f[1]);
287 result.entries.push_back(std::move(e));
288 }
289 }
290 if (!ok) ++result.bad_lines;
291 }
292 return result;
293}
294
295struct Counts {
296 std::size_t requested = 0; // distinct pipelines and variants asked for, recorded
297 std::size_t ready = 0; // of those, ready when first asked for
298 std::size_t overflow = 0; // requests that found the record full and were not kept (counted per request)
299 std::uint32_t median_lead_ms = 0; // first use minus creation, of the recorded ones
300};
301
302// The recorder. Thread-safe: claim, publish and note_build from any number of threads at once, flush from one
303// thread at a time (it takes its own lock).
304class Recorder {
305public:
306 struct Config {
307 std::filesystem::path path;
308 std::size_t capacity = default_capacity;
309 std::uint32_t vendor = 0;
310 std::uint32_t device = 0;
311 std::uint32_t (*now_ms)() = nullptr; // milliseconds since the process started
312 std::uintmax_t max_file_bytes = default_max_file_bytes;
313 };
314
315 // A reserved record: valid for the one thread that was told it is the first to ask for this pipeline.
316 struct Claim {
317 std::uint32_t index = 0;
318 bool first = false;
319 explicit operator bool() const { return first; }
320 };
321
322 explicit Recorder(Config config)
323 : config_(std::move(config)),
324 capacity_(std::min<std::size_t>(std::max<std::size_t>(config_.capacity, 1), max_capacity)),
325 mask_(table_size(capacity_) - 1),
326 table_(new std::atomic<std::uint64_t>[mask_ + 1]()),
327 slots_(new Slot[capacity_]) {}
328 Recorder(const Recorder&) = delete;
329 Recorder& operator=(const Recorder&) = delete;
330 ~Recorder() { stop(); }
331
332 // The first thread to name this (key hash, variant) gets a claim and must publish() it; everyone else, and every
333 // request after the record is full, gets none.
334 Claim claim(std::uint64_t hash, std::uint32_t variant) noexcept {
335 const std::uint64_t id = detail::mix(hash, variant);
336 const std::uint64_t tag = id >> slot_bits;
337 std::size_t at = std::size_t(id) & mask_;
338 for (std::size_t probes = 0; probes <= mask_; ++probes, at = (at + 1) & mask_) {
339 std::uint64_t entry = table_[at].load(std::memory_order_acquire);
340 if (entry == 0) {
341 const std::uint32_t slot = next_.load(std::memory_order_relaxed);
342 if (slot >= capacity_) {
343 overflow_.fetch_add(1, std::memory_order_relaxed);
344 return {};
345 }
346 const std::uint32_t mine = next_.fetch_add(1, std::memory_order_relaxed);
347 if (mine >= capacity_) {
348 overflow_.fetch_add(1, std::memory_order_relaxed);
349 return {};
350 }
351 Slot& s = slots_[mine];
352 s.state.store(claimed, std::memory_order_relaxed);
353 const std::uint64_t packed = (tag << slot_bits) | (mine + 1);
354 if (table_[at].compare_exchange_strong(entry, packed, std::memory_order_acq_rel)) {
355 s.first_ms = now();
356 s.variant = variant;
357 return {mine, true};
358 }
359 s.state.store(void_slot, std::memory_order_release); // lost the race: the entry is somebody's now
360 }
361 if ((entry >> slot_bits) == tag) return {};
362 }
363 return {};
364 }
365
366 // Fills the claimed record and makes it visible to the writer. `key` is cut at key_chars. `build_ms` is what is
367 // known of the build now, or unknown_ms. `name_hash` is entry_name_hash() of the library entry of a compute
368 // pipeline (an E line follows its P line), 0 when there is none.
369 void publish(Claim claim, std::string_view key, char kind, bool ready, std::uint32_t created_ms,
370 std::uint32_t build_ms, std::uint64_t name_hash = 0) noexcept {
371 if (!claim.first) return;
372 Slot& s = slots_[claim.index];
373 s.name_hash = name_hash;
374 s.key_len = std::uint8_t(std::min(key.size(), key_chars));
375 for (std::size_t i = 0; i < s.key_len; ++i) { // a key is one word of the line: no space, no newline
376 const char c = key[i];
377 s.key[i] = (c > ' ' && c < 0x7f && c != '*') ? c : '_';
378 }
379 s.kind = kind;
380 s.ready = ready;
381 s.created_ms = created_ms;
382 if (build_ms != unknown_ms) {
383 std::uint32_t none = unknown_ms;
384 s.build_ms.compare_exchange_strong(none, build_ms, std::memory_order_relaxed);
385 }
386 s.state.store(published, std::memory_order_release);
387 }
388
389 // claim() and publish() in one: what the title's hook does. `ready` and `build_ms` are called, in that order, only by
390 // the first request, after its claim: so a build that ends meanwhile is seen by one of them or by note_build().
391 // Returns true when this call made the record.
392 template <class Ready, class Build>
393 bool request(std::uint64_t hash, std::string_view key, std::uint32_t variant, char kind, std::uint32_t created_ms,
394 Ready&& ready, Build&& build_ms, std::uint64_t name_hash = 0) noexcept {
395 const Claim c = claim(hash, variant);
396 if (!c) return false;
397 const bool is_ready = ready();
398 publish(c, key, kind, is_ready, created_ms, build_ms(), name_hash);
399 return true;
400 }
401
402 // The build of a pipeline that was asked for finished. Ignored for one that was not (its time is passed to
403 // publish() when it is) and when a time is already there.
404 void note_build(std::uint64_t hash, std::uint32_t variant, std::uint32_t ms) noexcept {
405 const std::uint64_t id = detail::mix(hash, variant);
406 const std::uint64_t tag = id >> slot_bits;
407 std::size_t at = std::size_t(id) & mask_;
408 for (std::size_t probes = 0; probes <= mask_; ++probes, at = (at + 1) & mask_) {
409 const std::uint64_t entry = table_[at].load(std::memory_order_acquire);
410 if (entry == 0) return;
411 if ((entry >> slot_bits) != tag) continue;
412 std::uint32_t none = unknown_ms;
413 slots_[(entry & slot_mask) - 1].build_ms.compare_exchange_strong(none, ms, std::memory_order_relaxed);
414 return;
415 }
416 }
417
418 // Appends what was published since the last call. Returns the lines written; -1 when the file cannot be opened
419 // (the record is then off for the rest of the run).
420 long flush() {
421 std::lock_guard lock(io_mutex_);
422 return flush_locked();
423 }
424
425 // A thread that calls flush() every `period`. Idempotent.
426 void start(std::chrono::milliseconds period) {
427 std::lock_guard lock(thread_mutex_);
428 if (thread_.joinable()) return;
429 stopping_ = false;
430 thread_ = std::thread([this, period] {
431 std::unique_lock lock(thread_mutex_);
432 while (!stopping_) {
433 thread_cv_.wait_for(lock, period, [this] { return stopping_; });
434 lock.unlock();
435 flush();
436 lock.lock();
437 }
438 });
439 }
440
441 void stop() {
442 {
443 std::lock_guard lock(thread_mutex_);
444 stopping_ = true;
445 }
446 thread_cv_.notify_all();
447 if (thread_.joinable()) thread_.join();
448 }
449
450 Counts counts() const {
451 Counts c;
452 std::vector<std::uint32_t> leads;
453 const std::uint32_t used = std::min<std::uint32_t>(next_.load(std::memory_order_acquire), std::uint32_t(capacity_));
454 for (std::uint32_t i = 0; i < used; ++i) {
455 const Slot& s = slots_[i];
456 if (s.state.load(std::memory_order_acquire) != published) continue;
457 ++c.requested;
458 if (s.ready) ++c.ready;
459 leads.push_back(s.first_ms > s.created_ms ? s.first_ms - s.created_ms : 0);
460 }
461 c.overflow = overflow_.load(std::memory_order_relaxed);
462 if (!leads.empty()) {
463 const std::size_t mid = (leads.size() - 1) / 2;
464 std::nth_element(leads.begin(), leads.begin() + std::ptrdiff_t(mid), leads.end());
465 c.median_lead_ms = leads[mid];
466 }
467 return c;
468 }
469
470 // Stops the thread, writes what is left and returns the one-line report; empty after the first call.
471 std::string close() {
472 if (closed_.exchange(true)) return {};
473 stop();
474 flush();
475 return report(counts(), config_.path);
476 }
477
478 static std::string report(const Counts& c, const std::filesystem::path& path) {
479 std::string line = "[rt] pipeline-order: requested " + std::to_string(c.requested) + ", already ready " +
480 std::to_string(c.ready) + ", median lead " + std::to_string(c.median_lead_ms) + " ms";
481 if (c.overflow) line += ", not recorded (record full) " + std::to_string(c.overflow);
482 line += " -> " + path.string();
483 return line;
484 }
485
486 // The file could not be opened or written: nothing more is recorded this run.
487 bool failed() {
488 std::lock_guard lock(io_mutex_);
489 return failed_;
490 }
491 const std::filesystem::path& path() const { return config_.path; }
492 std::size_t capacity() const { return capacity_; }
493
494private:
495 static constexpr unsigned slot_bits = 14;
496 static constexpr std::uint64_t slot_mask = (1u << slot_bits) - 1;
497 enum : std::uint32_t { free_slot = 0, claimed = 1, published = 2, void_slot = 3 };
498
499 struct Slot {
500 std::atomic<std::uint32_t> state{free_slot};
501 std::atomic<std::uint32_t> build_ms{unknown_ms};
502 std::uint32_t variant = 0;
503 std::uint32_t created_ms = 0;
504 std::uint32_t first_ms = 0;
505 std::uint64_t name_hash = 0; // 0: no E line
506 std::uint8_t key_len = 0;
507 char kind = 'c';
508 bool ready = false;
509 char key[key_chars] = {};
510 };
511
512 static std::size_t table_size(std::size_t capacity) {
513 std::size_t n = 16;
514 while (n < capacity * 2) n <<= 1;
515 return n;
516 }
517
518 std::uint32_t now() const noexcept { return config_.now_ms ? config_.now_ms() : 0; }
519
520 long flush_locked() {
521 if (failed_) return -1;
522 std::string out;
523 long lines = 0;
524 // Published slots, in claim order; stop at one still being filled so that the order stays the order of asking.
525 const std::uint32_t used = std::min<std::uint32_t>(next_.load(std::memory_order_acquire), std::uint32_t(capacity_));
526 while (cursor_ < used) {
527 Slot& s = slots_[cursor_];
528 const std::uint32_t state = s.state.load(std::memory_order_acquire);
529 if (state == void_slot) {
530 ++cursor_;
531 continue;
532 }
533 if (state != published) break;
534 Record r;
535 r.kind = s.kind;
536 r.key.assign(s.key, s.key_len);
537 r.variant = s.variant;
538 r.created_ms = s.created_ms;
539 r.first_ms = s.first_ms;
540 r.build_ms = s.build_ms.load(std::memory_order_relaxed);
541 r.ready = s.ready;
542 out += format_record(r);
543 ++lines;
544 if (s.name_hash) {
545 out += format_entry(r.key, r.variant, s.name_hash);
546 ++lines;
547 }
548 if (r.build_ms == unknown_ms) waiting_.push_back(cursor_);
549 ++cursor_;
550 }
551 // The builds that finished after their line was written.
552 for (std::size_t i = 0; i < waiting_.size();) {
553 Slot& s = slots_[waiting_[i]];
554 const std::uint32_t ms = s.build_ms.load(std::memory_order_relaxed);
555 if (ms == unknown_ms) {
556 ++i;
557 continue;
558 }
559 out += format_build(std::string_view(s.key, s.key_len), s.variant, ms);
560 ++lines;
561 waiting_[i] = waiting_.back();
562 waiting_.pop_back();
563 }
564 if (out.empty()) return 0;
565 if (!file_) {
566 if (!open()) {
567 failed_ = true;
568 return -1;
569 }
570 }
571 std::string head;
572 if (!session_written_) {
573 if (new_file_) head += format_header();
574 head += format_session(config_.vendor, config_.device);
575 session_written_ = true;
576 }
577 head += out;
578 const bool ok = std::fwrite(head.data(), 1, head.size(), file_.get()) == head.size() && std::fflush(file_.get()) == 0;
579 if (!ok) {
580 failed_ = true;
581 return -1;
582 }
583 return lines;
584 }
585
586 static bool ends_with_newline(const std::filesystem::path& path) {
587 std::ifstream in(path, std::ios::binary | std::ios::ate);
588 if (!in || in.tellg() <= 0) return true;
589 in.seekg(-1, std::ios::end);
590 char last = '\n';
591 in.get(last);
592 return last == '\n';
593 }
594
595 bool open() {
596 std::error_code ec;
597 if (config_.path.empty()) return false;
598 if (config_.path.has_parent_path()) std::filesystem::create_directories(config_.path.parent_path(), ec);
599 const auto size = std::filesystem::file_size(config_.path, ec);
600 if (!ec && size >= config_.max_file_bytes) {
601 auto prev = config_.path;
602 prev += ".prev";
603 std::filesystem::remove(prev, ec);
604 std::filesystem::rename(config_.path, prev, ec);
605 }
606 ec.clear();
607 const auto now_size = std::filesystem::file_size(config_.path, ec);
608 new_file_ = ec || now_size == 0;
609 std::FILE* f = nullptr;
610#ifdef _WIN32
611 f = _wfsopen(config_.path.c_str(), L"ab", _SH_DENYNO); // others may read it while the title runs
612#else
613 f = std::fopen(config_.path.c_str(), "ab");
614#endif
615 if (!f) return false;
616 file_.reset(f);
617 // A process killed in the middle of a line leaves no newline: the next session's line would stick to it and
618 // the reader would file this run's records under the previous one. The reader skips empty lines.
619 if (!new_file_ && !ends_with_newline(config_.path) && std::fputc('\n', f) == EOF) {
620 file_.reset();
621 return false;
622 }
623 return true;
624 }
625
626 struct Closer {
627 void operator()(std::FILE* f) const { if (f) std::fclose(f); }
628 };
629
630 Config config_;
631 const std::size_t capacity_;
632 const std::size_t mask_;
633 std::unique_ptr<std::atomic<std::uint64_t>[]> table_;
634 std::unique_ptr<Slot[]> slots_;
635 std::atomic<std::uint32_t> next_{0};
636 std::atomic<std::size_t> overflow_{0};
637 std::atomic<bool> closed_{false};
638
639 std::mutex io_mutex_;
640 std::unique_ptr<std::FILE, Closer> file_;
641 std::uint32_t cursor_ = 0;
642 std::vector<std::uint32_t> waiting_;
643 bool failed_ = false;
644 bool new_file_ = false;
645 bool session_written_ = false;
646
647 std::mutex thread_mutex_;
648 std::condition_variable thread_cv_;
649 std::thread thread_;
650 bool stopping_ = false;
651};
652
653} // namespace leonida::pipeline_order
diff --git a/runtime/src/pipeline_prewarm.h b/runtime/src/pipeline_prewarm.h
new file mode 100644
index 000000000..394164aa9
--- /dev/null
+++ b/runtime/src/pipeline_prewarm.h
@@ -0,0 +1,171 @@
1// RT-PIPELINE-PREWARM-ORDER, phase 2 (in-game): build at boot, ahead of their first draw, the pipelines an earlier run
2// asked for first, in the order it asked for them. Off unless LEONIDA_PIPELINE_PREWARM_ORDER names an order log
3// (pipeline_order.h, written with LEONIDA_PIPELINE_ORDER_LOG=1); "1" names pipeline_order.log beside the session cache.
4//
5// The plan is read once, when the device starts. A pipeline the title creates whose description key is in it gets its
6// recorded variants queued on the compile workers (d3d12_pipeline_compile.h) as warm-ups, at a priority that keeps the
7// recorded order: below every demanded build, and one warm-up at a time, none while a demanded build runs.
8//
9// Which run: of the sessions recorded on this GPU (vendor and device id), the one with the most records, the newest of
10// those on a tie. A file from another GPU, a missing or unreadable file and a file with no usable record are ignored
11// with one line on stderr; a damaged line is skipped (pipeline_order::parse), as are line types a v1 reader does not
12// know (MoonEyes' `E` lines for the offline precompiler).
13//
14// Graphics and mesh records only: compute pipelines already have their own warm-up by module size, and the offline
15// precompiler takes their recorded order (gta6rt --precompile-pipelines --order-file).
16//
17// The budget is the build time the earlier run recorded: records are taken in order until their build times add up to
18// LEONIDA_PIPELINE_PREWARM_BUDGET_MS (default 300000), and at most LEONIDA_PIPELINE_PREWARM_MAX_ENTRIES (default 4096).
19// A record with no build time counts as unknown_build_ms.
20#pragma once
21
22#include "pipeline_order.h"
23
24#include <cstdint>
25#include <filesystem>
26#include <fstream>
27#include <sstream>
28#include <string>
29#include <string_view>
30#include <unordered_map>
31#include <unordered_set>
32#include <vector>
33
34namespace leonida::pipeline_prewarm {
35
36inline constexpr std::uint64_t default_budget_ms = 300000;
37inline constexpr std::size_t default_max_entries = 4096;
38inline constexpr std::uint32_t unknown_build_ms = 1000; // what a record with no build time counts against the budget
39
40struct Options {
41 std::uint64_t budget_ms = default_budget_ms;
42 std::size_t max_entries = default_max_entries;
43};
44
45// One variant of one pipeline to build, and where it came in the recorded order (0 first).
46struct Entry {
47 std::uint32_t rank = 0;
48 std::uint32_t variant = 0;
49 char kind = 'g';
50};
51
52// The compile-worker priority of a prewarm: after demanded builds (0), in recorded order. Compute warm-ups use their
53// module size (some hundred KiB), so prewarms mostly go first; the checkpoint (SIZE_MAX) stays last.
54inline std::size_t priority(std::uint32_t rank) { return std::size_t{1} + rank; }
55
56struct Plan {
57 std::unordered_map<std::string, std::vector<Entry>> by_key; // description key -> its variants, in recorded order
58 std::size_t entries = 0; // variants planned
59 std::size_t session_records = 0; // records of the session read
60 std::size_t compute_skipped = 0; // compute records left to the size-ordered warm-up
61 std::size_t over_budget = 0; // graphics and mesh records past the budget or the entry limit
62 std::uint64_t budget_used_ms = 0; // recorded build time of the planned ones
63 std::size_t bad_lines = 0; // damaged or unknown lines skipped
64 std::string message; // the one line for stderr: what was read, or why nothing is prewarmed
65
66 explicit operator bool() const { return entries != 0; }
67 const std::vector<Entry>* find(std::string_view key) const {
68 const auto it = by_key.find(std::string(key));
69 return it == by_key.end() ? nullptr : &it->second;
70 }
71};
72
73// Drops the lines a v1 reader does not know but that are not damage: `E` lines (the library entry of a record, for the
74// offline precompiler). pipeline_order::parse would count them as bad lines.
75inline std::string without_unknown_lines(std::string_view text) {
76 std::string out;
77 out.reserve(text.size());
78 std::size_t at = 0;
79 while (at < text.size()) {
80 std::size_t end = text.find('\n', at);
81 const bool last = end == std::string_view::npos;
82 if (last) end = text.size();
83 const std::string_view line = text.substr(at, end - at);
84 if (!(line.size() >= 2 && line[0] == 'E' && line[1] == ' ')) {
85 out += line;
86 if (!last) out += '\n';
87 }
88 at = last ? end : end + 1;
89 }
90 return out;
91}
92
93// The plan from the text of an order log, for the GPU with this vendor and device id. `source` names the file in the
94// message. Never throws on any text.
95inline Plan make_plan(std::string_view text, std::uint32_t vendor, std::uint32_t device, const Options& options = {},
96 std::string_view source = "the order log") {
97 Plan plan;
98 const auto read = pipeline_order::parse(without_unknown_lines(text));
99 plan.bad_lines = read.bad_lines;
100 const pipeline_order::Session* chosen = nullptr;
101 std::size_t other_gpu = 0;
102 for (const auto& session : read.sessions) {
103 if (session.records.empty()) continue;
104 if (session.vendor != vendor || session.device != device) {
105 ++other_gpu;
106 continue;
107 }
108 if (!chosen || session.records.size() >= chosen->records.size()) chosen = &session;
109 }
110 const std::string head = "[rt] pipeline-prewarm: ", where(source);
111 if (!chosen) {
112 plan.message = head + "nothing to prewarm from " + where + ": " +
113 (other_gpu ? std::to_string(other_gpu) + " recorded run(s), none on this GPU"
114 : std::string("no readable record")) +
115 (plan.bad_lines ? " (" + std::to_string(plan.bad_lines) + " damaged line(s) skipped)" : "");
116 return plan;
117 }
118 plan.session_records = chosen->records.size();
119 std::unordered_set<std::string> seen; // key + variant: a record repeated in a session is planned once
120 std::uint32_t rank = 0;
121 for (const auto& record : chosen->records) {
122 if (record.kind == 'c') {
123 ++plan.compute_skipped;
124 continue;
125 }
126 if (!seen.insert(record.key + '/' + std::to_string(record.variant)).second) continue;
127 const std::uint64_t cost = record.build_ms == pipeline_order::unknown_ms ? unknown_build_ms : record.build_ms;
128 if (plan.entries >= options.max_entries || plan.budget_used_ms + cost > options.budget_ms) {
129 ++plan.over_budget;
130 continue;
131 }
132 plan.budget_used_ms += cost;
133 plan.by_key[record.key].push_back({rank++, record.variant, record.kind});
134 ++plan.entries;
135 }
136 plan.message = head + std::to_string(plan.entries) + " graphics variant(s) of " +
137 std::to_string(plan.by_key.size()) + " pipeline(s) to prewarm from " + where + " (a run of " +
138 std::to_string(plan.session_records) + " record(s); " + std::to_string(plan.budget_used_ms) +
139 " ms recorded build time; " + std::to_string(plan.over_budget) + " over the budget; " +
140 std::to_string(plan.compute_skipped) + " compute left to the warm-up";
141 if (plan.bad_lines) plan.message += "; " + std::to_string(plan.bad_lines) + " damaged line(s) skipped";
142 plan.message += ")";
143 return plan;
144}
145
146// Reads the file and makes the plan. A file that cannot be read gives an empty plan with the reason.
147inline Plan load_plan(const std::filesystem::path& path, std::uint32_t vendor, std::uint32_t device,
148 const Options& options = {}) {
149 std::ifstream in(path, std::ios::binary);
150 if (!in) {
151 Plan plan;
152 plan.message = "[rt] pipeline-prewarm: cannot read " + path.string() + "; nothing is prewarmed";
153 return plan;
154 }
155 std::ostringstream text;
156 text << in.rdbuf();
157 return make_plan(text.str(), vendor, device, options, path.string());
158}
159
160// A positive whole number, or `fallback` for unset, empty, zero, or anything else.
161inline std::uint64_t parse_count(const char* text, std::uint64_t fallback) {
162 if (!text || !*text) return fallback;
163 std::uint64_t v = 0;
164 for (const char* p = text; *p; ++p) {
165 if (*p < '0' || *p > '9' || v > (UINT64_MAX - 9) / 10) return fallback;
166 v = v * 10 + std::uint64_t(*p - '0');
167 }
168 return v ? v : fallback;
169}
170
171} // namespace leonida::pipeline_prewarm
diff --git a/runtime/src/pipeline_wait.h b/runtime/src/pipeline_wait.h
new file mode 100644
index 000000000..2d74d8581
--- /dev/null
+++ b/runtime/src/pipeline_wait.h
@@ -0,0 +1,35 @@
1#pragma once
2// When the title last submitted, for the compute warm-ups (runtime/shims/d3d12_vulkan_device.cpp,
3// LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES, opt-in): while the title submits, a warm-up of a big module is left to the
4// pipeline's first use, since a create holds the compile gate for its whole length and every submission waits behind it.
5// No windows.h here: vulkan_backend.h includes this, and translation units without NOMINMAX include that.
6#include <atomic>
7#include <chrono>
8#include <cstdint>
9
10namespace leonida::pipeline_wait {
11
12// Steady-clock nanoseconds (the clock of submit_phases::now_ns).
13inline std::int64_t now_ns() {
14 return std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::steady_clock::now().time_since_epoch())
15 .count();
16}
17
18// The last submission (VulkanQueue::execute).
19inline std::atomic<std::int64_t>& last_submission() {
20 static std::atomic<std::int64_t> value{0};
21 return value;
22}
23inline void note_submission() { last_submission().store(now_ns(), std::memory_order_relaxed); }
24inline bool title_submitting(std::int64_t within_ns = 1000000000) {
25 const std::int64_t last = last_submission().load(std::memory_order_relaxed);
26 return last && now_ns() - last < within_ns;
27}
28
29// Big warm-ups left to their first use while the title submits.
30inline std::atomic<std::uint64_t>& warmups_left() {
31 static std::atomic<std::uint64_t> value{0};
32 return value;
33}
34
35} // namespace leonida::pipeline_wait
diff --git a/runtime/src/pipeline_workers.h b/runtime/src/pipeline_workers.h
index 664bfe0b8..7e826512d 100644
--- a/runtime/src/pipeline_workers.h
+++ b/runtime/src/pipeline_workers.h
@@ -15,6 +15,7 @@
15#include <exception> 15#include <exception>
16#include <functional> 16#include <functional>
17#include <mutex> 17#include <mutex>
18#include <new>
18#include <system_error> 19#include <system_error>
19#include <thread> 20#include <thread>
20#include <utility> 21#include <utility>
@@ -52,10 +53,16 @@ public:
52 } 53 }
53 Batch batch{&job, count}; 54 Batch batch{&job, count};
54 std::unique_lock lock(mutex_); 55 std::unique_lock lock(mutex_);
55 queue_.push_back(&batch); 56 start(count - 1);
57 try {
58 queue_.push_back(&batch);
59 } catch (const std::bad_alloc&) {
60 lock.unlock();
61 for (std::size_t i = 0; i < count; ++i) job(i);
62 return;
63 }
56 ++batches_; 64 ++batches_;
57 jobs_ += count; 65 jobs_ += count;
58 start(count - 1);
59 work_.notify_all(); 66 work_.notify_all();
60 while (batch.next < batch.count) step(batch, lock); 67 while (batch.next < batch.count) step(batch, lock);
61 batch.done.wait(lock, [&] { return !batch.running; }); 68 batch.done.wait(lock, [&] { return !batch.running; });
@@ -101,6 +108,8 @@ private:
101 ++started_; 108 ++started_;
102 } catch (const std::system_error&) { 109 } catch (const std::system_error&) {
103 exhausted_ = true; // the workers there are, and the callers, do it all 110 exhausted_ = true; // the workers there are, and the callers, do it all
111 } catch (const std::bad_alloc&) {
112 break; // out of memory growing the pool; existing workers and callers finish this batch
104 } 113 }
105 } 114 }
106 } 115 }
diff --git a/runtime/src/present_compose.comp b/runtime/src/present_compose.comp
index ff3b0a0c0..325ce2e69 100644
--- a/runtime/src/present_compose.comp
+++ b/runtime/src/present_compose.comp
@@ -71,29 +71,54 @@ vec3 nits_to_pq(vec3 nits) {
71 return pow((c1 + c2 * y) / (1.0 + c3 * y), vec3(m2)); 71 return pow((c1 + c2 * y) / (1.0 + c3 * y), vec3(m2));
72} 72}
73 73
74// One texel as linear premultiplied colour (plane space) and its alpha. Premultiplied data is divided by alpha for the 74struct PlaneSample {
75// decode (the curve applies to the colour, not to colour times alpha) and multiplied again after. 75 vec4 covered;
76vec4 fetch_texel(texture2D t, ivec2 i, uint flags) { 76 vec3 additive;
77};
78
79PlaneSample fetch_texel(texture2D t, ivec2 i, uint flags) {
77 vec4 c = texelFetch(t, i, 0); 80 vec4 c = texelFetch(t, i, 0);
78 bool opaque = (flags & flag_opaque) != 0u; 81 bool opaque = (flags & flag_opaque) != 0u;
79 float a = opaque ? 1.0 : clamp(c.a, 0.0, 1.0); 82 float a = opaque ? 1.0 : clamp(c.a, 0.0, 1.0);
80 vec3 e = (flags & flag_srgb_source) != 0u ? srgb_encode(c.rgb) : c.rgb; 83 bool srgb_src = (flags & flag_srgb_source) != 0u;
81 if (!opaque && (flags & flag_straight_alpha) == 0u) e = a > 0.0 ? e / a : vec3(0.0); 84 bool hdr = (flags & flag_hdr10) != 0u;
82 vec3 lin = (flags & flag_hdr10) != 0u ? pq_to_nits(e) : sdr_decode(e); 85 bool premul = !opaque && (flags & flag_straight_alpha) == 0u;
83 return vec4(lin * a, a); 86 if (srgb_src && premul && !hdr) {
87 vec3 lin = max(c.rgb, 0.0);
88 if (pc.sdr_eotf == 1u) {
89 vec3 covered = a > 0.0 ? sdr_decode(srgb_encode(min(lin, vec3(a)) / a)) * a : vec3(0.0);
90 vec3 additive = sdr_decode(srgb_encode(max(lin - a, 0.0)));
91 return PlaneSample(vec4(covered, a), additive);
92 }
93 return PlaneSample(vec4(lin, a), vec3(0.0));
94 }
95 vec3 e = srgb_src ? srgb_encode(c.rgb) : c.rgb;
96 if (premul) {
97 vec3 covered = a > 0.0 ? min(e, vec3(a)) / a : vec3(0.0);
98 vec3 excess = max(e - a, 0.0);
99 return PlaneSample(vec4((hdr ? pq_to_nits(covered) : sdr_decode(covered)) * a, a),
100 hdr ? pq_to_nits(excess) : sdr_decode(excess));
101 }
102 vec3 lin = hdr ? pq_to_nits(e) : sdr_decode(e);
103 return PlaneSample(vec4(lin * a, a), vec3(0.0));
104}
105
106PlaneSample mix_samples(PlaneSample a, PlaneSample b, float weight) {
107 return PlaneSample(mix(a.covered, b.covered, weight), mix(a.additive, b.additive, weight));
84} 108}
85 109
86// The plane's linear premultiplied value at output pixel `pixel` (its centre), in the plane's own space. 110PlaneSample fetch_plane(texture2D t, vec4 dest, vec4 src, uint flags, ivec2 pixel) {
87vec4 fetch_plane(texture2D t, vec4 dest, vec4 src, uint flags, ivec2 pixel) { 111 vec2 p = (vec2(pixel) + 0.5 - dest.xy) / (dest.zw - dest.xy);
88 vec2 p = (vec2(pixel) + 0.5 - dest.xy) / (dest.zw - dest.xy); // 0..1 across the destination rectangle 112 vec2 s = src.xy + p * (src.zw - src.xy);
89 vec2 s = src.xy + p * (src.zw - src.xy); // continuous texel coordinates
90 vec2 lo = src.xy, hi = src.zw - 1.0; 113 vec2 lo = src.xy, hi = src.zw - 1.0;
91 if ((flags & flag_point) != 0u) return fetch_texel(t, ivec2(clamp(floor(s), lo, hi)), flags); 114 if ((flags & flag_point) != 0u) return fetch_texel(t, ivec2(clamp(floor(s), lo, hi)), flags);
92 vec2 f = clamp(s - 0.5, lo, hi); // the texel whose centre is at or before the sample, clamped inside the rectangle 115 vec2 f = clamp(s - 0.5, lo, hi);
93 vec2 base = floor(f), w = f - base; 116 vec2 base = floor(f), w = f - base;
94 ivec2 i0 = ivec2(base), i1 = ivec2(min(base + 1.0, hi)); 117 ivec2 i0 = ivec2(base), i1 = ivec2(min(base + 1.0, hi));
95 return mix(mix(fetch_texel(t, ivec2(i0.x, i0.y), flags), fetch_texel(t, ivec2(i1.x, i0.y), flags), w.x), 118 return mix_samples(mix_samples(fetch_texel(t, ivec2(i0.x, i0.y), flags),
96 mix(fetch_texel(t, ivec2(i0.x, i1.y), flags), fetch_texel(t, ivec2(i1.x, i1.y), flags), w.x), w.y); 119 fetch_texel(t, ivec2(i1.x, i0.y), flags), w.x),
120 mix_samples(fetch_texel(t, ivec2(i0.x, i1.y), flags),
121 fetch_texel(t, ivec2(i1.x, i1.y), flags), w.x), w.y);
97} 122}
98 123
99vec3 bt709_to_bt2020(vec3 v) { 124vec3 bt709_to_bt2020(vec3 v) {
@@ -120,14 +145,16 @@ vec3 tone_map(vec3 v) {
120 return v * ((knee + t * u * (1.0 + u / (w * w)) / (1.0 + u)) / y); 145 return v * ((knee + t * u * (1.0 + u / (w * w)) / (1.0 + u)) / y);
121} 146}
122 147
123// A linear premultiplied colour of alpha `a` from the plane's space to the output's working space. Both conversions are 148vec3 to_working(PlaneSample sample_value, bool plane_hdr) {
124// linear except the tone map, which needs the unassociated colour.
125vec3 to_working(vec3 lin, float a, bool plane_hdr) {
126 bool out_hdr = pc.out_hdr != 0u; 149 bool out_hdr = pc.out_hdr != 0u;
150 vec3 lin = sample_value.covered.rgb + sample_value.additive;
127 if (plane_hdr == out_hdr) return lin; 151 if (plane_hdr == out_hdr) return lin;
128 if (!plane_hdr) return bt709_to_bt2020(lin) * pc.sdr_white; 152 if (!plane_hdr) return bt709_to_bt2020(lin) * pc.sdr_white;
129 if (a <= 0.0) return vec3(0.0); 153 float a = sample_value.covered.a;
130 return tone_map(max(bt2020_to_bt709(lin / a) / pc.sdr_white, 0.0)) * a; 154 vec3 covered = a > 0.0 ? tone_map(max(bt2020_to_bt709(sample_value.covered.rgb / a) / pc.sdr_white, 0.0)) * a
155 : vec3(0.0);
156 vec3 additive = tone_map(max(bt2020_to_bt709(sample_value.additive) / pc.sdr_white, 0.0));
157 return covered + additive;
131} 158}
132 159
133vec3 encode_output(vec3 w) { return pc.out_hdr != 0u ? nits_to_pq(max(w, 0.0)) : sdr_encode(w); } 160vec3 encode_output(vec3 w) { return pc.out_hdr != 0u ? nits_to_pq(max(w, 0.0)) : sdr_encode(w); }
@@ -139,12 +166,12 @@ void main() {
139 166
140 vec3 base = vec3(0.0); // outside plane 0's rectangle: black 167 vec3 base = vec3(0.0); // outside plane 0's rectangle: black
141 if (all(greaterThanEqual(centre, pc.dest0.xy)) && all(lessThan(centre, pc.dest0.zw))) { 168 if (all(greaterThanEqual(centre, pc.dest0.xy)) && all(lessThan(centre, pc.dest0.zw))) {
142 vec4 c = fetch_plane(plane0, pc.dest0, pc.src0, pc.flags0 | flag_opaque, pixel); 169 PlaneSample c = fetch_plane(plane0, pc.dest0, pc.src0, pc.flags0 | flag_opaque, pixel);
143 base = to_working(c.rgb, 1.0, (pc.flags0 & flag_hdr10) != 0u); 170 base = to_working(c, (pc.flags0 & flag_hdr10) != 0u);
144 } 171 }
145 if (pc.plane_count > 1u && all(greaterThanEqual(centre, pc.dest1.xy)) && all(lessThan(centre, pc.dest1.zw))) { 172 if (pc.plane_count > 1u && all(greaterThanEqual(centre, pc.dest1.xy)) && all(lessThan(centre, pc.dest1.zw))) {
146 vec4 c = fetch_plane(plane1, pc.dest1, pc.src1, pc.flags1, pixel); 173 PlaneSample c = fetch_plane(plane1, pc.dest1, pc.src1, pc.flags1, pixel);
147 base = to_working(c.rgb, c.a, (pc.flags1 & flag_hdr10) != 0u) + (1.0 - c.a) * base; 174 base = to_working(c, (pc.flags1 & flag_hdr10) != 0u) + (1.0 - c.covered.a) * base;
148 } 175 }
149 imageStore(out_image, pixel, vec4(encode_output(base), 1.0)); 176 imageStore(out_image, pixel, vec4(encode_output(base), 1.0));
150} 177}
diff --git a/runtime/src/present_compose.inc b/runtime/src/present_compose.inc
index 92ddfcb0b..0b484e71d 100644
--- a/runtime/src/present_compose.inc
+++ b/runtime/src/present_compose.inc
@@ -1,1523 +1,1354 @@
1{0x07230203,0x00010300,0x000d000b,0x00000bb3, 1{0x07230203,0x00010300,0x0008000b,0x00000394,
20x00000000,0x00020011,0x00000001,0x0006000b, 20x00000000,0x00020011,0x00000001,0x0006000b,
30x00000001,0x4c534c47,0x6474732e,0x3035342e, 30x00000001,0x4c534c47,0x6474732e,0x3035342e,
40x00000000,0x0003000e,0x00000000,0x00000001, 40x00000000,0x0003000e,0x00000000,0x00000001,
50x0006000f,0x00000005,0x00000004,0x6e69616d, 50x0006000f,0x00000005,0x00000004,0x6e69616d,
60x00000000,0x00000251,0x00060010,0x00000004, 60x00000000,0x00000305,0x00060010,0x00000004,
70x00000011,0x00000008,0x00000008,0x00000001, 70x00000011,0x00000008,0x00000008,0x00000001,
80x00030047,0x00000077,0x00000002,0x00050048, 80x00030003,0x00000002,0x000001c2,0x000b0004,
90x00000077,0x00000000,0x00000023,0x00000000, 90x455f4c47,0x735f5458,0x6c706d61,0x656c7265,
100x00050048,0x00000077,0x00000001,0x00000023, 100x745f7373,0x75747865,0x665f6572,0x74636e75,
110x00000010,0x00050048,0x00000077,0x00000002, 110x736e6f69,0x00000000,0x00040005,0x00000004,
120x00000023,0x00000020,0x00050048,0x00000077, 120x6e69616d,0x00000000,0x00070005,0x0000000b,
130x00000003,0x00000023,0x00000030,0x00050048, 130x62677273,0x636e655f,0x2865646f,0x3b336676,
140x00000077,0x00000004,0x00000023,0x00000040, 140x00000000,0x00030005,0x0000000a,0x00000063,
150x00050048,0x00000077,0x00000005,0x00000023, 150x00070005,0x0000000e,0x62677273,0x6365645f,
160x00000044,0x00050048,0x00000077,0x00000006, 160x2865646f,0x3b336676,0x00000000,0x00030005,
170x00000023,0x00000048,0x00050048,0x00000077, 170x0000000d,0x00000065,0x00060005,0x00000011,
180x00000007,0x00000023,0x0000004c,0x00050048, 180x5f726473,0x6f636564,0x76286564,0x003b3366,
190x00000077,0x00000008,0x00000023,0x00000050, 190x00030005,0x00000010,0x00000065,0x00060005,
200x00050048,0x00000077,0x00000009,0x00000023, 200x00000014,0x5f726473,0x6f636e65,0x76286564,
210x00000054,0x00050048,0x00000077,0x0000000a, 210x003b3366,0x00030005,0x00000013,0x0000006c,
220x00000023,0x00000058,0x00050048,0x00000077, 220x00060005,0x00000017,0x745f7170,0x696e5f6f,
230x0000000b,0x00000023,0x0000005c,0x00050048, 230x76287374,0x003b3366,0x00030005,0x00000016,
240x00000077,0x0000000c,0x00000023,0x00000060, 240x00000065,0x00060005,0x0000001a,0x7374696e,
250x00050048,0x00000077,0x0000000d,0x00000023, 250x5f6f745f,0x76287170,0x003b3366,0x00040005,
260x00000064,0x00050048,0x00000077,0x0000000e, 260x00000019,0x7374696e,0x00000000,0x00050005,
270x00000023,0x00000068,0x00050048,0x00000077, 270x00000024,0x6e616c50,0x6d615365,0x00656c70,
280x0000000f,0x00000023,0x0000006c,0x00040047, 280x00050006,0x00000024,0x00000000,0x65766f63,
290x00000251,0x0000000b,0x0000001c,0x00040047, 290x00646572,0x00060006,0x00000024,0x00000001,
300x00000285,0x00000021,0x00000000,0x00040047, 300x69646461,0x65766974,0x00000000,0x00080005,
310x00000285,0x00000022,0x00000000,0x00040047, 310x00000029,0x63746566,0x65745f68,0x286c6578,
320x000002b9,0x00000021,0x00000001,0x00040047, 320x3b313274,0x3b326976,0x003b3175,0x00030005,
330x000002b9,0x00000022,0x00000000,0x00030047, 330x00000026,0x00000074,0x00030005,0x00000027,
340x000002dc,0x00000019,0x00040047,0x000002dc, 340x00000069,0x00040005,0x00000028,0x67616c66,
350x00000021,0x00000002,0x00040047,0x000002dc, 350x00000073,0x00140005,0x00000031,0x5f78696d,
360x00000022,0x00000000,0x00040047,0x000002e6, 360x706d6173,0x2873656c,0x75727473,0x502d7463,
370x0000000b,0x00000019,0x00020013,0x00000002, 370x656e616c,0x706d6153,0x762d656c,0x762d3466,
380x00030021,0x00000003,0x00000002,0x00030016, 380x3b313366,0x75727473,0x502d7463,0x656e616c,
390x00000006,0x00000020,0x00040017,0x00000007, 390x706d6153,0x762d656c,0x762d3466,0x3b313366,
400x00000006,0x00000003,0x00090019,0x0000001c, 400x003b3166,0x00030005,0x0000002e,0x00000061,
410x00000006,0x00000001,0x00000000,0x00000000, 410x00030005,0x0000002f,0x00000062,0x00040005,
420x00000000,0x00000001,0x00000000,0x00040020, 420x00000030,0x67696577,0x00007468,0x000a0005,
430x0000001d,0x00000000,0x0000001c,0x00040015, 430x0000003a,0x63746566,0x6c705f68,0x28656e61,
440x0000001e,0x00000020,0x00000001,0x00040017, 440x3b313274,0x3b346676,0x3b346676,0x763b3175,
450x0000001f,0x0000001e,0x00000002,0x00040015, 450x003b3269,0x00030005,0x00000035,0x00000074,
460x00000021,0x00000020,0x00000000,0x00040017, 460x00040005,0x00000036,0x74736564,0x00000000,
470x00000023,0x00000006,0x00000004,0x00020014, 470x00030005,0x00000037,0x00637273,0x00040005,
480x0000003d,0x0004002b,0x00000006,0x00000049, 480x00000038,0x67616c66,0x00000073,0x00040005,
490x00000000,0x0004002b,0x00000006,0x0000004a, 490x00000039,0x65786970,0x0000006c,0x00080005,
500x3f800000,0x0004002b,0x00000006,0x0000004f, 500x0000003d,0x30377462,0x6f745f39,0x3274625f,
510x414eb852,0x0004002b,0x00000006,0x00000051, 510x28303230,0x3b336676,0x00000000,0x00030005,
520x3f870a3d,0x0004002b,0x00000006,0x00000053, 520x0000003c,0x00000076,0x00080005,0x00000040,
530x3ed55555,0x0006002c,0x00000007,0x00000054, 530x30327462,0x745f3032,0x74625f6f,0x28393037,
540x00000053,0x00000053,0x00000053,0x0004002b, 540x3b336676,0x00000000,0x00030005,0x0000003f,
550x00000006,0x00000057,0x3d6147ae,0x0004002b, 550x00000076,0x00060005,0x00000043,0x656e6f74,
560x00000006,0x0000005b,0x3b4d2e1c,0x0006002c, 560x70616d5f,0x33667628,0x0000003b,0x00030005,
570x00000007,0x0000005c,0x0000005b,0x0000005b, 570x00000042,0x00000076,0x000d0005,0x0000004a,
580x0000005b,0x00040017,0x0000005d,0x0000003d, 580x775f6f74,0x696b726f,0x7328676e,0x63757274,
590x00000003,0x0004002b,0x00000006,0x0000006d, 590x6c502d74,0x53656e61,0x6c706d61,0x66762d65,
600x4019999a,0x0006002c,0x00000007,0x0000006e, 600x66762d34,0x623b3133,0x00003b31,0x00060005,
610x0000006d,0x0000006d,0x0000006d,0x0004002b, 610x00000048,0x706d6173,0x765f656c,0x65756c61,
620x00000006,0x00000071,0x3d25aee6,0x0006002c, 620x00000000,0x00050005,0x00000049,0x6e616c70,
630x00000007,0x00000072,0x00000071,0x00000071, 630x64685f65,0x00000072,0x00070005,0x0000004d,
640x00000071,0x0012001e,0x00000077,0x00000023, 640x6f636e65,0x6f5f6564,0x75707475,0x66762874,
650x00003b33,0x00030005,0x0000004c,0x00000077,
660x00040005,0x0000007e,0x68737550,0x00000000,
670x00050006,0x0000007e,0x00000000,0x74736564,
680x00000030,0x00050006,0x0000007e,0x00000001,
690x74736564,0x00000031,0x00050006,0x0000007e,
700x00000002,0x30637273,0x00000000,0x00050006,
710x0000007e,0x00000003,0x31637273,0x00000000,
720x00050006,0x0000007e,0x00000004,0x67616c66,
730x00003073,0x00050006,0x0000007e,0x00000005,
740x67616c66,0x00003173,0x00060006,0x0000007e,
750x00000006,0x6e616c70,0x6f635f65,0x00746e75,
760x00050006,0x0000007e,0x00000007,0x5f74756f,
770x00726468,0x00060006,0x0000007e,0x00000008,
780x5f726473,0x74696877,0x00000065,0x00050006,
790x0000007e,0x00000009,0x74646977,0x00000068,
800x00050006,0x0000007e,0x0000000a,0x67696568,
810x00007468,0x00060006,0x0000007e,0x0000000b,
820x5f726473,0x66746f65,0x00000000,0x00060006,
830x0000007e,0x0000000c,0x5f726468,0x6b616570,
840x00000000,0x00050006,0x0000007e,0x0000000d,
850x30646170,0x00000000,0x00050006,0x0000007e,
860x0000000e,0x31646170,0x00000000,0x00050006,
870x0000007e,0x0000000f,0x32646170,0x00000000,
880x00030005,0x00000080,0x00006370,0x00040005,
890x00000091,0x61726170,0x0000006d,0x00040005,
900x000000a5,0x61726170,0x0000006d,0x00030005,
910x000000ab,0x00007065,0x00030005,0x000000c7,
920x00000079,0x00030005,0x000000df,0x00000063,
930x00040005,0x000000e4,0x7161706f,0x00006575,
940x00030005,0x000000ea,0x00000061,0x00050005,
950x000000f5,0x62677273,0x6372735f,0x00000000,
960x00030005,0x000000fa,0x00726468,0x00040005,
970x000000ff,0x6d657270,0x00006c75,0x00030005,
980x00000111,0x006e696c,0x00040005,0x0000011b,
990x65766f63,0x00646572,0x00040005,0x00000128,
1000x61726170,0x0000006d,0x00040005,0x0000012a,
1010x61726170,0x0000006d,0x00050005,0x00000131,
1020x69646461,0x65766974,0x00000000,0x00040005,
1030x00000138,0x61726170,0x0000006d,0x00040005,
1040x0000013a,0x61726170,0x0000006d,0x00030005,
1050x0000014d,0x00000065,0x00040005,0x00000152,
1060x61726170,0x0000006d,0x00040005,0x0000015d,
1070x65766f63,0x00646572,0x00040005,0x0000016c,
1080x65637865,0x00007373,0x00040005,0x00000177,
1090x61726170,0x0000006d,0x00040005,0x0000017b,
1100x61726170,0x0000006d,0x00040005,0x0000018a,
1110x61726170,0x0000006d,0x00040005,0x0000018e,
1120x61726170,0x0000006d,0x00030005,0x00000194,
1130x006e696c,0x00040005,0x00000199,0x61726170,
1140x0000006d,0x00040005,0x0000019d,0x61726170,
1150x0000006d,0x00030005,0x000001c0,0x00000070,
1160x00030005,0x000001cf,0x00000073,0x00030005,
1170x000001da,0x00006f6c,0x00030005,0x000001dd,
1180x00006968,0x00040005,0x000001ed,0x61726170,
1190x0000006d,0x00040005,0x000001ee,0x61726170,
1200x0000006d,0x00030005,0x000001f2,0x00000066,
1210x00040005,0x000001f9,0x65736162,0x00000000,
1220x00030005,0x000001fc,0x00000077,0x00030005,
1230x00000200,0x00003069,0x00030005,0x00000203,
1240x00003169,0x00040005,0x00000210,0x61726170,
1250x0000006d,0x00040005,0x00000211,0x61726170,
1260x0000006d,0x00040005,0x00000219,0x61726170,
1270x0000006d,0x00040005,0x0000021a,0x61726170,
1280x0000006d,0x00040005,0x0000021d,0x61726170,
1290x0000006d,0x00040005,0x0000021e,0x61726170,
1300x0000006d,0x00040005,0x0000021f,0x61726170,
1310x0000006d,0x00040005,0x00000228,0x61726170,
1320x0000006d,0x00040005,0x00000229,0x61726170,
1330x0000006d,0x00040005,0x00000231,0x61726170,
1340x0000006d,0x00040005,0x00000232,0x61726170,
1350x0000006d,0x00040005,0x00000235,0x61726170,
1360x0000006d,0x00040005,0x00000236,0x61726170,
1370x0000006d,0x00040005,0x00000237,0x61726170,
1380x0000006d,0x00040005,0x0000023b,0x61726170,
1390x0000006d,0x00040005,0x0000023c,0x61726170,
1400x0000006d,0x00040005,0x0000023d,0x61726170,
1410x0000006d,0x00030005,0x0000026d,0x00000079,
1420x00030005,0x0000027b,0x00000074,0x00030005,
1430x0000027d,0x00000077,0x00030005,0x0000028a,
1440x00000075,0x00040005,0x000002a3,0x5f74756f,
1450x00726468,0x00030005,0x000002a8,0x006e696c,
1460x00040005,0x000002ba,0x61726170,0x0000006d,
1470x00030005,0x000002c1,0x00000061,0x00040005,
1480x000002c4,0x65766f63,0x00646572,0x00040005,
1490x000002d0,0x61726170,0x0000006d,0x00040005,
1500x000002d8,0x61726170,0x0000006d,0x00050005,
1510x000002de,0x69646461,0x65766974,0x00000000,
1520x00040005,0x000002df,0x61726170,0x0000006d,
1530x00040005,0x000002e9,0x61726170,0x0000006d,
1540x00040005,0x000002f9,0x61726170,0x0000006d,
1550x00040005,0x000002fc,0x61726170,0x0000006d,
1560x00040005,0x00000302,0x65786970,0x0000006c,
1570x00080005,0x00000305,0x475f6c67,0x61626f6c,
1580x766e496c,0x7461636f,0x496e6f69,0x00000044,
1590x00040005,0x0000031f,0x746e6563,0x00006572,
1600x00040005,0x00000324,0x65736162,0x00000000,
1610x00030005,0x00000338,0x00000063,0x00040005,
1620x00000339,0x6e616c70,0x00003065,0x00040005,
1630x0000033f,0x61726170,0x0000006d,0x00040005,
1640x00000342,0x61726170,0x0000006d,0x00040005,
1650x00000345,0x61726170,0x0000006d,0x00040005,
1660x00000346,0x61726170,0x0000006d,0x00040005,
1670x0000034d,0x61726170,0x0000006d,0x00040005,
1680x0000034f,0x61726170,0x0000006d,0x00030005,
1690x00000369,0x00000063,0x00040005,0x0000036a,
1700x6e616c70,0x00003165,0x00040005,0x0000036d,
1710x61726170,0x0000006d,0x00040005,0x00000370,
1720x61726170,0x0000006d,0x00040005,0x00000373,
1730x61726170,0x0000006d,0x00040005,0x00000376,
1740x61726170,0x0000006d,0x00040005,0x0000037d,
1750x61726170,0x0000006d,0x00040005,0x0000037f,
1760x61726170,0x0000006d,0x00050005,0x00000389,
1770x5f74756f,0x67616d69,0x00000065,0x00040005,
1780x0000038c,0x61726170,0x0000006d,0x00030047,
1790x0000007e,0x00000002,0x00050048,0x0000007e,
1800x00000000,0x00000023,0x00000000,0x00050048,
1810x0000007e,0x00000001,0x00000023,0x00000010,
1820x00050048,0x0000007e,0x00000002,0x00000023,
1830x00000020,0x00050048,0x0000007e,0x00000003,
1840x00000023,0x00000030,0x00050048,0x0000007e,
1850x00000004,0x00000023,0x00000040,0x00050048,
1860x0000007e,0x00000005,0x00000023,0x00000044,
1870x00050048,0x0000007e,0x00000006,0x00000023,
1880x00000048,0x00050048,0x0000007e,0x00000007,
1890x00000023,0x0000004c,0x00050048,0x0000007e,
1900x00000008,0x00000023,0x00000050,0x00050048,
1910x0000007e,0x00000009,0x00000023,0x00000054,
1920x00050048,0x0000007e,0x0000000a,0x00000023,
1930x00000058,0x00050048,0x0000007e,0x0000000b,
1940x00000023,0x0000005c,0x00050048,0x0000007e,
1950x0000000c,0x00000023,0x00000060,0x00050048,
1960x0000007e,0x0000000d,0x00000023,0x00000064,
1970x00050048,0x0000007e,0x0000000e,0x00000023,
1980x00000068,0x00050048,0x0000007e,0x0000000f,
1990x00000023,0x0000006c,0x00040047,0x00000305,
2000x0000000b,0x0000001c,0x00040047,0x00000339,
2010x00000021,0x00000000,0x00040047,0x00000339,
2020x00000022,0x00000000,0x00040047,0x0000036a,
2030x00000021,0x00000001,0x00040047,0x0000036a,
2040x00000022,0x00000000,0x00030047,0x00000389,
2050x00000019,0x00040047,0x00000389,0x00000021,
2060x00000002,0x00040047,0x00000389,0x00000022,
2070x00000000,0x00040047,0x00000393,0x0000000b,
2080x00000019,0x00020013,0x00000002,0x00030021,
2090x00000003,0x00000002,0x00030016,0x00000006,
2100x00000020,0x00040017,0x00000007,0x00000006,
2110x00000003,0x00040020,0x00000008,0x00000007,
2120x00000007,0x00040021,0x00000009,0x00000007,
2130x00000008,0x00090019,0x0000001c,0x00000006,
2140x00000001,0x00000000,0x00000000,0x00000000,
2150x00000001,0x00000000,0x00040020,0x0000001d,
2160x00000000,0x0000001c,0x00040015,0x0000001e,
2170x00000020,0x00000001,0x00040017,0x0000001f,
2180x0000001e,0x00000002,0x00040020,0x00000020,
2190x00000007,0x0000001f,0x00040015,0x00000021,
2200x00000020,0x00000000,0x00040020,0x00000022,
2210x00000007,0x00000021,0x00040017,0x00000023,
2220x00000006,0x00000004,0x0004001e,0x00000024,
2230x00000023,0x00000007,0x00060021,0x00000025,
2240x00000024,0x0000001d,0x00000020,0x00000022,
2250x00040020,0x0000002b,0x00000007,0x00000024,
2260x00040020,0x0000002c,0x00000007,0x00000006,
2270x00060021,0x0000002d,0x00000024,0x0000002b,
2280x0000002b,0x0000002c,0x00040020,0x00000033,
2290x00000007,0x00000023,0x00080021,0x00000034,
2300x00000024,0x0000001d,0x00000033,0x00000033,
2310x00000022,0x00000020,0x00020014,0x00000045,
2320x00040020,0x00000046,0x00000007,0x00000045,
2330x00050021,0x00000047,0x00000007,0x0000002b,
2340x00000046,0x0004002b,0x00000006,0x00000050,
2350x00000000,0x0004002b,0x00000006,0x00000051,
2360x3f800000,0x0004002b,0x00000006,0x00000056,
2370x414eb852,0x0004002b,0x00000006,0x00000058,
2380x3f870a3d,0x0004002b,0x00000006,0x0000005a,
2390x3ed55555,0x0006002c,0x00000007,0x0000005b,
2400x0000005a,0x0000005a,0x0000005a,0x0004002b,
2410x00000006,0x0000005e,0x3d6147ae,0x0004002b,
2420x00000006,0x00000062,0x3b4d2e1c,0x0006002c,
2430x00000007,0x00000063,0x00000062,0x00000062,
2440x00000062,0x00040017,0x00000064,0x00000045,
2450x00000003,0x0004002b,0x00000006,0x00000074,
2460x4019999a,0x0006002c,0x00000007,0x00000075,
2470x00000074,0x00000074,0x00000074,0x0004002b,
2480x00000006,0x00000078,0x3d25aee6,0x0006002c,
2490x00000007,0x00000079,0x00000078,0x00000078,
2500x00000078,0x0012001e,0x0000007e,0x00000023,
650x00000023,0x00000023,0x00000023,0x00000021, 2510x00000023,0x00000023,0x00000023,0x00000021,
660x00000021,0x00000021,0x00000021,0x00000006, 2520x00000021,0x00000021,0x00000021,0x00000006,
670x00000021,0x00000021,0x00000021,0x00000006, 2530x00000021,0x00000021,0x00000021,0x00000006,
680x00000021,0x00000021,0x00000021,0x00040020, 2540x00000021,0x00000021,0x00000021,0x00040020,
690x00000078,0x00000009,0x00000077,0x0004003b, 2550x0000007f,0x00000009,0x0000007e,0x0004003b,
700x00000078,0x00000079,0x00000009,0x0004002b, 2560x0000007f,0x00000080,0x00000009,0x0004002b,
710x0000001e,0x0000007a,0x0000000b,0x00040020, 2570x0000001e,0x00000081,0x0000000b,0x00040020,
720x0000007b,0x00000009,0x00000021,0x0004002b, 2580x00000082,0x00000009,0x00000021,0x0004002b,
730x00000021,0x0000007e,0x00000001,0x0004002b, 2590x00000021,0x00000085,0x00000001,0x0004002b,
740x00000006,0x00000086,0x400ccccd,0x0006002c, 2600x00000006,0x0000008d,0x400ccccd,0x0006002c,
750x00000007,0x00000087,0x00000086,0x00000086, 2610x00000007,0x0000008e,0x0000008d,0x0000008d,
760x00000086,0x0004002b,0x00000006,0x0000009a, 2620x0000008d,0x0004002b,0x00000006,0x000000a1,
770x3ee8ba2f,0x0006002c,0x00000007,0x0000009b, 2630x3ee8ba2f,0x0006002c,0x00000007,0x000000a2,
780x0000009a,0x0000009a,0x0000009a,0x0004002b, 2640x000000a1,0x000000a1,0x000000a1,0x0004002b,
790x00000006,0x000000a9,0x3c4fcdac,0x0006002c, 2650x00000006,0x000000b0,0x3c4fcdac,0x0006002c,
800x00000007,0x000000aa,0x000000a9,0x000000a9, 2660x00000007,0x000000b1,0x000000b0,0x000000b0,
810x000000a9,0x0004002b,0x00000006,0x000000ac, 2670x000000b0,0x0004002b,0x00000006,0x000000b3,
820x461c4000,0x0004002b,0x00000006,0x000000ae, 2680x461c4000,0x0004002b,0x00000006,0x000000b5,
830x3f560000,0x0004002b,0x00000006,0x000000b3, 2690x3f560000,0x0004002b,0x00000006,0x000000ba,
840x4196d000,0x0004002b,0x00000006,0x000000b4, 2700x4196d000,0x0004002b,0x00000006,0x000000bb,
850x41958000,0x0004002b,0x00000006,0x000000ba, 2710x41958000,0x0004002b,0x00000006,0x000000c1,
860x40c8e06b,0x0006002c,0x00000007,0x000000bb, 2720x40c8e06b,0x0006002c,0x00000007,0x000000c2,
870x000000ba,0x000000ba,0x000000ba,0x0004002b, 2730x000000c1,0x000000c1,0x000000c1,0x0004002b,
880x00000006,0x000000c7,0x3e232000,0x0006002c, 2740x00000006,0x000000ce,0x3e232000,0x0006002c,
890x00000007,0x000000c8,0x000000c7,0x000000c7, 2750x00000007,0x000000cf,0x000000ce,0x000000ce,
900x000000c7,0x0004002b,0x00000006,0x000000d3, 2760x000000ce,0x0004002b,0x00000006,0x000000da,
910x429db000,0x0006002c,0x00000007,0x000000d4, 2770x429db000,0x0006002c,0x00000007,0x000000db,
920x000000d3,0x000000d3,0x000000d3,0x0004002b, 2780x000000da,0x000000da,0x000000da,0x0004002b,
930x0000001e,0x000000db,0x00000000,0x0004002b, 2790x0000001e,0x000000e2,0x00000000,0x0004002b,
940x00000021,0x000000df,0x00000010,0x0004002b, 2800x00000021,0x000000e6,0x00000010,0x0004002b,
950x00000021,0x000000e1,0x00000000,0x0004002b, 2810x00000021,0x000000e8,0x00000000,0x0004002b,
960x00000021,0x000000f0,0x00000002,0x0004002b, 2820x00000021,0x000000f0,0x00000003,0x0004002b,
970x00000021,0x00000103,0x00000008,0x0006002c, 2830x00000021,0x000000f7,0x00000002,0x0004002b,
980x00000007,0x00000113,0x00000049,0x00000049, 2840x00000021,0x000000fc,0x00000004,0x0004002b,
990x00000049,0x0004002b,0x00000021,0x00000117, 2850x00000021,0x00000105,0x00000008,0x0006002c,
1000x00000004,0x00040017,0x0000012f,0x00000006, 2860x00000007,0x0000012f,0x00000050,0x00000050,
1010x00000002,0x0004002b,0x00000006,0x00000134, 2870x00000050,0x0004002b,0x0000001e,0x000001b3,
1020x3f000000,0x0004002b,0x00000006,0x000001ae, 2880x00000001,0x00040017,0x000001be,0x00000006,
1030x3f209d8c,0x0004002b,0x00000006,0x000001af, 2890x00000002,0x00040020,0x000001bf,0x00000007,
1040x3ea897c8,0x0004002b,0x00000006,0x000001b0, 2900x000001be,0x0004002b,0x00000006,0x000001c3,
1050x3d3168f9,0x0006002c,0x00000007,0x000001b1, 2910x3f000000,0x00040020,0x0000020a,0x00000007,
1060x000001ae,0x000001af,0x000001b0,0x0004002b, 2920x0000001e,0x0004002b,0x00000006,0x00000243,
1070x00000006,0x000001b4,0x3d8d82ba,0x0004002b, 2930x3f209d8c,0x0004002b,0x00000006,0x00000244,
1080x00000006,0x000001b5,0x3f6b66f9,0x0004002b, 2940x3ea897c8,0x0004002b,0x00000006,0x00000245,
1090x00000006,0x000001b6,0x3c3a27af,0x0006002c, 2950x3d3168f9,0x0006002c,0x00000007,0x00000246,
1100x00000007,0x000001b7,0x000001b4,0x000001b5, 2960x00000243,0x00000244,0x00000245,0x0004002b,
1110x000001b6,0x0004002b,0x00000006,0x000001ba, 2970x00000006,0x00000249,0x3d8d82ba,0x0004002b,
1120x3c86466b,0x0004002b,0x00000006,0x000001bb, 2980x00000006,0x0000024a,0x3f6b66f9,0x0004002b,
1130x3db44029,0x0004002b,0x00000006,0x000001bc, 2990x00000006,0x0000024b,0x3c3a27af,0x0006002c,
1140x3f6545b7,0x0006002c,0x00000007,0x000001bd, 3000x00000007,0x0000024c,0x00000249,0x0000024a,
1150x000001ba,0x000001bb,0x000001bc,0x0004002b, 3010x0000024b,0x0004002b,0x00000006,0x0000024f,
1160x00000006,0x000001c3,0x3fd48af8,0x0004002b, 3020x3c86466b,0x0004002b,0x00000006,0x00000250,
1170x00000006,0x000001c4,0xbf166fa4,0x0004002b, 3030x3db44029,0x0004002b,0x00000006,0x00000251,
1180x00000006,0x000001c5,0xbd953261,0x0006002c, 3040x3f6545b7,0x0006002c,0x00000007,0x00000252,
1190x00000007,0x000001c6,0x000001c3,0x000001c4, 3050x0000024f,0x00000250,0x00000251,0x0004002b,
1200x000001c5,0x0004002b,0x00000006,0x000001c9, 3060x00000006,0x00000258,0x3fd48af8,0x0004002b,
1210xbdff1412,0x0004002b,0x00000006,0x000001ca, 3070x00000006,0x00000259,0xbf166fa4,0x0004002b,
1220x3f9102de,0x0004002b,0x00000006,0x000001cb, 3080x00000006,0x0000025a,0xbd953261,0x0006002c,
1230xbc08ca3e,0x0006002c,0x00000007,0x000001cc, 3090x00000007,0x0000025b,0x00000258,0x00000259,
1240x000001c9,0x000001ca,0x000001cb,0x0004002b, 3100x0000025a,0x0004002b,0x00000006,0x0000025e,
1250x00000006,0x000001cf,0xbc94b168,0x0004002b, 3110xbdff1412,0x0004002b,0x00000006,0x0000025f,
1260x00000006,0x000001d0,0xbdcdfc5d,0x0004002b, 3120x3f9102de,0x0004002b,0x00000006,0x00000260,
1270x00000006,0x000001d1,0x3f8f328b,0x0006002c, 3130xbc08ca3e,0x0006002c,0x00000007,0x00000261,
1280x00000007,0x000001d2,0x000001cf,0x000001d0, 3140x0000025e,0x0000025f,0x00000260,0x0004002b,
1290x000001d1,0x0004002b,0x00000006,0x000001da, 3150x00000006,0x00000264,0xbc94b168,0x0004002b,
1300x3e59b3d0,0x0004002b,0x00000006,0x000001db, 3160x00000006,0x00000265,0xbdcdfc5d,0x0004002b,
1310x3f371759,0x0004002b,0x00000006,0x000001dc, 3170x00000006,0x00000266,0x3f8f328b,0x0006002c,
1320x3d93dd98,0x0006002c,0x00000007,0x000001dd, 3180x00000007,0x00000267,0x00000264,0x00000265,
1330x000001da,0x000001db,0x000001dc,0x0004002b, 3190x00000266,0x0004002b,0x00000006,0x0000026f,
1340x00000006,0x000001e0,0x3f4ccccd,0x0004002b, 3200x3e59b3d0,0x0004002b,0x00000006,0x00000270,
1350x0000001e,0x000001e9,0x0000000c,0x00040020, 3210x3f371759,0x0004002b,0x00000006,0x00000271,
1360x000001ea,0x00000009,0x00000006,0x0004002b, 3220x3d93dd98,0x0006002c,0x00000007,0x00000272,
1370x0000001e,0x000001ed,0x00000008,0x0004002b, 3230x0000026f,0x00000270,0x00000271,0x0004002b,
1380x0000001e,0x0000020f,0x00000007,0x00040017, 3240x00000006,0x00000275,0x3f4ccccd,0x0004002b,
1390x0000024f,0x00000021,0x00000003,0x00040020, 3250x00000006,0x0000027c,0x3e4ccccd,0x0004002b,
1400x00000250,0x00000001,0x0000024f,0x0004003b, 3260x0000001e,0x0000027e,0x0000000c,0x00040020,
1410x00000250,0x00000251,0x00000001,0x00040017, 3270x0000027f,0x00000009,0x00000006,0x0004002b,
1420x00000252,0x00000021,0x00000002,0x0004002b, 3280x0000001e,0x00000282,0x00000008,0x0004002b,
1430x0000001e,0x00000258,0x00000009,0x0004002b, 3290x0000001e,0x000002a4,0x00000007,0x00040017,
1440x0000001e,0x00000262,0x0000000a,0x00040020, 3300x00000303,0x00000021,0x00000003,0x00040020,
1450x00000272,0x00000009,0x00000023,0x00040017, 3310x00000304,0x00000001,0x00000303,0x0004003b,
1460x00000276,0x0000003d,0x00000002,0x0004003b, 3320x00000304,0x00000305,0x00000001,0x00040017,
1470x0000001d,0x00000285,0x00000000,0x0004002b, 3330x00000306,0x00000021,0x00000002,0x0004002b,
1480x0000001e,0x00000286,0x00000002,0x0004002b, 3340x0000001e,0x0000030c,0x00000009,0x0004002b,
1490x0000001e,0x00000287,0x00000004,0x0004002b, 3350x0000001e,0x00000316,0x0000000a,0x00040020,
1500x0000001e,0x0000029f,0x00000006,0x0004002b, 3360x00000326,0x00000009,0x00000023,0x00040017,
1510x0000001e,0x000002a6,0x00000001,0x0004003b, 3370x0000032a,0x00000045,0x00000002,0x0004003b,
1520x0000001d,0x000002b9,0x00000000,0x0004002b, 3380x0000001d,0x00000339,0x00000000,0x0004002b,
1530x0000001e,0x000002ba,0x00000003,0x0004002b, 3390x0000001e,0x0000033a,0x00000002,0x0004002b,
1540x0000001e,0x000002bb,0x00000005,0x00090019, 3400x0000001e,0x0000033b,0x00000004,0x0004002b,
1550x000002da,0x00000006,0x00000001,0x00000000, 3410x0000001e,0x00000351,0x00000006,0x0004003b,
3420x0000001d,0x0000036a,0x00000000,0x0004002b,
3430x0000001e,0x0000036b,0x00000003,0x0004002b,
3440x0000001e,0x0000036c,0x00000005,0x00090019,
3450x00000387,0x00000006,0x00000001,0x00000000,
1560x00000000,0x00000000,0x00000002,0x00000002, 3460x00000000,0x00000000,0x00000002,0x00000002,
1570x00040020,0x000002db,0x00000000,0x000002da, 3470x00040020,0x00000388,0x00000000,0x00000387,
1580x0004003b,0x000002db,0x000002dc,0x00000000, 3480x0004003b,0x00000388,0x00000389,0x00000000,
1590x0006002c,0x0000024f,0x000002e6,0x00000103, 3490x0006002c,0x00000303,0x00000393,0x00000105,
1600x00000103,0x0000007e,0x0005002c,0x0000012f, 3500x00000105,0x00000085,0x00050036,0x00000002,
1610x00000b94,0x00000134,0x00000134,0x0005002c, 3510x00000004,0x00000000,0x00000003,0x000200f8,
1620x0000012f,0x00000b95,0x0000004a,0x0000004a, 3520x00000005,0x0004003b,0x00000020,0x00000302,
1630x0006002c,0x00000007,0x00000b97,0x0000004a, 3530x00000007,0x0004003b,0x000001bf,0x0000031f,
1640x0000004a,0x0000004a,0x0006002c,0x00000007, 3540x00000007,0x0004003b,0x00000008,0x00000324,
1650x00000b98,0x000000ae,0x000000ae,0x000000ae, 3550x00000007,0x0004003b,0x0000002b,0x00000338,
1660x0006002c,0x00000007,0x00000b9b,0x00000057, 3560x00000007,0x0004003b,0x00000033,0x0000033f,
1670x00000057,0x00000057,0x0003002a,0x0000003d, 3570x00000007,0x0004003b,0x00000033,0x00000342,
1680x00000b9f,0x0006002c,0x00000007,0x00000ba1, 3580x00000007,0x0004003b,0x00000022,0x00000345,
1690x000000b3,0x000000b3,0x000000b3,0x00030029, 3590x00000007,0x0004003b,0x00000020,0x00000346,
1700x0000003d,0x00000ba4,0x0004002b,0x00000006, 3600x00000007,0x0004003b,0x0000002b,0x0000034d,
1710x00000ba5,0x3d9e8391,0x0006002c,0x00000007, 3610x00000007,0x0004003b,0x00000046,0x0000034f,
1720x00000ba6,0x00000ba5,0x00000ba5,0x00000ba5, 3620x00000007,0x0004003b,0x0000002b,0x00000369,
1730x0004002b,0x00000006,0x00000ba7,0x3f72a76f, 3630x00000007,0x0004003b,0x00000033,0x0000036d,
1740x0006002c,0x00000007,0x00000ba8,0x00000ba7, 3640x00000007,0x0004003b,0x00000033,0x00000370,
1750x00000ba7,0x00000ba7,0x0004002b,0x00000006, 3650x00000007,0x0004003b,0x00000022,0x00000373,
1760x00000ba9,0x40a00000,0x0004002b,0x00000006, 3660x00000007,0x0004003b,0x00000020,0x00000376,
1770x00000bad,0x3e4ccccc,0x0004002b,0x00000006, 3670x00000007,0x0004003b,0x0000002b,0x0000037d,
1780x00000bb1,0x38d1b717,0x0006002c,0x00000007, 3680x00000007,0x0004003b,0x00000046,0x0000037f,
1790x00000bb2,0x00000bb1,0x00000bb1,0x00000bb1, 3690x00000007,0x0004003b,0x00000008,0x0000038c,
1800x00050036,0x00000002,0x00000004,0x00000000, 3700x00000007,0x0004003d,0x00000303,0x00000307,
1810x00000003,0x000200f8,0x00000005,0x000300f7, 3710x00000305,0x0007004f,0x00000306,0x00000308,
1820x000002e7,0x00000000,0x000300fb,0x000000e1, 3720x00000307,0x00000307,0x00000000,0x00000001,
1830x000002e8,0x000200f8,0x000002e8,0x0004003d, 3730x0004007c,0x0000001f,0x00000309,0x00000308,
1840x0000024f,0x00000253,0x00000251,0x0007004f, 3740x0003003e,0x00000302,0x00000309,0x00050041,
1850x00000252,0x00000254,0x00000253,0x00000253, 3750x0000020a,0x0000030a,0x00000302,0x000000e8,
1860x00000000,0x00000001,0x0004007c,0x0000001f, 3760x0004003d,0x0000001e,0x0000030b,0x0000030a,
1870x00000255,0x00000254,0x00050051,0x0000001e, 3770x00050041,0x00000082,0x0000030d,0x00000080,
1880x00000257,0x00000255,0x00000000,0x00050041, 3780x0000030c,0x0004003d,0x00000021,0x0000030e,
1890x0000007b,0x00000259,0x00000079,0x00000258, 3790x0000030d,0x0004007c,0x0000001e,0x0000030f,
1900x0004003d,0x00000021,0x0000025a,0x00000259, 3800x0000030e,0x000500af,0x00000045,0x00000310,
1910x0004007c,0x0000001e,0x0000025b,0x0000025a, 3810x0000030b,0x0000030f,0x000400a8,0x00000045,
1920x000500af,0x0000003d,0x0000025c,0x00000257, 3820x00000311,0x00000310,0x000300f7,0x00000313,
1930x0000025b,0x000400a8,0x0000003d,0x0000025d, 3830x00000000,0x000400fa,0x00000311,0x00000312,
1940x0000025c,0x000300f7,0x0000025f,0x00000000, 3840x00000313,0x000200f8,0x00000312,0x00050041,
1950x000400fa,0x0000025d,0x0000025e,0x0000025f, 3850x0000020a,0x00000314,0x00000302,0x00000085,
1960x000200f8,0x0000025e,0x00050051,0x0000001e, 3860x0004003d,0x0000001e,0x00000315,0x00000314,
1970x00000261,0x00000255,0x00000001,0x00050041, 3870x00050041,0x00000082,0x00000317,0x00000080,
1980x0000007b,0x00000263,0x00000079,0x00000262, 3880x00000316,0x0004003d,0x00000021,0x00000318,
1990x0004003d,0x00000021,0x00000264,0x00000263, 3890x00000317,0x0004007c,0x0000001e,0x00000319,
2000x0004007c,0x0000001e,0x00000265,0x00000264, 3900x00000318,0x000500af,0x00000045,0x0000031a,
2010x000500af,0x0000003d,0x00000266,0x00000261, 3910x00000315,0x00000319,0x000200f9,0x00000313,
2020x00000265,0x000200f9,0x0000025f,0x000200f8, 3920x000200f8,0x00000313,0x000700f5,0x00000045,
2030x0000025f,0x000700f5,0x0000003d,0x00000267, 3930x0000031b,0x00000310,0x00000005,0x0000031a,
2040x0000025c,0x000002e8,0x00000266,0x0000025e, 3940x00000312,0x000300f7,0x0000031d,0x00000000,
2050x000300f7,0x00000269,0x00000000,0x000400fa, 3950x000400fa,0x0000031b,0x0000031c,0x0000031d,
2060x00000267,0x00000268,0x00000269,0x000200f8, 3960x000200f8,0x0000031c,0x000100fd,0x000200f8,
2070x00000268,0x000200f9,0x000002e7,0x000200f8, 3970x0000031d,0x0004003d,0x0000001f,0x00000320,
2080x00000269,0x0004006f,0x0000012f,0x0000026d, 3980x00000302,0x0004006f,0x000001be,0x00000321,
2090x00000255,0x00050081,0x0000012f,0x0000026f, 3990x00000320,0x00050050,0x000001be,0x00000322,
2100x0000026d,0x00000b94,0x00050041,0x00000272, 4000x000001c3,0x000001c3,0x00050081,0x000001be,
2110x00000273,0x00000079,0x000000db,0x0004003d, 4010x00000323,0x00000321,0x00000322,0x0003003e,
2120x00000023,0x00000274,0x00000273,0x0007004f, 4020x0000031f,0x00000323,0x0003003e,0x00000324,
2130x0000012f,0x00000275,0x00000274,0x00000274, 4030x0000012f,0x0004003d,0x000001be,0x00000325,
2140x00000000,0x00000001,0x000500be,0x00000276, 4040x0000031f,0x00050041,0x00000326,0x00000327,
2150x00000277,0x0000026f,0x00000275,0x0004009b, 4050x00000080,0x000000e2,0x0004003d,0x00000023,
2160x0000003d,0x00000278,0x00000277,0x000300f7, 4060x00000328,0x00000327,0x0007004f,0x000001be,
2170x0000027a,0x00000000,0x000400fa,0x00000278, 4070x00000329,0x00000328,0x00000328,0x00000000,
2180x00000279,0x0000027a,0x000200f8,0x00000279, 4080x00000001,0x000500be,0x0000032a,0x0000032b,
2190x0007004f,0x0000012f,0x0000027e,0x00000274, 4090x00000325,0x00000329,0x0004009b,0x00000045,
2200x00000274,0x00000002,0x00000003,0x000500b8, 4100x0000032c,0x0000032b,0x000300f7,0x0000032e,
2210x00000276,0x0000027f,0x0000026f,0x0000027e, 4110x00000000,0x000400fa,0x0000032c,0x0000032d,
2220x0004009b,0x0000003d,0x00000280,0x0000027f, 4120x0000032e,0x000200f8,0x0000032d,0x0004003d,
2230x000200f9,0x0000027a,0x000200f8,0x0000027a, 4130x000001be,0x0000032f,0x0000031f,0x00050041,
2240x000700f5,0x0000003d,0x00000281,0x00000278, 4140x00000326,0x00000330,0x00000080,0x000000e2,
2250x00000269,0x00000280,0x00000279,0x000300f7, 4150x0004003d,0x00000023,0x00000331,0x00000330,
2260x00000283,0x00000000,0x000400fa,0x00000281, 4160x0007004f,0x000001be,0x00000332,0x00000331,
2270x00000282,0x00000283,0x000200f8,0x00000282, 4170x00000331,0x00000002,0x00000003,0x000500b8,
2280x00050041,0x0000007b,0x00000288,0x00000079, 4180x0000032a,0x00000333,0x0000032f,0x00000332,
2290x00000287,0x0004003d,0x00000021,0x00000289, 4190x0004009b,0x00000045,0x00000334,0x00000333,
2300x00000288,0x00050041,0x00000272,0x0000028f, 4200x000200f9,0x0000032e,0x000200f8,0x0000032e,
2310x00000079,0x00000286,0x0004003d,0x00000023, 4210x000700f5,0x00000045,0x00000335,0x0000032c,
2320x00000290,0x0000028f,0x000300f7,0x00000378, 4220x0000031d,0x00000334,0x0000032d,0x000300f7,
2330x00000000,0x000300fb,0x000000e1,0x00000312, 4230x00000337,0x00000000,0x000400fa,0x00000335,
2340x000200f8,0x00000312,0x00050083,0x0000012f, 4240x00000336,0x00000337,0x000200f8,0x00000336,
2350x00000319,0x0000026f,0x00000275,0x0007004f, 4250x00050041,0x00000082,0x0000033c,0x00000080,
2360x0000012f,0x0000031b,0x00000274,0x00000274, 4260x0000033b,0x0004003d,0x00000021,0x0000033d,
2370x00000002,0x00000003,0x00050083,0x0000012f, 4270x0000033c,0x000500c5,0x00000021,0x0000033e,
2380x0000031e,0x0000031b,0x00000275,0x00050088, 4280x0000033d,0x000000e6,0x00050041,0x00000326,
2390x0000012f,0x0000031f,0x00000319,0x0000031e, 4290x00000340,0x00000080,0x000000e2,0x0004003d,
2400x0007004f,0x0000012f,0x00000321,0x00000290, 4300x00000023,0x00000341,0x00000340,0x0003003e,
2410x00000290,0x00000000,0x00000001,0x0007004f, 4310x0000033f,0x00000341,0x00050041,0x00000326,
2420x0000012f,0x00000324,0x00000290,0x00000290, 4320x00000343,0x00000080,0x0000033a,0x0004003d,
2430x00000002,0x00000003,0x00050083,0x0000012f, 4330x00000023,0x00000344,0x00000343,0x0003003e,
2440x00000327,0x00000324,0x00000321,0x00050085, 4340x00000342,0x00000344,0x0003003e,0x00000345,
2450x0000012f,0x00000328,0x0000031f,0x00000327, 4350x0000033e,0x0004003d,0x0000001f,0x00000347,
2460x00050081,0x0000012f,0x00000329,0x00000321, 4360x00000302,0x0003003e,0x00000346,0x00000347,
2470x00000328,0x00050083,0x0000012f,0x0000032f, 4370x00090039,0x00000024,0x00000348,0x0000003a,
2480x00000324,0x00000b95,0x000500c7,0x00000021, 4380x00000339,0x0000033f,0x00000342,0x00000345,
2490x00000331,0x00000289,0x0000007e,0x000500ab, 4390x00000346,0x0003003e,0x00000338,0x00000348,
2500x0000003d,0x00000332,0x00000331,0x000000e1, 4400x00050041,0x00000082,0x00000349,0x00000080,
2510x000300f7,0x0000033c,0x00000000,0x000400fa, 4410x0000033b,0x0004003d,0x00000021,0x0000034a,
2520x00000332,0x00000333,0x0000033c,0x000200f8, 4420x00000349,0x000500c7,0x00000021,0x0000034b,
2530x00000333,0x0006000c,0x0000012f,0x00000335, 4430x0000034a,0x000000fc,0x000500ab,0x00000045,
2540x00000001,0x00000008,0x00000329,0x0008000c, 4440x0000034c,0x0000034b,0x000000e8,0x0004003d,
2550x0000012f,0x00000338,0x00000001,0x0000002b, 4450x00000024,0x0000034e,0x00000338,0x0003003e,
2560x00000335,0x00000321,0x0000032f,0x0004006e, 4460x0000034d,0x0000034e,0x0003003e,0x0000034f,
2570x0000001f,0x00000339,0x00000338,0x0004003d, 4470x0000034c,0x00060039,0x00000007,0x00000350,
2580x0000001c,0x00000388,0x00000285,0x0007005f, 4480x0000004a,0x0000034d,0x0000034f,0x0003003e,
2590x00000023,0x0000038a,0x00000388,0x00000339, 4490x00000324,0x00000350,0x000200f9,0x00000337,
2600x00000002,0x000000db,0x000500c7,0x00000021, 4500x000200f8,0x00000337,0x00050041,0x00000082,
2610x00000397,0x00000289,0x000000f0,0x000500ab, 4510x00000352,0x00000080,0x00000351,0x0004003d,
2620x0000003d,0x00000398,0x00000397,0x000000e1, 4520x00000021,0x00000353,0x00000352,0x000500ac,
2630x000300f7,0x000003a0,0x00000000,0x000400fa, 4530x00000045,0x00000354,0x00000353,0x00000085,
2640x00000398,0x00000399,0x0000039d,0x000200f8, 4540x000300f7,0x00000356,0x00000000,0x000400fa,
2650x0000039d,0x0008004f,0x00000007,0x0000039f, 4550x00000354,0x00000355,0x00000356,0x000200f8,
2660x0000038a,0x0000038a,0x00000000,0x00000001, 4560x00000355,0x0004003d,0x000001be,0x00000357,
2670x00000002,0x000200f9,0x000003a0,0x000200f8, 4570x0000031f,0x00050041,0x00000326,0x00000358,
2680x00000399,0x0008004f,0x00000007,0x0000039b, 4580x00000080,0x000001b3,0x0004003d,0x00000023,
2690x0000038a,0x0000038a,0x00000000,0x00000001, 4590x00000359,0x00000358,0x0007004f,0x000001be,
2700x00000002,0x0008000c,0x00000007,0x000003ce, 4600x0000035a,0x00000359,0x00000359,0x00000000,
2710x00000001,0x0000002b,0x0000039b,0x00000113, 4610x00000001,0x000500be,0x0000032a,0x0000035b,
2720x00000b97,0x0005008e,0x00000007,0x000003d0, 4620x00000357,0x0000035a,0x0004009b,0x00000045,
2730x000003ce,0x0000004f,0x0007000c,0x00000007, 4630x0000035c,0x0000035b,0x000200f9,0x00000356,
2740x000003d2,0x00000001,0x0000001a,0x000003ce, 4640x000200f8,0x00000356,0x000700f5,0x00000045,
2750x00000054,0x0005008e,0x00000007,0x000003d3, 4650x0000035d,0x00000354,0x00000337,0x0000035c,
2760x000003d2,0x00000051,0x00050083,0x00000007, 4660x00000355,0x000300f7,0x0000035f,0x00000000,
2770x000003d5,0x000003d3,0x00000b9b,0x000500ba, 4670x000400fa,0x0000035d,0x0000035e,0x0000035f,
2780x0000005d,0x000003d7,0x000003ce,0x0000005c, 4680x000200f8,0x0000035e,0x0004003d,0x000001be,
2790x000600a9,0x00000007,0x000003d8,0x000003d7, 4690x00000360,0x0000031f,0x00050041,0x00000326,
2800x000003d5,0x000003d0,0x000200f9,0x000003a0, 4700x00000361,0x00000080,0x000001b3,0x0004003d,
2810x000200f8,0x000003a0,0x000700f5,0x00000007, 4710x00000023,0x00000362,0x00000361,0x0007004f,
2820x00000b38,0x000003d8,0x00000399,0x0000039f, 4720x000001be,0x00000363,0x00000362,0x00000362,
2830x0000039d,0x000500c7,0x00000021,0x000003b7, 4730x00000002,0x00000003,0x000500b8,0x0000032a,
2840x00000289,0x00000117,0x000500ab,0x0000003d, 4740x00000364,0x00000360,0x00000363,0x0004009b,
2850x000003b8,0x000003b7,0x000000e1,0x000300f7, 4750x00000045,0x00000365,0x00000364,0x000200f9,
2860x000003bf,0x00000000,0x000400fa,0x000003b8, 4760x0000035f,0x000200f8,0x0000035f,0x000700f5,
2870x000003b9,0x000003bc,0x000200f8,0x000003bc, 4770x00000045,0x00000366,0x0000035d,0x00000356,
2880x00050041,0x0000007b,0x000003f1,0x00000079, 4780x00000365,0x0000035e,0x000300f7,0x00000368,
2890x0000007a,0x0004003d,0x00000021,0x000003f2, 4790x00000000,0x000400fa,0x00000366,0x00000367,
2900x000003f1,0x000500aa,0x0000003d,0x000003f3, 4800x00000368,0x000200f8,0x00000367,0x00050041,
2910x000003f2,0x0000007e,0x000300f7,0x000003fc, 4810x00000326,0x0000036e,0x00000080,0x000001b3,
2920x00000000,0x000400fa,0x000003f3,0x000003f4, 4820x0004003d,0x00000023,0x0000036f,0x0000036e,
2930x000003f9,0x000200f8,0x000003f9,0x0007000c, 4830x0003003e,0x0000036d,0x0000036f,0x00050041,
2940x00000007,0x00000402,0x00000001,0x00000028, 4840x00000326,0x00000371,0x00000080,0x0000036b,
2950x00000b38,0x00000113,0x00050085,0x00000007, 4850x0004003d,0x00000023,0x00000372,0x00000371,
2960x00000405,0x00000402,0x00000ba6,0x00050081, 4860x0003003e,0x00000370,0x00000372,0x00050041,
2970x00000007,0x00000408,0x00000402,0x00000b9b, 4870x00000082,0x00000374,0x00000080,0x0000036c,
2980x00050085,0x00000007,0x0000040a,0x00000408, 4880x0004003d,0x00000021,0x00000375,0x00000374,
2990x00000ba8,0x0007000c,0x00000007,0x0000040b, 4890x0003003e,0x00000373,0x00000375,0x0004003d,
3000x00000001,0x0000001a,0x0000040a,0x0000006e, 4900x0000001f,0x00000377,0x00000302,0x0003003e,
3010x000500ba,0x0000005d,0x0000040d,0x00000402, 4910x00000376,0x00000377,0x00090039,0x00000024,
3020x00000072,0x000600a9,0x00000007,0x0000040e, 4920x00000378,0x0000003a,0x0000036a,0x0000036d,
3030x0000040d,0x0000040b,0x00000405,0x000200f9, 4930x00000370,0x00000373,0x00000376,0x0003003e,
3040x000003fc,0x000200f8,0x000003f4,0x0007000c, 4940x00000369,0x00000378,0x00050041,0x00000082,
3050x00000007,0x000003f7,0x00000001,0x00000028, 4950x00000379,0x00000080,0x0000036c,0x0004003d,
3060x00000b38,0x00000113,0x0007000c,0x00000007, 4960x00000021,0x0000037a,0x00000379,0x000500c7,
3070x000003f8,0x00000001,0x0000001a,0x000003f7, 4970x00000021,0x0000037b,0x0000037a,0x000000fc,
3080x00000087,0x000200f9,0x000003fc,0x000200f8, 4980x000500ab,0x00000045,0x0000037c,0x0000037b,
3090x000003fc,0x000700f5,0x00000007,0x00000b3c, 4990x000000e8,0x0004003d,0x00000024,0x0000037e,
3100x000003f8,0x000003f4,0x0000040e,0x000003f9, 5000x00000369,0x0003003e,0x0000037d,0x0000037e,
3110x000200f9,0x000003bf,0x000200f8,0x000003b9, 5010x0003003e,0x0000037f,0x0000037c,0x00060039,
3120x0008000c,0x00000007,0x000003df,0x00000001, 5020x00000007,0x00000380,0x0000004a,0x0000037d,
3130x0000002b,0x00000b38,0x00000113,0x00000b97, 5030x0000037f,0x00060041,0x0000002c,0x00000381,
3140x0007000c,0x00000007,0x000003e0,0x00000001, 5040x00000369,0x000000e2,0x000000f0,0x0004003d,
3150x0000001a,0x000003df,0x000000aa,0x00050083, 5050x00000006,0x00000382,0x00000381,0x00050083,
3160x00000007,0x000003e3,0x000003e0,0x00000b98, 5060x00000006,0x00000383,0x00000051,0x00000382,
3170x0007000c,0x00000007,0x000003e5,0x00000001, 5070x0004003d,0x00000007,0x00000384,0x00000324,
3180x00000028,0x000003e3,0x00000113,0x0005008e, 5080x0005008e,0x00000007,0x00000385,0x00000384,
3190x00000007,0x000003e7,0x000003e0,0x000000b4, 5090x00000383,0x00050081,0x00000007,0x00000386,
3200x00050083,0x00000007,0x000003e9,0x00000ba1, 5100x00000380,0x00000385,0x0003003e,0x00000324,
3210x000003e7,0x00050088,0x00000007,0x000003ea, 5110x00000386,0x000200f9,0x00000368,0x000200f8,
3220x000003e5,0x000003e9,0x0007000c,0x00000007, 5120x00000368,0x0004003d,0x00000387,0x0000038a,
3230x000003eb,0x00000001,0x0000001a,0x000003ea, 5130x00000389,0x0004003d,0x0000001f,0x0000038b,
3240x000000bb,0x0005008e,0x00000007,0x000003ec, 5140x00000302,0x0004003d,0x00000007,0x0000038d,
3250x000003eb,0x000000ac,0x000200f9,0x000003bf, 5150x00000324,0x0003003e,0x0000038c,0x0000038d,
3260x000200f8,0x000003bf,0x000700f5,0x00000007, 5160x00050039,0x00000007,0x0000038e,0x0000004d,
3270x00000b3d,0x000003ec,0x000003b9,0x00000b3c, 5170x0000038c,0x00050051,0x00000006,0x0000038f,
3280x000003fc,0x0005008e,0x00000007,0x000003c3, 5180x0000038e,0x00000000,0x00050051,0x00000006,
3290x00000b3d,0x0000004a,0x00050051,0x00000006, 5190x00000390,0x0000038e,0x00000001,0x00050051,
3300x000003c5,0x000003c3,0x00000000,0x00050051, 5200x00000006,0x00000391,0x0000038e,0x00000002,
3310x00000006,0x000003c6,0x000003c3,0x00000001, 5210x00070050,0x00000023,0x00000392,0x0000038f,
3320x00050051,0x00000006,0x000003c7,0x000003c3, 5220x00000390,0x00000391,0x00000051,0x00040063,
3330x00000002,0x00070050,0x00000023,0x000003c8, 5230x0000038a,0x0000038b,0x00000392,0x000100fd,
3340x000003c5,0x000003c6,0x000003c7,0x0000004a, 5240x00010038,0x00050036,0x00000007,0x0000000b,
3350x000200f9,0x00000378,0x000200f8,0x0000033c, 5250x00000000,0x00000009,0x00030037,0x00000008,
3360x00050083,0x0000012f,0x0000033f,0x00000329, 5260x0000000a,0x000200f8,0x0000000c,0x0004003d,
3370x00000b94,0x0008000c,0x0000012f,0x00000342, 5270x00000007,0x0000004f,0x0000000a,0x00060050,
3380x00000001,0x0000002b,0x0000033f,0x00000321, 5280x00000007,0x00000052,0x00000050,0x00000050,
3390x0000032f,0x0006000c,0x0000012f,0x00000344, 5290x00000050,0x00060050,0x00000007,0x00000053,
3400x00000001,0x00000008,0x00000342,0x00050083, 5300x00000051,0x00000051,0x00000051,0x0008000c,
3410x0000012f,0x00000347,0x00000342,0x00000344, 5310x00000007,0x00000054,0x00000001,0x0000002b,
3420x0004006e,0x0000001f,0x00000349,0x00000344, 5320x0000004f,0x00000052,0x00000053,0x0003003e,
3430x00050081,0x0000012f,0x0000034c,0x00000344, 5330x0000000a,0x00000054,0x0004003d,0x00000007,
3440x00000b95,0x0007000c,0x0000012f,0x0000034e, 5340x00000055,0x0000000a,0x0005008e,0x00000007,
3450x00000001,0x00000025,0x0000034c,0x0000032f, 5350x00000057,0x00000055,0x00000056,0x0004003d,
3460x0004006e,0x0000001f,0x0000034f,0x0000034e, 5360x00000007,0x00000059,0x0000000a,0x0007000c,
3470x00050051,0x0000001e,0x00000351,0x00000349, 5370x00000007,0x0000005c,0x00000001,0x0000001a,
3480x00000000,0x00050051,0x0000001e,0x00000353, 5380x00000059,0x0000005b,0x0005008e,0x00000007,
3490x00000349,0x00000001,0x0004003d,0x0000001c, 5390x0000005d,0x0000005c,0x00000058,0x00060050,
3500x0000041d,0x00000285,0x0007005f,0x00000023, 5400x00000007,0x0000005f,0x0000005e,0x0000005e,
3510x0000041f,0x0000041d,0x00000349,0x00000002, 5410x0000005e,0x00050083,0x00000007,0x00000060,
3520x000000db,0x000500c7,0x00000021,0x0000042c, 5420x0000005d,0x0000005f,0x0004003d,0x00000007,
3530x00000289,0x000000f0,0x000500ab,0x0000003d, 5430x00000061,0x0000000a,0x000500ba,0x00000064,
3540x0000042d,0x0000042c,0x000000e1,0x000300f7, 5440x00000065,0x00000061,0x00000063,0x000600a9,
3550x00000435,0x00000000,0x000400fa,0x0000042d, 5450x00000007,0x00000066,0x00000065,0x00000060,
3560x0000042e,0x00000432,0x000200f8,0x00000432, 5460x00000057,0x000200fe,0x00000066,0x00010038,
3570x0008004f,0x00000007,0x00000434,0x0000041f, 5470x00050036,0x00000007,0x0000000e,0x00000000,
3580x0000041f,0x00000000,0x00000001,0x00000002, 5480x00000009,0x00030037,0x00000008,0x0000000d,
3590x000200f9,0x00000435,0x000200f8,0x0000042e, 5490x000200f8,0x0000000f,0x0004003d,0x00000007,
3600x0008004f,0x00000007,0x00000430,0x0000041f, 5500x00000069,0x0000000d,0x00060050,0x00000007,
3610x0000041f,0x00000000,0x00000001,0x00000002, 5510x0000006a,0x00000050,0x00000050,0x00000050,
3620x0008000c,0x00000007,0x00000463,0x00000001, 5520x0007000c,0x00000007,0x0000006b,0x00000001,
3630x0000002b,0x00000430,0x00000113,0x00000b97, 5530x00000028,0x00000069,0x0000006a,0x0003003e,
3640x0005008e,0x00000007,0x00000465,0x00000463, 5540x0000000d,0x0000006b,0x0004003d,0x00000007,
3650x0000004f,0x0007000c,0x00000007,0x00000467, 5550x0000006c,0x0000000d,0x00060050,0x00000007,
3660x00000001,0x0000001a,0x00000463,0x00000054, 5560x0000006d,0x00000056,0x00000056,0x00000056,
3670x0005008e,0x00000007,0x00000468,0x00000467, 5570x00050088,0x00000007,0x0000006e,0x0000006c,
3680x00000051,0x00050083,0x00000007,0x0000046a, 5580x0000006d,0x0004003d,0x00000007,0x0000006f,
3690x00000468,0x00000b9b,0x000500ba,0x0000005d, 5590x0000000d,0x00060050,0x00000007,0x00000070,
3700x0000046c,0x00000463,0x0000005c,0x000600a9, 5600x0000005e,0x0000005e,0x0000005e,0x00050081,
3710x00000007,0x0000046d,0x0000046c,0x0000046a, 5610x00000007,0x00000071,0x0000006f,0x00000070,
3720x00000465,0x000200f9,0x00000435,0x000200f8, 5620x00060050,0x00000007,0x00000072,0x00000058,
3730x00000435,0x000700f5,0x00000007,0x00000b1c, 5630x00000058,0x00000058,0x00050088,0x00000007,
3740x0000046d,0x0000042e,0x00000434,0x00000432, 5640x00000073,0x00000071,0x00000072,0x0007000c,
3750x000500c7,0x00000021,0x0000044c,0x00000289, 5650x00000007,0x00000076,0x00000001,0x0000001a,
3760x00000117,0x000500ab,0x0000003d,0x0000044d, 5660x00000073,0x00000075,0x0004003d,0x00000007,
3770x0000044c,0x000000e1,0x000300f7,0x00000454, 5670x00000077,0x0000000d,0x000500ba,0x00000064,
3780x00000000,0x000400fa,0x0000044d,0x0000044e, 5680x0000007a,0x00000077,0x00000079,0x000600a9,
3790x00000451,0x000200f8,0x00000451,0x00050041, 5690x00000007,0x0000007b,0x0000007a,0x00000076,
3800x0000007b,0x00000486,0x00000079,0x0000007a, 5700x0000006e,0x000200fe,0x0000007b,0x00010038,
3810x0004003d,0x00000021,0x00000487,0x00000486, 5710x00050036,0x00000007,0x00000011,0x00000000,
3820x000500aa,0x0000003d,0x00000488,0x00000487, 5720x00000009,0x00030037,0x00000008,0x00000010,
3830x0000007e,0x000300f7,0x00000491,0x00000000, 5730x000200f8,0x00000012,0x0004003b,0x00000008,
3840x000400fa,0x00000488,0x00000489,0x0000048e, 5740x00000087,0x00000007,0x0004003b,0x00000008,
3850x000200f8,0x0000048e,0x0007000c,0x00000007, 5750x00000091,0x00000007,0x00050041,0x00000082,
3860x00000497,0x00000001,0x00000028,0x00000b1c, 5760x00000083,0x00000080,0x00000081,0x0004003d,
3870x00000113,0x00050085,0x00000007,0x0000049a, 5770x00000021,0x00000084,0x00000083,0x000500aa,
3880x00000497,0x00000ba6,0x00050081,0x00000007, 5780x00000045,0x00000086,0x00000084,0x00000085,
3890x0000049d,0x00000497,0x00000b9b,0x00050085, 5790x000300f7,0x00000089,0x00000000,0x000400fa,
3900x00000007,0x0000049f,0x0000049d,0x00000ba8, 5800x00000086,0x00000088,0x00000090,0x000200f8,
3910x0007000c,0x00000007,0x000004a0,0x00000001, 5810x00000088,0x0004003d,0x00000007,0x0000008a,
3920x0000001a,0x0000049f,0x0000006e,0x000500ba, 5820x00000010,0x00060050,0x00000007,0x0000008b,
3930x0000005d,0x000004a2,0x00000497,0x00000072, 5830x00000050,0x00000050,0x00000050,0x0007000c,
3940x000600a9,0x00000007,0x000004a3,0x000004a2, 5840x00000007,0x0000008c,0x00000001,0x00000028,
3950x000004a0,0x0000049a,0x000200f9,0x00000491, 5850x0000008a,0x0000008b,0x0007000c,0x00000007,
3960x000200f8,0x00000489,0x0007000c,0x00000007, 5860x0000008f,0x00000001,0x0000001a,0x0000008c,
3970x0000048c,0x00000001,0x00000028,0x00000b1c, 5870x0000008e,0x0003003e,0x00000087,0x0000008f,
3980x00000113,0x0007000c,0x00000007,0x0000048d, 5880x000200f9,0x00000089,0x000200f8,0x00000090,
3990x00000001,0x0000001a,0x0000048c,0x00000087, 5890x0004003d,0x00000007,0x00000092,0x00000010,
4000x000200f9,0x00000491,0x000200f8,0x00000491, 5900x0003003e,0x00000091,0x00000092,0x00050039,
4010x000700f5,0x00000007,0x00000b20,0x0000048d, 5910x00000007,0x00000093,0x0000000e,0x00000091,
4020x00000489,0x000004a3,0x0000048e,0x000200f9, 5920x0003003e,0x00000087,0x00000093,0x000200f9,
4030x00000454,0x000200f8,0x0000044e,0x0008000c, 5930x00000089,0x000200f8,0x00000089,0x0004003d,
4040x00000007,0x00000474,0x00000001,0x0000002b, 5940x00000007,0x00000094,0x00000087,0x000200fe,
4050x00000b1c,0x00000113,0x00000b97,0x0007000c, 5950x00000094,0x00010038,0x00050036,0x00000007,
4060x00000007,0x00000475,0x00000001,0x0000001a, 5960x00000014,0x00000000,0x00000009,0x00030037,
4070x00000474,0x000000aa,0x00050083,0x00000007, 5970x00000008,0x00000013,0x000200f8,0x00000015,
4080x00000478,0x00000475,0x00000b98,0x0007000c, 5980x0004003b,0x00000008,0x0000009a,0x00000007,
4090x00000007,0x0000047a,0x00000001,0x00000028, 5990x0004003b,0x00000008,0x000000a5,0x00000007,
4100x00000478,0x00000113,0x0005008e,0x00000007, 6000x00050041,0x00000082,0x00000097,0x00000080,
4110x0000047c,0x00000475,0x000000b4,0x00050083, 6010x00000081,0x0004003d,0x00000021,0x00000098,
4120x00000007,0x0000047e,0x00000ba1,0x0000047c, 6020x00000097,0x000500aa,0x00000045,0x00000099,
4130x00050088,0x00000007,0x0000047f,0x0000047a, 6030x00000098,0x00000085,0x000300f7,0x0000009c,
4140x0000047e,0x0007000c,0x00000007,0x00000480, 6040x00000000,0x000400fa,0x00000099,0x0000009b,
4150x00000001,0x0000001a,0x0000047f,0x000000bb, 6050x000000a4,0x000200f8,0x0000009b,0x0004003d,
4160x0005008e,0x00000007,0x00000481,0x00000480, 6060x00000007,0x0000009d,0x00000013,0x00060050,
4170x000000ac,0x000200f9,0x00000454,0x000200f8, 6070x00000007,0x0000009e,0x00000050,0x00000050,
4180x00000454,0x000700f5,0x00000007,0x00000b21, 6080x00000050,0x00060050,0x00000007,0x0000009f,
4190x00000481,0x0000044e,0x00000b20,0x00000491, 6090x00000051,0x00000051,0x00000051,0x0008000c,
4200x0005008e,0x00000007,0x00000458,0x00000b21, 6100x00000007,0x000000a0,0x00000001,0x0000002b,
4210x0000004a,0x00050051,0x00000006,0x0000045a, 6110x0000009d,0x0000009e,0x0000009f,0x0007000c,
4220x00000458,0x00000000,0x00050051,0x00000006, 6120x00000007,0x000000a3,0x00000001,0x0000001a,
4230x0000045b,0x00000458,0x00000001,0x00050051, 6130x000000a0,0x000000a2,0x0003003e,0x0000009a,
4240x00000006,0x0000045c,0x00000458,0x00000002, 6140x000000a3,0x000200f9,0x0000009c,0x000200f8,
4250x00070050,0x00000023,0x0000045d,0x0000045a, 6150x000000a4,0x0004003d,0x00000007,0x000000a6,
4260x0000045b,0x0000045c,0x0000004a,0x00050051, 6160x00000013,0x0003003e,0x000000a5,0x000000a6,
4270x0000001e,0x00000358,0x0000034f,0x00000000, 6170x00050039,0x00000007,0x000000a7,0x0000000b,
4280x00050050,0x0000001f,0x0000035b,0x00000358, 6180x000000a5,0x0003003e,0x0000009a,0x000000a7,
4290x00000353,0x0004003d,0x0000001c,0x000004b2, 6190x000200f9,0x0000009c,0x000200f8,0x0000009c,
4300x00000285,0x0007005f,0x00000023,0x000004b4, 6200x0004003d,0x00000007,0x000000a8,0x0000009a,
4310x000004b2,0x0000035b,0x00000002,0x000000db, 6210x000200fe,0x000000a8,0x00010038,0x00050036,
4320x000300f7,0x000004ca,0x00000000,0x000400fa, 6220x00000007,0x00000017,0x00000000,0x00000009,
4330x0000042d,0x000004c3,0x000004c7,0x000200f8, 6230x00030037,0x00000008,0x00000016,0x000200f8,
4340x000004c7,0x0008004f,0x00000007,0x000004c9, 6240x00000018,0x0004003b,0x00000008,0x000000ab,
4350x000004b4,0x000004b4,0x00000000,0x00000001, 6250x00000007,0x0004003d,0x00000007,0x000000ac,
4360x00000002,0x000200f9,0x000004ca,0x000200f8, 6260x00000016,0x00060050,0x00000007,0x000000ad,
4370x000004c3,0x0008004f,0x00000007,0x000004c5, 6270x00000050,0x00000050,0x00000050,0x00060050,
4380x000004b4,0x000004b4,0x00000000,0x00000001, 6280x00000007,0x000000ae,0x00000051,0x00000051,
4390x00000002,0x0008000c,0x00000007,0x000004f8, 6290x00000051,0x0008000c,0x00000007,0x000000af,
4400x00000001,0x0000002b,0x000004c5,0x00000113, 6300x00000001,0x0000002b,0x000000ac,0x000000ad,
4410x00000b97,0x0005008e,0x00000007,0x000004fa, 6310x000000ae,0x0007000c,0x00000007,0x000000b2,
4420x000004f8,0x0000004f,0x0007000c,0x00000007, 6320x00000001,0x0000001a,0x000000af,0x000000b1,
4430x000004fc,0x00000001,0x0000001a,0x000004f8, 6330x0003003e,0x000000ab,0x000000b2,0x0004003d,
4440x00000054,0x0005008e,0x00000007,0x000004fd, 6340x00000007,0x000000b4,0x000000ab,0x00060050,
4450x000004fc,0x00000051,0x00050083,0x00000007, 6350x00000007,0x000000b6,0x000000b5,0x000000b5,
4460x000004ff,0x000004fd,0x00000b9b,0x000500ba, 6360x000000b5,0x00050083,0x00000007,0x000000b7,
4470x0000005d,0x00000501,0x000004f8,0x0000005c, 6370x000000b4,0x000000b6,0x00060050,0x00000007,
4480x000600a9,0x00000007,0x00000502,0x00000501, 6380x000000b8,0x00000050,0x00000050,0x00000050,
4490x000004ff,0x000004fa,0x000200f9,0x000004ca, 6390x0007000c,0x00000007,0x000000b9,0x00000001,
4500x000200f8,0x000004ca,0x000700f5,0x00000007, 6400x00000028,0x000000b7,0x000000b8,0x0004003d,
4510x00000b23,0x00000502,0x000004c3,0x000004c9, 6410x00000007,0x000000bc,0x000000ab,0x0005008e,
4520x000004c7,0x000300f7,0x000004e9,0x00000000, 6420x00000007,0x000000bd,0x000000bc,0x000000bb,
4530x000400fa,0x0000044d,0x000004e3,0x000004e6, 6430x00060050,0x00000007,0x000000be,0x000000ba,
4540x000200f8,0x000004e6,0x00050041,0x0000007b, 6440x000000ba,0x000000ba,0x00050083,0x00000007,
4550x0000051b,0x00000079,0x0000007a,0x0004003d, 6450x000000bf,0x000000be,0x000000bd,0x00050088,
4560x00000021,0x0000051c,0x0000051b,0x000500aa, 6460x00000007,0x000000c0,0x000000b9,0x000000bf,
4570x0000003d,0x0000051d,0x0000051c,0x0000007e, 6470x0007000c,0x00000007,0x000000c3,0x00000001,
4580x000300f7,0x00000526,0x00000000,0x000400fa, 6480x0000001a,0x000000c0,0x000000c2,0x0005008e,
4590x0000051d,0x0000051e,0x00000523,0x000200f8, 6490x00000007,0x000000c4,0x000000c3,0x000000b3,
4600x00000523,0x0007000c,0x00000007,0x0000052c, 6500x000200fe,0x000000c4,0x00010038,0x00050036,
4610x00000001,0x00000028,0x00000b23,0x00000113, 6510x00000007,0x0000001a,0x00000000,0x00000009,
4620x00050085,0x00000007,0x0000052f,0x0000052c, 6520x00030037,0x00000008,0x00000019,0x000200f8,
4630x00000ba6,0x00050081,0x00000007,0x00000532, 6530x0000001b,0x0004003b,0x00000008,0x000000c7,
4640x0000052c,0x00000b9b,0x00050085,0x00000007, 6540x00000007,0x0004003d,0x00000007,0x000000c8,
4650x00000534,0x00000532,0x00000ba8,0x0007000c, 6550x00000019,0x00060050,0x00000007,0x000000c9,
4660x00000007,0x00000535,0x00000001,0x0000001a, 6560x000000b3,0x000000b3,0x000000b3,0x00050088,
4670x00000534,0x0000006e,0x000500ba,0x0000005d, 6570x00000007,0x000000ca,0x000000c8,0x000000c9,
4680x00000537,0x0000052c,0x00000072,0x000600a9, 6580x00060050,0x00000007,0x000000cb,0x00000050,
4690x00000007,0x00000538,0x00000537,0x00000535, 6590x00000050,0x00000050,0x00060050,0x00000007,
4700x0000052f,0x000200f9,0x00000526,0x000200f8, 6600x000000cc,0x00000051,0x00000051,0x00000051,
4710x0000051e,0x0007000c,0x00000007,0x00000521, 6610x0008000c,0x00000007,0x000000cd,0x00000001,
4720x00000001,0x00000028,0x00000b23,0x00000113, 6620x0000002b,0x000000ca,0x000000cb,0x000000cc,
4730x0007000c,0x00000007,0x00000522,0x00000001, 6630x0007000c,0x00000007,0x000000d0,0x00000001,
4740x0000001a,0x00000521,0x00000087,0x000200f9, 6640x0000001a,0x000000cd,0x000000cf,0x0003003e,
4750x00000526,0x000200f8,0x00000526,0x000700f5, 6650x000000c7,0x000000d0,0x0004003d,0x00000007,
4760x00000007,0x00000b27,0x00000522,0x0000051e, 6660x000000d1,0x000000c7,0x0005008e,0x00000007,
4770x00000538,0x00000523,0x000200f9,0x000004e9, 6670x000000d2,0x000000d1,0x000000ba,0x00060050,
4780x000200f8,0x000004e3,0x0008000c,0x00000007, 6680x00000007,0x000000d3,0x000000b5,0x000000b5,
4790x00000509,0x00000001,0x0000002b,0x00000b23, 6690x000000b5,0x00050081,0x00000007,0x000000d4,
4800x00000113,0x00000b97,0x0007000c,0x00000007, 6700x000000d3,0x000000d2,0x0004003d,0x00000007,
4810x0000050a,0x00000001,0x0000001a,0x00000509, 6710x000000d5,0x000000c7,0x0005008e,0x00000007,
4820x000000aa,0x00050083,0x00000007,0x0000050d, 6720x000000d6,0x000000d5,0x000000bb,0x00060050,
4830x0000050a,0x00000b98,0x0007000c,0x00000007, 6730x00000007,0x000000d7,0x00000051,0x00000051,
4840x0000050f,0x00000001,0x00000028,0x0000050d, 6740x00000051,0x00050081,0x00000007,0x000000d8,
4850x00000113,0x0005008e,0x00000007,0x00000511, 6750x000000d7,0x000000d6,0x00050088,0x00000007,
4860x0000050a,0x000000b4,0x00050083,0x00000007, 6760x000000d9,0x000000d4,0x000000d8,0x0007000c,
4870x00000513,0x00000ba1,0x00000511,0x00050088, 6770x00000007,0x000000dc,0x00000001,0x0000001a,
4880x00000007,0x00000514,0x0000050f,0x00000513, 6780x000000d9,0x000000db,0x000200fe,0x000000dc,
4890x0007000c,0x00000007,0x00000515,0x00000001, 6790x00010038,0x00050036,0x00000024,0x00000029,
4900x0000001a,0x00000514,0x000000bb,0x0005008e, 6800x00000000,0x00000025,0x00030037,0x0000001d,
4910x00000007,0x00000516,0x00000515,0x000000ac, 6810x00000026,0x00030037,0x00000020,0x00000027,
4920x000200f9,0x000004e9,0x000200f8,0x000004e9, 6820x00030037,0x00000022,0x00000028,0x000200f8,
4930x000700f5,0x00000007,0x00000b28,0x00000516, 6830x0000002a,0x0004003b,0x00000033,0x000000df,
4940x000004e3,0x00000b27,0x00000526,0x0005008e, 6840x00000007,0x0004003b,0x00000046,0x000000e4,
4950x00000007,0x000004ed,0x00000b28,0x0000004a, 6850x00000007,0x0004003b,0x0000002c,0x000000ea,
4960x00050051,0x00000006,0x000004ef,0x000004ed, 6860x00000007,0x0004003b,0x0000002c,0x000000ec,
4970x00000000,0x00050051,0x00000006,0x000004f0, 6870x00000007,0x0004003b,0x00000046,0x000000f5,
4980x000004ed,0x00000001,0x00050051,0x00000006, 6880x00000007,0x0004003b,0x00000046,0x000000fa,
4990x000004f1,0x000004ed,0x00000002,0x00070050, 6890x00000007,0x0004003b,0x00000046,0x000000ff,
5000x00000023,0x000004f2,0x000004ef,0x000004f0, 6900x00000007,0x0004003b,0x00000008,0x00000111,
5010x000004f1,0x0000004a,0x00050051,0x00000006, 6910x00000007,0x0004003b,0x00000008,0x0000011b,
5020x0000035f,0x00000347,0x00000000,0x00070050, 6920x00000007,0x0004003b,0x00000008,0x0000011e,
5030x00000023,0x00000360,0x0000035f,0x0000035f, 6930x00000007,0x0004003b,0x00000008,0x00000128,
5040x0000035f,0x0000035f,0x0008000c,0x00000023, 6940x00000007,0x0004003b,0x00000008,0x0000012a,
5050x00000361,0x00000001,0x0000002e,0x0000045d, 6950x00000007,0x0004003b,0x00000008,0x00000131,
5060x000004f2,0x00000360,0x00050051,0x0000001e, 6960x00000007,0x0004003b,0x00000008,0x00000138,
5070x00000365,0x0000034f,0x00000001,0x00050050, 6970x00000007,0x0004003b,0x00000008,0x0000013a,
5080x0000001f,0x00000366,0x00000351,0x00000365, 6980x00000007,0x0004003b,0x00000008,0x0000014d,
5090x0004003d,0x0000001c,0x00000547,0x00000285, 6990x00000007,0x0004003b,0x00000008,0x0000014f,
5100x0007005f,0x00000023,0x00000549,0x00000547, 7000x00000007,0x0004003b,0x00000008,0x00000152,
5110x00000366,0x00000002,0x000000db,0x000300f7, 7010x00000007,0x0004003b,0x00000008,0x0000015d,
5120x0000055f,0x00000000,0x000400fa,0x0000042d, 7020x00000007,0x0004003b,0x00000008,0x00000160,
5130x00000558,0x0000055c,0x000200f8,0x0000055c, 7030x00000007,0x0004003b,0x00000008,0x0000016c,
5140x0008004f,0x00000007,0x0000055e,0x00000549, 7040x00000007,0x0004003b,0x00000008,0x00000174,
5150x00000549,0x00000000,0x00000001,0x00000002, 7050x00000007,0x0004003b,0x00000008,0x00000177,
5160x000200f9,0x0000055f,0x000200f8,0x00000558, 7060x00000007,0x0004003b,0x00000008,0x0000017b,
5170x0008004f,0x00000007,0x0000055a,0x00000549, 7070x00000007,0x0004003b,0x00000008,0x00000187,
5180x00000549,0x00000000,0x00000001,0x00000002, 7080x00000007,0x0004003b,0x00000008,0x0000018a,
5190x0008000c,0x00000007,0x0000058d,0x00000001, 7090x00000007,0x0004003b,0x00000008,0x0000018e,
5200x0000002b,0x0000055a,0x00000113,0x00000b97, 7100x00000007,0x0004003b,0x00000008,0x00000194,
5210x0005008e,0x00000007,0x0000058f,0x0000058d, 7110x00000007,0x0004003b,0x00000008,0x00000196,
5220x0000004f,0x0007000c,0x00000007,0x00000591, 7120x00000007,0x0004003b,0x00000008,0x00000199,
5230x00000001,0x0000001a,0x0000058d,0x00000054, 7130x00000007,0x0004003b,0x00000008,0x0000019d,
5240x0005008e,0x00000007,0x00000592,0x00000591, 7140x00000007,0x0004003d,0x0000001c,0x000000e0,
5250x00000051,0x00050083,0x00000007,0x00000594, 7150x00000026,0x0004003d,0x0000001f,0x000000e1,
5260x00000592,0x00000b9b,0x000500ba,0x0000005d, 7160x00000027,0x0007005f,0x00000023,0x000000e3,
5270x00000596,0x0000058d,0x0000005c,0x000600a9, 7170x000000e0,0x000000e1,0x00000002,0x000000e2,
5280x00000007,0x00000597,0x00000596,0x00000594, 7180x0003003e,0x000000df,0x000000e3,0x0004003d,
5290x0000058f,0x000200f9,0x0000055f,0x000200f8, 7190x00000021,0x000000e5,0x00000028,0x000500c7,
5300x0000055f,0x000700f5,0x00000007,0x00000b2a, 7200x00000021,0x000000e7,0x000000e5,0x000000e6,
5310x00000597,0x00000558,0x0000055e,0x0000055c, 7210x000500ab,0x00000045,0x000000e9,0x000000e7,
5320x000300f7,0x0000057e,0x00000000,0x000400fa, 7220x000000e8,0x0003003e,0x000000e4,0x000000e9,
5330x0000044d,0x00000578,0x0000057b,0x000200f8, 7230x0004003d,0x00000045,0x000000eb,0x000000e4,
5340x0000057b,0x00050041,0x0000007b,0x000005b0, 7240x000300f7,0x000000ee,0x00000000,0x000400fa,
5350x00000079,0x0000007a,0x0004003d,0x00000021, 7250x000000eb,0x000000ed,0x000000ef,0x000200f8,
5360x000005b1,0x000005b0,0x000500aa,0x0000003d, 7260x000000ed,0x0003003e,0x000000ec,0x00000051,
5370x000005b2,0x000005b1,0x0000007e,0x000300f7, 7270x000200f9,0x000000ee,0x000200f8,0x000000ef,
5380x000005bb,0x00000000,0x000400fa,0x000005b2, 7280x00050041,0x0000002c,0x000000f1,0x000000df,
5390x000005b3,0x000005b8,0x000200f8,0x000005b8, 7290x000000f0,0x0004003d,0x00000006,0x000000f2,
5400x0007000c,0x00000007,0x000005c1,0x00000001, 7300x000000f1,0x0008000c,0x00000006,0x000000f3,
5410x00000028,0x00000b2a,0x00000113,0x00050085, 7310x00000001,0x0000002b,0x000000f2,0x00000050,
5420x00000007,0x000005c4,0x000005c1,0x00000ba6, 7320x00000051,0x0003003e,0x000000ec,0x000000f3,
5430x00050081,0x00000007,0x000005c7,0x000005c1, 7330x000200f9,0x000000ee,0x000200f8,0x000000ee,
5440x00000b9b,0x00050085,0x00000007,0x000005c9, 7340x0004003d,0x00000006,0x000000f4,0x000000ec,
5450x000005c7,0x00000ba8,0x0007000c,0x00000007, 7350x0003003e,0x000000ea,0x000000f4,0x0004003d,
5460x000005ca,0x00000001,0x0000001a,0x000005c9, 7360x00000021,0x000000f6,0x00000028,0x000500c7,
5470x0000006e,0x000500ba,0x0000005d,0x000005cc, 7370x00000021,0x000000f8,0x000000f6,0x000000f7,
5480x000005c1,0x00000072,0x000600a9,0x00000007, 7380x000500ab,0x00000045,0x000000f9,0x000000f8,
5490x000005cd,0x000005cc,0x000005ca,0x000005c4, 7390x000000e8,0x0003003e,0x000000f5,0x000000f9,
5500x000200f9,0x000005bb,0x000200f8,0x000005b3, 7400x0004003d,0x00000021,0x000000fb,0x00000028,
5510x0007000c,0x00000007,0x000005b6,0x00000001, 7410x000500c7,0x00000021,0x000000fd,0x000000fb,
5520x00000028,0x00000b2a,0x00000113,0x0007000c, 7420x000000fc,0x000500ab,0x00000045,0x000000fe,
5530x00000007,0x000005b7,0x00000001,0x0000001a, 7430x000000fd,0x000000e8,0x0003003e,0x000000fa,
5540x000005b6,0x00000087,0x000200f9,0x000005bb, 7440x000000fe,0x0004003d,0x00000045,0x00000100,
5550x000200f8,0x000005bb,0x000700f5,0x00000007, 7450x000000e4,0x000400a8,0x00000045,0x00000101,
5560x00000b2e,0x000005b7,0x000005b3,0x000005cd, 7460x00000100,0x000300f7,0x00000103,0x00000000,
5570x000005b8,0x000200f9,0x0000057e,0x000200f8, 7470x000400fa,0x00000101,0x00000102,0x00000103,
5580x00000578,0x0008000c,0x00000007,0x0000059e, 7480x000200f8,0x00000102,0x0004003d,0x00000021,
5590x00000001,0x0000002b,0x00000b2a,0x00000113, 7490x00000104,0x00000028,0x000500c7,0x00000021,
5600x00000b97,0x0007000c,0x00000007,0x0000059f, 7500x00000106,0x00000104,0x00000105,0x000500aa,
5610x00000001,0x0000001a,0x0000059e,0x000000aa, 7510x00000045,0x00000107,0x00000106,0x000000e8,
5620x00050083,0x00000007,0x000005a2,0x0000059f, 7520x000200f9,0x00000103,0x000200f8,0x00000103,
5630x00000b98,0x0007000c,0x00000007,0x000005a4, 7530x000700f5,0x00000045,0x00000108,0x00000101,
5640x00000001,0x00000028,0x000005a2,0x00000113, 7540x000000ee,0x00000107,0x00000102,0x0003003e,
5650x0005008e,0x00000007,0x000005a6,0x0000059f, 7550x000000ff,0x00000108,0x0004003d,0x00000045,
5660x000000b4,0x00050083,0x00000007,0x000005a8, 7560x00000109,0x000000f5,0x0004003d,0x00000045,
5670x00000ba1,0x000005a6,0x00050088,0x00000007, 7570x0000010a,0x000000ff,0x000500a7,0x00000045,
5680x000005a9,0x000005a4,0x000005a8,0x0007000c, 7580x0000010b,0x00000109,0x0000010a,0x0004003d,
5690x00000007,0x000005aa,0x00000001,0x0000001a, 7590x00000045,0x0000010c,0x000000fa,0x000400a8,
5700x000005a9,0x000000bb,0x0005008e,0x00000007, 7600x00000045,0x0000010d,0x0000010c,0x000500a7,
5710x000005ab,0x000005aa,0x000000ac,0x000200f9, 7610x00000045,0x0000010e,0x0000010b,0x0000010d,
5720x0000057e,0x000200f8,0x0000057e,0x000700f5, 7620x000300f7,0x00000110,0x00000000,0x000400fa,
5730x00000007,0x00000b2f,0x000005ab,0x00000578, 7630x0000010e,0x0000010f,0x00000110,0x000200f8,
5740x00000b2e,0x000005bb,0x0005008e,0x00000007, 7640x0000010f,0x0004003d,0x00000023,0x00000112,
5750x00000582,0x00000b2f,0x0000004a,0x00050051, 7650x000000df,0x0008004f,0x00000007,0x00000113,
5760x00000006,0x00000584,0x00000582,0x00000000, 7660x00000112,0x00000112,0x00000000,0x00000001,
5770x00050051,0x00000006,0x00000585,0x00000582, 7670x00000002,0x00060050,0x00000007,0x00000114,
5780x00000001,0x00050051,0x00000006,0x00000586, 7680x00000050,0x00000050,0x00000050,0x0007000c,
5790x00000582,0x00000002,0x00070050,0x00000023, 7690x00000007,0x00000115,0x00000001,0x00000028,
5800x00000587,0x00000584,0x00000585,0x00000586, 7700x00000113,0x00000114,0x0003003e,0x00000111,
5810x0000004a,0x0004003d,0x0000001c,0x000005dc, 7710x00000115,0x00050041,0x00000082,0x00000116,
5820x00000285,0x0007005f,0x00000023,0x000005de, 7720x00000080,0x00000081,0x0004003d,0x00000021,
5830x000005dc,0x0000034f,0x00000002,0x000000db, 7730x00000117,0x00000116,0x000500aa,0x00000045,
5840x000300f7,0x000005f4,0x00000000,0x000400fa, 7740x00000118,0x00000117,0x00000085,0x000300f7,
5850x0000042d,0x000005ed,0x000005f1,0x000200f8, 7750x0000011a,0x00000000,0x000400fa,0x00000118,
5860x000005f1,0x0008004f,0x00000007,0x000005f3, 7760x00000119,0x0000011a,0x000200f8,0x00000119,
5870x000005de,0x000005de,0x00000000,0x00000001, 7770x0004003d,0x00000006,0x0000011c,0x000000ea,
5880x00000002,0x000200f9,0x000005f4,0x000200f8, 7780x000500ba,0x00000045,0x0000011d,0x0000011c,
5890x000005ed,0x0008004f,0x00000007,0x000005ef, 7790x00000050,0x000300f7,0x00000120,0x00000000,
5900x000005de,0x000005de,0x00000000,0x00000001, 7800x000400fa,0x0000011d,0x0000011f,0x0000012e,
5910x00000002,0x0008000c,0x00000007,0x00000622, 7810x000200f8,0x0000011f,0x0004003d,0x00000007,
5920x00000001,0x0000002b,0x000005ef,0x00000113, 7820x00000121,0x00000111,0x0004003d,0x00000006,
5930x00000b97,0x0005008e,0x00000007,0x00000624, 7830x00000122,0x000000ea,0x00060050,0x00000007,
5940x00000622,0x0000004f,0x0007000c,0x00000007, 7840x00000123,0x00000122,0x00000122,0x00000122,
5950x00000626,0x00000001,0x0000001a,0x00000622, 7850x0007000c,0x00000007,0x00000124,0x00000001,
5960x00000054,0x0005008e,0x00000007,0x00000627, 7860x00000025,0x00000121,0x00000123,0x0004003d,
5970x00000626,0x00000051,0x00050083,0x00000007, 7870x00000006,0x00000125,0x000000ea,0x00060050,
5980x00000629,0x00000627,0x00000b9b,0x000500ba, 7880x00000007,0x00000126,0x00000125,0x00000125,
5990x0000005d,0x0000062b,0x00000622,0x0000005c, 7890x00000125,0x00050088,0x00000007,0x00000127,
6000x000600a9,0x00000007,0x0000062c,0x0000062b, 7900x00000124,0x00000126,0x0003003e,0x00000128,
6010x00000629,0x00000624,0x000200f9,0x000005f4, 7910x00000127,0x00050039,0x00000007,0x00000129,
6020x000200f8,0x000005f4,0x000700f5,0x00000007, 7920x0000000b,0x00000128,0x0003003e,0x0000012a,
6030x00000b31,0x0000062c,0x000005ed,0x000005f3, 7930x00000129,0x00050039,0x00000007,0x0000012b,
6040x000005f1,0x000300f7,0x00000613,0x00000000, 7940x00000011,0x0000012a,0x0004003d,0x00000006,
6050x000400fa,0x0000044d,0x0000060d,0x00000610, 7950x0000012c,0x000000ea,0x0005008e,0x00000007,
6060x000200f8,0x00000610,0x00050041,0x0000007b, 7960x0000012d,0x0000012b,0x0000012c,0x0003003e,
6070x00000645,0x00000079,0x0000007a,0x0004003d, 7970x0000011e,0x0000012d,0x000200f9,0x00000120,
6080x00000021,0x00000646,0x00000645,0x000500aa, 7980x000200f8,0x0000012e,0x0003003e,0x0000011e,
6090x0000003d,0x00000647,0x00000646,0x0000007e, 7990x0000012f,0x000200f9,0x00000120,0x000200f8,
6100x000300f7,0x00000650,0x00000000,0x000400fa, 8000x00000120,0x0004003d,0x00000007,0x00000130,
6110x00000647,0x00000648,0x0000064d,0x000200f8, 8010x0000011e,0x0003003e,0x0000011b,0x00000130,
6120x0000064d,0x0007000c,0x00000007,0x00000656, 8020x0004003d,0x00000007,0x00000132,0x00000111,
6130x00000001,0x00000028,0x00000b31,0x00000113, 8030x0004003d,0x00000006,0x00000133,0x000000ea,
6140x00050085,0x00000007,0x00000659,0x00000656, 8040x00060050,0x00000007,0x00000134,0x00000133,
6150x00000ba6,0x00050081,0x00000007,0x0000065c, 8050x00000133,0x00000133,0x00050083,0x00000007,
6160x00000656,0x00000b9b,0x00050085,0x00000007, 8060x00000135,0x00000132,0x00000134,0x00060050,
6170x0000065e,0x0000065c,0x00000ba8,0x0007000c, 8070x00000007,0x00000136,0x00000050,0x00000050,
6180x00000007,0x0000065f,0x00000001,0x0000001a, 8080x00000050,0x0007000c,0x00000007,0x00000137,
6190x0000065e,0x0000006e,0x000500ba,0x0000005d, 8090x00000001,0x00000028,0x00000135,0x00000136,
6200x00000661,0x00000656,0x00000072,0x000600a9, 8100x0003003e,0x00000138,0x00000137,0x00050039,
6210x00000007,0x00000662,0x00000661,0x0000065f, 8110x00000007,0x00000139,0x0000000b,0x00000138,
6220x00000659,0x000200f9,0x00000650,0x000200f8, 8120x0003003e,0x0000013a,0x00000139,0x00050039,
6230x00000648,0x0007000c,0x00000007,0x0000064b, 8130x00000007,0x0000013b,0x00000011,0x0000013a,
6240x00000001,0x00000028,0x00000b31,0x00000113, 8140x0003003e,0x00000131,0x0000013b,0x0004003d,
6250x0007000c,0x00000007,0x0000064c,0x00000001, 8150x00000007,0x0000013c,0x0000011b,0x0004003d,
6260x0000001a,0x0000064b,0x00000087,0x000200f9, 8160x00000006,0x0000013d,0x000000ea,0x00050051,
6270x00000650,0x000200f8,0x00000650,0x000700f5, 8170x00000006,0x0000013e,0x0000013c,0x00000000,
6280x00000007,0x00000b35,0x0000064c,0x00000648, 8180x00050051,0x00000006,0x0000013f,0x0000013c,
6290x00000662,0x0000064d,0x000200f9,0x00000613, 8190x00000001,0x00050051,0x00000006,0x00000140,
6300x000200f8,0x0000060d,0x0008000c,0x00000007, 8200x0000013c,0x00000002,0x00070050,0x00000023,
6310x00000633,0x00000001,0x0000002b,0x00000b31, 8210x00000141,0x0000013e,0x0000013f,0x00000140,
6320x00000113,0x00000b97,0x0007000c,0x00000007, 8220x0000013d,0x0004003d,0x00000007,0x00000142,
6330x00000634,0x00000001,0x0000001a,0x00000633, 8230x00000131,0x00050050,0x00000024,0x00000143,
6340x000000aa,0x00050083,0x00000007,0x00000637, 8240x00000141,0x00000142,0x000200fe,0x00000143,
6350x00000634,0x00000b98,0x0007000c,0x00000007, 8250x000200f8,0x0000011a,0x0004003d,0x00000007,
6360x00000639,0x00000001,0x00000028,0x00000637, 8260x00000145,0x00000111,0x0004003d,0x00000006,
6370x00000113,0x0005008e,0x00000007,0x0000063b, 8270x00000146,0x000000ea,0x00050051,0x00000006,
6380x00000634,0x000000b4,0x00050083,0x00000007, 8280x00000147,0x00000145,0x00000000,0x00050051,
6390x0000063d,0x00000ba1,0x0000063b,0x00050088, 8290x00000006,0x00000148,0x00000145,0x00000001,
6400x00000007,0x0000063e,0x00000639,0x0000063d, 8300x00050051,0x00000006,0x00000149,0x00000145,
6410x0007000c,0x00000007,0x0000063f,0x00000001, 8310x00000002,0x00070050,0x00000023,0x0000014a,
6420x0000001a,0x0000063e,0x000000bb,0x0005008e, 8320x00000147,0x00000148,0x00000149,0x00000146,
6430x00000007,0x00000640,0x0000063f,0x000000ac, 8330x00050050,0x00000024,0x0000014b,0x0000014a,
6440x000200f9,0x00000613,0x000200f8,0x00000613, 8340x0000012f,0x000200fe,0x0000014b,0x000200f8,
6450x000700f5,0x00000007,0x00000b36,0x00000640, 8350x00000110,0x0004003d,0x00000045,0x0000014e,
6460x0000060d,0x00000b35,0x00000650,0x0005008e, 8360x000000f5,0x000300f7,0x00000151,0x00000000,
6470x00000007,0x00000617,0x00000b36,0x0000004a, 8370x000400fa,0x0000014e,0x00000150,0x00000156,
6480x00050051,0x00000006,0x00000619,0x00000617, 8380x000200f8,0x00000150,0x0004003d,0x00000023,
6490x00000000,0x00050051,0x00000006,0x0000061a, 8390x00000153,0x000000df,0x0008004f,0x00000007,
6500x00000617,0x00000001,0x00050051,0x00000006, 8400x00000154,0x00000153,0x00000153,0x00000000,
6510x0000061b,0x00000617,0x00000002,0x00070050, 8410x00000001,0x00000002,0x0003003e,0x00000152,
6520x00000023,0x0000061c,0x00000619,0x0000061a, 8420x00000154,0x00050039,0x00000007,0x00000155,
6530x0000061b,0x0000004a,0x0008000c,0x00000023, 8430x0000000b,0x00000152,0x0003003e,0x0000014f,
6540x00000373,0x00000001,0x0000002e,0x00000587, 8440x00000155,0x000200f9,0x00000151,0x000200f8,
6550x0000061c,0x00000360,0x00050051,0x00000006, 8450x00000156,0x0004003d,0x00000023,0x00000157,
6560x00000375,0x00000347,0x00000001,0x00070050, 8460x000000df,0x0008004f,0x00000007,0x00000158,
6570x00000023,0x00000376,0x00000375,0x00000375, 8470x00000157,0x00000157,0x00000000,0x00000001,
6580x00000375,0x00000375,0x0008000c,0x00000023, 8480x00000002,0x0003003e,0x0000014f,0x00000158,
6590x00000377,0x00000001,0x0000002e,0x00000361, 8490x000200f9,0x00000151,0x000200f8,0x00000151,
6600x00000373,0x00000376,0x000200f9,0x00000378, 8500x0004003d,0x00000007,0x00000159,0x0000014f,
6610x000200f8,0x00000378,0x000700f5,0x00000023, 8510x0003003e,0x0000014d,0x00000159,0x0004003d,
6620x00000b3e,0x000003c8,0x000003bf,0x00000377, 8520x00000045,0x0000015a,0x000000ff,0x000300f7,
6630x00000613,0x000500c7,0x00000021,0x00000297, 8530x0000015c,0x00000000,0x000400fa,0x0000015a,
6640x00000289,0x00000117,0x000500ab,0x0000003d, 8540x0000015b,0x0000015c,0x000200f8,0x0000015b,
6650x00000298,0x00000297,0x000000e1,0x0008004f, 8550x0004003d,0x00000006,0x0000015e,0x000000ea,
6660x00000007,0x0000029b,0x00000b3e,0x00000b3e, 8560x000500ba,0x00000045,0x0000015f,0x0000015e,
6670x00000000,0x00000001,0x00000002,0x000300f7, 8570x00000050,0x000300f7,0x00000162,0x00000000,
6680x00000690,0x00000000,0x000300fb,0x000000e1, 8580x000400fa,0x0000015f,0x00000161,0x0000016a,
6690x0000066b,0x000200f8,0x0000066b,0x00050041, 8590x000200f8,0x00000161,0x0004003d,0x00000007,
6700x0000007b,0x0000066c,0x00000079,0x0000020f, 8600x00000163,0x0000014d,0x0004003d,0x00000006,
6710x0004003d,0x00000021,0x0000066d,0x0000066c, 8610x00000164,0x000000ea,0x00060050,0x00000007,
6720x000500ab,0x0000003d,0x0000066e,0x0000066d, 8620x00000165,0x00000164,0x00000164,0x00000164,
6730x000000e1,0x000500a4,0x0000003d,0x00000671, 8630x0007000c,0x00000007,0x00000166,0x00000001,
6740x00000298,0x0000066e,0x000300f7,0x00000674, 8640x00000025,0x00000163,0x00000165,0x0004003d,
6750x00000000,0x000400fa,0x00000671,0x00000672, 8650x00000006,0x00000167,0x000000ea,0x00060050,
6760x00000674,0x000200f8,0x00000672,0x000200f9, 8660x00000007,0x00000168,0x00000167,0x00000167,
6770x00000690,0x000200f8,0x00000674,0x000400a8, 8670x00000167,0x00050088,0x00000007,0x00000169,
6780x0000003d,0x00000676,0x00000298,0x000300f7, 8680x00000166,0x00000168,0x0003003e,0x00000160,
6790x0000067d,0x00000000,0x000400fa,0x00000676, 8690x00000169,0x000200f9,0x00000162,0x000200f8,
6800x00000677,0x0000067d,0x000200f8,0x00000677, 8700x0000016a,0x0003003e,0x00000160,0x0000012f,
6810x00050094,0x00000006,0x00000695,0x000001b1, 8710x000200f9,0x00000162,0x000200f8,0x00000162,
6820x0000029b,0x00050094,0x00000006,0x00000697, 8720x0004003d,0x00000007,0x0000016b,0x00000160,
6830x000001b7,0x0000029b,0x00050094,0x00000006, 8730x0003003e,0x0000015d,0x0000016b,0x0004003d,
6840x00000699,0x000001bd,0x0000029b,0x00060050, 8740x00000007,0x0000016d,0x0000014d,0x0004003d,
6850x00000007,0x0000069a,0x00000695,0x00000697, 8750x00000006,0x0000016e,0x000000ea,0x00060050,
6860x00000699,0x00050041,0x000001ea,0x0000067a, 8760x00000007,0x0000016f,0x0000016e,0x0000016e,
6870x00000079,0x000001ed,0x0004003d,0x00000006, 8770x0000016e,0x00050083,0x00000007,0x00000170,
6880x0000067b,0x0000067a,0x0005008e,0x00000007, 8780x0000016d,0x0000016f,0x00060050,0x00000007,
6890x0000067c,0x0000069a,0x0000067b,0x000200f9, 8790x00000171,0x00000050,0x00000050,0x00000050,
6900x00000690,0x000200f8,0x0000067d,0x00050094, 8800x0007000c,0x00000007,0x00000172,0x00000001,
6910x00000006,0x0000069e,0x000001c6,0x0000029b, 8810x00000028,0x00000170,0x00000171,0x0003003e,
6920x00050094,0x00000006,0x000006a0,0x000001cc, 8820x0000016c,0x00000172,0x0004003d,0x00000045,
6930x0000029b,0x00050094,0x00000006,0x000006a2, 8830x00000173,0x000000fa,0x000300f7,0x00000176,
6940x000001d2,0x0000029b,0x00060050,0x00000007, 8840x00000000,0x000400fa,0x00000173,0x00000175,
6950x000006a3,0x0000069e,0x000006a0,0x000006a2, 8850x0000017a,0x000200f8,0x00000175,0x0004003d,
6960x00050041,0x000001ea,0x00000687,0x00000079, 8860x00000007,0x00000178,0x0000015d,0x0003003e,
6970x000001ed,0x0004003d,0x00000006,0x00000688, 8870x00000177,0x00000178,0x00050039,0x00000007,
6980x00000687,0x00060050,0x00000007,0x00000689, 8880x00000179,0x00000017,0x00000177,0x0003003e,
6990x00000688,0x00000688,0x00000688,0x00050088, 8890x00000174,0x00000179,0x000200f9,0x00000176,
7000x00000007,0x0000068a,0x000006a3,0x00000689, 8900x000200f8,0x0000017a,0x0004003d,0x00000007,
7010x0007000c,0x00000007,0x0000068c,0x00000001, 8910x0000017c,0x0000015d,0x0003003e,0x0000017b,
7020x00000028,0x0000068a,0x00000113,0x000300f7, 8920x0000017c,0x00050039,0x00000007,0x0000017d,
7030x000006d3,0x00000000,0x000300fb,0x000000e1, 8930x00000011,0x0000017b,0x0003003e,0x00000174,
7040x000006ac,0x000200f8,0x000006ac,0x00050094, 8940x0000017d,0x000200f9,0x00000176,0x000200f8,
7050x00000006,0x000006ae,0x0000068c,0x000001dd, 8950x00000176,0x0004003d,0x00000007,0x0000017e,
7060x000500bc,0x0000003d,0x000006b0,0x000006ae, 8960x00000174,0x0004003d,0x00000006,0x0000017f,
7070x000001e0,0x000300f7,0x000006b3,0x00000000, 8970x000000ea,0x0005008e,0x00000007,0x00000180,
7080x000400fa,0x000006b0,0x000006b1,0x000006b3, 8980x0000017e,0x0000017f,0x0004003d,0x00000006,
7090x000200f8,0x000006b1,0x000200f9,0x000006d3, 8990x00000181,0x000000ea,0x00050051,0x00000006,
7100x000200f8,0x000006b3,0x00050041,0x000001ea, 9000x00000182,0x00000180,0x00000000,0x00050051,
7110x000006b4,0x00000079,0x000001e9,0x0004003d, 9010x00000006,0x00000183,0x00000180,0x00000001,
7120x00000006,0x000006b5,0x000006b4,0x00050088, 9020x00050051,0x00000006,0x00000184,0x00000180,
7130x00000006,0x000006b8,0x000006b5,0x00000688, 9030x00000002,0x00070050,0x00000023,0x00000185,
7140x0007000c,0x00000006,0x000006b9,0x00000001, 9040x00000182,0x00000183,0x00000184,0x00000181,
7150x00000028,0x000006b8,0x0000004a,0x00050083, 9050x0004003d,0x00000045,0x00000186,0x000000fa,
7160x00000006,0x000006ba,0x000006b9,0x000001e0, 9060x000300f7,0x00000189,0x00000000,0x000400fa,
7170x00050083,0x00000006,0x000006be,0x000006ae, 9070x00000186,0x00000188,0x0000018d,0x000200f8,
7180x000001e0,0x00050085,0x00000006,0x000006c0, 9080x00000188,0x0004003d,0x00000007,0x0000018b,
7190x000006be,0x00000ba9,0x00050085,0x00000006, 9090x0000016c,0x0003003e,0x0000018a,0x0000018b,
7200x00000bab,0x000006ba,0x000006ba,0x00050088, 9100x00050039,0x00000007,0x0000018c,0x00000017,
7210x00000006,0x00000bae,0x000006be,0x00000bab, 9110x0000018a,0x0003003e,0x00000187,0x0000018c,
7220x00050085,0x00000006,0x000006c9,0x00000bad, 9120x000200f9,0x00000189,0x000200f8,0x0000018d,
7230x00000bae,0x00050081,0x00000006,0x000006ca, 9130x0004003d,0x00000007,0x0000018f,0x0000016c,
7240x0000004a,0x000006c9,0x00050085,0x00000006, 9140x0003003e,0x0000018e,0x0000018f,0x00050039,
7250x000006cb,0x000006be,0x000006ca,0x00050081, 9150x00000007,0x00000190,0x00000011,0x0000018e,
7260x00000006,0x000006cd,0x0000004a,0x000006c0, 9160x0003003e,0x00000187,0x00000190,0x000200f9,
7270x00050088,0x00000006,0x000006ce,0x000006cb, 9170x00000189,0x000200f8,0x00000189,0x0004003d,
7280x000006cd,0x00050081,0x00000006,0x000006cf, 9180x00000007,0x00000191,0x00000187,0x00050050,
7290x000001e0,0x000006ce,0x00050088,0x00000006, 9190x00000024,0x00000192,0x00000185,0x00000191,
7300x000006d1,0x000006cf,0x000006ae,0x0005008e, 9200x000200fe,0x00000192,0x000200f8,0x0000015c,
7310x00000007,0x000006d2,0x0000068c,0x000006d1, 9210x0004003d,0x00000045,0x00000195,0x000000fa,
7320x000200f9,0x000006d3,0x000200f8,0x000006d3, 9220x000300f7,0x00000198,0x00000000,0x000400fa,
7330x000700f5,0x00000007,0x00000b3f,0x0000068c, 9230x00000195,0x00000197,0x0000019c,0x000200f8,
7340x000006b1,0x000006d2,0x000006b3,0x0005008e, 9240x00000197,0x0004003d,0x00000007,0x0000019a,
7350x00000007,0x0000068f,0x00000b3f,0x0000004a, 9250x0000014d,0x0003003e,0x00000199,0x0000019a,
7360x000200f9,0x00000690,0x000200f8,0x00000690, 9260x00050039,0x00000007,0x0000019b,0x00000017,
7370x000900f5,0x00000007,0x00000b40,0x0000029b, 9270x00000199,0x0003003e,0x00000196,0x0000019b,
7380x00000672,0x0000067c,0x00000677,0x0000068f, 9280x000200f9,0x00000198,0x000200f8,0x0000019c,
7390x000006d3,0x000200f9,0x00000283,0x000200f8, 9290x0004003d,0x00000007,0x0000019e,0x0000014d,
7400x00000283,0x000700f5,0x00000007,0x00000b70, 9300x0003003e,0x0000019d,0x0000019e,0x00050039,
7410x00000113,0x0000027a,0x00000b40,0x00000690, 9310x00000007,0x0000019f,0x00000011,0x0000019d,
7420x00050041,0x0000007b,0x000002a0,0x00000079, 9320x0003003e,0x00000196,0x0000019f,0x000200f9,
7430x0000029f,0x0004003d,0x00000021,0x000002a1, 9330x00000198,0x000200f8,0x00000198,0x0004003d,
7440x000002a0,0x000500ac,0x0000003d,0x000002a2, 9340x00000007,0x000001a0,0x00000196,0x0003003e,
7450x000002a1,0x0000007e,0x000300f7,0x000002a4, 9350x00000194,0x000001a0,0x0004003d,0x00000007,
7460x00000000,0x000400fa,0x000002a2,0x000002a3, 9360x000001a1,0x00000194,0x0004003d,0x00000006,
7470x000002a4,0x000200f8,0x000002a3,0x00050041, 9370x000001a2,0x000000ea,0x0005008e,0x00000007,
7480x00000272,0x000002a7,0x00000079,0x000002a6, 9380x000001a3,0x000001a1,0x000001a2,0x0004003d,
7490x0004003d,0x00000023,0x000002a8,0x000002a7, 9390x00000006,0x000001a4,0x000000ea,0x00050051,
7500x0007004f,0x0000012f,0x000002a9,0x000002a8, 9400x00000006,0x000001a5,0x000001a3,0x00000000,
7510x000002a8,0x00000000,0x00000001,0x000500be, 9410x00050051,0x00000006,0x000001a6,0x000001a3,
7520x00000276,0x000002aa,0x0000026f,0x000002a9, 9420x00000001,0x00050051,0x00000006,0x000001a7,
7530x0004009b,0x0000003d,0x000002ab,0x000002aa, 9430x000001a3,0x00000002,0x00070050,0x00000023,
7540x000200f9,0x000002a4,0x000200f8,0x000002a4, 9440x000001a8,0x000001a5,0x000001a6,0x000001a7,
7550x000700f5,0x0000003d,0x000002ac,0x000002a2, 9450x000001a4,0x00050050,0x00000024,0x000001a9,
7560x00000283,0x000002ab,0x000002a3,0x000300f7, 9460x000001a8,0x0000012f,0x000200fe,0x000001a9,
7570x000002ae,0x00000000,0x000400fa,0x000002ac, 9470x00010038,0x00050036,0x00000024,0x00000031,
7580x000002ad,0x000002ae,0x000200f8,0x000002ad, 9480x00000000,0x0000002d,0x00030037,0x0000002b,
7590x00050041,0x00000272,0x000002b0,0x00000079, 9490x0000002e,0x00030037,0x0000002b,0x0000002f,
7600x000002a6,0x0004003d,0x00000023,0x000002b1, 9500x00030037,0x0000002c,0x00000030,0x000200f8,
7610x000002b0,0x0007004f,0x0000012f,0x000002b2, 9510x00000032,0x00050041,0x00000033,0x000001ac,
7620x000002b1,0x000002b1,0x00000002,0x00000003, 9520x0000002e,0x000000e2,0x0004003d,0x00000023,
7630x000500b8,0x00000276,0x000002b3,0x0000026f, 9530x000001ad,0x000001ac,0x00050041,0x00000033,
7640x000002b2,0x0004009b,0x0000003d,0x000002b4, 9540x000001ae,0x0000002f,0x000000e2,0x0004003d,
7650x000002b3,0x000200f9,0x000002ae,0x000200f8, 9550x00000023,0x000001af,0x000001ae,0x0004003d,
7660x000002ae,0x000700f5,0x0000003d,0x000002b5, 9560x00000006,0x000001b0,0x00000030,0x00070050,
7670x000002ac,0x000002a4,0x000002b4,0x000002ad, 9570x00000023,0x000001b1,0x000001b0,0x000001b0,
7680x000300f7,0x000002b7,0x00000000,0x000400fa, 9580x000001b0,0x000001b0,0x0008000c,0x00000023,
7690x000002b5,0x000002b6,0x000002b7,0x000200f8, 9590x000001b2,0x00000001,0x0000002e,0x000001ad,
7700x000002b6,0x00050041,0x00000272,0x000002bd, 9600x000001af,0x000001b1,0x00050041,0x00000008,
7710x00000079,0x000002a6,0x0004003d,0x00000023, 9610x000001b4,0x0000002e,0x000001b3,0x0004003d,
7720x000002be,0x000002bd,0x00050041,0x00000272, 9620x00000007,0x000001b5,0x000001b4,0x00050041,
7730x000002c0,0x00000079,0x000002ba,0x0004003d, 9630x00000008,0x000001b6,0x0000002f,0x000001b3,
7740x00000023,0x000002c1,0x000002c0,0x00050041, 9640x0004003d,0x00000007,0x000001b7,0x000001b6,
7750x0000007b,0x000002c3,0x00000079,0x000002bb, 9650x0004003d,0x00000006,0x000001b8,0x00000030,
7760x0004003d,0x00000021,0x000002c4,0x000002c3, 9660x00060050,0x00000007,0x000001b9,0x000001b8,
7770x000300f7,0x00000752,0x00000000,0x000300fb, 9670x000001b8,0x000001b8,0x0008000c,0x00000007,
7780x000000e1,0x000006ec,0x000200f8,0x000006ec, 9680x000001ba,0x00000001,0x0000002e,0x000001b5,
7790x0007004f,0x0000012f,0x000006f2,0x000002be, 9690x000001b7,0x000001b9,0x00050050,0x00000024,
7800x000002be,0x00000000,0x00000001,0x00050083, 9700x000001bb,0x000001b2,0x000001ba,0x000200fe,
7810x0000012f,0x000006f3,0x0000026f,0x000006f2, 9710x000001bb,0x00010038,0x00050036,0x00000024,
7820x0007004f,0x0000012f,0x000006f5,0x000002be, 9720x0000003a,0x00000000,0x00000034,0x00030037,
7830x000002be,0x00000002,0x00000003,0x00050083, 9730x0000001d,0x00000035,0x00030037,0x00000033,
7840x0000012f,0x000006f8,0x000006f5,0x000006f2, 9740x00000036,0x00030037,0x00000033,0x00000037,
7850x00050088,0x0000012f,0x000006f9,0x000006f3, 9750x00030037,0x00000022,0x00000038,0x00030037,
7860x000006f8,0x0007004f,0x0000012f,0x000006fb, 9760x00000020,0x00000039,0x000200f8,0x0000003b,
7870x000002c1,0x000002c1,0x00000000,0x00000001, 9770x0004003b,0x000001bf,0x000001c0,0x00000007,
7880x0007004f,0x0000012f,0x000006fe,0x000002c1, 9780x0004003b,0x000001bf,0x000001cf,0x00000007,
7890x000002c1,0x00000002,0x00000003,0x00050083, 9790x0004003b,0x000001bf,0x000001da,0x00000007,
7900x0000012f,0x00000701,0x000006fe,0x000006fb, 9800x0004003b,0x000001bf,0x000001dd,0x00000007,
7910x00050085,0x0000012f,0x00000702,0x000006f9, 9810x0004003b,0x00000020,0x000001ed,0x00000007,
7920x00000701,0x00050081,0x0000012f,0x00000703, 9820x0004003b,0x00000022,0x000001ee,0x00000007,
7930x000006fb,0x00000702,0x00050083,0x0000012f, 9830x0004003b,0x000001bf,0x000001f2,0x00000007,
7940x00000709,0x000006fe,0x00000b95,0x000500c7, 9840x0004003b,0x000001bf,0x000001f9,0x00000007,
7950x00000021,0x0000070b,0x000002c4,0x0000007e, 9850x0004003b,0x000001bf,0x000001fc,0x00000007,
7960x000500ab,0x0000003d,0x0000070c,0x0000070b, 9860x0004003b,0x00000020,0x00000200,0x00000007,
7970x000000e1,0x000300f7,0x00000716,0x00000000, 9870x0004003b,0x00000020,0x00000203,0x00000007,
7980x000400fa,0x0000070c,0x0000070d,0x00000716, 9880x0004003b,0x00000020,0x00000210,0x00000007,
7990x000200f8,0x0000070d,0x0006000c,0x0000012f, 9890x0004003b,0x00000022,0x00000211,0x00000007,
8000x0000070f,0x00000001,0x00000008,0x00000703, 9900x0004003b,0x00000020,0x00000219,0x00000007,
8010x0008000c,0x0000012f,0x00000712,0x00000001, 9910x0004003b,0x00000022,0x0000021a,0x00000007,
8020x0000002b,0x0000070f,0x000006fb,0x00000709, 9920x0004003b,0x0000002b,0x0000021d,0x00000007,
8030x0004006e,0x0000001f,0x00000713,0x00000712, 9930x0004003b,0x0000002b,0x0000021e,0x00000007,
8040x0004003d,0x0000001c,0x00000762,0x000002b9, 9940x0004003b,0x0000002c,0x0000021f,0x00000007,
8050x0007005f,0x00000023,0x00000764,0x00000762, 9950x0004003b,0x00000020,0x00000228,0x00000007,
8060x00000713,0x00000002,0x000000db,0x000500c7, 9960x0004003b,0x00000022,0x00000229,0x00000007,
8070x00000021,0x00000766,0x000002c4,0x000000df, 9970x0004003b,0x00000020,0x00000231,0x00000007,
8080x000500ab,0x0000003d,0x00000767,0x00000766, 9980x0004003b,0x00000022,0x00000232,0x00000007,
8090x000000e1,0x000300f7,0x0000076e,0x00000000, 9990x0004003b,0x0000002b,0x00000235,0x00000007,
8100x000400fa,0x00000767,0x00000769,0x0000076a, 10000x0004003b,0x0000002b,0x00000236,0x00000007,
8110x000200f8,0x0000076a,0x00050051,0x00000006, 10010x0004003b,0x0000002c,0x00000237,0x00000007,
8120x0000076c,0x00000764,0x00000003,0x0008000c, 10020x0004003b,0x0000002b,0x0000023b,0x00000007,
8130x00000006,0x0000076d,0x00000001,0x0000002b, 10030x0004003b,0x0000002b,0x0000023c,0x00000007,
8140x0000076c,0x00000049,0x0000004a,0x000200f9, 10040x0004003b,0x0000002c,0x0000023d,0x00000007,
8150x0000076e,0x000200f8,0x00000769,0x000200f9, 10050x0004003d,0x0000001f,0x000001c1,0x00000039,
8160x0000076e,0x000200f8,0x0000076e,0x000700f5, 10060x0004006f,0x000001be,0x000001c2,0x000001c1,
8170x00000006,0x00000b5d,0x0000004a,0x00000769, 10070x00050050,0x000001be,0x000001c4,0x000001c3,
8180x0000076d,0x0000076a,0x000500c7,0x00000021, 10080x000001c3,0x00050081,0x000001be,0x000001c5,
8190x00000771,0x000002c4,0x000000f0,0x000500ab, 10090x000001c2,0x000001c4,0x0004003d,0x00000023,
8200x0000003d,0x00000772,0x00000771,0x000000e1, 10100x000001c6,0x00000036,0x0007004f,0x000001be,
8210x000300f7,0x0000077a,0x00000000,0x000400fa, 10110x000001c7,0x000001c6,0x000001c6,0x00000000,
8220x00000772,0x00000773,0x00000777,0x000200f8, 10120x00000001,0x00050083,0x000001be,0x000001c8,
8230x00000777,0x0008004f,0x00000007,0x00000779, 10130x000001c5,0x000001c7,0x0004003d,0x00000023,
8240x00000764,0x00000764,0x00000000,0x00000001, 10140x000001c9,0x00000036,0x0007004f,0x000001be,
8250x00000002,0x000200f9,0x0000077a,0x000200f8, 10150x000001ca,0x000001c9,0x000001c9,0x00000002,
8260x00000773,0x0008004f,0x00000007,0x00000775, 10160x00000003,0x0004003d,0x00000023,0x000001cb,
8270x00000764,0x00000764,0x00000000,0x00000001, 10170x00000036,0x0007004f,0x000001be,0x000001cc,
8280x00000002,0x0008000c,0x00000007,0x000007a8, 10180x000001cb,0x000001cb,0x00000000,0x00000001,
8290x00000001,0x0000002b,0x00000775,0x00000113, 10190x00050083,0x000001be,0x000001cd,0x000001ca,
8300x00000b97,0x0005008e,0x00000007,0x000007aa, 10200x000001cc,0x00050088,0x000001be,0x000001ce,
8310x000007a8,0x0000004f,0x0007000c,0x00000007, 10210x000001c8,0x000001cd,0x0003003e,0x000001c0,
8320x000007ac,0x00000001,0x0000001a,0x000007a8, 10220x000001ce,0x0004003d,0x00000023,0x000001d0,
8330x00000054,0x0005008e,0x00000007,0x000007ad, 10230x00000037,0x0007004f,0x000001be,0x000001d1,
8340x000007ac,0x00000051,0x00050083,0x00000007, 10240x000001d0,0x000001d0,0x00000000,0x00000001,
8350x000007af,0x000007ad,0x00000b9b,0x000500ba, 10250x0004003d,0x000001be,0x000001d2,0x000001c0,
8360x0000005d,0x000007b1,0x000007a8,0x0000005c, 10260x0004003d,0x00000023,0x000001d3,0x00000037,
8370x000600a9,0x00000007,0x000007b2,0x000007b1, 10270x0007004f,0x000001be,0x000001d4,0x000001d3,
8380x000007af,0x000007aa,0x000200f9,0x0000077a, 10280x000001d3,0x00000002,0x00000003,0x0004003d,
8390x000200f8,0x0000077a,0x000700f5,0x00000007, 10290x00000023,0x000001d5,0x00000037,0x0007004f,
8400x00000b5e,0x000007b2,0x00000773,0x00000779, 10300x000001be,0x000001d6,0x000001d5,0x000001d5,
8410x00000777,0x000400a8,0x0000003d,0x0000077d, 10310x00000000,0x00000001,0x00050083,0x000001be,
8420x00000767,0x000300f7,0x00000782,0x00000000, 10320x000001d7,0x000001d4,0x000001d6,0x00050085,
8430x000400fa,0x0000077d,0x0000077e,0x00000782, 10330x000001be,0x000001d8,0x000001d2,0x000001d7,
8440x000200f8,0x0000077e,0x000500c7,0x00000021, 10340x00050081,0x000001be,0x000001d9,0x000001d1,
8450x00000780,0x000002c4,0x00000103,0x000500aa, 10350x000001d8,0x0003003e,0x000001cf,0x000001d9,
8460x0000003d,0x00000781,0x00000780,0x000000e1, 10360x0004003d,0x00000023,0x000001db,0x00000037,
8470x000200f9,0x00000782,0x000200f8,0x00000782, 10370x0007004f,0x000001be,0x000001dc,0x000001db,
8480x000700f5,0x0000003d,0x00000783,0x0000077d, 10380x000001db,0x00000000,0x00000001,0x0003003e,
8490x0000077a,0x00000781,0x0000077e,0x000300f7, 10390x000001da,0x000001dc,0x0004003d,0x00000023,
8500x0000078f,0x00000000,0x000400fa,0x00000783, 10400x000001de,0x00000037,0x0007004f,0x000001be,
8510x00000784,0x0000078f,0x000200f8,0x00000784, 10410x000001df,0x000001de,0x000001de,0x00000002,
8520x000500ba,0x0000003d,0x00000786,0x00000b5d, 10420x00000003,0x00050050,0x000001be,0x000001e0,
8530x00000049,0x000300f7,0x0000078d,0x00000000, 10430x00000051,0x00000051,0x00050083,0x000001be,
8540x000400fa,0x00000786,0x00000787,0x0000078c, 10440x000001e1,0x000001df,0x000001e0,0x0003003e,
8550x000200f8,0x0000078c,0x000200f9,0x0000078d, 10450x000001dd,0x000001e1,0x0004003d,0x00000021,
8560x000200f8,0x00000787,0x00060050,0x00000007, 10460x000001e2,0x00000038,0x000500c7,0x00000021,
8570x0000078a,0x00000b5d,0x00000b5d,0x00000b5d, 10470x000001e3,0x000001e2,0x00000085,0x000500ab,
8580x00050088,0x00000007,0x0000078b,0x00000b5e, 10480x00000045,0x000001e4,0x000001e3,0x000000e8,
8590x0000078a,0x000200f9,0x0000078d,0x000200f8, 10490x000300f7,0x000001e6,0x00000000,0x000400fa,
8600x0000078d,0x000700f5,0x00000007,0x00000b60, 10500x000001e4,0x000001e5,0x000001e6,0x000200f8,
8610x0000078b,0x00000787,0x00000113,0x0000078c, 10510x000001e5,0x0004003d,0x000001be,0x000001e7,
8620x000200f9,0x0000078f,0x000200f8,0x0000078f, 10520x000001cf,0x0006000c,0x000001be,0x000001e8,
8630x000700f5,0x00000007,0x00000b61,0x00000b5e, 10530x00000001,0x00000008,0x000001e7,0x0004003d,
8640x00000782,0x00000b60,0x0000078d,0x000500c7, 10540x000001be,0x000001e9,0x000001da,0x0004003d,
8650x00000021,0x00000791,0x000002c4,0x00000117, 10550x000001be,0x000001ea,0x000001dd,0x0008000c,
8660x000500ab,0x0000003d,0x00000792,0x00000791, 10560x000001be,0x000001eb,0x00000001,0x0000002b,
8670x000000e1,0x000300f7,0x00000799,0x00000000, 10570x000001e8,0x000001e9,0x000001ea,0x0004006e,
8680x000400fa,0x00000792,0x00000793,0x00000796, 10580x0000001f,0x000001ec,0x000001eb,0x0003003e,
8690x000200f8,0x00000796,0x00050041,0x0000007b, 10590x000001ed,0x000001ec,0x0004003d,0x00000021,
8700x000007cb,0x00000079,0x0000007a,0x0004003d, 10600x000001ef,0x00000038,0x0003003e,0x000001ee,
8710x00000021,0x000007cc,0x000007cb,0x000500aa, 10610x000001ef,0x00070039,0x00000024,0x000001f0,
8720x0000003d,0x000007cd,0x000007cc,0x0000007e, 10620x00000029,0x00000035,0x000001ed,0x000001ee,
8730x000300f7,0x000007d6,0x00000000,0x000400fa, 10630x000200fe,0x000001f0,0x000200f8,0x000001e6,
8740x000007cd,0x000007ce,0x000007d3,0x000200f8, 10640x0004003d,0x000001be,0x000001f3,0x000001cf,
8750x000007d3,0x0007000c,0x00000007,0x000007dc, 10650x00050050,0x000001be,0x000001f4,0x000001c3,
8760x00000001,0x00000028,0x00000b61,0x00000113, 10660x000001c3,0x00050083,0x000001be,0x000001f5,
8770x00050085,0x00000007,0x000007df,0x000007dc, 10670x000001f3,0x000001f4,0x0004003d,0x000001be,
8780x00000ba6,0x00050081,0x00000007,0x000007e2, 10680x000001f6,0x000001da,0x0004003d,0x000001be,
8790x000007dc,0x00000b9b,0x00050085,0x00000007, 10690x000001f7,0x000001dd,0x0008000c,0x000001be,
8800x000007e4,0x000007e2,0x00000ba8,0x0007000c, 10700x000001f8,0x00000001,0x0000002b,0x000001f5,
8810x00000007,0x000007e5,0x00000001,0x0000001a, 10710x000001f6,0x000001f7,0x0003003e,0x000001f2,
8820x000007e4,0x0000006e,0x000500ba,0x0000005d, 10720x000001f8,0x0004003d,0x000001be,0x000001fa,
8830x000007e7,0x000007dc,0x00000072,0x000600a9, 10730x000001f2,0x0006000c,0x000001be,0x000001fb,
8840x00000007,0x000007e8,0x000007e7,0x000007e5, 10740x00000001,0x00000008,0x000001fa,0x0003003e,
8850x000007df,0x000200f9,0x000007d6,0x000200f8, 10750x000001f9,0x000001fb,0x0004003d,0x000001be,
8860x000007ce,0x0007000c,0x00000007,0x000007d1, 10760x000001fd,0x000001f2,0x0004003d,0x000001be,
8870x00000001,0x00000028,0x00000b61,0x00000113, 10770x000001fe,0x000001f9,0x00050083,0x000001be,
8880x0007000c,0x00000007,0x000007d2,0x00000001, 10780x000001ff,0x000001fd,0x000001fe,0x0003003e,
8890x0000001a,0x000007d1,0x00000087,0x000200f9, 10790x000001fc,0x000001ff,0x0004003d,0x000001be,
8900x000007d6,0x000200f8,0x000007d6,0x000700f5, 10800x00000201,0x000001f9,0x0004006e,0x0000001f,
8910x00000007,0x00000b62,0x000007d2,0x000007ce, 10810x00000202,0x00000201,0x0003003e,0x00000200,
8920x000007e8,0x000007d3,0x000200f9,0x00000799, 10820x00000202,0x0004003d,0x000001be,0x00000204,
8930x000200f8,0x00000793,0x0008000c,0x00000007, 10830x000001f9,0x00050050,0x000001be,0x00000205,
8940x000007b9,0x00000001,0x0000002b,0x00000b61, 10840x00000051,0x00000051,0x00050081,0x000001be,
8950x00000113,0x00000b97,0x0007000c,0x00000007, 10850x00000206,0x00000204,0x00000205,0x0004003d,
8960x000007ba,0x00000001,0x0000001a,0x000007b9, 10860x000001be,0x00000207,0x000001dd,0x0007000c,
8970x000000aa,0x00050083,0x00000007,0x000007bd, 10870x000001be,0x00000208,0x00000001,0x00000025,
8980x000007ba,0x00000b98,0x0007000c,0x00000007, 10880x00000206,0x00000207,0x0004006e,0x0000001f,
8990x000007bf,0x00000001,0x00000028,0x000007bd, 10890x00000209,0x00000208,0x0003003e,0x00000203,
9000x00000113,0x0005008e,0x00000007,0x000007c1, 10900x00000209,0x00050041,0x0000020a,0x0000020b,
9010x000007ba,0x000000b4,0x00050083,0x00000007, 10910x00000200,0x000000e8,0x0004003d,0x0000001e,
9020x000007c3,0x00000ba1,0x000007c1,0x00050088, 10920x0000020c,0x0000020b,0x00050041,0x0000020a,
9030x00000007,0x000007c4,0x000007bf,0x000007c3, 10930x0000020d,0x00000200,0x00000085,0x0004003d,
9040x0007000c,0x00000007,0x000007c5,0x00000001, 10940x0000001e,0x0000020e,0x0000020d,0x00050050,
9050x0000001a,0x000007c4,0x000000bb,0x0005008e, 10950x0000001f,0x0000020f,0x0000020c,0x0000020e,
9060x00000007,0x000007c6,0x000007c5,0x000000ac, 10960x0003003e,0x00000210,0x0000020f,0x0004003d,
9070x000200f9,0x00000799,0x000200f8,0x00000799, 10970x00000021,0x00000212,0x00000038,0x0003003e,
9080x000700f5,0x00000007,0x00000b63,0x000007c6, 10980x00000211,0x00000212,0x00070039,0x00000024,
9090x00000793,0x00000b62,0x000007d6,0x0005008e, 10990x00000213,0x00000029,0x00000035,0x00000210,
9100x00000007,0x0000079d,0x00000b63,0x00000b5d, 11000x00000211,0x00050041,0x0000020a,0x00000214,
9110x00050051,0x00000006,0x0000079f,0x0000079d, 11010x00000203,0x000000e8,0x0004003d,0x0000001e,
9120x00000000,0x00050051,0x00000006,0x000007a0, 11020x00000215,0x00000214,0x00050041,0x0000020a,
9130x0000079d,0x00000001,0x00050051,0x00000006, 11030x00000216,0x00000200,0x00000085,0x0004003d,
9140x000007a1,0x0000079d,0x00000002,0x00070050, 11040x0000001e,0x00000217,0x00000216,0x00050050,
9150x00000023,0x000007a2,0x0000079f,0x000007a0, 11050x0000001f,0x00000218,0x00000215,0x00000217,
9160x000007a1,0x00000b5d,0x000200f9,0x00000752, 11060x0003003e,0x00000219,0x00000218,0x0004003d,
9170x000200f8,0x00000716,0x00050083,0x0000012f, 11070x00000021,0x0000021b,0x00000038,0x0003003e,
9180x00000719,0x00000703,0x00000b94,0x0008000c, 11080x0000021a,0x0000021b,0x00070039,0x00000024,
9190x0000012f,0x0000071c,0x00000001,0x0000002b, 11090x0000021c,0x00000029,0x00000035,0x00000219,
9200x00000719,0x000006fb,0x00000709,0x0006000c, 11100x0000021a,0x0003003e,0x0000021d,0x00000213,
9210x0000012f,0x0000071e,0x00000001,0x00000008, 11110x0003003e,0x0000021e,0x0000021c,0x00050041,
9220x0000071c,0x00050083,0x0000012f,0x00000721, 11120x0000002c,0x00000220,0x000001fc,0x000000e8,
9230x0000071c,0x0000071e,0x0004006e,0x0000001f, 11130x0004003d,0x00000006,0x00000221,0x00000220,
9240x00000723,0x0000071e,0x00050081,0x0000012f, 11140x0003003e,0x0000021f,0x00000221,0x00070039,
9250x00000726,0x0000071e,0x00000b95,0x0007000c, 11150x00000024,0x00000222,0x00000031,0x0000021d,
9260x0000012f,0x00000728,0x00000001,0x00000025, 11160x0000021e,0x0000021f,0x00050041,0x0000020a,
9270x00000726,0x00000709,0x0004006e,0x0000001f, 11170x00000223,0x00000200,0x000000e8,0x0004003d,
9280x00000729,0x00000728,0x00050051,0x0000001e, 11180x0000001e,0x00000224,0x00000223,0x00050041,
9290x0000072b,0x00000723,0x00000000,0x00050051, 11190x0000020a,0x00000225,0x00000203,0x00000085,
9300x0000001e,0x0000072d,0x00000723,0x00000001, 11200x0004003d,0x0000001e,0x00000226,0x00000225,
9310x0004003d,0x0000001c,0x000007f7,0x000002b9, 11210x00050050,0x0000001f,0x00000227,0x00000224,
9320x0007005f,0x00000023,0x000007f9,0x000007f7, 11220x00000226,0x0003003e,0x00000228,0x00000227,
9330x00000723,0x00000002,0x000000db,0x000500c7, 11230x0004003d,0x00000021,0x0000022a,0x00000038,
9340x00000021,0x000007fb,0x000002c4,0x000000df, 11240x0003003e,0x00000229,0x0000022a,0x00070039,
9350x000500ab,0x0000003d,0x000007fc,0x000007fb, 11250x00000024,0x0000022b,0x00000029,0x00000035,
9360x000000e1,0x000300f7,0x00000803,0x00000000, 11260x00000228,0x00000229,0x00050041,0x0000020a,
9370x000400fa,0x000007fc,0x000007fe,0x000007ff, 11270x0000022c,0x00000203,0x000000e8,0x0004003d,
9380x000200f8,0x000007ff,0x00050051,0x00000006, 11280x0000001e,0x0000022d,0x0000022c,0x00050041,
9390x00000801,0x000007f9,0x00000003,0x0008000c, 11290x0000020a,0x0000022e,0x00000203,0x00000085,
9400x00000006,0x00000802,0x00000001,0x0000002b, 11300x0004003d,0x0000001e,0x0000022f,0x0000022e,
9410x00000801,0x00000049,0x0000004a,0x000200f9, 11310x00050050,0x0000001f,0x00000230,0x0000022d,
9420x00000803,0x000200f8,0x000007fe,0x000200f9, 11320x0000022f,0x0003003e,0x00000231,0x00000230,
9430x00000803,0x000200f8,0x00000803,0x000700f5, 11330x0004003d,0x00000021,0x00000233,0x00000038,
9440x00000006,0x00000b41,0x0000004a,0x000007fe, 11340x0003003e,0x00000232,0x00000233,0x00070039,
9450x00000802,0x000007ff,0x000500c7,0x00000021, 11350x00000024,0x00000234,0x00000029,0x00000035,
9460x00000806,0x000002c4,0x000000f0,0x000500ab, 11360x00000231,0x00000232,0x0003003e,0x00000235,
9470x0000003d,0x00000807,0x00000806,0x000000e1, 11370x0000022b,0x0003003e,0x00000236,0x00000234,
9480x000300f7,0x0000080f,0x00000000,0x000400fa, 11380x00050041,0x0000002c,0x00000238,0x000001fc,
9490x00000807,0x00000808,0x0000080c,0x000200f8, 11390x000000e8,0x0004003d,0x00000006,0x00000239,
9500x0000080c,0x0008004f,0x00000007,0x0000080e, 11400x00000238,0x0003003e,0x00000237,0x00000239,
9510x000007f9,0x000007f9,0x00000000,0x00000001, 11410x00070039,0x00000024,0x0000023a,0x00000031,
9520x00000002,0x000200f9,0x0000080f,0x000200f8, 11420x00000235,0x00000236,0x00000237,0x0003003e,
9530x00000808,0x0008004f,0x00000007,0x0000080a, 11430x0000023b,0x00000222,0x0003003e,0x0000023c,
9540x000007f9,0x000007f9,0x00000000,0x00000001, 11440x0000023a,0x00050041,0x0000002c,0x0000023e,
9550x00000002,0x0008000c,0x00000007,0x0000083d, 11450x000001fc,0x00000085,0x0004003d,0x00000006,
9560x00000001,0x0000002b,0x0000080a,0x00000113, 11460x0000023f,0x0000023e,0x0003003e,0x0000023d,
9570x00000b97,0x0005008e,0x00000007,0x0000083f, 11470x0000023f,0x00070039,0x00000024,0x00000240,
9580x0000083d,0x0000004f,0x0007000c,0x00000007, 11480x00000031,0x0000023b,0x0000023c,0x0000023d,
9590x00000841,0x00000001,0x0000001a,0x0000083d, 11490x000200fe,0x00000240,0x00010038,0x00050036,
9600x00000054,0x0005008e,0x00000007,0x00000842, 11500x00000007,0x0000003d,0x00000000,0x00000009,
9610x00000841,0x00000051,0x00050083,0x00000007, 11510x00030037,0x00000008,0x0000003c,0x000200f8,
9620x00000844,0x00000842,0x00000b9b,0x000500ba, 11520x0000003e,0x0004003d,0x00000007,0x00000247,
9630x0000005d,0x00000846,0x0000083d,0x0000005c, 11530x0000003c,0x00050094,0x00000006,0x00000248,
9640x000600a9,0x00000007,0x00000847,0x00000846, 11540x00000246,0x00000247,0x0004003d,0x00000007,
9650x00000844,0x0000083f,0x000200f9,0x0000080f, 11550x0000024d,0x0000003c,0x00050094,0x00000006,
9660x000200f8,0x0000080f,0x000700f5,0x00000007, 11560x0000024e,0x0000024c,0x0000024d,0x0004003d,
9670x00000b42,0x00000847,0x00000808,0x0000080e, 11570x00000007,0x00000253,0x0000003c,0x00050094,
9680x0000080c,0x000400a8,0x0000003d,0x00000812, 11580x00000006,0x00000254,0x00000252,0x00000253,
9690x000007fc,0x000300f7,0x00000817,0x00000000, 11590x00060050,0x00000007,0x00000255,0x00000248,
9700x000400fa,0x00000812,0x00000813,0x00000817, 11600x0000024e,0x00000254,0x000200fe,0x00000255,
9710x000200f8,0x00000813,0x000500c7,0x00000021, 11610x00010038,0x00050036,0x00000007,0x00000040,
9720x00000815,0x000002c4,0x00000103,0x000500aa, 11620x00000000,0x00000009,0x00030037,0x00000008,
9730x0000003d,0x00000816,0x00000815,0x000000e1, 11630x0000003f,0x000200f8,0x00000041,0x0004003d,
9740x000200f9,0x00000817,0x000200f8,0x00000817, 11640x00000007,0x0000025c,0x0000003f,0x00050094,
9750x000700f5,0x0000003d,0x00000818,0x00000812, 11650x00000006,0x0000025d,0x0000025b,0x0000025c,
9760x0000080f,0x00000816,0x00000813,0x000300f7, 11660x0004003d,0x00000007,0x00000262,0x0000003f,
9770x00000824,0x00000000,0x000400fa,0x00000818, 11670x00050094,0x00000006,0x00000263,0x00000261,
9780x00000819,0x00000824,0x000200f8,0x00000819, 11680x00000262,0x0004003d,0x00000007,0x00000268,
9790x000500ba,0x0000003d,0x0000081b,0x00000b41, 11690x0000003f,0x00050094,0x00000006,0x00000269,
9800x00000049,0x000300f7,0x00000822,0x00000000, 11700x00000267,0x00000268,0x00060050,0x00000007,
9810x000400fa,0x0000081b,0x0000081c,0x00000821, 11710x0000026a,0x0000025d,0x00000263,0x00000269,
9820x000200f8,0x00000821,0x000200f9,0x00000822, 11720x000200fe,0x0000026a,0x00010038,0x00050036,
9830x000200f8,0x0000081c,0x00060050,0x00000007, 11730x00000007,0x00000043,0x00000000,0x00000009,
9840x0000081f,0x00000b41,0x00000b41,0x00000b41, 11740x00030037,0x00000008,0x00000042,0x000200f8,
9850x00050088,0x00000007,0x00000820,0x00000b42, 11750x00000044,0x0004003b,0x0000002c,0x0000026d,
9860x0000081f,0x000200f9,0x00000822,0x000200f8, 11760x00000007,0x0004003b,0x0000002c,0x0000027b,
9870x00000822,0x000700f5,0x00000007,0x00000b44, 11770x00000007,0x0004003b,0x0000002c,0x0000027d,
9880x00000820,0x0000081c,0x00000113,0x00000821, 11780x00000007,0x0004003b,0x0000002c,0x0000028a,
9890x000200f9,0x00000824,0x000200f8,0x00000824, 11790x00000007,0x0004003d,0x00000007,0x0000026e,
9900x000700f5,0x00000007,0x00000b45,0x00000b42, 11800x00000042,0x00050094,0x00000006,0x00000273,
9910x00000817,0x00000b44,0x00000822,0x000500c7, 11810x0000026e,0x00000272,0x0003003e,0x0000026d,
9920x00000021,0x00000826,0x000002c4,0x00000117, 11820x00000273,0x0004003d,0x00000006,0x00000274,
9930x000500ab,0x0000003d,0x00000827,0x00000826, 11830x0000026d,0x000500bc,0x00000045,0x00000276,
9940x000000e1,0x000300f7,0x0000082e,0x00000000, 11840x00000274,0x00000275,0x000300f7,0x00000278,
9950x000400fa,0x00000827,0x00000828,0x0000082b, 11850x00000000,0x000400fa,0x00000276,0x00000277,
9960x000200f8,0x0000082b,0x00050041,0x0000007b, 11860x00000278,0x000200f8,0x00000277,0x0004003d,
9970x00000860,0x00000079,0x0000007a,0x0004003d, 11870x00000007,0x00000279,0x00000042,0x000200fe,
9980x00000021,0x00000861,0x00000860,0x000500aa, 11880x00000279,0x000200f8,0x00000278,0x0003003e,
9990x0000003d,0x00000862,0x00000861,0x0000007e, 11890x0000027b,0x0000027c,0x00050041,0x0000027f,
10000x000300f7,0x0000086b,0x00000000,0x000400fa, 11900x00000280,0x00000080,0x0000027e,0x0004003d,
10010x00000862,0x00000863,0x00000868,0x000200f8, 11910x00000006,0x00000281,0x00000280,0x00050041,
10020x00000868,0x0007000c,0x00000007,0x00000871, 11920x0000027f,0x00000283,0x00000080,0x00000282,
10030x00000001,0x00000028,0x00000b45,0x00000113, 11930x0004003d,0x00000006,0x00000284,0x00000283,
10040x00050085,0x00000007,0x00000874,0x00000871, 11940x00050088,0x00000006,0x00000285,0x00000281,
10050x00000ba6,0x00050081,0x00000007,0x00000877, 11950x00000284,0x0007000c,0x00000006,0x00000286,
10060x00000871,0x00000b9b,0x00050085,0x00000007, 11960x00000001,0x00000028,0x00000285,0x00000051,
10070x00000879,0x00000877,0x00000ba8,0x0007000c, 11970x00050083,0x00000006,0x00000287,0x00000286,
10080x00000007,0x0000087a,0x00000001,0x0000001a, 11980x00000275,0x0004003d,0x00000006,0x00000288,
10090x00000879,0x0000006e,0x000500ba,0x0000005d, 11990x0000027b,0x00050088,0x00000006,0x00000289,
10100x0000087c,0x00000871,0x00000072,0x000600a9, 12000x00000287,0x00000288,0x0003003e,0x0000027d,
10110x00000007,0x0000087d,0x0000087c,0x0000087a, 12010x00000289,0x0004003d,0x00000006,0x0000028b,
10120x00000874,0x000200f9,0x0000086b,0x000200f8, 12020x0000026d,0x00050083,0x00000006,0x0000028c,
10130x00000863,0x0007000c,0x00000007,0x00000866, 12030x0000028b,0x00000275,0x0004003d,0x00000006,
10140x00000001,0x00000028,0x00000b45,0x00000113, 12040x0000028d,0x0000027b,0x00050088,0x00000006,
10150x0007000c,0x00000007,0x00000867,0x00000001, 12050x0000028e,0x0000028c,0x0000028d,0x0003003e,
10160x0000001a,0x00000866,0x00000087,0x000200f9, 12060x0000028a,0x0000028e,0x0004003d,0x00000007,
10170x0000086b,0x000200f8,0x0000086b,0x000700f5, 12070x0000028f,0x00000042,0x0004003d,0x00000006,
10180x00000007,0x00000b46,0x00000867,0x00000863, 12080x00000290,0x0000027b,0x0004003d,0x00000006,
10190x0000087d,0x00000868,0x000200f9,0x0000082e, 12090x00000291,0x0000028a,0x00050085,0x00000006,
10200x000200f8,0x00000828,0x0008000c,0x00000007, 12100x00000292,0x00000290,0x00000291,0x0004003d,
10210x0000084e,0x00000001,0x0000002b,0x00000b45, 12110x00000006,0x00000293,0x0000028a,0x0004003d,
10220x00000113,0x00000b97,0x0007000c,0x00000007, 12120x00000006,0x00000294,0x0000027d,0x0004003d,
10230x0000084f,0x00000001,0x0000001a,0x0000084e, 12130x00000006,0x00000295,0x0000027d,0x00050085,
10240x000000aa,0x00050083,0x00000007,0x00000852, 12140x00000006,0x00000296,0x00000294,0x00000295,
10250x0000084f,0x00000b98,0x0007000c,0x00000007, 12150x00050088,0x00000006,0x00000297,0x00000293,
10260x00000854,0x00000001,0x00000028,0x00000852, 12160x00000296,0x00050081,0x00000006,0x00000298,
10270x00000113,0x0005008e,0x00000007,0x00000856, 12170x00000051,0x00000297,0x00050085,0x00000006,
10280x0000084f,0x000000b4,0x00050083,0x00000007, 12180x00000299,0x00000292,0x00000298,0x0004003d,
10290x00000858,0x00000ba1,0x00000856,0x00050088, 12190x00000006,0x0000029a,0x0000028a,0x00050081,
10300x00000007,0x00000859,0x00000854,0x00000858, 12200x00000006,0x0000029b,0x00000051,0x0000029a,
10310x0007000c,0x00000007,0x0000085a,0x00000001, 12210x00050088,0x00000006,0x0000029c,0x00000299,
10320x0000001a,0x00000859,0x000000bb,0x0005008e, 12220x0000029b,0x00050081,0x00000006,0x0000029d,
10330x00000007,0x0000085b,0x0000085a,0x000000ac, 12230x00000275,0x0000029c,0x0004003d,0x00000006,
10340x000200f9,0x0000082e,0x000200f8,0x0000082e, 12240x0000029e,0x0000026d,0x00050088,0x00000006,
10350x000700f5,0x00000007,0x00000b47,0x0000085b, 12250x0000029f,0x0000029d,0x0000029e,0x0005008e,
10360x00000828,0x00000b46,0x0000086b,0x0005008e, 12260x00000007,0x000002a0,0x0000028f,0x0000029f,
10370x00000007,0x00000832,0x00000b47,0x00000b41, 12270x000200fe,0x000002a0,0x00010038,0x00050036,
10380x00050051,0x00000006,0x00000834,0x00000832, 12280x00000007,0x0000004a,0x00000000,0x00000047,
10390x00000000,0x00050051,0x00000006,0x00000835, 12290x00030037,0x0000002b,0x00000048,0x00030037,
10400x00000832,0x00000001,0x00050051,0x00000006, 12300x00000046,0x00000049,0x000200f8,0x0000004b,
10410x00000836,0x00000832,0x00000002,0x00070050, 12310x0004003b,0x00000046,0x000002a3,0x00000007,
10420x00000023,0x00000837,0x00000834,0x00000835, 12320x0004003b,0x00000008,0x000002a8,0x00000007,
10430x00000836,0x00000b41,0x00050051,0x0000001e, 12330x0004003b,0x00000008,0x000002ba,0x00000007,
10440x00000732,0x00000729,0x00000000,0x00050050, 12340x0004003b,0x0000002c,0x000002c1,0x00000007,
10450x0000001f,0x00000735,0x00000732,0x0000072d, 12350x0004003b,0x00000008,0x000002c4,0x00000007,
10460x0004003d,0x0000001c,0x0000088c,0x000002b9, 12360x0004003b,0x00000008,0x000002c7,0x00000007,
10470x0007005f,0x00000023,0x0000088e,0x0000088c, 12370x0004003b,0x00000008,0x000002d0,0x00000007,
10480x00000735,0x00000002,0x000000db,0x000300f7, 12380x0004003b,0x00000008,0x000002d8,0x00000007,
10490x00000898,0x00000000,0x000400fa,0x000007fc, 12390x0004003b,0x00000008,0x000002de,0x00000007,
10500x00000893,0x00000894,0x000200f8,0x00000894, 12400x0004003b,0x00000008,0x000002df,0x00000007,
10510x00050051,0x00000006,0x00000896,0x0000088e, 12410x0004003b,0x00000008,0x000002e9,0x00000007,
10520x00000003,0x0008000c,0x00000006,0x00000897, 12420x00050041,0x00000082,0x000002a5,0x00000080,
10530x00000001,0x0000002b,0x00000896,0x00000049, 12430x000002a4,0x0004003d,0x00000021,0x000002a6,
10540x0000004a,0x000200f9,0x00000898,0x000200f8, 12440x000002a5,0x000500ab,0x00000045,0x000002a7,
10550x00000893,0x000200f9,0x00000898,0x000200f8, 12450x000002a6,0x000000e8,0x0003003e,0x000002a3,
10560x00000898,0x000700f5,0x00000006,0x00000b48, 12460x000002a7,0x00050041,0x00000033,0x000002a9,
10570x0000004a,0x00000893,0x00000897,0x00000894, 12470x00000048,0x000000e2,0x0004003d,0x00000023,
10580x000300f7,0x000008a4,0x00000000,0x000400fa, 12480x000002aa,0x000002a9,0x0008004f,0x00000007,
10590x00000807,0x0000089d,0x000008a1,0x000200f8, 12490x000002ab,0x000002aa,0x000002aa,0x00000000,
10600x000008a1,0x0008004f,0x00000007,0x000008a3, 12500x00000001,0x00000002,0x00050041,0x00000008,
10610x0000088e,0x0000088e,0x00000000,0x00000001, 12510x000002ac,0x00000048,0x000001b3,0x0004003d,
10620x00000002,0x000200f9,0x000008a4,0x000200f8, 12520x00000007,0x000002ad,0x000002ac,0x00050081,
10630x0000089d,0x0008004f,0x00000007,0x0000089f, 12530x00000007,0x000002ae,0x000002ab,0x000002ad,
10640x0000088e,0x0000088e,0x00000000,0x00000001, 12540x0003003e,0x000002a8,0x000002ae,0x0004003d,
10650x00000002,0x0008000c,0x00000007,0x000008d2, 12550x00000045,0x000002af,0x00000049,0x0004003d,
10660x00000001,0x0000002b,0x0000089f,0x00000113, 12560x00000045,0x000002b0,0x000002a3,0x000500a4,
10670x00000b97,0x0005008e,0x00000007,0x000008d4, 12570x00000045,0x000002b1,0x000002af,0x000002b0,
10680x000008d2,0x0000004f,0x0007000c,0x00000007, 12580x000300f7,0x000002b3,0x00000000,0x000400fa,
10690x000008d6,0x00000001,0x0000001a,0x000008d2, 12590x000002b1,0x000002b2,0x000002b3,0x000200f8,
10700x00000054,0x0005008e,0x00000007,0x000008d7, 12600x000002b2,0x0004003d,0x00000007,0x000002b4,
10710x000008d6,0x00000051,0x00050083,0x00000007, 12610x000002a8,0x000200fe,0x000002b4,0x000200f8,
10720x000008d9,0x000008d7,0x00000b9b,0x000500ba, 12620x000002b3,0x0004003d,0x00000045,0x000002b6,
10730x0000005d,0x000008db,0x000008d2,0x0000005c, 12630x00000049,0x000400a8,0x00000045,0x000002b7,
10740x000600a9,0x00000007,0x000008dc,0x000008db, 12640x000002b6,0x000300f7,0x000002b9,0x00000000,
10750x000008d9,0x000008d4,0x000200f9,0x000008a4, 12650x000400fa,0x000002b7,0x000002b8,0x000002b9,
10760x000200f8,0x000008a4,0x000700f5,0x00000007, 12660x000200f8,0x000002b8,0x0004003d,0x00000007,
10770x00000b49,0x000008dc,0x0000089d,0x000008a3, 12670x000002bb,0x000002a8,0x0003003e,0x000002ba,
10780x000008a1,0x000300f7,0x000008ac,0x00000000, 12680x000002bb,0x00050039,0x00000007,0x000002bc,
10790x000400fa,0x00000812,0x000008a8,0x000008ac, 12690x0000003d,0x000002ba,0x00050041,0x0000027f,
10800x000200f8,0x000008a8,0x000500c7,0x00000021, 12700x000002bd,0x00000080,0x00000282,0x0004003d,
10810x000008aa,0x000002c4,0x00000103,0x000500aa, 12710x00000006,0x000002be,0x000002bd,0x0005008e,
10820x0000003d,0x000008ab,0x000008aa,0x000000e1, 12720x00000007,0x000002bf,0x000002bc,0x000002be,
10830x000200f9,0x000008ac,0x000200f8,0x000008ac, 12730x000200fe,0x000002bf,0x000200f8,0x000002b9,
10840x000700f5,0x0000003d,0x000008ad,0x00000812, 12740x00060041,0x0000002c,0x000002c2,0x00000048,
10850x000008a4,0x000008ab,0x000008a8,0x000300f7, 12750x000000e2,0x000000f0,0x0004003d,0x00000006,
10860x000008b9,0x00000000,0x000400fa,0x000008ad, 12760x000002c3,0x000002c2,0x0003003e,0x000002c1,
10870x000008ae,0x000008b9,0x000200f8,0x000008ae, 12770x000002c3,0x0004003d,0x00000006,0x000002c5,
10880x000500ba,0x0000003d,0x000008b0,0x00000b48, 12780x000002c1,0x000500ba,0x00000045,0x000002c6,
10890x00000049,0x000300f7,0x000008b7,0x00000000, 12790x000002c5,0x00000050,0x000300f7,0x000002c9,
10900x000400fa,0x000008b0,0x000008b1,0x000008b6, 12800x00000000,0x000400fa,0x000002c6,0x000002c8,
10910x000200f8,0x000008b6,0x000200f9,0x000008b7, 12810x000002dc,0x000200f8,0x000002c8,0x00050041,
10920x000200f8,0x000008b1,0x00060050,0x00000007, 12820x00000033,0x000002ca,0x00000048,0x000000e2,
10930x000008b4,0x00000b48,0x00000b48,0x00000b48, 12830x0004003d,0x00000023,0x000002cb,0x000002ca,
10940x00050088,0x00000007,0x000008b5,0x00000b49, 12840x0008004f,0x00000007,0x000002cc,0x000002cb,
10950x000008b4,0x000200f9,0x000008b7,0x000200f8, 12850x000002cb,0x00000000,0x00000001,0x00000002,
10960x000008b7,0x000700f5,0x00000007,0x00000b4b, 12860x0004003d,0x00000006,0x000002cd,0x000002c1,
10970x000008b5,0x000008b1,0x00000113,0x000008b6, 12870x00060050,0x00000007,0x000002ce,0x000002cd,
10980x000200f9,0x000008b9,0x000200f8,0x000008b9, 12880x000002cd,0x000002cd,0x00050088,0x00000007,
10990x000700f5,0x00000007,0x00000b4c,0x00000b49, 12890x000002cf,0x000002cc,0x000002ce,0x0003003e,
11000x000008ac,0x00000b4b,0x000008b7,0x000300f7, 12900x000002d0,0x000002cf,0x00050039,0x00000007,
11010x000008c3,0x00000000,0x000400fa,0x00000827, 12910x000002d1,0x00000040,0x000002d0,0x00050041,
11020x000008bd,0x000008c0,0x000200f8,0x000008c0, 12920x0000027f,0x000002d2,0x00000080,0x00000282,
11030x00050041,0x0000007b,0x000008f5,0x00000079, 12930x0004003d,0x00000006,0x000002d3,0x000002d2,
11040x0000007a,0x0004003d,0x00000021,0x000008f6, 12940x00060050,0x00000007,0x000002d4,0x000002d3,
11050x000008f5,0x000500aa,0x0000003d,0x000008f7, 12950x000002d3,0x000002d3,0x00050088,0x00000007,
11060x000008f6,0x0000007e,0x000300f7,0x00000900, 12960x000002d5,0x000002d1,0x000002d4,0x00060050,
11070x00000000,0x000400fa,0x000008f7,0x000008f8, 12970x00000007,0x000002d6,0x00000050,0x00000050,
11080x000008fd,0x000200f8,0x000008fd,0x0007000c, 12980x00000050,0x0007000c,0x00000007,0x000002d7,
11090x00000007,0x00000906,0x00000001,0x00000028, 12990x00000001,0x00000028,0x000002d5,0x000002d6,
11100x00000b4c,0x00000113,0x00050085,0x00000007, 13000x0003003e,0x000002d8,0x000002d7,0x00050039,
11110x00000909,0x00000906,0x00000ba6,0x00050081, 13010x00000007,0x000002d9,0x00000043,0x000002d8,
11120x00000007,0x0000090c,0x00000906,0x00000b9b, 13020x0004003d,0x00000006,0x000002da,0x000002c1,
11130x00050085,0x00000007,0x0000090e,0x0000090c, 13030x0005008e,0x00000007,0x000002db,0x000002d9,
11140x00000ba8,0x0007000c,0x00000007,0x0000090f, 13040x000002da,0x0003003e,0x000002c7,0x000002db,
11150x00000001,0x0000001a,0x0000090e,0x0000006e, 13050x000200f9,0x000002c9,0x000200f8,0x000002dc,
11160x000500ba,0x0000005d,0x00000911,0x00000906, 13060x0003003e,0x000002c7,0x0000012f,0x000200f9,
11170x00000072,0x000600a9,0x00000007,0x00000912, 13070x000002c9,0x000200f8,0x000002c9,0x0004003d,
11180x00000911,0x0000090f,0x00000909,0x000200f9, 13080x00000007,0x000002dd,0x000002c7,0x0003003e,
11190x00000900,0x000200f8,0x000008f8,0x0007000c, 13090x000002c4,0x000002dd,0x00050041,0x00000008,
11200x00000007,0x000008fb,0x00000001,0x00000028, 13100x000002e0,0x00000048,0x000001b3,0x0004003d,
11210x00000b4c,0x00000113,0x0007000c,0x00000007, 13110x00000007,0x000002e1,0x000002e0,0x0003003e,
11220x000008fc,0x00000001,0x0000001a,0x000008fb, 13120x000002df,0x000002e1,0x00050039,0x00000007,
11230x00000087,0x000200f9,0x00000900,0x000200f8, 13130x000002e2,0x00000040,0x000002df,0x00050041,
11240x00000900,0x000700f5,0x00000007,0x00000b4d, 13140x0000027f,0x000002e3,0x00000080,0x00000282,
11250x000008fc,0x000008f8,0x00000912,0x000008fd, 13150x0004003d,0x00000006,0x000002e4,0x000002e3,
11260x000200f9,0x000008c3,0x000200f8,0x000008bd, 13160x00060050,0x00000007,0x000002e5,0x000002e4,
11270x0008000c,0x00000007,0x000008e3,0x00000001, 13170x000002e4,0x000002e4,0x00050088,0x00000007,
11280x0000002b,0x00000b4c,0x00000113,0x00000b97, 13180x000002e6,0x000002e2,0x000002e5,0x00060050,
11290x0007000c,0x00000007,0x000008e4,0x00000001, 13190x00000007,0x000002e7,0x00000050,0x00000050,
11300x0000001a,0x000008e3,0x000000aa,0x00050083, 13200x00000050,0x0007000c,0x00000007,0x000002e8,
11310x00000007,0x000008e7,0x000008e4,0x00000b98, 13210x00000001,0x00000028,0x000002e6,0x000002e7,
11320x0007000c,0x00000007,0x000008e9,0x00000001, 13220x0003003e,0x000002e9,0x000002e8,0x00050039,
11330x00000028,0x000008e7,0x00000113,0x0005008e, 13230x00000007,0x000002ea,0x00000043,0x000002e9,
11340x00000007,0x000008eb,0x000008e4,0x000000b4, 13240x0003003e,0x000002de,0x000002ea,0x0004003d,
11350x00050083,0x00000007,0x000008ed,0x00000ba1, 13250x00000007,0x000002eb,0x000002c4,0x0004003d,
11360x000008eb,0x00050088,0x00000007,0x000008ee, 13260x00000007,0x000002ec,0x000002de,0x00050081,
11370x000008e9,0x000008ed,0x0007000c,0x00000007, 13270x00000007,0x000002ed,0x000002eb,0x000002ec,
11380x000008ef,0x00000001,0x0000001a,0x000008ee, 13280x000200fe,0x000002ed,0x00010038,0x00050036,
11390x000000bb,0x0005008e,0x00000007,0x000008f0, 13290x00000007,0x0000004d,0x00000000,0x00000009,
11400x000008ef,0x000000ac,0x000200f9,0x000008c3, 13300x00030037,0x00000008,0x0000004c,0x000200f8,
11410x000200f8,0x000008c3,0x000700f5,0x00000007, 13310x0000004e,0x0004003b,0x00000008,0x000002f3,
11420x00000b4e,0x000008f0,0x000008bd,0x00000b4d, 13320x00000007,0x0004003b,0x00000008,0x000002f9,
11430x00000900,0x0005008e,0x00000007,0x000008c7, 13330x00000007,0x0004003b,0x00000008,0x000002fc,
11440x00000b4e,0x00000b48,0x00050051,0x00000006, 13340x00000007,0x00050041,0x00000082,0x000002f0,
11450x000008c9,0x000008c7,0x00000000,0x00050051, 13350x00000080,0x000002a4,0x0004003d,0x00000021,
11460x00000006,0x000008ca,0x000008c7,0x00000001, 13360x000002f1,0x000002f0,0x000500ab,0x00000045,
11470x00050051,0x00000006,0x000008cb,0x000008c7, 13370x000002f2,0x000002f1,0x000000e8,0x000300f7,
11480x00000002,0x00070050,0x00000023,0x000008cc, 13380x000002f5,0x00000000,0x000400fa,0x000002f2,
11490x000008c9,0x000008ca,0x000008cb,0x00000b48, 13390x000002f4,0x000002fb,0x000200f8,0x000002f4,
11500x00050051,0x00000006,0x00000739,0x00000721, 13400x0004003d,0x00000007,0x000002f6,0x0000004c,
11510x00000000,0x00070050,0x00000023,0x0000073a, 13410x00060050,0x00000007,0x000002f7,0x00000050,
11520x00000739,0x00000739,0x00000739,0x00000739, 13420x00000050,0x00000050,0x0007000c,0x00000007,
11530x0008000c,0x00000023,0x0000073b,0x00000001, 13430x000002f8,0x00000001,0x00000028,0x000002f6,
11540x0000002e,0x00000837,0x000008cc,0x0000073a, 13440x000002f7,0x0003003e,0x000002f9,0x000002f8,
11550x00050051,0x0000001e,0x0000073f,0x00000729, 13450x00050039,0x00000007,0x000002fa,0x0000001a,
11560x00000001,0x00050050,0x0000001f,0x00000740, 13460x000002f9,0x0003003e,0x000002f3,0x000002fa,
11570x0000072b,0x0000073f,0x0004003d,0x0000001c, 13470x000200f9,0x000002f5,0x000200f8,0x000002fb,
11580x00000921,0x000002b9,0x0007005f,0x00000023, 13480x0004003d,0x00000007,0x000002fd,0x0000004c,
11590x00000923,0x00000921,0x00000740,0x00000002, 13490x0003003e,0x000002fc,0x000002fd,0x00050039,
11600x000000db,0x000300f7,0x0000092d,0x00000000, 13500x00000007,0x000002fe,0x00000014,0x000002fc,
11610x000400fa,0x000007fc,0x00000928,0x00000929, 13510x0003003e,0x000002f3,0x000002fe,0x000200f9,
11620x000200f8,0x00000929,0x00050051,0x00000006, 13520x000002f5,0x000200f8,0x000002f5,0x0004003d,
11630x0000092b,0x00000923,0x00000003,0x0008000c, 13530x00000007,0x000002ff,0x000002f3,0x000200fe,
11640x00000006,0x0000092c,0x00000001,0x0000002b, 13540x000002ff,0x00010038}
11650x0000092b,0x00000049,0x0000004a,0x000200f9,
11660x0000092d,0x000200f8,0x00000928,0x000200f9,
11670x0000092d,0x000200f8,0x0000092d,0x000700f5,
11680x00000006,0x00000b4f,0x0000004a,0x00000928,
11690x0000092c,0x00000929,0x000300f7,0x00000939,
11700x00000000,0x000400fa,0x00000807,0x00000932,
11710x00000936,0x000200f8,0x00000936,0x0008004f,
11720x00000007,0x00000938,0x00000923,0x00000923,
11730x00000000,0x00000001,0x00000002,0x000200f9,
11740x00000939,0x000200f8,0x00000932,0x0008004f,
11750x00000007,0x00000934,0x00000923,0x00000923,
11760x00000000,0x00000001,0x00000002,0x0008000c,
11770x00000007,0x00000967,0x00000001,0x0000002b,
11780x00000934,0x00000113,0x00000b97,0x0005008e,
11790x00000007,0x00000969,0x00000967,0x0000004f,
11800x0007000c,0x00000007,0x0000096b,0x00000001,
11810x0000001a,0x00000967,0x00000054,0x0005008e,
11820x00000007,0x0000096c,0x0000096b,0x00000051,
11830x00050083,0x00000007,0x0000096e,0x0000096c,
11840x00000b9b,0x000500ba,0x0000005d,0x00000970,
11850x00000967,0x0000005c,0x000600a9,0x00000007,
11860x00000971,0x00000970,0x0000096e,0x00000969,
11870x000200f9,0x00000939,0x000200f8,0x00000939,
11880x000700f5,0x00000007,0x00000b50,0x00000971,
11890x00000932,0x00000938,0x00000936,0x000300f7,
11900x00000941,0x00000000,0x000400fa,0x00000812,
11910x0000093d,0x00000941,0x000200f8,0x0000093d,
11920x000500c7,0x00000021,0x0000093f,0x000002c4,
11930x00000103,0x000500aa,0x0000003d,0x00000940,
11940x0000093f,0x000000e1,0x000200f9,0x00000941,
11950x000200f8,0x00000941,0x000700f5,0x0000003d,
11960x00000942,0x00000812,0x00000939,0x00000940,
11970x0000093d,0x000300f7,0x0000094e,0x00000000,
11980x000400fa,0x00000942,0x00000943,0x0000094e,
11990x000200f8,0x00000943,0x000500ba,0x0000003d,
12000x00000945,0x00000b4f,0x00000049,0x000300f7,
12010x0000094c,0x00000000,0x000400fa,0x00000945,
12020x00000946,0x0000094b,0x000200f8,0x0000094b,
12030x000200f9,0x0000094c,0x000200f8,0x00000946,
12040x00060050,0x00000007,0x00000949,0x00000b4f,
12050x00000b4f,0x00000b4f,0x00050088,0x00000007,
12060x0000094a,0x00000b50,0x00000949,0x000200f9,
12070x0000094c,0x000200f8,0x0000094c,0x000700f5,
12080x00000007,0x00000b52,0x0000094a,0x00000946,
12090x00000113,0x0000094b,0x000200f9,0x0000094e,
12100x000200f8,0x0000094e,0x000700f5,0x00000007,
12110x00000b53,0x00000b50,0x00000941,0x00000b52,
12120x0000094c,0x000300f7,0x00000958,0x00000000,
12130x000400fa,0x00000827,0x00000952,0x00000955,
12140x000200f8,0x00000955,0x00050041,0x0000007b,
12150x0000098a,0x00000079,0x0000007a,0x0004003d,
12160x00000021,0x0000098b,0x0000098a,0x000500aa,
12170x0000003d,0x0000098c,0x0000098b,0x0000007e,
12180x000300f7,0x00000995,0x00000000,0x000400fa,
12190x0000098c,0x0000098d,0x00000992,0x000200f8,
12200x00000992,0x0007000c,0x00000007,0x0000099b,
12210x00000001,0x00000028,0x00000b53,0x00000113,
12220x00050085,0x00000007,0x0000099e,0x0000099b,
12230x00000ba6,0x00050081,0x00000007,0x000009a1,
12240x0000099b,0x00000b9b,0x00050085,0x00000007,
12250x000009a3,0x000009a1,0x00000ba8,0x0007000c,
12260x00000007,0x000009a4,0x00000001,0x0000001a,
12270x000009a3,0x0000006e,0x000500ba,0x0000005d,
12280x000009a6,0x0000099b,0x00000072,0x000600a9,
12290x00000007,0x000009a7,0x000009a6,0x000009a4,
12300x0000099e,0x000200f9,0x00000995,0x000200f8,
12310x0000098d,0x0007000c,0x00000007,0x00000990,
12320x00000001,0x00000028,0x00000b53,0x00000113,
12330x0007000c,0x00000007,0x00000991,0x00000001,
12340x0000001a,0x00000990,0x00000087,0x000200f9,
12350x00000995,0x000200f8,0x00000995,0x000700f5,
12360x00000007,0x00000b54,0x00000991,0x0000098d,
12370x000009a7,0x00000992,0x000200f9,0x00000958,
12380x000200f8,0x00000952,0x0008000c,0x00000007,
12390x00000978,0x00000001,0x0000002b,0x00000b53,
12400x00000113,0x00000b97,0x0007000c,0x00000007,
12410x00000979,0x00000001,0x0000001a,0x00000978,
12420x000000aa,0x00050083,0x00000007,0x0000097c,
12430x00000979,0x00000b98,0x0007000c,0x00000007,
12440x0000097e,0x00000001,0x00000028,0x0000097c,
12450x00000113,0x0005008e,0x00000007,0x00000980,
12460x00000979,0x000000b4,0x00050083,0x00000007,
12470x00000982,0x00000ba1,0x00000980,0x00050088,
12480x00000007,0x00000983,0x0000097e,0x00000982,
12490x0007000c,0x00000007,0x00000984,0x00000001,
12500x0000001a,0x00000983,0x000000bb,0x0005008e,
12510x00000007,0x00000985,0x00000984,0x000000ac,
12520x000200f9,0x00000958,0x000200f8,0x00000958,
12530x000700f5,0x00000007,0x00000b55,0x00000985,
12540x00000952,0x00000b54,0x00000995,0x0005008e,
12550x00000007,0x0000095c,0x00000b55,0x00000b4f,
12560x00050051,0x00000006,0x0000095e,0x0000095c,
12570x00000000,0x00050051,0x00000006,0x0000095f,
12580x0000095c,0x00000001,0x00050051,0x00000006,
12590x00000960,0x0000095c,0x00000002,0x00070050,
12600x00000023,0x00000961,0x0000095e,0x0000095f,
12610x00000960,0x00000b4f,0x0004003d,0x0000001c,
12620x000009b6,0x000002b9,0x0007005f,0x00000023,
12630x000009b8,0x000009b6,0x00000729,0x00000002,
12640x000000db,0x000300f7,0x000009c2,0x00000000,
12650x000400fa,0x000007fc,0x000009bd,0x000009be,
12660x000200f8,0x000009be,0x00050051,0x00000006,
12670x000009c0,0x000009b8,0x00000003,0x0008000c,
12680x00000006,0x000009c1,0x00000001,0x0000002b,
12690x000009c0,0x00000049,0x0000004a,0x000200f9,
12700x000009c2,0x000200f8,0x000009bd,0x000200f9,
12710x000009c2,0x000200f8,0x000009c2,0x000700f5,
12720x00000006,0x00000b56,0x0000004a,0x000009bd,
12730x000009c1,0x000009be,0x000300f7,0x000009ce,
12740x00000000,0x000400fa,0x00000807,0x000009c7,
12750x000009cb,0x000200f8,0x000009cb,0x0008004f,
12760x00000007,0x000009cd,0x000009b8,0x000009b8,
12770x00000000,0x00000001,0x00000002,0x000200f9,
12780x000009ce,0x000200f8,0x000009c7,0x0008004f,
12790x00000007,0x000009c9,0x000009b8,0x000009b8,
12800x00000000,0x00000001,0x00000002,0x0008000c,
12810x00000007,0x000009fc,0x00000001,0x0000002b,
12820x000009c9,0x00000113,0x00000b97,0x0005008e,
12830x00000007,0x000009fe,0x000009fc,0x0000004f,
12840x0007000c,0x00000007,0x00000a00,0x00000001,
12850x0000001a,0x000009fc,0x00000054,0x0005008e,
12860x00000007,0x00000a01,0x00000a00,0x00000051,
12870x00050083,0x00000007,0x00000a03,0x00000a01,
12880x00000b9b,0x000500ba,0x0000005d,0x00000a05,
12890x000009fc,0x0000005c,0x000600a9,0x00000007,
12900x00000a06,0x00000a05,0x00000a03,0x000009fe,
12910x000200f9,0x000009ce,0x000200f8,0x000009ce,
12920x000700f5,0x00000007,0x00000b57,0x00000a06,
12930x000009c7,0x000009cd,0x000009cb,0x000300f7,
12940x000009d6,0x00000000,0x000400fa,0x00000812,
12950x000009d2,0x000009d6,0x000200f8,0x000009d2,
12960x000500c7,0x00000021,0x000009d4,0x000002c4,
12970x00000103,0x000500aa,0x0000003d,0x000009d5,
12980x000009d4,0x000000e1,0x000200f9,0x000009d6,
12990x000200f8,0x000009d6,0x000700f5,0x0000003d,
13000x000009d7,0x00000812,0x000009ce,0x000009d5,
13010x000009d2,0x000300f7,0x000009e3,0x00000000,
13020x000400fa,0x000009d7,0x000009d8,0x000009e3,
13030x000200f8,0x000009d8,0x000500ba,0x0000003d,
13040x000009da,0x00000b56,0x00000049,0x000300f7,
13050x000009e1,0x00000000,0x000400fa,0x000009da,
13060x000009db,0x000009e0,0x000200f8,0x000009e0,
13070x000200f9,0x000009e1,0x000200f8,0x000009db,
13080x00060050,0x00000007,0x000009de,0x00000b56,
13090x00000b56,0x00000b56,0x00050088,0x00000007,
13100x000009df,0x00000b57,0x000009de,0x000200f9,
13110x000009e1,0x000200f8,0x000009e1,0x000700f5,
13120x00000007,0x00000b59,0x000009df,0x000009db,
13130x00000113,0x000009e0,0x000200f9,0x000009e3,
13140x000200f8,0x000009e3,0x000700f5,0x00000007,
13150x00000b5a,0x00000b57,0x000009d6,0x00000b59,
13160x000009e1,0x000300f7,0x000009ed,0x00000000,
13170x000400fa,0x00000827,0x000009e7,0x000009ea,
13180x000200f8,0x000009ea,0x00050041,0x0000007b,
13190x00000a1f,0x00000079,0x0000007a,0x0004003d,
13200x00000021,0x00000a20,0x00000a1f,0x000500aa,
13210x0000003d,0x00000a21,0x00000a20,0x0000007e,
13220x000300f7,0x00000a2a,0x00000000,0x000400fa,
13230x00000a21,0x00000a22,0x00000a27,0x000200f8,
13240x00000a27,0x0007000c,0x00000007,0x00000a30,
13250x00000001,0x00000028,0x00000b5a,0x00000113,
13260x00050085,0x00000007,0x00000a33,0x00000a30,
13270x00000ba6,0x00050081,0x00000007,0x00000a36,
13280x00000a30,0x00000b9b,0x00050085,0x00000007,
13290x00000a38,0x00000a36,0x00000ba8,0x0007000c,
13300x00000007,0x00000a39,0x00000001,0x0000001a,
13310x00000a38,0x0000006e,0x000500ba,0x0000005d,
13320x00000a3b,0x00000a30,0x00000072,0x000600a9,
13330x00000007,0x00000a3c,0x00000a3b,0x00000a39,
13340x00000a33,0x000200f9,0x00000a2a,0x000200f8,
13350x00000a22,0x0007000c,0x00000007,0x00000a25,
13360x00000001,0x00000028,0x00000b5a,0x00000113,
13370x0007000c,0x00000007,0x00000a26,0x00000001,
13380x0000001a,0x00000a25,0x00000087,0x000200f9,
13390x00000a2a,0x000200f8,0x00000a2a,0x000700f5,
13400x00000007,0x00000b5b,0x00000a26,0x00000a22,
13410x00000a3c,0x00000a27,0x000200f9,0x000009ed,
13420x000200f8,0x000009e7,0x0008000c,0x00000007,
13430x00000a0d,0x00000001,0x0000002b,0x00000b5a,
13440x00000113,0x00000b97,0x0007000c,0x00000007,
13450x00000a0e,0x00000001,0x0000001a,0x00000a0d,
13460x000000aa,0x00050083,0x00000007,0x00000a11,
13470x00000a0e,0x00000b98,0x0007000c,0x00000007,
13480x00000a13,0x00000001,0x00000028,0x00000a11,
13490x00000113,0x0005008e,0x00000007,0x00000a15,
13500x00000a0e,0x000000b4,0x00050083,0x00000007,
13510x00000a17,0x00000ba1,0x00000a15,0x00050088,
13520x00000007,0x00000a18,0x00000a13,0x00000a17,
13530x0007000c,0x00000007,0x00000a19,0x00000001,
13540x0000001a,0x00000a18,0x000000bb,0x0005008e,
13550x00000007,0x00000a1a,0x00000a19,0x000000ac,
13560x000200f9,0x000009ed,0x000200f8,0x000009ed,
13570x000700f5,0x00000007,0x00000b5c,0x00000a1a,
13580x000009e7,0x00000b5b,0x00000a2a,0x0005008e,
13590x00000007,0x000009f1,0x00000b5c,0x00000b56,
13600x00050051,0x00000006,0x000009f3,0x000009f1,
13610x00000000,0x00050051,0x00000006,0x000009f4,
13620x000009f1,0x00000001,0x00050051,0x00000006,
13630x000009f5,0x000009f1,0x00000002,0x00070050,
13640x00000023,0x000009f6,0x000009f3,0x000009f4,
13650x000009f5,0x00000b56,0x0008000c,0x00000023,
13660x0000074d,0x00000001,0x0000002e,0x00000961,
13670x000009f6,0x0000073a,0x00050051,0x00000006,
13680x0000074f,0x00000721,0x00000001,0x00070050,
13690x00000023,0x00000750,0x0000074f,0x0000074f,
13700x0000074f,0x0000074f,0x0008000c,0x00000023,
13710x00000751,0x00000001,0x0000002e,0x0000073b,
13720x0000074d,0x00000750,0x000200f9,0x00000752,
13730x000200f8,0x00000752,0x000700f5,0x00000023,
13740x00000b64,0x000007a2,0x00000799,0x00000751,
13750x000009ed,0x000500c7,0x00000021,0x000002ca,
13760x000002c4,0x00000117,0x000500ab,0x0000003d,
13770x000002cb,0x000002ca,0x000000e1,0x0008004f,
13780x00000007,0x000002ce,0x00000b64,0x00000b64,
13790x00000000,0x00000001,0x00000002,0x00050051,
13800x00000006,0x000002d1,0x00000b64,0x00000003,
13810x000300f7,0x00000a6a,0x00000000,0x000300fb,
13820x000000e1,0x00000a45,0x000200f8,0x00000a45,
13830x00050041,0x0000007b,0x00000a46,0x00000079,
13840x0000020f,0x0004003d,0x00000021,0x00000a47,
13850x00000a46,0x000500ab,0x0000003d,0x00000a48,
13860x00000a47,0x000000e1,0x000500a4,0x0000003d,
13870x00000a4b,0x000002cb,0x00000a48,0x000300f7,
13880x00000a4e,0x00000000,0x000400fa,0x00000a4b,
13890x00000a4c,0x00000a4e,0x000200f8,0x00000a4c,
13900x000200f9,0x00000a6a,0x000200f8,0x00000a4e,
13910x000400a8,0x0000003d,0x00000a50,0x000002cb,
13920x000300f7,0x00000a57,0x00000000,0x000400fa,
13930x00000a50,0x00000a51,0x00000a57,0x000200f8,
13940x00000a51,0x00050094,0x00000006,0x00000a6f,
13950x000001b1,0x000002ce,0x00050094,0x00000006,
13960x00000a71,0x000001b7,0x000002ce,0x00050094,
13970x00000006,0x00000a73,0x000001bd,0x000002ce,
13980x00060050,0x00000007,0x00000a74,0x00000a6f,
13990x00000a71,0x00000a73,0x00050041,0x000001ea,
14000x00000a54,0x00000079,0x000001ed,0x0004003d,
14010x00000006,0x00000a55,0x00000a54,0x0005008e,
14020x00000007,0x00000a56,0x00000a74,0x00000a55,
14030x000200f9,0x00000a6a,0x000200f8,0x00000a57,
14040x000500bc,0x0000003d,0x00000a59,0x000002d1,
14050x00000049,0x000300f7,0x00000a5b,0x00000000,
14060x000400fa,0x00000a59,0x00000a5a,0x00000a5b,
14070x000200f8,0x00000a5a,0x000200f9,0x00000a6a,
14080x000200f8,0x00000a5b,0x00060050,0x00000007,
14090x00000a5e,0x000002d1,0x000002d1,0x000002d1,
14100x00050088,0x00000007,0x00000a5f,0x000002ce,
14110x00000a5e,0x00050094,0x00000006,0x00000a78,
14120x000001c6,0x00000a5f,0x00050094,0x00000006,
14130x00000a7a,0x000001cc,0x00000a5f,0x00050094,
14140x00000006,0x00000a7c,0x000001d2,0x00000a5f,
14150x00060050,0x00000007,0x00000a7d,0x00000a78,
14160x00000a7a,0x00000a7c,0x00050041,0x000001ea,
14170x00000a61,0x00000079,0x000001ed,0x0004003d,
14180x00000006,0x00000a62,0x00000a61,0x00060050,
14190x00000007,0x00000a63,0x00000a62,0x00000a62,
14200x00000a62,0x00050088,0x00000007,0x00000a64,
14210x00000a7d,0x00000a63,0x0007000c,0x00000007,
14220x00000a66,0x00000001,0x00000028,0x00000a64,
14230x00000113,0x000300f7,0x00000aad,0x00000000,
14240x000300fb,0x000000e1,0x00000a86,0x000200f8,
14250x00000a86,0x00050094,0x00000006,0x00000a88,
14260x00000a66,0x000001dd,0x000500bc,0x0000003d,
14270x00000a8a,0x00000a88,0x000001e0,0x000300f7,
14280x00000a8d,0x00000000,0x000400fa,0x00000a8a,
14290x00000a8b,0x00000a8d,0x000200f8,0x00000a8b,
14300x000200f9,0x00000aad,0x000200f8,0x00000a8d,
14310x00050041,0x000001ea,0x00000a8e,0x00000079,
14320x000001e9,0x0004003d,0x00000006,0x00000a8f,
14330x00000a8e,0x00050088,0x00000006,0x00000a92,
14340x00000a8f,0x00000a62,0x0007000c,0x00000006,
14350x00000a93,0x00000001,0x00000028,0x00000a92,
14360x0000004a,0x00050083,0x00000006,0x00000a94,
14370x00000a93,0x000001e0,0x00050083,0x00000006,
14380x00000a98,0x00000a88,0x000001e0,0x00050085,
14390x00000006,0x00000a9a,0x00000a98,0x00000ba9,
14400x00050085,0x00000006,0x00000baf,0x00000a94,
14410x00000a94,0x00050088,0x00000006,0x00000bb0,
14420x00000a98,0x00000baf,0x00050085,0x00000006,
14430x00000aa3,0x00000bad,0x00000bb0,0x00050081,
14440x00000006,0x00000aa4,0x0000004a,0x00000aa3,
14450x00050085,0x00000006,0x00000aa5,0x00000a98,
14460x00000aa4,0x00050081,0x00000006,0x00000aa7,
14470x0000004a,0x00000a9a,0x00050088,0x00000006,
14480x00000aa8,0x00000aa5,0x00000aa7,0x00050081,
14490x00000006,0x00000aa9,0x000001e0,0x00000aa8,
14500x00050088,0x00000006,0x00000aab,0x00000aa9,
14510x00000a88,0x0005008e,0x00000007,0x00000aac,
14520x00000a66,0x00000aab,0x000200f9,0x00000aad,
14530x000200f8,0x00000aad,0x000700f5,0x00000007,
14540x00000b65,0x00000a66,0x00000a8b,0x00000aac,
14550x00000a8d,0x0005008e,0x00000007,0x00000a69,
14560x00000b65,0x000002d1,0x000200f9,0x00000a6a,
14570x000200f8,0x00000a6a,0x000b00f5,0x00000007,
14580x00000b66,0x000002ce,0x00000a4c,0x00000a56,
14590x00000a51,0x00000113,0x00000a5a,0x00000a69,
14600x00000aad,0x00050083,0x00000006,0x000002d6,
14610x0000004a,0x000002d1,0x0005008e,0x00000007,
14620x000002d8,0x00000b70,0x000002d6,0x00050081,
14630x00000007,0x000002d9,0x00000b66,0x000002d8,
14640x000200f9,0x000002b7,0x000200f8,0x000002b7,
14650x000700f5,0x00000007,0x00000b91,0x00000b70,
14660x000002ae,0x000002d9,0x00000a6a,0x0004003d,
14670x000002da,0x000002dd,0x000002dc,0x00050041,
14680x0000007b,0x00000ab4,0x00000079,0x0000020f,
14690x0004003d,0x00000021,0x00000ab5,0x00000ab4,
14700x000500ab,0x0000003d,0x00000ab6,0x00000ab5,
14710x000000e1,0x000300f7,0x00000abf,0x00000000,
14720x000400fa,0x00000ab6,0x00000ab7,0x00000abc,
14730x000200f8,0x00000abc,0x00050041,0x0000007b,
14740x00000ad9,0x00000079,0x0000007a,0x0004003d,
14750x00000021,0x00000ada,0x00000ad9,0x000500aa,
14760x0000003d,0x00000adb,0x00000ada,0x0000007e,
14770x000300f7,0x00000ae5,0x00000000,0x000400fa,
14780x00000adb,0x00000adc,0x00000ae2,0x000200f8,
14790x00000ae2,0x0008000c,0x00000007,0x00000aec,
14800x00000001,0x0000002b,0x00000b91,0x00000113,
14810x00000b97,0x0005008e,0x00000007,0x00000aee,
14820x00000aec,0x0000004f,0x0007000c,0x00000007,
14830x00000af0,0x00000001,0x0000001a,0x00000aec,
14840x00000054,0x0005008e,0x00000007,0x00000af1,
14850x00000af0,0x00000051,0x00050083,0x00000007,
14860x00000af3,0x00000af1,0x00000b9b,0x000500ba,
14870x0000005d,0x00000af5,0x00000aec,0x0000005c,
14880x000600a9,0x00000007,0x00000af6,0x00000af5,
14890x00000af3,0x00000aee,0x000200f9,0x00000ae5,
14900x000200f8,0x00000adc,0x0008000c,0x00000007,
14910x00000ae0,0x00000001,0x0000002b,0x00000b91,
14920x00000113,0x00000b97,0x0007000c,0x00000007,
14930x00000ae1,0x00000001,0x0000001a,0x00000ae0,
14940x0000009b,0x000200f9,0x00000ae5,0x000200f8,
14950x00000ae5,0x000700f5,0x00000007,0x00000b92,
14960x00000ae1,0x00000adc,0x00000af6,0x00000ae2,
14970x000200f9,0x00000abf,0x000200f8,0x00000ab7,
14980x0007000c,0x00000007,0x00000aba,0x00000001,
14990x00000028,0x00000b91,0x00000113,0x00050085,
15000x00000007,0x00000ac6,0x00000aba,0x00000bb2,
15010x0008000c,0x00000007,0x00000ac9,0x00000001,
15020x0000002b,0x00000ac6,0x00000113,0x00000b97,
15030x0007000c,0x00000007,0x00000aca,0x00000001,
15040x0000001a,0x00000ac9,0x000000c8,0x0005008e,
15050x00000007,0x00000acc,0x00000aca,0x000000b3,
15060x00050081,0x00000007,0x00000ace,0x00000b98,
15070x00000acc,0x0005008e,0x00000007,0x00000ad0,
15080x00000aca,0x000000b4,0x00050081,0x00000007,
15090x00000ad2,0x00000b97,0x00000ad0,0x00050088,
15100x00000007,0x00000ad3,0x00000ace,0x00000ad2,
15110x0007000c,0x00000007,0x00000ad4,0x00000001,
15120x0000001a,0x00000ad3,0x000000d4,0x000200f9,
15130x00000abf,0x000200f8,0x00000abf,0x000700f5,
15140x00000007,0x00000b93,0x00000ad4,0x00000ab7,
15150x00000b92,0x00000ae5,0x00050051,0x00000006,
15160x000002e2,0x00000b93,0x00000000,0x00050051,
15170x00000006,0x000002e3,0x00000b93,0x00000001,
15180x00050051,0x00000006,0x000002e4,0x00000b93,
15190x00000002,0x00070050,0x00000023,0x000002e5,
15200x000002e2,0x000002e3,0x000002e4,0x0000004a,
15210x00040063,0x000002dd,0x00000255,0x000002e5,
15220x000200f9,0x000002e7,0x000200f8,0x000002e7,
15230x000100fd,0x00010038}
diff --git a/runtime/src/queue_holds.h b/runtime/src/queue_holds.h
index 2839d4210..22b5b58c4 100644
--- a/runtime/src/queue_holds.h
+++ b/runtime/src/queue_holds.h
@@ -1,8 +1,10 @@
1#pragma once 1#pragma once
2 2
3#include <algorithm>
3#include <atomic> 4#include <atomic>
4#include <cstdint> 5#include <cstdint>
5#include <deque> 6#include <deque>
7#include <exception>
6#include <functional> 8#include <functional>
7#include <mutex> 9#include <mutex>
8#include <unordered_map> 10#include <unordered_map>
@@ -66,9 +68,8 @@ public:
66 if (held_.load(std::memory_order_acquire) == 0 || in_pump()) return; 68 if (held_.load(std::memory_order_acquire) == 0 || in_pump()) return;
67 { 69 {
68 std::lock_guard pump(pump_mutex_); 70 std::lock_guard pump(pump_mutex_);
69 in_pump() = true; // what is dropped may release other fences: they must not wait for this lock 71 PumpScope scope(this); // what is dropped may release other fences: they must not wait for this lock
70 for (Holder* holder : snapshot()) holder->discard_waiting_on(semaphore); 72 for (Holder* holder : snapshot()) holder->discard_waiting_on(semaphore);
71 in_pump() = false;
72 } 73 }
73 pump_ready(); 74 pump_ready();
74 } 75 }
@@ -93,6 +94,13 @@ public:
93 return it == fences_.end() || it->second < value; 94 return it == fences_.end() || it->second < value;
94 } 95 }
95 96
97 // The highest Signal submitted for the fence (or set by the CPU); 0 for an unknown semaphore.
98 std::uint64_t submitted_value(Semaphore semaphore) const {
99 std::lock_guard lock(mutex_);
100 const auto it = fences_.find(semaphore);
101 return it == fences_.end() ? 0 : it->second;
102 }
103
96 // true when no submitted Signal reaches `value` yet. Unknown semaphores are satisfied. 104 // true when no submitted Signal reaches `value` yet. Unknown semaphores are satisfied.
97 bool pending(Semaphore semaphore, std::uint64_t value) const { 105 bool pending(Semaphore semaphore, std::uint64_t value) const {
98 std::lock_guard lock(mutex_); 106 std::lock_guard lock(mutex_);
@@ -157,27 +165,59 @@ public:
157 165
158 // Releases every held operation that has become ready, in dependency order: a release can submit a Signal 166 // Releases every held operation that has become ready, in dependency order: a release can submit a Signal
159 // that makes another queue's front ready, so passes repeat until one finds nothing new. Then the callbacks 167 // that makes another queue's front ready, so passes repeat until one finds nothing new. Then the callbacks
160 // whose held work is all gone. 168 // whose held work is all gone. If a holder or callback throws, the first exception is captured and rethrown
169 // only after any concurrent dirty_ handoff has been honoured (skipping holders that already threw in this
170 // pump so a failing holder cannot spin), so work handed off by another thread is never left stranded.
161 void pump_ready() { 171 void pump_ready() {
162 if (!any_held() && barrier_count_.load(std::memory_order_acquire) == 0) return; 172 if (!any_held() && barrier_count_.load(std::memory_order_acquire) == 0) return;
163 dirty_.store(true, std::memory_order_release); 173 {
164 if (in_pump()) return; // a release on this thread submitted a Signal: the running pass will go again 174 std::lock_guard lock(mutex_);
165 for (;;) { 175 dirty_ = true;
166 std::unique_lock pump(pump_mutex_, std::try_to_lock); 176 if (in_pump() || pump_active_) return; // this thread or another is releasing and will see dirty_
167 if (!pump) return; // another thread is releasing and will see dirty_ 177 pump_active_ = true;
168 in_pump() = true; 178 }
169 while (dirty_.exchange(false, std::memory_order_acq_rel)) { 179 struct ActiveGuard {
180 QueueHolds* self;
181 bool active = true;
182 ~ActiveGuard() {
183 if (!active) return;
184 std::lock_guard lock(self->mutex_);
185 self->pump_active_ = false;
186 }
187 } active_guard{this};
188 std::exception_ptr first_error;
189 {
190 std::lock_guard pump(pump_mutex_);
191 PumpScope scope(this);
192 std::vector<Holder*> failed_holders;
193 for (;;) {
194 {
195 std::lock_guard lock(mutex_);
196 if (!dirty_) {
197 pump_active_ = false;
198 active_guard.active = false;
199 break;
200 }
201 dirty_ = false;
202 }
170 bool progress = true; 203 bool progress = true;
171 while (progress) { 204 while (progress) {
172 progress = false; 205 progress = false;
173 for (Holder* holder : snapshot()) progress |= holder->release_ready(); 206 for (Holder* holder : snapshot()) {
207 if (std::find(failed_holders.begin(), failed_holders.end(), holder) != failed_holders.end())
208 continue;
209 try {
210 progress |= holder->release_ready();
211 } catch (...) {
212 if (!first_error) first_error = std::current_exception();
213 failed_holders.push_back(holder);
214 }
215 }
174 } 216 }
175 run_barriers(); 217 run_barriers(first_error);
176 } 218 }
177 in_pump() = false;
178 pump.unlock();
179 if (!dirty_.load(std::memory_order_acquire)) return;
180 } 219 }
220 if (first_error) std::rethrow_exception(first_error);
181 } 221 }
182 222
183private: 223private:
@@ -187,9 +227,28 @@ private:
187 std::function<void()> fn; 227 std::function<void()> fn;
188 }; 228 };
189 229
190 static bool& in_pump() { 230 // Per-instance re-entrancy guard on the current thread's stack: zero heap allocation, exception-safe, and
191 static thread_local bool pumping = false; 231 // distinct QueueHolds instances nested on the same thread do not suppress each other.
192 return pumping; 232 struct PumpScope {
233 const QueueHolds* owner;
234 PumpScope* previous;
235 explicit PumpScope(const QueueHolds* self) noexcept : owner(self), previous(active_scope()) {
236 active_scope() = this;
237 }
238 ~PumpScope() noexcept { active_scope() = previous; }
239 PumpScope(const PumpScope&) = delete;
240 PumpScope& operator=(const PumpScope&) = delete;
241 };
242
243 static PumpScope*& active_scope() noexcept {
244 static thread_local PumpScope* top = nullptr;
245 return top;
246 }
247
248 bool in_pump() const noexcept {
249 for (const PumpScope* s = active_scope(); s != nullptr; s = s->previous)
250 if (s->owner == this) return true;
251 return false;
193 } 252 }
194 253
195 std::vector<Holder*> snapshot() const { 254 std::vector<Holder*> snapshot() const {
@@ -198,7 +257,7 @@ private:
198 } 257 }
199 258
200 // Called with pump_mutex_ held. A callback runs when no held operation is older than the moment it was asked. 259 // Called with pump_mutex_ held. A callback runs when no held operation is older than the moment it was asked.
201 void run_barriers() { 260 void run_barriers(std::exception_ptr& first_error) {
202 for (;;) { 261 for (;;) {
203 Barrier front; 262 Barrier front;
204 { 263 {
@@ -207,8 +266,13 @@ private:
207 front = barriers_.front(); 266 front = barriers_.front();
208 } 267 }
209 for (Holder* holder : snapshot()) { 268 for (Holder* holder : snapshot()) {
210 const std::uint64_t oldest = holder->oldest_held_seq(); 269 try {
211 if (oldest && oldest <= front.seq) return; 270 const std::uint64_t oldest = holder->oldest_held_seq();
271 if (oldest && oldest <= front.seq) return;
272 } catch (...) {
273 if (!first_error) first_error = std::current_exception();
274 return;
275 }
212 } 276 }
213 { 277 {
214 std::lock_guard lock(mutex_); 278 std::lock_guard lock(mutex_);
@@ -217,7 +281,11 @@ private:
217 barriers_.pop_front(); 281 barriers_.pop_front();
218 barrier_count_.fetch_sub(1, std::memory_order_acq_rel); 282 barrier_count_.fetch_sub(1, std::memory_order_acq_rel);
219 } 283 }
220 front.fn(); 284 try {
285 front.fn();
286 } catch (...) {
287 if (!first_error) first_error = std::current_exception();
288 }
221 } 289 }
222 } 290 }
223 291
@@ -229,7 +297,8 @@ private:
229 std::atomic<std::int64_t> held_{0}; 297 std::atomic<std::int64_t> held_{0};
230 std::atomic<std::int64_t> barrier_count_{0}; 298 std::atomic<std::int64_t> barrier_count_{0};
231 std::atomic<std::uint64_t> seq_{0}; 299 std::atomic<std::uint64_t> seq_{0};
232 std::atomic<bool> dirty_{false}; 300 bool dirty_ = false;
301 bool pump_active_ = false;
233}; 302};
234 303
235} // namespace leonida 304} // namespace leonida
diff --git a/runtime/src/retire_tickets.h b/runtime/src/retire_tickets.h
index 675460cac..318db5597 100644
--- a/runtime/src/retire_tickets.h
+++ b/runtime/src/retire_tickets.h
@@ -1,5 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include <array>
4#include <cstddef>
3#include <cstdint> 5#include <cstdint>
4#include <deque> 6#include <deque>
5#include <utility> 7#include <utility>
@@ -16,17 +18,56 @@ template<class Semaphore>
16class RetireTickets { 18class RetireTickets {
17public: 19public:
18 void record(std::uint64_t ticket, Semaphore semaphore, std::uint64_t value) { 20 void record(std::uint64_t ticket, Semaphore semaphore, std::uint64_t value) {
21 if (pending_.empty()) {
22 monotonic_ = true;
23 } else if (ticket < pending_.back().ticket) {
24 monotonic_ = false;
25 }
19 pending_.push_back({ticket, semaphore, value, false}); 26 pending_.push_back({ticket, semaphore, value, false});
20 } 27 }
21 28
22 template<class Query> 29 template<class Query>
23 std::uint64_t completed(Query&& query) { 30 std::uint64_t completed(Query&& query) {
31 // Cache the highest timeline value confirmed done per semaphore in this pass so
32 // repeated or lower values on the same queue skip redundant Vulkan counter queries.
33 std::array<std::pair<Semaphore, std::uint64_t>, 8> confirmed{};
34 std::size_t confirmed_count = 0;
35 std::size_t next_evict = 0;
36
24 while (!pending_.empty()) { 37 while (!pending_.empty()) {
25 const Entry& front = pending_.front(); 38 const Entry& front = pending_.front();
26 if (!front.idle && !query(front.semaphore, front.value)) break; 39 if (!front.idle) {
40 bool already_done = false;
41 for (std::size_t i = 0; i < confirmed_count; ++i) {
42 if (confirmed[i].first == front.semaphore) {
43 if (front.value <= confirmed[i].second) already_done = true;
44 break;
45 }
46 }
47 if (!already_done) {
48 if (!query(front.semaphore, front.value)) break;
49 bool updated = false;
50 for (std::size_t i = 0; i < confirmed_count; ++i) {
51 if (confirmed[i].first == front.semaphore) {
52 if (front.value > confirmed[i].second) confirmed[i].second = front.value;
53 updated = true;
54 break;
55 }
56 }
57 if (!updated) {
58 if (confirmed_count < confirmed.size()) {
59 confirmed[confirmed_count++] = {front.semaphore, front.value};
60 } else {
61 confirmed[next_evict] = {front.semaphore, front.value};
62 next_evict = (next_evict + 1) % confirmed.size();
63 }
64 }
65 }
66 }
27 if (front.ticket > completed_) completed_ = front.ticket; 67 if (front.ticket > completed_) completed_ = front.ticket;
28 pending_.pop_front(); 68 pending_.pop_front();
29 } 69 }
70 if (pending_.empty()) monotonic_ = true;
30 return completed_; 71 return completed_;
31 } 72 }
32 73
@@ -34,8 +75,13 @@ public:
34 // that must have them done (and may not hold the lock that guards this object while it waits) waits for. 75 // that must have them done (and may not hold the lock that guards this object while it waits) waits for.
35 std::vector<std::pair<Semaphore, std::uint64_t>> pending_through(std::uint64_t ticket) const { 76 std::vector<std::pair<Semaphore, std::uint64_t>> pending_through(std::uint64_t ticket) const {
36 std::vector<std::pair<Semaphore, std::uint64_t>> out; 77 std::vector<std::pair<Semaphore, std::uint64_t>> out;
78 if (pending_.empty() || (monotonic_ && ticket < pending_.front().ticket)) return out;
37 for (const Entry& entry : pending_) { 79 for (const Entry& entry : pending_) {
38 if (entry.ticket > ticket || entry.idle) continue; 80 if (entry.ticket > ticket) {
81 if (monotonic_) break;
82 continue;
83 }
84 if (entry.idle) continue;
39 bool merged = false; 85 bool merged = false;
40 for (auto& [sem, val] : out) { 86 for (auto& [sem, val] : out) {
41 if (sem == entry.semaphore) { 87 if (sem == entry.semaphore) {
@@ -65,6 +111,7 @@ private:
65 }; 111 };
66 std::deque<Entry> pending_; 112 std::deque<Entry> pending_;
67 std::uint64_t completed_ = 0; 113 std::uint64_t completed_ = 0;
114 bool monotonic_ = true;
68}; 115};
69 116
70} // namespace leonida 117} // namespace leonida
diff --git a/runtime/src/root_signature.cpp b/runtime/src/root_signature.cpp
index 10dd1e02c..41d3f6c5a 100644
--- a/runtime/src/root_signature.cpp
+++ b/runtime/src/root_signature.cpp
@@ -17,10 +17,8 @@ PackResult pack(const RootSignature& sig) {
17 out.error = "unknown root parameter type"; 17 out.error = "unknown root parameter type";
18 return out; 18 return out;
19 } 19 }
20 if (p.type == ParamType::Constants && p.num_values == 0) { 20 // A constant parameter of 0 values is valid (the host serializer warns, CreateRootSignature answers S_OK):
21 out.error = "root constant parameter needs at least 1 dword"; 21 // it takes no dwords, so it gets no provenance entry and the parameters after it pack as if it were absent.
22 return out;
23 }
24 const uint32_t dwords = p.type == ParamType::Table ? 2 22 const uint32_t dwords = p.type == ParamType::Table ? 2
25 : p.type == ParamType::Descriptor ? 2 23 : p.type == ParamType::Descriptor ? 2
26 : p.num_values; 24 : p.num_values;
@@ -71,15 +69,12 @@ StagePackResult pack_stage(const RootSignature& sig, Stage stage) {
71 out.error = "unknown root parameter type"; 69 out.error = "unknown root parameter type";
72 return out; 70 return out;
73 } 71 }
74 if (p.type == ParamType::Constants && p.num_values == 0) {
75 out.error = "root constant parameter needs at least 1 dword";
76 return out;
77 }
78 cost += param_cost(p.type, p.num_values); 72 cost += param_cost(p.type, p.num_values);
79 if (cost > kMaxD3d12Cost) { 73 if (cost > kMaxD3d12Cost) {
80 out.error = "root signature exceeds the 64-dword D3D12 cost limit"; 74 out.error = "root signature exceeds the 64-dword D3D12 cost limit";
81 return out; 75 return out;
82 } 76 }
77 // 0 for a constant parameter of 0 values, which then shares its first SGPR with the next parameter.
83 const uint64_t dwords = stage_dwords(p.type, p.num_values); 78 const uint64_t dwords = stage_dwords(p.type, p.num_values);
84 if (!spilling && next + dwords <= kMaxUserSgprs) { 79 if (!spilling && next + dwords <= kMaxUserSgprs) {
85 first.push_back(static_cast<uint32_t>(next)); 80 first.push_back(static_cast<uint32_t>(next));
diff --git a/runtime/src/root_signature.h b/runtime/src/root_signature.h
index e7976fc73..559f4c54d 100644
--- a/runtime/src/root_signature.h
+++ b/runtime/src/root_signature.h
@@ -114,7 +114,8 @@ constexpr uint32_t kMaxD3d12Cost = 64;
114// Packs root parameters in order. Static samplers consume no dwords. 114// Packs root parameters in order. Static samplers consume no dwords.
115// Fails (ok == false) when the signature needs more than 32 user SGPRs 115// Fails (ok == false) when the signature needs more than 32 user SGPRs
116// (spill layout unknown: refuse, do not guess) or exceeds the 64-dword 116// (spill layout unknown: refuse, do not guess) or exceeds the 64-dword
117// D3D12 cost limit, or holds more than 64 root parameters. 117// D3D12 cost limit, or holds more than 64 root parameters. A constant
118// parameter of 0 values takes no dwords, as on the host.
118[[nodiscard]] PackResult pack(const RootSignature& sig); 119[[nodiscard]] PackResult pack(const RootSignature& sig);
119 120
120// The console layout of root arguments in a stage's user SGPRs (docs/d3d12_vulkan.md section 3.5, D3D-448). 121// The console layout of root arguments in a stage's user SGPRs (docs/d3d12_vulkan.md section 3.5, D3D-448).
@@ -183,8 +184,9 @@ struct StagePackResult {
183}; 184};
184 185
185// Lays the parameters out for `stage` in the console layout. Fails like pack() on more than 64 parameters, an 186// Lays the parameters out for `stage` in the console layout. Fails like pack() on more than 64 parameters, an
186// unknown parameter type, a constant parameter of 0 values, or the 64-dword cost limit. Compute spills any trailing 187// unknown parameter type or the 64-dword cost limit. Compute spills any trailing parameters from the first one
187// parameters from the first one that does not fit whole into spill_dword; non-compute stages refuse any spill. 188// that does not fit whole into spill_dword; non-compute stages refuse any spill. A constant parameter of 0 values
189// takes no SGPRs and no spill dwords.
188[[nodiscard]] StagePackResult pack_stage(const RootSignature& sig, Stage stage); 190[[nodiscard]] StagePackResult pack_stage(const RootSignature& sig, Stage stage);
189 191
190// D3D12 cost of one parameter against the 64-dword limit. 192// D3D12 cost of one parameter against the 64-dword limit.
diff --git a/runtime/src/shader_library.h b/runtime/src/shader_library.h
index a359287cb..f19e56d71 100644
--- a/runtime/src/shader_library.h
+++ b/runtime/src/shader_library.h
@@ -16,12 +16,13 @@
16#include <bit> 16#include <bit>
17#include <cerrno> 17#include <cerrno>
18#include <cstdint> 18#include <cstdint>
19#include <cstdio>
19#include <cstdlib> 20#include <cstdlib>
20#include <cstring> 21#include <cstring>
21#include <filesystem> 22#include <filesystem>
22#include <fstream> 23#include <fstream>
23#include <iterator>
24#include <map> 24#include <map>
25#include <memory>
25#include <span> 26#include <span>
26#include <string> 27#include <string>
27#include <string_view> 28#include <string_view>
@@ -29,6 +30,10 @@
29#include <utility> 30#include <utility>
30#include <vector> 31#include <vector>
31 32
33#ifdef _WIN32
34#include <share.h>
35#endif
36
32namespace leonida { 37namespace leonida {
33 38
34// --------------------------------------------------------------------------------------------------------------- 39// ---------------------------------------------------------------------------------------------------------------
@@ -897,6 +902,47 @@ inline DescriptorHashKind majority_descriptor_hash_kind(const DescriptorHashCens
897 return census.fnv1a_fmix32 > census.fnv1a ? DescriptorHashKind::fnv1a_fmix32 : DescriptorHashKind::fnv1a; 902 return census.fnv1a_fmix32 > census.fnv1a ? DescriptorHashKind::fnv1a_fmix32 : DescriptorHashKind::fnv1a;
898} 903}
899 904
905// Which descriptor-table entry layout the loaded modules read (descriptor_table.h, tools/rdna2spirv.py
906// --descriptor-table). A module whose meta carries `"descriptor_table": "tagged"` also reads the kind word next to
907// each index and uses it to tell which array an index belongs to; an absent key is the old plain layout, which reads
908// only the index. The runtime fills the kind word for a tagged table and leaves it alone for a plain one, so a
909// library translated before the marker (or with --descriptor-table plain) behaves exactly as it did.
910enum class DescriptorTableLayout : std::uint8_t { plain = 0, tagged = 1 };
911
912inline constexpr const char* descriptor_table_layout_name(DescriptorTableLayout layout) {
913 return layout == DescriptorTableLayout::tagged ? "tagged" : "plain";
914}
915
916struct DescriptorTableCensus {
917 std::size_t plain = 0;
918 std::size_t tagged = 0;
919 std::size_t total() const { return plain + tagged; }
920};
921
922// The tagged layout when any module reads it. The kind word is additive: a tagged module reads it and a plain
923// module ignores it (it reads the index at the same place), so one tagged module in the corpus needs the tagged
924// layout, however many plain ones there are. Counting entries would let a merged or partial index whose plain
925// modules outnumber the tagged ones hand every tagged module an all-zero kind, and every image of another
926// dimension would then fall back. No tagged module is the old plain layout.
927inline DescriptorTableLayout majority_descriptor_table_layout(const DescriptorTableCensus& census) {
928 return census.tagged > 0 ? DescriptorTableLayout::tagged : DescriptorTableLayout::plain;
929}
930
931// LEONIDA_DESCRIPTOR_TABLE=plain|tagged overrides the modules' vote. False when `value` is null, empty or not one
932// of the two layouts (an unrecognised value is ignored rather than failing startup).
933inline bool descriptor_table_layout_from_env(const char* value, DescriptorTableLayout* layout) {
934 if (!value || !*value) return false;
935 if (std::strcmp(value, "tagged") == 0) {
936 if (layout) *layout = DescriptorTableLayout::tagged;
937 return true;
938 }
939 if (std::strcmp(value, "plain") == 0) {
940 if (layout) *layout = DescriptorTableLayout::plain;
941 return true;
942 }
943 return false;
944}
945
900// LEONIDA_DESCRIPTOR_HASH=fnv1a|fnv1a_fmix32 overrides the modules' majority. False when `value` is null, empty or not 946// LEONIDA_DESCRIPTOR_HASH=fnv1a|fnv1a_fmix32 overrides the modules' majority. False when `value` is null, empty or not
901// one of the two kinds (an unrecognised value is ignored rather than failing startup). 947// one of the two kinds (an unrecognised value is ignored rather than failing startup).
902inline bool descriptor_hash_kind_from_env(const char* value, DescriptorHashKind* kind) { 948inline bool descriptor_hash_kind_from_env(const char* value, DescriptorHashKind* kind) {
@@ -973,6 +1019,7 @@ public:
973 bvh_count_ = 0; 1019 bvh_count_ = 0;
974 exe_count_ = 0; 1020 exe_count_ = 0;
975 descriptor_hash_census_ = {}; 1021 descriptor_hash_census_ = {};
1022 descriptor_table_census_ = {};
976 for (const char* folder : {"fspx", "fspx_gfx"}) { 1023 for (const char* folder : {"fspx", "fspx_gfx"}) {
977 try { 1024 try {
978 const auto ignore = [](const std::string&) { return false; }; 1025 const auto ignore = [](const std::string&) { return false; };
@@ -994,6 +1041,13 @@ public:
994 // LEONIDA_DESCRIPTOR_HASH names a kind. 1041 // LEONIDA_DESCRIPTOR_HASH names a kind.
995 const DescriptorHashCensus& descriptor_hash_census() const { return descriptor_hash_census_; } 1042 const DescriptorHashCensus& descriptor_hash_census() const { return descriptor_hash_census_; }
996 DescriptorHashKind descriptor_hash_kind() const { return majority_descriptor_hash_kind(descriptor_hash_census_); } 1043 DescriptorHashKind descriptor_hash_kind() const { return majority_descriptor_hash_kind(descriptor_hash_census_); }
1044 // The entry layouts the loaded modules read, and the layout to use: tagged as soon as one module reads the kind
1045 // word (it is additive, see majority_descriptor_table_layout), plain when none does. The device takes this once,
1046 // before its descriptor table's first insert, unless LEONIDA_DESCRIPTOR_TABLE names a layout.
1047 const DescriptorTableCensus& descriptor_table_census() const { return descriptor_table_census_; }
1048 DescriptorTableLayout descriptor_table_layout() const {
1049 return majority_descriptor_table_layout(descriptor_table_census_);
1050 }
997 // Entries loaded from <dir>/fspx/index.json and <dir>/library/index.json. A corpus of RPF containers never 1051 // Entries loaded from <dir>/fspx/index.json and <dir>/library/index.json. A corpus of RPF containers never
998 // reaches these: their programs come from FidelityFX DLLs and the pipeline library, so callers comparing reached 1052 // reaches these: their programs come from FidelityFX DLLs and the pipeline library, so callers comparing reached
999 // entries with size() must leave them out. 1053 // entries with size() must leave them out.
@@ -1069,6 +1123,19 @@ public:
1069 return all; 1123 return all;
1070 } 1124 }
1071 1125
1126 // The module's file: <dir>/<name>.spv, or the index's spv file name when that one is missing.
1127 std::filesystem::path spirv_file(const ShaderEntry& entry) const {
1128 std::error_code ec;
1129 auto path = dir_;
1130 path += "/" + entry.name + ".spv";
1131 if (!std::filesystem::exists(path, ec) && !entry.spv_file.empty()) {
1132 auto alt = dir_;
1133 alt += "/" + entry.spv_file;
1134 return alt;
1135 }
1136 return path;
1137 }
1138
1072 // The size of the module's file in bytes, or 0 when it is missing: what spirv() would read, without reading it. 1139 // The size of the module's file in bytes, or 0 when it is missing: what spirv() would read, without reading it.
1073 std::size_t spirv_bytes(const ShaderEntry& entry) const { 1140 std::size_t spirv_bytes(const ShaderEntry& entry) const {
1074 std::error_code ec; 1141 std::error_code ec;
@@ -1083,6 +1150,20 @@ public:
1083 return ec ? 0 : static_cast<std::size_t>(size); 1150 return ec ? 0 : static_cast<std::size_t>(size);
1084 } 1151 }
1085 1152
1153 // Every entry of `stage` once, in name order, from every index (an entry reachable both by its FSSM and its FSPX
1154 // hash is one entry). gta6rt --precompile-pipelines builds them all.
1155 std::vector<const ShaderEntry*> stage_entries(std::string_view stage) const {
1156 std::map<std::pair<std::string_view, std::string_view>, const ShaderEntry*> unique;
1157 for (const Entries* map : {&entries_, &fspx_entries_})
1158 for (const auto& [key, list] : *map)
1159 for (const ShaderEntry& e : list)
1160 if (e.stage == stage) unique.emplace(std::pair<std::string_view, std::string_view>{e.name, e.spv_file}, &e);
1161 std::vector<const ShaderEntry*> out;
1162 out.reserve(unique.size());
1163 for (const auto& [key, e] : unique) out.push_back(e);
1164 return out;
1165 }
1166
1086 // The module's words, or empty when <dir>/<name>.spv is missing or not SPIR-V. 1167 // The module's words, or empty when <dir>/<name>.spv is missing or not SPIR-V.
1087 std::vector<std::uint32_t> spirv(const ShaderEntry& entry) const { 1168 std::vector<std::uint32_t> spirv(const ShaderEntry& entry) const {
1088 auto path = dir_; 1169 auto path = dir_;
@@ -1124,12 +1205,22 @@ private:
1124 template<typename Fail> 1205 template<typename Fail>
1125 bool load_index(const std::filesystem::path& dir, const std::string& prefix, Fail&& fail) { 1206 bool load_index(const std::filesystem::path& dir, const std::string& prefix, Fail&& fail) {
1126 const auto index = dir / "index.json"; 1207 const auto index = dir / "index.json";
1127 std::ifstream file(index, std::ios::binary); 1208#ifdef _WIN32
1209 auto* handle = _wfsopen(index.c_str(), L"rb", _SH_DENYNO);
1210#else
1211 auto* handle = std::fopen(index.c_str(), "rb");
1212#endif
1213 const auto close = [](std::FILE* f) { std::fclose(f); };
1214 std::unique_ptr<std::FILE, decltype(close)> file(handle, close);
1128 if (!file) { 1215 if (!file) {
1129 const auto path = index.u8string(); 1216 const auto path = index.u8string();
1130 return fail("cannot open " + std::string(path.begin(), path.end())); 1217 return fail("cannot open " + std::string(path.begin(), path.end()));
1131 } 1218 }
1132 const std::string text((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>()); 1219 std::string text;
1220 char block[16 * 1024];
1221 while (const auto count = std::fread(block, 1, sizeof block, file.get()))
1222 text.append(block, count);
1223 if (std::ferror(file.get())) return fail("index.json could not be read");
1133 constexpr std::string_view utf8_bom = "\xef\xbb\xbf"; 1224 constexpr std::string_view utf8_bom = "\xef\xbb\xbf";
1134 std::string_view json(text); 1225 std::string_view json(text);
1135 if (json.starts_with(utf8_bom)) json.remove_prefix(utf8_bom.size()); 1226 if (json.starts_with(utf8_bom)) json.remove_prefix(utf8_bom.size());
@@ -1146,6 +1237,7 @@ private:
1146 bvh_count_ = 0; 1237 bvh_count_ = 0;
1147 exe_count_ = 0; 1238 exe_count_ = 0;
1148 descriptor_hash_census_ = {}; 1239 descriptor_hash_census_ = {};
1240 descriptor_table_census_ = {};
1149 } 1241 }
1150 for (const auto& [name, meta] : root.object) { 1242 for (const auto& [name, meta] : root.object) {
1151 const Json* hash = meta.find("fssm_sha256"); 1243 const Json* hash = meta.find("fssm_sha256");
@@ -1241,6 +1333,13 @@ private:
1241 ++descriptor_hash_census_.fnv1a_fmix32; 1333 ++descriptor_hash_census_.fnv1a_fmix32;
1242 else 1334 else
1243 ++descriptor_hash_census_.fnv1a; 1335 ++descriptor_hash_census_.fnv1a;
1336 // Which entry layout this module reads (descriptor_table.h). Absent, or not a layout this runtime knows,
1337 // is the old plain one.
1338 if (const Json* dt = meta.find("descriptor_table");
1339 dt && dt->kind == Json::Kind::string && dt->string == "tagged")
1340 ++descriptor_table_census_.tagged;
1341 else
1342 ++descriptor_table_census_.plain;
1244 if (by_fspx) fspx_entries_[{e.stage, e.fspx_code_sha256}].push_back(e); 1343 if (by_fspx) fspx_entries_[{e.stage, e.fspx_code_sha256}].push_back(e);
1245 if (by_fssm) entries_[{e.stage, e.fssm_sha256}].push_back(std::move(e)); 1344 if (by_fssm) entries_[{e.stage, e.fssm_sha256}].push_back(std::move(e));
1246 if (by_fspx && (prefix == "fspx/" || prefix == "library/")) ++fspx_count_; 1345 if (by_fspx && (prefix == "fspx/" || prefix == "library/")) ++fspx_count_;
@@ -1264,6 +1363,7 @@ private:
1264 Entries entries_; 1363 Entries entries_;
1265 Entries fspx_entries_; 1364 Entries fspx_entries_;
1266 DescriptorHashCensus descriptor_hash_census_; 1365 DescriptorHashCensus descriptor_hash_census_;
1366 DescriptorTableCensus descriptor_table_census_;
1267}; 1367};
1268 1368
1269} // namespace leonida 1369} // namespace leonida
diff --git a/runtime/src/shadow_keep.h b/runtime/src/shadow_keep.h
new file mode 100644
index 000000000..a59752b49
--- /dev/null
+++ b/runtime/src/shadow_keep.h
@@ -0,0 +1,72 @@
1// What a shadow copy of the title's pages keeps of the GPU's writes (LEONIDA_SHADOW_KEEP, shims/
2// d3d12_vulkan_device.cpp ShadowPages). Some pages are copied at every refresh without a sign that the title wrote
3// them (mapped at two addresses, unguarded, reopened with the 64 KiB block around a written page, write-watched or
4// pinned): copied whole, their unchanged bytes overwrote what a shader had stored in the copy since. Here the title's
5// bytes are compared, per 256-byte piece of the title's address space, with a 64-bit sum of those copied last, and
6// only a piece that differs is copied. Portable: no Windows headers, no Vulkan.
7#pragma once
8
9#include <algorithm>
10#include <cstddef>
11#include <cstdint>
12#include <cstring>
13
14namespace leonida::shadow_keep {
15
16inline constexpr std::size_t kPiece = 256;
17
18// The sum of `n` bytes, never 0 (0 is "not known": the piece is copied at its next look).
19// Four independent lanes over 32 bytes a step, so the multiplies do not wait on each other: about the speed of a
20// copy (one chained lane read about 3.6 GB/s on an RTX 5080 machine's CPU, a copy about 18 GB/s).
21inline std::uint64_t sum_of(const std::uint8_t* bytes, std::size_t n) {
22 constexpr std::uint64_t k = 0xff51afd7ed558ccdull;
23 const auto rotl = [](std::uint64_t x, int r) { return (x << r) | (x >> (64 - r)); };
24 std::uint64_t a0 = 0x9e3779b97f4a7c15ull ^ n, a1 = 0xc2b2ae3d27d4eb4full, a2 = 0x165667b19e3779f9ull,
25 a3 = 0x27d4eb2f165667c5ull;
26 std::size_t i = 0;
27 for (; i + 32 <= n; i += 32) {
28 std::uint64_t v[4];
29 std::memcpy(v, bytes + i, 32);
30 a0 = rotl(a0 ^ v[0], 31) * k;
31 a1 = rotl(a1 ^ v[1], 31) * k;
32 a2 = rotl(a2 ^ v[2], 31) * k;
33 a3 = rotl(a3 ^ v[3], 31) * k;
34 }
35 for (; i < n; i += 8) {
36 std::uint64_t v = 0;
37 std::memcpy(&v, bytes + i, n - i < 8 ? n - i : 8);
38 a0 = rotl(a0 ^ v, 31) * k;
39 }
40 std::uint64_t h = a0 ^ rotl(a1, 17) ^ rotl(a2, 29) ^ rotl(a3, 47);
41 h ^= h >> 33;
42 h *= 0xc4ceb9fe1a85ec53ull;
43 h ^= h >> 29;
44 return h | 1; // 0: not known
45}
46
47// `bytes` holds the title's bytes [va, va + n) as read now. sums[k] is the sum of the piece at base + k * kPiece
48// (base kPiece-aligned) as last copied. Each piece, cut at kPiece boundaries of the address (the first and last may be
49// partial), whose bytes differ from its sum takes the new sum and is handed to copy(from, to, source).
50template <class Copy>
51void copy_changed(const std::uint8_t* bytes, std::uintptr_t va, std::size_t n, std::uint64_t* sums,
52 std::uintptr_t base, Copy&& copy) {
53 for (std::size_t off = 0; off < n;) {
54 const std::size_t piece = std::min<std::size_t>(n - off, kPiece - ((va + off) & (kPiece - 1)));
55 std::uint64_t& known = sums[(va + off - base) / kPiece];
56 const std::uint64_t sum = sum_of(bytes + off, piece);
57 if (sum != known) {
58 known = sum;
59 copy(va + off, va + off + piece, bytes + off);
60 }
61 off += piece;
62 }
63}
64
65// The pieces over [from, to) are not known any more (the copies were changed another way, as zeroed): each is copied
66// at its next look.
67inline void forget(std::uint64_t* sums, std::uintptr_t base, std::uintptr_t from, std::uintptr_t to) {
68 if (from >= to) return;
69 std::fill(sums + (from - base) / kPiece, sums + (to - base + kPiece - 1) / kPiece, std::uint64_t(0));
70}
71
72} // namespace leonida::shadow_keep
diff --git a/runtime/src/stub_pipeline.h b/runtime/src/stub_pipeline.h
new file mode 100644
index 000000000..1c4525488
--- /dev/null
+++ b/runtime/src/stub_pipeline.h
@@ -0,0 +1,222 @@
1#pragma once
2
3// Built-in stages for LEONIDA_STUB_PIPELINES (MVP-GPU-04): a graphics pipeline whose translated shader is missing is
4// still created as a real Vulkan pipeline, from a vertex and a pixel stage written here, so its draws go through the
5// replay path (render pass, attachments, layouts, push constants) and the validation layer like any other draw.
6//
7// The vertex stage reads no vertex input. With `cover` false (LEONIDA_STUB_PIPELINES=1) every vertex lands at the same
8// point outside the clip volume, so the draw rasterizes nothing: no game target changes, as with the old no-op stub.
9// With `cover` true (LEONIDA_STUB_PIPELINES=color) each run of three vertices is a triangle over the whole viewport
10// and the pixel stage writes stub_colour to every render target the pipeline declares, so a stubbed pass shows up.
11// Plain word building with no dependency beyond the standard library; d3d12_stub_pipelines_test draws with both.
12
13#include <cstdint>
14#include <cstring>
15#include <vector>
16
17namespace leonida {
18
19// What a pixel-stage output location holds, from its render-target format: D3D12 writes an integer format from an
20// integer output (SV_Target uint4 / int4), every other format from float.
21enum class StubOutput : std::uint8_t { none, float_, uint_, sint_ };
22
23// Magenta: exact in every UNORM format the layer draws to (4-bit channels included), 1 or 0 in integer ones.
24inline constexpr float stub_colour[4] = {1.0f, 0.0f, 1.0f, 1.0f};
25
26namespace stub_spirv {
27
28enum : std::uint32_t {
29 op_entry_point = 15, op_execution_mode = 16, op_capability = 17, op_memory_model = 14, op_type_void = 19,
30 op_type_int = 21, op_type_float = 22, op_type_vector = 23, op_type_pointer = 32, op_type_function = 33,
31 op_constant = 43, op_constant_composite = 44, op_function = 54, op_function_end = 56, op_variable = 59,
32 op_load = 61, op_store = 62, op_decorate = 71, op_composite_construct = 80, op_convert_s_to_f = 111,
33 op_f_sub = 131, op_f_mul = 133, op_s_mod = 139, op_shift_left_logical = 196, op_bitwise_and = 199, op_label = 248,
34 op_return = 253,
35};
36enum : std::uint32_t { storage_input = 1, storage_output = 3 };
37enum : std::uint32_t { decoration_builtin = 11, decoration_location = 30 };
38enum : std::uint32_t { builtin_position = 0, builtin_point_size = 1, builtin_vertex_index = 42 };
39enum : std::uint32_t { model_vertex = 0, model_fragment = 4, mode_origin_upper_left = 7 };
40
41inline std::uint32_t bits(float f) {
42 std::uint32_t u;
43 std::memcpy(&u, &f, 4);
44 return u;
45}
46
47// A module under construction: the header, then sections filled in SPIR-V's required order and joined by words().
48class Builder {
49public:
50 std::uint32_t id() { return next_++; }
51 void preamble(std::uint32_t op, std::initializer_list<std::uint32_t> operands) { put(head_, op, operands); }
52 void entry_point(std::uint32_t model, std::uint32_t function, const std::vector<std::uint32_t>& io) {
53 std::vector<std::uint32_t> operands = {model, function, 0x6e69616du /* "main" */, 0u};
54 operands.insert(operands.end(), io.begin(), io.end());
55 put_vector(entry_, op_entry_point, operands);
56 }
57 void execution_mode(std::initializer_list<std::uint32_t> operands) { put(entry_, op_execution_mode, operands); }
58 void decorate(std::initializer_list<std::uint32_t> operands) { put(decorations_, op_decorate, operands); }
59 void global(std::uint32_t op, std::initializer_list<std::uint32_t> operands) { put(globals_, op, operands); }
60 void code(std::uint32_t op, std::initializer_list<std::uint32_t> operands) { put(code_, op, operands); }
61 std::vector<std::uint32_t> words() const {
62 std::vector<std::uint32_t> w = {0x07230203u, 0x00010000u, 0, next_, 0};
63 for (const auto* section : {&head_, &entry_, &decorations_, &globals_, &code_})
64 w.insert(w.end(), section->begin(), section->end());
65 return w;
66 }
67
68private:
69 static void put(std::vector<std::uint32_t>& out, std::uint32_t op, std::initializer_list<std::uint32_t> operands) {
70 out.push_back(std::uint32_t(operands.size() + 1) << 16 | op);
71 out.insert(out.end(), operands.begin(), operands.end());
72 }
73 static void put_vector(std::vector<std::uint32_t>& out, std::uint32_t op, const std::vector<std::uint32_t>& operands) {
74 out.push_back(std::uint32_t(operands.size() + 1) << 16 | op);
75 out.insert(out.end(), operands.begin(), operands.end());
76 }
77 std::uint32_t next_ = 1;
78 std::vector<std::uint32_t> head_, entry_, decorations_, globals_, code_;
79};
80
81} // namespace stub_spirv
82
83// The vertex stage. Position is a bare Output variable, not a gl_PerVertex block, so rect_list_geometry can take this
84// stage as it takes a translated one. `points`: the pipeline draws point lists, which need PointSize written.
85inline std::vector<std::uint32_t> stub_vertex_stage(bool cover, bool points) {
86 using namespace stub_spirv;
87 Builder b;
88 b.preamble(op_capability, {1 /* Shader */});
89 b.preamble(op_memory_model, {0 /* Logical */, 1 /* GLSL450 */});
90 const std::uint32_t t_void = b.id(), t_fn = b.id(), t_float = b.id(), t_vec4 = b.id(), t_int = b.id();
91 const std::uint32_t p_out_vec4 = b.id(), p_out_float = b.id(), p_in_int = b.id();
92 b.global(op_type_void, {t_void});
93 b.global(op_type_function, {t_fn, t_void});
94 b.global(op_type_float, {t_float, 32});
95 b.global(op_type_vector, {t_vec4, t_float, 4});
96 b.global(op_type_int, {t_int, 32, 1});
97 b.global(op_type_pointer, {p_out_vec4, storage_output, t_vec4});
98 b.global(op_type_pointer, {p_out_float, storage_output, t_float});
99 b.global(op_type_pointer, {p_in_int, storage_input, t_int});
100 const std::uint32_t f0 = b.id(), f1 = b.id(), f2 = b.id(), i1 = b.id(), i2 = b.id(), i3 = b.id();
101 b.global(op_constant, {t_float, f0, bits(0.0f)});
102 b.global(op_constant, {t_float, f1, bits(1.0f)});
103 b.global(op_constant, {t_float, f2, bits(2.0f)});
104 b.global(op_constant, {t_int, i1, 1});
105 b.global(op_constant, {t_int, i2, 2});
106 b.global(op_constant, {t_int, i3, 3});
107
108 const std::uint32_t position = b.id();
109 b.global(op_variable, {p_out_vec4, position, storage_output});
110 b.decorate({position, decoration_builtin, builtin_position});
111 std::vector<std::uint32_t> io = {position};
112 std::uint32_t point_size = 0, vertex_index = 0;
113 if (points) {
114 point_size = b.id();
115 b.global(op_variable, {p_out_float, point_size, storage_output});
116 b.decorate({point_size, decoration_builtin, builtin_point_size});
117 io.push_back(point_size);
118 }
119 if (cover) {
120 vertex_index = b.id();
121 b.global(op_variable, {p_in_int, vertex_index, storage_input});
122 b.decorate({vertex_index, decoration_builtin, builtin_vertex_index});
123 io.push_back(vertex_index);
124 }
125 std::uint32_t outside = 0;
126 if (!cover) { // x = y = 2w: past the right and top clip planes for every vertex
127 outside = b.id();
128 b.global(op_constant_composite, {t_vec4, outside, f2, f2, f0, f1});
129 }
130
131 const std::uint32_t main = b.id(), label = b.id();
132 b.entry_point(model_vertex, main, io);
133 b.code(op_function, {t_void, main, 0, t_fn});
134 b.code(op_label, {label});
135 std::uint32_t value = outside;
136 if (cover) { // the full-viewport triangle (-1,-1) (3,-1) (-1,3) from VertexIndex % 3
137 const std::uint32_t vi = b.id(), m = b.id(), sh = b.id(), xi = b.id(), yi = b.id(), xf = b.id(), yf = b.id(),
138 x2 = b.id(), y2 = b.id(), x = b.id(), y = b.id(), pos = b.id();
139 b.code(op_load, {t_int, vi, vertex_index});
140 b.code(op_s_mod, {t_int, m, vi, i3});
141 b.code(op_shift_left_logical, {t_int, sh, m, i1});
142 b.code(op_bitwise_and, {t_int, xi, sh, i2});
143 b.code(op_bitwise_and, {t_int, yi, m, i2});
144 b.code(op_convert_s_to_f, {t_float, xf, xi});
145 b.code(op_convert_s_to_f, {t_float, yf, yi});
146 b.code(op_f_mul, {t_float, x2, xf, f2});
147 b.code(op_f_mul, {t_float, y2, yf, f2});
148 b.code(op_f_sub, {t_float, x, x2, f1});
149 b.code(op_f_sub, {t_float, y, y2, f1});
150 b.code(op_composite_construct, {t_vec4, pos, x, y, f0, f1});
151 value = pos;
152 }
153 b.code(op_store, {position, value});
154 if (points) b.code(op_store, {point_size, f1});
155 b.code(op_return, {});
156 b.code(op_function_end, {});
157 return b.words();
158}
159
160// The pixel stage: stub_colour to output location i for each outputs[i] that is not none.
161inline std::vector<std::uint32_t> stub_pixel_stage(const std::vector<StubOutput>& outputs) {
162 using namespace stub_spirv;
163 Builder b;
164 b.preamble(op_capability, {1 /* Shader */});
165 b.preamble(op_memory_model, {0 /* Logical */, 1 /* GLSL450 */});
166 const std::uint32_t t_void = b.id(), t_fn = b.id(), t_float = b.id(), t_int = b.id(), t_uint = b.id();
167 const std::uint32_t t_vec4 = b.id(), t_ivec4 = b.id(), t_uvec4 = b.id();
168 const std::uint32_t p_vec4 = b.id(), p_ivec4 = b.id(), p_uvec4 = b.id();
169 b.global(op_type_void, {t_void});
170 b.global(op_type_function, {t_fn, t_void});
171 b.global(op_type_float, {t_float, 32});
172 b.global(op_type_int, {t_int, 32, 1});
173 b.global(op_type_int, {t_uint, 32, 0});
174 b.global(op_type_vector, {t_vec4, t_float, 4});
175 b.global(op_type_vector, {t_ivec4, t_int, 4});
176 b.global(op_type_vector, {t_uvec4, t_uint, 4});
177 b.global(op_type_pointer, {p_vec4, storage_output, t_vec4});
178 b.global(op_type_pointer, {p_ivec4, storage_output, t_ivec4});
179 b.global(op_type_pointer, {p_uvec4, storage_output, t_uvec4});
180 const std::uint32_t f0 = b.id(), f1 = b.id(), i0 = b.id(), i1 = b.id(), u0 = b.id(), u1 = b.id();
181 b.global(op_constant, {t_float, f0, bits(0.0f)});
182 b.global(op_constant, {t_float, f1, bits(1.0f)});
183 b.global(op_constant, {t_int, i0, 0});
184 b.global(op_constant, {t_int, i1, 1});
185 b.global(op_constant, {t_uint, u0, 0});
186 b.global(op_constant, {t_uint, u1, 1});
187 const auto channel = [&](float c, std::uint32_t zero, std::uint32_t one) { return c != 0.0f ? one : zero; };
188 const std::uint32_t c_vec4 = b.id(), c_ivec4 = b.id(), c_uvec4 = b.id();
189 b.global(op_constant_composite, {t_vec4, c_vec4, channel(stub_colour[0], f0, f1), channel(stub_colour[1], f0, f1),
190 channel(stub_colour[2], f0, f1), channel(stub_colour[3], f0, f1)});
191 b.global(op_constant_composite, {t_ivec4, c_ivec4, channel(stub_colour[0], i0, i1), channel(stub_colour[1], i0, i1),
192 channel(stub_colour[2], i0, i1), channel(stub_colour[3], i0, i1)});
193 b.global(op_constant_composite, {t_uvec4, c_uvec4, channel(stub_colour[0], u0, u1), channel(stub_colour[1], u0, u1),
194 channel(stub_colour[2], u0, u1), channel(stub_colour[3], u0, u1)});
195
196 struct Out {
197 std::uint32_t variable, value;
198 };
199 std::vector<Out> written;
200 std::vector<std::uint32_t> io;
201 for (std::uint32_t location = 0; location < outputs.size(); ++location) {
202 if (outputs[location] == StubOutput::none) continue;
203 const bool sint = outputs[location] == StubOutput::sint_, uint = outputs[location] == StubOutput::uint_;
204 const std::uint32_t variable = b.id();
205 b.global(op_variable, {sint ? p_ivec4 : uint ? p_uvec4 : p_vec4, variable, storage_output});
206 b.decorate({variable, decoration_location, location});
207 io.push_back(variable);
208 written.push_back({variable, sint ? c_ivec4 : uint ? c_uvec4 : c_vec4});
209 }
210
211 const std::uint32_t main = b.id(), label = b.id();
212 b.entry_point(model_fragment, main, io);
213 b.execution_mode({main, mode_origin_upper_left});
214 b.code(op_function, {t_void, main, 0, t_fn});
215 b.code(op_label, {label});
216 for (const Out& out : written) b.code(op_store, {out.variable, out.value});
217 b.code(op_return, {});
218 b.code(op_function_end, {});
219 return b.words();
220}
221
222} // namespace leonida
diff --git a/runtime/src/subgroup_size.h b/runtime/src/subgroup_size.h
index 0241c4db8..816201c20 100644
--- a/runtime/src/subgroup_size.h
+++ b/runtime/src/subgroup_size.h
@@ -121,17 +121,21 @@ inline SubgroupRequest decide_subgroup_size(const ShaderEntry& entry, const Subg
121 return r; 121 return r;
122 } 122 }
123 r.wanted = entry.subgroup_size ? entry.subgroup_size : (entry.wave64 ? 64 : 32); 123 r.wanted = entry.subgroup_size ? entry.subgroup_size : (entry.wave64 ? 64 : 32);
124 if (!caps.default_size && !caps.max_size) { 124 // VkPhysicalDeviceSubgroupSizeControlProperties guarantees power-of-two bounds with 1 <= min <= max; a half-zero
125 // (min == 0, max > 0), inverted, or non-power-of-two range cannot prove requiredSubgroupSize is valid (-02761).
126 const bool valid_range = subgroup_is_power_of_two(caps.min_size) && subgroup_is_power_of_two(caps.max_size) &&
127 caps.min_size <= caps.max_size;
128 if (!caps.default_size && !valid_range) {
125 r.outcome = SubgroupOutcome::unknown_device; 129 r.outcome = SubgroupOutcome::unknown_device;
126 return r; 130 return r;
127 } 131 }
128 132
129 const bool compute_like = r.stage == VK_SHADER_STAGE_COMPUTE_BIT || r.stage == VK_SHADER_STAGE_MESH_BIT_EXT; 133 const bool compute_like = r.stage == VK_SHADER_STAGE_COMPUTE_BIT || r.stage == VK_SHADER_STAGE_MESH_BIT_EXT;
130 const std::uint64_t max_invocations = std::uint64_t(r.wanted) * caps.max_compute_workgroup_subgroups; 134 const std::uint64_t max_invocations = std::uint64_t(r.wanted) * caps.max_compute_workgroup_subgroups;
131 const bool fixed = caps.min_size && caps.min_size == caps.max_size && caps.min_size == r.wanted; 135 const bool fixed = valid_range && caps.min_size == caps.max_size && caps.min_size == r.wanted;
132 const bool requirable = 136 const bool requirable =
133 caps.subgroup_size_control && (caps.required_stages & r.stage) && subgroup_is_power_of_two(r.wanted) && 137 valid_range && caps.subgroup_size_control && (caps.required_stages & r.stage) &&
134 r.wanted >= caps.min_size && r.wanted <= caps.max_size && 138 subgroup_is_power_of_two(r.wanted) && r.wanted >= caps.min_size && r.wanted <= caps.max_size &&
135 (!compute_like || subgroup_workgroup_fits(entry.local_size, max_invocations)); 139 (!compute_like || subgroup_workgroup_fits(entry.local_size, max_invocations));
136 140
137 if (fixed) { 141 if (fixed) {
diff --git a/runtime/src/submit_phases.h b/runtime/src/submit_phases.h
index 981883a59..747c69de0 100644
--- a/runtime/src/submit_phases.h
+++ b/runtime/src/submit_phases.h
@@ -25,12 +25,14 @@ enum Phase : unsigned {
25 shadows, // slot-133 shadow buffers and title windows (ShadowPages::refresh) 25 shadows, // slot-133 shadow buffers and title windows (ShadowPages::refresh)
26 geometry, // GeometryViews::refresh 26 geometry, // GeometryViews::refresh
27 textures, // Device::refresh_title_textures 27 textures, // Device::refresh_title_textures
28 pipelines, // no longer timed (the pre-pass that waited for pipelines is gone); kept for the column order
28 replay, // the rest of execute_now: preparing, recording and submitting the lists 29 replay, // the rest of execute_now: preparing, recording and submitting the lists
29 kCount 30 kCount
30}; 31};
31 32
32inline const char* name(unsigned p) { 33inline const char* name(unsigned p) {
33 static const char* const names[kCount] = {"wait", "heaps", "shadows", "geometry", "textures", "replay"}; 34 static const char* const names[kCount] = {"wait", "heaps", "shadows", "geometry", "textures", "pipes",
35 "replay"};
34 return p < kCount ? names[p] : "?"; 36 return p < kCount ? names[p] : "?";
35} 37}
36 38
@@ -41,6 +43,10 @@ struct Totals {
41 std::atomic<std::int64_t> last_log{0}; 43 std::atomic<std::int64_t> last_log{0};
42 std::atomic<std::uint64_t> presents{0}; // frames the presenter showed (VulkanPresenter), since the last line 44 std::atomic<std::uint64_t> presents{0}; // frames the presenter showed (VulkanPresenter), since the last line
43 std::atomic<std::uint64_t> present_serial{0}; // the same, never reset (LEONIDA_REFRESH_PER_FRAME) 45 std::atomic<std::uint64_t> present_serial{0}; // the same, never reset (LEONIDA_REFRESH_PER_FRAME)
46 // Threads whose innermost Scope is this phase now, and when the first of them entered it (steady_clock). Counted
47 // per phase, since queues submit from several threads: one value would go stale when their scopes overlap.
48 std::atomic<unsigned> active[kCount]{};
49 std::atomic<std::int64_t> active_since[kCount]{};
44 std::atomic<std::uint32_t> thread{0}; // the thread of the last submission (the thread sampler reports it apart) 50 std::atomic<std::uint32_t> thread{0}; // the thread of the last submission (the thread sampler reports it apart)
45}; 51};
46inline Totals& totals() { 52inline Totals& totals() {
@@ -107,22 +113,74 @@ inline void add(Phase p, std::uint64_t ns) {
107 } 113 }
108} 114}
109 115
110// Times its own lifetime into a phase. When the periodic line is disabled (period == 0), skips the 116// Whether a Scope times anything: the periodic line (period_ns() > 0) or LEONIDA_DEV_OVERLAY=1 (src/dev_overlay.h,
111// steady_clock reads and atomic updates completely. 117// which reads the phase totals and the active phase itself) wants it. Decided once per process.
118inline bool timing_wanted() {
119 static const bool on = [] {
120 if (period_ns() > 0) return true;
121#ifdef _WIN32
122 char value[3]{};
123 std::size_t length = 0;
124 return getenv_s(&length, value, sizeof value, "LEONIDA_DEV_OVERLAY") == 0 && length == 2 && value[0] == '1';
125#else
126 const char* value = std::getenv("LEONIDA_DEV_OVERLAY");
127 return value && value[0] == '1' && !value[1];
128#endif
129 }();
130 return on;
131}
132
133// Times its own lifetime into a phase. When nothing reads the times (timing_wanted() is false: the periodic line is
134// off and so is the dev overlay), skips the steady_clock reads and atomic updates completely.
112struct Scope { 135struct Scope {
113 Phase phase; 136 Phase phase;
114 bool active = period_ns() > 0; 137 bool active = timing_wanted();
115 std::int64_t start = active ? now_ns() : 0; 138 std::int64_t start = active ? now_ns() : 0;
116 explicit Scope(Phase p) : phase(p) {} 139 int outer = -1; // the phase of this thread's Scope around this one, -1 for none
140 explicit Scope(Phase p) : phase(p) {
141 if (!active) return;
142 outer = innermost();
143 if (outer >= 0) leave(outer);
144 enter(int(p), start);
145 innermost() = int(p);
146 }
117 ~Scope() { 147 ~Scope() {
118 if (!active) return; 148 if (!active) return;
119 const std::int64_t dt = now_ns() - start; 149 const std::int64_t end = now_ns();
120 if (dt > 0) add(phase, static_cast<std::uint64_t>(dt)); 150 if (end > start) add(phase, std::uint64_t(end - start));
151 leave(int(phase));
152 if (outer >= 0) enter(outer, end);
153 innermost() = outer;
154 }
155 static int& innermost() {
156 thread_local int phase_of_this_thread = -1;
157 return phase_of_this_thread;
121 } 158 }
159 static void enter(int p, std::int64_t at) {
160 Totals& t = totals();
161 if (t.active[p].fetch_add(1, std::memory_order_relaxed) == 0) t.active_since[p].store(at, std::memory_order_relaxed);
162 }
163 static void leave(int p) { totals().active[p].fetch_sub(1, std::memory_order_relaxed); }
122 Scope(const Scope&) = delete; 164 Scope(const Scope&) = delete;
123 Scope& operator=(const Scope&) = delete; 165 Scope& operator=(const Scope&) = delete;
124}; 166};
125 167
168// The phase that some thread has been in longest, -1 when none is in one.
169struct Running {
170 int phase = -1;
171 std::int64_t since = 0;
172};
173inline Running running() {
174 Totals& t = totals();
175 Running r;
176 for (unsigned p = 0; p < kCount; ++p) {
177 if (!t.active[p].load(std::memory_order_relaxed)) continue;
178 const std::int64_t since = t.active_since[p].load(std::memory_order_relaxed);
179 if (r.phase < 0 || since < r.since) r = {int(p), since};
180 }
181 return r;
182}
183
126// After each submission: counts it, and prints the line when the period has passed. One thread wins the line. 184// After each submission: counts it, and prints the line when the period has passed. One thread wins the line.
127inline void submitted() { 185inline void submitted() {
128 Totals& t = totals(); 186 Totals& t = totals();
@@ -151,14 +209,15 @@ inline void submitted() {
151 all += total; 209 all += total;
152 } 210 }
153 std::fprintf(stderr, 211 std::fprintf(stderr,
154 "[rt] submit phases t=%.0fs: %llu submissions in %.1f s (%.2f/s, %llu in all), %.2f frames/s; ms per submission " 212 "[rt] submit phases t=%.0fs: %llu submissions in %.1f s (%.2f/s, %llu in all), %.2f frames/s; ms per "
155 "(max): %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f); " 213 "submission (max): %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f (%.0f) %s %.2f "
214 "(%.0f) %s %.2f (%.0f); "
156 "%.0f%% of the wall time\n", 215 "%.0f%% of the wall time\n",
157 process_age(), static_cast<unsigned long long>(n), seconds, double(n) / seconds, 216 process_age(), static_cast<unsigned long long>(n), seconds, double(n) / seconds,
158 static_cast<unsigned long long>(t.all_submissions.load(std::memory_order_relaxed)), 217 static_cast<unsigned long long>(t.all_submissions.load(std::memory_order_relaxed)),
159 double(frames) / seconds, name(0), ms[0], 218 double(frames) / seconds, name(0), ms[0],
160 max_ms[0], name(1), ms[1], max_ms[1], name(2), ms[2], max_ms[2], name(3), ms[3], max_ms[3], name(4), 219 max_ms[0], name(1), ms[1], max_ms[1], name(2), ms[2], max_ms[2], name(3), ms[3], max_ms[3], name(4),
161 ms[4], max_ms[4], name(5), ms[5], max_ms[5], 100.0 * all * 1e-3 / seconds); 220 ms[4], max_ms[4], name(5), ms[5], max_ms[5], name(6), ms[6], max_ms[6], 100.0 * all * 1e-3 / seconds);
162} 221}
163 222
164} // namespace leonida::submit_phases 223} // namespace leonida::submit_phases
diff --git a/runtime/src/thread_sampler.h b/runtime/src/thread_sampler.h
index 282eb20dd..0c18949ce 100644
--- a/runtime/src/thread_sampler.h
+++ b/runtime/src/thread_sampler.h
@@ -44,6 +44,9 @@ struct Sampler {
44 // LEONIDA_SAMPLE_DETAIL=<id>[,<id>...]: for these threads, the 10 most frequent chains, 16 frames deep, each as a 44 // LEONIDA_SAMPLE_DETAIL=<id>[,<id>...]: for these threads, the 10 most frequent chains, 16 frames deep, each as a
45 // share of that thread's samples (thread ids are stable from boot to boot: the title's main, render and submit). 45 // share of that thread's samples (thread ids are stable from boot to boot: the title's main, render and submit).
46 std::vector<DWORD> detail; 46 std::vector<DWORD> detail;
47 // LEONIDA_SAMPLE_FIND=<rva>[,<rva>...] (title function starts): which threads have the function on their stack
48 // (48 frames deep), how often, and their most frequent chain under it, every report.
49 std::vector<std::uint64_t> find;
47}; 50};
48 51
49// Per title thread (one with a title frame in its chain): how many samples were inside our runtime, and through which 52// Per title thread (one with a title frame in its chain): how many samples were inside our runtime, and through which
@@ -151,6 +154,7 @@ inline DWORD WINAPI run(LPVOID parameter) {
151 constexpr int kDetailFrames = 16; 154 constexpr int kDetailFrames = 16;
152 using DetailChain = std::array<std::uint64_t, kDetailFrames>; 155 using DetailChain = std::array<std::uint64_t, kDetailFrames>;
153 std::map<std::pair<DWORD, DetailChain>, std::uint64_t> detail_chains; 156 std::map<std::pair<DWORD, DetailChain>, std::uint64_t> detail_chains;
157 std::map<std::pair<std::uint64_t, DWORD>, std::map<DetailChain, std::uint64_t>> found; // (rva, thread) -> chains
154 std::uint64_t total = 0; 158 std::uint64_t total = 0;
155 ULONGLONG listed = 0, reported = GetTickCount64(); 159 ULONGLONG listed = 0, reported = GetTickCount64();
156 const auto cpu_of = [](HANDLE h) { 160 const auto cpu_of = [](HANDLE h) {
@@ -205,11 +209,20 @@ inline DWORD WINAPI run(LPVOID parameter) {
205 unwind(context, deep); 209 unwind(context, deep);
206 ++detail_chains[{it->first, deep}]; 210 ++detail_chains[{it->first, deep}];
207 } 211 }
208 if (s.shims) { 212 if (s.shims || !s.find.empty()) {
209 DeepChain deep{}; 213 DeepChain deep{};
210 const int n = unwind(context, deep); 214 const int n = unwind(context, deep);
211 std::copy_n(deep.begin(), kFrames, chain.begin()); 215 std::copy_n(deep.begin(), kFrames, chain.begin());
212 count_shims(s, deep, n, moved, shim_counts[it->first]); 216 if (s.shims) count_shims(s, deep, n, moved, shim_counts[it->first]);
217 const auto title = reinterpret_cast<std::uint64_t>(s.title);
218 for (const std::uint64_t rva : s.find)
219 for (int f = 0; f < n; ++f)
220 if (deep[f] == title + rva) {
221 DetailChain inner{};
222 std::copy_n(deep.begin(), (std::min)(kDetailFrames, n), inner.begin());
223 ++found[{rva, it->first}][inner];
224 break;
225 }
213 } else { 226 } else {
214 unwind(context, chain); 227 unwind(context, chain);
215 } 228 }
@@ -299,6 +312,23 @@ inline DWORD WINAPI run(LPVOID parameter) {
299 } 312 }
300 } 313 }
301 detail_chains.clear(); 314 detail_chains.clear();
315 for (const auto& [key, chains_of] : found) {
316 std::uint64_t all = 0;
317 const DetailChain* top = nullptr;
318 std::uint64_t top_n = 0;
319 for (const auto& [c, n] : chains_of) {
320 all += n;
321 if (n > top_n) top_n = n, top = &c;
322 }
323 std::string frames;
324 for (int f = 0; top && f < kDetailFrames && (*top)[f]; ++f) frames += (f ? " < " : "") + name_of(s, (*top)[f]);
325 const auto t = threads.find(key.second);
326 std::fprintf(stderr, "[rt] sampler: find t+%llx: thread %lu %llu samples of %llu; top chain (%llu): %s\n",
327 static_cast<unsigned long long>(key.first), key.second, static_cast<unsigned long long>(all),
328 static_cast<unsigned long long>(t == threads.end() ? 0 : t->second.samples),
329 static_cast<unsigned long long>(top_n), frames.c_str());
330 }
331 found.clear();
302 if (s.shims) { 332 if (s.shims) {
303 // Title threads by their samples inside our runtime: where the title's own threads (its main, render and 333 // Title threads by their samples inside our runtime: where the title's own threads (its main, render and
304 // Subrender workers, streaming) spend time in our shims, waiting or running. 334 // Subrender workers, streaming) spend time in our shims, waiting or running.
@@ -386,6 +416,15 @@ inline void start(std::uint8_t* title, std::uint64_t title_size) {
386 if (id) s.detail.push_back(DWORD(id)); 416 if (id) s.detail.push_back(DWORD(id));
387 at = *end == ',' ? end + 1 : end; 417 at = *end == ',' ? end + 1 : end;
388 } 418 }
419 char finds[256] = {};
420 if (const DWORD n = GetEnvironmentVariableA("LEONIDA_SAMPLE_FIND", finds, sizeof(finds)); n && n < sizeof(finds))
421 for (char* at = finds; *at;) {
422 char* end = nullptr;
423 const std::uint64_t rva = std::strtoull(at, &end, 16);
424 if (end == at) break;
425 if (rva) s.find.push_back(rva);
426 at = *end == ',' ? end + 1 : end;
427 }
389 char shims[4] = {}; 428 char shims[4] = {};
390 s.shims = GetEnvironmentVariableA("LEONIDA_SAMPLE_SHIMS", shims, sizeof(shims)) == 1 && shims[0] == '1'; 429 s.shims = GetEnvironmentVariableA("LEONIDA_SAMPLE_SHIMS", shims, sizeof(shims)) == 1 && shims[0] == '1';
391 if (const auto self = reinterpret_cast<const std::uint8_t*>(GetModuleHandleW(nullptr))) { 430 if (const auto self = reinterpret_cast<const std::uint8_t*>(GetModuleHandleW(nullptr))) {
diff --git a/runtime/src/thread_stacks.cpp b/runtime/src/thread_stacks.cpp
index 67188d908..d87d91482 100644
--- a/runtime/src/thread_stacks.cpp
+++ b/runtime/src/thread_stacks.cpp
@@ -9,6 +9,7 @@
9#include <chrono> 9#include <chrono>
10#include <condition_variable> 10#include <condition_variable>
11#include <cstdio> 11#include <cstdio>
12#include <limits>
12#include <mutex> 13#include <mutex>
13#include <string> 14#include <string>
14 15
@@ -39,12 +40,18 @@ bool copy_context_and_stack(HANDLE thread, CONTEXT& context, std::byte* buffer,
39 region.State == MEM_COMMIT && !(region.Protect & (PAGE_GUARD | PAGE_NOACCESS))) { 40 region.State == MEM_COMMIT && !(region.Protect & (PAGE_GUARD | PAGE_NOACCESS))) {
40 // From RSP (rounded down to keep the 16-byte alignment the copy buffer also has) to the top of the committed 41 // From RSP (rounded down to keep the 16-byte alignment the copy buffer also has) to the top of the committed
41 // run of stack pages, at most kMaxStackBytes. 42 // run of stack pages, at most kMaxStackBytes.
43 const DWORD64 base = reinterpret_cast<DWORD64>(region.BaseAddress);
42 stack.original = context.Rsp & ~DWORD64(15); 44 stack.original = context.Rsp & ~DWORD64(15);
43 const DWORD64 top = reinterpret_cast<DWORD64>(region.BaseAddress) + region.RegionSize; 45 if (region.RegionSize > 0 && region.RegionSize <= std::numeric_limits<DWORD64>::max() - base) {
44 stack.size = static_cast<size_t>(std::min<DWORD64>(StackSampler::kMaxStackBytes, top - stack.original)); 46 const DWORD64 top = base + region.RegionSize;
45 SIZE_T read = 0; 47 if (stack.original >= base && top > stack.original) {
46 copied = ReadProcessMemory(GetCurrentProcess(), reinterpret_cast<void*>(stack.original), buffer, stack.size, 48 stack.size = static_cast<size_t>(std::min<DWORD64>(StackSampler::kMaxStackBytes, top - stack.original));
47 &read) && read == stack.size; 49 SIZE_T read = 0;
50 copied = ReadProcessMemory(GetCurrentProcess(), reinterpret_cast<void*>(stack.original), buffer,
51 stack.size, &read) &&
52 read == stack.size;
53 }
54 }
48 } 55 }
49 ResumeThread(thread); 56 ResumeThread(thread);
50 stack.copy = reinterpret_cast<DWORD64>(buffer); 57 stack.copy = reinterpret_cast<DWORD64>(buffer);
@@ -79,7 +86,8 @@ size_t walk_copy(CONTEXT& context, const CopiedStack& stack, std::uint64_t* fram
79 if (address >= stack.original && address - stack.original < stack.size) address += stack.copy - stack.original; 86 if (address >= stack.original && address - stack.original < stack.size) address += stack.copy - stack.original;
80 }; 87 };
81 const auto in_copy = [&](DWORD64 address) { 88 const auto in_copy = [&](DWORD64 address) {
82 return address >= stack.copy && address - stack.copy + sizeof(DWORD64) <= stack.size; 89 return stack.size >= sizeof(DWORD64) && address >= stack.copy &&
90 address - stack.copy <= stack.size - sizeof(DWORD64);
83 }; 91 };
84 size_t count = 0; 92 size_t count = 0;
85 rebase(context.Rsp); 93 rebase(context.Rsp);
@@ -102,7 +110,10 @@ std::string thread_label(HANDLE thread, GetDescription describe, QueryThread que
102 if (describe) { 110 if (describe) {
103 PWSTR description = nullptr; 111 PWSTR description = nullptr;
104 if (SUCCEEDED(describe(thread, &description)) && description) { 112 if (SUCCEEDED(describe(thread, &description)) && description) {
105 std::string name = startup_trace::detail::utf8_from_wide(description, static_cast<int>(wcslen(description))); 113 const size_t wide_len = wcslen(description);
114 const int clamped = static_cast<int>(
115 std::min<size_t>(wide_len, static_cast<size_t>(std::numeric_limits<int>::max())));
116 std::string name = startup_trace::detail::utf8_from_wide(description, clamped);
106 LocalFree(description); 117 LocalFree(description);
107 if (!name.empty()) return name; 118 if (!name.empty()) return name;
108 } 119 }
@@ -121,10 +132,10 @@ struct ThreadTrace {
121 size_t count = 0; 132 size_t count = 0;
122}; 133};
123 134
124void print_traces(unsigned at, const std::vector<ThreadTrace>& traces) { 135void print_traces(const std::string& tag, const std::vector<ThreadTrace>& traces) {
125 std::string out = "[rt] stacks t=" + std::to_string(at) + ": " + std::to_string(traces.size()) + " threads\n"; 136 std::string out = "[rt] stacks " + tag + ": " + std::to_string(traces.size()) + " threads\n";
126 for (auto it = traces.begin(); it != traces.end(); ++it) { 137 for (auto it = traces.begin(); it != traces.end(); ++it) {
127 out += "[rt] stacks t=" + std::to_string(at) + " thread " + std::to_string(it->tid) + " (" + it->label + "):\n"; 138 out += "[rt] stacks " + tag + " thread " + std::to_string(it->tid) + " (" + it->label + "):\n";
128 const auto same = std::find_if(traces.begin(), it, [&](const ThreadTrace& earlier) { 139 const auto same = std::find_if(traces.begin(), it, [&](const ThreadTrace& earlier) {
129 return it->count && it->count == earlier.count && 140 return it->count && it->count == earlier.count &&
130 std::equal(it->frames.begin(), it->frames.begin() + it->count, earlier.frames.begin()); 141 std::equal(it->frames.begin(), it->frames.begin() + it->count, earlier.frames.begin());
@@ -142,10 +153,11 @@ void print_traces(unsigned at, const std::vector<ThreadTrace>& traces) {
142 std::fflush(stderr); 153 std::fflush(stderr);
143} 154}
144 155
145void snapshot_threads(unsigned at, StackSampler& sampler, GetDescription describe, QueryThread query) { 156void snapshot_threads(const std::string& tag, StackSampler& sampler, GetDescription describe, QueryThread query,
157 DWORD only = 0) {
146 const HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); 158 const HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
147 if (snapshot == INVALID_HANDLE_VALUE) { 159 if (snapshot == INVALID_HANDLE_VALUE) {
148 std::fprintf(stderr, "[rt] stacks t=%u: thread list failed (error %lu)\n", at, GetLastError()); 160 std::fprintf(stderr, "[rt] stacks %s: thread list failed (error %lu)\n", tag.c_str(), GetLastError());
149 return; 161 return;
150 } 162 }
151 std::vector<ThreadTrace> traces; 163 std::vector<ThreadTrace> traces;
@@ -157,6 +169,7 @@ void snapshot_threads(unsigned at, StackSampler& sampler, GetDescription describ
157 for (BOOL ok = Thread32First(snapshot, &entry); ok; ok = Thread32Next(snapshot, &entry)) { 169 for (BOOL ok = Thread32First(snapshot, &entry); ok; ok = Thread32Next(snapshot, &entry)) {
158 entry.dwSize = sizeof(entry); 170 entry.dwSize = sizeof(entry);
159 if (entry.th32OwnerProcessID != pid || entry.th32ThreadID == self) continue; 171 if (entry.th32OwnerProcessID != pid || entry.th32ThreadID == self) continue;
172 if (only && entry.th32ThreadID != only) continue;
160 const HANDLE thread = OpenThread(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_QUERY_INFORMATION, 173 const HANDLE thread = OpenThread(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_QUERY_INFORMATION,
161 FALSE, entry.th32ThreadID); 174 FALSE, entry.th32ThreadID);
162 if (!thread) continue; 175 if (!thread) continue;
@@ -169,7 +182,7 @@ void snapshot_threads(unsigned at, StackSampler& sampler, GetDescription describ
169 CloseHandle(thread); 182 CloseHandle(thread);
170 } 183 }
171 CloseHandle(snapshot); 184 CloseHandle(snapshot);
172 print_traces(at, traces); 185 print_traces(tag, traces);
173} 186}
174 187
175} // namespace 188} // namespace
@@ -177,6 +190,7 @@ void snapshot_threads(unsigned at, StackSampler& sampler, GetDescription describ
177StackSampler::StackSampler() : stack_(std::make_unique_for_overwrite<std::byte[]>(kMaxStackBytes)) {} 190StackSampler::StackSampler() : stack_(std::make_unique_for_overwrite<std::byte[]>(kMaxStackBytes)) {}
178 191
179std::size_t StackSampler::sample(void* thread, std::uint64_t* frames) { 192std::size_t StackSampler::sample(void* thread, std::uint64_t* frames) {
193 if (!thread || !frames) return 0;
180 CONTEXT context{}; 194 CONTEXT context{};
181 CopiedStack stack; 195 CopiedStack stack;
182 if (!copy_context_and_stack(static_cast<HANDLE>(thread), context, stack_.get(), stack)) { 196 if (!copy_context_and_stack(static_cast<HANDLE>(thread), context, stack_.get(), stack)) {
@@ -207,6 +221,20 @@ bool parse_stack_times(std::string_view text, std::vector<unsigned>& seconds) {
207 return true; 221 return true;
208} 222}
209 223
224void print_thread_stacks_now(std::uint32_t tid, const char* why) noexcept {
225 static std::mutex mutex;
226 try {
227 std::lock_guard lock(mutex);
228 static StackSampler sampler;
229 const auto describe = reinterpret_cast<GetDescription>(reinterpret_cast<void*>(
230 GetProcAddress(GetModuleHandleW(L"kernel32.dll"), "GetThreadDescription")));
231 const auto query = reinterpret_cast<QueryThread>(reinterpret_cast<void*>(
232 GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "NtQueryInformationThread")));
233 snapshot_threads(why ? why : "now", sampler, describe, query, tid);
234 } catch (...) {
235 }
236}
237
210std::jthread start_thread_stacks() { 238std::jthread start_thread_stacks() {
211 const auto start = Clock::now(); 239 const auto start = Clock::now();
212 char spec[1024]; 240 char spec[1024];
@@ -218,10 +246,16 @@ std::jthread start_thread_stacks() {
218 return {}; 246 return {};
219 } 247 }
220 return std::jthread([start, times = std::move(times)](std::stop_token stop) { 248 return std::jthread([start, times = std::move(times)](std::stop_token stop) {
221 const auto describe = reinterpret_cast<GetDescription>(reinterpret_cast<void*>( 249 const HMODULE kernel32 = GetModuleHandleW(L"kernel32.dll");
222 GetProcAddress(GetModuleHandleW(L"kernel32.dll"), "GetThreadDescription"))); 250 const HMODULE ntdll = GetModuleHandleW(L"ntdll.dll");
223 const auto query = reinterpret_cast<QueryThread>(reinterpret_cast<void*>( 251 const auto describe =
224 GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "NtQueryInformationThread"))); 252 kernel32 ? reinterpret_cast<GetDescription>(
253 reinterpret_cast<void*>(GetProcAddress(kernel32, "GetThreadDescription")))
254 : nullptr;
255 const auto query =
256 ntdll ? reinterpret_cast<QueryThread>(
257 reinterpret_cast<void*>(GetProcAddress(ntdll, "NtQueryInformationThread")))
258 : nullptr;
225 StackSampler sampler; 259 StackSampler sampler;
226 std::condition_variable_any wake; 260 std::condition_variable_any wake;
227 std::mutex mutex; 261 std::mutex mutex;
@@ -229,7 +263,7 @@ std::jthread start_thread_stacks() {
229 for (const unsigned at : times) { 263 for (const unsigned at : times) {
230 wake.wait_until(lock, stop, start + std::chrono::seconds(at), [] { return false; }); 264 wake.wait_until(lock, stop, start + std::chrono::seconds(at), [] { return false; });
231 if (stop.stop_requested()) break; 265 if (stop.stop_requested()) break;
232 snapshot_threads(at, sampler, describe, query); 266 snapshot_threads("t=" + std::to_string(at), sampler, describe, query);
233 } 267 }
234 }); 268 });
235} 269}
diff --git a/runtime/src/thread_stacks.h b/runtime/src/thread_stacks.h
index 523c7b266..1edc1b350 100644
--- a/runtime/src/thread_stacks.h
+++ b/runtime/src/thread_stacks.h
@@ -35,4 +35,8 @@ bool parse_stack_times(std::string_view text, std::vector<unsigned>& seconds);
35// sampler before unmapping the title image. 35// sampler before unmapping the title image.
36std::jthread start_thread_stacks(); 36std::jthread start_thread_stacks();
37 37
38// The call chain of thread `tid` now, or of every other thread when `tid` is 0, printed as LEONIDA_STACKS does under
39// the tag `why`. One call at a time; the device-loss diagnostics call it (vulkan_device_fault.h thread_stack_hook).
40void print_thread_stacks_now(std::uint32_t tid, const char* why) noexcept;
41
38} // namespace rt 42} // namespace rt
diff --git a/runtime/src/title_geometry_watch.h b/runtime/src/title_geometry_watch.h
index d01439776..7283eccd8 100644
--- a/runtime/src/title_geometry_watch.h
+++ b/runtime/src/title_geometry_watch.h
@@ -1,7 +1,9 @@
1#pragma once 1#pragma once
2 2
3#include "title_page_watch.h" 3#include "title_page_watch.h"
4#include <algorithm>
4#include <array> 5#include <array>
6#include <cstdint>
5#include <vector> 7#include <vector>
6 8
7namespace leonida::geometry_writes { 9namespace leonida::geometry_writes {
@@ -15,19 +17,113 @@ struct Cell {
15 std::array<DWORD, tile_size / page_size> restore{}; 17 std::array<DWORD, tile_size / page_size> restore{};
16 unsigned refs = 0; 18 unsigned refs = 0;
17}; 19};
20struct ReleaseQueue {
21 std::mutex mutex;
22 host_heap::vector<std::pair<std::uintptr_t, std::uintptr_t>> ranges;
23 std::atomic<bool> pending{false};
24};
18struct State { 25struct State {
19 std::mutex mutex; 26 std::mutex mutex;
20 host_heap::map<std::uintptr_t, Cell> cells; 27 host_heap::map<std::uintptr_t, Cell> cells;
21 std::atomic<std::uint64_t> serial{1}; 28 std::atomic<std::uint64_t> serial{1};
22 std::atomic<std::size_t> count{0}; 29 std::atomic<std::size_t> count{0};
30 // Union of every tile passed to acquire(): [watched_lo, watched_hi). Monotonic; updated under mutex.
31 std::atomic<std::uintptr_t> watched_lo{UINTPTR_MAX};
32 std::atomic<std::uintptr_t> watched_hi{0};
33 std::mutex subscribers_mutex;
34 host_heap::vector<ReleaseQueue*> subscribers;
23}; 35};
24inline State& state() { static State s; return s; } 36inline State& state() { static State s; return s; }
25 37
38inline void subscribe(ReleaseQueue& queue) {
39 auto& s = state();
40 std::lock_guard lock(s.subscribers_mutex);
41 if (std::find(s.subscribers.begin(), s.subscribers.end(), &queue) == s.subscribers.end())
42 s.subscribers.push_back(&queue);
43}
44
45inline void unsubscribe(ReleaseQueue& queue) {
46 auto& s = state();
47 std::lock_guard lock(s.subscribers_mutex);
48 std::erase(s.subscribers, &queue);
49}
50
51inline bool has_released(const ReleaseQueue& queue) {
52 return queue.pending.load(std::memory_order_acquire);
53}
54
55// Records a title address range [begin, end) that was released or unmapped so every subscribed GeometryViews can
56// evict its views. Uses host_heap and separate leaf locks so xmem does not contend with the write-fault handler.
57// Lock order: subscribers_mutex -> queue.mutex; take_released takes only queue.mutex.
58inline void note_released(std::uintptr_t begin, std::uintptr_t end) {
59 auto& s = state();
60 if (end <= begin || !s.count.load(std::memory_order_acquire)) return;
61 const std::uintptr_t lo = s.watched_lo.load(std::memory_order_acquire);
62 const std::uintptr_t hi = s.watched_hi.load(std::memory_order_acquire);
63 if (end <= lo || begin >= hi) {
64 // Views are keyed by the CPU view's address, so a GPU-only range freed by its own address counts through its
65 // CPU view (GeometryViews::drain_released maps it there).
66 leonida::title_gpu_views::Range pair{};
67 if (!leonida::title_gpu_views::view_at(begin, 1, pair) || begin < pair.gpu || begin - pair.gpu >= pair.size)
68 return;
69 const std::uintptr_t cpu = pair.cpu + (begin - pair.gpu);
70 const std::uintptr_t span = (std::min)(end - begin, pair.size - (begin - pair.gpu));
71 if (cpu + span <= lo || cpu >= hi) return;
72 }
73 std::lock_guard subscribers_lock(s.subscribers_mutex);
74 for (ReleaseQueue* q : s.subscribers) {
75 std::lock_guard lock(q->mutex);
76 bool room = q->ranges.size() < 65536;
77 if (!room) {
78 // Full: first the ranges that overlap or touch become one (unmaps report page runs, often neighbours), and
79 // only when that leaves it more than half full does it all become one covering range.
80 std::sort(q->ranges.begin(), q->ranges.end());
81 std::size_t kept = 0;
82 for (std::size_t i = 1; i < q->ranges.size(); ++i) {
83 if (q->ranges[i].first <= q->ranges[kept].second)
84 q->ranges[kept].second = (std::max)(q->ranges[kept].second, q->ranges[i].second);
85 else
86 q->ranges[++kept] = q->ranges[i];
87 }
88 q->ranges.resize(kept + 1);
89 room = q->ranges.size() <= 32768;
90 }
91 if (room) {
92 q->ranges.emplace_back(begin, end);
93 } else {
94 std::uintptr_t merged_lo = begin;
95 std::uintptr_t merged_hi = end;
96 for (const auto& [r_lo, r_hi] : q->ranges) {
97 if (r_lo < merged_lo) merged_lo = r_lo;
98 if (r_hi > merged_hi) merged_hi = r_hi;
99 }
100 q->ranges.clear();
101 q->ranges.emplace_back(merged_lo, merged_hi);
102 }
103 q->pending.store(true, std::memory_order_release);
104 }
105}
106
107template<class Out>
108inline void take_released(ReleaseQueue& queue, Out& out) {
109 out.clear();
110 if (!queue.pending.load(std::memory_order_acquire)) return;
111 std::lock_guard lock(queue.mutex);
112 out.assign(queue.ranges.begin(), queue.ranges.end());
113 queue.ranges.clear();
114 queue.pending.store(false, std::memory_order_release);
115}
116
26inline Cell* acquire(std::uintptr_t va) { 117inline Cell* acquire(std::uintptr_t va) {
27 auto& s = state(); 118 auto& s = state();
28 std::lock_guard lock(s.mutex); 119 std::lock_guard lock(s.mutex);
29 auto& c = s.cells[va]; 120 auto& c = s.cells[va];
30 ++c.refs; 121 ++c.refs;
122 const std::uintptr_t tile_end = va <= UINTPTR_MAX - tile_size ? va + tile_size : UINTPTR_MAX;
123 if (va < s.watched_lo.load(std::memory_order_relaxed))
124 s.watched_lo.store(va, std::memory_order_release);
125 if (tile_end > s.watched_hi.load(std::memory_order_relaxed))
126 s.watched_hi.store(tile_end, std::memory_order_release);
31 s.count.store(s.cells.size(), std::memory_order_release); 127 s.count.store(s.cells.size(), std::memory_order_release);
32 return &c; 128 return &c;
33} 129}
diff --git a/runtime/src/title_page_watch.h b/runtime/src/title_page_watch.h
index ccc085466..44a19cb1b 100644
--- a/runtime/src/title_page_watch.h
+++ b/runtime/src/title_page_watch.h
@@ -9,7 +9,8 @@
9// 9//
10// 1. Aliases (title_page_aliases). xmem maps one physical page at as many VAs as the title asks 10// 1. Aliases (title_page_aliases). xmem maps one physical page at as many VAs as the title asks
11// (XMemMapPhysicalPages): a write through one VA changes what the others read without touching them. xmem 11// (XMemMapPhysicalPages): a write through one VA changes what the others read without touching them. xmem
12// reports each 64 KiB page mapped at more than one address; a shadow copies those at every submission. 12// reports each 64 KiB page mapped at more than one address; a shadow guards those at every address with the
13// geometry watch's cells (title_geometry_watch.h), or copies them at every submission while it can't.
13// 14//
14// 2. Kernel writes (kernel_writes). A read-only page makes ReadFile fail with ERROR_NOACCESS instead of faulting 15// 2. Kernel writes (kernel_writes). A read-only page makes ReadFile fail with ERROR_NOACCESS instead of faulting
15// into a user-mode handler. The file shims (read_file and the rest, below) pin the destination before the kernel 16// into a user-mode handler. The file shims (read_file and the rest, below) pin the destination before the kernel
@@ -204,6 +205,18 @@ inline void set(std::uintptr_t va, bool aliased) {
204// Bumped by every change of set(). 205// Bumped by every change of set().
205inline std::uint64_t generation() { return state().generation.load(std::memory_order_acquire); } 206inline std::uint64_t generation() { return state().generation.load(std::memory_order_acquire); }
206 207
208// Up to `n` aliased pages, and how many there are (a probe's sample; no order).
209inline std::size_t sample(std::vector<std::uintptr_t>& out, std::size_t n) {
210 State& s = state();
211 out.clear();
212 std::shared_lock lock(s.mutex);
213 for (const std::uintptr_t va : s.aliased) {
214 if (out.size() >= n) break;
215 out.push_back(va);
216 }
217 return s.aliased.size();
218}
219
207// Calls `f(va)` for each aliased 64 KiB page overlapping [begin, end). 220// Calls `f(va)` for each aliased 64 KiB page overlapping [begin, end).
208template<class F> 221template<class F>
209void for_each_in(std::uintptr_t begin, std::uintptr_t end, F&& f) { 222void for_each_in(std::uintptr_t begin, std::uintptr_t end, F&& f) {
@@ -258,6 +271,19 @@ inline bool note_reservation(std::uintptr_t base, std::uintptr_t size, bool gpu_
258 return true; 271 return true;
259} 272}
260 273
274// Both addresses of every pair, as [start, end) ranges (LEONIDA_CONSOLE_HEAP_GPU's ask table); `count()` changes
275// with them.
276inline void spans(std::vector<std::pair<std::uint64_t, std::uint64_t>>& out) {
277 State& s = state();
278 out.clear();
279 if (!s.count.load(std::memory_order_acquire)) return;
280 std::shared_lock lock(s.mutex);
281 for (const View& v : s.views) {
282 out.emplace_back(v.gpu, v.gpu + v.size);
283 out.emplace_back(v.cpu, v.cpu + v.size);
284 }
285}
286inline std::size_t count() { return state().count.load(std::memory_order_acquire); }
261// Marks the pair whose GPU-only range starts at `gpu` as one whose GPU-only range has pages of its own (queue slot 31 287// Marks the pair whose GPU-only range starts at `gpu` as one whose GPU-only range has pages of its own (queue slot 31
262// or XMemMapPhysicalPages map them at that address, not through the CPU view): the host reads it there (to_cpu) and 288// or XMemMapPhysicalPages map them at that address, not through the CPU view): the host reads it there (to_cpu) and
263// a slot-133 buffer over it is a shadow, not an import (independently_mapped). False when no pair starts at `gpu`. 289// a slot-133 buffer over it is a shadow, not an import (independently_mapped). False when no pair starts at `gpu`.
diff --git a/runtime/src/title_texture_memory.h b/runtime/src/title_texture_memory.h
index a97e5bed6..d2c512cec 100644
--- a/runtime/src/title_texture_memory.h
+++ b/runtime/src/title_texture_memory.h
@@ -1,14 +1,17 @@
1#pragma once 1#pragma once
2#include <windows.h> 2#include <windows.h>
3#include <algorithm>
3#include <cstddef> 4#include <cstddef>
4#include <cstdint> 5#include <cstdint>
5#include <limits> 6#include <limits>
6 7
8#include "title_page_watch.h"
9
7namespace leonida { 10namespace leonida {
8 11
9// Keep negative probes until the title changes the map or a writer reports this footprint. With cache_success, 12// Keep negative probes until the title changes the map or a writer reports this footprint. With cache_success,
10// positive ones too: a caller that is told of every map change over the footprint (retry) and reads it under a guard 13// positive ones too: a caller that is told of every map change over the footprint (retry or sync_map) and reads it
11// (a page gone since faults into a defer) need not walk the pages before every read. 14// under a guard (a page gone since faults into a defer) need not walk the pages before every read.
12class TextureReadability { 15class TextureReadability {
13public: 16public:
14 template<class Probe> 17 template<class Probe>
@@ -16,47 +19,74 @@ public:
16 if (cache_failure && pending_ && !retry_ && generation_ == generation) return false; 19 if (cache_failure && pending_ && !retry_ && generation_ == generation) return false;
17 if (cache_success && probed_ && !pending_ && !retry_ && generation_ == generation) return true; 20 if (cache_success && probed_ && !pending_ && !retry_ && generation_ == generation) return true;
18 generation_ = generation; // snapshot before the probe so a concurrent map change is noticed 21 generation_ = generation; // snapshot before the probe so a concurrent map change is noticed
22 map_generation_ = title_memory_map::generation();
19 retry_ = false; 23 retry_ = false;
20 probed_ = true; 24 probed_ = true;
21 pending_ = !probe(); 25 pending_ = !probe();
22 return !pending_; 26 return !pending_;
23 } 27 }
28 // Between refresh passes, check whether the map journal recorded a change over [cpu, cpu + size) since both
29 // this texture's last probe and the last pass's sweep.
30 void sync_map(std::uint64_t pass_generation, std::uintptr_t cpu, std::uint64_t size) {
31 if (!probed_ || retry_) return;
32 const std::uint64_t since = (std::max)(map_generation_, pass_generation);
33 if (title_memory_map::generation() == since) return;
34 const std::uintptr_t end = size > (std::numeric_limits<std::uintptr_t>::max)() - cpu
35 ? (std::numeric_limits<std::uintptr_t>::max)()
36 : cpu + static_cast<std::uintptr_t>(size);
37 std::uint64_t now = 0;
38 bool overlapped = false;
39 if (!title_memory_map::changes_since(
40 since, now, cpu, end, [&](std::uintptr_t, std::uintptr_t) { overlapped = true; }) ||
41 overlapped) {
42 retry_ = true;
43 } else {
44 map_generation_ = now;
45 }
46 }
24 void defer() { pending_ = true; } // mapping disappeared between the probe and the read 47 void defer() { pending_ = true; } // mapping disappeared between the probe and the read
25 void retry() { retry_ = true; } 48 void retry() { retry_ = true; }
26 bool pending() const { return pending_; } 49 bool pending() const { return pending_; }
27private: 50private:
28 std::uint64_t generation_ = 0; 51 std::uint64_t generation_ = 0;
52 std::uint64_t map_generation_ = 0;
29 bool pending_ = false, retry_ = false, probed_ = false; 53 bool pending_ = false, retry_ = false, probed_ = false;
30}; 54};
31 55
32using TexturePageCommitter = bool (*)(const void*, std::size_t); 56using TexturePageCommitter = bool (*)(const void*, std::size_t);
33 57
34// Check the whole footprint. A committed first page says nothing about a streamed mip farther on. 58// How many of the bytes from `base` are readable, up to the first page that is not (at most `size`).
35inline bool texture_memory_readable(std::uintptr_t base, std::uint64_t size, TexturePageCommitter commit = nullptr) { 59inline std::uint64_t texture_memory_readable_bytes(std::uintptr_t base, std::uint64_t size,
36 if (!base || !size || size > (std::numeric_limits<std::uintptr_t>::max)() - base) return false; 60 TexturePageCommitter commit = nullptr) {
61 if (!base || !size || size > (std::numeric_limits<std::uintptr_t>::max)() - base) return 0;
37 const auto end = base + size; 62 const auto end = base + size;
38 for (auto at = base; at < end;) { 63 for (auto at = base; at < end;) {
39 MEMORY_BASIC_INFORMATION region{}; 64 MEMORY_BASIC_INFORMATION region{};
40 const auto* address = reinterpret_cast<const void*>(at); 65 const auto* address = reinterpret_cast<const void*>(at);
41 if (!VirtualQuery(address, &region, sizeof(region))) return false; 66 if (!VirtualQuery(address, &region, sizeof(region))) return at - base;
42 // A persistent Map can name an xmem section whose physical pages commit on first touch. 67 // A persistent Map can name an xmem section whose physical pages commit on first touch.
43 // Only xmem may commit them. A bare reservation or an inaccessible page must still defer. 68 // Only xmem may commit them. A bare reservation or an inaccessible page must still defer.
44 if (commit && region.State == MEM_RESERVE && region.Type == MEM_MAPPED) { 69 if (commit && region.State == MEM_RESERVE && region.Type == MEM_MAPPED) {
45 if (!commit(address, end - at) || !VirtualQuery(address, &region, sizeof(region))) return false; 70 if (!commit(address, end - at) || !VirtualQuery(address, &region, sizeof(region))) return at - base;
46 } 71 }
47 if (region.State != MEM_COMMIT || (region.Protect & PAGE_GUARD)) return false; 72 if (region.State != MEM_COMMIT || (region.Protect & PAGE_GUARD)) return at - base;
48 switch (region.Protect & 0xff) { 73 switch (region.Protect & 0xff) {
49 case PAGE_READONLY: case PAGE_READWRITE: case PAGE_WRITECOPY: 74 case PAGE_READONLY: case PAGE_READWRITE: case PAGE_WRITECOPY:
50 case PAGE_EXECUTE_READ: case PAGE_EXECUTE_READWRITE: case PAGE_EXECUTE_WRITECOPY: break; 75 case PAGE_EXECUTE_READ: case PAGE_EXECUTE_READWRITE: case PAGE_EXECUTE_WRITECOPY: break;
51 default: return false; 76 default: return at - base;
52 } 77 }
53 const auto start = reinterpret_cast<std::uintptr_t>(region.BaseAddress); 78 const auto start = reinterpret_cast<std::uintptr_t>(region.BaseAddress);
54 if (at < start || at - start >= region.RegionSize) return false; 79 if (at < start || at - start >= region.RegionSize) return at - base;
55 const auto available = region.RegionSize - (at - start); 80 const auto available = region.RegionSize - (at - start);
56 if (available >= end - at) return true; 81 if (available >= end - at) return size;
57 at += available; 82 at += available;
58 } 83 }
59 return true; 84 return size;
85}
86
87// Check the whole footprint. A committed first page says nothing about a streamed mip farther on.
88inline bool texture_memory_readable(std::uintptr_t base, std::uint64_t size, TexturePageCommitter commit = nullptr) {
89 return size && texture_memory_readable_bytes(base, size, commit) == size;
60} 90}
61 91
62} // namespace leonida 92} // namespace leonida
diff --git a/runtime/src/title_texture_refresh.h b/runtime/src/title_texture_refresh.h
index ed7c0f2b6..b39defdcd 100644
--- a/runtime/src/title_texture_refresh.h
+++ b/runtime/src/title_texture_refresh.h
@@ -1,5 +1,7 @@
1#pragma once 1#pragma once
2#include <algorithm> 2#include <algorithm>
3#include <bit>
4#include <map>
3#include <cstdint> 5#include <cstdint>
4#include <utility> 6#include <utility>
5#include <vector> 7#include <vector>
@@ -8,9 +10,56 @@ namespace leonida {
8 10
9using TitleWriteRanges = std::vector<std::pair<std::uintptr_t, std::uintptr_t>>; 11using TitleWriteRanges = std::vector<std::pair<std::uintptr_t, std::uintptr_t>>;
10 12
13// Store each texture once, in the smallest aligned power-of-two page containing its CPU range.
14// A journal interval needs only the overlapping pages at each occupied size. Aliases keep distinct keys.
15class TitleTextureRangeIndex {
16 using Address = std::uint64_t;
17 struct Range { Address first, last; };
18 using PageKey = std::pair<Address, Address>; // page, registry key
19 std::map<unsigned, std::map<PageKey, Range>> pages_;
20 std::map<Address, std::pair<unsigned, Address>> location_;
21 static Address page(Address at, unsigned shift) { return shift == 64 ? 0 : at >> shift; }
22
23public:
24 void erase(Address key) {
25 const auto where = location_.find(key);
26 if (where == location_.end()) return;
27 const auto [shift, number] = where->second;
28 auto level = pages_.find(shift);
29 level->second.erase({number, key});
30 if (level->second.empty()) pages_.erase(level);
31 location_.erase(where);
32 }
33 void set(Address key, Address first, Address bytes) {
34 erase(key);
35 if (!bytes) return;
36 const Address last = first + std::min(bytes - 1, UINT64_MAX - first);
37 const unsigned shift = unsigned(std::bit_width(first ^ last));
38 const Address number = page(first, shift);
39 pages_[shift][{number, key}] = {first, last};
40 location_[key] = {shift, number};
41 }
42 template<class Visit>
43 void overlapping(Address from, Address to, Visit visit) const {
44 if (from >= to) return;
45 for (const auto& [shift, entries] : pages_) {
46 const Address last = page(to - 1, shift);
47 for (auto it = entries.lower_bound({page(from, shift), 0});
48 it != entries.end() && it->first.first <= last; ++it) {
49 if (it->second.first < to && from <= it->second.last) visit(it->first.second);
50 }
51 }
52 }
53};
54
11// Sorted, disjoint half-open intervals let each texture find its first possible writer by end address. 55// Sorted, disjoint half-open intervals let each texture find its first possible writer by end address.
12inline void merge_title_writes(TitleWriteRanges& writes) { 56inline void merge_title_writes(TitleWriteRanges& writes) {
13 std::sort(writes.begin(), writes.end()); 57 if (writes.empty()) return;
58 if (writes.size() == 1) {
59 if (writes[0].first >= writes[0].second) writes.clear();
60 return;
61 }
62 if (!std::is_sorted(writes.begin(), writes.end())) std::sort(writes.begin(), writes.end());
14 std::size_t count = 0; 63 std::size_t count = 0;
15 for (const auto [begin, end] : writes) { 64 for (const auto [begin, end] : writes) {
16 if (begin >= end) continue; 65 if (begin >= end) continue;
@@ -23,9 +72,12 @@ inline void merge_title_writes(TitleWriteRanges& writes) {
23} 72}
24 73
25inline bool title_write_overlaps(const TitleWriteRanges& writes, std::uintptr_t begin, std::uintptr_t end) { 74inline bool title_write_overlaps(const TitleWriteRanges& writes, std::uintptr_t begin, std::uintptr_t end) {
75 if (begin >= end || writes.empty()) return false;
76 if (end <= writes.front().first || begin >= writes.back().second) return false;
77 if (writes.size() == 1) return true;
26 const auto it = std::upper_bound(writes.begin(), writes.end(), begin, 78 const auto it = std::upper_bound(writes.begin(), writes.end(), begin,
27 [](auto address, const auto& range) { return address < range.second; }); 79 [](auto address, const auto& range) { return address < range.second; });
28 return begin < end && it != writes.end() && it->first < end; 80 return it != writes.end() && it->first < end;
29} 81}
30 82
31// The registry's entries as one pass will visit them, in placement order. A pass cannot walk the registry itself: a 83// The registry's entries as one pass will visit them, in placement order. A pass cannot walk the registry itself: a
@@ -34,10 +86,13 @@ inline bool title_write_overlaps(const TitleWriteRanges& writes, std::uintptr_t
34// the walk would step through a freed node. The list holds a reference to each entry, so an entry erased during the 86// the walk would step through a freed node. The list holds a reference to each entry, so an entry erased during the
35// pass is still alive when its turn comes. 87// pass is still alive when its turn comes.
36template<class Registry> 88template<class Registry>
37std::vector<std::pair<std::uint64_t, typename Registry::mapped_type>> title_texture_snapshot(const Registry& textures) { 89std::vector<std::pair<std::uint64_t, typename Registry::mapped_type>> title_texture_snapshot(
90 const Registry& textures, std::uint64_t start = 0, std::size_t limit = SIZE_MAX) {
38 std::vector<std::pair<std::uint64_t, typename Registry::mapped_type>> entries; 91 std::vector<std::pair<std::uint64_t, typename Registry::mapped_type>> entries;
39 entries.reserve(textures.size()); 92 const auto count = std::min(textures.size(), limit);
40 for (const auto& [address, texture] : textures) entries.emplace_back(address, texture); 93 entries.reserve(count);
94 for (auto it = textures.lower_bound(start); it != textures.end() && entries.size() < count; ++it)
95 entries.emplace_back(it->first, it->second);
41 return entries; 96 return entries;
42} 97}
43 98
@@ -53,11 +108,45 @@ void poll_title_textures(const std::vector<Entry>& entries, std::uint64_t& curso
53 if (index == entries.size()) index = 0; // the cursor is past the last address: resume at the first 108 if (index == entries.size()) index = 0; // the cursor is past the last address: resume at the first
54 for (auto left = entries.size(); left; --left) { 109 for (auto left = entries.size(); left; --left) {
55 const auto& [address, texture] = entries[index]; 110 const auto& [address, texture] = entries[index];
56 cursor = address + 1; 111 cursor = address == UINT64_MAX ? 0u : address + 1u;
57 if (!texture->mapped && !texture->stale) visit(*texture); 112 if (!texture->mapped && !texture->stale) visit(*texture);
58 if (exhausted()) break; // advance at least one registry entry even if a deadline already passed 113 if (exhausted()) break; // advance at least one registry entry even if a deadline already passed
59 index = index + 1 == entries.size() ? 0 : index + 1; 114 index = index + 1 == entries.size() ? 0 : index + 1;
60 } 115 }
61} 116}
62 117
118// Visit the marked textures of a snapshot (mapped by the title, or known stale) under a time limit
119// (LEONIDA_TITLE_EVERY_BUDGET_US). Those `urgent` answers true for (a mapped texture never filled yet) are all
120// visited first, in placement order, whatever the limit. The others are visited
121// from `cursor`, as poll_title_textures does for the unmarked ones, until `exhausted()` answers true after a visit;
122// the next pass resumes at the entry after the last one visited, so every marked texture gets its turn however many
123// there are. An entry skipped as unmarked costs no check.
124template<class Entry, class Visit, class Urgent, class Exhausted>
125void visit_marked_title_textures(const std::vector<Entry>& entries, std::uint64_t& cursor, Visit visit, Urgent urgent,
126 Exhausted exhausted) {
127 if (entries.empty()) return;
128 // Which entries are urgent is decided before any visit: a visit fills the texture, and it must not come round
129 // again in the rotation of the same pass.
130 std::vector<char> was_urgent(entries.size());
131 for (std::size_t i = 0; i < entries.size(); ++i) {
132 const auto& texture = entries[i].second;
133 was_urgent[i] = (texture->mapped || texture->stale) && urgent(*texture);
134 }
135 for (std::size_t i = 0; i < entries.size(); ++i)
136 if (was_urgent[i]) visit(*entries[i].second);
137 const auto first = std::lower_bound(entries.begin(), entries.end(), cursor,
138 [](const Entry& entry, std::uint64_t at) { return entry.first < at; });
139 auto index = std::size_t(first - entries.begin());
140 if (index == entries.size()) index = 0;
141 for (auto left = entries.size(); left; --left) {
142 const auto& [address, texture] = entries[index];
143 cursor = address + 1;
144 if ((texture->mapped || texture->stale) && !was_urgent[index]) {
145 visit(*texture);
146 if (exhausted()) break;
147 }
148 index = index + 1 == entries.size() ? 0 : index + 1;
149 }
150}
151
63} // namespace leonida 152} // namespace leonida
diff --git a/runtime/src/title_va_alias.h b/runtime/src/title_va_alias.h
index b3de5ce70..8ed315ecf 100644
--- a/runtime/src/title_va_alias.h
+++ b/runtime/src/title_va_alias.h
@@ -17,14 +17,18 @@
17// buffer V#s of a bound descriptor table before a submission. Without hooks the table only translates what was 17// buffer V#s of a bound descriptor table before a submission. Without hooks the table only translates what was
18// added to it, so it is tested without a GPU (title_va_alias_test). 18// added to it, so it is tested without a GPU (title_va_alias_test).
19#include <algorithm> 19#include <algorithm>
20#include "buffer_va_index.h"
21
20#include <array> 22#include <array>
21#include <atomic> 23#include <atomic>
22#include <cstddef> 24#include <cstddef>
23#include <cstdint> 25#include <cstdint>
26#include <cstdio>
24#include <iterator> 27#include <iterator>
25#include <map> 28#include <map>
26#include <mutex> 29#include <mutex>
27#include <shared_mutex> 30#include <shared_mutex>
31#include <string>
28#include <utility> 32#include <utility>
29#include <vector> 33#include <vector>
30 34
@@ -42,6 +46,9 @@ public:
42 // memory (an arena VA, a buffer of the layer's). 46 // memory (an arena VA, a buffer of the layer's).
43 using Resolver = bool (*)(void* context, std::uint64_t va, std::uint64_t bytes, std::uint64_t& shader_va); 47 using Resolver = bool (*)(void* context, std::uint64_t va, std::uint64_t bytes, std::uint64_t& shader_va);
44 using TableScanner = void (*)(void* context, std::uint64_t table_va, std::uint32_t descriptors); 48 using TableScanner = void (*)(void* context, std::uint64_t table_va, std::uint32_t descriptors);
49 // Every binding resolved to a copy of the title's memory: [va, va + bytes) as they are reached at (the device keeps
50 // them for the copy back after the submission, see DeviceState::write_back_titles).
51 using Noter = void (*)(void* context, std::uint64_t va, std::uint64_t bytes);
45 52
46 // [title_va, title_va + bytes) is reached as [shader_va, shader_va + bytes). A range that overlaps a live one 53 // [title_va, title_va + bytes) is reached as [shader_va, shader_va + bytes). A range that overlaps a live one
47 // replaces it (the title has placed a new buffer over pages it released). False for an empty or wrapping range. 54 // replaces it (the title has placed a new buffer over pages it released). False for an empty or wrapping range.
@@ -49,17 +56,83 @@ public:
49 if (!bytes || title_va > UINT64_MAX - bytes) return false; 56 if (!bytes || title_va > UINT64_MAX - bytes) return false;
50 std::unique_lock lock(mutex_); 57 std::unique_lock lock(mutex_);
51 erase_overlapping(title_va, title_va + bytes); 58 erase_overlapping(title_va, title_va + bytes);
59 notify(Change::added, title_va, bytes, shader_va);
52 ranges_[title_va] = {title_va + bytes, shader_va}; 60 ranges_[title_va] = {title_va + bytes, shader_va};
61 by_shader_.insert(shader_va, bytes, title_va);
53 count_.store(ranges_.size(), std::memory_order_release); 62 count_.store(ranges_.size(), std::memory_order_release);
63 generation_.fetch_add(1, std::memory_order_release);
54 return true; 64 return true;
55 } 65 }
56 66
57 // The two addresses of one stream-pool extent (a GPU-only alias and the CPU view of the same pages, gfxgeom 67 // The two addresses of one stream-pool extent (a GPU-only alias and the CPU view of the same pages, gfxgeom
58 // section 3): both name the same shader VA, so a title view carrying either resolves to the one mapping. 68 // section 3): both name the same shader VA, so a title view carrying either resolves to the one mapping.
59 bool add_twin(std::uint64_t va, std::uint64_t twin, std::uint64_t bytes, std::uint64_t shader_va) { 69 bool add_twin(std::uint64_t va, std::uint64_t twin, std::uint64_t bytes, std::uint64_t shader_va) {
60 if (va == twin) return add(va, bytes, shader_va); 70 if (!bytes || va > UINT64_MAX - bytes || twin > UINT64_MAX - bytes) return false;
61 const bool first = add(va, bytes, shader_va); 71 if (va != twin && va < twin + bytes && twin < va + bytes) return false;
62 return add(twin, bytes, shader_va) && first; 72 std::unique_lock lock(mutex_);
73 if (overlaps(va, va + bytes) || (va != twin && overlaps(twin, twin + bytes))) return false;
74 decltype(ranges_) pending;
75 pending.try_emplace(va, Range{va + bytes, shader_va});
76 pending.try_emplace(twin, Range{twin + bytes, shader_va});
77 publish_pool_ranges(pending);
78 return true;
79 }
80
81 // add_twin over live ranges: every range either address's bytes overlap is replaced whole (each is told as a
82 // removal), then both are entered under one lock. For a stream-pool request that runs into the windows next to it
83 // (title_pool_cover): the new range covers each of them whole, so none of their bytes is left unanswered.
84 // `replaces(shader_va)` names the ranges the caller planned to replace; one it does not (a slot-133 buffer
85 // entered since the plan, which takes no lock of the caller's) makes it false with nothing changed, checked
86 // under the same lock as the replacement.
87 template <class Replaces>
88 bool replace_twin(std::uint64_t va, std::uint64_t twin, std::uint64_t bytes, std::uint64_t shader_va,
89 Replaces&& replaces) {
90 if (!bytes || va > UINT64_MAX - bytes || twin > UINT64_MAX - bytes) return false;
91 if (va != twin && va < twin + bytes && twin < va + bytes) return false;
92 std::unique_lock lock(mutex_);
93 const auto planned = [&](std::uint64_t begin, std::uint64_t end) {
94 auto it = ranges_.lower_bound(begin);
95 if (it != ranges_.begin() && std::prev(it)->second.end > begin) --it;
96 for (; it != ranges_.end() && it->first < end; ++it)
97 if (!replaces(it->second.shader_va)) return false;
98 return true;
99 };
100 if (!planned(va, va + bytes) || (va != twin && !planned(twin, twin + bytes))) return false;
101 erase_overlapping(va, va + bytes);
102 if (va != twin) erase_overlapping(twin, twin + bytes);
103 decltype(ranges_) pending;
104 pending.try_emplace(va, Range{va + bytes, shader_va});
105 pending.try_emplace(twin, Range{twin + bytes, shader_va});
106 publish_pool_ranges(pending);
107 return true;
108 }
109
110 bool reuse_pool_mapping(std::uint64_t va, std::uint64_t twin, std::uint64_t want, std::uint64_t max_size,
111 std::uint64_t& shader_va) {
112 if (!want) return false;
113 std::unique_lock lock(mutex_);
114 const auto next = ranges_.upper_bound(va);
115 if (next != ranges_.begin()) {
116 const auto existing = std::prev(next);
117 if (va < existing->second.end) {
118 if (want > existing->second.end - va) return false;
119 shader_va = existing->second.shader_va + (va - existing->first);
120 return true;
121 }
122 }
123 const auto other_next = ranges_.upper_bound(twin);
124 if (other_next == ranges_.begin()) return false;
125 const auto other = std::prev(other_next);
126 if (twin >= other->second.end) return false;
127 const auto end = next == ranges_.end() ? UINT64_MAX : next->first;
128 const auto bytes = std::min({max_size, other->second.end - twin, end - va});
129 if (bytes < want) return false;
130 const auto shader = other->second.shader_va + (twin - other->first);
131 decltype(ranges_) pending;
132 pending.try_emplace(va, Range{va + bytes, shader});
133 publish_pool_ranges(pending);
134 shader_va = shader;
135 return true;
63 } 136 }
64 137
65 // Forgets the range that starts at title_va, if it still maps to shader_va (a newer range at the same VA keeps 138 // Forgets the range that starts at title_va, if it still maps to shader_va (a newer range at the same VA keeps
@@ -68,10 +141,35 @@ public:
68 std::unique_lock lock(mutex_); 141 std::unique_lock lock(mutex_);
69 const auto it = ranges_.find(title_va); 142 const auto it = ranges_.find(title_va);
70 if (it != ranges_.end() && it->second.shader_va == shader_va) { 143 if (it != ranges_.end() && it->second.shader_va == shader_va) {
144 notify(Change::removed, it->first, it->second.end - it->first, shader_va);
145 by_shader_.erase(shader_va, title_va);
146 note_removed(it->second.shader_va, it->second.end - it->first);
71 ranges_.erase(it); 147 ranges_.erase(it);
72 invalidations_.fetch_add(1, std::memory_order_release); 148 generation_.fetch_add(1, std::memory_order_release);
149 }
150 count_.store(ranges_.size(), std::memory_order_release);
151 }
152
153 // A copy that answered for [title_va, title_va + bytes) at shader_va went, whether or not it had a range here (a
154 // geometry copy that vsharp_address or a placed view reached through GeometryViews directly has none): what was
155 // translated through it is stale. Told as a removal is: the console heaps fix the slots that resolved through
156 // either side of it again (the listeners), and the GPU key table drops answers into shader_va (take_removed).
157 void forget_copy(std::uint64_t title_va, std::uint64_t bytes, std::uint64_t shader_va) {
158 if (!bytes) return;
159 std::unique_lock lock(mutex_);
160 for (auto it = ranges_.lower_bound(title_va); it != ranges_.end() && it->first - title_va < bytes;) {
161 if (it->second.shader_va - shader_va != it->first - title_va) {
162 ++it;
163 continue;
164 }
165 by_shader_.erase(it->second.shader_va, it->first);
166 notify(Change::removed, it->first, it->second.end - it->first, it->second.shader_va);
167 it = ranges_.erase(it);
73 } 168 }
74 count_.store(ranges_.size(), std::memory_order_release); 169 count_.store(ranges_.size(), std::memory_order_release);
170 notify(Change::removed, title_va, bytes, shader_va);
171 note_removed(shader_va, bytes);
172 generation_.fetch_add(1, std::memory_order_release);
75 } 173 }
76 174
77 // The address a shader must be given for `va` from the ranges added so far: translated inside one, unchanged 175 // The address a shader must be given for `va` from the ranges added so far: translated inside one, unchanged
@@ -112,6 +210,34 @@ public:
112 out.reserve(ranges_.size()); 210 out.reserve(ranges_.size());
113 for (const auto& [start, range] : ranges_) out.push_back({start, range.end, range.shader_va}); 211 for (const auto& [start, range] : ranges_) out.push_back({start, range.end, range.shader_va});
114 } 212 }
213 // The ranges that overlap [begin, end), in title-VA order.
214 void overlapping(std::uint64_t begin, std::uint64_t end, std::vector<Mapping>& out) const {
215 out.clear();
216 if (begin >= end || !count_.load(std::memory_order_acquire)) return;
217 std::shared_lock lock(mutex_);
218 auto it = ranges_.lower_bound(begin);
219 if (it != ranges_.begin() && std::prev(it)->second.end > begin) --it;
220 for (; it != ranges_.end() && it->first < end; ++it)
221 out.push_back({it->first, it->second.end, it->second.shader_va});
222 }
223
224 // Whether `shader_va` lies in the copy of a range added so far: an address the layer itself wrote for the title
225 // (a window, a geometry copy, a slot-133 shadow or import), which a later scan of the same descriptor sees again.
226 // A binary search over the copies' addresses (source_of_vsharp walks every range).
227 bool shader_side(std::uint64_t shader_va) const {
228 if (!count_.load(std::memory_order_acquire)) return false;
229 std::shared_lock lock(mutex_);
230 BufferVaIndex<std::uint64_t>::Hit hit{};
231 return by_shader_.find(shader_va, hit);
232 }
233
234 // Whether any range still answers from inside [shader_va, shader_va + bytes): a copy (a title window) that some
235 // address still reaches. A range entered over a live one replaces it whole (add), so a copy can be left with none.
236 bool answers_into(std::uint64_t shader_va, std::uint64_t bytes) const {
237 if (!count_.load(std::memory_order_acquire)) return false;
238 std::shared_lock lock(mutex_);
239 return by_shader_.overlaps(shader_va, bytes);
240 }
115 241
116 // Debug-only inverse lookup. V#s retain 48 bits, so an import below heap_base wraps. 242 // Debug-only inverse lookup. V#s retain 48 bits, so an import below heap_base wraps.
117 bool source_of_vsharp(std::uint64_t base, std::uint64_t& title, std::uint64_t& available) const { 243 bool source_of_vsharp(std::uint64_t base, std::uint64_t& title, std::uint64_t& available) const {
@@ -144,10 +270,12 @@ public:
144 // read or write). Counted by kind: translated, or in the title's memory and left as it was. 270 // read or write). Counted by kind: translated, or in the title's memory and left as it was.
145 std::uint64_t resolve(std::uint64_t va, std::uint64_t bytes, Kind kind) { 271 std::uint64_t resolve(std::uint64_t va, std::uint64_t bytes, Kind kind) {
146 if (!va) return va; 272 if (!va) return va;
147 std::uint64_t to = shader_va(va); 273 std::uint64_t mapped = va, available = 0;
148 if (to != va) { 274 const bool has_mapping = range_of(va, mapped, available) && mapped != va;
275 if (has_mapping && bytes <= available) {
149 translated_[kind].fetch_add(1, std::memory_order_relaxed); 276 translated_[kind].fetch_add(1, std::memory_order_relaxed);
150 return to; 277 note_reached(va, bytes);
278 return mapped;
151 } 279 }
152 Resolver resolver; 280 Resolver resolver;
153 void* context; 281 void* context;
@@ -156,8 +284,13 @@ public:
156 resolver = resolver_; 284 resolver = resolver_;
157 context = hook_context_; 285 context = hook_context_;
158 } 286 }
159 if (!resolver || !resolver(context, va, bytes, to)) return va; 287 std::uint64_t to = va;
288 if (!resolver || !resolver(context, va, bytes, to)) {
289 if (!has_mapping) return va;
290 to = mapped;
291 }
160 (to != va ? translated_ : untranslated_)[kind].fetch_add(1, std::memory_order_relaxed); 292 (to != va ? translated_ : untranslated_)[kind].fetch_add(1, std::memory_order_relaxed);
293 if (to && to != va) note_reached(va, bytes);
161 return to; 294 return to;
162 } 295 }
163 296
@@ -167,6 +300,18 @@ public:
167 if (va && shader_va(va) != va) untranslated_[kind].fetch_add(1, std::memory_order_relaxed); 300 if (va && shader_va(va) != va) untranslated_[kind].fetch_add(1, std::memory_order_relaxed);
168 } 301 }
169 302
303 // [va, va + bytes) is reached as a copy of the title's memory: the device keeps it for the copy back.
304 void note_reached(std::uint64_t va, std::uint64_t bytes) {
305 Noter noter;
306 void* context;
307 {
308 std::lock_guard lock(hook_mutex_);
309 noter = noter_;
310 context = hook_context_;
311 }
312 if (noter) noter(context, va, bytes);
313 }
314
170 // Before a submission: the device rewrites the buffer V#s of the `descriptors` slots the root signature declares 315 // Before a submission: the device rewrites the buffer V#s of the `descriptors` slots the root signature declares
171 // for the table at `table_va` (a console VA in one of its shader-visible CBV/SRV/UAV heaps). 316 // for the table at `table_va` (a console VA in one of its shader-visible CBV/SRV/UAV heaps).
172 void scan_table(std::uint64_t table_va, std::uint32_t descriptors) { 317 void scan_table(std::uint64_t table_va, std::uint32_t descriptors) {
@@ -208,11 +353,16 @@ public:
208 it = memory_.erase(it); 353 it = memory_.erase(it);
209 } 354 }
210 memory_[begin] = end; 355 memory_[begin] = end;
356 memory_generation_.fetch_add(1, std::memory_order_release);
357 notify(Change::memory_added, base, bytes, 0);
211 } 358 }
212 void remove_title_memory(std::uint64_t base) { 359 void remove_title_memory(std::uint64_t base) {
213 std::unique_lock lock(memory_mutex_); 360 std::unique_lock lock(memory_mutex_);
214 memory_.erase(base); 361 memory_.erase(base);
362 memory_generation_.fetch_add(1, std::memory_order_release);
215 } 363 }
364 // Bumped whenever title_memory_ranges() changes.
365 std::uint64_t memory_generation() const { return memory_generation_.load(std::memory_order_acquire); }
216 // LOCAL DIAGNOSTIC (mem probe): every title range, [begin, end), in address order. 366 // LOCAL DIAGNOSTIC (mem probe): every title range, [begin, end), in address order.
217 std::vector<std::pair<std::uint64_t, std::uint64_t>> title_memory_ranges() const { 367 std::vector<std::pair<std::uint64_t, std::uint64_t>> title_memory_ranges() const {
218 std::shared_lock lock(memory_mutex_); 368 std::shared_lock lock(memory_mutex_);
@@ -307,13 +457,60 @@ public:
307 hook_context_ = nullptr; 457 hook_context_ = nullptr;
308 resolver_ = nullptr; 458 resolver_ = nullptr;
309 scanner_ = nullptr; 459 scanner_ = nullptr;
460 noter_ = nullptr;
310 } 461 }
311 // The resolver alone, for a device that scans its descriptor tables itself. 462 // The resolver alone, for a device that scans its descriptor tables itself.
312 void set_resolver(void* context, Resolver resolver) { set_hooks(context, resolver, nullptr); } 463 void set_resolver(void* context, Resolver resolver) { set_hooks(context, resolver, nullptr); }
313 void clear_resolver(void* context) { clear_hooks(context); } 464 void clear_resolver(void* context) { clear_hooks(context); }
465 // Set after set_hooks, so the hook (and its context) stays the device's: what reached a copy of the title's memory.
466 void set_noter(Noter noter) {
467 std::lock_guard lock(hook_mutex_);
468 noter_ = noter;
469 }
314 470
315 std::size_t size() const { return count_.load(std::memory_order_acquire); } 471 std::size_t size() const { return count_.load(std::memory_order_acquire); }
316 std::uint64_t invalidations() const { return invalidations_.load(std::memory_order_acquire); } 472
473 // What changed, told as it happens to every listener (a device whose console heaps record what each descriptor
474 // resolved to, src/console_heap_slot_records.h): [title_va, title_va + bytes) reached at shader_va was added, or
475 // was removed or replaced (remove, an overlapping add, forget_copy: what resolved through it is stale), or title
476 // memory was added (shader_va 0: a copy may now be made for an address that had none). Called with the table's
477 // lock held, so a listener only records and never calls back into the table. remove_listener returns once no call
478 // to that listener is in progress.
479 enum class Change : unsigned { added, removed, memory_added };
480 using Listener = void (*)(void* context, Change change, std::uint64_t title_va, std::uint64_t bytes,
481 std::uint64_t shader_va);
482 void add_listener(void* context, Listener listener) {
483 std::unique_lock lock(listener_mutex_);
484 listeners_.emplace_back(context, listener);
485 }
486 void remove_listener(void* context) {
487 std::unique_lock lock(listener_mutex_);
488 std::erase_if(listeners_, [context](const auto& l) { return l.first == context; });
489 }
490 // Bumped by every add and every removal: a copy of mappings() is current while it has not moved.
491 std::uint64_t generation() const { return generation_.load(std::memory_order_acquire); }
492 // Diagnostics (fsdraw): the title VA a shader VA was made from, the reverse of translate; a linear scan.
493 bool title_of_shader(std::uint64_t shader_va, std::uint64_t& title_va, std::uint64_t& range_va,
494 std::uint64_t& range_bytes) const {
495 std::shared_lock lock(mutex_);
496 for (const auto& [va, r] : ranges_)
497 if (shader_va >= r.shader_va && shader_va - r.shader_va < r.end - va) {
498 title_va = va + (shader_va - r.shader_va);
499 range_va = va;
500 range_bytes = r.end - va;
501 return true;
502 }
503 return false;
504 }
505 // LEONIDA_CONSOLE_HEAP_GPU: the shader-VA ranges of the ranges removed (or replaced) since the last take, so a
506 // GPU table translated through them can drop what it derived. Nothing is kept until recording is turned on.
507 void record_removals(bool on) { record_removals_.store(on, std::memory_order_relaxed); }
508 void take_removed(std::vector<std::pair<std::uint64_t, std::uint64_t>>& out) {
509 out.clear();
510 if (!record_removals_.load(std::memory_order_relaxed)) return;
511 std::unique_lock lock(mutex_);
512 out.swap(removed_);
513 }
317 void note_translation(Kind kind) { translated_[kind].fetch_add(1, std::memory_order_relaxed); } 514 void note_translation(Kind kind) { translated_[kind].fetch_add(1, std::memory_order_relaxed); }
318 std::uint64_t translated(Kind kind) const { return translated_[kind].load(std::memory_order_relaxed); } 515 std::uint64_t translated(Kind kind) const { return translated_[kind].load(std::memory_order_relaxed); }
319 std::uint64_t untranslated(Kind kind) const { return untranslated_[kind].load(std::memory_order_relaxed); } 516 std::uint64_t untranslated(Kind kind) const { return untranslated_[kind].load(std::memory_order_relaxed); }
@@ -324,26 +521,65 @@ private:
324 std::uint64_t shader_va; // what the range's first byte becomes 521 std::uint64_t shader_va; // what the range's first byte becomes
325 }; 522 };
326 523
524 void publish_pool_ranges(std::map<std::uint64_t, Range>& pending) {
525 try {
526 for (const auto& [base, range] : pending) by_shader_.insert(range.shader_va, range.end - base, base);
527 } catch (...) {
528 for (const auto& [base, range] : pending) by_shader_.erase(range.shader_va, base);
529 throw;
530 }
531 for (const auto& [base, range] : pending) notify(Change::added, base, range.end - base, range.shader_va);
532 ranges_.merge(pending);
533 count_.store(ranges_.size(), std::memory_order_release);
534 generation_.fetch_add(1, std::memory_order_release);
535 }
536
537 bool overlaps(std::uint64_t begin, std::uint64_t end) const {
538 const auto next = ranges_.lower_bound(begin);
539 return (next != ranges_.end() && next->first < end) ||
540 (next != ranges_.begin() && std::prev(next)->second.end > begin);
541 }
542
327 void erase_overlapping(std::uint64_t begin, std::uint64_t end) { 543 void erase_overlapping(std::uint64_t begin, std::uint64_t end) {
328 auto it = ranges_.lower_bound(begin); 544 auto it = ranges_.lower_bound(begin);
329 if (it != ranges_.begin()) { 545 if (it != ranges_.begin()) {
330 auto previous = std::prev(it); 546 auto previous = std::prev(it);
331 if (previous->second.end > begin) it = previous; 547 if (previous->second.end > begin) it = previous;
332 } 548 }
333 if (it != ranges_.end() && it->first < end) invalidations_.fetch_add(1, std::memory_order_release); 549 while (it != ranges_.end() && it->first < end) {
334 while (it != ranges_.end() && it->first < end) it = ranges_.erase(it); 550 notify(Change::removed, it->first, it->second.end - it->first, it->second.shader_va);
551 by_shader_.erase(it->second.shader_va, it->first);
552 note_removed(it->second.shader_va, it->second.end - it->first);
553 it = ranges_.erase(it);
554 }
335 } 555 }
336 556
557 // mutex_ held exclusively.
558 void note_removed(std::uint64_t shader_va, std::uint64_t bytes) {
559 if (record_removals_.load(std::memory_order_relaxed)) removed_.push_back({shader_va, bytes});
560 }
561
562 void notify(Change change, std::uint64_t title_va, std::uint64_t bytes, std::uint64_t shader_va) const {
563 std::shared_lock lock(listener_mutex_);
564 for (const auto& [context, listener] : listeners_) listener(context, change, title_va, bytes, shader_va);
565 }
566
567 mutable std::shared_mutex listener_mutex_; // taken inside mutex_ and memory_mutex_, never the other way
568 std::vector<std::pair<void*, Listener>> listeners_;
337 mutable std::shared_mutex mutex_; 569 mutable std::shared_mutex mutex_;
338 std::map<std::uint64_t, Range> ranges_; // by title VA 570 std::map<std::uint64_t, Range> ranges_; // by title VA
571 BufferVaIndex<std::uint64_t> by_shader_; // the same ranges by shader VA (id: the title VA); copies may overlap
339 std::atomic<std::size_t> count_{0}; 572 std::atomic<std::size_t> count_{0};
340 std::atomic<std::uint64_t> invalidations_{}; 573 std::atomic<std::uint64_t> generation_{};
574 std::atomic<bool> record_removals_{false};
575 std::vector<std::pair<std::uint64_t, std::uint64_t>> removed_; // (shader VA, bytes), when recorded
341 std::mutex hook_mutex_; 576 std::mutex hook_mutex_;
342 void* hook_context_ = nullptr; 577 void* hook_context_ = nullptr;
343 void* maker_context_ = nullptr; 578 void* maker_context_ = nullptr;
344 BufferMaker maker_ = nullptr; 579 BufferMaker maker_ = nullptr;
345 Resolver resolver_ = nullptr; 580 Resolver resolver_ = nullptr;
346 TableScanner scanner_ = nullptr; 581 TableScanner scanner_ = nullptr;
582 Noter noter_ = nullptr;
347 void* source_context_ = nullptr; 583 void* source_context_ = nullptr;
348 DescriptorSource source_ = nullptr; 584 DescriptorSource source_ = nullptr;
349 std::atomic<std::uint64_t> pulled_{0}; 585 std::atomic<std::uint64_t> pulled_{0};
@@ -352,6 +588,7 @@ private:
352 std::atomic<std::uint64_t> scans_{0}, scan_ns_{0}, scan_max_ns_{0}; 588 std::atomic<std::uint64_t> scans_{0}, scan_ns_{0}, scan_max_ns_{0};
353 mutable std::shared_mutex memory_mutex_; 589 mutable std::shared_mutex memory_mutex_;
354 std::map<std::uint64_t, std::uint64_t> memory_; // the title's memory: base -> end 590 std::map<std::uint64_t, std::uint64_t> memory_; // the title's memory: base -> end
591 std::atomic<std::uint64_t> memory_generation_{};
355}; 592};
356 593
357// The process's table: the device's title ranges and hooks, read by the command lists and descriptor writers. 594// The process's table: the device's title ranges and hooks, read by the command lists and descriptor writers.
@@ -360,12 +597,25 @@ inline TitleVaAliases& title_va_aliases() {
360 return aliases; 597 return aliases;
361} 598}
362 599
363// One diagnostic per descriptor-writing path. 600// One diagnostic per descriptor-writing path. Called per descriptor write on the unbacked path, so the sites already
601// told (string literals: their addresses) are looked up without the lock first.
364inline void note_unbacked_view(const char* site, std::uint64_t va, std::uint64_t bytes) { 602inline void note_unbacked_view(const char* site, std::uint64_t va, std::uint64_t bytes) {
603 static std::atomic<const char*> told[8] = {};
604 for (const auto& t : told)
605 if (t.load(std::memory_order_relaxed) == site) return;
365 static std::mutex mutex; 606 static std::mutex mutex;
366 static std::map<std::string, bool> sites; 607 static std::map<std::string, bool> sites;
367 { 608 {
368 std::lock_guard lock(mutex); 609 std::lock_guard lock(mutex);
610 for (auto& t : told) {
611 const char* none = nullptr;
612 if (t.load(std::memory_order_relaxed) == site ||
613 t.compare_exchange_strong(none, site, std::memory_order_relaxed))
614 break;
615 }
616 }
617 {
618 std::lock_guard lock(mutex);
369 if (!sites.emplace(site, true).second) return; 619 if (!sites.emplace(site, true).second) return;
370 } 620 }
371 std::fprintf(stderr, "[rt] d3d12: %s: address 0x%llx (%llu bytes) has no GPU copy; zero records\n", 621 std::fprintf(stderr, "[rt] d3d12: %s: address 0x%llx (%llu bytes) has no GPU copy; zero records\n",
diff --git a/runtime/src/title_window_plan.h b/runtime/src/title_window_plan.h
index cd17bc596..46bcc97c4 100644
--- a/runtime/src/title_window_plan.h
+++ b/runtime/src/title_window_plan.h
@@ -9,8 +9,11 @@
9// - a stream pool (the title's CPU view paired with a GPU-only alias, gfxgeom section 3) is one reservation of 9// - a stream pool (the title's CPU view paired with a GPU-only alias, gfxgeom section 3) is one reservation of
10// 16-24 GiB, so it cannot be one allocation: one mapping serves a page-aligned readable run of it, and every 10// 16-24 GiB, so it cannot be one allocation: one mapping serves a page-aligned readable run of it, and every
11// request inside that run reuses it instead of asking for a 128 KiB window each. 11// request inside that run reuses it instead of asking for a 128 KiB window each.
12#include "title_va_alias.h"
13
12#include <algorithm> 14#include <algorithm>
13#include <cstdint> 15#include <cstdint>
16#include <vector>
14 17
15namespace leonida { 18namespace leonida {
16 19
@@ -63,4 +66,59 @@ inline bool title_pool_extent(std::uint64_t pool_lo, std::uint64_t pool_hi, std:
63 return true; 66 return true;
64} 67}
65 68
69inline bool clip_title_pool_extent(TitleWindowRange& extent, std::uint64_t source, std::uint64_t twin,
70 std::uint64_t source_lo, std::uint64_t source_hi,
71 std::uint64_t twin_lo, std::uint64_t twin_hi) {
72 if (source < source_lo || source >= source_hi || twin < twin_lo || twin >= twin_hi ||
73 source < extent.start || source - extent.start >= extent.size)
74 return false;
75 const auto prefix = source - extent.start;
76 const auto before = std::min({prefix, source - source_lo, twin - twin_lo});
77 const auto after = std::min({extent.size - prefix, source_hi - source, twin_hi - twin});
78 extent = {source - before, before + after};
79 return true;
80}
81
82// The one mapping a stream-pool request [va, end) gets when what would serve it stops short: the extent clipped to
83// the free span (clip_title_pool_extent) ends at the next mapping, or `va` lies in a mapping that ends before `end`.
84// It starts at `start` (that extent's start, or `va`) and covers the request and, whole, every range the result
85// overlaps in either view (`twin`: va's byte in the pair's other view, `va` when there is none), page-aligned at its
86// end. A range entered over it replaces those ranges whole (TitleVaAliases::replace_twin), so none of their bytes is
87// left unanswered and no view reaches past the copy it was given. `owned(shader_va)` says the caller can retire the
88// copy a range answers from (a title window); any other range in the way (a slot-133 buffer, a geometry copy) makes
89// it false, as does a mapping past `most` bytes or outside [pool_lo, pool_hi) in its own view. The pool's other view
90// is [twin_lo, twin_hi), `twin` being va's byte there; one that would not fit in 64 bits makes it false too, so no
91// address is ever taken modulo 2^64. `out` is unchanged on false.
92template <class Owned>
93inline bool title_pool_cover(const TitleVaAliases& aliases, std::uint64_t pool_lo, std::uint64_t pool_hi,
94 std::uint64_t va, std::uint64_t twin, std::uint64_t start, std::uint64_t end,
95 std::uint64_t align, std::uint64_t most, Owned&& owned, TitleWindowRange& out) {
96 if (!align || (align & (align - 1)) != 0 || start > va || va >= end || start < pool_lo || end > pool_hi)
97 return false;
98 if (twin < va - pool_lo || pool_hi - va > UINT64_MAX - twin) return false;
99 const auto aligned_end = [&](std::uint64_t e) {
100 return e > pool_hi - (align - 1) ? pool_hi : (std::min)(pool_hi, (e + align - 1) & ~(align - 1));
101 };
102 // Each view's bounds: a range at x in the twin view is at x - twin_lo + pool_lo in va's.
103 const std::uint64_t base[2] = {pool_lo, twin - (va - pool_lo)}, top[2] = {pool_hi, twin + (pool_hi - va)};
104 std::uint64_t lo = start, hi = aligned_end(end);
105 std::vector<TitleVaAliases::Mapping> hits;
106 for (bool grew = true; grew;) {
107 grew = false;
108 for (int view = 0; view < (twin != va ? 2 : 1); ++view) {
109 aliases.overlapping(lo - pool_lo + base[view], hi - pool_lo + base[view], hits);
110 for (const TitleVaAliases::Mapping& m : hits) {
111 // Not ours, or not coverable: reaching past the pool in its own view.
112 if (!owned(m.shader_va) || m.title_va < base[view] || m.end > top[view]) return false;
113 const std::uint64_t b = m.title_va - base[view] + pool_lo, e = m.end - base[view] + pool_lo;
114 if (b < lo) lo = b, grew = true;
115 if (e > hi) hi = aligned_end(e), grew = true;
116 }
117 }
118 if (lo < pool_lo || hi > pool_hi || hi - lo > most) return false;
119 }
120 out = {lo, hi - lo};
121 return true;
122}
123
66} // namespace leonida 124} // namespace leonida
diff --git a/runtime/src/vulkan13_features.h b/runtime/src/vulkan13_features.h
index 8f2dd61f8..0cb843cef 100644
--- a/runtime/src/vulkan13_features.h
+++ b/runtime/src/vulkan13_features.h
@@ -40,6 +40,9 @@ public:
40 bool subgroup_size_control = false; 40 bool subgroup_size_control = false;
41 bool compute_full_subgroups = false; 41 bool compute_full_subgroups = false;
42 bool extended_dynamic_state = false; // core on 1.3; on 1.2 both VK_EXT_extended_dynamic_state(2) extensions 42 bool extended_dynamic_state = false; // core on 1.3; on 1.2 both VK_EXT_extended_dynamic_state(2) extensions
43 // VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT, asking a pipeline cache "do you have it?" without a
44 // compile (pipeline_cache_journal.h). Core 1.3 only; a 1.2 device goes without.
45 bool pipeline_creation_cache_control = false;
43 46
44 bool usable() const { return dynamic_rendering && synchronization2; } 47 bool usable() const { return dynamic_rendering && synchronization2; }
45 48
@@ -49,7 +52,7 @@ public:
49 core = api_version >= VK_API_VERSION_1_3; 52 core = api_version >= VK_API_VERSION_1_3;
50 pipeline_cache_control=false;enable_pipeline_cache_control=false; 53 pipeline_cache_control=false;enable_pipeline_cache_control=false;
51 dynamic_rendering = synchronization2 = subgroup_size_control = compute_full_subgroups = false; 54 dynamic_rendering = synchronization2 = subgroup_size_control = compute_full_subgroups = false;
52 extended_dynamic_state = false; 55 extended_dynamic_state = pipeline_creation_cache_control = false;
53 if (!features2) return; 56 if (!features2) return;
54 if (core) { 57 if (core) {
55 VkPhysicalDeviceVulkan13Features f13{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES}; 58 VkPhysicalDeviceVulkan13Features f13{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES};
@@ -60,6 +63,7 @@ public:
60 synchronization2 = f13.synchronization2 == VK_TRUE; 63 synchronization2 = f13.synchronization2 == VK_TRUE;
61 subgroup_size_control = f13.subgroupSizeControl == VK_TRUE; 64 subgroup_size_control = f13.subgroupSizeControl == VK_TRUE;
62 compute_full_subgroups = f13.computeFullSubgroups == VK_TRUE; 65 compute_full_subgroups = f13.computeFullSubgroups == VK_TRUE;
66 pipeline_creation_cache_control = f13.pipelineCreationCacheControl == VK_TRUE;
63 extended_dynamic_state = true; // core in 1.3, no feature bit 67 extended_dynamic_state = true; // core in 1.3, no feature bit
64 return; 68 return;
65 } 69 }
@@ -108,6 +112,7 @@ public:
108 subgroup_size_control = from.subgroup_size_control; 112 subgroup_size_control = from.subgroup_size_control;
109 compute_full_subgroups = from.compute_full_subgroups; 113 compute_full_subgroups = from.compute_full_subgroups;
110 extended_dynamic_state = from.extended_dynamic_state; 114 extended_dynamic_state = from.extended_dynamic_state;
115 pipeline_creation_cache_control = from.pipeline_creation_cache_control;
111 } 116 }
112 117
113 // The structs that enable both features, ahead of `chain`; returns their head for VkPhysicalDeviceVulkan12Features' 118 // The structs that enable both features, ahead of `chain`; returns their head for VkPhysicalDeviceVulkan12Features'
@@ -120,6 +125,7 @@ public:
120 enable13_.synchronization2 = VK_TRUE; 125 enable13_.synchronization2 = VK_TRUE;
121 enable13_.subgroupSizeControl = subgroup_size_control ? VK_TRUE : VK_FALSE; 126 enable13_.subgroupSizeControl = subgroup_size_control ? VK_TRUE : VK_FALSE;
122 enable13_.computeFullSubgroups = compute_full_subgroups ? VK_TRUE : VK_FALSE; 127 enable13_.computeFullSubgroups = compute_full_subgroups ? VK_TRUE : VK_FALSE;
128 enable13_.pipelineCreationCacheControl = pipeline_creation_cache_control ? VK_TRUE : VK_FALSE;
123 return &enable13_; 129 return &enable13_;
124 } 130 }
125 if (subgroup_size_control) { 131 if (subgroup_size_control) {
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h
index 145fa11ee..556022fb2 100644
--- a/runtime/src/vulkan_backend.h
+++ b/runtime/src/vulkan_backend.h
@@ -30,6 +30,7 @@
30#include "resource_tiling.h" 30#include "resource_tiling.h"
31#include "pipeline_profile.h" 31#include "pipeline_profile.h"
32#include "submit_phases.h" 32#include "submit_phases.h"
33#include "pipeline_wait.h"
33#include "title_va_alias.h" 34#include "title_va_alias.h"
34#include "xdxr_build.h" 35#include "xdxr_build.h"
35 36
@@ -124,13 +125,14 @@ struct VulkanDeviceFunctions {
124 X(vkCmdPushConstants) X(vkCmdDispatch) \ 125 X(vkCmdPushConstants) X(vkCmdDispatch) \
125 X(vkCmdBindVertexBuffers2) X(vkCmdBindIndexBuffer) X(vkCmdSetViewport) X(vkCmdSetScissor) \ 126 X(vkCmdBindVertexBuffers2) X(vkCmdBindIndexBuffer) X(vkCmdSetViewport) X(vkCmdSetScissor) \
126 X(vkCmdSetViewportWithCount) X(vkCmdSetScissorWithCount) \ 127 X(vkCmdSetViewportWithCount) X(vkCmdSetScissorWithCount) \
127 X(vkCmdSetPrimitiveTopology) X(vkCmdSetPrimitiveRestartEnable) X(vkCmdSetStencilReference) \ 128 X(vkCmdSetPrimitiveTopology) X(vkCmdSetPrimitiveRestartEnable) X(vkCmdSetStencilReference) X(vkCmdSetDepthBounds) \
128 X(vkCmdSetBlendConstants) X(vkCmdDraw) \ 129 X(vkCmdSetBlendConstants) X(vkCmdDraw) \
129 X(vkCmdDrawIndexed) X(vkCreateGraphicsPipelines) X(vkQueueBindSparse) X(vkGetImageSparseMemoryRequirements) \ 130 X(vkCmdDrawIndexed) X(vkCreateGraphicsPipelines) X(vkQueueBindSparse) X(vkGetImageSparseMemoryRequirements) \
130 X(vkCreatePipelineCache) X(vkDestroyPipelineCache) X(vkGetPipelineCacheData) X(vkMergePipelineCaches) \ 131 X(vkCreatePipelineCache) X(vkDestroyPipelineCache) X(vkGetPipelineCacheData) X(vkMergePipelineCaches) \
131 X(vkCreateEvent) X(vkDestroyEvent) X(vkResetEvent) X(vkCmdSetEvent) X(vkCmdWaitEvents) X(vkCmdDrawMeshTasksEXT) \ 132 X(vkCreateEvent) X(vkDestroyEvent) X(vkResetEvent) X(vkCmdSetEvent) X(vkCmdWaitEvents) X(vkCmdDrawMeshTasksEXT) X(vkCmdDrawMeshTasksIndirectEXT) X(vkCmdDrawMeshTasksIndirectCountEXT) \
132 X(vkCreateRenderPass2) X(vkDestroyRenderPass) X(vkCreateFramebuffer) X(vkDestroyFramebuffer) \ 133 X(vkCreateRenderPass2) X(vkDestroyRenderPass) X(vkCreateFramebuffer) X(vkDestroyFramebuffer) \
133 X(vkCmdBeginRenderPass) X(vkCmdEndRenderPass) 134 X(vkCmdBeginRenderPass) X(vkCmdEndRenderPass) \
135 X(vkCmdBeginQueryIndexedEXT) X(vkCmdEndQueryIndexedEXT)
134#define LEONIDA_VK_MEMBER(name) PFN_##name name = nullptr; 136#define LEONIDA_VK_MEMBER(name) PFN_##name name = nullptr;
135 LEONIDA_VK_DEVICE_FUNCTIONS(LEONIDA_VK_MEMBER) 137 LEONIDA_VK_DEVICE_FUNCTIONS(LEONIDA_VK_MEMBER)
136#undef LEONIDA_VK_MEMBER 138#undef LEONIDA_VK_MEMBER
@@ -165,6 +167,9 @@ struct VulkanDeviceFunctions {
165 return vkCmdBeginRendering && vkCmdEndRendering && vkCmdBindVertexBuffers2 && vkCmdSetPrimitiveTopology && 167 return vkCmdBeginRendering && vkCmdEndRendering && vkCmdBindVertexBuffers2 && vkCmdSetPrimitiveTopology &&
166 vkCmdSetPrimitiveRestartEnable; 168 vkCmdSetPrimitiveRestartEnable;
167 } 169 }
170 // VK_EXT_transform_feedback is enabled on the device: the indexed-query entry points are loaded, so an
171 // SO_STATISTICS heap can be a real transform-feedback pool (D3D-302).
172 bool transform_feedback = false;
168}; 173};
169 174
170// Both kinds of compute resolve use the same storage buffer, descriptor set and pipeline layout. 175// Both kinds of compute resolve use the same storage buffer, descriptor set and pipeline layout.
@@ -618,6 +623,8 @@ inline Stats& stats(int kind) {
618 static Stats s[3]; 623 static Stats s[3];
619 return s[kind < 0 || kind > 2 ? 0 : kind]; 624 return s[kind < 0 || kind > 2 ? 0 : kind];
620} 625}
626inline void held_tick(int kind); // below: the held-operations line, due on the same 10 s
627
621inline void done(int kind, std::chrono::steady_clock::time_point submitted) { 628inline void done(int kind, std::chrono::steady_clock::time_point submitted) {
622 using clock = std::chrono::steady_clock; 629 using clock = std::chrono::steady_clock;
623 const auto now = clock::now(); 630 const auto now = clock::now();
@@ -641,36 +648,66 @@ inline void done(int kind, std::chrono::steady_clock::time_point submitted) {
641 s.sum_ms = s.max_ms = s.busy_ms = 0; 648 s.sum_ms = s.max_ms = s.busy_ms = 0;
642 s.since = now; 649 s.since = now;
643 } 650 }
651 held_tick(kind);
644} 652}
645// A held queue operation (Wait before Signal), released: how long it waited on the CPU before it could run. 653// A held queue operation (Wait before Signal), released: how long it waited on the CPU before it could run.
646inline void held(int kind, int op, std::chrono::steady_clock::time_point at) { 654// A held queue operation (Wait before Signal), released: how long it waited on the CPU before it could run, and for
655// the longest one of the window the fence (semaphore handle) and value it waited for, so the slow signaller can be
656// named. The line is due every 10 s: held() prints it, and so does done() (held_tick), so a window with nothing
657// released still reports.
658struct HeldStats {
659 std::mutex mutex;
660 std::uint64_t count[3] = {};
661 double sum_ms = 0, max_ms = 0;
662 std::uint64_t max_fence = 0, max_value = 0;
663 int max_op = 0;
664 std::chrono::steady_clock::time_point since = std::chrono::steady_clock::now();
665};
666inline HeldStats& held_stats(int kind) {
667 static HeldStats h[3];
668 return h[kind < 0 || kind > 2 ? 0 : kind];
669}
670// held_stats(kind).mutex held.
671inline void held_report_locked(int kind, HeldStats& s, std::chrono::steady_clock::time_point now) {
672 if (now - s.since < std::chrono::seconds(10)) return;
673 const std::uint64_t all = s.count[0] + s.count[1] + s.count[2];
674 std::fprintf(stderr, "[rt] gpu latency (%s): %llu held operations released in %.0f s (%llu batches, %llu "
675 "signals, %llu markers), held %.2f ms on average, %.1f ms the longest",
676 kind == 0 ? "direct" : kind == 1 ? "compute" : "copy", static_cast<unsigned long long>(all),
677 std::chrono::duration<double>(now - s.since).count(), static_cast<unsigned long long>(s.count[0]),
678 static_cast<unsigned long long>(s.count[1]), static_cast<unsigned long long>(s.count[2]),
679 all ? s.sum_ms / double(all) : 0.0, s.max_ms);
680 if (all && s.max_fence)
681 std::fprintf(stderr, " (a %s waiting for fence 0x%llx value %llu)",
682 s.max_op == 0 ? "batch" : s.max_op == 1 ? "Signal" : "marker",
683 static_cast<unsigned long long>(s.max_fence), static_cast<unsigned long long>(s.max_value));
684 std::fputc('\n', stderr);
685 s.count[0] = s.count[1] = s.count[2] = 0;
686 s.sum_ms = s.max_ms = 0;
687 s.max_fence = s.max_value = 0;
688 s.since = now;
689}
690inline void held(int kind, int op, std::chrono::steady_clock::time_point at, std::uint64_t fence = 0,
691 std::uint64_t value = 0) {
647 using clock = std::chrono::steady_clock; 692 using clock = std::chrono::steady_clock;
648 struct Held { 693 HeldStats& s = held_stats(kind);
649 std::mutex mutex;
650 std::uint64_t count[3] = {};
651 double sum_ms = 0, max_ms = 0;
652 clock::time_point since = clock::now();
653 };
654 static Held h[3];
655 Held& s = h[kind < 0 || kind > 2 ? 0 : kind];
656 const auto now = clock::now(); 694 const auto now = clock::now();
657 const double ms = std::chrono::duration<double, std::milli>(now - at).count(); 695 const double ms = std::chrono::duration<double, std::milli>(now - at).count();
658 std::lock_guard lock(s.mutex); 696 std::lock_guard lock(s.mutex);
659 ++s.count[op < 0 || op > 2 ? 0 : op]; 697 ++s.count[op < 0 || op > 2 ? 0 : op];
660 s.sum_ms += ms; 698 s.sum_ms += ms;
661 s.max_ms = (std::max)(s.max_ms, ms); 699 if (ms > s.max_ms) {
662 if (now - s.since >= std::chrono::seconds(10)) { 700 s.max_ms = ms;
663 const std::uint64_t all = s.count[0] + s.count[1] + s.count[2]; 701 s.max_fence = fence;
664 std::fprintf(stderr, "[rt] gpu latency (%s): %llu held operations released in %.0f s (%llu batches, %llu " 702 s.max_value = value;
665 "signals, %llu markers), held %.2f ms on average, %.1f ms the longest\n", 703 s.max_op = op;
666 kind == 0 ? "direct" : kind == 1 ? "compute" : "copy", static_cast<unsigned long long>(all),
667 std::chrono::duration<double>(now - s.since).count(), static_cast<unsigned long long>(s.count[0]),
668 static_cast<unsigned long long>(s.count[1]), static_cast<unsigned long long>(s.count[2]),
669 all ? s.sum_ms / double(all) : 0.0, s.max_ms);
670 s.count[0] = s.count[1] = s.count[2] = 0;
671 s.sum_ms = s.max_ms = 0;
672 s.since = now;
673 } 704 }
705 held_report_locked(kind, s, now);
706}
707inline void held_tick(int kind) {
708 HeldStats& s = held_stats(kind);
709 std::lock_guard lock(s.mutex);
710 held_report_locked(kind, s, std::chrono::steady_clock::now());
674} 711}
675} // namespace gpu_latency 712} // namespace gpu_latency
676 713
@@ -1090,6 +1127,8 @@ public:
1090 GraphicsIndirectCapabilities indirect = {}) 1127 GraphicsIndirectCapabilities indirect = {})
1091 : device_(device), tracker_(separate_depth_stencil_layouts), ray_tracing_(ray_tracing) { 1128 : device_(device), tracker_(separate_depth_stencil_layouts), ray_tracing_(ray_tracing) {
1092 loaded_ = vk.load(get, device); 1129 loaded_ = vk.load(get, device);
1130 // VK_EXT_transform_feedback: enabled on the device when its indexed-query entry points resolved (D3D-302).
1131 vk.transform_feedback = vk.vkCmdBeginQueryIndexedEXT && vk.vkCmdEndQueryIndexedEXT;
1093 if (loaded_ && gpu_labels_.initialize(device, get)) { 1132 if (loaded_ && gpu_labels_.initialize(device, get)) {
1094 replay_.gpu_label = [this](VkCommandBuffer cb, const label::Write& write) { gpu_labels_.record(cb, write); }; 1133 replay_.gpu_label = [this](VkCommandBuffer cb, const label::Write& write) { gpu_labels_.record(cb, write); };
1095 } 1134 }
@@ -1125,6 +1164,11 @@ public:
1125 replay_.reset_query_pool = vk.vkCmdResetQueryPool; 1164 replay_.reset_query_pool = vk.vkCmdResetQueryPool;
1126 replay_.begin_query = vk.vkCmdBeginQuery; 1165 replay_.begin_query = vk.vkCmdBeginQuery;
1127 replay_.end_query = vk.vkCmdEndQuery; 1166 replay_.end_query = vk.vkCmdEndQuery;
1167 // VK_EXT_transform_feedback (D3D-302), loaded when the device enabled it: indexed SO_STATISTICS queries.
1168 if (vk.transform_feedback) {
1169 replay_.begin_query_indexed = vk.vkCmdBeginQueryIndexedEXT;
1170 replay_.end_query_indexed = vk.vkCmdEndQueryIndexedEXT;
1171 }
1128 replay_.write_timestamp = vk.vkCmdWriteTimestamp; 1172 replay_.write_timestamp = vk.vkCmdWriteTimestamp;
1129 replay_.copy_query_pool_results = vk.vkCmdCopyQueryPoolResults; 1173 replay_.copy_query_pool_results = vk.vkCmdCopyQueryPoolResults;
1130 replay_.bind_pipeline = vk.vkCmdBindPipeline; 1174 replay_.bind_pipeline = vk.vkCmdBindPipeline;
@@ -1148,8 +1192,11 @@ public:
1148 replay_.set_primitive_restart_enable = vk.vkCmdSetPrimitiveRestartEnable; 1192 replay_.set_primitive_restart_enable = vk.vkCmdSetPrimitiveRestartEnable;
1149 replay_.set_stencil_reference = vk.vkCmdSetStencilReference; 1193 replay_.set_stencil_reference = vk.vkCmdSetStencilReference;
1150 replay_.set_blend_constants = vk.vkCmdSetBlendConstants; 1194 replay_.set_blend_constants = vk.vkCmdSetBlendConstants;
1195 replay_.set_depth_bounds = vk.vkCmdSetDepthBounds;
1151 replay_.draw = vk.vkCmdDraw; 1196 replay_.draw = vk.vkCmdDraw;
1152 replay_.draw_mesh_tasks = vk.vkCmdDrawMeshTasksEXT; // null unless VK_EXT_mesh_shader is enabled 1197 replay_.draw_mesh_tasks = vk.vkCmdDrawMeshTasksEXT; // null unless VK_EXT_mesh_shader is enabled
1198 replay_.draw_mesh_tasks_indirect = vk.vkCmdDrawMeshTasksIndirectEXT;
1199 replay_.draw_mesh_tasks_indirect_count = vk.vkCmdDrawMeshTasksIndirectCountEXT;
1153 replay_.draw_indexed = vk.vkCmdDrawIndexed; 1200 replay_.draw_indexed = vk.vkCmdDrawIndexed;
1154 replay_.graphics_pipeline = [this](std::uintptr_t id) -> const GraphicsPipeline* { 1201 replay_.graphics_pipeline = [this](std::uintptr_t id) -> const GraphicsPipeline* {
1155 const auto it = graphics_pipelines_.find(id); 1202 const auto it = graphics_pipelines_.find(id);
@@ -1278,8 +1325,12 @@ public:
1278 1325
1279 bool loaded() const { return loaded_; } 1326 bool loaded() const { return loaded_; }
1280 1327
1281 void configure_device_fault(PFN_vkGetDeviceProcAddr get, DeviceFaultExtensions enabled) { 1328 // `memory`: the physical device's memory types, for the AMD marker buffer (enabled.markers).
1282 device_fault_ = std::make_unique<DeviceFaultDiagnostics>(get, device_, enabled); 1329 void configure_device_fault(PFN_vkGetDeviceProcAddr get, DeviceFaultExtensions enabled,
1330 const VkPhysicalDeviceMemoryProperties* memory = nullptr) {
1331 device_fault_ = std::make_unique<DeviceFaultDiagnostics>(get, device_, enabled, memory,
1332 vk.vkCmdPipelineBarrier2 != nullptr);
1333 device_fault_->set_submit_lock(&submit_mutex_);
1283 if (fence_dispatcher_) fence_dispatcher_->set_device_fault(device_fault_.get()); 1334 if (fence_dispatcher_) fence_dispatcher_->set_device_fault(device_fault_.get());
1284 if (loaded_) progress_watch_ = std::jthread([this](std::stop_token stop) { watch_queue_progress(stop); }); 1335 if (loaded_) progress_watch_ = std::jthread([this](std::stop_token stop) { watch_queue_progress(stop); });
1285 } 1336 }
@@ -1326,14 +1377,19 @@ public:
1326 // device-local memory, and must set VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT. LEONIDA_INDIRECT_CLAMP=0 turns the 1377 // device-local memory, and must set VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT. LEONIDA_INDIRECT_CLAMP=0 turns the
1327 // pass off at replay time. 1378 // pass off at replay time.
1328 void enable_indirect_clamp(PFN_vkGetDeviceProcAddr get, const VkPhysicalDeviceMemoryProperties& memory, 1379 void enable_indirect_clamp(PFN_vkGetDeviceProcAddr get, const VkPhysicalDeviceMemoryProperties& memory,
1329 const VkPhysicalDeviceLimits& limits, ScratchBuffers::Allocate allocate) { 1380 const VkPhysicalDeviceLimits& limits, ScratchBuffers::Allocate allocate,
1381 std::vector<std::uint32_t> families = {}) {
1330 std::unique_lock lock(resource_mutex_); 1382 std::unique_lock lock(resource_mutex_);
1383 // An enabled clamp is required: a call whose scratch preparation fails is refused (unsupported) instead of
1384 // reading the application's argument buffer, which may hold a record no compute pass wrote. Off, or on a
1385 // device the pass cannot run on, the replay keeps the application's buffer as before.
1331 replay_.require_indirect_clamp = indirect_clamp_enabled(); 1386 replay_.require_indirect_clamp = indirect_clamp_enabled();
1332 if (!replay_.require_indirect_clamp) return; 1387 if (!replay_.require_indirect_clamp) return;
1333 indirect_clamp_ = std::make_unique<IndirectArgumentClamp>(get, device_, memory, limits, std::move(allocate), 1388 indirect_clamp_ = std::make_unique<IndirectArgumentClamp>(get, device_, memory, limits, std::move(allocate),
1334 device_fault_.get()); 1389 device_fault_.get(), std::move(families));
1335 if (!indirect_clamp_->loaded()) { 1390 if (!indirect_clamp_->loaded()) {
1336 indirect_clamp_.reset(); 1391 indirect_clamp_.reset();
1392 replay_.require_indirect_clamp = false;
1337 return; 1393 return;
1338 } 1394 }
1339 // The preparation callback needs this submission's counter-slot batch, so it is set per ExecuteCommandLists 1395 // The preparation callback needs this submission's counter-slot batch, so it is set per ExecuteCommandLists
@@ -1545,32 +1601,42 @@ public:
1545 } 1601 }
1546 1602
1547 // Pipelines are registered by an opaque id (the PSO object) for as long as the PSO lives. 1603 // Pipelines are registered by an opaque id (the PSO object) for as long as the PSO lives.
1604 // Guarded by pipeline_mutex_ (separate from resource_mutex_) so shader compilation on one queue does not block
1605 // resource registration or destruction on the render thread.
1548 void add_pipeline(std::uintptr_t id, const ComputePipeline& pipeline, const char* shader = nullptr) { 1606 void add_pipeline(std::uintptr_t id, const ComputePipeline& pipeline, const char* shader = nullptr) {
1549 std::unique_lock lock(resource_mutex_); 1607 std::unique_lock lock(pipeline_mutex_);
1550 pipelines_[id] = pipeline; 1608 pipelines_[id] = pipeline;
1551 if (shader && device_fault_) device_fault_->pipeline_names[id] = {shader}; 1609 if (shader && device_fault_) device_fault_->pipeline_names[id] = {shader};
1552 } 1610 }
1553 void remove_pipeline(std::uintptr_t id) { 1611 void remove_pipeline(std::uintptr_t id) {
1554 std::unique_lock lock(resource_mutex_); 1612 std::unique_lock lock(pipeline_mutex_);
1555 pipelines_.erase(id); 1613 pipelines_.erase(id);
1556 graphics_pipelines_.erase(id); 1614 graphics_pipelines_.erase(id);
1557 if (device_fault_) device_fault_->pipeline_names.erase(id); 1615 if (device_fault_) device_fault_->pipeline_names.erase(id);
1558 } 1616 }
1559 void add_graphics_pipeline(std::uintptr_t id, const GraphicsPipeline& pipeline, 1617 void add_graphics_pipeline(std::uintptr_t id, const GraphicsPipeline& pipeline,
1560 const CheckpointShaders* shaders = nullptr) { 1618 const CheckpointShaders* shaders = nullptr) {
1561 std::unique_lock lock(resource_mutex_); 1619 std::unique_lock lock(pipeline_mutex_);
1562 graphics_pipelines_[id] = pipeline; 1620 graphics_pipelines_[id] = pipeline;
1563 if (shaders && device_fault_) device_fault_->pipeline_names[id] = *shaders; 1621 if (shaders && device_fault_) device_fault_->pipeline_names[id] = *shaders;
1564 } 1622 }
1565 // Workers for the pipelines a submission needs and that are not built yet. Null (the default): each is built where 1623 // Workers for the pipelines a submission needs and that are not built yet. Null (the default): compiled serially on
1566 // prepare() meets it, on the submitting thread. Replacing it waits for submissions that are compiling, and ends the 1624 // the submitting thread once resource_mutex_ is released. Replacing it waits for submissions that are compiling, and
1567 // workers it had. 1625 // ends the workers it had.
1568 void set_pipeline_workers(std::unique_ptr<PipelineWorkers> workers) { 1626 void set_pipeline_workers(std::unique_ptr<PipelineWorkers> workers) {
1569 std::unique_lock lock(resource_mutex_); 1627 std::unique_lock lock(pipeline_mutex_);
1570 pipeline_workers_.swap(workers); 1628 pipeline_workers_.swap(workers);
1571 } 1629 }
1630 // For the large pipelines of a submission: the memory they may use while they compile together
1631 // (PipelineCompiles::build), and what is kept while they do (LargeModuleGate::Demand). None (the default): they compile
1632 // one after another.
1633 void set_large_compiles(std::function<std::uint64_t()> budget, std::function<std::shared_ptr<void>()> demand) {
1634 std::unique_lock lock(pipeline_mutex_);
1635 large_compile_budget_ = std::move(budget);
1636 large_compile_demand_ = std::move(demand);
1637 }
1572 PipelineWorkers::Stats pipeline_worker_stats() { 1638 PipelineWorkers::Stats pipeline_worker_stats() {
1573 std::shared_lock lock(resource_mutex_); 1639 std::shared_lock lock(pipeline_mutex_);
1574 return pipeline_workers_ ? pipeline_workers_->stats() : PipelineWorkers::Stats{}; 1640 return pipeline_workers_ ? pipeline_workers_->stats() : PipelineWorkers::Stats{};
1575 } 1641 }
1576 // Configure before queue creation, when the selected queue family supports compute. 1642 // Configure before queue creation, when the selected queue family supports compute.
@@ -1584,6 +1650,44 @@ public:
1584 return host_texture_stats_; 1650 return host_texture_stats_;
1585 } 1651 }
1586 1652
1653 // LOCAL FIX (deadlock on the first-run pages): the texture writes below used vkDeviceWaitIdle with the submit
1654 // lock held. The device is idle only once every queue has run all it was given, and a queue whose submitted
1655 // work waits on a value a later submission signals never gets there while this thread keeps the lock: a native
1656 // boot sat 270 s in vkDeviceWaitIdle (title staging), then lost the device. Instead: wait for the queue
1657 // timelines to pass what was submitted so far, at most `timeout`; on VK_TIMEOUT the caller skips this write (the
1658 // title-texture pass tries it again) rather than freeze the title. Not covered, unlike the device wait: present
1659 // and probe submissions, which have their own fences outside the retirement timelines (a present reading the
1660 // image). The staged write is ordered behind them anyway (same queue, an ALL_COMMANDS barrier); the host copy
1661 // is not, so a presented title texture can be written while a present still reads it (a torn frame, no fault).
1662 // With submit_mutex_ held.
1663 VkResult wait_submitted_locked(std::uint64_t timeout_ns, const char* what) {
1664 if (is_device_lost()) return VK_ERROR_DEVICE_LOST; // a queue's timeline may be gone already
1665 const auto pending = retire_tickets_.pending_through(submitted_ticket_.load(std::memory_order_acquire));
1666 if (pending.empty()) return VK_SUCCESS;
1667 std::vector<VkSemaphore> semaphores;
1668 std::vector<std::uint64_t> values;
1669 for (const auto& [semaphore, value] : pending) {
1670 semaphores.push_back(semaphore);
1671 values.push_back(value);
1672 }
1673 VkSemaphoreWaitInfo wait{VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO};
1674 wait.semaphoreCount = std::uint32_t(semaphores.size());
1675 wait.pSemaphores = semaphores.data();
1676 wait.pValues = values.data();
1677 const VkResult r = observe_result(vk.vkWaitSemaphores(device_, &wait, timeout_ns), what);
1678 if (r == VK_TIMEOUT) {
1679 static std::atomic<std::uint64_t> timeouts{0};
1680 const std::uint64_t n = timeouts.fetch_add(1, std::memory_order_relaxed) + 1;
1681 if (!(n & (n - 1)))
1682 std::fprintf(stderr, "[rt] vulkan: %s: submitted work not done within %llu ms (%llu time(s)); the "
1683 "write is skipped this time\n", what,
1684 static_cast<unsigned long long>(timeout_ns / 1000000), static_cast<unsigned long long>(n));
1685 }
1686 return r;
1687 }
1688 // Short: a timeout is certain when the awaited work needs this thread's lock, and the write is only skipped.
1689 static constexpr std::uint64_t kTitleWriteWaitNs = 250'000'000; // 250 ms
1690
1587 // CPU writes to a title texture have no application fence. Prevent another queue from 1691 // CPU writes to a title texture have no application fence. Prevent another queue from
1588 // claiming a new layout or submitting work between the completion check and the host copy. 1692 // claiming a new layout or submitting work between the completion check and the host copy.
1589 // An unsatisfied console Wait lives in QueueHolds, outside the Vulkan queues. 1693 // An unsatisfied console Wait lives in QueueHolds, outside the Vulkan queues.
@@ -1594,7 +1698,13 @@ public:
1594 if (tracker_.layout(id, subresource) != VK_IMAGE_LAYOUT_GENERAL) return VK_NOT_READY; 1698 if (tracker_.layout(id, subresource) != VK_IMAGE_LAYOUT_GENERAL) return VK_NOT_READY;
1595 if (image_work_pending_) { 1699 if (image_work_pending_) {
1596 ++host_texture_stats_.waits; 1700 ++host_texture_stats_.waits;
1597 const auto result = observe_result(vk.vkDeviceWaitIdle(device_), "vkDeviceWaitIdle (title texture upload)"); 1701 // A device wait is a queue operation: it passes the compile gate, so it never waits in the driver behind a
1702 // long pipeline create (the starved wait that loses the device after 10 s).
1703 const SubmitMutex::SubmitTurn turn(submit_mutex_, false);
1704 const auto result = wait_submitted_locked(kTitleWriteWaitNs, "vkWaitSemaphores (title texture upload)");
1705 // Not done in time: VK_NOT_READY, so the caller takes its staged path (ordered on the queue) or tries
1706 // again later, and the skip is not counted as a failed fill.
1707 if (result == VK_TIMEOUT) return VK_NOT_READY;
1598 if (result != VK_SUCCESS) return result; 1708 if (result != VK_SUCCESS) return result;
1599 image_work_pending_ = false; 1709 image_work_pending_ = false;
1600 } 1710 }
@@ -1612,7 +1722,8 @@ public:
1612 LayoutPieces pieces; 1722 LayoutPieces pieces;
1613 if (!tracker_.pieces(id, range, pieces) || pieces.empty()) return VK_ERROR_UNKNOWN; 1723 if (!tracker_.pieces(id, range, pieces) || pieces.empty()) return VK_ERROR_UNKNOWN;
1614 if (image_work_pending_) { 1724 if (image_work_pending_) {
1615 const auto r = observe_result(vk.vkDeviceWaitIdle(device_), "vkDeviceWaitIdle (title staging)"); 1725 const SubmitMutex::SubmitTurn turn(submit_mutex_, false); // a queue operation: the compile gate (as above)
1726 const auto r = wait_submitted_locked(kTitleWriteWaitNs, "vkWaitSemaphores (title staging)");
1616 if (r != VK_SUCCESS) return r; 1727 if (r != VK_SUCCESS) return r;
1617 image_work_pending_ = false; 1728 image_work_pending_ = false;
1618 } 1729 }
@@ -1696,6 +1807,7 @@ public:
1696 XdxrTriangles g; 1807 XdxrTriangles g;
1697 g.vertices = t.vertex_va ? base + t.vertex_va : 0; 1808 g.vertices = t.vertex_va ? base + t.vertex_va : 0;
1698 g.vertex_stride = t.vertex_stride; 1809 g.vertex_stride = t.vertex_stride;
1810 g.vertex_count = t.vertex_count;
1699 g.xy_only = t.vertex_format == VK_FORMAT_R32G32_SFLOAT; 1811 g.xy_only = t.vertex_format == VK_FORMAT_R32G32_SFLOAT;
1700 g.indices = t.index_type && t.index_va ? base + t.index_va : 0; 1812 g.indices = t.index_type && t.index_va ? base + t.index_va : 0;
1701 g.index_type = t.index_type; 1813 g.index_type = t.index_type;
@@ -1737,7 +1849,6 @@ public:
1737 // `before` is called at the start of every submission of command lists (a held batch: when it is released), 1849 // `before` is called at the start of every submission of command lists (a held batch: when it is released),
1738 // before any lock here is taken: the device re-copies its slot-133 shadow buffers from the title's pages there. 1850 // before any lock here is taken: the device re-copies its slot-133 shadow buffers from the title's pages there.
1739 // Set once, before the first queue exists. 1851 // Set once, before the first queue exists.
1740 void set_before_execute(std::function<void()> before) { before_execute_ = std::move(before); }
1741 1852
1742 // Table VAs are offsets in this device's arena. Install its scanner before creating any queues. 1853 // Table VAs are offsets in this device's arena. Install its scanner before creating any queues.
1743 // (The per-device scan is from the patch descriptor-table-refresh, part 2, of 1854 // (The per-device scan is from the patch descriptor-table-refresh, part 2, of
@@ -1774,11 +1885,25 @@ public:
1774 return true; 1885 return true;
1775 } 1886 }
1776 const char* diagnostic_compute_name(std::uintptr_t id) { 1887 const char* diagnostic_compute_name(std::uintptr_t id) {
1777 std::shared_lock lock(resource_mutex_); 1888 std::shared_lock lock(pipeline_mutex_);
1778 if (!device_fault_) return nullptr; 1889 if (!device_fault_) return nullptr;
1779 const auto it = device_fault_->pipeline_names.find(id); 1890 const auto it = device_fault_->pipeline_names.find(id);
1780 return it == device_fault_->pipeline_names.end() ? nullptr : it->second[0]; 1891 return it == device_fault_->pipeline_names.end() ? nullptr : it->second[0];
1781 } 1892 }
1893 void set_before_execute(std::function<void()> before) { before_execute_ = std::move(before); }
1894 // Called at the end of every ExecuteCommandLists replay that called before_execute_, however it returns: by then
1895 // the submissions it made are recorded, so submitted_retire_ticket() covers them.
1896 void set_after_execute(std::function<void()> after) { after_execute_ = std::move(after); }
1897 // GPU work the lists of a submission depend on, recorded at the start of its command buffer by a queue that can
1898 // run compute (the console heap translation pass, src/console_heap_gpu.h): `record` returns true when it recorded
1899 // something, and `commit` follows that submit (true: it reached the queue; the ticket is a retire ticket at or
1900 // after it). Every other queue's next submission then waits for that one, as for a bindless table upload: a
1901 // queue that records nothing itself may run lists that read what the pass wrote. Called with tracker_mutex_
1902 // held, so passes and those waits follow submission order. Set once, before the first queue exists.
1903 void set_prelude(std::function<bool(VkCommandBuffer)> record, std::function<void(bool, std::uint64_t)> commit) {
1904 prelude_record_ = std::move(record);
1905 prelude_commit_ = std::move(commit);
1906 }
1782 1907
1783 void set_bindless_prepare(std::function<bool(VkCommandBuffer)> prepare) { 1908 void set_bindless_prepare(std::function<bool(VkCommandBuffer)> prepare) {
1784 std::unique_lock lock(resource_mutex_); 1909 std::unique_lock lock(resource_mutex_);
@@ -1802,6 +1927,11 @@ public:
1802 }; 1927 };
1803 } 1928 }
1804 1929
1930 bool has_depth24() {
1931 std::shared_lock lock(resource_mutex_);
1932 return depth24_ != nullptr;
1933 }
1934
1805 // Copies the replay stages through a buffer (depth <-> colour, vulkan_replay.h) take device-local scratch from 1935 // Copies the replay stages through a buffer (depth <-> colour, vulkan_replay.h) take device-local scratch from
1806 // `allocate`. Without this such a copy is refused as unsupported. `extra_usage` is added to the chunks' transfer 1936 // `allocate`. Without this such a copy is refused as unsupported. `extra_usage` is added to the chunks' transfer
1807 // usage, for configure_quad_indices. 1937 // usage, for configure_quad_indices.
@@ -1933,10 +2063,17 @@ public:
1933 VulkanDeviceFunctions vk; 2063 VulkanDeviceFunctions vk;
1934 2064
1935 // Vulkan requires external synchronisation of a VkQueue; every D3D12 queue of the device may share one. 2065 // Vulkan requires external synchronisation of a VkQueue; every D3D12 queue of the device may share one.
1936 std::mutex& submit_mutex() { return submit_mutex_; } 2066 SubmitMutex& submit_mutex() { return submit_mutex_; }
2067
2068 // vkQueueSubmit through the compile gate (SubmitMutex::SubmitTurn): it waits here, not in the driver, while a
2069 // pipeline create is in the driver. Called with the submit lock held; the caller observes the result.
2070 VkResult queue_submit(VkQueue queue, std::uint32_t count, const VkSubmitInfo* submits, VkFence fence) {
2071 const SubmitMutex::SubmitTurn turn(submit_mutex_);
2072 return vk.vkQueueSubmit(queue, count, submits, fence);
2073 }
1937 2074
1938 void mark_device_lost(const char* where = "a Vulkan call returned VK_ERROR_DEVICE_LOST") noexcept { 2075 void mark_device_lost(const char* where = "a Vulkan call returned VK_ERROR_DEVICE_LOST") noexcept {
1939 set_device_lost(device_lost_, where); 2076 if (set_device_lost(device_lost_, where)) submit_mutex_.report_creates_on_loss(); // which creates were in it
1940 run_device_lost_hook(); // LEONIDA_AFTERMATH: the GPU crash dump is written before waiters wake 2077 run_device_lost_hook(); // LEONIDA_AFTERMATH: the GPU crash dump is written before waiters wake
1941 if (fence_dispatcher_) { 2078 if (fence_dispatcher_) {
1942 try { 2079 try {
@@ -2103,19 +2240,32 @@ private:
2103 using Watch = SubmissionProgressWatch; 2240 using Watch = SubmissionProgressWatch;
2104 Watch watch; 2241 Watch watch;
2105 std::uint64_t retired = 0; 2242 std::uint64_t retired = 0;
2243 std::int64_t reported_hold = -1;
2244 std::int64_t busy_since = -1;
2245 SubmitMutex::GateStats gate_logged;
2246 unsigned tick = 0;
2106 std::mutex timer_mutex; 2247 std::mutex timer_mutex;
2107 std::condition_variable_any timer; 2248 std::condition_variable_any timer;
2108 std::unique_lock timer_lock(timer_mutex); 2249 std::unique_lock timer_lock(timer_mutex);
2250 // LOCAL DIAGNOSTIC (post-load GPU hangs): with the device-fault report on, sample every 250 ms, so a loss the
2251 // driver has already reset is seen (and its checkpoints read) before a watchdog outside kills the process.
2252 const auto period = device_fault_ ? std::chrono::milliseconds(250) : std::chrono::milliseconds(1000);
2253 const unsigned per_10s = unsigned(std::chrono::seconds(10) / period);
2109 while (!stop.stop_requested()) { 2254 while (!stop.stop_requested()) {
2110 timer.wait_for(timer_lock, stop, std::chrono::seconds(1), [] { return false; }); 2255 timer.wait_for(timer_lock, stop, period, [] { return false; });
2111 if (stop.stop_requested() || is_device_lost()) break; 2256 if (stop.stop_requested() || is_device_lost()) break;
2112 auto state = Watch::State::submit_lock_busy; 2257 auto state = Watch::State::submit_lock_busy;
2113 VkResult result = VK_SUCCESS; 2258 VkResult result = VK_SUCCESS;
2114 std::uint64_t submitted; 2259 std::uint64_t submitted;
2115 { 2260 {
2116 // Keep queue timelines alive as in completed_retire_ticket(). A submit or idle wait 2261 // Keep queue timelines alive as in completed_retire_ticket(). A submit or idle wait
2117 // blocked inside the driver can hold this mutex indefinitely. 2262 // blocked inside the driver can hold this mutex indefinitely. Under heavy submission one try finds
2263 // it busy most of the time: a few more within a millisecond or two.
2118 std::unique_lock lock(submit_mutex_, std::try_to_lock); 2264 std::unique_lock lock(submit_mutex_, std::try_to_lock);
2265 for (int retry = 0; !lock.owns_lock() && retry < 20; ++retry) {
2266 std::this_thread::sleep_for(std::chrono::microseconds(100));
2267 if (lock.try_lock()) break;
2268 }
2119 submitted = submitted_retire_ticket(); 2269 submitted = submitted_retire_ticket();
2120 if (lock.owns_lock()) { 2270 if (lock.owns_lock()) {
2121 if (is_device_lost()) break; 2271 if (is_device_lost()) break;
@@ -2123,12 +2273,50 @@ private:
2123 state = retired < submitted ? Watch::State::pending : Watch::State::idle; 2273 state = retired < submitted ? Watch::State::pending : Watch::State::idle;
2124 } 2274 }
2125 } 2275 }
2276 // LOCAL DIAGNOSTIC (early device loss): a submission unfinished for 4 s dumps the recent submissions with
2277 // their semaphore counters (unreadable once the device is lost); a hold of the submit lock of 3 s names
2278 // its thread and prints its call chain, once per hold.
2279 // A vkQueueSubmit stuck in the driver (measured: 10 s, then VK_ERROR_DEVICE_LOST) also blocks
2280 // vkGetSemaphoreCounterValue, so with the lock busy the watch stays out of the driver: the holder report
2281 // samples stacks only, and the counters are read once the lock is free again.
2282 if (state == Watch::State::submit_lock_busy) {
2283 const std::uint32_t owner = submit_mutex_.owner();
2284 const std::int64_t since = submit_mutex_.since_ms();
2285 const std::int64_t held = diagnostic_ms() - since;
2286 if (owner && held >= 3000 && since != reported_hold) {
2287 reported_hold = since;
2288 device_fault_->report_submit_lock_holder(owner, held);
2289 }
2290 // Busy at every sample but changing hands: contended, not stuck. Only a hold that lasts (the same
2291 // holder since the same time) counts toward the 15 s stall report.
2292 if (since != busy_since) {
2293 busy_since = since;
2294 state = Watch::State::idle;
2295 }
2296 } else {
2297 device_fault_->check_submit_progress();
2298 }
2126 if (result == VK_ERROR_DEVICE_LOST) { 2299 if (result == VK_ERROR_DEVICE_LOST) {
2127 mark_device_lost(); 2300 mark_device_lost();
2128 break; 2301 break;
2129 } 2302 }
2130 // A failed counter query does not measure GPU progress. 2303 // A failed counter query does not measure GPU progress.
2131 if (result != VK_SUCCESS) state = Watch::State::idle; 2304 if (result != VK_SUCCESS) state = Watch::State::idle;
2305 // Every 10 s while it changes: what the compile gate has cost so far (SubmitMutex::CompileTurn).
2306 if (++tick % per_10s == 0) {
2307 const SubmitMutex::GateStats gate = submit_mutex_.gate_stats();
2308 if (gate.submits != gate_logged.submits || gate.creates != gate_logged.creates) {
2309 gate_logged = gate;
2310 std::fprintf(stderr, "[rt] compile-gate: t=%.0f s: %llu submissions waited for pipeline creates "
2311 "(%lld ms in all, longest %lld ms, %llu went ahead at the limit); %llu creates "
2312 "waited behind a submission (%lld ms in all, longest %lld ms)\n",
2313 double(diagnostic_ms()) / 1000.0, static_cast<unsigned long long>(gate.submits),
2314 static_cast<long long>(gate.submit_ms), static_cast<long long>(gate.submit_max_ms),
2315 static_cast<unsigned long long>(gate.ahead),
2316 static_cast<unsigned long long>(gate.creates), static_cast<long long>(gate.create_ms),
2317 static_cast<long long>(gate.create_max_ms));
2318 }
2319 }
2132 // LEONIDA_HANG_EXIT_S=<s> (for boots): work pending and retirement still for s seconds is a GPU hang 2320 // LEONIDA_HANG_EXIT_S=<s> (for boots): work pending and retirement still for s seconds is a GPU hang
2133 // the driver may recover from without Vulkan ever reporting the device lost (Xid 109: the title then 2321 // the driver may recover from without Vulkan ever reporting the device lost (Xid 109: the title then
2134 // waits forever, the window frozen). The stall is reported (with the checkpoints under 2322 // waits forever, the window frozen). The stall is reported (with the checkpoints under
@@ -2156,7 +2344,9 @@ private:
2156 } 2344 }
2157 if (watch.sample(state, retired, Watch::Clock::now())) 2345 if (watch.sample(state, retired, Watch::Clock::now()))
2158 device_fault_->report_stall(state == Watch::State::pending ? "queue retirement has not advanced" 2346 device_fault_->report_stall(state == Watch::State::pending ? "queue retirement has not advanced"
2159 : "could not sample the submit lock", 2347 : submit_mutex_.gate_waiter() && submit_mutex_.gate_waiter() == submit_mutex_.owner()
2348 ? "could not sample the submit lock (its holder waits at the compile gate)"
2349 : "could not sample the submit lock",
2160 submitted, retired); 2350 submitted, retired);
2161 } 2351 }
2162 } 2352 }
@@ -2166,10 +2356,17 @@ private:
2166 bool ray_tracing_ = false; 2356 bool ray_tracing_ = false;
2167 std::unique_ptr<XdxrBuilder> xdxr_; // set: acceleration structures are XDXR BVH4 records 2357 std::unique_ptr<XdxrBuilder> xdxr_; // set: acceleration structures are XDXR BVH4 records
2168 std::atomic<bool> device_lost_{false}; 2358 std::atomic<bool> device_lost_{false};
2359 alignas(64) std::shared_mutex pipeline_mutex_; // shared for prepare/compile/emit pipeline lookups, unique for add/remove/workers
2169 alignas(64) std::shared_mutex resource_mutex_; // shared for prepare lookups, unique for add/remove 2360 alignas(64) std::shared_mutex resource_mutex_; // shared for prepare lookups, unique for add/remove
2170 alignas(64) std::mutex tracker_mutex_; 2361 alignas(64) std::mutex tracker_mutex_;
2171 alignas(64) std::mutex views_mutex_; 2362 alignas(64) std::mutex views_mutex_;
2172 alignas(64) std::mutex submit_mutex_; 2363 // Lock hierarchy (see VulkanQueue::execute): resource_mutex_ -> tracker_mutex_ -> submit_mutex_. A PSO build
2364 // (shims/d3d12_vulkan_device.cpp, PipelineState::build_compute / build) holds its variants_mutex_ and the
2365 // static big_compile mutex while it waits for the submit lock (SubmitMutex::let_submit_finish) or at the compile
2366 // gate: variants_mutex_ -> big_compile -> submit_mutex_, and nothing holding submit_mutex_ takes either. The
2367 // gate's own mutex is a leaf; a submission waits at the gate with submit_mutex_ held, for creates already in the
2368 // driver only (SubmitMutex::CompileTurn).
2369 alignas(64) SubmitMutex submit_mutex_;
2173 bool image_work_pending_ = false; // under submit_mutex_ 2370 bool image_work_pending_ = false; // under submit_mutex_
2174 HostTextureStats host_texture_stats_; // under submit_mutex_ 2371 HostTextureStats host_texture_stats_; // under submit_mutex_
2175 RetireTickets<VkSemaphore> retire_tickets_; 2372 RetireTickets<VkSemaphore> retire_tickets_;
@@ -2185,6 +2382,8 @@ private:
2185 std::unordered_map<std::uintptr_t, ComputePipeline> pipelines_; 2382 std::unordered_map<std::uintptr_t, ComputePipeline> pipelines_;
2186 std::unordered_map<std::uintptr_t, GraphicsPipeline> graphics_pipelines_; 2383 std::unordered_map<std::uintptr_t, GraphicsPipeline> graphics_pipelines_;
2187 std::unique_ptr<PipelineWorkers> pipeline_workers_; 2384 std::unique_ptr<PipelineWorkers> pipeline_workers_;
2385 std::function<std::uint64_t()> large_compile_budget_;
2386 std::function<std::shared_ptr<void>()> large_compile_demand_;
2188 std::unordered_map<std::uint64_t, VkAccelerationStructureKHR> acceleration_structures_; 2387 std::unordered_map<std::uint64_t, VkAccelerationStructureKHR> acceleration_structures_;
2189 LayoutTracker tracker_; 2388 LayoutTracker tracker_;
2190 std::mutex storage_mutex_; // a leaf lock: guards storage_pending_ and zero_pending_ only 2389 std::mutex storage_mutex_; // a leaf lock: guards storage_pending_ and zero_pending_ only
@@ -2206,6 +2405,7 @@ private:
2206 resolve_passes_; 2405 resolve_passes_;
2207 std::map<std::tuple<VkImage, VkImage, VkImageView, VkImageView, VkRenderPass>, VkFramebuffer> resolve_framebuffers_; 2406 std::map<std::tuple<VkImage, VkImage, VkImageView, VkImageView, VkRenderPass>, VkFramebuffer> resolve_framebuffers_;
2208 std::function<void()> before_execute_; 2407 std::function<void()> before_execute_;
2408 std::function<void()> after_execute_;
2209 InputProbe input_probe_; 2409 InputProbe input_probe_;
2210 TableScanner table_scanner_; 2410 TableScanner table_scanner_;
2211 GeometryProvider geometry_provider_; 2411 GeometryProvider geometry_provider_;
@@ -2219,6 +2419,11 @@ private:
2219 VkSemaphore bindless_upload_semaphore_ = VK_NULL_HANDLE; 2419 VkSemaphore bindless_upload_semaphore_ = VK_NULL_HANDLE;
2220 std::uint64_t bindless_upload_value_ = 0; 2420 std::uint64_t bindless_upload_value_ = 0;
2221 std::uint64_t bindless_upload_version_ = 0; 2421 std::uint64_t bindless_upload_version_ = 0;
2422 std::function<bool(VkCommandBuffer)> prelude_record_;
2423 std::function<void(bool, std::uint64_t)> prelude_commit_;
2424 VkSemaphore prelude_semaphore_ = VK_NULL_HANDLE; // the queue whose submission recorded the last prelude
2425 std::uint64_t prelude_value_ = 0;
2426 std::uint64_t prelude_version_ = 0;
2222 std::unique_ptr<Depth24Converter> depth24_; 2427 std::unique_ptr<Depth24Converter> depth24_;
2223 std::unique_ptr<ScratchBuffers> scratch_; // copies staged through a buffer (depth <-> colour) 2428 std::unique_ptr<ScratchBuffers> scratch_; // copies staged through a buffer (depth <-> colour)
2224 std::function<void(bool)> bindless_commit_; 2429 std::function<void(bool)> bindless_commit_;
@@ -2256,7 +2461,19 @@ public:
2256 } 2461 }
2257 ~VulkanFence() { 2462 ~VulkanFence() {
2258 if (!semaphore_) return; 2463 if (!semaphore_) return;
2464 // LOCAL DIAGNOSTIC (early device loss): a fence released while a Signal the GPU has not run yet names it.
2465 if (!context_.is_device_lost()) {
2466 const std::uint64_t submitted = context_.holds().submitted_value(semaphore_);
2467 std::uint64_t reached = 0;
2468 if (submitted && context_.vk.vkGetSemaphoreCounterValue(context_.device(), semaphore_, &reached) == VK_SUCCESS &&
2469 reached < submitted)
2470 std::fprintf(stderr, "[rt] d3d12: fence semaphore %p destroyed with a Signal pending (submitted %llu, "
2471 "reached %llu) at t=%.3f s\n",
2472 static_cast<void*>(semaphore_), static_cast<unsigned long long>(submitted),
2473 static_cast<unsigned long long>(reached), double(diagnostic_ms()) / 1000.0);
2474 }
2259 context_.holds().remove_fence(semaphore_); // batches held on it can never run: dropped and reported 2475 context_.holds().remove_fence(semaphore_); // batches held on it can never run: dropped and reported
2476 if (DeviceFaultDiagnostics* ring = context_.device_fault()) ring->forget(semaphore_); // no report reads it
2260 context_.vk.vkDestroySemaphore(context_.device(), semaphore_, nullptr); 2477 context_.vk.vkDestroySemaphore(context_.device(), semaphore_, nullptr);
2261 } 2478 }
2262 VulkanFence(const VulkanFence&) = delete; 2479 VulkanFence(const VulkanFence&) = delete;
@@ -2390,16 +2607,24 @@ public:
2390 2607
2391 ~VulkanQueue() { 2608 ~VulkanQueue() {
2392 auto& vk = context_.vk; 2609 auto& vk = context_.vk;
2610 stop_async(); // LEONIDA_SUBMIT_ASYNC: what is queued runs first
2611 std::fprintf(stderr, "[rt] d3d12: queue %p (progress %p) destroyed at t=%.3f s\n", static_cast<void*>(queue_),
2612 static_cast<void*>(progress_), double(diagnostic_ms()) / 1000.0);
2393 context_.holds().detach(this); // no thread releases into this queue from here on 2613 context_.holds().detach(this); // no thread releases into this queue from here on
2394 report_held_at_teardown(); 2614 report_held_at_teardown();
2395 context_.holds().pump_ready(); // presents queued behind what was just dropped can run 2615 context_.holds().pump_ready(); // presents queued behind what was just dropped can run
2396 if (queue_) { 2616 if (queue_) {
2397 std::lock_guard lock(context_.submit_mutex()); 2617 std::lock_guard lock(context_.submit_mutex());
2618 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
2398 for (; open_labels_; --open_labels_) context_.labels_.queue_end(queue_); 2619 for (; open_labels_; --open_labels_) context_.labels_.queue_end(queue_);
2399 const VkResult idle_result = context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle"); 2620 const VkResult idle_result = context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle");
2400 if (idle_result == VK_SUCCESS) { 2621 if (idle_result == VK_SUCCESS) {
2401 if (progress_) context_.retire_queue_idle_locked(progress_); 2622 if (progress_) context_.retire_queue_idle_locked(progress_);
2402 } else { 2623 } else {
2624 // Any failure here makes every fence read ~0 from now on: say so when it is not a real loss.
2625 if (idle_result != VK_ERROR_DEVICE_LOST)
2626 std::fprintf(stderr, "[rt] d3d12: vkQueueWaitIdle at queue teardown returned %d; the device is "
2627 "treated as lost\n", int(idle_result));
2403 context_.mark_device_lost(); 2628 context_.mark_device_lost();
2404 } 2629 }
2405 } 2630 }
@@ -2414,9 +2639,15 @@ public:
2414 // finished: the next submission on another queue must not wait on a semaphore that is about to go. 2639 // finished: the next submission on another queue must not wait on a semaphore that is about to go.
2415 std::lock_guard lock(context_.storage_mutex_); 2640 std::lock_guard lock(context_.storage_mutex_);
2416 if (context_.storage_init_semaphore_ == progress_) context_.storage_init_semaphore_ = VK_NULL_HANDLE; 2641 if (context_.storage_init_semaphore_ == progress_) context_.storage_init_semaphore_ = VK_NULL_HANDLE;
2642 // The same for the bindless table upload: a queue that had not seen its version yet would otherwise
2643 // wait on this destroyed semaphore in its next vkQueueSubmit.
2644 if (context_.bindless_upload_semaphore_ == progress_) context_.bindless_upload_semaphore_ = VK_NULL_HANDLE;
2417 } 2645 }
2418 if (pool_) vk.vkDestroyCommandPool(context_.device(), pool_, nullptr); 2646 if (pool_) vk.vkDestroyCommandPool(context_.device(), pool_, nullptr);
2419 if (progress_) vk.vkDestroySemaphore(context_.device(), progress_, nullptr); 2647 if (progress_) {
2648 if (DeviceFaultDiagnostics* ring = context_.device_fault()) ring->forget(progress_); // no report reads it
2649 vk.vkDestroySemaphore(context_.device(), progress_, nullptr);
2650 }
2420 destroy_khr_stages(khr_stage_pool_); 2651 destroy_khr_stages(khr_stage_pool_);
2421 destroy_khr_as_queries(khr_as_query_pool_); 2652 destroy_khr_as_queries(khr_as_query_pool_);
2422 for (auto& slot : buffers_) { 2653 for (auto& slot : buffers_) {
@@ -2431,6 +2662,8 @@ public:
2431 VulkanQueue& operator=(const VulkanQueue&) = delete; 2662 VulkanQueue& operator=(const VulkanQueue&) = delete;
2432 2663
2433 bool ok() const { return ok_; } 2664 bool ok() const { return ok_; }
2665 // A queue of the runtime's own whose caller waits for each call (a staging copy): never on a worker.
2666 void make_synchronous() { synchronous_ = true; }
2434 2667
2435 // Entries kept between executions. Execute only uses the first lists.size(); a larger count is retained storage, 2668 // Entries kept between executions. Execute only uses the first lists.size(); a larger count is retained storage,
2436 // not work the next submission will replay (vk_queue_test checks both halves of that contract). 2669 // not work the next submission will replay (vk_queue_test checks both halves of that contract).
@@ -2439,6 +2672,7 @@ public:
2439 template<typename GetHeap> 2672 template<typename GetHeap>
2440 bool update_tiles(ResourceId id, std::span<const TileRegion> regions, 2673 bool update_tiles(ResourceId id, std::span<const TileRegion> regions,
2441 std::span<const TileRange> ranges, GetHeap&& get_heap) { 2674 std::span<const TileRange> ranges, GetHeap&& get_heap) {
2675 flush_async(); // after the calls queued before it (LEONIDA_SUBMIT_ASYNC)
2442 std::lock_guard state(state_mutex_); // outermost: held batches are released from other threads 2676 std::lock_guard state(state_mutex_); // outermost: held batches are released from other threads
2443 std::unique_lock lock(context_.resource_mutex_); 2677 std::unique_lock lock(context_.resource_mutex_);
2444 const auto it = context_.sparse_resources_.find(id); 2678 const auto it = context_.sparse_resources_.find(id);
@@ -2486,6 +2720,7 @@ public:
2486 2720
2487 bool copy_tile_mappings(ResourceId dst, std::span<const TileRegion> dst_regions, ResourceId src, 2721 bool copy_tile_mappings(ResourceId dst, std::span<const TileRegion> dst_regions, ResourceId src,
2488 std::span<const TileRegion> src_regions) { 2722 std::span<const TileRegion> src_regions) {
2723 flush_async();
2489 std::lock_guard state(state_mutex_); 2724 std::lock_guard state(state_mutex_);
2490 std::unique_lock lock(context_.resource_mutex_); 2725 std::unique_lock lock(context_.resource_mutex_);
2491 const auto source = context_.sparse_resources_.find(src), target = context_.sparse_resources_.find(dst); 2726 const auto source = context_.sparse_resources_.find(src), target = context_.sparse_resources_.find(dst);
@@ -2518,8 +2753,23 @@ public:
2518 using PinFn = std::function<std::shared_ptr<void>()>; 2753 using PinFn = std::function<std::shared_ptr<void>()>;
2519 2754
2520 ReplayResult execute(std::span<const CommandList* const> lists, const PinFn& pin = {}) { 2755 ReplayResult execute(std::span<const CommandList* const> lists, const PinFn& pin = {}) {
2756 pipeline_wait::note_submission(); // big compute warm-ups are left to their first use while the title submits
2521 auto* diagnostics = context_.device_fault(); 2757 auto* diagnostics = context_.device_fault();
2522 const auto execute_call = diagnostics ? diagnostics->next_execute_call() : 0; 2758 const auto execute_call = diagnostics ? diagnostics->next_execute_call() : 0;
2759 if (async_on()) { // copied and queued: the worker replays it (a failure is reported as a held one's)
2760 Call call;
2761 call.kind = Call::Kind::execute;
2762 call.execute_call = execute_call;
2763 call.lists.reserve(lists.size());
2764 for (const CommandList* list : lists) call.lists.push_back(*list);
2765 if (pin) call.pin = pin();
2766 enqueue(std::move(call));
2767 return ReplayResult::success;
2768 }
2769 return execute_sync(lists, pin, execute_call);
2770 }
2771
2772 ReplayResult execute_sync(std::span<const CommandList* const> lists, const PinFn& pin, std::uint64_t execute_call) {
2523 ReplayResult result = ReplayResult::success; 2773 ReplayResult result = ReplayResult::success;
2524 bool held = false; 2774 bool held = false;
2525 std::vector<std::shared_ptr<void>> retired; // destroyed after state_mutex_ is released 2775 std::vector<std::shared_ptr<void>> retired; // destroyed after state_mutex_ is released
@@ -2550,6 +2800,19 @@ public:
2550 // held operations, so the fence does not run ahead of the work it follows. `pin` (called only when the Signal is 2800 // held operations, so the fence does not run ahead of the work it follows. `pin` (called only when the Signal is
2551 // held) keeps the fence object alive until it has been submitted, as D3D12 does. 2801 // held) keeps the fence object alive until it has been submitted, as D3D12 does.
2552 bool signal(VkSemaphore fence, std::uint64_t value, const PinFn& pin = {}) { 2802 bool signal(VkSemaphore fence, std::uint64_t value, const PinFn& pin = {}) {
2803 if (async_on()) {
2804 Call call;
2805 call.kind = Call::Kind::signal;
2806 call.fence = fence;
2807 call.value = value;
2808 if (pin) call.pin = pin();
2809 enqueue(std::move(call));
2810 return true;
2811 }
2812 return signal_sync(fence, value, pin);
2813 }
2814
2815 bool signal_sync(VkSemaphore fence, std::uint64_t value, const PinFn& pin) {
2553 bool ok = true; 2816 bool ok = true;
2554 std::vector<std::shared_ptr<void>> retired; 2817 std::vector<std::shared_ptr<void>> retired;
2555 { 2818 {
@@ -2563,6 +2826,10 @@ public:
2563 hold(std::move(op)); 2826 hold(std::move(op));
2564 } else { 2827 } else {
2565 ok = submit(VK_NULL_HANDLE, fence, value); 2828 ok = submit(VK_NULL_HANDLE, fence, value);
2829 // As for a held Signal (release_held): the fence object, and so its semaphore, stays alive until the
2830 // GPU has run the signal. Destroying a semaphore a pending submission signals is undefined
2831 // (VUID-vkDestroySemaphore-semaphore-05149), and a title may release a fence right after Signal.
2832 if (ok && pin) pin_queue_.push_back({submitted_, pin()});
2566 } 2833 }
2567 drain_pins(retired); 2834 drain_pins(retired);
2568 } 2835 }
@@ -2575,6 +2842,19 @@ public:
2575 // batch, so it is kept and attached to the next submission (held on the CPU if no Signal reaches it yet). 2842 // batch, so it is kept and attached to the next submission (held on the CPU if no Signal reaches it yet).
2576 // `pin` returns what keeps the fence object alive until then (a D3D12 queue holds its fences). 2843 // `pin` returns what keeps the fence object alive until then (a D3D12 queue holds its fences).
2577 void wait(VkSemaphore fence, std::uint64_t value, const PinFn& pin = {}) { 2844 void wait(VkSemaphore fence, std::uint64_t value, const PinFn& pin = {}) {
2845 if (async_on()) {
2846 Call call;
2847 call.kind = Call::Kind::wait;
2848 call.fence = fence;
2849 call.value = value;
2850 if (pin) call.pin = pin();
2851 enqueue(std::move(call));
2852 return;
2853 }
2854 wait_sync(fence, value, pin);
2855 }
2856
2857 void wait_sync(VkSemaphore fence, std::uint64_t value, const PinFn& pin) {
2578 std::vector<std::shared_ptr<void>> retired; // fences whose submission has completed: released unlocked 2858 std::vector<std::shared_ptr<void>> retired; // fences whose submission has completed: released unlocked
2579 { 2859 {
2580 std::lock_guard state(state_mutex_); 2860 std::lock_guard state(state_mutex_);
@@ -2595,6 +2875,18 @@ public:
2595 // ID3D12CommandQueue::SetMarker/BeginEvent/EndEvent: queue labels, between the submissions around them. An end 2875 // ID3D12CommandQueue::SetMarker/BeginEvent/EndEvent: queue labels, between the submissions around them. An end
2596 // with no begin open on this queue is dropped, as Vulkan requires a matching begin. No-ops without the extension. 2876 // with no begin open on this queue is dropped, as Vulkan requires a matching begin. No-ops without the extension.
2597 void marker(DebugMarker::Kind kind, const char* label) { 2877 void marker(DebugMarker::Kind kind, const char* label) {
2878 if (async_on()) {
2879 Call call;
2880 call.kind = Call::Kind::marker;
2881 call.marker_kind = kind;
2882 call.label = label ? label : "";
2883 enqueue(std::move(call));
2884 return;
2885 }
2886 marker_sync(kind, label);
2887 }
2888
2889 void marker_sync(DebugMarker::Kind kind, const char* label) {
2598 std::vector<std::shared_ptr<void>> retired; 2890 std::vector<std::shared_ptr<void>> retired;
2599 std::lock_guard state(state_mutex_); 2891 std::lock_guard state(state_mutex_);
2600 drain_pins(retired); // destroyed after the lock (reverse declaration order) 2892 drain_pins(retired); // destroyed after the lock (reverse declaration order)
@@ -2610,10 +2902,37 @@ public:
2610 } 2902 }
2611 2903
2612 bool idle() { 2904 bool idle() {
2905 flush_async();
2613 std::lock_guard lock(context_.submit_mutex()); 2906 std::lock_guard lock(context_.submit_mutex());
2907 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
2614 return context_.observe_result(context_.vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle") == VK_SUCCESS; 2908 return context_.observe_result(context_.vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle") == VK_SUCCESS;
2615 } 2909 }
2616 2910
2911 // Waits on the CPU until what this queue has submitted so far is done: its own timeline, without the device's
2912 // submit lock, so other queues keep submitting, and without waiting for anything submitted after (review D9;
2913 // idle() waits for the whole VkQueue, which D3D12 queues may share, and blocks every submission meanwhile).
2914 bool wait_submitted() {
2915 std::uint64_t value = 0;
2916 {
2917 std::lock_guard state(state_mutex_);
2918 value = submitted_;
2919 }
2920 if (!value) return true;
2921 VkSemaphoreWaitInfo wait{VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO};
2922 wait.semaphoreCount = 1;
2923 wait.pSemaphores = &progress_;
2924 wait.pValues = &value;
2925 constexpr std::uint64_t slice_ns = 100'000'000; // 100 ms
2926 for (;;) { // bounded slices: a lost device wakes the wait
2927 if (context_.is_device_lost()) return false;
2928 const VkResult res = context_.vk.vkWaitSemaphores(context_.device(), &wait, slice_ns);
2929 if (res == VK_SUCCESS) return true;
2930 if (res == VK_TIMEOUT) continue;
2931 if (res == VK_ERROR_DEVICE_LOST) context_.mark_device_lost();
2932 return false;
2933 }
2934 }
2935
2617private: 2936private:
2618 // Completed stages, reused by later ARRAY_OF_POINTERS builds. Only execute_now() touches the pool, and it holds 2937 // Completed stages, reused by later ARRAY_OF_POINTERS builds. Only execute_now() touches the pool, and it holds
2619 // state_mutex_ (including the deferred/held release paths), so no extra lock is needed. 2938 // state_mutex_ (including the deferred/held release paths), so no extra lock is needed.
@@ -2871,6 +3190,12 @@ private:
2871 if (context_.is_device_lost() || !wait_for_room()) return queue_unsupported(__LINE__); 3190 if (context_.is_device_lost() || !wait_for_room()) return queue_unsupported(__LINE__);
2872 } 3191 }
2873 if (context_.before_execute_) context_.before_execute_(); 3192 if (context_.before_execute_) context_.before_execute_();
3193 struct AfterExecute {
3194 VulkanContext& context;
3195 ~AfterExecute() {
3196 if (context.after_execute_) context.after_execute_();
3197 }
3198 } after_execute{context_};
2874 // The rest of this call is the replay phase; the submission is counted when it returns, however it returns. 3199 // The rest of this call is the replay phase; the submission is counted when it returns, however it returns.
2875 struct Replayed { 3200 struct Replayed {
2876 std::int64_t start = submit_phases::now_ns(); 3201 std::int64_t start = submit_phases::now_ns();
@@ -2899,11 +3224,15 @@ private:
2899 } 3224 }
2900 } khr_guard{this}; 3225 } khr_guard{this};
2901 std::function<void(bool)> bindless_commit; 3226 std::function<void(bool)> bindless_commit;
2902 // Lock hierarchy: resource_mutex_ -> tracker_mutex_ -> submit_mutex_. 3227 // Lock hierarchy: state_mutex_ -> pipeline_mutex_ -> resource_mutex_ -> tracker_mutex_ -> submit_mutex_.
2903 // Shared read-lock allows concurrent prepare() across queues; tracker_mutex_ is acquired lazily during 3228 // Shared pipeline_lock keeps registered pipelines, pipeline_names, and pipeline_workers_ alive across
2904 // prepare() only if a list actually converts a depth24_as_float copy, and otherwise right before 3229 // preparation, compilation, and emit. Shared resource_lock allows concurrent prepare() across queues and is
2905 // bindless_prepare_/emit() through submit() so bindless flushes, layout emits, and submissions stay in order. 3230 // released while unbuilt pipelines compile so add_resource()/remove_resource() never stall behind shader
2906 std::shared_lock resource_lock(context_.resource_mutex_); 3231 // compiles; tracker_mutex_ is acquired lazily during prepare() only if a list uses a shared helper, and
3232 // otherwise right before bindless_prepare_/emit() through submit() so bindless flushes, layout emits, and
3233 // submissions stay in order.
3234 std::shared_lock pipeline_lock(context_.pipeline_mutex_);
3235 std::shared_lock resource_lock(context_.resource_mutex_, std::defer_lock);
2907 std::unique_lock tracker_lock(context_.tracker_mutex_, std::defer_lock); 3236 std::unique_lock tracker_lock(context_.tracker_mutex_, std::defer_lock);
2908 // Declared after tracker_lock so any early return after depth24_->prepare() retires uncommitted scratch/pools 3237 // Declared after tracker_lock so any early return after depth24_->prepare() retires uncommitted scratch/pools
2909 // with ticket 0 while tracker_lock is still held. 3238 // with ticket 0 while tracker_lock is still held.
@@ -2914,7 +3243,7 @@ private:
2914 ~Depth24Guard() { 3243 ~Depth24Guard() {
2915 if (active && d24) d24->retire(progress, 0); 3244 if (active && d24) d24->retire(progress, 0);
2916 } 3245 }
2917 } depth24_guard{context_.depth24_.get(), progress_, false}; 3246 } depth24_guard{nullptr, progress_, false};
2918 struct ScratchGuard { // the same for the copy scratch 3247 struct ScratchGuard { // the same for the copy scratch
2919 ScratchBuffers* scratch = nullptr; 3248 ScratchBuffers* scratch = nullptr;
2920 VkSemaphore progress = VK_NULL_HANDLE; 3249 VkSemaphore progress = VK_NULL_HANDLE;
@@ -2922,7 +3251,7 @@ private:
2922 ~ScratchGuard() { 3251 ~ScratchGuard() {
2923 if (active && scratch) scratch->retire(progress, 0); 3252 if (active && scratch) scratch->retire(progress, 0);
2924 } 3253 }
2925 } scratch_guard{context_.scratch_.get(), progress_, false}; 3254 } scratch_guard{nullptr, progress_, false};
2926 struct ClampGuard { // and for the ExecuteIndirect clamp's record scratch 3255 struct ClampGuard { // and for the ExecuteIndirect clamp's record scratch
2927 IndirectArgumentClamp* clamp = nullptr; 3256 IndirectArgumentClamp* clamp = nullptr;
2928 VkSemaphore progress = VK_NULL_HANDLE; 3257 VkSemaphore progress = VK_NULL_HANDLE;
@@ -2930,9 +3259,8 @@ private:
2930 ~ClampGuard() { 3259 ~ClampGuard() {
2931 if (active && clamp) clamp->retire(progress, 0); 3260 if (active && clamp) clamp->retire(progress, 0);
2932 } 3261 }
2933 } clamp_guard{context_.indirect_clamp_.get(), progress_, false}; 3262 } clamp_guard{nullptr, progress_, false};
2934 const bool transfer_only = family_ == context_.transfer_only_family_; 3263 const bool transfer_only = family_ == context_.transfer_only_family_;
2935 if (!transfer_only) bindless_commit = context_.bindless_commit_;
2936 // Kept between executions: prepare refills each list's entries in the storage the last execution left, where 3264 // Kept between executions: prepare refills each list's entries in the storage the last execution left, where
2937 // making them fresh for every command was about half the layer's CPU cost per command (replay_cpu_bench). 3265 // making them fresh for every command was about half the layer's CPU cost per command (replay_cpu_bench).
2938 auto& prepared = prepared_; 3266 auto& prepared = prepared_;
@@ -2940,42 +3268,9 @@ private:
2940 // a queue that sees 8 lists and then 1 in every frame would rebuild them on each execution. The loops below 3268 // a queue that sees 8 lists and then 1 in every frame would rebuild them on each execution. The loops below
2941 // use only the first lists.size() entries, so stale entries are never prepared, queried or emitted. 3269 // use only the first lists.size() entries, so stale entries are never prepared, queried or emitted.
2942 if (prepared.size() < lists.size()) prepared.resize(lists.size()); 3270 if (prepared.size() < lists.size()) prepared.resize(lists.size());
2943 ReplayFunctions replay = context_.replay_; 3271 ReplayFunctions replay{};
2944 unsigned mesh_draws = 0; 3272 unsigned mesh_draws = 0;
2945 if (pipeline_profile::enabled()) replay.mesh_draw_count = &mesh_draws;
2946 std::vector<VulkanContext::GeometryUpload> geometry; 3273 std::vector<VulkanContext::GeometryUpload> geometry;
2947 if (context_.geometry_provider_) {
2948 replay.title_memory = [&](std::uint64_t va, std::uint64_t bytes, VkBuffer& buffer, VkDeviceSize& offset) {
2949 if (!va || !bytes || bytes>UINT64_MAX-va) return false;
2950 for (const auto& upload : geometry) {
2951 if (va < upload.source || va-upload.source > upload.size || bytes > upload.size-(va-upload.source)) continue;
2952 buffer=upload.buffer; offset=upload.offset+(va-upload.source);
2953 return true;
2954 }
2955 VulkanContext::GeometryUpload upload;
2956 if (!context_.geometry_provider_(va,bytes,upload)) return false;
2957 buffer=upload.buffer;offset=upload.offset;
2958 geometry.push_back(std::move(upload));
2959 return true;
2960 };
2961 }
2962 replay.graphics_family = family_ == context_.graphics_family_;
2963 replay.queue_stages = kind_ == QueueKind::copy ? detail::queue_stages_copy
2964 : kind_ == QueueKind::compute ? detail::queue_stages_compute
2965 : 0;
2966 replay.prepare_khr_instances = [this, &replay, &khr_guard](const BuildAccelerationStructure& build,
2967 VkDeviceAddress& address) {
2968 return stage_khr_instances(replay, build, khr_guard.stages, address);
2969 };
2970 replay.prepare_xdxr_table = [this, &khr_guard](VkDeviceAddress& address, std::uint32_t& count) {
2971 return stage_xdxr_table(khr_guard.stages, address, count);
2972 };
2973 if (replay.write_acceleration_structures_properties) {
2974 replay.prepare_khr_postbuild = [this, &khr_guard](std::uint32_t count, VkQueryPool& pool,
2975 std::uint32_t& first) {
2976 return allocate_khr_as_queries(count, khr_guard.as_queries, pool, first);
2977 };
2978 }
2979 std::uint64_t captures = 0; 3274 std::uint64_t captures = 0;
2980 for (const auto* list : lists) 3275 for (const auto* list : lists)
2981 for (const auto& command : list->commands()) 3276 for (const auto& command : list->commands())
@@ -2984,149 +3279,239 @@ private:
2984 std::unique_ptr<PredicatedBufferCopier::Batch> copy_batch; 3279 std::unique_ptr<PredicatedBufferCopier::Batch> copy_batch;
2985 std::unique_ptr<IndirectDispatchCounter::Batch> counted_batch; 3280 std::unique_ptr<IndirectDispatchCounter::Batch> counted_batch;
2986 std::unique_ptr<IndirectArgumentClamp::Batch> clamp_batch; 3281 std::unique_ptr<IndirectArgumentClamp::Batch> clamp_batch;
2987 if (captures) { 3282 const auto& occlusion_memory = context_.occlusion_resolve_memory_;
2988 if (kind_ == QueueKind::copy || !context_.predicate_reducer_ || family_ != context_.predicate_family_) 3283 const bool can_resolve_occlusion = occlusion_memory.memoryTypeCount != 0;
2989 return queue_unsupported(__LINE__); 3284 const auto resolve = [this](ResourceId id) { return context_.resolve(id); };
2990 // The helper's lazy pipeline is shared by queues. Serialize preparation with the tracker lock, 3285 std::uint32_t segments = 0, statistics_segments = 0;
2991 // retaining main's resource -> tracker -> submit lock order through emit and submission. 3286 bool has_queries = false;
2992 if (!tracker_lock.owns_lock()) tracker_lock.lock(); 3287 const auto run_compiles = [this](std::size_t count, const std::function<void(std::size_t)>& job) {
2993 batch = context_.predicate_reducer_->batch(captures); 3288 context_.pipeline_workers_->run(count, job);
2994 if (!batch) return queue_unsupported(__LINE__); 3289 };
2995 replay.prepare_predicate = [&](VkBuffer buffer, VkDeviceSize offset, PredicateCapture& out) { 3290 PipelineCompiles prior_compiles;
2996 return batch->prepare(buffer, offset, out); 3291 bool has_prior_compiles = false;
3292 for (int pass = 0;; ++pass) {
3293 resource_lock.lock();
3294 bindless_commit = !transfer_only ? context_.bindless_commit_ : std::function<void(bool)>{};
3295 replay = context_.replay_;
3296 mesh_draws = 0;
3297 if (pipeline_profile::enabled()) replay.mesh_draw_count = &mesh_draws;
3298 if (context_.geometry_provider_) {
3299 replay.title_memory = [&](std::uint64_t va, std::uint64_t bytes, VkBuffer& buffer, VkDeviceSize& offset) {
3300 if (!va || !bytes || bytes>UINT64_MAX-va) return false;
3301 for (const auto& upload : geometry) {
3302 if (va < upload.source || va-upload.source > upload.size || bytes > upload.size-(va-upload.source)) continue;
3303 buffer=upload.buffer; offset=upload.offset+(va-upload.source);
3304 return true;
3305 }
3306 VulkanContext::GeometryUpload upload;
3307 if (!context_.geometry_provider_(va,bytes,upload)) return false;
3308 buffer=upload.buffer;offset=upload.offset;
3309 geometry.push_back(std::move(upload));
3310 return true;
3311 };
3312 }
3313 replay.graphics_family = family_ == context_.graphics_family_;
3314 replay.queue_stages = kind_ == QueueKind::copy ? detail::queue_stages_copy
3315 : kind_ == QueueKind::compute ? detail::queue_stages_compute
3316 : 0;
3317 replay.prepare_khr_instances = [this, &replay, &khr_guard](const BuildAccelerationStructure& build,
3318 VkDeviceAddress& address) {
3319 return stage_khr_instances(replay, build, khr_guard.stages, address);
2997 }; 3320 };
2998 replay.capture_predicate = [&](VkCommandBuffer cb, const PredicateCapture& p) { 3321 replay.prepare_xdxr_table = [this, &khr_guard](VkDeviceAddress& address, std::uint32_t& count) {
2999 context_.predicate_reducer_->capture(cb, p); 3322 return stage_xdxr_table(khr_guard.stages, address, count);
3000 }; 3323 };
3001 if (context_.predicated_copier_) { 3324 if (replay.write_acceleration_structures_properties) {
3002 copy_batch = context_.predicated_copier_->batch(); 3325 replay.prepare_khr_postbuild = [this, &khr_guard](std::uint32_t count, VkQueryPool& pool,
3003 replay.prepare_predicated_copy = [&](VkBuffer source, VkBuffer destination, VkDeviceSize src, 3326 std::uint32_t& first) {
3004 VkDeviceSize dst, VkDeviceSize size, 3327 return allocate_khr_as_queries(count, khr_guard.as_queries, pool, first);
3005 std::vector<PredicatedCopyDispatch>& out) {
3006 return copy_batch->prepare(source, destination, src, dst, size, out);
3007 };
3008 replay.emit_predicated_copy = [&](VkCommandBuffer cb, const std::vector<PredicatedCopyDispatch>& jobs) {
3009 context_.predicated_copier_->emit(cb, jobs);
3010 }; 3328 };
3011 } 3329 }
3012 } 3330 if (captures) {
3013 if (context_.scratch_) { 3331 if (kind_ == QueueKind::copy || !context_.predicate_reducer_ || family_ != context_.predicate_family_)
3014 replay.copy_scratch = [this, &tracker_lock, &scratch_guard](VkDeviceSize bytes, VkBuffer& buffer, 3332 return queue_unsupported(__LINE__);
3015 VkDeviceSize& offset) { 3333 // The helper's lazy pipeline is shared by queues. Serialize preparation with the tracker lock,
3334 // retaining pipeline -> resource -> tracker -> submit lock order through emit and submission.
3016 if (!tracker_lock.owns_lock()) tracker_lock.lock(); 3335 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3017 if (!scratch_guard.active) { 3336 batch = context_.predicate_reducer_->batch(captures);
3018 context_.scratch_->collect(); 3337 if (!batch) return queue_unsupported(__LINE__);
3019 scratch_guard.active = true; 3338 replay.prepare_predicate = [&](VkBuffer buffer, VkDeviceSize offset, PredicateCapture& out) {
3339 return batch->prepare(buffer, offset, out);
3340 };
3341 replay.capture_predicate = [&](VkCommandBuffer cb, const PredicateCapture& p) {
3342 context_.predicate_reducer_->capture(cb, p);
3343 };
3344 if (context_.predicated_copier_) {
3345 copy_batch = context_.predicated_copier_->batch();
3346 replay.prepare_predicated_copy = [&](VkBuffer source, VkBuffer destination, VkDeviceSize src,
3347 VkDeviceSize dst, VkDeviceSize size,
3348 std::vector<PredicatedCopyDispatch>& out) {
3349 return copy_batch->prepare(source, destination, src, dst, size, out);
3350 };
3351 replay.emit_predicated_copy = [&](VkCommandBuffer cb, const std::vector<PredicatedCopyDispatch>& jobs) {
3352 context_.predicated_copier_->emit(cb, jobs);
3353 };
3020 } 3354 }
3021 return context_.scratch_->get(bytes, buffer, offset); 3355 }
3022 }; 3356 if (context_.scratch_) {
3023 } 3357 replay.copy_scratch = [this, &tracker_lock, &scratch_guard](VkDeviceSize bytes, VkBuffer& buffer,
3024 if (kind_ != QueueKind::copy && context_.indirect_clamp_) { 3358 VkDeviceSize& offset) {
3025 // The record scratch belongs to this submission: collected here, retired below with its ticket. The 3359 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3026 // counter slots are read back once that ticket completes (the batch's destructor). 3360 if (!scratch_guard.active) {
3027 replay.prepare_indirect_clamp = [this, &tracker_lock, &clamp_batch, &clamp_guard]( 3361 scratch_guard.scratch = context_.scratch_.get();
3028 VkBuffer arguments, VkDeviceSize argument_offset, VkBuffer count, 3362 context_.scratch_->collect();
3029 VkDeviceSize count_offset, std::uint32_t kind, std::uint32_t stride, 3363 scratch_guard.active = true;
3030 std::uint32_t max_count, ClampedIndirect& out) { 3364 }
3031 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation. 3365 return context_.scratch_->get(bytes, buffer, offset);
3032 if (!tracker_lock.owns_lock()) tracker_lock.lock(); 3366 };
3033 if (!clamp_batch) clamp_batch = context_.indirect_clamp_->batch(); 3367 }
3034 if (!clamp_guard.active) { 3368 if (kind_ != QueueKind::copy && context_.indirect_clamp_) {
3035 context_.indirect_clamp_->collect(); 3369 // The record scratch belongs to this submission: collected here, retired below with its ticket. The
3036 clamp_guard.active = true; 3370 // counter slots are read back once that ticket completes (the batch's destructor).
3371 replay.prepare_indirect_clamp = [this, &tracker_lock, &clamp_batch, &clamp_guard](
3372 VkBuffer arguments, VkDeviceSize argument_offset, VkBuffer count,
3373 VkDeviceSize count_offset, std::uint32_t kind, std::uint32_t stride,
3374 std::uint32_t max_count, ClampedIndirect& out) {
3375 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation.
3376 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3377 if (!clamp_batch) clamp_batch = context_.indirect_clamp_->batch();
3378 if (!clamp_guard.active) {
3379 clamp_guard.clamp = context_.indirect_clamp_.get();
3380 context_.indirect_clamp_->collect();
3381 clamp_guard.active = true;
3382 }
3383 return clamp_batch->prepare(arguments, argument_offset, count, count_offset, kind, stride,
3384 max_count, out);
3385 };
3386 }
3387 if (kind_ != QueueKind::copy && context_.counted_dispatch_) {
3388 replay.prepare_counted_dispatch = [this, &tracker_lock, &counted_batch](
3389 VkBuffer args, VkDeviceSize args_offset, VkBuffer count, VkDeviceSize count_offset,
3390 std::uint32_t stride, std::uint32_t maximum, CountedDispatch& out) {
3391 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation.
3392 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3393 if (!counted_batch) counted_batch = context_.counted_dispatch_->batch();
3394 return counted_batch->prepare(args, args_offset, count, count_offset, stride, maximum, out);
3395 };
3396 replay.emit_counted_dispatch = [this](VkCommandBuffer cb, const CountedDispatch& job) {
3397 context_.counted_dispatch_->emit(cb, job);
3398 };
3399 }
3400 if (kind_ != QueueKind::copy && context_.quad_indices_ && context_.scratch_) {
3401 replay.prepare_quad_indices = [this, &tracker_lock](
3402 VkBuffer indices, VkDeviceSize offset, VkIndexType type, std::uint64_t readable, std::uint32_t quads,
3403 VkBuffer scratch, VkDeviceSize scratch_offset, QuadIndexExpansion& out) {
3404 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation.
3405 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3406 return context_.quad_indices_->prepare(indices, offset, type, readable, quads, scratch,
3407 scratch_offset, out);
3408 };
3409 replay.emit_quad_indices = [this](VkCommandBuffer cb, const QuadIndexExpansion& job) {
3410 context_.quad_indices_->emit(cb, job);
3411 };
3412 }
3413 if (context_.depth24_ && !transfer_only) {
3414 replay.depth24_prepare = [this, &tracker_lock, &depth24_guard](Depth24Job& job,
3415 std::vector<Depth24Job>& parts) {
3416 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3417 if (!depth24_guard.active) {
3418 depth24_guard.d24 = context_.depth24_.get();
3419 context_.depth24_->collect();
3420 depth24_guard.active = true;
3421 }
3422 return context_.depth24_->prepare(job, parts);
3423 };
3424 }
3425 if (can_resolve_occlusion) {
3426 replay.sum_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first,
3427 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) {
3428 occlusion_resolve_->sum(cb, pool, first, count, dst, offset);
3429 };
3430 replay.resolve_binary_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first,
3431 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) {
3432 occlusion_resolve_->normalize(cb, pool, first, count, dst, offset);
3433 };
3434 replay.sum_statistics = [this](VkCommandBuffer cb, VkQueryPool pool, VkQueryPool mesh_pool,
3435 VkQueryPool primitives_pool, const std::uint8_t* mesh,
3436 std::uint32_t first, std::uint32_t count, VkBuffer dst,
3437 VkDeviceSize offset) {
3438 occlusion_resolve_->sum_statistics(cb, pool, mesh_pool, primitives_pool, mesh, first, count, dst,
3439 offset);
3440 };
3441 replay.sum_binary_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first,
3442 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) {
3443 occlusion_resolve_->sum_binary(cb, pool, first, count, dst, offset);
3444 };
3445 }
3446 segments = 0;
3447 statistics_segments = 0;
3448 has_queries = false;
3449 // Collect unbuilt pipelines via PipelineCompiles (whether pipeline_workers_ is enabled or serial).
3450 // On pass 0, if any pipeline must be compiled, release pass-0 transient state along with tracker_lock
3451 // and resource_lock before invoking the compiler (keeping pipeline_lock so registered pipelines and
3452 // workers stay alive), then re-prepare on pass 1 against current resources.
3453 PipelineCompiles compiles;
3454 replay.compiles = &compiles;
3455 ReplayResult prepare_result = ReplayResult::success;
3456 for (std::size_t i = 0; i < lists.size(); ++i) {
3457 const auto result = prepare(*lists[i], resolve, replay, prepared[i], can_resolve_occlusion);
3458 if (result != ReplayResult::success) {
3459 prepare_result = result;
3460 break;
3037 } 3461 }
3038 return clamp_batch->prepare(arguments, argument_offset, count, count_offset, kind, stride, max_count, 3462 if (prepared[i].segment_count > UINT32_MAX - segments ||
3039 out); 3463 prepared[i].statistics_segment_count > UINT32_MAX - statistics_segments)
3040 }; 3464 return queue_unsupported(__LINE__);
3041 } 3465 segments += prepared[i].segment_count;
3042 if (kind_ != QueueKind::copy && context_.counted_dispatch_) { 3466 statistics_segments += prepared[i].statistics_segment_count;
3043 replay.prepare_counted_dispatch = [this, &tracker_lock, &counted_batch]( 3467 has_queries = has_queries || !prepared[i].queries.empty();
3044 VkBuffer args, VkDeviceSize args_offset, VkBuffer count, VkDeviceSize count_offset, 3468 }
3045 std::uint32_t stride, std::uint32_t maximum, CountedDispatch& out) { 3469 if (pass == 0 && !compiles.empty()) {
3046 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation. 3470 if (depth24_guard.active) {
3047 if (!tracker_lock.owns_lock()) tracker_lock.lock(); 3471 context_.depth24_->retire(progress_, 0);
3048 if (!counted_batch) counted_batch = context_.counted_dispatch_->batch(); 3472 depth24_guard.active = false;
3049 return counted_batch->prepare(args, args_offset, count, count_offset, stride, maximum, out);
3050 };
3051 replay.emit_counted_dispatch = [this](VkCommandBuffer cb, const CountedDispatch& job) {
3052 context_.counted_dispatch_->emit(cb, job);
3053 };
3054 }
3055 if (kind_ != QueueKind::copy && context_.quad_indices_ && context_.scratch_) {
3056 replay.prepare_quad_indices = [this, &tracker_lock](
3057 VkBuffer indices, VkDeviceSize offset, VkIndexType type, std::uint64_t readable, std::uint32_t quads,
3058 VkBuffer scratch, VkDeviceSize scratch_offset, QuadIndexExpansion& out) {
3059 // Pipeline creation is lazy and shared across queues; serialize it with other replay preparation.
3060 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3061 return context_.quad_indices_->prepare(indices, offset, type, readable, quads, scratch,
3062 scratch_offset, out);
3063 };
3064 replay.emit_quad_indices = [this](VkCommandBuffer cb, const QuadIndexExpansion& job) {
3065 context_.quad_indices_->emit(cb, job);
3066 };
3067 }
3068 if (context_.depth24_ && !transfer_only) {
3069 replay.depth24_prepare = [this, &tracker_lock, &depth24_guard](Depth24Job& job,
3070 std::vector<Depth24Job>& parts) {
3071 if (!tracker_lock.owns_lock()) tracker_lock.lock();
3072 if (!depth24_guard.active) {
3073 context_.depth24_->collect();
3074 depth24_guard.active = true;
3075 } 3473 }
3076 return context_.depth24_->prepare(job, parts); 3474 if (scratch_guard.active) {
3077 }; 3475 context_.scratch_->retire(progress_, 0);
3078 } 3476 scratch_guard.active = false;
3079 const auto& occlusion_memory = context_.occlusion_resolve_memory_; 3477 }
3080 const bool can_resolve_occlusion = occlusion_memory.memoryTypeCount != 0; 3478 if (clamp_guard.active) {
3081 if (can_resolve_occlusion) { 3479 context_.indirect_clamp_->retire(progress_, 0);
3082 replay.sum_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first, 3480 clamp_guard.active = false;
3083 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) { 3481 }
3084 occlusion_resolve_->sum(cb, pool, first, count, dst, offset); 3482 batch.reset();
3085 }; 3483 copy_batch.reset();
3086 replay.resolve_binary_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first, 3484 counted_batch.reset();
3087 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) { 3485 clamp_batch.reset();
3088 occlusion_resolve_->normalize(cb, pool, first, count, dst, offset); 3486 if (tracker_lock.owns_lock()) tracker_lock.unlock();
3089 }; 3487 resource_lock.unlock();
3090 replay.sum_statistics = [this](VkCommandBuffer cb, VkQueryPool pool, VkQueryPool mesh_pool, 3488 recycle_khr_stages(khr_guard.stages);
3091 VkQueryPool primitives_pool, const std::uint8_t* mesh, 3489 recycle_khr_as_queries(khr_guard.as_queries);
3092 std::uint32_t first, std::uint32_t count, VkBuffer dst, 3490 geometry.clear();
3093 VkDeviceSize offset) { 3491
3094 occlusion_resolve_->sum_statistics(cb, pool, mesh_pool, primitives_pool, mesh, first, count, dst, 3492 std::shared_ptr<void> demand;
3095 offset); 3493 if (context_.large_compile_demand_ && compiles.any_large()) demand = context_.large_compile_demand_();
3096 }; 3494 if (context_.pipeline_workers_)
3097 replay.sum_binary_occlusion = [this](VkCommandBuffer cb, VkQueryPool pool, std::uint32_t first, 3495 compiles.build(run_compiles, context_.large_compile_budget_);
3098 std::uint32_t count, VkBuffer dst, VkDeviceSize offset) { 3496 else
3099 occlusion_resolve_->sum_binary(cb, pool, first, count, dst, offset); 3497 compiles.build_serial();
3100 }; 3498 demand.reset();
3101 } 3499 const ReplayResult compile_result = check_compiled_pipelines(compiles, prepare_result);
3102 const auto resolve = [this](ResourceId id) { return context_.resolve(id); }; 3500 if (compile_result != ReplayResult::success) return compile_result;
3103 std::uint32_t segments = 0, statistics_segments = 0; 3501 prior_compiles = std::move(compiles);
3104 bool has_queries = false; 3502 has_prior_compiles = true;
3105 // With workers, the pipelines the lists need and that are not built yet are compiled together below instead of 3503 continue;
3106 // one after another in prepare(). resource_lock is held until they are all built, which keeps the pipeline
3107 // states that own them alive (remove_pipeline takes it uniquely).
3108 PipelineCompiles compiles;
3109 if (context_.pipeline_workers_) replay.compiles = &compiles;
3110 ReplayResult prepare_result = ReplayResult::success;
3111 for (std::size_t i = 0; i < lists.size(); ++i) {
3112 const auto result = prepare(*lists[i], resolve, replay, prepared[i], can_resolve_occlusion);
3113 if (result != ReplayResult::success) {
3114 prepare_result = result;
3115 break;
3116 } 3504 }
3117 if (prepared[i].segment_count > UINT32_MAX - segments || 3505 const PipelineCompiles* prior = has_prior_compiles ? &prior_compiles : nullptr;
3118 prepared[i].statistics_segment_count > UINT32_MAX - statistics_segments) 3506 prepare_result = context_.pipeline_workers_
3119 return queue_unsupported(__LINE__); 3507 ? build_pipelines(compiles, std::span(prepared).first(lists.size()), prepare_result,
3120 segments += prepared[i].segment_count; 3508 run_compiles, context_.large_compile_budget_, prior)
3121 statistics_segments += prepared[i].statistics_segment_count; 3509 : build_pipelines_serial(compiles, std::span(prepared).first(lists.size()),
3122 has_queries = has_queries || !prepared[i].queries.empty(); 3510 prepare_result, prior);
3123 } 3511 replay.compiles = nullptr;
3124 prepare_result = build_pipelines( 3512 if (prepare_result != ReplayResult::success) return prepare_result;
3125 compiles, std::span(prepared).first(lists.size()), prepare_result, 3513 break;
3126 [this](std::size_t count, const std::function<void(std::size_t)>& job) { 3514 }
3127 context_.pipeline_workers_->run(count, job);
3128 });
3129 if (prepare_result != ReplayResult::success) return prepare_result;
3130 const auto segment_pool = [this](VkQueryType type, std::uint32_t count, 3515 const auto segment_pool = [this](VkQueryType type, std::uint32_t count,
3131 std::shared_ptr<OcclusionSegmentPool>& out) { 3516 std::shared_ptr<OcclusionSegmentPool>& out) {
3132 const auto& vk = context_.vk; 3517 const auto& vk = context_.vk;
@@ -3148,9 +3533,8 @@ private:
3148 if (statistics_segments && can_resolve_occlusion) { 3533 if (statistics_segments && can_resolve_occlusion) {
3149 if (!segment_pool(VK_QUERY_TYPE_PIPELINE_STATISTICS, statistics_segments, statistics)) 3534 if (!segment_pool(VK_QUERY_TYPE_PIPELINE_STATISTICS, statistics_segments, statistics))
3150 return queue_unsupported(__LINE__); 3535 return queue_unsupported(__LINE__);
3151 for (const auto& list : prepared) 3536 // This batch's lists only: `prepared` keeps the entries of a larger batch past lists.size().
3152 statistics->mesh.insert(statistics->mesh.end(), list.statistics_mesh.begin(), 3537 statistics->mesh = batch_statistics_mesh(std::span<const PreparedList>(prepared).first(lists.size()));
3153 list.statistics_mesh.end());
3154 if (std::find(statistics->mesh.begin(), statistics->mesh.end(), 1) == statistics->mesh.end()) { 3538 if (std::find(statistics->mesh.begin(), statistics->mesh.end(), 1) == statistics->mesh.end()) {
3155 statistics->mesh.clear(); 3539 statistics->mesh.clear();
3156 } else { 3540 } else {
@@ -3253,6 +3637,7 @@ private:
3253 const bool ended = context_.observe_result(context_.vk.vkEndCommandBuffer(command_buffer), 3637 const bool ended = context_.observe_result(context_.vk.vkEndCommandBuffer(command_buffer),
3254 "vkEndCommandBuffer") == VK_SUCCESS; 3638 "vkEndCommandBuffer") == VK_SUCCESS;
3255 resource_lock.unlock(); 3639 resource_lock.unlock();
3640 pipeline_lock.unlock();
3256 const bool submitted = ended && submit(command_buffer, VK_NULL_HANDLE, 0); 3641 const bool submitted = ended && submit(command_buffer, VK_NULL_HANDLE, 0);
3257 if (!submitted) discard(); 3642 if (!submitted) discard();
3258 if (depth24_guard.active) { 3643 if (depth24_guard.active) {
@@ -3330,6 +3715,25 @@ private:
3330 auto pieces = detail::current(&next_tracker, id, range, VK_IMAGE_LAYOUT_UNDEFINED); 3715 auto pieces = detail::current(&next_tracker, id, range, VK_IMAGE_LAYOUT_UNDEFINED);
3331 detail::initialize(replay, command_buffer, *image, id, pieces, VK_IMAGE_LAYOUT_GENERAL, &next_tracker); 3716 detail::initialize(replay, command_buffer, *image, id, pieces, VK_IMAGE_LAYOUT_GENERAL, &next_tracker);
3332 } 3717 }
3718 // The prelude (set_prelude): recorded here, after the set's upload and before the lists, and in either case
3719 // after the last submission of another queue that recorded one (its pass writes what these lists read, and
3720 // a pass here must not overtake it).
3721 const bool prelude = !transfer_only && context_.prelude_record_ && context_.prelude_record_(command_buffer);
3722 // LEONIDA_PRELUDE_QUEUE_WAIT=0 (an experiment): no wait for another queue's pass, so the queues do not
3723 // serialise on each other's whole submissions; a list may then read what that pass has not written yet.
3724 static const bool cross_wait = [] {
3725 const char* v = std::getenv("LEONIDA_PRELUDE_QUEUE_WAIT");
3726 return !(v && v[0] == '0' && v[1] == 0);
3727 }();
3728 {
3729 std::lock_guard lock(context_.storage_mutex_);
3730 if (cross_wait && context_.prelude_semaphore_ && context_.prelude_semaphore_ != progress_ &&
3731 context_.prelude_version_ != prelude_seen_) {
3732 waits_.push_back(context_.prelude_semaphore_);
3733 wait_values_.push_back(context_.prelude_value_);
3734 }
3735 prelude_seen_ = context_.prelude_version_;
3736 }
3333 bool wrote_readback = false; 3737 bool wrote_readback = false;
3334 VkPipelineStageFlags2 readback_stages = 0; 3738 VkPipelineStageFlags2 readback_stages = 0;
3335 std::uint32_t open_labels = 0; // events may span the lists of one ExecuteCommandLists 3739 std::uint32_t open_labels = 0; // events may span the lists of one ExecuteCommandLists
@@ -3386,7 +3790,8 @@ private:
3386 } 3790 }
3387 const bool ended = context_.observe_result(context_.vk.vkEndCommandBuffer(command_buffer), 3791 const bool ended = context_.observe_result(context_.vk.vkEndCommandBuffer(command_buffer),
3388 "vkEndCommandBuffer") == VK_SUCCESS; 3792 "vkEndCommandBuffer") == VK_SUCCESS;
3389 resource_lock.unlock(); // release resource_mutex_ before vkQueueSubmit while keeping tracker_lock held 3793 resource_lock.unlock(); // release resource_mutex_ and pipeline_mutex_ before vkQueueSubmit while keeping tracker_lock held
3794 pipeline_lock.unlock();
3390 const bool wait_previous = ordered_timestamps && submitted_; 3795 const bool wait_previous = ordered_timestamps && submitted_;
3391 if (wait_previous) { 3796 if (wait_previous) {
3392 waits_.push_back(progress_); 3797 waits_.push_back(progress_);
@@ -3417,6 +3822,16 @@ private:
3417 ++context_.bindless_upload_version_; 3822 ++context_.bindless_upload_version_;
3418 bindless_upload_seen_ = context_.bindless_upload_version_; 3823 bindless_upload_seen_ = context_.bindless_upload_version_;
3419 } 3824 }
3825 if (prelude) {
3826 if (submitted) {
3827 std::lock_guard lock(context_.storage_mutex_);
3828 context_.prelude_semaphore_ = progress_;
3829 context_.prelude_value_ = submitted_;
3830 ++context_.prelude_version_;
3831 prelude_seen_ = context_.prelude_version_;
3832 }
3833 if (context_.prelude_commit_) context_.prelude_commit_(submitted, context_.submitted_retire_ticket());
3834 }
3420 if (wait_previous && !submitted && !waits_.empty()) { // a failed submit keeps the waits for the next one 3835 if (wait_previous && !submitted && !waits_.empty()) { // a failed submit keeps the waits for the next one
3421 waits_.pop_back(); 3836 waits_.pop_back();
3422 wait_values_.pop_back(); 3837 wait_values_.pop_back();
@@ -3537,7 +3952,9 @@ private:
3537 3952
3538 // Appends `op`, which takes the pending waits with it (a marker has none). Called with state_mutex_ held. 3953 // Appends `op`, which takes the pending waits with it (a marker has none). Called with state_mutex_ held.
3539 void hold(Deferred&& op) { 3954 void hold(Deferred&& op) {
3540 op.seq = context_.holds().next_seq(); 3955 // A call the worker runs (LEONIDA_SUBMIT_ASYNC) keeps the number it was queued with: what was registered
3956 // behind it (a Present) still waits for it.
3957 op.seq = async_seq_ ? async_seq_ : context_.holds().next_seq();
3541 if (op.kind != Deferred::Kind::marker) { 3958 if (op.kind != Deferred::Kind::marker) {
3542 op.waits = std::move(waits_); 3959 op.waits = std::move(waits_);
3543 op.wait_values = std::move(wait_values_); 3960 op.wait_values = std::move(wait_values_);
@@ -3548,6 +3965,7 @@ private:
3548 } 3965 }
3549 if (gpu_latency::enabled()) op.held_at = std::chrono::steady_clock::now(); 3966 if (gpu_latency::enabled()) op.held_at = std::chrono::steady_clock::now();
3550 held_.push_back(std::move(op)); 3967 held_.push_back(std::move(op));
3968 held_front_seq_.store(held_.front().seq, std::memory_order_release);
3551 context_.holds().held_changed(1); 3969 context_.holds().held_changed(1);
3552 } 3970 }
3553 3971
@@ -3594,7 +4012,21 @@ private:
3594 bool ready(const Deferred& op) const { return !waits_pending(op.waits, op.wait_values); } 4012 bool ready(const Deferred& op) const { return !waits_pending(op.waits, op.wait_values); }
3595 4013
3596 // Holder: called by the thread whose Signal made a held operation ready (never with a queue lock held). 4014 // Holder: called by the thread whose Signal made a held operation ready (never with a queue lock held).
4015 // With LEONIDA_SUBMIT_ASYNC another thread does not run this queue's held work: it asks the queue's worker,
4016 // which releases it and then pumps the holds itself (so a Present behind it still runs after it).
3597 bool release_ready() override { 4017 bool release_ready() override {
4018 if (async_started_.load(std::memory_order_acquire) && t_worker_of_ != this) {
4019 {
4020 std::lock_guard lock(inbox_mutex_);
4021 release_requested_ = true;
4022 }
4023 inbox_cv_.notify_one();
4024 return false;
4025 }
4026 return release_held();
4027 }
4028
4029 bool release_held() {
3598 std::vector<std::shared_ptr<void>> retired; 4030 std::vector<std::shared_ptr<void>> retired;
3599 bool released = false; 4031 bool released = false;
3600 { 4032 {
@@ -3603,8 +4035,19 @@ private:
3603 Deferred op = std::move(held_.front()); 4035 Deferred op = std::move(held_.front());
3604 held_.pop_front(); 4036 held_.pop_front();
3605 context_.holds().held_changed(-1); 4037 context_.holds().held_changed(-1);
3606 if (gpu_latency::enabled()) gpu_latency::held(int(kind_), int(op.kind), op.held_at); 4038 if (gpu_latency::enabled()) {
4039 // The wait that was pending when it was held: the fence whose Signal let it go.
4040 std::uint64_t fence = 0, value = 0;
4041 for (std::size_t i = 0; i < op.waits.size(); ++i)
4042 if (op.wait_values[i] > value) {
4043 fence = std::uint64_t(reinterpret_cast<std::uintptr_t>(op.waits[i]));
4044 value = op.wait_values[i];
4045 }
4046 gpu_latency::held(int(kind_), int(op.kind), op.held_at, fence, value);
4047 }
3607 if (!context_.is_device_lost()) run(op); 4048 if (!context_.is_device_lost()) run(op);
4049 // Only now: until it has run, the operation still counts as the oldest held one.
4050 held_front_seq_.store(held_.empty() ? 0 : held_.front().seq, std::memory_order_release);
3608 released = true; 4051 released = true;
3609 } 4052 }
3610 drain_pins(retired); 4053 drain_pins(retired);
@@ -3629,13 +4072,22 @@ private:
3629 it = held_.erase(it); 4072 it = held_.erase(it);
3630 context_.holds().held_changed(-1); 4073 context_.holds().held_changed(-1);
3631 } 4074 }
4075 held_front_seq_.store(held_.empty() ? 0 : held_.front().seq, std::memory_order_release);
3632 } 4076 }
3633 } 4077 }
3634 4078
3635 // Holder: the sequence number of the oldest held operation. 4079 // Holder: the sequence number of the oldest held operation.
3636 std::uint64_t oldest_held_seq() override { 4080 std::uint64_t oldest_held_seq() override {
3637 std::lock_guard state(state_mutex_); 4081 if (!async_on()) {
3638 return held_.empty() ? 0 : held_.front().seq; 4082 std::lock_guard state(state_mutex_);
4083 return held_.empty() ? 0 : held_.front().seq;
4084 }
4085 // Not under state_mutex_, which the worker holds while it replays: the front's number is kept apart.
4086 std::uint64_t oldest = held_front_seq_.load(std::memory_order_acquire);
4087 std::lock_guard lock(inbox_mutex_);
4088 const std::uint64_t queued = running_seq_ ? running_seq_ : inbox_.empty() ? 0 : inbox_.front().seq;
4089 if (queued && (!oldest || queued < oldest)) oldest = queued;
4090 return oldest;
3639 } 4091 }
3640 4092
3641 // A queue destroyed with held work. Reported, not waited for: nothing was submitted for it, so the VkQueue is 4093 // A queue destroyed with held work. Reported, not waited for: nothing was submitted for it, so the VkQueue is
@@ -3661,6 +4113,7 @@ private:
3661 if (op.kind == Deferred::Kind::signal) context_.cancel_fence_waits(op.fence); 4113 if (op.kind == Deferred::Kind::signal) context_.cancel_fence_waits(op.fence);
3662 context_.holds().held_changed(-static_cast<std::int64_t>(held_.size())); 4114 context_.holds().held_changed(-static_cast<std::int64_t>(held_.size()));
3663 dropped.swap(held_); 4115 dropped.swap(held_);
4116 held_front_seq_.store(0, std::memory_order_release);
3664 } 4117 }
3665 // The pins (fences, pipeline states) are released here, outside the lock. 4118 // The pins (fences, pipeline states) are released here, outside the lock.
3666 } 4119 }
@@ -3795,8 +4248,12 @@ private:
3795 pending_bindings_.push_back(std::move(pending)); 4248 pending_bindings_.push_back(std::move(pending));
3796 { 4249 {
3797 std::lock_guard lock(context_.submit_mutex()); 4250 std::lock_guard lock(context_.submit_mutex());
3798 const auto result = context_.observe_result(vk.vkQueueBindSparse(queue_, 1, &info, VK_NULL_HANDLE), 4251 VkResult bound;
3799 "vkQueueBindSparse"); 4252 {
4253 const SubmitMutex::SubmitTurn turn(context_.submit_mutex()); // a queue operation: the compile gate
4254 bound = vk.vkQueueBindSparse(queue_, 1, &info, VK_NULL_HANDLE);
4255 }
4256 const auto result = context_.observe_result(bound, "vkQueueBindSparse");
3800 if (result != VK_SUCCESS) { 4257 if (result != VK_SUCCESS) {
3801 if (result == VK_ERROR_DEVICE_LOST) context_.mark_device_lost(); 4258 if (result == VK_ERROR_DEVICE_LOST) context_.mark_device_lost();
3802 pending_bindings_.pop_back(); 4259 pending_bindings_.pop_back();
@@ -3985,8 +4442,7 @@ private:
3985 semaphores = sparse_waits; 4442 semaphores = sparse_waits;
3986 values = sparse_values; 4443 values = sparse_values;
3987 } 4444 }
3988 const std::vector<VkPipelineStageFlags> stages(semaphores.size(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); 4445 const std::vector<VkPipelineStageFlags> stages(semaphores.size(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); VkResult res = VK_SUCCESS;
3989 VkResult res = VK_SUCCESS;
3990 { 4446 {
3991 std::lock_guard lock(context_.submit_mutex()); 4447 std::lock_guard lock(context_.submit_mutex());
3992 VkSemaphore signals[2]{progress_, VK_NULL_HANDLE}; 4448 VkSemaphore signals[2]{progress_, VK_NULL_HANDLE};
@@ -4020,10 +4476,32 @@ private:
4020 if (diagnostics) pass_trace(*diagnostics); 4476 if (diagnostics) pass_trace(*diagnostics);
4021 // Publish before the driver can execute a marker or a concurrent fence wait can see the loss. 4477 // Publish before the driver can execute a marker or a concurrent fence wait can see the loss.
4022 if (diagnostics) context_.device_fault()->publish(std::move(*diagnostics)); 4478 if (diagnostics) context_.device_fault()->publish(std::move(*diagnostics));
4023 const auto label_fence=context_.gpu_labels_.submit_fence(command_buffer); 4479 DeviceFaultDiagnostics* const ring = context_.device_fault();
4024 res = context_.observe_result(context_.vk.vkQueueSubmit(queue_, 1, &submit, label_fence), 4480 std::size_t ring_at = 0;
4481 const std::int64_t submit_start = diagnostic_ms();
4482 if (ring) {
4483 SubmitRecord record;
4484 record.at_ms = submit_start;
4485 record.queue = queue_;
4486 record.kind = kind_ == QueueKind::direct ? "direct" : kind_ == QueueKind::compute ? "compute" : "copy";
4487 record.progress = progress_;
4488 record.ticket = ticket;
4489 record.buffers = submit.commandBufferCount;
4490 if (signals_fence) {
4491 record.fence = fence;
4492 record.fence_value = value;
4493 }
4494 record.waits = std::uint32_t(semaphores.size());
4495 for (std::size_t i = 0; i < semaphores.size() && i < SubmitRecord::max_waits; ++i) {
4496 record.wait_semaphores[i] = semaphores[i];
4497 record.wait_values[i] = values[i];
4498 }
4499 ring_at = ring->begin_submit(record);
4500 }
4501 res = context_.observe_result(context_.queue_submit(queue_, 1, &submit, context_.gpu_labels_.submit_fence(command_buffer)),
4025 "vkQueueSubmit"); 4502 "vkQueueSubmit");
4026 context_.gpu_labels_.submitted(command_buffer,res==VK_SUCCESS); 4503 context_.gpu_labels_.submitted(command_buffer, res == VK_SUCCESS);
4504 if (ring) ring->end_submit(ring_at, diagnostic_ms() - submit_start, res);
4027 if (res == VK_SUCCESS) { 4505 if (res == VK_SUCCESS) {
4028 context_.record_submit_locked(progress_, ticket); 4506 context_.record_submit_locked(progress_, ticket);
4029 if (signals_fence) context_.holds().signaled(fence, value); 4507 if (signals_fence) context_.holds().signaled(fence, value);
@@ -4062,6 +4540,7 @@ private:
4062 std::unique_ptr<OcclusionResolve> occlusion_resolve_; 4540 std::unique_ptr<OcclusionResolve> occlusion_resolve_;
4063 std::uint64_t storage_init_seen_ = 0; // the storage_init_version_ this queue has waited for 4541 std::uint64_t storage_init_seen_ = 0; // the storage_init_version_ this queue has waited for
4064 std::uint64_t bindless_upload_seen_ = 0; // the bindless_upload_version_ this queue has waited for 4542 std::uint64_t bindless_upload_seen_ = 0; // the bindless_upload_version_ this queue has waited for
4543 std::uint64_t prelude_seen_ = 0; // the prelude_version_ this queue has waited for (or recorded)
4065 std::uint64_t last_sparse_ = 0; 4544 std::uint64_t last_sparse_ = 0;
4066 std::deque<PendingBindings> pending_bindings_; 4545 std::deque<PendingBindings> pending_bindings_;
4067 std::vector<VkSemaphore> waits_; 4546 std::vector<VkSemaphore> waits_;
@@ -4071,8 +4550,260 @@ private:
4071 std::vector<PreparedList> prepared_; 4550 std::vector<PreparedList> prepared_;
4072 std::uint32_t open_labels_ = 0; // queue labels begun and not ended 4551 std::uint32_t open_labels_ = 0; // queue labels begun and not ended
4073 bool ok_ = false; 4552 bool ok_ = false;
4074 // Wait-before-Signal. state_mutex_ is outermost (before resource_mutex_ -> tracker_mutex_ -> submit_mutex_) and 4553 // ---- LEONIDA_SUBMIT_ASYNC=<n>: the queue's calls run on a worker of its own -----------------------------------
4075 // guards the members above that execute, signal, wait and marker touch. 4554 // ExecuteCommandLists, Signal, Wait and the markers are queued in call order and return at once; one worker per
4555 // queue runs each through the synchronous path (execute_sync & co.), so the replay, the before-submission
4556 // refreshes and vkQueueSubmit leave the caller's thread and overlap with its next frame. At most n batches wait per
4557 // queue; the caller of the next one waits for room (the in-flight bound). A queued call counts as held work
4558 // (QueueHolds), numbered when it was called, so a Present behind it still waits for it and cross-queue order is
4559 // the call order. Calls that use the queue's state at once (tile mappings, idle, the destructor) first wait for
4560 // what is queued. A batch that fails is reported as a held one is (stderr, take_held_failure()). Off (0) by
4561 // default: every call runs on the caller's thread, as before.
4562 static unsigned async_depth() {
4563 static const unsigned depth = [] {
4564 const char* v = std::getenv("LEONIDA_SUBMIT_ASYNC");
4565 const int n = v && *v ? std::atoi(v) : 0;
4566 return n > 0 ? unsigned(n) : 0u;
4567 }();
4568 return depth;
4569 }
4570
4571 bool async_on() const { return async_depth() && !synchronous_; }
4572
4573 struct Call {
4574 enum class Kind : std::uint8_t { execute, signal, wait, marker };
4575 Kind kind = Kind::execute;
4576 std::uint64_t seq = 0, execute_call = 0, value = 0;
4577 std::vector<CommandList> lists; // copies: the application may Reset its lists after the call
4578 std::shared_ptr<void> pin; // the fence, or the lists' pipeline states and root signatures
4579 VkSemaphore fence = VK_NULL_HANDLE;
4580 DebugMarker::Kind marker_kind = DebugMarker::Kind::set;
4581 std::string label;
4582 std::chrono::steady_clock::time_point queued_at{};
4583 };
4584
4585 struct AsyncStats { // under inbox_mutex_, since the last line
4586 std::uint64_t calls = 0, batches = 0, room_waits = 0, room_wait_ns = 0, run_ns = 0, lag_ns = 0, lag_max_ns = 0;
4587 std::size_t depth_max = 0;
4588 std::chrono::steady_clock::time_point since = std::chrono::steady_clock::now();
4589 };
4590
4591 void enqueue(Call&& call) {
4592 const bool batch = call.kind == Call::Kind::execute;
4593 std::unique_lock lock(inbox_mutex_);
4594 if (!worker_.joinable()) {
4595 worker_ = std::thread([this] { async_worker(); });
4596 async_started_.store(true, std::memory_order_release);
4597 }
4598 // n batches, and 4n calls of any kind (a title that signals after every small job must not queue Signals
4599 // without bound). n = 1 makes each caller wait for the batch before it: n should be 2 or more.
4600 const auto room = [this, batch] {
4601 return async_stop_ ||
4602 ((!batch || inbox_batches_ < async_depth()) && inbox_.size() < 4 * std::size_t(async_depth()));
4603 };
4604 if (!room()) {
4605 const auto start = std::chrono::steady_clock::now();
4606 room_cv_.wait(lock, room);
4607 ++async_stats_.room_waits;
4608 async_stats_.room_wait_ns += std::uint64_t(
4609 std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::steady_clock::now() - start).count());
4610 }
4611 if (batch) {
4612 ++inbox_batches_;
4613 ++async_stats_.batches;
4614 }
4615 ++async_stats_.calls;
4616 call.seq = context_.holds().next_seq();
4617 call.queued_at = std::chrono::steady_clock::now();
4618 context_.holds().held_changed(1);
4619 inbox_.push_back(std::move(call));
4620 async_stats_.depth_max = std::max(async_stats_.depth_max, inbox_.size());
4621 lock.unlock();
4622 inbox_cv_.notify_one();
4623 }
4624
4625 void async_worker() {
4626 t_worker_of_ = this;
4627 for (;;) {
4628 Call call;
4629 bool have = false, release = false;
4630 {
4631 std::unique_lock lock(inbox_mutex_);
4632 inbox_cv_.wait(lock, [this] { return !inbox_.empty() || release_requested_ || async_stop_; });
4633 release = std::exchange(release_requested_, false);
4634 if (!inbox_.empty()) {
4635 call = std::move(inbox_.front());
4636 inbox_.pop_front();
4637 running_seq_ = call.seq;
4638 have = true;
4639 } else if (!release) {
4640 return; // stopping, nothing queued
4641 }
4642 worker_busy_ = true;
4643 }
4644 if (release) release_held();
4645 std::uint64_t ran_ns = 0;
4646 if (have) {
4647 const auto start = std::chrono::steady_clock::now();
4648 run_call(call);
4649 const auto end = std::chrono::steady_clock::now();
4650 ran_ns = std::uint64_t(std::chrono::duration_cast<std::chrono::nanoseconds>(end - start).count());
4651 const auto lag = std::uint64_t(
4652 std::chrono::duration_cast<std::chrono::nanoseconds>(start - call.queued_at).count());
4653 std::lock_guard lock(inbox_mutex_);
4654 async_stats_.run_ns += ran_ns;
4655 async_stats_.lag_ns += lag;
4656 async_stats_.lag_max_ns = std::max(async_stats_.lag_max_ns, lag);
4657 }
4658 {
4659 std::lock_guard lock(inbox_mutex_);
4660 running_seq_ = 0;
4661 worker_busy_ = false;
4662 if (have && call.kind == Call::Kind::execute) --inbox_batches_;
4663 if (have) room_cv_.notify_all();
4664 idle_cv_.notify_all();
4665 report_async_locked();
4666 }
4667 if (have) context_.holds().held_changed(-1);
4668 call = Call{}; // the copies and pins go before the pump, outside the lock
4669 context_.holds().pump_ready();
4670 }
4671 }
4672
4673 // An exception on the worker would end the process (std::terminate) and leave the queue's callers waiting: it is
4674 // turned into a held failure and a lost device instead, as a failed submission would be, and the worker goes on
4675 // (each later call fails at once on the lost device).
4676 void run_call(Call& call) {
4677 try {
4678 run_call_unguarded(call);
4679 } catch (const std::exception& e) {
4680 worker_threw(call, e.what());
4681 } catch (...) {
4682 worker_threw(call, "not a std::exception");
4683 }
4684 async_seq_ = 0;
4685 }
4686
4687 void worker_threw(const Call& call, const char* what) {
4688 int none = static_cast<int>(ReplayResult::success);
4689 held_failure_.compare_exchange_strong(none, static_cast<int>(ReplayResult::unsupported));
4690 std::fprintf(stderr, "[rt] d3d12: the queue's worker caught an exception running a queued %s (%s); the device is "
4691 "marked lost\n",
4692 call.kind == Call::Kind::execute ? "ExecuteCommandLists"
4693 : call.kind == Call::Kind::signal ? "Signal"
4694 : call.kind == Call::Kind::wait ? "Wait"
4695 : "marker",
4696 what);
4697 context_.mark_device_lost();
4698 }
4699
4700 void run_call_unguarded(Call& call) {
4701 async_seq_ = call.seq;
4702 const PinFn pin = call.pin ? PinFn([&call] { return call.pin; }) : PinFn{};
4703 switch (call.kind) {
4704 case Call::Kind::execute: {
4705 std::vector<const CommandList*> lists;
4706 lists.reserve(call.lists.size());
4707 for (const CommandList& list : call.lists) lists.push_back(&list);
4708 const ReplayResult result = execute_sync(lists, pin, call.execute_call);
4709 if (result != ReplayResult::success) {
4710 int none = static_cast<int>(ReplayResult::success);
4711 held_failure_.compare_exchange_strong(none, static_cast<int>(result));
4712 std::fprintf(stderr, "[rt] d3d12: a queued ExecuteCommandLists failed on the queue's worker (result "
4713 "%d); nothing was submitted for it\n",
4714 static_cast<int>(result));
4715 }
4716 break;
4717 }
4718 case Call::Kind::signal:
4719 if (!signal_sync(call.fence, call.value, pin)) {
4720 int none = static_cast<int>(ReplayResult::success);
4721 held_failure_.compare_exchange_strong(none, static_cast<int>(ReplayResult::unsupported));
4722 std::fprintf(stderr, "[rt] d3d12: a queued Signal failed on the queue's worker\n");
4723 }
4724 break;
4725 case Call::Kind::wait: wait_sync(call.fence, call.value, pin); break;
4726 case Call::Kind::marker: marker_sync(call.marker_kind, call.label.c_str()); break;
4727 }
4728 if (call.pin && call.kind == Call::Kind::execute) {
4729 // The pipeline states stay alive until what was just submitted has completed (a held batch keeps its own).
4730 std::lock_guard state(state_mutex_);
4731 std::vector<std::shared_ptr<void>> pins{std::move(call.pin)};
4732 retire_pins(pins, submitted_);
4733 }
4734 }
4735
4736 // Every 10 s, per queue: what the worker did. Called with inbox_mutex_ held.
4737 void report_async_locked() {
4738 const auto now = std::chrono::steady_clock::now();
4739 const double s = std::chrono::duration<double>(now - async_stats_.since).count();
4740 if (s < 10.0) return;
4741 static constexpr const char* kinds[] = {"direct", "compute", "copy"};
4742 const AsyncStats& a = async_stats_;
4743 std::fprintf(stderr,
4744 "[rt] submit-async: %s queue %p: %.1f calls/s (%.1f batches/s), queued now %zu (max %zu), "
4745 "worker busy %.0f%%, call waited for the worker avg %.2f ms max %.2f ms, caller waited for "
4746 "room %llu times %.1f ms\n",
4747 kinds[int(kind_) < 3 ? int(kind_) : 0], static_cast<const void*>(this), double(a.calls) / s,
4748 double(a.batches) / s, inbox_.size(), a.depth_max, 100.0 * double(a.run_ns) / (s * 1e9),
4749 a.calls ? double(a.lag_ns) / double(a.calls) / 1e6 : 0.0, double(a.lag_max_ns) / 1e6,
4750 static_cast<unsigned long long>(a.room_waits), double(a.room_wait_ns) / 1e6);
4751 async_stats_ = AsyncStats{};
4752 }
4753
4754 // What was queued before this call has run (held work may stay held, as without the worker). A worker that does
4755 // not come back (a GPU hang inside wait_for_room, say) is reported every 10 s, and after 60 s the caller goes on
4756 // without it: false.
4757 bool flush_async() {
4758 if (!async_started_.load(std::memory_order_acquire) || t_worker_of_ == this) return true;
4759 std::unique_lock lock(inbox_mutex_);
4760 const auto idle = [this] { return inbox_.empty() && !worker_busy_; };
4761 for (int slice = 1; slice <= 6; ++slice) {
4762 if (idle_cv_.wait_for(lock, std::chrono::seconds(10), idle)) return true;
4763 std::fprintf(stderr, "[rt] d3d12: waited %d s for a queue's worker to finish what is queued (%zu calls, "
4764 "running call %llu)%s\n",
4765 slice * 10, inbox_.size(), static_cast<unsigned long long>(running_seq_),
4766 slice == 6 ? "; going on without it" : "");
4767 }
4768 return false;
4769 }
4770
4771 void stop_async() {
4772 if (!async_started_.load(std::memory_order_acquire)) return;
4773 const bool drained = flush_async();
4774 {
4775 std::lock_guard lock(inbox_mutex_);
4776 async_stop_ = true;
4777 }
4778 inbox_cv_.notify_all();
4779 room_cv_.notify_all();
4780 if (!worker_.joinable()) return;
4781 if (drained) {
4782 worker_.join();
4783 return;
4784 }
4785 // A worker stuck for a minute holds this queue's objects: it is left running rather than joined forever
4786 // (only at teardown; the process is ending or the device is gone).
4787 std::fprintf(stderr, "[rt] d3d12: a queue's worker did not finish; it is detached at the queue's destruction\n");
4788 worker_.detach();
4789 }
4790
4791 std::mutex inbox_mutex_;
4792 std::condition_variable inbox_cv_, room_cv_, idle_cv_;
4793 std::deque<Call> inbox_;
4794 std::size_t inbox_batches_ = 0;
4795 std::uint64_t running_seq_ = 0; // the call the worker runs now
4796 bool worker_busy_ = false, release_requested_ = false, async_stop_ = false;
4797 AsyncStats async_stats_;
4798 std::atomic<bool> async_started_{false};
4799 bool synchronous_ = false; // make_synchronous()
4800 std::thread worker_;
4801 static inline thread_local VulkanQueue* t_worker_of_ = nullptr; // the queue whose worker this thread is
4802 static inline thread_local std::uint64_t async_seq_ = 0; // the sequence number of the call being run
4803 std::atomic<std::uint64_t> held_front_seq_{0}; // held_.front().seq, 0 when empty; see release_held()
4804
4805 // Wait-before-Signal. state_mutex_ is outermost (before pipeline_mutex_ -> resource_mutex_ -> tracker_mutex_ ->
4806 // submit_mutex_) and guards the members above that execute, signal, wait and marker touch.
4076 std::mutex state_mutex_; 4807 std::mutex state_mutex_;
4077 std::deque<Deferred> held_; 4808 std::deque<Deferred> held_;
4078 std::vector<std::shared_ptr<void>> wait_pins_; // keep the fences of waits_ alive 4809 std::vector<std::shared_ptr<void>> wait_pins_; // keep the fences of waits_ alive
diff --git a/runtime/src/vulkan_bindless.h b/runtime/src/vulkan_bindless.h
index e72225396..fc1b2f555 100644
--- a/runtime/src/vulkan_bindless.h
+++ b/runtime/src/vulkan_bindless.h
@@ -25,6 +25,14 @@
25// and samplers it adds and keeps them alive while they are in the set; this class owns only the fallbacks and the 25// and samplers it adds and keeps them alive while they are in the set; this class owns only the fallbacks and the
26// table's buffer. 26// table's buffer.
27// 27//
28// The T#'s own type is the truth: the index was given out in ITS dimension's space, so a shader reading it through
29// another dimension's array (a 2D instruction on a 2D-array or cube T#, say) must not use it blindly. Every entry
30// therefore carries, next to the index, which arrays the index is bound in (descriptor_table.h's kind bits), and a
31// translated module of the tagged contract reads that word: it uses the index only in an array the entry names and
32// otherwise takes that array's fallback. For the one mismatch the hardware reads rather than drops - a 2D
33// instruction on a 2D-array or cube T#, which addresses slice 0 - add_image's MirrorViews bind a view of that slice
34// at the same index in the 2D arrays and name 2D in the kind, so the instruction finds it.
35//
28// The fallbacks stand for the console's null descriptors (a zero T#, a T# whose image the layer refused or never 36// The fallbacks stand for the console's null descriptors (a zero T#, a T# whose image the layer refused or never
29// saw): each is of the kind the instruction asks for, since the translator picks the binding by the instruction's 37// saw): each is of the kind the instruction asks for, since the translator picks the binding by the instruction's
30// dimension and the view by the T#'s numeric class, and a miss at any of them reads zeros. On the console a store or 38// dimension and the view by the T#'s numeric class, and a miss at any of them reads zeros. On the console a store or
@@ -68,6 +76,7 @@
68 76
69#include <algorithm> 77#include <algorithm>
70#include <array> 78#include <array>
79#include <cassert>
71#include <cstdint> 80#include <cstdint>
72#include <cstring> 81#include <cstring>
73#include <functional> 82#include <functional>
@@ -230,14 +239,15 @@ struct SetLayout {
230 SetLayout& operator=(const SetLayout&) = delete; 239 SetLayout& operator=(const SetLayout&) = delete;
231}; 240};
232 241
233// What size_bindings() grows to where the device's limits allow. At 32-64 bytes a descriptor the whole set is then 242// What size_bindings() grows the sampled array of every single-sample dimension (2D, 2D array, 3D and 1D) to where
234// 5-10 MiB with 153697 descriptors when all MS classes and array bindings reach their limits (an RTX 5070). 243// the device's limits allow: one size for all of them. Which dimensions its textures have is the title's choice, and
235inline constexpr std::uint32_t max_2d_images = 65536; 244// an image keeps its index (one for each distinct T# of it) for as long as the texture lives, so no dimension gets
236// The other single-sample dimensions: a title streams far more cube maps and texture arrays (and 1D lookup 245// less room than another: a world run kept 4090 live 1D textures, the whole of the 4096 1D indices the set once
237// textures) than the 1024 and 256 of the defaults, each distinct T# of one taking its own index. 246// stopped at, while the 2D arrays had room to spare. The bound is the set's memory, not the device's descriptor
238inline constexpr std::uint32_t max_2d_array_images = 16384; 247// limits (8388606 sampled images on RADV): every element of every array is in each generation's descriptor pool,
239inline constexpr std::uint32_t max_3d_images = 4096; 248// used or not. At 32-64 bytes a descriptor the whole set is 10-20 MiB with 325729 descriptors when all MS classes
240inline constexpr std::uint32_t max_1d_images = 4096; 249// and arrays reach their limits (an RTX 5070).
250inline constexpr std::uint32_t max_images = 65536;
241inline constexpr std::uint32_t max_storage_indices = 4096; // in each storage array, at most its dimension's images 251inline constexpr std::uint32_t max_storage_indices = 4096; // in each storage array, at most its dimension's images
242// A full D3D12 shader-visible sampler heap (2048) and room for literal and static S#s, within what the device can 252// A full D3D12 shader-visible sampler heap (2048) and room for literal and static S#s, within what the device can
243// create (maxSamplerAllocationCount, at least 4000) less the samplers that are not in the set. 253// create (maxSamplerAllocationCount, at least 4000) less the samplers that are not in the set.
@@ -252,7 +262,8 @@ inline constexpr std::uint32_t growth_headroom = 64;
252// standalone samplers do not, though they count in an update-after-bind pool. 262// standalone samplers do not, though they count in an update-after-bind pool.
253// 1. The default counts, or as much of them as the device holds: samplers, then storage, then 2D images. 263// 1. The default counts, or as much of them as the device holds: samplers, then storage, then 2D images.
254// 2. The MS pairs that fit beside them (limit_ms_bindings, which may turn classes off). 264// 2. The MS pairs that fit beside them (limit_ms_bindings, which may turn classes off).
255// 3. Growth towards the maximums above, in the same order, then the 2D-array, 3D and 1D images, within 265// 3. Growth towards the maximums above, in the same order, then the 2D-array, 3D and 1D images together (one
266// count for the three, so a device whose limits stop growth short of max_images favours none of them), within
256// maxPerSetDescriptors. That limit only says what is sure to work (vkGetDescriptorSetLayoutSupport may allow 267// maxPerSetDescriptors. That limit only says what is sure to work (vkGetDescriptorSetLayoutSupport may allow
257// more), so it never shrinks step 1. 268// more), so it never shrinks step 1.
258// A storage array holds the smaller of the storage count and its dimension's sampled count: add_image never 269// A storage array holds the smaller of the storage count and its dimension's sampled count: add_image never
@@ -354,11 +365,23 @@ inline bool size_bindings(BindlessFeatures& features, const VkPhysicalDeviceLimi
354 const std::uint32_t creatable = 365 const std::uint32_t creatable =
355 limits.maxSamplerAllocationCount - std::min(limits.maxSamplerAllocationCount, reserved_samplers); 366 limits.maxSamplerAllocationCount - std::min(limits.maxSamplerAllocationCount, reserved_samplers);
356 grow(samplers, std::max(samplers, std::min(max_samplers, creatable)), growth_headroom, set_limit); 367 grow(samplers, std::max(samplers, std::min(max_samplers, creatable)), growth_headroom, set_limit);
357 grow(images, std::max(images, max_2d_images), growth_headroom, set_limit); 368 grow(images, std::max(images, max_images), growth_headroom, set_limit);
358 grow(storage, std::max(storage, max_storage_indices), growth_headroom, set_limit); 369 grow(storage, std::max(storage, max_storage_indices), growth_headroom, set_limit);
359 grow(arrays, std::max(arrays, max_2d_array_images), growth_headroom, set_limit); 370 // The other three dimensions grow as one: each gets the larger of its count so far and the shared one.
360 grow(volumes, std::max(volumes, max_3d_images), growth_headroom, set_limit); 371 const std::uint32_t arrays_before = arrays, volumes_before = volumes, lines_before = lines;
361 grow(lines, std::max(lines, max_1d_images), growth_headroom, set_limit); 372 std::uint32_t together = 0;
373 const auto set_together = [&](std::uint32_t n) {
374 arrays = std::max(arrays_before, n);
375 volumes = std::max(volumes_before, n);
376 lines = std::max(lines_before, n);
377 };
378 for (std::uint32_t high = max_images; together < high;) {
379 const std::uint32_t n = together + (high - together + 1) / 2;
380 set_together(n);
381 if (fits(growth_headroom, set_limit)) together = n;
382 else high = n - 1;
383 }
384 set_together(together);
362 apply(true); 385 apply(true);
363 return full; 386 return full;
364} 387}
@@ -398,6 +421,8 @@ public:
398 BindlessSet& operator=(const BindlessSet&) = delete; 421 BindlessSet& operator=(const BindlessSet&) = delete;
399 422
400 bool ok() const { return ok_; } 423 bool ok() const { return ok_; }
424 // What the set layout was made from (the pipeline journal names compute pipelines by it).
425 const BindlessFeatures& features() const { return features_; }
401 bool supports_ms_class(std::uint32_t component_class) const { 426 bool supports_ms_class(std::uint32_t component_class) const {
402 return component_class < classes && features_.ms_samples[component_class] != VK_SAMPLE_COUNT_1_BIT; 427 return component_class < classes && features_.ms_samples[component_class] != VK_SAMPLE_COUNT_1_BIT;
403 } 428 }
@@ -461,29 +486,126 @@ public:
461 &done, 0, nullptr, 0, nullptr); 486 &done, 0, nullptr, 0, nullptr);
462 } 487 }
463 488
464 // Gives an image an index in its dimension's bindings: 0 when the dimension is full. `sampled` goes to the 489 // A second view of the same image in the 2D arrays: the slice a 2D instruction reads through a 2D-array or cube
490 // T# (its first layer). The hardware addresses such a read as slice 0, and the translated shader reads binding 0
491 // with the identity the table gives, so the runtime binds this copy at the image's own index and records that
492 // index as valid in the 2D array too (kind_sampled_bit), owned by this image (mirror_of): another dimension's
493 // image with the same slot number does not inherit it. The storage views follow the same rule when the image has
494 // them, so a 2D store or atomic lands on layer 0.
495 struct MirrorViews {
496 VkImageView sampled = VK_NULL_HANDLE;
497 VkImageLayout sampled_layout = VK_IMAGE_LAYOUT_GENERAL;
498 StorageViews storage{};
499 };
500
501 // Gives an image an index in its dimension's bindings: 0 when the dimension is full (image_refusal says why). `sampled` goes to the
465 // sampled array in `sampled_layout` (the layout the image is in when shaders read it); the storage views go to 502 // sampled array in `sampled_layout` (the layout the image is in when shaders read it); the storage views go to
466 // the storage arrays in GENERAL. For MS views, sampled_class selects the float, uint or sint sampled array. 503 // the storage arrays in GENERAL. For MS views, sampled_class selects the float, uint or sint sampled array.
467 // The caller maps the T# to the index with insert_key(). Takes effect at flush(). 504 // `mirror` adds the same index in the 2D arrays (a 2D-array or cube image's slice 0): the slot must then be free
505 // in both index spaces. `kind_out`, when given, receives what the index is bound in (descriptor_table.h's kind
506 // bits), which the caller records with insert_key. The caller maps the T# to the index with insert_key(). Takes
507 // effect at flush().
468 std::uint32_t add_image(ImageDimension dimension, VkImageView sampled, VkImageLayout sampled_layout, 508 std::uint32_t add_image(ImageDimension dimension, VkImageView sampled, VkImageLayout sampled_layout,
469 const StorageViews& storage = {}, std::uint32_t sampled_class = 0) { 509 const StorageViews& storage = {}, std::uint32_t sampled_class = 0,
510 const MirrorViews* mirror = nullptr, std::uint32_t* kind_out = nullptr) {
470 const bool stores = storage.as_float || storage.as_uint || storage.as_sint || storage.r32ui; 511 const bool stores = storage.as_float || storage.as_uint || storage.as_sint || storage.r32ui;
471 if (!stores && bindless::sampled_binding(dimension) == bindless::no_binding) return 0; 512 if (!stores && bindless::sampled_binding(dimension) == bindless::no_binding) return 0;
472 if (bindless::multisampled(dimension) && (stores || !supports_ms_class(sampled_class))) return 0; 513 if (bindless::multisampled(dimension) && (stores || !supports_ms_class(sampled_class))) return 0;
473 auto& used = image_used_[std::uint32_t(dimension)]; 514 auto& used = image_used_[std::uint32_t(dimension)];
474 const std::uint32_t low_end = std::min(std::uint32_t(used.size()), storage_capacity(dimension)); 515 const std::uint32_t low_end = std::min(std::uint32_t(used.size()), storage_capacity(dimension));
475 std::uint32_t index = stores ? 0 : allocate(used, low_end, std::uint32_t(used.size())); 516 std::vector<std::uint8_t>* used_2d = nullptr; // the mirror's index space, when there is one
476 if (!index) index = allocate(used, 1, low_end); 517 if (mirror && dimension != ImageDimension::dim_2d && mirror->sampled) {
477 if (index) write_image(dimension, index, sampled, sampled_layout, storage, sampled_class); 518 used_2d = &image_used_[std::uint32_t(ImageDimension::dim_2d)];
519 if (mirror->sampled_layout == VK_IMAGE_LAYOUT_UNDEFINED) used_2d = nullptr;
520 }
521 // A store through the array T# and one through its 2D slice both have to land on a view, so an index with
522 // storage views must be inside this dimension's storage arrays and, when the mirror has storage views too,
523 // inside the 2D arrays' (their range can be the shorter of the two).
524 const bool any_stores = stores || mirror_storage(mirror);
525 const std::uint32_t mirrored_storage_end = std::min(stores ? low_end : std::uint32_t(used.size()),
526 storage_capacity(ImageDimension::dim_2d));
527 std::uint32_t index = 0;
528 if (used_2d) {
529 index = any_stores ? allocate_pair(used, *used_2d, 1, mirrored_storage_end)
530 : allocate_pair(used, *used_2d, low_end, std::uint32_t(used.size()));
531 if (!index && !any_stores) index = allocate_pair(used, *used_2d, 1, low_end);
532 if (!index) {
533 // No shared slot: the image still gets its own dimension's slot, unmirrored (a 2D read then finds
534 // the fallback). A full array is what returns 0.
535 used_2d = nullptr;
536 }
537 }
538 if (!used_2d) {
539 index = stores ? allocate(used, 1, low_end) : allocate(used, low_end, std::uint32_t(used.size()));
540 if (!index) index = allocate(used, 1, low_end);
541 }
542 if (!index) return 0;
543 assert(!used_2d || !any_stores || index < storage_capacity(ImageDimension::dim_2d));
544 write_image(dimension, index, sampled, sampled_layout, storage, sampled_class);
545 if (index < storage_used_[std::uint32_t(dimension)].size())
546 storage_used_[std::uint32_t(dimension)][index] = stores ? 1 : 0;
547 if (used_2d) {
548 write_image(ImageDimension::dim_2d, index, mirror->sampled, mirror->sampled_layout, mirror->storage, 0);
549 used_2d->at(index) = in_use;
550 // The 2D slot is this image's mirror, and this image is its owner: the slot number alone does not say
551 // so, because every dimension's index space is dense and independent.
552 if (index < mirror_owner_.size()) {
553 mirror_owner_[index] = std::uint8_t(std::uint32_t(dimension) + 1);
554 mirror_storage_used_[index] = mirror_storage(mirror) ? 1 : 0;
555 }
556 auto& storage_2d = storage_used_[std::uint32_t(ImageDimension::dim_2d)];
557 if (index < storage_2d.size()) storage_2d[index] = mirror_storage(mirror) ? 1 : 0;
558 }
559 if (kind_out) {
560 *kind_out = kind_sampled_bit(std::uint32_t(dimension)) |
561 (stores ? kind_storage_bit(std::uint32_t(dimension)) : 0) |
562 (used_2d ? (kind_sampled_bit(std::uint32_t(ImageDimension::dim_2d)) |
563 (mirror_storage(mirror) ? kind_storage_bit(std::uint32_t(ImageDimension::dim_2d))
564 : 0))
565 : 0);
566 }
478 return index; 567 return index;
479 } 568 }
480 569
481 // New views or a new layout for an index add_image returned (a texture's state changed, say). 570 // Why add_image returned 0 for an image of `dimension` (with storage views when `stores`; sampled_class for the
571 // MS dimensions): the set has no array for it; every index of its dimension is taken (array_full: in use, or
572 // removed and held until the next flush that brings the table up to date); or only the storage arrays' shorter
573 // range is, which an image with storage views needs an index in (storage_full).
574 enum class ImageRefusal { no_array, array_full, storage_full };
575 ImageRefusal image_refusal(ImageDimension dimension, bool stores, std::uint32_t sampled_class = 0) const {
576 if (!stores && bindless::sampled_binding(dimension) == bindless::no_binding) return ImageRefusal::no_array;
577 if (bindless::multisampled(dimension) && (stores || !supports_ms_class(sampled_class)))
578 return ImageRefusal::no_array;
579 const auto& used = image_used_[std::uint32_t(dimension)];
580 const std::size_t low_end = std::min<std::size_t>(used.size(), storage_capacity(dimension));
581 const auto storage_end = used.begin() + std::ptrdiff_t(low_end);
582 const bool storage_free = low_end > 1 && std::find(used.begin() + 1, storage_end, std::uint8_t(0)) != storage_end;
583 return stores && !storage_free && free_images(dimension) ? ImageRefusal::storage_full
584 : ImageRefusal::array_full;
585 }
586
587 // New views or a new layout for an index add_image returned (a texture's state changed, say). `mirror` is
588 // refreshed too when the image was added with one (mirror_of says whose 2D slot it is). The slot bookkeeping
589 // follows what was written, and `kind_out`, when given, receives the index's kind word afterwards for a
590 // re-insert: the table keeps the kind it was given, so a caller that adds or drops storage views re-records it.
482 void update_image(ImageDimension dimension, std::uint32_t index, VkImageView sampled, VkImageLayout sampled_layout, 591 void update_image(ImageDimension dimension, std::uint32_t index, VkImageView sampled, VkImageLayout sampled_layout,
483 const StorageViews& storage = {}, std::uint32_t sampled_class = 0) { 592 const StorageViews& storage = {}, std::uint32_t sampled_class = 0,
593 const MirrorViews* mirror = nullptr, std::uint32_t* kind_out = nullptr) {
484 const auto& used = image_used_[std::uint32_t(dimension)]; 594 const auto& used = image_used_[std::uint32_t(dimension)];
485 if (index && index < used.size() && used[index] == in_use) 595 const bool live = index && index < used.size() && used[index] == in_use;
596 if (live) {
486 write_image(dimension, index, sampled, sampled_layout, storage, sampled_class); 597 write_image(dimension, index, sampled, sampled_layout, storage, sampled_class);
598 const bool stores = storage.as_float || storage.as_uint || storage.as_sint || storage.r32ui;
599 if (index < storage_used_[std::uint32_t(dimension)].size())
600 storage_used_[std::uint32_t(dimension)][index] = stores ? 1 : 0;
601 }
602 if (live && mirror && mirror->sampled && mirror_of(dimension, index)) {
603 write_image(ImageDimension::dim_2d, index, mirror->sampled, mirror->sampled_layout, mirror->storage, 0);
604 if (index < mirror_storage_used_.size()) mirror_storage_used_[index] = mirror_storage(mirror) ? 1 : 0;
605 auto& storage_2d = storage_used_[std::uint32_t(ImageDimension::dim_2d)];
606 if (index < storage_2d.size()) storage_2d[index] = mirror_storage(mirror) ? 1 : 0;
607 }
608 if (kind_out) *kind_out = image_kind_at(dimension, index);
487 } 609 }
488 610
489 // Returns the index to the fallback and frees it. The caller removes the image's keys with erase_key() first. 611 // Returns the index to the fallback and frees it. The caller removes the image's keys with erase_key() first.
@@ -495,7 +617,22 @@ public:
495 if (!index || index >= used.size() || used[index] != in_use) return; 617 if (!index || index >= used.size() || used[index] != in_use) return;
496 write_image(dimension, index, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL, {}, 0); 618 write_image(dimension, index, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL, {}, 0);
497 used[index] = table_dirty_ ? held : 0; 619 used[index] = table_dirty_ ? held : 0;
620 if (index < storage_used_[std::uint32_t(dimension)].size())
621 storage_used_[std::uint32_t(dimension)][index] = 0;
498 if (table_dirty_) held_images_.push_back({dimension, index}); 622 if (table_dirty_) held_images_.push_back({dimension, index});
623 // Its 2D copy goes back to the fallback as well (add_image's mirror), when this image is the one that owns
624 // that slot: another dimension's image at the same slot number has its own index space and keeps its 2D
625 // descriptor (and, if it is a 2D-array image, its own mirror there).
626 if (mirror_of(dimension, index)) {
627 auto& used_2d = image_used_[std::uint32_t(ImageDimension::dim_2d)];
628 write_image(ImageDimension::dim_2d, index, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL, {}, 0);
629 used_2d[index] = table_dirty_ ? held : 0;
630 mirror_owner_[index] = 0;
631 mirror_storage_used_[index] = 0;
632 auto& storage_2d = storage_used_[std::uint32_t(ImageDimension::dim_2d)];
633 if (index < storage_2d.size()) storage_2d[index] = 0;
634 if (table_dirty_) held_images_.push_back({ImageDimension::dim_2d, index});
635 }
499 } 636 }
500 637
501 // 0 when the sampler array is full. 638 // 0 when the sampler array is full.
@@ -512,15 +649,37 @@ public:
512 if (table_dirty_) held_samplers_.push_back(index); 649 if (table_dirty_) held_samplers_.push_back(index);
513 } 650 }
514 651
515 // T# and S# keys to the indices above: the table of binding 2 (descriptor_table.h). Changes reach the shaders 652 // What an index of `dimension` is bound in, from what add_image wrote: that dimension's sampled bit, its storage
516 // at flush(). 653 // bit when the slot holds storage views, and the 2D bits when this image owns the slot at the same number in the
517 bool insert_key(const DescriptorKey& key, std::uint32_t index) { 654 // 2D arrays as its mirror (mirror_of).
518 const auto result = table_.insert_or_update(key.data(), index); 655 std::uint32_t image_kind_at(ImageDimension dimension, std::uint32_t index) const {
656 const auto set = [&](const std::vector<std::uint8_t>& used) {
657 return index < used.size() && used[index] != 0;
658 };
659 const std::uint32_t d = std::uint32_t(dimension);
660 std::uint32_t kind = kind_sampled_bit(d) | (set(storage_used_[d]) ? kind_storage_bit(d) : 0);
661 if (mirror_of(dimension, index)) {
662 kind |= kind_sampled_bit(std::uint32_t(ImageDimension::dim_2d));
663 if (set(mirror_storage_used_)) kind |= kind_storage_bit(std::uint32_t(ImageDimension::dim_2d));
664 }
665 return kind;
666 }
667
668 // T# and S# keys to the indices above: the table of binding 2 (descriptor_table.h). `kind` is what the index is
669 // bound in, for the modules that read it (descriptor_table.h's kind bits); a sampler's entry has none. Changes
670 // reach the shaders at flush().
671 bool insert_key(const DescriptorKey& key, std::uint32_t index, std::uint32_t kind = 0) {
672 const auto result = table_.insert_or_update(key.data(), index, kind);
519 table_dirty_ |= result != DescriptorTable::InsertResult::unchanged; 673 table_dirty_ |= result != DescriptorTable::InsertResult::unchanged;
520 existing_entries_changed_ |= result == DescriptorTable::InsertResult::replaced || 674 existing_entries_changed_ |= result == DescriptorTable::InsertResult::replaced ||
521 result == DescriptorTable::InsertResult::added_with_relocation; 675 result == DescriptorTable::InsertResult::added_with_relocation;
522 return true; 676 return true;
523 } 677 }
678 // The T#'s own dimension, whose kind the set derives from the index it gave out (image_kind_at): a caller that
679 // knows the T#'s TYPE needs to pass no bits.
680 bool insert_key(const DescriptorKey& key, std::uint32_t index, ImageDimension dimension) {
681 return insert_key(key, index, image_kind_at(dimension, index));
682 }
524 // Erasing empties only the key's own slot; no other entry moves (DescriptorTable::erase), so it needs no idle. 683 // Erasing empties only the key's own slot; no other entry moves (DescriptorTable::erase), so it needs no idle.
525 // The caller erases a key once no submitted work uses it (its texture is gone), like D3D12 requires. 684 // The caller erases a key once no submitted work uses it (its texture is gone), like D3D12 requires.
526 bool erase_key(const DescriptorKey& key) { 685 bool erase_key(const DescriptorKey& key) {
@@ -754,6 +913,34 @@ private:
754 return 0; 913 return 0;
755 } 914 }
756 915
916 // The first index in [begin, end) free in both arrays, marked used in the first; 0 when there is none. The
917 // second array's size bounds the range: a mirrored index must exist in it (its 2D slot).
918 static std::uint32_t allocate_pair(std::vector<std::uint8_t>& used, std::vector<std::uint8_t>& other,
919 std::uint32_t begin, std::uint32_t end) {
920 end = std::min(end, std::uint32_t(other.size()));
921 for (std::uint32_t i = begin; i < end; ++i) {
922 if (used[i] || other[i]) continue;
923 used[i] = 1;
924 return i;
925 }
926 return 0;
927 }
928
929 // A mirror is worth binding only when it has a view; its storage views make the 2D storage arrays valid too.
930 static bool mirror_storage(const MirrorViews* mirror) {
931 return mirror && (mirror->storage.as_float || mirror->storage.as_uint || mirror->storage.as_sint ||
932 mirror->storage.r32ui);
933 }
934
935 // True when the 2D slot at `index` is the mirror of the image whose index is `index` in `dimension` (add_image's
936 // MirrorViews). A bare per-slot flag cannot say so: every dimension's index space is dense and independent, so
937 // the Nth image of one dimension shares its slot number with the Nth 2D-array image's mirror slot in the 2D
938 // arrays. The owner is the dimension + 1 (0: no mirror).
939 bool mirror_of(ImageDimension dimension, std::uint32_t index) const {
940 if (dimension == ImageDimension::dim_2d) return false;
941 return index < mirror_owner_.size() && mirror_owner_[index] == std::uint8_t(std::uint32_t(dimension) + 1);
942 }
943
757 std::uint32_t memory_type(std::uint32_t allowed, VkMemoryPropertyFlags wanted) const { 944 std::uint32_t memory_type(std::uint32_t allowed, VkMemoryPropertyFlags wanted) const {
758 for (std::uint32_t i = 0; i < memory_.memoryTypeCount; ++i) 945 for (std::uint32_t i = 0; i < memory_.memoryTypeCount; ++i)
759 if ((allowed & (1u << i)) && (memory_.memoryTypes[i].propertyFlags & wanted) == wanted) return i; 946 if ((allowed & (1u << i)) && (memory_.memoryTypes[i].propertyFlags & wanted) == wanted) return i;
@@ -778,6 +965,10 @@ private:
778 image_used_[d].assign(image_capacity(ImageDimension(d)), 0); 965 image_used_[d].assign(image_capacity(ImageDimension(d)), 0);
779 image_used_[d][0] = 1; 966 image_used_[d][0] = 1;
780 } 967 }
968 for (std::uint32_t d = 0; d < dimensions; ++d)
969 storage_used_[d].assign(image_capacity(ImageDimension(d)), 0);
970 mirror_owner_.assign(image_capacity(ImageDimension::dim_2d), 0);
971 mirror_storage_used_.assign(image_capacity(ImageDimension::dim_2d), 0);
781 sampler_used_.assign(sampler_capacity(), 0); 972 sampler_used_.assign(sampler_capacity(), 0);
782 sampler_used_[0] = 1; 973 sampler_used_[0] = 1;
783 return true; 974 return true;
@@ -1282,6 +1473,14 @@ private:
1282 VkSampler fallback_sampler_ = VK_NULL_HANDLE; 1473 VkSampler fallback_sampler_ = VK_NULL_HANDLE;
1283 bool fallbacks_ready_ = false; 1474 bool fallbacks_ready_ = false;
1284 std::array<std::vector<std::uint8_t>, dimensions> image_used_; 1475 std::array<std::vector<std::uint8_t>, dimensions> image_used_;
1476 // Which of those slots also hold storage views (add_image's `storage`), and which 2D slots hold the mirror of an
1477 // image in another dimension (add_image's MirrorViews): removing that image frees the 2D slot too. insert_key
1478 // reads both to say which arrays an index is bound in. mirror_owner_ says whose mirror each of those 2D slots is
1479 // (dimension + 1, 0 for none) and mirror_storage_used_ whether it has storage views: the 2D slot numbers line up
1480 // with another dimension's indices, so the slot alone does not identify its owner.
1481 std::array<std::vector<std::uint8_t>, dimensions> storage_used_;
1482 std::vector<std::uint8_t> mirror_owner_;
1483 std::vector<std::uint8_t> mirror_storage_used_;
1285 std::vector<std::uint8_t> sampler_used_; 1484 std::vector<std::uint8_t> sampler_used_;
1286 std::vector<std::pair<ImageDimension, std::uint32_t>> held_images_; // removed, not yet free (remove_image) 1485 std::vector<std::pair<ImageDimension, std::uint32_t>> held_images_; // removed, not yet free (remove_image)
1287 std::vector<std::uint32_t> held_samplers_; 1486 std::vector<std::uint32_t> held_samplers_;
diff --git a/runtime/src/vulkan_device_fault.h b/runtime/src/vulkan_device_fault.h
index d60367491..3c49fce8d 100644
--- a/runtime/src/vulkan_device_fault.h
+++ b/runtime/src/vulkan_device_fault.h
@@ -2,19 +2,26 @@
2 2
3#include <vulkan/vulkan.h> 3#include <vulkan/vulkan.h>
4 4
5#include "compile_gate_policy.h"
6#include "vulkan_device_markers.h"
7
5#include <algorithm> 8#include <algorithm>
6#include <array> 9#include <array>
7#include <atomic> 10#include <atomic>
8#include <chrono> 11#include <chrono>
12#include <condition_variable>
9#include <cinttypes> 13#include <cinttypes>
10#include <cstddef> 14#include <cstddef>
11#include <cstdint> 15#include <cstdint>
12#include <cstdio> 16#include <cstdio>
13#include <cstdlib> 17#include <cstdlib>
14#include <functional> 18#include <functional>
19#include <memory>
15#include <cstring> 20#include <cstring>
16#include <mutex> 21#include <mutex>
17#include <span> 22#include <span>
23#include <string>
24#include <thread>
18#include <unordered_map> 25#include <unordered_map>
19#include <utility> 26#include <utility>
20#include <vector> 27#include <vector>
@@ -25,6 +32,7 @@ struct DeviceFaultExtensions {
25 bool fault = false; 32 bool fault = false;
26 bool checkpoints = false; 33 bool checkpoints = false;
27 bool diagnostics_config = false; 34 bool diagnostics_config = false;
35 bool markers = false; // VK_AMD_buffer_marker (LEONIDA_DEVICE_MARKERS=1, vulkan_device_markers.h)
28}; 36};
29 37
30// What a device asks for. LEONIDA_DEVICE_FAULT=1 wants all of it; LEONIDA_AFTERMATH=1 alone (vulkan_aftermath.h) only 38// What a device asks for. LEONIDA_DEVICE_FAULT=1 wants all of it; LEONIDA_AFTERMATH=1 alone (vulkan_aftermath.h) only
@@ -33,6 +41,7 @@ struct DeviceFaultRequest {
33 bool fault = true; // VK_EXT_device_fault and VK_NV_device_diagnostic_checkpoints 41 bool fault = true; // VK_EXT_device_fault and VK_NV_device_diagnostic_checkpoints
34 bool diagnostics_config = true; // VK_NV_device_diagnostics_config 42 bool diagnostics_config = true; // VK_NV_device_diagnostics_config
35 VkDeviceDiagnosticsConfigFlagsNV extra_flags = 0; // added to the default config flags below 43 VkDeviceDiagnosticsConfigFlagsNV extra_flags = 0; // added to the default config flags below
44 bool markers = false; // VK_AMD_buffer_marker, when the device has it
36}; 45};
37 46
38// Owns the feature structures until vkCreateDevice returns. 47// Owns the feature structures until vkCreateDevice returns.
@@ -62,13 +71,15 @@ struct DeviceFaultFeatures {
62 } 71 }
63 const DeviceFaultExtensions enabled{has_fault && fault.deviceFault == VK_TRUE, 72 const DeviceFaultExtensions enabled{has_fault && fault.deviceFault == VK_TRUE,
64 request.fault && has(VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME), 73 request.fault && has(VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME),
65 has_config && diagnostics.diagnosticsConfig == VK_TRUE}; 74 has_config && diagnostics.diagnosticsConfig == VK_TRUE,
75 request.markers && has(VK_AMD_BUFFER_MARKER_EXTENSION_NAME)};
66 if (enabled.fault) { 76 if (enabled.fault) {
67 extensions.push_back(VK_EXT_DEVICE_FAULT_EXTENSION_NAME); 77 extensions.push_back(VK_EXT_DEVICE_FAULT_EXTENSION_NAME);
68 fault.pNext = const_cast<void*>(device.pNext); 78 fault.pNext = const_cast<void*>(device.pNext);
69 device.pNext = &fault; 79 device.pNext = &fault;
70 } 80 }
71 if (enabled.checkpoints) extensions.push_back(VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME); 81 if (enabled.checkpoints) extensions.push_back(VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME);
82 if (enabled.markers) extensions.push_back(VK_AMD_BUFFER_MARKER_EXTENSION_NAME);
72 if (enabled.diagnostics_config) { 83 if (enabled.diagnostics_config) {
73 extensions.push_back(VK_NV_DEVICE_DIAGNOSTICS_CONFIG_EXTENSION_NAME); 84 extensions.push_back(VK_NV_DEVICE_DIAGNOSTICS_CONFIG_EXTENSION_NAME);
74 diagnostics.pNext = const_cast<void*>(device.pNext); 85 diagnostics.pNext = const_cast<void*>(device.pNext);
@@ -153,6 +164,7 @@ struct CheckpointDispatch {
153 std::uint32_t max_count, stride; 164 std::uint32_t max_count, stride;
154 std::array<std::uint32_t, 32> roots; 165 std::array<std::uint32_t, 32> roots;
155 bool indirect; 166 bool indirect;
167 std::uint64_t seq = 0; // the report's dispatch number, counted over every recorded dispatch (CheckpointRecorder)
156}; 168};
157 169
158struct CheckpointSubmission { 170struct CheckpointSubmission {
@@ -165,6 +177,13 @@ struct CheckpointSubmission {
165 std::vector<CheckpointDispatch> dispatches; 177 std::vector<CheckpointDispatch> dispatches;
166 std::size_t dispatch_count = 0; 178 std::size_t dispatch_count = 0;
167 static constexpr std::size_t dispatch_limit = 64; 179 static constexpr std::size_t dispatch_limit = 64;
180 // Numbers every recorded dispatch, across queues and submissions (the report's seq). Null: no numbers.
181 std::atomic<std::uint64_t>* dispatch_seq = nullptr;
182 // LEONIDA_DEVICE_MARKERS=1: this queue's marker slot, every dispatch recorded for the marker history and the seq
183 // whose finished marker is still to be written after its dispatch (CheckpointRecorder::dispatched).
184 MarkerTarget markers;
185 std::vector<MarkedDispatch> marked;
186 std::uint64_t open_marker = 0;
168 187
169 void append_dispatch(CheckpointDispatch d) { 188 void append_dispatch(CheckpointDispatch d) {
170 if (dispatches.size() < dispatch_limit) dispatches.push_back(d); 189 if (dispatches.size() < dispatch_limit) dispatches.push_back(d);
@@ -201,11 +220,26 @@ struct CheckpointRecorder {
201 std::uintptr_t count = 0, std::uint64_t count_offset = 0, 220 std::uintptr_t count = 0, std::uint64_t count_offset = 0,
202 std::uint32_t max_count = 0, std::uint32_t stride = 0) const { 221 std::uint32_t max_count = 0, std::uint32_t stride = 0) const {
203 const auto names = pipeline_names.find(id); 222 const auto names = pipeline_names.find(id);
223 const char* shader = names != pipeline_names.end() ? names->second[0] : nullptr;
224 const std::uint64_t seq =
225 submission.dispatch_seq ? submission.dispatch_seq->fetch_add(1, std::memory_order_relaxed) + 1 : 0;
204 submission.append_dispatch({submission.execute_call, submission.queue, submission.queue_kind, list, command, 226 submission.append_dispatch({submission.execute_call, submission.queue, submission.queue_kind, list, command,
205 names != pipeline_names.end() ? names->second[0] : nullptr, groups, args, count, 227 shader, groups, args, count, offset, count_offset, max_count, stride, roots, indirect, seq});
206 offset, count_offset, max_count, stride, roots, indirect}); 228 if (submission.markers) {
229 submission.marked.push_back({seq, submission.execute_call, submission.queue, submission.queue_kind,
230 static_cast<std::uint32_t>(list), static_cast<std::uint32_t>(command), shader});
231 submission.markers.started(buffer, seq);
232 submission.open_marker = seq;
233 }
207 record(buffer, command, CheckpointKind::dispatch, pipeline, id); 234 record(buffer, command, CheckpointKind::dispatch, pipeline, id);
208 } 235 }
236
237 // After the dispatch call(s) that dispatch() announced: its finished marker.
238 void dispatched(VkCommandBuffer buffer) const {
239 if (!submission.open_marker) return;
240 submission.markers.finished(buffer, submission.open_marker);
241 submission.open_marker = 0;
242 }
209}; 243};
210 244
211// A D3D fence may stay unsignalled by design. Only queue retirement tickets represent 245// A D3D fence may stay unsignalled by design. Only queue retirement tickets represent
@@ -244,9 +278,887 @@ inline void run_device_lost_hook() noexcept {
244 if (const auto hook = device_lost_hook.load(std::memory_order_acquire)) hook(); 278 if (const auto hook = device_lost_hook.load(std::memory_order_acquire)) hook();
245} 279}
246 280
281// LOCAL DIAGNOSTIC (early device loss): what the submit lock, the recent submissions and the other threads were
282// doing when a submission stalled or the device was lost.
283inline std::int64_t diagnostic_ms() {
284 static const auto start = std::chrono::steady_clock::now();
285 return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - start).count();
286}
287
288#ifdef _WIN32
289extern "C" __declspec(dllimport) unsigned long __stdcall GetCurrentThreadId(void);
290inline std::uint32_t diagnostic_thread_id() { return static_cast<std::uint32_t>(GetCurrentThreadId()); }
291#else
292inline std::uint32_t diagnostic_thread_id() { return 0; }
293#endif
294
295// Set by gta6rt's main (src/thread_stacks.cpp): prints the call chain of thread `tid`, or of every other thread
296// when `tid` is 0. Unset in the tests.
297inline std::atomic<void (*)(std::uint32_t tid, const char* why) noexcept> thread_stack_hook{nullptr};
298
299inline void print_thread_stacks(std::uint32_t tid, const char* why) noexcept {
300 if (const auto hook = thread_stack_hook.load(std::memory_order_acquire)) hook(tid, why);
301}
302
303// The compute pipeline vkCreateComputePipelines is building now (one at a time is enough: the reports name the one
304// set last), for the submit-lock hold report. Names are ShaderLibrary strings, valid until device teardown.
305struct DriverCompile {
306 std::atomic<const char*> name{nullptr};
307 std::atomic<const char*> trigger{nullptr};
308 std::atomic<std::int64_t> since_ms{0};
309 std::atomic<std::size_t> bytes{0};
310};
311inline DriverCompile driver_compile;
312
313// The compile gate's types, for SubmitMutex (which names them CreateKind, CreateInfo and GateAhead). At namespace
314// scope, not nested: a default argument `= {}` of a nested class with default member initializers is rejected by
315// clang and GCC inside the enclosing class (the member initializers are not parsed until that class is complete).
316enum class CompileGateKind : std::uint8_t { compute, graphics }; // graphics: mesh pipelines too
317// What a create is, for the verdicts and the reports. Names are ShaderLibrary strings, valid until device teardown
318// (or literals).
319struct CompileGateCreate {
320 CompileGateKind kind = CompileGateKind::compute;
321 const char* name = nullptr;
322 const char* trigger = nullptr;
323 std::size_t bytes = 0; // SPIR-V
324};
325struct CompileGateAhead { // a submission that entered the driver alongside creates not waited for
326 std::int64_t since_ms = -1; // when it entered, or -1: no such create was in the driver
327 std::uint64_t last_create = 0; // the number of the last create that had entered then
328 std::uint32_t creates = 0; // such creates in the driver then
329 std::uint8_t kinds = 0; // their kinds, bit per CompileGateKind
330 bool went_ahead = false; // it waited at the gate up to the limit or the probe budget
331 bool probe = true; // its time in the driver is a probe (a submission, not a present or a wait)
332};
333
334// VulkanContext's submit lock, which also remembers who holds it, since when and how many threads wait for it. A
335// submit or an idle wait blocked inside the driver holds it for as long as it blocks; the stall watchdog and the loss
336// report name that thread, and a hold of a second or more is logged when it ends.
337class SubmitMutex {
338public:
339 static constexpr std::int64_t kLongHoldMs = 1000;
340 // How long let_submit_finish(true) keeps letting queued submitters go first before the caller goes ahead anyway,
341 // so a steady stream of submits cannot hold the compile worker back for ever. Waiting out the holder itself is
342 // not capped: entering the driver while a submit is inside it is what lost the device.
343 static constexpr std::int64_t kHandoffCapMs = 250;
344
345 void lock() {
346 if (mutex_.try_lock()) {
347 taken();
348 return;
349 }
350 // Counted until this thread owns the lock (owner_ set), so let_submit_finish never sees neither.
351 waiting_.fetch_add(1, std::memory_order_relaxed);
352 mutex_.lock();
353 taken();
354 waiting_.fetch_sub(1, std::memory_order_relaxed);
355 }
356 bool try_lock() {
357 if (!mutex_.try_lock()) return false;
358 taken();
359 return true;
360 }
361 void unlock() {
362 const std::int64_t since = since_.load(std::memory_order_relaxed);
363 const std::uint32_t owner = owner_.load(std::memory_order_relaxed);
364 owner_.store(0, std::memory_order_relaxed);
365 releases_.fetch_add(1); // seq_cst with the handoff_waiters_ load: no let_submit_finish misses this release
366 mutex_.unlock();
367 if (handoff_waiters_.load()) {
368 std::lock_guard lock(handoff_mutex_);
369 released_.notify_all();
370 }
371 const std::int64_t now = diagnostic_ms();
372 if (now - since >= kLongHoldMs)
373 std::fprintf(stderr, "[rt] submit-lock: held %lld ms by thread %u, t=%.3f..%.3f s\n",
374 static_cast<long long>(now - since), owner, double(since) / 1000.0, double(now) / 1000.0);
375 }
376
377 std::uint32_t owner() const { return owner_.load(std::memory_order_relaxed); }
378 std::int64_t since_ms() const { return since_.load(std::memory_order_relaxed); }
379 // Threads blocked in lock() (try_lock never counts).
380 std::uint32_t waiting() const { return waiting_.load(std::memory_order_relaxed); }
381
382 // Called before the driver calls that build pipelines: waits for a submit in progress to finish (unless this
383 // thread is the one submitting). Measured on NVIDIA 630.20 (three early losses): back-to-back pipeline creates on
384 // the compile worker keep re-taking a driver lock that vkQueueSubmit waits for; after 10 s of that wait the driver
385 // returns VK_ERROR_DEVICE_LOST, with no GPU fault and no TDR. Not entering the driver while a submit is in it lets
386 // the submit take that lock between two creates.
387 // `queued` (the compile worker): also lets the submitters queued behind the holder go first - std::mutex is not
388 // fair, so without that the worker's next create could get in ahead of them - for at most `cap_ms`; past it the
389 // hold in progress is the last one waited for. The wait never takes the lock itself (taking it could queue behind
390 // every submitter that re-takes it), it waits for the hold it saw to end. Returns how many milliseconds it waited.
391 std::int64_t let_submit_finish(bool queued = true, std::int64_t cap_ms = kHandoffCapMs) {
392 const std::uint32_t self = diagnostic_thread_id();
393 if (owner_.load(std::memory_order_relaxed) == self) return 0; // this thread submits: nothing to let through
394 const auto queue = [&] { return queued && waiting_.load(std::memory_order_relaxed) != 0; };
395 std::uint64_t seen = releases_.load();
396 const auto held = [&] {
397 seen = releases_.load(); // read before the owner: a hold that ends after this changes it
398 return owner_.load() != 0;
399 };
400 if (!held() && !queue()) return 0;
401 const std::int64_t start = diagnostic_ms();
402 for (;;) {
403 const bool over = diagnostic_ms() - start >= cap_ms;
404 if (held()) {
405 wait_release(seen);
406 if (!queued || over) break;
407 } else if (!queue() || over) {
408 break;
409 } else {
410 std::this_thread::yield(); // a queued submitter is between its wake-up and taking the lock
411 }
412 }
413 return diagnostic_ms() - start;
414 }
415
416 // The compile gate. A queue submission never enters the driver while a pipeline create is in it: measured on
417 // NVIDIA 630.20 (wf6), a vkQueueSubmit that entered while the warm-up thread was inside one long
418 // vkCreateComputePipelines waited 10 s in the driver and returned VK_ERROR_DEVICE_LOST; let_submit_finish cannot
419 // help once the create is already running. Creates pass the gate shared, a submission exclusively, and a create
420 // that arrives while a submission waits queues behind it, so a submission waits only for the creates already in
421 // the driver. A long compile then stalls the submitting thread here, in our code, instead of in the driver.
422 // No deadlock: a create holds the gate only across its vkCreate*Pipelines and a submission only across its
423 // vkQueueSubmit, and neither driver call waits for anything of ours.
424 //
425 // By default (classic) only compute creates pass the gate and a submission waits for them however long they take,
426 // as before the adaptive gate; LEONIDA_COMPILE_GATE_WAIT_MS bounds that too. With the adaptive gate
427 // (LEONIDA_COMPILE_GATE=adaptive) the wait is bounded (gate_wait_limit_ms, LEONIDA_COMPILE_GATE_WAIT_MS): a
428 // submission waiting at the gate holds the submit lock, so every queue stops behind it, and the title's hang
429 // watchdog ends the process once its main loop has not reported for 30 s. One create stayed in the driver for more
430 // than 54 s (RTX 4070 Laptop, NVIDIA 621.40), and the gate turned it into that exit. Past the limit the submission
431 // goes ahead, and the creates that were in the driver then no longer hold any submission back; creates that enter
432 // later are waited for again. The default limit, 15 s, keeps the protection measured above for every create of up
433 // to 25 s: 630.20 gave the submission 10 s in the driver before the loss, and a stop much longer than 25 s ends at
434 // the watchdog anyway. The same with the watchdog kept kicked (LEONIDA_TITLE_WATCHDOG=0 with
435 // LEONIDA_TITLE_WATCHDOG_KICK): nothing ends the run then, but the stops still cost the frames (an RTX 4060 run
436 // that way had 459 waits, 155 s in all, by t=202 s). Only LEONIDA_COMPILE_GATE_WAIT_MS=0 waits for the creates
437 // however long they take.
438 //
439 // Adaptive (LEONIDA_COMPILE_GATE=adaptive, opt-in): each submission that enters the driver alongside a create the
440 // gate no longer waits for is a probe of whether this driver holds a submission behind a create. Back while that
441 // create is still in the driver: under kProbeQuickMs is quick, kProbeHeldMs or more is held, between says nothing.
442 // On 621.40 the three that went ahead came back in 0-11 ms, the create still there; the one 630.20 held stayed 10
443 // s, until the loss. Two quick probes at least kProbeSpanMs apart turn the gate off for the rest of the run (the
444 // device's, which is the process's), logged once. Two because on 630.20 back-to-back creates take and release the
445 // driver's lock (see let_submit_finish), so one submission could slip in between and come back quickly from a
446 // driver that does hold submissions; a second one a second later must be as lucky. It costs no extra wait: once one
447 // has gone ahead, the next ones enter at once while that create is still in the driver. One held probe keeps the
448 // gate on for the rest of the run. Only submissions (vkQueueSubmit, vkQueueBindSparse) probe: presents and idle or
449 // semaphore waits pass the gate as submissions do, but take seconds on their own while the GPU is busy, so their
450 // time in the driver judges nothing. LEONIDA_COMPILE_GATE=1 gates without probing, LEONIDA_COMPILE_GATE=0 turns the
451 // gate off. let_submit_finish is unaffected by all of this.
452 //
453 // The first probes come early: while no verdict is in, a submission also goes ahead once the submissions' waits at
454 // the gate in the last kProbeWindowMs, its own included, add up to the probe budget (gate_probe_budget_ms,
455 // LEONIDA_COMPILE_GATE_PROBE_MS, 2500 ms). On 621.40 no single wait reached 15 s, but 80 waits of up to 6.7 s,
456 // back to back, kept the main loop from reporting for 30 s. A budget over a window rather than a shorter limit
457 // per wait, because it also counts many short waits, and a single wait reaches it as soon as a 2.5 s limit
458 // would. Before the verdict the gate then stops the queues for at most a quarter of any 10 s; after a quick
459 // verdict not at all. The price is on a driver that does hold submissions (630.20): the first probe enters the
460 // driver after 2.5 s of waiting instead of 15, and loses the device if the create stays in the driver 10 s more.
461 // That is one probe per kind and run: the probe holds the submit lock while it is in the driver, so no other
462 // submission enters until it comes back, and then (within 500 ms of the create leaving, 2 s or more) it gives the
463 // held verdict, after which no submission enters next to a create of that kind early again. This is why the
464 // adaptive gate is opt-in until it has run on such a driver. The alternative there is the same run starved
465 // by waits like the ones above. LEONIDA_COMPILE_GATE_WAIT_MS=0 without LEONIDA_COMPILE_GATE_PROBE_MS also makes the
466 // budget 0: the gate then waits however long the creates take and never probes, as LEONIDA_COMPILE_GATE=1 does.
467 //
468 // A verdict per kind of create (CreateKind: compute, or graphics with mesh): a submission that came back quickly
469 // beside a compute create says nothing about a graphics one, and a run on 621.40 lost the device beside a mesh
470 // pipeline create 9 s after compute probes had turned the gate off. A probe counts for each kind that had a
471 // create in the driver from before the submission entered until it came back: a quick one for all of them, a
472 // held one against all of them, since which create held it cannot be told. A submission waits for the creates of
473 // every kind whose gate is not off; the probe budget applies only while all of those are of kinds still pending.
474 // A kind that is off is still timed: a submission that stays kProbeHeldMs or more beside one of its creates turns
475 // that kind's gate back on for the rest of the run (logged once), so the submissions after it wait. The one that
476 // stayed cannot be helped. A held probe counts only if the submission came back within kHeldReturnMs after a
477 // create of that kind, there when it entered, left the driver: a submission held behind a create comes back when
478 // the create does. One that comes back slow with its creates still there was slow for another reason (on 621.40,
479 // a 36 s submission came back 18 s before the compute create beside it, and the 4070 Laptop's 8 GB were full);
480 // counting it re-armed the gate and starved the title for 78 s behind creates that were not holding anything. A submission never goes ahead (at the limit or the budget) while a create of a kind
481 // that holds submissions is in the driver, and such creates are waited for even if one was gone past before the
482 // verdict: on 621.40, with the gate off, a vkQueueSubmit sat 54 s in the driver beside a 56 s mesh create and the
483 // device was lost; waiting here starves the title as long, but keeps the device. Graphics creates pass the gate
484 // since this split (adaptive and LEONIDA_COMPILE_GATE=1; the classic gate, as before, only compute ones). On a
485 // device loss, report_creates_on_loss names the creates in the driver and the verdicts.
486 // classic: the gate as on main before the adaptive one, compute creates only, no limit, no probes. The default
487 // (`auto`) is adaptive where the calibration at device creation saw the driver not hold a submission behind a
488 // create, and classic elsewhere (compile_gate_policy.h).
489 using GateMode = CompileGateMode;
490 enum class GateVerdict { pending, driver_does_not_hold, driver_holds };
491 static constexpr std::int64_t kProbeQuickMs = 250;
492 static constexpr std::int64_t kProbeHeldMs = 2000;
493 static constexpr std::int64_t kHeldReturnMs = 500;
494 static constexpr std::int64_t kProbeSpanMs = 1000;
495 static constexpr unsigned kQuickProbes = 2;
496 static constexpr std::int64_t kProbeWindowMs = 10000;
497 static constexpr std::int64_t kDefaultProbeBudgetMs = 2500;
498 using CreateKind = CompileGateKind; // graphics: mesh pipelines too
499 static constexpr std::size_t kKinds = 2;
500 static const char* kind_name(CreateKind kind) { return kind == CreateKind::compute ? "compute" : "graphics"; }
501 using CreateInfo = CompileGateCreate;
502 using GateAhead = CompileGateAhead;
503 class CompileTurn { // around vkCreate*Pipelines
504 public:
505 explicit CompileTurn(SubmitMutex& gate, const CreateInfo& info = {})
506 : gate_(gate), waited_(gate.enter_compile(seq_, info)) {}
507 ~CompileTurn() { gate_.leave_compile(seq_); }
508 CompileTurn(const CompileTurn&) = delete;
509 CompileTurn& operator=(const CompileTurn&) = delete;
510 std::int64_t waited_ms() const { return waited_; }
511
512 private:
513 SubmitMutex& gate_;
514 std::uint64_t seq_ = 0; // declared before waited_: enter_compile sets it
515 std::int64_t waited_;
516 };
517 class SubmitTurn { // around vkQueueSubmit, with the submit lock held
518 public:
519 // `probe` false for a present or an idle or semaphore wait: it waits at the gate like a submission, but its
520 // time in the driver judges nothing (it can take seconds on its own while the GPU is busy).
521 explicit SubmitTurn(SubmitMutex& gate, bool probe = true) : gate_(gate) {
522 gate.enter_submit(&ahead_, probe);
523 ahead_.probe = probe;
524 }
525 ~SubmitTurn() { gate_.leave_submit(ahead_); }
526 SubmitTurn(const SubmitTurn&) = delete;
527 SubmitTurn& operator=(const SubmitTurn&) = delete;
528 // It went ahead at the wait limit with creates still in the driver.
529 bool went_ahead() const { return ahead_.went_ahead; }
530
531 private:
532 SubmitMutex& gate_;
533 GateAhead ahead_;
534 };
535
536 // LEONIDA_COMPILE_GATE: 0 off, 1 always (both kinds, and compute builds hold the submit lock, compute_driver_turn
537 // in shims/d3d12_vulkan_device.cpp), `adaptive` the adaptive gate, `classic` the classic one, anything else
538 // classic, and unset or `auto` what the calibration at device creation finds (compile_gate_policy.h): adaptive
539 // where submissions came back quickly beside a create, classic where one was held and wherever it could not tell.
540 // The adaptive gate is not forced on everywhere because of what it costs on a driver that holds submissions
541 // (630.20): there its first probe of a kind enters the driver after the probe budget and loses the device if the
542 // create stays 10 s more. Read once.
543 static compile_gate_policy::Setting compile_gate_setting() {
544 static const compile_gate_policy::Setting setting = [] {
545 const char* value = std::getenv("LEONIDA_COMPILE_GATE");
546 const compile_gate_policy::ParsedSetting parsed = compile_gate_policy::parse_setting(value);
547 if (parsed.unknown)
548 std::fprintf(stderr, "[rt] compile-gate: LEONIDA_COMPILE_GATE=%s is none of auto, classic, adaptive, "
549 "0, 1; classic\n", value);
550 return parsed.setting;
551 }();
552 return setting;
553 }
554 // The gate in use. With `auto`, classic until decide_auto_gate: the device calls it once, after the calibration
555 // and before it creates the VulkanContext (and its SubmitMutex), so nothing is gated before the decision, and
556 // anything that were would get the classic gate, as before `auto`.
557 static GateMode compile_gate_mode() { return gate_mode_slot().load(std::memory_order_acquire); }
558 // With `auto`: the gate the calibration chose (adaptive or classic), for the rest of the process; the first call
559 // decides. A forced setting keeps its mode. Returns the gate in use.
560 static GateMode decide_auto_gate(GateMode mode) {
561 if (compile_gate_setting() != compile_gate_policy::Setting::automatic) return compile_gate_mode();
562 static std::once_flag once;
563 std::call_once(once, [mode] {
564 gate_mode_slot().store(mode == GateMode::adaptive ? GateMode::adaptive : GateMode::classic,
565 std::memory_order_release);
566 });
567 return compile_gate_mode();
568 }
569 static bool compile_gate_enabled() { return compile_gate_mode() != GateMode::off; }
570 // Whether graphics (and mesh) creates pass the gate: not in the classic gate, where only compute ones did.
571 static bool compile_gate_graphics() {
572 return compile_gate_mode() == GateMode::adaptive || compile_gate_mode() == GateMode::always;
573 }
574
575 // Read once. How long one submission waits at the gate before it goes ahead (0: until the creates leave):
576 // LEONIDA_COMPILE_GATE_WAIT_MS=<ms>. The adaptive gate's probe budget over kProbeWindowMs (0: no early probes):
577 // LEONIDA_COMPILE_GATE_PROBE_MS=<ms>. Unset, kDefaultGateWaitMs and kDefaultProbeBudgetMs, whatever the title's
578 // hang watchdog does; the budget is 0 when the limit is, and the limit 0 with LEONIDA_COMPILE_GATE=1.
579 static constexpr std::int64_t kDefaultGateWaitMs = 15000;
580 struct GateDefaults {
581 std::int64_t wait_ms;
582 std::int64_t probe_ms;
583 };
584 // One set per mode, each read and logged once: with `auto` the mode is known only once the driver is.
585 static GateDefaults gate_defaults() {
586 switch (compile_gate_mode()) {
587 case GateMode::off: {
588 static const GateDefaults d = make_gate_defaults(GateMode::off);
589 return d;
590 }
591 case GateMode::adaptive: {
592 static const GateDefaults d = make_gate_defaults(GateMode::adaptive);
593 return d;
594 }
595 case GateMode::always: {
596 static const GateDefaults d = make_gate_defaults(GateMode::always);
597 return d;
598 }
599 case GateMode::classic: break;
600 }
601 static const GateDefaults d = make_gate_defaults(GateMode::classic);
602 return d;
603 }
604 static GateDefaults make_gate_defaults(GateMode mode) {
605 const auto read = [](const char* name, std::int64_t fallback) -> std::int64_t {
606 const char* value = std::getenv(name);
607 if (!value || !*value) return fallback;
608 char* end = nullptr;
609 const long long n = std::strtoll(value, &end, 10);
610 if (end && !*end && n >= 0) return n;
611 std::fprintf(stderr, "[rt] compile-gate: %s=%s is not a number of milliseconds; ignored\n", name, value);
612 return fallback;
613 };
614 const bool always = mode == GateMode::always;
615 const bool adaptive = mode == GateMode::adaptive; // classic and always: no limit by default
616 const std::int64_t wait_ms = read("LEONIDA_COMPILE_GATE_WAIT_MS", adaptive ? kDefaultGateWaitMs : 0);
617 const GateDefaults d{wait_ms, read("LEONIDA_COMPILE_GATE_PROBE_MS", wait_ms ? kDefaultProbeBudgetMs : 0)};
618 if (mode == GateMode::classic && d.wait_ms)
619 std::fprintf(stderr, "[rt] compile-gate: classic (compute creates); a submission waits at most %lld ms "
620 "for them to leave the driver (LEONIDA_COMPILE_GATE_WAIT_MS; "
621 "LEONIDA_COMPILE_GATE=adaptive for the adaptive gate)\n",
622 static_cast<long long>(d.wait_ms));
623 else if (always && d.wait_ms)
624 std::fprintf(stderr, "[rt] compile-gate: always (LEONIDA_COMPILE_GATE=1); a submission waits at most "
625 "%lld ms for pipeline creates to leave the driver (LEONIDA_COMPILE_GATE_WAIT_MS)\n",
626 static_cast<long long>(d.wait_ms));
627 else if (always)
628 std::fprintf(stderr, "[rt] compile-gate: always (LEONIDA_COMPILE_GATE=1); a submission waits for "
629 "pipeline creates to leave the driver, however long they take\n");
630 else if (adaptive)
631 std::fprintf(stderr, "[rt] compile-gate: adaptive (%s), off once "
632 "submissions come back quickly with a create in the driver; a submission goes "
633 "ahead after %lld ms of waiting (0: no limit, LEONIDA_COMPILE_GATE_WAIT_MS) or, "
634 "until that is known, once the waits of the last "
635 "%lld s add up to %lld ms (0: never, LEONIDA_COMPILE_GATE_PROBE_MS)\n",
636 compile_gate_setting() == compile_gate_policy::Setting::automatic
637 ? "auto" : "LEONIDA_COMPILE_GATE=adaptive",
638 static_cast<long long>(d.wait_ms), static_cast<long long>(kProbeWindowMs / 1000),
639 static_cast<long long>(d.probe_ms));
640 return d;
641 }
642 static std::int64_t default_gate_wait_limit_ms() { return gate_defaults().wait_ms; }
643 static std::int64_t default_gate_probe_budget_ms() { return gate_defaults().probe_ms; }
644 // How long a submission waits for creates of a kind that holds submissions before it goes ahead anyway
645 // (LEONIDA_COMPILE_GATE_HELD_WAIT_MS, 0: until they leave). Longer than the plain limit: going ahead there means
646 // waiting in the driver, where the device was lost once (a 54 s submission beside a 56 s mesh create on 621.40,
647 // the gate off); a false "holds" verdict costs at most this per create instead of the rest of the run.
648 static constexpr std::int64_t kDefaultHeldWaitMs = 60000;
649 static std::int64_t default_gate_held_limit_ms() {
650 static const std::int64_t ms = [] {
651 const char* value = std::getenv("LEONIDA_COMPILE_GATE_HELD_WAIT_MS");
652 if (!value || !*value) return kDefaultHeldWaitMs;
653 char* end = nullptr;
654 const long long n = std::strtoll(value, &end, 10);
655 if (end && !*end && n >= 0) return std::int64_t{n};
656 std::fprintf(stderr, "[rt] compile-gate: LEONIDA_COMPILE_GATE_HELD_WAIT_MS=%s is not a number of "
657 "milliseconds; ignored\n", value);
658 return kDefaultHeldWaitMs;
659 }();
660 return ms;
661 }
662 void set_gate_held_limit_ms(std::int64_t ms) { // for tests
663 std::lock_guard lock(gate_mutex_);
664 held_limit_ms_ = (std::max)(ms, std::int64_t{0});
665 }
666 std::int64_t gate_wait_limit_ms() {
667 std::lock_guard lock(gate_mutex_);
668 return wait_limit_ms_;
669 }
670 void set_gate_wait_limit_ms(std::int64_t ms) { // for tests
671 std::lock_guard lock(gate_mutex_);
672 wait_limit_ms_ = (std::max)(ms, std::int64_t{0});
673 }
674 std::int64_t gate_probe_budget_ms() {
675 std::lock_guard lock(gate_mutex_);
676 return probe_budget_ms_;
677 }
678 void set_gate_probe_budget_ms(std::int64_t ms) { // for tests
679 std::lock_guard lock(gate_mutex_);
680 probe_budget_ms_ = (std::max)(ms, std::int64_t{0});
681 }
682 void set_gate_adaptive(bool on) { // for tests
683 std::lock_guard lock(gate_mutex_);
684 adaptive_ = on;
685 }
686 void set_gate_graphics(bool on) { // for tests: whether graphics creates pass the gate
687 std::lock_guard lock(gate_mutex_);
688 graphics_ = on;
689 }
690 GateVerdict gate_verdict(CreateKind kind = CreateKind::compute) {
691 std::lock_guard lock(gate_mutex_);
692 return verdict_[std::size_t(kind)];
693 }
694
695 // How many "reached the limit, but a create of a kind that holds ..." notices were due (for tests: one per wait).
696 unsigned gate_held_notices() {
697 std::lock_guard lock(gate_mutex_);
698 return logged_held_waits_;
699 }
700
701 // The thread waiting in enter_submit for creates to leave the driver, or 0.
702 std::uint32_t gate_waiter() const { return gate_waiter_.load(std::memory_order_relaxed); }
703
704 struct GateStats {
705 std::uint64_t submits = 0; // submissions that had to wait for a create
706 std::int64_t submit_ms = 0, submit_max_ms = 0;
707 std::uint64_t ahead = 0; // of those, the ones that went ahead at the wait limit
708 std::uint64_t creates = 0; // creates that waited behind a submission
709 std::int64_t create_ms = 0, create_max_ms = 0;
710 };
711 GateStats gate_stats() {
712 std::lock_guard lock(gate_mutex_);
713 return stats_;
714 }
715
716 // `seq` receives the create's number, which leave_compile takes back.
717 std::int64_t enter_compile(std::uint64_t& seq, const CreateInfo& info = {}) {
718 if (!compile_gate_enabled()) return 0;
719 std::unique_lock lock(gate_mutex_);
720 std::int64_t waited = 0;
721 if (info.kind == CreateKind::graphics && !graphics_) { // the classic gate: compute creates only
722 seq = 0;
723 return 0;
724 }
725 // Not behind this thread's own submission (it holds the submit lock: none of its submissions is in the
726 // driver now, and waiting for them would never end).
727 const bool own = owner_.load(std::memory_order_relaxed) == diagnostic_thread_id();
728 if (submits_ && !own && !kind_off(info.kind)) {
729 const std::int64_t start = diagnostic_ms();
730 gate_changed_.wait(lock, [&] { return submits_ == 0 || kind_off(info.kind); });
731 waited = diagnostic_ms() - start;
732 ++stats_.creates;
733 stats_.create_ms += waited;
734 stats_.create_max_ms = (std::max)(stats_.create_max_ms, waited);
735 }
736 seq = ++last_create_;
737 in_driver_.push_back(InDriver{seq, info, diagnostic_ms(), diagnostic_thread_id()});
738 return waited;
739 }
740 void leave_compile(std::uint64_t seq) {
741 if (!compile_gate_enabled()) return;
742 std::lock_guard lock(gate_mutex_);
743 for (auto it = in_driver_.begin(); it != in_driver_.end(); ++it)
744 if (it->seq == seq) {
745 recent_leaves_[leave_count_++ % kRecentLeaves] = Leave{seq, diagnostic_ms(), it->info.kind};
746 in_driver_.erase(it);
747 break;
748 }
749 if (submits_) gate_changed_.notify_all();
750 }
751
752 // `ahead` (optional) is told whether the submission entered the driver alongside creates the gate does not wait
753 // for, and whether it went ahead at the wait limit or the probe budget, for leave_submit.
754 // `probe` false (a present or an idle or semaphore wait): it never goes ahead at the probe budget, only at the
755 // wait limit, since its time in the driver judges nothing.
756 std::int64_t enter_submit(GateAhead* ahead = nullptr, bool probe = true) {
757 if (!compile_gate_enabled()) return 0;
758 std::unique_lock lock(gate_mutex_);
759 ++submits_;
760 const InDriver* first = first_blocking();
761 if (!first) {
762 if (ahead) *ahead = beside(diagnostic_ms(), false);
763 return 0;
764 }
765 const std::uint32_t self = diagnostic_thread_id();
766 gate_waiter_.store(self, std::memory_order_relaxed);
767 const std::int64_t start = diagnostic_ms();
768 const GateWait what{self, blocking(), first->info};
769 std::int64_t next_note = 2000;
770 const char* why = nullptr; // set: it goes ahead
771 std::int64_t limit = 0, budget = 0; // in force at the last check
772 std::int64_t window_ms = 0; // with the probe budget: the waits of the window, this one's included
773 bool held_noted = false; // the "reached the limit, but ..." notice, once per wait
774 for (;;) {
775 const std::int64_t now = diagnostic_ms();
776 const std::int64_t waited = now - start;
777 // Checked each time: a create of a kind that holds submissions, not gone past, may have left (or entered)
778 // since, while creates of other kinds stay.
779 const bool held = held_blocking();
780 // The plain limit, and the probe budget only for a probe while every kind it waits for has no verdict.
781 const std::int64_t plain_budget = probe && adaptive_ && blocking_kinds_pending() ? probe_budget_ms_ : 0;
782 const char* plain = nullptr;
783 if (plain_budget > 0) window_ms = recent_waits_ms(now) + waited;
784 if (wait_limit_ms_ > 0 && waited >= wait_limit_ms_) {
785 plain = "limit";
786 } else if (plain_budget > 0 && window_ms >= plain_budget) {
787 plain = "probe budget";
788 }
789 if (!held) {
790 limit = wait_limit_ms_;
791 budget = plain_budget;
792 why = plain;
793 } else {
794 // Not into the driver beside a create of a kind that holds submissions: there it would wait for the
795 // create anyway, and the driver lost the device under such waits (621.40, a mesh create). It waits
796 // here for those, up to the held limit (LEONIDA_COMPILE_GATE_HELD_WAIT_MS; 0: however long), which
797 // applies on its own, also when it is shorter than the plain limit.
798 limit = held_limit_ms_;
799 budget = 0;
800 if (limit > 0 && waited >= limit) why = "held limit";
801 if (plain && !why && !held_noted) {
802 held_noted = true;
803 if (logged_held_waits_++ < 8)
804 std::fprintf(stderr, "[rt] compile-gate: vkQueueSubmit on thread %u reached the %s after %lld "
805 "ms, but a create of a kind that holds submissions is in the driver: it "
806 "waits until that create leaves or %lld ms have passed\n",
807 self, plain, static_cast<long long>(waited),
808 static_cast<long long>(held_limit_ms_));
809 }
810 }
811 if (why) {
812 // Every create in the driver now stops holding submissions back; later ones are waited for.
813 overdue_through_ = last_create_;
814 if (why[0] == 'h') held_overdue_through_ = last_create_;
815 gate_changed_.notify_all();
816 break;
817 }
818 if (waited >= next_note) {
819 next_note = waited + 5000;
820 note_gate_wait("has waited", what, waited);
821 }
822 std::int64_t step = 250;
823 if (limit > 0) step = (std::min)(step, limit - waited);
824 if (budget > 0) step = (std::min)(step, budget - window_ms);
825 step = (std::max)(step, std::int64_t{1});
826 // Woken when no create holds it back any more, or when whether a holding create does has changed.
827 if (gate_changed_.wait_for(lock, std::chrono::milliseconds(step),
828 [&] { return !first_blocking() || held_blocking() != held; }) &&
829 !first_blocking())
830 break;
831 }
832 gate_waiter_.store(0, std::memory_order_relaxed);
833 const std::int64_t end = diagnostic_ms();
834 const std::int64_t waited = end - start;
835 remember_wait(start, end);
836 ++stats_.submits;
837 stats_.submit_ms += waited;
838 stats_.submit_max_ms = (std::max)(stats_.submit_max_ms, waited);
839 const auto creates = static_cast<unsigned>(in_driver_.size());
840 if (why && logged_go_ahead_ >= 16) {
841 ++stats_.ahead; // the stats line counts the rest
842 } else if (why) {
843 ++stats_.ahead;
844 ++logged_go_ahead_;
845 note_gate_wait("goes ahead after", what, waited);
846 if (why[0] == 'l')
847 std::fprintf(stderr, "[rt] compile-gate: at the %lld ms limit (LEONIDA_COMPILE_GATE_WAIT_MS): the %u "
848 "create(s) still in the driver hold no submission back from now on (%llu "
849 "submissions went ahead so far)\n",
850 static_cast<long long>(limit), creates, static_cast<unsigned long long>(stats_.ahead));
851 else if (why[0] == 'h')
852 std::fprintf(stderr, "[rt] compile-gate: at the %lld ms held limit (LEONIDA_COMPILE_GATE_HELD_WAIT_MS): "
853 "the %u create(s) still in the driver hold no submission back from now on, those "
854 "of a kind that holds submissions included (%llu submissions went ahead so far)\n",
855 static_cast<long long>(limit), creates, static_cast<unsigned long long>(stats_.ahead));
856 else
857 std::fprintf(stderr, "[rt] compile-gate: the waits of the last %lld s add up to %lld ms, the probe "
858 "budget is %lld ms (LEONIDA_COMPILE_GATE_PROBE_MS): the %u create(s) still in the "
859 "driver hold no submission back from now on (%llu submissions went ahead so far)\n",
860 static_cast<long long>(kProbeWindowMs / 1000), static_cast<long long>(window_ms),
861 static_cast<long long>(budget), creates, static_cast<unsigned long long>(stats_.ahead));
862 } else if (waited >= 500 || (waited >= 50 && logged_waits_ < 32)) {
863 // Every wait of 500 ms or more, and the first 32 of 50 ms or more.
864 ++logged_waits_;
865 note_gate_wait("waited", what, waited);
866 }
867 if (ahead) *ahead = beside(end, why != nullptr);
868 return waited;
869 }
870 void leave_submit(const GateAhead& ahead = {}) {
871 if (!compile_gate_enabled()) return;
872 std::lock_guard lock(gate_mutex_);
873 if (ahead.since_ms >= 0 && ahead.probe) probe(ahead);
874 if (--submits_ == 0) gate_changed_.notify_all();
875 }
876
877 // On a device loss (VulkanContext::mark_device_lost, once): the creates in the driver, how long each has been
878 // there and whether submissions wait for it, and the verdict of each kind.
879 void report_creates_on_loss() noexcept {
880 if (!compile_gate_enabled()) return;
881 try {
882 std::lock_guard lock(gate_mutex_);
883 const std::int64_t now = diagnostic_ms();
884 std::fprintf(stderr, "[rt] compile-gate: at the device loss (t=%.3f s): compute gate %s, graphics gate %s; "
885 "%zu pipeline create(s) in the driver\n",
886 double(now) / 1000.0, verdict_name(CreateKind::compute), verdict_name(CreateKind::graphics),
887 in_driver_.size());
888 for (const auto& c : in_driver_)
889 std::fprintf(stderr, "[rt] compile-gate: %s create %s (%zu B SPIR-V, %s) on thread %u, in the driver "
890 "for %lld ms, %s\n",
891 kind_name(c.info.kind), c.info.name ? c.info.name : "-", c.info.bytes,
892 c.info.trigger ? c.info.trigger : "-", c.thread, static_cast<long long>(now - c.since_ms),
893 is_blocking(c) ? "submissions wait for it" : "submissions do not wait for it");
894 } catch (...) {
895 }
896 }
897
898private:
899 struct InDriver {
900 std::uint64_t seq;
901 CreateInfo info;
902 std::int64_t since_ms;
903 std::uint32_t thread;
904 };
905
906 // With gate_mutex_ held.
907 bool kind_off(CreateKind kind) const {
908 return verdict_[std::size_t(kind)] == GateVerdict::driver_does_not_hold;
909 }
910 // A create a submission waits for: of a kind whose gate is on, and either of a kind that holds submissions or not
911 // gone past at the limit or the budget.
912 bool is_blocking(const InDriver& c) const {
913 if (kind_off(c.info.kind)) return false;
914 if (verdict_[std::size_t(c.info.kind)] == GateVerdict::driver_holds) return c.seq > held_overdue_through_;
915 return c.seq > overdue_through_;
916 }
917 bool held_blocking() const {
918 for (const auto& c : in_driver_)
919 if (verdict_[std::size_t(c.info.kind)] == GateVerdict::driver_holds && c.seq > held_overdue_through_)
920 return true;
921 return false;
922 }
923 const InDriver* first_blocking() const {
924 for (const auto& c : in_driver_)
925 if (is_blocking(c)) return &c;
926 return nullptr;
927 }
928 std::uint32_t blocking() const {
929 std::uint32_t n = 0;
930 for (const auto& c : in_driver_) n += is_blocking(c);
931 return n;
932 }
933 bool blocking_kinds_pending() const {
934 for (const auto& c : in_driver_)
935 if (is_blocking(c) && verdict_[std::size_t(c.info.kind)] != GateVerdict::pending) return false;
936 return true;
937 }
938 // The creates a submission entering the driver at `now` does not wait for (all of those in it: it got past the
939 // gate).
940 GateAhead beside(std::int64_t now, bool went_ahead) const {
941 GateAhead a;
942 if (in_driver_.empty()) return a;
943 a.since_ms = now;
944 a.last_create = last_create_;
945 a.creates = static_cast<std::uint32_t>(in_driver_.size());
946 for (const auto& c : in_driver_) a.kinds |= std::uint8_t(1u << unsigned(c.info.kind));
947 a.went_ahead = went_ahead;
948 return a;
949 }
950 const char* verdict_name(CreateKind kind) const {
951 switch (verdict_[std::size_t(kind)]) {
952 case GateVerdict::driver_does_not_hold: return "off (the driver does not hold submissions)";
953 case GateVerdict::driver_holds: return rearmed_[std::size_t(kind)] ? "on again (re-armed)" : "on (held probe)";
954 default: return adaptive_ ? "on (no verdict yet)" : "on";
955 }
956 }
957
958 // With gate_mutex_ held: the submissions' past waits at the gate, for the probe budget. The last kRecentWaits
959 // are kept; more in one window are short ones, so dropping the oldest of them costs little.
960 static constexpr std::size_t kRecentWaits = 64;
961 void remember_wait(std::int64_t start, std::int64_t end) {
962 if (end <= start) return;
963 recent_waits_[recent_count_++ % kRecentWaits] = {start, end};
964 }
965 // How much of the last kProbeWindowMs before `now` they took.
966 std::int64_t recent_waits_ms(std::int64_t now) const {
967 const std::int64_t from = now - kProbeWindowMs;
968 std::int64_t sum = 0;
969 for (std::size_t i = 0; i < (std::min)(recent_count_, kRecentWaits); ++i) {
970 const auto& [start, end] = recent_waits_[i];
971 sum += (std::max)(std::int64_t{0}, (std::min)(end, now) - (std::max)(start, from));
972 }
973 return sum;
974 }
975
976 // With gate_mutex_ held, as a submission leaves the driver: what its time there says about the driver, for each
977 // kind with a create in the driver from before it entered until now (see the gate's comment). The ones that went
978 // ahead are logged (the first 8), each verdict once.
979 void probe(const GateAhead& ahead) {
980 const std::int64_t now = diagnostic_ms();
981 const std::int64_t took = now - ahead.since_ms;
982 std::uint32_t still = 0;
983 std::uint8_t kinds = 0; // of the creates it entered beside, the kinds still in the driver
984 for (const auto& c : in_driver_)
985 if (c.seq <= ahead.last_create) {
986 ++still;
987 kinds |= std::uint8_t(1u << unsigned(c.info.kind));
988 }
989 kinds &= ahead.kinds;
990 if (ahead.went_ahead && logged_ahead_ < 8) {
991 ++logged_ahead_;
992 std::fprintf(stderr, "[rt] compile-gate: the submission that went ahead on thread %u was in the driver "
993 "for %lld ms; %u of the %u create(s) it went past are still there\n",
994 diagnostic_thread_id(), static_cast<long long>(took), still, ahead.creates);
995 }
996 if (!adaptive_) return;
997 for (std::size_t k = 0; k < kKinds; ++k) {
998 if (!(ahead.kinds & (1u << k))) continue;
999 if (took >= kProbeHeldMs) {
1000 // Held behind a create of this kind only if one it entered beside has just left.
1001 bool left_just_before = false;
1002 for (std::size_t i = 0; i < (std::min)(leave_count_, kRecentLeaves) && !left_just_before; ++i) {
1003 const Leave& l = recent_leaves_[i];
1004 left_just_before = std::size_t(l.kind) == k && l.seq <= ahead.last_create &&
1005 l.ms >= ahead.since_ms && now - l.ms <= kHeldReturnMs;
1006 }
1007 if (left_just_before) {
1008 judge(CreateKind(k), took, now);
1009 } else if (logged_not_held_++ < 8) {
1010 std::fprintf(stderr, "[rt] compile-gate: a submission stayed %lld ms in the driver beside a %s "
1011 "create but came back %s: not counted as held by it\n",
1012 static_cast<long long>(took), kind_name(CreateKind(k)),
1013 (kinds & (1u << k)) ? "with the create still there" : "long after the create left");
1014 }
1015 } else if (kinds & (1u << k)) {
1016 judge(CreateKind(k), took, now);
1017 }
1018 }
1019 }
1020 void judge(CreateKind kind, std::int64_t took, std::int64_t now) {
1021 const std::size_t k = std::size_t(kind);
1022 GateVerdict& verdict = verdict_[k];
1023 if (verdict == GateVerdict::driver_holds) return;
1024 if (took >= kProbeHeldMs) {
1025 const bool was_off = verdict == GateVerdict::driver_does_not_hold;
1026 verdict = GateVerdict::driver_holds;
1027 rearmed_[k] = was_off;
1028 std::fprintf(stderr, "[rt] compile-gate: a submission stayed %lld ms in the driver beside a %s create at "
1029 "t=%.3f s: this driver may hold submissions behind %s creates, so the %s gate is %s "
1030 "for the rest of the run\n",
1031 static_cast<long long>(took), kind_name(kind), double(now) / 1000.0, kind_name(kind),
1032 kind_name(kind), was_off ? "back on" : "on");
1033 return;
1034 }
1035 if (verdict != GateVerdict::pending || took >= kProbeQuickMs) return; // off already, or says nothing
1036 if (quick_probes_[k]++ == 0) first_quick_ms_[k] = now;
1037 longest_quick_ms_[k] = (std::max)(longest_quick_ms_[k], took);
1038 if (quick_probes_[k] < kQuickProbes || now - first_quick_ms_[k] < kProbeSpanMs) return;
1039 verdict = GateVerdict::driver_does_not_hold;
1040 gate_changed_.notify_all(); // the submissions and creates waiting now go
1041 std::fprintf(stderr, "[rt] compile-gate: %s gate off at t=%.3f s: %u submissions entered the driver beside a "
1042 "%s create and came back in at most %lld ms (under %lld ms), the first and last %lld ms "
1043 "apart, the create still there: this driver does not hold a submission behind a %s "
1044 "create. Still timed: one that stays %lld ms turns it back on (LEONIDA_COMPILE_GATE=1 "
1045 "keeps the gate)\n",
1046 kind_name(kind), double(now) / 1000.0, quick_probes_[k], kind_name(kind),
1047 static_cast<long long>(longest_quick_ms_[k]), static_cast<long long>(kProbeQuickMs),
1048 static_cast<long long>(now - first_quick_ms_[k]), kind_name(kind),
1049 static_cast<long long>(kProbeHeldMs));
1050 }
1051
1052 void taken() {
1053 since_.store(diagnostic_ms(), std::memory_order_relaxed);
1054 owner_.store(diagnostic_thread_id(), std::memory_order_relaxed);
1055 }
1056
1057 // Until a hold ends after `seen` releases.
1058 void wait_release(std::uint64_t seen) {
1059 handoff_waiters_.fetch_add(1);
1060 {
1061 std::unique_lock lock(handoff_mutex_);
1062 released_.wait(lock, [&] { return releases_.load() != seen; });
1063 }
1064 handoff_waiters_.fetch_sub(1);
1065 }
1066
1067 // With gate_mutex_ held.
1068 // The creates a submission found in the driver: how many it waits for, and the first of them.
1069 struct GateWait {
1070 std::uint32_t thread;
1071 std::uint32_t creates;
1072 CreateInfo first;
1073 };
1074 void note_gate_wait(const char* how, const GateWait& what, std::int64_t waited) const {
1075 std::fprintf(stderr, "[rt] compile-gate: vkQueueSubmit on thread %u %s %lld ms for %u pipeline create(s) to "
1076 "leave the driver (%s %s, %zu B SPIR-V, %s) at t=%.3f s; %llu such waits so far, "
1077 "%lld ms in all, longest %lld ms\n",
1078 what.thread, how, static_cast<long long>(waited), what.creates, kind_name(what.first.kind),
1079 what.first.name ? what.first.name : "-", what.first.bytes,
1080 what.first.trigger ? what.first.trigger : "-", double(diagnostic_ms()) / 1000.0,
1081 static_cast<unsigned long long>(stats_.submits), static_cast<long long>(stats_.submit_ms),
1082 static_cast<long long>(stats_.submit_max_ms));
1083 }
1084
1085 // The gate in use: the forced setting's mode, or with `auto` classic until decide_auto_gate.
1086 static std::atomic<GateMode>& gate_mode_slot() {
1087 static std::atomic<GateMode> slot{compile_gate_policy::forced_mode(compile_gate_setting())};
1088 return slot;
1089 }
1090
1091 std::mutex mutex_;
1092 std::atomic<std::uint32_t> owner_{0};
1093 std::atomic<std::int64_t> since_{0};
1094 std::atomic<std::uint32_t> waiting_{0};
1095 std::atomic<std::uint64_t> releases_{0}; // unlocks so far
1096 std::atomic<std::uint32_t> handoff_waiters_{0};
1097 std::mutex handoff_mutex_; // leaf
1098 std::condition_variable released_;
1099
1100 std::mutex gate_mutex_; // leaf: guards the gate counts and stats
1101 std::condition_variable gate_changed_;
1102 std::vector<InDriver> in_driver_; // the creates in the driver now, oldest first
1103 std::uint64_t last_create_ = 0; // the number of the last create that entered
1104 std::uint64_t overdue_through_ = 0; // creates up to this number were in the driver when a submission went ahead
1105 std::uint64_t held_overdue_through_ = 0; // the same, for creates of a kind that holds (at the held limit)
1106 std::int64_t held_limit_ms_ = default_gate_held_limit_ms(); // 0: no limit
1107 std::uint32_t submits_ = 0; // submissions waiting for them or in the driver
1108 std::int64_t wait_limit_ms_ = default_gate_wait_limit_ms(); // 0: no limit
1109 std::int64_t probe_budget_ms_ = default_gate_probe_budget_ms(); // 0: no early probes
1110 bool adaptive_ = compile_gate_mode() == GateMode::adaptive;
1111 bool graphics_ = compile_gate_graphics(); // graphics creates pass the gate
1112 std::array<std::pair<std::int64_t, std::int64_t>, kRecentWaits> recent_waits_{}; // [start, end) ms
1113 std::size_t recent_count_ = 0;
1114 // Per CreateKind.
1115 std::array<GateVerdict, kKinds> verdict_{GateVerdict::pending, GateVerdict::pending};
1116 std::array<bool, kKinds> rearmed_{};
1117 // The last creates to leave the driver: a held probe needs one it entered beside to have just left. A ring, so a
1118 // later create leaving does not hide an earlier one that did.
1119 struct Leave {
1120 std::uint64_t seq = 0;
1121 std::int64_t ms = 0;
1122 CreateKind kind{};
1123 };
1124 static constexpr std::size_t kRecentLeaves = 64;
1125 std::array<Leave, kRecentLeaves> recent_leaves_{};
1126 std::size_t leave_count_ = 0;
1127 unsigned logged_not_held_ = 0;
1128 std::array<unsigned, kKinds> quick_probes_{};
1129 std::array<std::int64_t, kKinds> first_quick_ms_{}, longest_quick_ms_{};
1130 unsigned logged_held_waits_ = 0;
1131 std::atomic<std::uint32_t> gate_waiter_{0};
1132 GateStats stats_;
1133 unsigned logged_waits_ = 0;
1134 unsigned logged_ahead_ = 0;
1135 unsigned logged_go_ahead_ = 0;
1136};
1137
1138// One vkQueueSubmit of a VulkanQueue: its waits, its signals and how long the call took (-1: not returned yet).
1139struct SubmitRecord {
1140 static constexpr std::size_t max_waits = 6;
1141 std::int64_t at_ms = 0;
1142 std::int64_t took_ms = -1;
1143 int result = 1;
1144 VkQueue queue = VK_NULL_HANDLE;
1145 const char* kind = "";
1146 VkSemaphore progress = VK_NULL_HANDLE;
1147 std::uint64_t ticket = 0;
1148 VkSemaphore fence = VK_NULL_HANDLE;
1149 std::uint64_t fence_value = 0;
1150 std::uint32_t buffers = 0;
1151 std::uint32_t waits = 0;
1152 std::array<VkSemaphore, max_waits> wait_semaphores{};
1153 std::array<std::uint64_t, max_waits> wait_values{};
1154};
1155
247class DeviceFaultDiagnostics { 1156class DeviceFaultDiagnostics {
248public: 1157public:
249 DeviceFaultDiagnostics(PFN_vkGetDeviceProcAddr get, VkDevice device, DeviceFaultExtensions enabled) 1158 // `memory` and `synchronization2` are for the AMD markers (enabled.markers): where their buffer goes and whether
1159 // vkCmdWriteBufferMarker2AMD may be used.
1160 DeviceFaultDiagnostics(PFN_vkGetDeviceProcAddr get, VkDevice device, DeviceFaultExtensions enabled,
1161 const VkPhysicalDeviceMemoryProperties* memory = nullptr, bool synchronization2 = false)
250 : device_(device) { 1162 : device_(device) {
251#define LEONIDA_FAULT_LOAD(name) name = reinterpret_cast<PFN_##name>(get(device, #name)) 1163#define LEONIDA_FAULT_LOAD(name) name = reinterpret_cast<PFN_##name>(get(device, #name))
252 if (enabled.fault) LEONIDA_FAULT_LOAD(vkGetDeviceFaultInfoEXT); 1164 if (enabled.fault) LEONIDA_FAULT_LOAD(vkGetDeviceFaultInfoEXT);
@@ -254,10 +1166,22 @@ public:
254 LEONIDA_FAULT_LOAD(vkCmdSetCheckpointNV); 1166 LEONIDA_FAULT_LOAD(vkCmdSetCheckpointNV);
255 LEONIDA_FAULT_LOAD(vkGetQueueCheckpointDataNV); 1167 LEONIDA_FAULT_LOAD(vkGetQueueCheckpointDataNV);
256 } 1168 }
1169 LEONIDA_FAULT_LOAD(vkGetSemaphoreCounterValue);
257#undef LEONIDA_FAULT_LOAD 1170#undef LEONIDA_FAULT_LOAD
258 std::fprintf(stderr, "[rt] device-fault: enabled (fault info %s, checkpoints %s, NVIDIA diagnostics config %s)\n", 1171 std::fprintf(stderr, "[rt] device-fault: enabled (fault info %s, checkpoints %s, NVIDIA diagnostics config %s)\n",
259 vkGetDeviceFaultInfoEXT ? "on" : "unavailable", checkpoint_command() ? "on" : "unavailable", 1172 vkGetDeviceFaultInfoEXT ? "on" : "unavailable", checkpoint_command() ? "on" : "unavailable",
260 enabled.diagnostics_config ? "on" : "unavailable"); 1173 enabled.diagnostics_config ? "on" : "unavailable");
1174 if (enabled.markers) enable_markers(get, memory, synchronization2);
1175 else if (device_markers_requested())
1176 std::fprintf(stderr, "[rt] device-markers: unavailable: the device has no VK_AMD_buffer_marker\n");
1177 }
1178
1179 bool markers_on() const { return markers_ != nullptr; }
1180
1181 // The queue's marker slot as the GPU last wrote it ({0, 0} without markers).
1182 MarkerSlot marker_slot(VkQueue queue) {
1183 std::lock_guard lock(mutex_);
1184 return markers_ ? markers_->read(queue) : MarkerSlot{};
261 } 1185 }
262 1186
263 PFN_vkCmdSetCheckpointNV checkpoint_command() const { 1187 PFN_vkCmdSetCheckpointNV checkpoint_command() const {
@@ -265,21 +1189,166 @@ public:
265 } 1189 }
266 1190
267 void add_queue(VkQueue queue) { 1191 void add_queue(VkQueue queue) {
268 if (!queue || !vkGetQueueCheckpointDataNV) return; 1192 if (!queue) return;
269 std::lock_guard lock(mutex_); 1193 std::lock_guard lock(mutex_);
1194 if (markers_ && !markers_->add_queue(queue))
1195 std::fprintf(stderr, "[rt] device-markers: no slot for queue %p (%u queues have one)\n",
1196 static_cast<void*>(queue), DeviceMarkers::max_queues);
1197 if (!vkGetQueueCheckpointDataNV) return;
270 if (std::find(queues_.begin(), queues_.end(), queue) == queues_.end()) queues_.push_back(queue); 1198 if (std::find(queues_.begin(), queues_.end(), queue) == queues_.end()) queues_.push_back(queue);
271 } 1199 }
272 1200
273 std::uint64_t next_execute_call() { return ++execute_calls_; } 1201 std::uint64_t next_execute_call() { return ++execute_calls_; }
274 1202
1203 void set_submit_lock(const SubmitMutex* lock) { submit_lock_ = lock; }
1204
1205 // Called under the submit lock, before and after the vkQueueSubmit it describes.
1206 std::size_t begin_submit(const SubmitRecord& record) {
1207 std::lock_guard lock(mutex_);
1208 const std::size_t at = submit_count_++;
1209 submits_[at % submits_.size()] = record;
1210 return at;
1211 }
1212 void end_submit(std::size_t at, std::int64_t took_ms, VkResult result) {
1213 std::lock_guard lock(mutex_);
1214 if (submit_count_ - at > submits_.size()) return;
1215 auto& record = submits_[at % submits_.size()];
1216 record.took_ms = took_ms;
1217 record.result = int(result);
1218 }
1219
1220 // The holder of the submit lock has kept it for `held_ms`: its call chain and what was submitted last.
1221 void report_submit_lock_holder(std::uint32_t owner, std::int64_t held_ms) {
1222 std::fprintf(stderr, "[rt] submit-lock: thread %u has held it for %lld ms (t=%.3f s)\n", owner,
1223 static_cast<long long>(held_ms), double(diagnostic_ms()) / 1000.0);
1224 if (const char* name = driver_compile.name.load(std::memory_order_acquire)) {
1225 const char* trigger = driver_compile.trigger.load(std::memory_order_relaxed);
1226 std::fprintf(stderr, "[rt] submit-lock: vkCreateComputePipelines has been building %s (%zu B SPIR-V, %s) "
1227 "for %lld ms\n",
1228 name, driver_compile.bytes.load(std::memory_order_relaxed), trigger ? trigger : "?",
1229 static_cast<long long>(diagnostic_ms() - driver_compile.since_ms.load(std::memory_order_relaxed)));
1230 }
1231 if (submit_lock_ && submit_lock_->gate_waiter() == owner) {
1232 // Not in the driver: waiting at the compile gate for the create named above (SubmitMutex::CompileTurn).
1233 std::fprintf(stderr, "[rt] submit-lock: thread %u is waiting at the compile gate, not in the driver\n", owner);
1234 return;
1235 }
1236 // Every thread, the holder included: what the driver waits for may be another thread's work. No counters
1237 // here (dump_submits would block in the driver behind the holder); the loss report has them. A long hold can
1238 // also be a legitimate vkDeviceWaitIdle: the stacks of the first three holds, then at most one a minute.
1239 const std::int64_t now = diagnostic_ms();
1240 if (stack_reports_ >= 3 && now - last_stack_report_ms_ < 60000) return;
1241 ++stack_reports_;
1242 last_stack_report_ms_ = now;
1243 print_thread_stacks(0, "submit-lock hold");
1244 }
1245
1246 // Before `semaphore` is destroyed (~VulkanFence, ~VulkanQueue): the ring stops naming it, so no report reads the
1247 // counter of a destroyed semaphore. Waits for a report that is reading counters now.
1248 void forget(VkSemaphore semaphore) {
1249 if (!semaphore) return;
1250 std::lock_guard reading(read_mutex_);
1251 if (stalled_progress_ == semaphore) stalled_progress_ = VK_NULL_HANDLE;
1252 std::lock_guard lock(mutex_);
1253 for (auto& r : submits_) {
1254 if (r.progress == semaphore) r.progress = VK_NULL_HANDLE;
1255 if (r.fence == semaphore) r.fence = VK_NULL_HANDLE;
1256 for (auto& wait : r.wait_semaphores)
1257 if (wait == semaphore) wait = VK_NULL_HANDLE;
1258 }
1259 }
1260
1261 // Once a second from the progress watch, without the submit lock: when the oldest submission in the ring that
1262 // has not finished is 4 s old, the ring with every counter as it is now, once per such submission.
1263 void check_submit_progress() {
1264 std::lock_guard reading(read_mutex_); // the semaphores read below outlive this call (forget)
1265 const std::vector<SubmitRecord> records = submit_records();
1266 if (!vkGetSemaphoreCounterValue) return;
1267 const std::int64_t now = diagnostic_ms();
1268 for (const auto& r : records) {
1269 if (r.took_ms < 0 || r.result != VK_SUCCESS || !r.progress) continue;
1270 std::uint64_t done = 0;
1271 if (vkGetSemaphoreCounterValue(device_, r.progress, &done) != VK_SUCCESS) return;
1272 if (done >= r.ticket) continue;
1273 // Age from when vkQueueSubmit returned: the call itself may have waited at the compile gate.
1274 if (now - (r.at_ms + r.took_ms) < 4000) return; // the oldest unfinished one is young
1275 if (r.progress == stalled_progress_ && r.ticket == stalled_ticket_) return;
1276 stalled_progress_ = r.progress;
1277 stalled_ticket_ = r.ticket;
1278 std::fprintf(stderr, "[rt] gpu-stall: %s queue %p ticket %llu submitted at t=%.3f s not done after %lld ms "
1279 "(progress %llu)\n",
1280 r.kind, static_cast<void*>(r.queue), static_cast<unsigned long long>(r.ticket),
1281 double(r.at_ms) / 1000.0, static_cast<long long>(now - r.at_ms),
1282 static_cast<unsigned long long>(done));
1283 dump_submits_reading();
1284 return;
1285 }
1286 }
1287
1288 // The last submissions, oldest first, with every semaphore's counter now (? once the device is lost, or for a
1289 // semaphore destroyed since).
1290 void dump_submits() {
1291 std::lock_guard reading(read_mutex_);
1292 dump_submits_reading();
1293 }
1294
1295private:
1296 std::vector<SubmitRecord> submit_records() {
1297 std::vector<SubmitRecord> records;
1298 std::lock_guard lock(mutex_);
1299 const std::size_t n = std::min(submit_count_, submits_.size());
1300 records.reserve(n);
1301 for (std::size_t i = submit_count_ - n; i < submit_count_; ++i) records.push_back(submits_[i % submits_.size()]);
1302 return records;
1303 }
1304
1305 // dump_submits with read_mutex_ held.
1306 void dump_submits_reading() {
1307 const std::vector<SubmitRecord> records = submit_records();
1308 // Every semaphore the ring names is non-null when recorded: null is one destroyed since (forget).
1309 const auto counter = [&](VkSemaphore semaphore) -> std::string {
1310 std::uint64_t value = 0;
1311 if (!semaphore) return "destroyed";
1312 if (!vkGetSemaphoreCounterValue || vkGetSemaphoreCounterValue(device_, semaphore, &value) != VK_SUCCESS)
1313 return "?";
1314 return std::to_string(value);
1315 };
1316 const std::int64_t now = diagnostic_ms();
1317 for (const auto& r : records) {
1318 std::string line = "[rt] submit-ring: t=" + std::to_string(double(r.at_ms) / 1000.0) + " s " + r.kind +
1319 " queue=" + std::to_string(reinterpret_cast<std::uintptr_t>(r.queue)) +
1320 " buffers=" + std::to_string(r.buffers) + " ticket=" + std::to_string(r.ticket) +
1321 " progress=" + counter(r.progress) + " took=" +
1322 (r.took_ms < 0 ? "pending(" + std::to_string(now - r.at_ms) + " ms)"
1323 : std::to_string(r.took_ms) + " ms") +
1324 " result=" + std::to_string(r.result);
1325 if (r.fence || r.fence_value)
1326 line += " signal=" + std::to_string(pipeline_handle(r.fence)) + ":" + std::to_string(r.fence_value) +
1327 " now " + counter(r.fence);
1328 for (std::uint32_t i = 0; i < r.waits && i < SubmitRecord::max_waits; ++i)
1329 line += " wait=" + std::to_string(pipeline_handle(r.wait_semaphores[i])) + ":" +
1330 std::to_string(r.wait_values[i]) + " now " + counter(r.wait_semaphores[i]);
1331 if (r.waits > SubmitRecord::max_waits) line += " (+" + std::to_string(r.waits - SubmitRecord::max_waits) + " waits)";
1332 line += '\n';
1333 std::fputs(line.c_str(), stderr);
1334 }
1335 }
1336
1337public:
275 // Accessed under the context's resource lock. Reports read the names copied into the ring instead. 1338 // Accessed under the context's resource lock. Reports read the names copied into the ring instead.
276 std::unordered_map<std::uintptr_t, CheckpointShaders> pipeline_names; 1339 std::unordered_map<std::uintptr_t, CheckpointShaders> pipeline_names;
277 1340
278 // Called under the context's tracker lock, in replay order. 1341 // Called under the context's tracker lock, in replay order.
279 CheckpointSubmission begin_submission(std::uint64_t call, VkQueue queue, const char* kind, std::size_t lists) { 1342 CheckpointSubmission begin_submission(std::uint64_t call, VkQueue queue, const char* kind, std::size_t lists) {
280 if (!++sequence_) ++sequence_; // 0 is reserved for invalid markers 1343 if (!++sequence_) ++sequence_; // 0 is reserved for invalid markers
281 return {sequence_, call, queue, kind, lists, 1344 CheckpointSubmission submission{sequence_, call, queue, kind, lists,
282 std::vector<CheckpointList>(std::min(lists, std::size_t{CheckpointMarker::max_list} + 1))}; 1345 std::vector<CheckpointList>(std::min(lists, std::size_t{CheckpointMarker::max_list} + 1))};
1346 submission.dispatch_seq = &dispatch_seq_;
1347 if (markers_) {
1348 std::lock_guard lock(mutex_);
1349 submission.markers = markers_->target(queue);
1350 }
1351 return submission;
283 } 1352 }
284 1353
285 void publish(CheckpointSubmission&& submission) { 1354 void publish(CheckpointSubmission&& submission) {
@@ -287,12 +1356,24 @@ public:
287 for (std::size_t i = submission.dispatch_count - submission.dispatches.size(); i < submission.dispatch_count; ++i) 1356 for (std::size_t i = submission.dispatch_count - submission.dispatches.size(); i < submission.dispatch_count; ++i)
288 dispatches_[dispatch_count_++ % dispatches_.size()] = submission.dispatches[i % submission.dispatch_limit]; 1357 dispatches_[dispatch_count_++ % dispatches_.size()] = submission.dispatches[i % submission.dispatch_limit];
289 submission.dispatches.clear(); 1358 submission.dispatches.clear();
1359 if (history_)
1360 for (const auto& d : submission.marked) history_->push(d);
1361 submission.marked.clear();
290 recent_[submission.sequence % recent_.size()] = std::move(submission); 1362 recent_[submission.sequence % recent_.size()] = std::move(submission);
291 } 1363 }
292 1364
293 static VkResult observe(DeviceFaultDiagnostics* diagnostics, VkResult result, const char* operation) noexcept { 1365 static VkResult observe(DeviceFaultDiagnostics* diagnostics, VkResult result, const char* operation) noexcept {
294 if (result == VK_ERROR_DEVICE_LOST) { 1366 if (result == VK_ERROR_DEVICE_LOST) {
295 if (diagnostics) diagnostics->report(operation); 1367 if (diagnostics) {
1368 diagnostics->report(operation);
1369 } else {
1370 // Without LEONIDA_DEVICE_FAULT a loss was silent: the title only saw ~0 in its fence words.
1371 static std::atomic<bool> logged{false};
1372 if (!logged.exchange(true, std::memory_order_relaxed))
1373 std::fprintf(stderr, "[rt] vulkan: VK_ERROR_DEVICE_LOST from %s at t=%.3f s on thread %u "
1374 "(LEONIDA_DEVICE_FAULT=1 for the fault report)\n",
1375 operation, double(diagnostic_ms()) / 1000.0, diagnostic_thread_id());
1376 }
296 run_device_lost_hook(); 1377 run_device_lost_hook();
297 } 1378 }
298 return result; 1379 return result;
@@ -301,8 +1382,9 @@ public:
301 void report_stall(const char* reason, std::uint64_t submitted, std::uint64_t retired) { 1382 void report_stall(const char* reason, std::uint64_t submitted, std::uint64_t retired) {
302 std::fprintf(stderr, "[rt] device-stall: %s for 15 s; submitted ticket %" PRIu64 1383 std::fprintf(stderr, "[rt] device-stall: %s for 15 s; submitted ticket %" PRIu64
303 ", last observed retired ticket %" PRIu64 "\n", reason, submitted, retired); 1384 ", last observed retired ticket %" PRIu64 "\n", reason, submitted, retired);
304 // NV checkpoints and EXT fault data require a lost device. The CPU ring is valid at any time. 1385 // NV checkpoints and EXT fault data require a lost device. The CPU ring and the AMD markers are valid at any
305 dump_dispatches(); 1386 // time.
1387 dump_dispatches(report_markers(false));
306 // LEONIDA_STALL_CHECKPOINTS=1 (diagnostic): ask for the checkpoints anyway. A hang (Xid 109) the driver 1388 // LEONIDA_STALL_CHECKPOINTS=1 (diagnostic): ask for the checkpoints anyway. A hang (Xid 109) the driver
307 // recovers from without losing the device otherwise names no program; outside the lost state the call is 1389 // recovers from without losing the device otherwise names no program; outside the lost state the call is
308 // out of the extension's contract, which the NVIDIA driver has answered so far. 1390 // out of the extension's contract, which the NVIDIA driver has answered so far.
@@ -319,14 +1401,87 @@ public:
319 } 1401 }
320 } 1402 }
321 1403
1404 // LEONIDA_DEVICE_MARKERS=1: each queue's marker slot judged against the marker history, printed; returns the
1405 // likely hangs (the oldest started, unfinished dispatch of each queue) for dump_dispatches to mark.
1406 std::vector<std::uint64_t> report_markers(bool lost) noexcept {
1407 std::vector<std::uint64_t> hangs;
1408 if (!markers_) return hangs;
1409 try {
1410 std::lock_guard lock(mutex_);
1411 std::fprintf(stderr, "[rt] device-markers: AMD buffer markers, read %s; best-effort: %s\n",
1412 lost ? "after the device loss" : "while the device is still up",
1413 lost ? "only what the GPU wrote before it stopped, and a reset may have lost the last writes"
1414 : "the GPU may still be writing them");
1415 for (VkQueue queue : markers_->queues()) {
1416 const MarkerQueueReport r = judge_markers(queue, markers_->read(queue), *history_);
1417 if (!r.slot.started && !r.slot.finished && !r.next_queued) continue; // never marked a dispatch
1418 const char* kind = r.queue_kind ? r.queue_kind : "?";
1419 if (r.idle()) {
1420 std::fprintf(stderr, "[rt] device-markers: queue %p (%s) idle: finished seq=%u, nothing started "
1421 "after it", static_cast<void*>(queue), kind, unsigned(r.slot.finished));
1422 if (r.next_queued)
1423 std::fprintf(stderr, "; next submitted seq=%" PRIu64 " not started (waiting, or behind other "
1424 "work of the queue)", r.next_queued);
1425 std::fputc('\n', stderr);
1426 continue;
1427 }
1428 std::string line = "[rt] device-markers: queue " + hex(queue) + " (" + kind + ") finished seq=" +
1429 std::to_string(r.slot.finished) + " started seq=" + std::to_string(r.slot.started) +
1430 "; started, not finished:";
1431 for (std::size_t i = 0; i < r.unfinished.size() && i < 16; ++i)
1432 line += " " + std::to_string(r.unfinished[i]);
1433 if (r.unfinished.size() > 16) line += " (+" + std::to_string(r.unfinished.size() - 16) + ")";
1434 if (r.missing) line += " (no longer in the marker history)";
1435 line += '\n';
1436 std::fputs(line.c_str(), stderr);
1437 if (!r.likely_hang) continue;
1438 hangs.push_back(r.likely_hang);
1439 history_->for_each([&](const MarkedDispatch& d) {
1440 if (d.seq != r.likely_hang) return;
1441 std::fprintf(stderr, "[rt] device-markers: likely hang: seq=%" PRIu64 " execute=%" PRIu64
1442 " queue=%p (%s) list=%u command=%u shader=%s\n",
1443 d.seq, d.execute_call, static_cast<void*>(d.queue), kind, d.list, d.command,
1444 d.shader ? d.shader : "-");
1445 });
1446 }
1447 } catch (...) {
1448 std::fprintf(stderr, "[rt] device-markers: marker collection failed\n");
1449 }
1450 return hangs;
1451 }
1452
322private: 1453private:
323 void dump_dispatches() { 1454 void enable_markers(PFN_vkGetDeviceProcAddr get, const VkPhysicalDeviceMemoryProperties* memory,
1455 bool synchronization2) {
1456 auto markers = std::make_unique<DeviceMarkers>();
1457 const VkResult result =
1458 memory ? markers->create(get, device_, *memory, synchronization2) : VK_ERROR_INITIALIZATION_FAILED;
1459 if (result != VK_SUCCESS) {
1460 std::fprintf(stderr, "[rt] device-markers: unavailable: the marker buffer could not be made (%d)\n",
1461 int(result));
1462 return;
1463 }
1464 std::fprintf(stderr, "[rt] device-markers: on (VK_AMD_buffer_marker, %s): each dispatch writes its seq at top "
1465 "and bottom of pipe\n",
1466 markers->synchronization2() ? "vkCmdWriteBufferMarker2AMD" : "vkCmdWriteBufferMarkerAMD");
1467 history_ = std::make_unique<MarkerHistory>();
1468 markers_ = std::move(markers);
1469 }
1470
1471 template<typename Handle>
1472 static std::string hex(Handle handle) {
1473 char text[24];
1474 std::snprintf(text, sizeof(text), "%p", static_cast<void*>(handle));
1475 return text;
1476 }
1477
1478 void dump_dispatches(const std::vector<std::uint64_t>& hangs = {}) {
324 std::lock_guard lock(mutex_); 1479 std::lock_guard lock(mutex_);
325 const auto n = std::min(dispatch_count_, dispatches_.size()); 1480 const auto n = std::min(dispatch_count_, dispatches_.size());
326 for (std::size_t i = dispatch_count_ - n; i < dispatch_count_; ++i) { 1481 for (std::size_t i = dispatch_count_ - n; i < dispatch_count_; ++i) {
327 const auto& d = dispatches_[i % dispatches_.size()]; 1482 const auto& d = dispatches_[i % dispatches_.size()];
328 std::fprintf(stderr, "[rt] device-fault: submitted dispatch seq=%zu execute=%" PRIu64 1483 std::fprintf(stderr, "[rt] device-fault: submitted dispatch seq=%" PRIu64 " execute=%" PRIu64
329 " queue=%p (%s) list=%zu command=%zu shader=%s ", i + 1, d.execute_call, 1484 " queue=%p (%s) list=%zu command=%zu shader=%s ", d.seq, d.execute_call,
330 static_cast<void*>(d.queue), d.queue_kind, d.list, d.command, d.shader ? d.shader : "-"); 1485 static_cast<void*>(d.queue), d.queue_kind, d.list, d.command, d.shader ? d.shader : "-");
331 if (d.indirect) 1486 if (d.indirect)
332 std::fprintf(stderr, "indirect args=0x%" PRIxPTR "+0x%" PRIx64 " count=0x%" PRIxPTR 1487 std::fprintf(stderr, "indirect args=0x%" PRIxPTR "+0x%" PRIx64 " count=0x%" PRIxPTR
@@ -337,6 +1492,8 @@ private:
337 std::fputs(" roots=", stderr); 1492 std::fputs(" roots=", stderr);
338 for (auto word : d.roots) std::fprintf(stderr, "%08x ", word); 1493 for (auto word : d.roots) std::fprintf(stderr, "%08x ", word);
339 } 1494 }
1495 if (d.seq && std::find(hangs.begin(), hangs.end(), d.seq) != hangs.end())
1496 std::fputs(" <- likely hang (device-markers)", stderr);
340 std::fputc('\n', stderr); 1497 std::fputc('\n', stderr);
341 } 1498 }
342 } 1499 }
@@ -354,7 +1511,17 @@ private:
354 void report(const char* operation) noexcept { 1511 void report(const char* operation) noexcept {
355 if (reported_.exchange(true, std::memory_order_relaxed)) return; 1512 if (reported_.exchange(true, std::memory_order_relaxed)) return;
356 std::fprintf(stderr, "[rt] device-fault: VK_ERROR_DEVICE_LOST from %s\n", operation); 1513 std::fprintf(stderr, "[rt] device-fault: VK_ERROR_DEVICE_LOST from %s\n", operation);
357 dump_dispatches(); 1514 try {
1515 const std::int64_t now = diagnostic_ms();
1516 const std::uint32_t owner = submit_lock_ ? submit_lock_->owner() : 0;
1517 std::fprintf(stderr, "[rt] device-fault: t=%.3f s on thread %u; submit lock held by thread %u for %lld ms\n",
1518 double(now) / 1000.0, diagnostic_thread_id(), owner,
1519 owner ? static_cast<long long>(now - submit_lock_->since_ms()) : 0LL);
1520 dump_submits();
1521 print_thread_stacks(0, "device lost");
1522 } catch (...) {
1523 }
1524 dump_dispatches(report_markers(true));
358 try { 1525 try {
359 std::function<void()> hook; 1526 std::function<void()> hook;
360 { 1527 {
@@ -455,6 +1622,36 @@ private:
455 pipeline.shaders[2] ? pipeline.shaders[2] : "-"); 1622 pipeline.shaders[2] ? pipeline.shaders[2] : "-");
456 } 1623 }
457 } 1624 }
1625 // LOCAL DIAGNOSTIC (post-load GPU faults): the work in flight is between the bottom-of-pipe checkpoint (last
1626 // command finished) and the top-of-pipe one (last command started) of the same list. Every pipeline bound in
1627 // that window, so the faulting program is among them; the dispatch ring above only keeps the last 64
1628 // dispatches of all queues, and those were from another queue in the fault this was added for.
1629 for (std::uint32_t i = 0; i < count; ++i) {
1630 const auto top = CheckpointMarker::decode(reinterpret_cast<std::uintptr_t>(data[i].pCheckpointMarker));
1631 if (!top.submission || !(static_cast<std::uint64_t>(data[i].stage) & VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT))
1632 continue;
1633 std::uint32_t from = 0; // no bottom-of-pipe checkpoint in this list: from its start
1634 for (std::uint32_t j = 0; j < count; ++j) {
1635 const auto bottom = CheckpointMarker::decode(reinterpret_cast<std::uintptr_t>(data[j].pCheckpointMarker));
1636 if (bottom.submission == top.submission && bottom.list == top.list &&
1637 (static_cast<std::uint64_t>(data[j].stage) & VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT))
1638 from = bottom.command;
1639 }
1640 const auto& entry = recent_[top.submission % recent_.size()];
1641 if (entry.sequence != top.submission || entry.queue != queue || top.list >= entry.lists.size()) continue;
1642 const auto& shaders = entry.lists[top.list].shaders;
1643 // The pipeline bound when `from` ran, then every change up to the top-of-pipe command.
1644 auto it = std::upper_bound(shaders.begin(), shaders.end(), from,
1645 [](auto command, const auto& change) { return command < change.command; });
1646 if (it != shaders.begin()) --it;
1647 for (; it != shaders.end() && it->command <= top.command; ++it)
1648 std::fprintf(stderr, "[rt] device-fault: in flight (submission %u list %u, commands %u..%u): command %u "
1649 "pipeline=0x%" PRIx64 " shaders=%s %s %s\n",
1650 top.submission, top.list, from, top.command, unsigned(it->command),
1651 pipeline_handle(it->pipeline.handle), it->pipeline.shaders[0] ? it->pipeline.shaders[0] : "-",
1652 it->pipeline.shaders[1] ? it->pipeline.shaders[1] : "-",
1653 it->pipeline.shaders[2] ? it->pipeline.shaders[2] : "-");
1654 }
458 } 1655 }
459 1656
460 template<typename Handle> 1657 template<typename Handle>
@@ -467,9 +1664,20 @@ private:
467 PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT = nullptr; 1664 PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT = nullptr;
468 PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV = nullptr; 1665 PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV = nullptr;
469 PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV = nullptr; 1666 PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV = nullptr;
1667 PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue = nullptr;
1668 const SubmitMutex* submit_lock_ = nullptr;
1669 std::array<SubmitRecord, 96> submits_{}; // under mutex_
1670 std::size_t submit_count_ = 0;
1671 unsigned stack_reports_ = 0; // report_submit_lock_holder: the progress watch's thread only
1672 std::int64_t last_stack_report_ms_ = 0;
1673 VkSemaphore stalled_progress_ = VK_NULL_HANDLE; // under read_mutex_
1674 std::uint64_t stalled_ticket_ = 0;
470 std::atomic<bool> reported_{false}; 1675 std::atomic<bool> reported_{false};
471 std::atomic<std::uint64_t> execute_calls_{0}; 1676 std::atomic<std::uint64_t> execute_calls_{0};
472 std::uint32_t sequence_ = 0; 1677 std::uint32_t sequence_ = 0;
1678 // Held while a report reads the counters of the semaphores in the ring, and by forget before one is destroyed.
1679 // Before mutex_; the submit path never takes it.
1680 std::mutex read_mutex_;
473 std::mutex mutex_; // leaf lock, guards queues_ and recent_ 1681 std::mutex mutex_; // leaf lock, guards queues_ and recent_
474 std::vector<VkQueue> queues_; 1682 std::vector<VkQueue> queues_;
475 const bool include_roots_ = [] { 1683 const bool include_roots_ = [] {
@@ -478,6 +1686,9 @@ private:
478 }(); 1686 }();
479 std::array<CheckpointDispatch, CheckpointSubmission::dispatch_limit> dispatches_{}; 1687 std::array<CheckpointDispatch, CheckpointSubmission::dispatch_limit> dispatches_{};
480 std::size_t dispatch_count_ = 0; 1688 std::size_t dispatch_count_ = 0;
1689 std::atomic<std::uint64_t> dispatch_seq_{0}; // the last seq handed out (CheckpointRecorder::dispatch)
1690 std::unique_ptr<DeviceMarkers> markers_; // LEONIDA_DEVICE_MARKERS=1 on a device with VK_AMD_buffer_marker
1691 std::unique_ptr<MarkerHistory> history_; // with markers_, under mutex_
481 std::array<CheckpointSubmission, 64> recent_; 1692 std::array<CheckpointSubmission, 64> recent_;
482}; 1693};
483 1694
diff --git a/runtime/src/vulkan_device_markers.h b/runtime/src/vulkan_device_markers.h
new file mode 100644
index 000000000..fea7e578b
--- /dev/null
+++ b/runtime/src/vulkan_device_markers.h
@@ -0,0 +1,245 @@
1#pragma once
2
3// LEONIDA_DEVICE_MARKERS=1 (diagnostic, with LEONIDA_DEVICE_FAULT=1 or 2): AMD breadcrumbs for the device-fault report
4// (vulkan_device_fault.h). On a device with VK_AMD_buffer_marker every dispatch the report numbers writes its `seq`
5// into its queue's slot of one small host-visible buffer twice: at top of pipe before the dispatch (started) and at
6// bottom of pipe after it (finished). A bottom-of-pipe write waits for all earlier work of the queue, so the finished
7// word is the last dispatch before which everything had completed; the dispatches after it up to the started word
8// are the ones the GPU had begun and not finished. On a loss or a stall report the slots are read back and the oldest
9// started, unfinished dispatch of a queue is reported as the likely hang. NVIDIA checkpoints do this on NVIDIA; RADV
10// has none. The buffer lives in system memory, so the last values usually survive a ring reset, but they are only
11// what the GPU wrote before it stopped: best-effort after a loss.
12
13#include <vulkan/vulkan.h>
14
15#include <array>
16#include <cstddef>
17#include <cstdint>
18#include <cstdio>
19#include <cstdlib>
20#include <cstring>
21#include <span>
22#include <vector>
23
24namespace leonida {
25
26inline bool device_markers_requested() {
27 static const bool on = [] {
28 const char* value = std::getenv("LEONIDA_DEVICE_MARKERS");
29 return value && !std::strcmp(value, "1");
30 }();
31 return on;
32}
33
34// One queue's slot as the GPU writes it: the low 32 bits of the seq of the last dispatch whose top-of-pipe write ran
35// (started) and of the last whose bottom-of-pipe write ran (finished). 0 is no dispatch yet; seqs start at 1.
36struct MarkerSlot {
37 std::uint32_t started = 0;
38 std::uint32_t finished = 0;
39};
40
41// `seq` comes after the 32-bit marker value `marker` (serial-number arithmetic, so a wrap past 2^32 still orders the
42// recent dispatches the history holds).
43constexpr bool marker_after(std::uint64_t seq, std::uint32_t marker) {
44 return static_cast<std::int32_t>(static_cast<std::uint32_t>(seq) - marker) > 0;
45}
46
47// What the marker history keeps of each recorded dispatch: enough to name one that left the report's 64-entry list.
48struct MarkedDispatch {
49 std::uint64_t seq = 0;
50 std::uint64_t execute_call = 0;
51 VkQueue queue = VK_NULL_HANDLE;
52 const char* queue_kind = nullptr;
53 std::uint32_t list = 0;
54 std::uint32_t command = 0;
55 const char* shader = nullptr; // ShaderLibrary name, valid until device teardown
56};
57
58// The recent dispatches of every queue, oldest first once read. Allocated once, when the markers are on.
59class MarkerHistory {
60public:
61 static constexpr std::size_t capacity = 16384;
62
63 MarkerHistory() : entries_(capacity) {}
64
65 void push(const MarkedDispatch& d) { entries_[count_++ % capacity] = d; }
66
67 std::size_t size() const { return count_ < capacity ? count_ : capacity; }
68
69 template<typename Visit>
70 void for_each(Visit&& visit) const { // oldest first
71 for (std::size_t i = count_ - size(); i < count_; ++i) visit(entries_[i % capacity]);
72 }
73
74private:
75 std::vector<MarkedDispatch> entries_;
76 std::size_t count_ = 0;
77};
78
79// What one queue's slot says, judged against the history (MarkerHistory::for_each order).
80struct MarkerQueueReport {
81 MarkerSlot slot;
82 const char* queue_kind = nullptr; // from the history, null when it holds no dispatch of the queue
83 std::vector<std::uint64_t> unfinished; // seqs of this queue in (finished, started], oldest first
84 std::uint64_t likely_hang = 0; // the oldest of them; 0 when none was started and not finished
85 std::uint64_t next_queued = 0; // idle queue: the oldest submitted dispatch after `finished`, not started yet
86 bool missing = false; // started > finished but the history no longer holds any of them
87
88 bool idle() const { return slot.started == slot.finished; }
89};
90
91template<typename History>
92MarkerQueueReport judge_markers(VkQueue queue, MarkerSlot slot, const History& history) {
93 MarkerQueueReport report;
94 // The started word is written before the finished word of the same dispatch and both only rise, so started is
95 // never behind; a value that says otherwise (memory lost in a reset) is read as an idle queue.
96 if (slot.started != slot.finished && !marker_after(slot.started, slot.finished)) slot.started = slot.finished;
97 report.slot = slot;
98 history.for_each([&](const MarkedDispatch& d) {
99 if (d.queue != queue) return;
100 if (!report.queue_kind) report.queue_kind = d.queue_kind;
101 if (!marker_after(d.seq, slot.finished)) return;
102 if (!marker_after(d.seq, slot.started)) report.unfinished.push_back(d.seq);
103 else if (!report.next_queued) report.next_queued = d.seq;
104 });
105 if (!report.unfinished.empty()) report.likely_hang = report.unfinished.front();
106 report.missing = !report.idle() && report.unfinished.empty();
107 if (!report.idle()) report.next_queued = 0; // only said of an idle queue
108 return report;
109}
110
111// Where the recorder writes one queue's markers. Empty (no buffer) when the markers are off.
112struct MarkerTarget {
113 PFN_vkCmdWriteBufferMarkerAMD write = nullptr;
114 PFN_vkCmdWriteBufferMarker2AMD write2 = nullptr; // with synchronization2
115 VkBuffer buffer = VK_NULL_HANDLE;
116 VkDeviceSize offset = 0; // the slot: started at +0, finished at +4
117
118 explicit operator bool() const { return buffer != VK_NULL_HANDLE; }
119
120 void started(VkCommandBuffer command_buffer, std::uint64_t seq) const {
121 if (write2)
122 write2(command_buffer, VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT, buffer, offset, std::uint32_t(seq));
123 else
124 write(command_buffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, buffer, offset, std::uint32_t(seq));
125 }
126 void finished(VkCommandBuffer command_buffer, std::uint64_t seq) const {
127 if (write2)
128 write2(command_buffer, VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT, buffer, offset + 4, std::uint32_t(seq));
129 else
130 write(command_buffer, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, buffer, offset + 4, std::uint32_t(seq));
131 }
132};
133
134// The persistent marker buffer: one 8-byte slot per queue, in host-visible, host-coherent memory that stays mapped.
135class DeviceMarkers {
136public:
137 static constexpr std::uint32_t max_queues = 64;
138
139 DeviceMarkers() = default;
140 DeviceMarkers(const DeviceMarkers&) = delete;
141 DeviceMarkers& operator=(const DeviceMarkers&) = delete;
142 ~DeviceMarkers() {
143 if (memory_ && unmap_) unmap_(device_, memory_);
144 if (buffer_ && destroy_buffer_) destroy_buffer_(device_, buffer_, nullptr);
145 if (memory_ && free_memory_) free_memory_(device_, memory_, nullptr);
146 }
147
148 // Returns the VkResult of the step that failed, or VK_SUCCESS.
149 VkResult create(PFN_vkGetDeviceProcAddr get, VkDevice device, const VkPhysicalDeviceMemoryProperties& memory,
150 bool synchronization2) {
151 device_ = device;
152#define LEONIDA_MARKER_LOAD(type, name) const auto name = reinterpret_cast<type>(get(device, #name))
153 LEONIDA_MARKER_LOAD(PFN_vkCreateBuffer, vkCreateBuffer);
154 LEONIDA_MARKER_LOAD(PFN_vkGetBufferMemoryRequirements, vkGetBufferMemoryRequirements);
155 LEONIDA_MARKER_LOAD(PFN_vkAllocateMemory, vkAllocateMemory);
156 LEONIDA_MARKER_LOAD(PFN_vkBindBufferMemory, vkBindBufferMemory);
157 LEONIDA_MARKER_LOAD(PFN_vkMapMemory, vkMapMemory);
158 LEONIDA_MARKER_LOAD(PFN_vkCmdWriteBufferMarkerAMD, vkCmdWriteBufferMarkerAMD);
159 LEONIDA_MARKER_LOAD(PFN_vkCmdWriteBufferMarker2AMD, vkCmdWriteBufferMarker2AMD);
160#undef LEONIDA_MARKER_LOAD
161 destroy_buffer_ = reinterpret_cast<PFN_vkDestroyBuffer>(get(device, "vkDestroyBuffer"));
162 free_memory_ = reinterpret_cast<PFN_vkFreeMemory>(get(device, "vkFreeMemory"));
163 unmap_ = reinterpret_cast<PFN_vkUnmapMemory>(get(device, "vkUnmapMemory"));
164 if (!vkCreateBuffer || !vkGetBufferMemoryRequirements || !vkAllocateMemory || !vkBindBufferMemory ||
165 !vkMapMemory || !destroy_buffer_ || !free_memory_ || !vkCmdWriteBufferMarkerAMD)
166 return VK_ERROR_EXTENSION_NOT_PRESENT;
167 write_ = vkCmdWriteBufferMarkerAMD;
168 write2_ = synchronization2 ? vkCmdWriteBufferMarker2AMD : nullptr;
169 VkBufferCreateInfo info{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO};
170 info.size = VkDeviceSize{8} * max_queues;
171 info.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT;
172 info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; // written by every queue, never read on the GPU
173 VkResult result = vkCreateBuffer(device, &info, nullptr, &buffer_);
174 if (result != VK_SUCCESS) return result;
175 VkMemoryRequirements requirements{};
176 vkGetBufferMemoryRequirements(device, buffer_, &requirements);
177 const std::uint32_t type = memory_type(memory, requirements.memoryTypeBits);
178 if (type == UINT32_MAX) return VK_ERROR_OUT_OF_HOST_MEMORY;
179 VkMemoryAllocateInfo allocate{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO};
180 allocate.allocationSize = requirements.size;
181 allocate.memoryTypeIndex = type;
182 if ((result = vkAllocateMemory(device, &allocate, nullptr, &memory_)) != VK_SUCCESS) return result;
183 if ((result = vkBindBufferMemory(device, buffer_, memory_, 0)) != VK_SUCCESS) return result;
184 void* mapped = nullptr;
185 if ((result = vkMapMemory(device, memory_, 0, VK_WHOLE_SIZE, 0, &mapped)) != VK_SUCCESS) return result;
186 std::memset(mapped, 0, std::size_t(info.size));
187 words_ = static_cast<volatile std::uint32_t*>(mapped);
188 return VK_SUCCESS;
189 }
190
191 bool ready() const { return words_ != nullptr; }
192 bool synchronization2() const { return write2_ != nullptr; }
193
194 // The queue's slot, assigned on first use; false past max_queues.
195 bool add_queue(VkQueue queue) {
196 if (!ready() || !queue) return false;
197 for (std::uint32_t i = 0; i < count_; ++i)
198 if (queues_[i] == queue) return true;
199 if (count_ == max_queues) return false;
200 queues_[count_++] = queue;
201 return true;
202 }
203
204 MarkerTarget target(VkQueue queue) const {
205 for (std::uint32_t i = 0; i < count_; ++i)
206 if (queues_[i] == queue) return {write_, write2_, buffer_, VkDeviceSize{8} * i};
207 return {};
208 }
209
210 std::span<const VkQueue> queues() const { return {queues_.data(), count_}; }
211
212 MarkerSlot read(VkQueue queue) const {
213 for (std::uint32_t i = 0; i < count_; ++i)
214 if (queues_[i] == queue) return {words_[2 * i], words_[2 * i + 1]};
215 return {};
216 }
217
218 // Host-visible and coherent, not device-local if there is such a type: system memory outlives a VRAM reset.
219 static std::uint32_t memory_type(const VkPhysicalDeviceMemoryProperties& memory, std::uint32_t allowed) {
220 constexpr VkMemoryPropertyFlags need = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
221 std::uint32_t fallback = UINT32_MAX;
222 for (std::uint32_t i = 0; i < memory.memoryTypeCount; ++i) {
223 const VkMemoryPropertyFlags flags = memory.memoryTypes[i].propertyFlags;
224 if (!(allowed & (1u << i)) || (flags & need) != need) continue;
225 if (!(flags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) return i;
226 if (fallback == UINT32_MAX) fallback = i;
227 }
228 return fallback;
229 }
230
231private:
232 VkDevice device_ = VK_NULL_HANDLE;
233 PFN_vkDestroyBuffer destroy_buffer_ = nullptr;
234 PFN_vkFreeMemory free_memory_ = nullptr;
235 PFN_vkUnmapMemory unmap_ = nullptr;
236 PFN_vkCmdWriteBufferMarkerAMD write_ = nullptr;
237 PFN_vkCmdWriteBufferMarker2AMD write2_ = nullptr;
238 VkBuffer buffer_ = VK_NULL_HANDLE;
239 VkDeviceMemory memory_ = VK_NULL_HANDLE;
240 volatile std::uint32_t* words_ = nullptr;
241 std::array<VkQueue, max_queues> queues_{};
242 std::uint32_t count_ = 0;
243};
244
245} // namespace leonida
diff --git a/runtime/src/vulkan_indirect_clamp.h b/runtime/src/vulkan_indirect_clamp.h
index e510e3b0c..fcf5cd76b 100644
--- a/runtime/src/vulkan_indirect_clamp.h
+++ b/runtime/src/vulkan_indirect_clamp.h
@@ -5,9 +5,10 @@
5// or garbage record makes a dispatch of billions of groups or a draw of four billion vertices run until the host 5// or garbage record makes a dispatch of billions of groups or a draw of four billion vertices run until the host
6// resets the display driver (TDR, device loss). So, just before the indirect command, one tiny compute pass copies 6// resets the display driver (TDR, device loss). So, just before the indirect command, one tiny compute pass copies
7// the active records into device-local scratch with their values bounded - 2^24 vertices or indices, 2^26 vertex 7// the active records into device-local scratch with their values bounded - 2^24 vertices or indices, 2^26 vertex
8// instances, 65 535 groups per dimension, 2^20 groups per dispatch, and a 2^27-unit work budget per command 8// instances, the device's maxComputeWorkGroupCount per dimension (65 535 for a mesh dispatch), 2^20 groups per
9// list (the shader is indirect_clamp.comp) - and the indirect command reads that scratch. The application's argument 9// dispatch, and a 2^27-unit work budget per command list (the shader is indirect_clamp.comp) - and the indirect
10// and count buffers are left untouched, so values within the limits replay bit-identically. 10// command reads that scratch. The application's argument and count buffers are left untouched, so values within the
11// limits replay bit-identically.
11// 12//
12// One pass covers all four argument kinds the layer can emit (draw, draw indexed, dispatch, mesh dispatch) and the 13// One pass covers all four argument kinds the layer can emit (draw, draw indexed, dispatch, mesh dispatch) and the
13// counted variants, whose count is clamped to max_command_count as well (a *Count draw then reads a count the scratch 14// counted variants, whose count is clamped to max_command_count as well (a *Count draw then reads a count the scratch
@@ -37,6 +38,7 @@
37#include <algorithm> 38#include <algorithm>
38#include <cstdint> 39#include <cstdint>
39#include <cstdio> 40#include <cstdio>
41#include <chrono>
40#include <cstdlib> 42#include <cstdlib>
41#include <cstring> 43#include <cstring>
42#include <memory> 44#include <memory>
@@ -60,11 +62,27 @@ inline constexpr std::uint32_t indirect_clamp_mesh = 3;
60 62
61// What the pass bounds, as indirect_clamp.comp states them. 63// What the pass bounds, as indirect_clamp.comp states them.
62inline constexpr std::uint32_t indirect_clamp_max_vertices = 1u << 24; 64inline constexpr std::uint32_t indirect_clamp_max_vertices = 1u << 24;
65// A draw record of this many vertices or indices an instance, or more, is unfilled: it runs empty and charges nothing
66// (RT-INDIRECT-DRAW-UNFILLED-COUNT), so garbage counts cannot use up the list budget ahead of the real draws.
67inline constexpr std::uint32_t indirect_clamp_unfilled_draw = 1u << 23;
63inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26; 68inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26;
69// Groups in a mesh dispatch's x. A compute dispatch is bounded by the device's maxComputeWorkGroupCount instead
70// (indirect_clamp_dispatch_limit), which on NVIDIA, for one, is far above Vulkan's guaranteed 65 535 in x.
64inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u; 71inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u;
65inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20; 72inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20;
73// The x a dispatch record was cut at before the device's limit applied, which the dispatch counters compare with.
74inline constexpr std::uint32_t indirect_clamp_narrow_groups = 65535u;
66inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27; 75inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27;
67 76
77// What the pass lets a dispatch record ask for in x, y and z: the device's own maxComputeWorkGroupCount. A fixed
78// 65 535 cut a dispatch of more groups in x short on a device that runs them, and the groups past the cut never wrote
79// their output (blocky patches; the idea is from codec-d/cool_fox docs/findings.md). A limit the device reports as 0
80// is taken as Vulkan's guaranteed minimum.
81inline std::uint32_t indirect_clamp_dispatch_limit(const VkPhysicalDeviceLimits& limits, int axis) {
82 const std::uint32_t limit = limits.maxComputeWorkGroupCount[axis];
83 return limit ? limit : indirect_clamp_max_group_dimension;
84}
85
68// The largest scratch allocation accepted for one ExecuteIndirect call. 86// The largest scratch allocation accepted for one ExecuteIndirect call.
69inline constexpr std::uint64_t indirect_clamp_max_scratch_bytes = std::uint64_t(64) << 20; 87inline constexpr std::uint64_t indirect_clamp_max_scratch_bytes = std::uint64_t(64) << 20;
70 88
@@ -135,7 +153,8 @@ public:
135 153
136 IndirectArgumentClamp(PFN_vkGetDeviceProcAddr get, VkDevice device, const VkPhysicalDeviceMemoryProperties& memory, 154 IndirectArgumentClamp(PFN_vkGetDeviceProcAddr get, VkDevice device, const VkPhysicalDeviceMemoryProperties& memory,
137 const VkPhysicalDeviceLimits& limits, Allocate allocate, 155 const VkPhysicalDeviceLimits& limits, Allocate allocate,
138 DeviceFaultDiagnostics* diagnostics = nullptr); 156 DeviceFaultDiagnostics* diagnostics = nullptr,
157 std::vector<std::uint32_t> families = {});
139 ~IndirectArgumentClamp(); 158 ~IndirectArgumentClamp();
140 IndirectArgumentClamp(const IndirectArgumentClamp&) = delete; 159 IndirectArgumentClamp(const IndirectArgumentClamp&) = delete;
141 IndirectArgumentClamp& operator=(const IndirectArgumentClamp&) = delete; 160 IndirectArgumentClamp& operator=(const IndirectArgumentClamp&) = delete;
@@ -160,6 +179,17 @@ public:
160 std::uint64_t zeroed = 0; 179 std::uint64_t zeroed = 0;
161 std::uint64_t unclamped_calls = 0; // the fallbacks: calls the pool or the limits left to the replay 180 std::uint64_t unclamped_calls = 0; // the fallbacks: calls the pool or the limits left to the replay
162 std::uint64_t uncounted_calls = 0; // clamped with no counter slot free: their counters are not read back 181 std::uint64_t uncounted_calls = 0; // clamped with no counter slot free: their counters are not read back
182 // Mesh records before the clamp: all active ones, those with y > 1 or z > 1, and the largest y and z asked.
183 std::uint64_t mesh_records = 0;
184 std::uint64_t mesh_yz_records = 0;
185 std::uint32_t mesh_max_y = 0;
186 std::uint32_t mesh_max_z = 0;
187 // Dispatch records after the clamp: all of them, those that run wider than 65 535 groups in x (the old cut),
188 // the widest x that runs, and those cut at the device's own limits.
189 std::uint64_t dispatch_records = 0;
190 std::uint64_t dispatch_wide = 0;
191 std::uint32_t dispatch_widest = 0;
192 std::uint64_t dispatch_cut = 0;
163 }; 193 };
164 194
165 // One submission's clamp state: the counter slots its calls claimed, read and released together once that 195 // One submission's clamp state: the counter slots its calls claimed, read and released together once that
@@ -189,7 +219,14 @@ public:
189 if (counted) owner_.release_one(slot); 219 if (counted) owner_.release_one(slot);
190 return false; 220 return false;
191 } 221 }
192 if (counted) slots_.push_back(slot); 222 if (counted) {
223 try {
224 slots_.push_back(slot);
225 } catch (...) {
226 owner_.release_one(slot);
227 throw;
228 }
229 }
193 return true; 230 return true;
194 } 231 }
195 232
@@ -218,7 +255,7 @@ private:
218 VkDeviceMemory memory = VK_NULL_HANDLE; 255 VkDeviceMemory memory = VK_NULL_HANDLE;
219 std::uint8_t* host = nullptr; 256 std::uint8_t* host = nullptr;
220 std::uint32_t slots = 0; 257 std::uint32_t slots = 0;
221 static constexpr std::uint32_t slot_bytes = 32; // 16 bytes of counters, 16 of padding 258 static constexpr std::uint32_t slot_bytes = 64; // 16 words of counters (words 4-7 unused)
222 }; 259 };
223 static constexpr std::uint32_t slots_per_area = 64; 260 static constexpr std::uint32_t slots_per_area = 64;
224 // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the 261 // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the
@@ -240,7 +277,7 @@ private:
240 VkDevice device_; 277 VkDevice device_;
241 VkPhysicalDeviceMemoryProperties memory_{}; 278 VkPhysicalDeviceMemoryProperties memory_{};
242 VkPhysicalDeviceLimits limits_{}; 279 VkPhysicalDeviceLimits limits_{};
243 DeviceFaultDiagnostics* diagnostics_ = nullptr; 280 std::vector<std::uint32_t> families_;
244 ScratchBuffers scratch_; 281 ScratchBuffers scratch_;
245 VkPipelineLayout layout_ = VK_NULL_HANDLE; 282 VkPipelineLayout layout_ = VK_NULL_HANDLE;
246 VkPipeline pipeline_ = VK_NULL_HANDLE; 283 VkPipeline pipeline_ = VK_NULL_HANDLE;
@@ -250,11 +287,13 @@ private:
250 std::vector<Slot> free_slots_; 287 std::vector<Slot> free_slots_;
251 Counters counters_{}; 288 Counters counters_{};
252 std::uint64_t next_report_frame_ = 0; 289 std::uint64_t next_report_frame_ = 0;
290 std::chrono::steady_clock::time_point next_mesh_report_{};
291 std::chrono::steady_clock::time_point next_dispatch_report_{};
253}; 292};
254 293
255namespace detail { 294namespace detail {
256 295
257// One clamp pass's push-constant block. The shader's block is the same: five device addresses, then the six words. 296// One clamp pass's push-constant block. The shader's block is the same: six device addresses, then the ten words.
258struct IndirectClampPush { 297struct IndirectClampPush {
259 VkDeviceAddress arguments; 298 VkDeviceAddress arguments;
260 VkDeviceAddress count; 299 VkDeviceAddress count;
@@ -268,8 +307,12 @@ struct IndirectClampPush {
268 std::uint32_t first_record; 307 std::uint32_t first_record;
269 std::uint32_t max_records; 308 std::uint32_t max_records;
270 std::uint32_t flags; 309 std::uint32_t flags;
310 std::uint32_t max_x; // indirect_clamp_dispatch_limit per axis
311 std::uint32_t max_y;
312 std::uint32_t max_z;
313 std::uint32_t reserved;
271}; 314};
272static_assert(sizeof(IndirectClampPush) == 72); 315static_assert(sizeof(IndirectClampPush) == 88);
273 316
274inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage = 317inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage =
275 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | 318 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT |
@@ -281,9 +324,10 @@ inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage =
281inline IndirectArgumentClamp::IndirectArgumentClamp(PFN_vkGetDeviceProcAddr get, VkDevice device, 324inline IndirectArgumentClamp::IndirectArgumentClamp(PFN_vkGetDeviceProcAddr get, VkDevice device,
282 const VkPhysicalDeviceMemoryProperties& memory, 325 const VkPhysicalDeviceMemoryProperties& memory,
283 const VkPhysicalDeviceLimits& limits, Allocate allocate, 326 const VkPhysicalDeviceLimits& limits, Allocate allocate,
284 DeviceFaultDiagnostics* diagnostics) 327 DeviceFaultDiagnostics* diagnostics,
285 : get_(get), device_(device), memory_(memory), limits_(limits), diagnostics_(diagnostics), 328 std::vector<std::uint32_t> families)
286 scratch_(get, device, std::move(allocate), diagnostics, detail::indirect_clamp_scratch_usage) {} 329 : get_(get), device_(device), memory_(memory), limits_(limits), families_(std::move(families)),
330 scratch_(get, device, std::move(allocate), diagnostics, detail::indirect_clamp_scratch_usage, families_) {}
287 331
288inline IndirectArgumentClamp::~IndirectArgumentClamp() { 332inline IndirectArgumentClamp::~IndirectArgumentClamp() {
289 const auto destroy_pipeline = fn<PFN_vkDestroyPipeline>("vkDestroyPipeline"); 333 const auto destroy_pipeline = fn<PFN_vkDestroyPipeline>("vkDestroyPipeline");
@@ -354,7 +398,17 @@ inline bool IndirectArgumentClamp::make_area() {
354 VkBufferCreateInfo info{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; 398 VkBufferCreateInfo info{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO};
355 info.size = VkDeviceSize(area.slots) * HostArea::slot_bytes; 399 info.size = VkDeviceSize(area.slots) * HostArea::slot_bytes;
356 info.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT; 400 info.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT;
401 // Direct and async-compute queues copy counter slots into the same HostArea buffer concurrently.
402 share_across_queue_families(info, families_);
357 if (create_buffer(device_, &info, nullptr, &area.buffer) != VK_SUCCESS) return false; 403 if (create_buffer(device_, &info, nullptr, &area.buffer) != VK_SUCCESS) return false;
404 const auto destroy_buffer = fn<PFN_vkDestroyBuffer>("vkDestroyBuffer");
405 const auto free_memory = fn<PFN_vkFreeMemory>("vkFreeMemory");
406 const auto cleanup = [&] {
407 if (area.buffer && destroy_buffer) destroy_buffer(device_, area.buffer, nullptr);
408 if (area.memory && free_memory) free_memory(device_, area.memory, nullptr);
409 area.buffer = VK_NULL_HANDLE;
410 area.memory = VK_NULL_HANDLE;
411 };
358 VkMemoryRequirements requirements{}; 412 VkMemoryRequirements requirements{};
359 requirements_fn(device_, area.buffer, &requirements); 413 requirements_fn(device_, area.buffer, &requirements);
360 VkMemoryAllocateInfo allocation{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; 414 VkMemoryAllocateInfo allocation{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO};
@@ -371,16 +425,23 @@ inline bool IndirectArgumentClamp::make_area() {
371 } 425 }
372 bound = bind_fn(device_, area.buffer, area.memory, 0) == VK_SUCCESS; 426 bound = bind_fn(device_, area.buffer, area.memory, 0) == VK_SUCCESS;
373 if (bound) break; 427 if (bound) break;
428 if (free_memory) free_memory(device_, area.memory, nullptr);
429 area.memory = VK_NULL_HANDLE;
374 } 430 }
375 if (!bound || map_fn(device_, area.memory, 0, info.size, 0, reinterpret_cast<void**>(&area.host)) != VK_SUCCESS) { 431 if (!bound || map_fn(device_, area.memory, 0, info.size, 0, reinterpret_cast<void**>(&area.host)) != VK_SUCCESS) {
376 const auto destroy_buffer = fn<PFN_vkDestroyBuffer>("vkDestroyBuffer"); 432 cleanup();
377 const auto free_memory = fn<PFN_vkFreeMemory>("vkFreeMemory");
378 if (area.buffer && destroy_buffer) destroy_buffer(device_, area.buffer, nullptr);
379 if (area.memory && free_memory) free_memory(device_, area.memory, nullptr);
380 return false; 433 return false;
381 } 434 }
382 std::memset(area.host, 0, size_t(info.size)); 435 std::memset(area.host, 0, size_t(info.size));
383 for (std::uint32_t i = 0; i < area.slots; ++i) free_slots_.push_back({std::uint32_t(areas_.size()), i}); 436 try {
437 free_slots_.reserve(free_slots_.size() + area.slots);
438 areas_.reserve(areas_.size() + 1);
439 } catch (...) {
440 cleanup();
441 throw;
442 }
443 const auto area_index = std::uint32_t(areas_.size());
444 for (std::uint32_t i = 0; i < area.slots; ++i) free_slots_.push_back({area_index, i});
384 areas_.push_back(area); 445 areas_.push_back(area);
385 return true; 446 return true;
386} 447}
@@ -408,12 +469,23 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read)
408 for (const Slot& slot : slots) { 469 for (const Slot& slot : slots) {
409 if (read && slot.area < areas_.size() && slot.index < areas_[slot.area].slots) { 470 if (read && slot.area < areas_.size() && slot.index < areas_[slot.area].slots) {
410 const HostArea& area = areas_[slot.area]; 471 const HostArea& area = areas_[slot.area];
411 const std::uint32_t* words = 472 auto* words =
412 reinterpret_cast<const std::uint32_t*>(area.host + std::size_t(slot.index) * HostArea::slot_bytes); 473 reinterpret_cast<std::uint32_t*>(area.host + std::size_t(slot.index) * HostArea::slot_bytes);
413 delta.records_clamped += words[0]; 474 delta.records_clamped += words[0];
414 delta.counts_clamped += words[1]; 475 delta.counts_clamped += words[1];
415 delta.over_budget += words[2]; 476 delta.over_budget += words[2];
416 delta.zeroed += words[3]; 477 delta.zeroed += words[3];
478 delta.mesh_records += words[8];
479 delta.mesh_yz_records += words[9];
480 delta.mesh_max_y = std::max(delta.mesh_max_y, words[10]);
481 delta.mesh_max_z = std::max(delta.mesh_max_z, words[11]);
482 delta.dispatch_wide += words[12];
483 delta.dispatch_widest = std::max(delta.dispatch_widest, words[13]);
484 delta.dispatch_cut += words[14];
485 delta.dispatch_records += words[15];
486 // Clear after reading so a later aborted batch that reuses this slot without submitting never
487 // double-counts a previous submission's counters.
488 std::memset(words, 0, HostArea::slot_bytes);
417 } 489 }
418 free_slots_.push_back(slot); 490 free_slots_.push_back(slot);
419 } 491 }
@@ -421,6 +493,36 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read)
421 counters_.counts_clamped += delta.counts_clamped; 493 counters_.counts_clamped += delta.counts_clamped;
422 counters_.over_budget += delta.over_budget; 494 counters_.over_budget += delta.over_budget;
423 counters_.zeroed += delta.zeroed; 495 counters_.zeroed += delta.zeroed;
496 counters_.mesh_records += delta.mesh_records;
497 counters_.mesh_yz_records += delta.mesh_yz_records;
498 counters_.mesh_max_y = std::max(counters_.mesh_max_y, delta.mesh_max_y);
499 counters_.mesh_max_z = std::max(counters_.mesh_max_z, delta.mesh_max_z);
500 counters_.dispatch_records += delta.dispatch_records;
501 counters_.dispatch_wide += delta.dispatch_wide;
502 counters_.dispatch_widest = std::max(counters_.dispatch_widest, delta.dispatch_widest);
503 counters_.dispatch_cut += delta.dispatch_cut;
504 // One line every 10 s while mesh records are clamped: does the console's mesh dispatch use y or z?
505 const auto now = std::chrono::steady_clock::now();
506 if (read && counters_.mesh_records && now >= next_mesh_report_) {
507 next_mesh_report_ = now + std::chrono::seconds(10);
508 std::fprintf(stderr, "[rt] indirect clamp mesh: %llu records, %llu with y > 1 or z > 1 (forced to 1), "
509 "max y %u, max z %u\n",
510 static_cast<unsigned long long>(counters_.mesh_records),
511 static_cast<unsigned long long>(counters_.mesh_yz_records), counters_.mesh_max_y,
512 counters_.mesh_max_z);
513 }
514 // One line every 10 s while dispatch records are clamped: how wide the title's dispatches are, and whether
515 // the device's limits cut any (a device whose x limit is 65 535 still cuts a wider record).
516 if (read && counters_.dispatch_records && now >= next_dispatch_report_) {
517 next_dispatch_report_ = now + std::chrono::seconds(10);
518 std::fprintf(stderr, "[rt] indirect clamp dispatch: %llu records, %llu wider than %u groups in x, widest x %u, "
519 "%llu cut at the device's limits (%u x %u x %u)\n",
520 static_cast<unsigned long long>(counters_.dispatch_records),
521 static_cast<unsigned long long>(counters_.dispatch_wide), indirect_clamp_narrow_groups,
522 counters_.dispatch_widest, static_cast<unsigned long long>(counters_.dispatch_cut),
523 indirect_clamp_dispatch_limit(limits_, 0), indirect_clamp_dispatch_limit(limits_, 1),
524 indirect_clamp_dispatch_limit(limits_, 2));
525 }
424 const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed); 526 const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed);
425 if (read && calls && frame >= next_report_frame_) { 527 if (read && calls && frame >= next_report_frame_) {
426 next_report_frame_ = frame + 60; 528 next_report_frame_ = frame + 60;
@@ -461,8 +563,9 @@ inline bool IndirectArgumentClamp::prepare(VkBuffer arguments, VkDeviceSize argu
461 std::uint32_t max_count, Slot slot, ClampedIndirect& out) { 563 std::uint32_t max_count, Slot slot, ClampedIndirect& out) {
462 out = {}; 564 out = {};
463 const std::uint32_t record_size = indirect_clamp_record_size(kind); 565 const std::uint32_t record_size = indirect_clamp_record_size(kind);
464 if (kind > indirect_clamp_mesh || !arguments || !max_count || stride < record_size || stride % 4) { 566 if (kind > indirect_clamp_mesh || !arguments || !max_count || stride < record_size || stride % 4 ||
465 fallback("an argument stride this pass does not handle"); 567 (argument_offset % 4) != 0 || (count && (count_offset % 4) != 0)) {
568 fallback("an argument stride or offset this pass does not handle");
466 return false; 569 return false;
467 } 570 }
468 const VkDeviceSize records_bytes = VkDeviceSize(max_count) * record_size; 571 const VkDeviceSize records_bytes = VkDeviceSize(max_count) * record_size;
@@ -514,10 +617,10 @@ inline bool IndirectArgumentClamp::prepare(VkBuffer arguments, VkDeviceSize argu
514 out.stats = address + stats_scratch; 617 out.stats = address + stats_scratch;
515 out.list_budget = out.stats + 4 * sizeof(std::uint32_t); 618 out.list_budget = out.stats + 4 * sizeof(std::uint32_t);
516 out.stats_scratch_offset = offset + stats_scratch; 619 out.stats_scratch_offset = offset + stats_scratch;
517 out.stats_buffer = slot.area == no_slot ? VK_NULL_HANDLE : areas_[slot.area].buffer; // no_slot: no copy-back
518 out.stats_offset = slot.area == no_slot ? 0 : VkDeviceSize(slot.index) * HostArea::slot_bytes; 620 out.stats_offset = slot.area == no_slot ? 0 : VkDeviceSize(slot.index) * HostArea::slot_bytes;
519 { 621 {
520 std::lock_guard lock(mutex_); 622 std::lock_guard lock(mutex_);
623 out.stats_buffer = slot.area == no_slot ? VK_NULL_HANDLE : areas_[slot.area].buffer; // no_slot: no copy-back
521 ++counters_.calls; 624 ++counters_.calls;
522 counters_.records += max_count; 625 counters_.records += max_count;
523 } 626 }
@@ -532,6 +635,8 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec
532 // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A 635 // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A
533 // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes. 636 // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes.
534 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0); 637 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0);
638 // Words 8-15: the mesh and dispatch counters.
639 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset + 32, 32, 0);
535 VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; 640 VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
536 before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments 641 before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments
537 before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; 642 before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
@@ -559,7 +664,11 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec
559 std::uint32_t(first), 664 std::uint32_t(first),
560 job.max_records, 665 job.max_records,
561 (job.kind == indirect_clamp_dispatch ? indirect_group_budget() << 1 : 0u) | 666 (job.kind == indirect_clamp_dispatch ? indirect_group_budget() << 1 : 0u) |
562 (job.counted ? 1u : 0u)}; 667 (job.counted ? 1u : 0u),
668 indirect_clamp_dispatch_limit(limits_, 0),
669 indirect_clamp_dispatch_limit(limits_, 1),
670 indirect_clamp_dispatch_limit(limits_, 2),
671 0u};
563 push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(constants), &constants); 672 push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(constants), &constants);
564 dispatch(cb, (records - 1u) / 64u + 1u, 1, 1); 673 dispatch(cb, (records - 1u) / 64u + 1u, 1, 1);
565 first += records; 674 first += records;
@@ -570,7 +679,7 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec
570 after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; 679 after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT;
571 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr, 680 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr,
572 0, nullptr); 681 0, nullptr);
573 VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 4 * sizeof(std::uint32_t)}; 682 VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 16 * sizeof(std::uint32_t)};
574 fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, &copy); 683 fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, &copy);
575 } 684 }
576 // The indirect command reads the records, and nothing else may read them while it does. 685 // The indirect command reads the records, and nothing else may read them while it does.
diff --git a/runtime/src/vulkan_memory_budget.h b/runtime/src/vulkan_memory_budget.h
new file mode 100644
index 000000000..e9bc549b1
--- /dev/null
+++ b/runtime/src/vulkan_memory_budget.h
@@ -0,0 +1,46 @@
1#pragma once
2
3// VK_EXT_memory_budget: how much GPU memory this process uses and may use, read from the Vulkan device itself. The
4// device publishes it (memory_figures.h) for the title HUD (shims/title_hud.h, LEONIDA_TITLE_HUD) and the dev overlay
5// (dev_overlay.h, LEONIDA_DEV_OVERLAY); DXGI's QueryVideoMemoryInfo, which the HUD read before, is 0 under Wine. The
6// sums depend only on the two Vulkan structures, so a test can feed them made-up heaps.
7
8#ifndef VK_NO_PROTOTYPES
9#define VK_NO_PROTOTYPES
10#endif
11#include <vulkan/vulkan.h>
12
13#include <cstdint>
14
15#include "memory_figures.h" // VramBudget
16
17namespace leonida {
18
19inline VramBudget sum_vram_budget(const VkPhysicalDeviceMemoryProperties& memory,
20 const VkPhysicalDeviceMemoryBudgetPropertiesEXT& budget) {
21 VramBudget out;
22 for (std::uint32_t i = 0; i < memory.memoryHeapCount && i < VK_MAX_MEMORY_HEAPS; ++i) {
23 if (memory.memoryHeaps[i].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT) {
24 out.local_usage += budget.heapUsage[i];
25 out.local_budget += budget.heapBudget[i];
26 } else {
27 out.shared_usage += budget.heapUsage[i];
28 }
29 }
30 out.available = out.local_budget != 0;
31 return out;
32}
33
34// Reads the budget now. `physical` must have VK_EXT_memory_budget (enabled on the logical device, as the runtime's
35// device does). One vkGetPhysicalDeviceMemoryProperties2 call, which needs no external synchronization, so another
36// thread (the HUD's or the overlay's) may call it while the device is in use.
37inline VramBudget query_vram_budget(PFN_vkGetPhysicalDeviceMemoryProperties2 get_memory_properties2,
38 VkPhysicalDevice physical) {
39 if (!get_memory_properties2 || physical == VK_NULL_HANDLE) return {};
40 VkPhysicalDeviceMemoryBudgetPropertiesEXT budget{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT};
41 VkPhysicalDeviceMemoryProperties2 properties{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2, &budget};
42 get_memory_properties2(physical, &properties);
43 return sum_vram_budget(properties.memoryProperties, budget);
44}
45
46} // namespace leonida
diff --git a/runtime/src/vulkan_present.h b/runtime/src/vulkan_present.h
index d494233d3..da9376e54 100644
--- a/runtime/src/vulkan_present.h
+++ b/runtime/src/vulkan_present.h
@@ -183,7 +183,7 @@ public:
183 std::error_code created; 183 std::error_code created;
184 std::filesystem::create_directories(capture_dir_, created); 184 std::filesystem::create_directories(capture_dir_, created);
185 capture_to_disk_ = true; 185 capture_to_disk_ = true;
186 capture_ = true; // the swapchain needs TRANSFER_SRC, and every frame copies into a staging buffer 186 capture_ = true; // provision TRANSFER_SRC and staging; disk-only copies follow the requested cadence
187 if (const char* every = std::getenv("LEONIDA_CAPTURE_EVERY")) capture_every_ = std::max(1, std::atoi(every)); 187 if (const char* every = std::getenv("LEONIDA_CAPTURE_EVERY")) capture_every_ = std::max(1, std::atoi(every));
188 if (const char* limit = std::getenv("LEONIDA_CAPTURE_LIMIT")) capture_limit_ = std::max(1, std::atoi(limit)); 188 if (const char* limit = std::getenv("LEONIDA_CAPTURE_LIMIT")) capture_limit_ = std::max(1, std::atoi(limit));
189 std::fprintf(stderr, "[rt] present: capture on: every %d presented frame(s), at most %d, into %s\n", 189 std::fprintf(stderr, "[rt] present: capture on: every %d presented frame(s), at most %d, into %s\n",
@@ -212,6 +212,7 @@ public:
212 const VkDevice device = context_.device(); 212 const VkDevice device = context_.device();
213 { 213 {
214 std::lock_guard lock(context_.submit_mutex()); 214 std::lock_guard lock(context_.submit_mutex());
215 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
215 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)"); 216 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)");
216 // A WSI layer may perform a device-wide idle while destroying the swapchain. 217 // A WSI layer may perform a device-wide idle while destroying the swapchain.
217 // Keep that implicit idle serialized with submits from every context queue. 218 // Keep that implicit idle serialized with submits from every context queue.
@@ -348,15 +349,9 @@ public:
348 // Call before the first present. 349 // Call before the first present.
349 bool enable_capture() { 350 bool enable_capture() {
350 std::lock_guard lock(present_mutex_); 351 std::lock_guard lock(present_mutex_);
351 if (!ok_) return false;
352 splash_capture_only_ = false; 352 splash_capture_only_ = false;
353 capture_ = true; 353 continuous_readback_ = enable_capture_storage();
354 stale_ = true; 354 return continuous_readback_;
355 if (!recreate(vsync_, swapchain_srgb_, swapchain_hdr_req_) || (swapchain_ && !capture_buffer_)) {
356 capture_ = false;
357 return false;
358 }
359 return true;
360 } 355 }
361 356
362 // Present the shell image immediately. Keep it on screen until the window has a non-black title frame. 357 // Present the shell image immediately. Keep it on screen until the window has a non-black title frame.
@@ -365,7 +360,7 @@ public:
365 // The last presented frame as the swapchain stores it (4 bytes a texel, rows tightly packed, format() order). 360 // The last presented frame as the swapchain stores it (4 bytes a texel, rows tightly packed, format() order).
366 // Waits for the frame to finish. False when nothing was presented since enable_capture(), after a present 361 // Waits for the frame to finish. False when nothing was presented since enable_capture(), after a present
367 // that was skipped because the window is minimised (it returned VK_SUCCESS but showed nothing), until the next 362 // that was skipped because the window is minimised (it returned VK_SUCCESS but showed nothing), until the next
368 // frame that is shown (the frame before it is not what the window was last asked to show), or when the wait fails. 363 // frame that is shown, on an unsampled disk-only present, or when the wait fails.
369 bool read_back(std::vector<std::uint8_t>& pixels, VkExtent2D* extent, VkFormat* format) { 364 bool read_back(std::vector<std::uint8_t>& pixels, VkExtent2D* extent, VkFormat* format) {
370 std::lock_guard lock(present_mutex_); 365 std::lock_guard lock(present_mutex_);
371 if (!capture_ || !capture_ptr_ || !captured_) return false; 366 if (!capture_ || !capture_ptr_ || !captured_) return false;
@@ -416,6 +411,19 @@ public:
416 } 411 }
417 412
418private: 413private:
414 // Called with present_mutex_ held. Reserving staging for the splash or rare disk samples
415 // is distinct from promising the caller a copy of every frame through read_back().
416 bool enable_capture_storage() {
417 if (!ok_) return false;
418 capture_ = true;
419 stale_ = true;
420 if (!recreate(vsync_, swapchain_srgb_, swapchain_hdr_req_) || (swapchain_ && !capture_buffer_)) {
421 capture_ = false;
422 return false;
423 }
424 return true;
425 }
426
419 bool should_abort() { 427 bool should_abort() {
420 std::function<bool()> abort; 428 std::function<bool()> abort;
421 { 429 {
@@ -507,14 +515,13 @@ private:
507 if ((binding || planes) && !(format_features(format_) & VK_FORMAT_FEATURE_BLIT_DST_BIT)) 515 if ((binding || planes) && !(format_features(format_) & VK_FORMAT_FEATURE_BLIT_DST_BIT))
508 return VK_ERROR_FORMAT_NOT_SUPPORTED; 516 return VK_ERROR_FORMAT_NOT_SUPPORTED;
509 if (planes && !prepare_compose()) return VK_ERROR_FORMAT_NOT_SUPPORTED; 517 if (planes && !prepare_compose()) return VK_ERROR_FORMAT_NOT_SUPPORTED;
510 auto& vk = context_.vk;
511 const VkDevice device = context_.device(); 518 const VkDevice device = context_.device();
512 Frame& frame = frames_[frame_index_ % frames_.size()]; 519 Frame& frame = frames_[frame_index_ % frames_.size()];
513 if (const VkResult waited = context_.observe_result( 520 if (const VkResult waited = context_.observe_result(
514 vkWaitForFences_(device, 1, &frame.done, VK_TRUE, UINT64_MAX), "vkWaitForFences (present)"); 521 vkWaitForFences_(device, 1, &frame.done, VK_TRUE, UINT64_MAX), "vkWaitForFences (present)");
515 waited != VK_SUCCESS) 522 waited != VK_SUCCESS)
516 return stop(waited); 523 return stop(waited);
517 // Every submit copies into the same mapped buffer, even if its frame is outside the disk capture stride. 524 // Drain the preceding disk sample before reusing its fence or advancing its metadata.
518 if (const VkResult r = finish_pending_capture(); r != VK_SUCCESS) return stop(r); 525 if (const VkResult r = finish_pending_capture(); r != VK_SUCCESS) return stop(r);
519 526
520 std::uint32_t image = 0; 527 std::uint32_t image = 0;
@@ -537,6 +544,15 @@ private:
537 // An out-of-date retry above may have given the swapchain another extent: the compose target follows it. 544 // An out-of-date retry above may have given the swapchain another extent: the compose target follows it.
538 if (planes && !prepare_compose()) return give_back(frame, VK_ERROR_FORMAT_NOT_SUPPORTED); 545 if (planes && !prepare_compose()) return give_back(frame, VK_ERROR_FORMAT_NOT_SUPPORTED);
539 546
547 // The ordinal counts accepted presents, not submissions or deferred requests. Decide after
548 // draining the previous disk sample and any acquire/recreate retry; an unshown attempt consumes no slot.
549 const bool disk_sample = capture_to_disk_ && capture_written_ < capture_limit_ &&
550 presented_ % std::uint64_t(capture_every_) == 0;
551 const bool inspect = splash_owner_ && capture_ptr_;
552 // Merely allocating a temporary splash buffer does not require a copy. In particular, a minimized
553 // initial splash can return before taking ownership; later ordinary frames must not become continuous.
554 const bool copy_frame = capture_buffer_ && ((capture_ && (disk_sample || continuous_readback_ || inspect)) || dump_.due(presented_));
555 captured_ = false; // never expose a stale sample after an unsampled or unshown frame
540 bool recorded = false; 556 bool recorded = false;
541 std::unique_lock tracker_lock(context_.tracker_mutex_, std::defer_lock); 557 std::unique_lock tracker_lock(context_.tracker_mutex_, std::defer_lock);
542 bool rollback_source = false; 558 bool rollback_source = false;
@@ -561,7 +577,8 @@ private:
561 plane_rollbacks[i].tracked = context_.tracker_.tracked(plane_rollbacks[i].id); 577 plane_rollbacks[i].tracked = context_.tracker_.tracked(plane_rollbacks[i].id);
562 if (plane_rollbacks[i].tracked) plane_rollbacks[i].layout = context_.tracker_.layout(plane_rollbacks[i].id, 0); 578 if (plane_rollbacks[i].tracked) plane_rollbacks[i].layout = context_.tracker_.layout(plane_rollbacks[i].id, 0);
563 } 579 }
564 recorded = record_planes(frame, std::uint32_t(frame_index_ % frames_.size()), current, *planes, image); 580 recorded = record_planes(frame, std::uint32_t(frame_index_ % frames_.size()), current, *planes,
581 image, copy_frame);
565 } 582 }
566 } 583 }
567 } else if (binding) { 584 } else if (binding) {
@@ -574,11 +591,11 @@ private:
574 tracker_lock.lock(); 591 tracker_lock.lock();
575 rollback_source = context_.tracker_.tracked(source); 592 rollback_source = context_.tracker_.tracked(source);
576 if (rollback_source) prev_layout = context_.tracker_.layout(source, 0); 593 if (rollback_source) prev_layout = context_.tracker_.layout(source, 0);
577 record(frame.commands, *current, source, image, source_rect); 594 record(frame.commands, *current, source, image, source_rect, copy_frame);
578 recorded = true; 595 recorded = true;
579 } 596 }
580 } else { 597 } else {
581 record_blank(frame.commands, image); 598 record_blank(frame.commands, image, copy_frame);
582 recorded = true; 599 recorded = true;
583 } 600 }
584 const auto rollback = [&] { 601 const auto rollback = [&] {
@@ -624,7 +641,6 @@ private:
624 const bool tearing = false; 641 const bool tearing = false;
625 (void)tear; 642 (void)tear;
626#endif 643#endif
627 const bool inspect = splash_owner_ && capture_ptr_;
628 bool show_title = false; 644 bool show_title = false;
629 if (inspect) { 645 if (inspect) {
630 submit_info.signalSemaphoreCount = 0; // signal ready only after choosing the image the window will show 646 submit_info.signalSemaphoreCount = 0; // signal ready only after choosing the image the window will show
@@ -633,7 +649,11 @@ private:
633 VkResult submitted, result = VK_SUCCESS; 649 VkResult submitted, result = VK_SUCCESS;
634 { 650 {
635 std::lock_guard lock(context_.submit_mutex()); 651 std::lock_guard lock(context_.submit_mutex());
636 submitted = context_.observe_result(vk.vkQueueSubmit(queue_, 1, &submit_info, frame.done), 652 // One turn of the compile gate for the submit and the present after it: no pipeline create enters the
653 // driver between the two (queue_submit's own turn nests inside this one). Not a probe: it also covers
654 // finish_startup_frame's fence wait and the present; the nested turn probes the vkQueueSubmit alone.
655 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
656 submitted = context_.observe_result(context_.queue_submit(queue_, 1, &submit_info, frame.done),
637 "vkQueueSubmit (present)"); 657 "vkQueueSubmit (present)");
638 if (submitted == VK_SUCCESS) context_.note_image_work_locked(); 658 if (submitted == VK_SUCCESS) context_.note_image_work_locked();
639 if (submitted != VK_SUCCESS) rollback(); 659 if (submitted != VK_SUCCESS) rollback();
@@ -674,14 +694,12 @@ private:
674 last_tore_ = true; 694 last_tore_ = true;
675 ++tear_presents_; 695 ++tear_presents_;
676 } 696 }
677 if (capture_to_disk_ && capture_ && capture_ptr_ && capture_written_ < capture_limit_ && 697 if (copy_frame && capture_ptr_) { // a temporary splash-only allocation may have just been released
678 (presented_ - 1) % std::uint64_t(capture_every_) == 0) 698 captured_ = true;
679 pending_capture_ = frame.done; 699 captured_extent_ = extent_;
680 } 700 captured_format_ = format_;
681 if (capture_ && capture_ptr_) { 701 if (disk_sample) pending_capture_ = frame.done;
682 captured_ = true; 702 }
683 captured_extent_ = extent_;
684 captured_format_ = format_;
685 } 703 }
686 if (result == VK_ERROR_SURFACE_LOST_KHR) { 704 if (result == VK_ERROR_SURFACE_LOST_KHR) {
687 // The surface was lost during the present (display disconnected, a driver reset of the window's 705 // The surface was lost during the present (display disconnected, a driver reset of the window's
@@ -913,7 +931,7 @@ private:
913 VkResult submitted; 931 VkResult submitted;
914 { 932 {
915 std::lock_guard lock(context_.submit_mutex()); 933 std::lock_guard lock(context_.submit_mutex());
916 submitted = context_.observe_result(vk.vkQueueSubmit(queue_, 1, &submit_info, probe_fence_), 934 submitted = context_.observe_result(context_.queue_submit(queue_, 1, &submit_info, probe_fence_),
917 "vkQueueSubmit (present probe)"); 935 "vkQueueSubmit (present probe)");
918 if (submitted == VK_SUCCESS) context_.note_image_work_locked(); 936 if (submitted == VK_SUCCESS) context_.note_image_work_locked();
919 } 937 }
@@ -1034,7 +1052,7 @@ private:
1034 VkResult submitted; 1052 VkResult submitted;
1035 { 1053 {
1036 std::lock_guard lock(context_.submit_mutex()); 1054 std::lock_guard lock(context_.submit_mutex());
1037 submitted = context_.observe_result(context_.vk.vkQueueSubmit(queue_, 1, &submit_info, frame.done), 1055 submitted = context_.observe_result(context_.queue_submit(queue_, 1, &submit_info, frame.done),
1038 "vkQueueSubmit (return present image)"); 1056 "vkQueueSubmit (return present image)");
1039 } 1057 }
1040 if (submitted != VK_SUCCESS) return stop(failure); 1058 if (submitted != VK_SUCCESS) return stop(failure);
@@ -1066,6 +1084,7 @@ private:
1066 const VkDevice device = context_.device(); 1084 const VkDevice device = context_.device();
1067 { 1085 {
1068 std::lock_guard lock(context_.submit_mutex()); 1086 std::lock_guard lock(context_.submit_mutex());
1087 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
1069 // The old swapchain's images and semaphores may still be in use. 1088 // The old swapchain's images and semaphores may still be in use.
1070 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)"); 1089 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)");
1071 release(swapchain_); 1090 release(swapchain_);
@@ -1079,7 +1098,7 @@ private:
1079 } 1098 }
1080 1099
1081 void record(VkCommandBuffer commands, const ResourceBinding& binding, ResourceId source, std::uint32_t image, 1100 void record(VkCommandBuffer commands, const ResourceBinding& binding, ResourceId source, std::uint32_t image,
1082 const PresentRect* source_rect) { 1101 const PresentRect* source_rect, bool copy_frame) {
1083 auto& vk = context_.vk; 1102 auto& vk = context_.vk;
1084 const ReplayFunctions& fn = context_.replay_; 1103 const ReplayFunctions& fn = context_.replay_;
1085 vk.vkResetCommandBuffer(commands, 0); 1104 vk.vkResetCommandBuffer(commands, 0);
@@ -1122,7 +1141,7 @@ private:
1122 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit, 1141 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit,
1123 sw == dw && sh == dh ? VK_FILTER_NEAREST : blit_filter(binding.format)); 1142 sw == dw && sh == dh ? VK_FILTER_NEAREST : blit_filter(binding.format));
1124 1143
1125 finish_image(commands, image); 1144 finish_image(commands, image, copy_frame);
1126 for (const auto& piece : pieces) 1145 for (const auto& piece : pieces)
1127 detail::image_barrier(fn, commands, binding, piece.range, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, 1146 detail::image_barrier(fn, commands, binding, piece.range, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
1128 piece.layout, VK_ACCESS_TRANSFER_READ_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, any, 1147 piece.layout, VK_ACCESS_TRANSFER_READ_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, any,
@@ -1156,6 +1175,7 @@ private:
1156 return true; 1175 return true;
1157 { 1176 {
1158 std::lock_guard lock(context_.submit_mutex()); 1177 std::lock_guard lock(context_.submit_mutex());
1178 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
1159 // The old target may still be in use. 1179 // The old target may still be in use.
1160 context_.observe_result(context_.vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)"); 1180 context_.observe_result(context_.vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)");
1161 } 1181 }
@@ -1166,7 +1186,7 @@ private:
1166 // Records the composition of `planes` and its copy to swapchain image `image`. False, with nothing recorded and the 1186 // Records the composition of `planes` and its copy to swapchain image `image`. False, with nothing recorded and the
1167 // tracker untouched, when a view cannot be made. The caller holds the resource and tracker locks. 1187 // tracker untouched, when a view cannot be made. The caller holds the resource and tracker locks.
1168 bool record_planes(Frame& frame, std::uint32_t slot, const std::array<ResourceBinding, 2>& current, 1188 bool record_planes(Frame& frame, std::uint32_t slot, const std::array<ResourceBinding, 2>& current,
1169 const PresentPlanes& planes, std::uint32_t image) { 1189 const PresentPlanes& planes, std::uint32_t image, bool copy_frame) {
1170 auto& vk = context_.vk; 1190 auto& vk = context_.vk;
1171 const ReplayFunctions& fn = context_.replay_; 1191 const ReplayFunctions& fn = context_.replay_;
1172 if (composer_->target() == VK_NULL_HANDLE || composer_->extent().width != extent_.width || 1192 if (composer_->target() == VK_NULL_HANDLE || composer_->extent().width != extent_.width ||
@@ -1254,7 +1274,7 @@ private:
1254 blit.dstOffsets[1] = {std::int32_t(extent_.width), std::int32_t(extent_.height), 1}; 1274 blit.dstOffsets[1] = {std::int32_t(extent_.width), std::int32_t(extent_.height), 1};
1255 vkCmdBlitImage_(commands, composer_->target(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, images_[image], 1275 vkCmdBlitImage_(commands, composer_->target(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, images_[image],
1256 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit, VK_FILTER_NEAREST); 1276 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit, VK_FILTER_NEAREST);
1257 finish_image(commands, image); 1277 finish_image(commands, image, copy_frame);
1258 for (std::uint32_t i = 0; i < planes.count; ++i) { 1278 for (std::uint32_t i = 0; i < planes.count; ++i) {
1259 if (i == 1 && same) continue; 1279 if (i == 1 && same) continue;
1260 for (const auto& piece : pieces[i]) 1280 for (const auto& piece : pieces[i])
@@ -1291,7 +1311,7 @@ private:
1291 } 1311 }
1292 1312
1293 // Clears the swapchain image to opaque black. 1313 // Clears the swapchain image to opaque black.
1294 void record_blank(VkCommandBuffer commands, std::uint32_t image) { 1314 void record_blank(VkCommandBuffer commands, std::uint32_t image, bool copy_frame) {
1295 auto& vk = context_.vk; 1315 auto& vk = context_.vk;
1296 const ReplayFunctions& fn = context_.replay_; 1316 const ReplayFunctions& fn = context_.replay_;
1297 vk.vkResetCommandBuffer(commands, 0); 1317 vk.vkResetCommandBuffer(commands, 0);
@@ -1304,18 +1324,18 @@ private:
1304 VK_ACCESS_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT); 1324 VK_ACCESS_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT);
1305 const VkClearColorValue black{{0.0f, 0.0f, 0.0f, 1.0f}}; 1325 const VkClearColorValue black{{0.0f, 0.0f, 0.0f, 1.0f}};
1306 vkCmdClearColorImage_(commands, images_[image], VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &black, 1, &range); 1326 vkCmdClearColorImage_(commands, images_[image], VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &black, 1, &range);
1307 finish_image(commands, image); 1327 finish_image(commands, image, copy_frame);
1308 vk.vkEndCommandBuffer(commands); 1328 vk.vkEndCommandBuffer(commands);
1309 } 1329 }
1310 1330
1311 // The swapchain image is written (TRANSFER_DST): optionally copy it to the capture buffer, then hand it to 1331 // The swapchain image is written (TRANSFER_DST): optionally copy it to the capture buffer, then hand it to
1312 // the presentation engine. 1332 // the presentation engine.
1313 void finish_image(VkCommandBuffer commands, std::uint32_t image) { 1333 void finish_image(VkCommandBuffer commands, std::uint32_t image, bool copy_frame) {
1314 const ReplayFunctions& fn = context_.replay_; 1334 const ReplayFunctions& fn = context_.replay_;
1315 const VkImageSubresourceRange range{VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1}; 1335 const VkImageSubresourceRange range{VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
1316 VkImageLayout layout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; 1336 VkImageLayout layout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL;
1317 VkAccessFlags access = VK_ACCESS_TRANSFER_WRITE_BIT; 1337 VkAccessFlags access = VK_ACCESS_TRANSFER_WRITE_BIT;
1318 if (capture_buffer_ && (capture_ || dump_.due(presented_))) { 1338 if (copy_frame) {
1319 // Two frames may be in flight and share `capture_buffer_`: serialize the prior frame's capture copy 1339 // Two frames may be in flight and share `capture_buffer_`: serialize the prior frame's capture copy
1320 // before overwriting it, while moving this frame's swapchain image to TRANSFER_SRC. 1340 // before overwriting it, while moving this frame's swapchain image to TRANSFER_SRC.
1321 VkBufferMemoryBarrier capture_waw{VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER}; 1341 VkBufferMemoryBarrier capture_waw{VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER};
@@ -1512,6 +1532,7 @@ private:
1512 const VkDevice device = context_.device(); 1532 const VkDevice device = context_.device();
1513 { 1533 {
1514 std::lock_guard lock(context_.submit_mutex()); 1534 std::lock_guard lock(context_.submit_mutex());
1535 const SubmitMutex::SubmitTurn turn(context_.submit_mutex(), false); // a queue operation: the compile gate
1515 // The old swapchain's images and semaphores may still be in use. 1536 // The old swapchain's images and semaphores may still be in use.
1516 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)"); 1537 context_.observe_result(vk.vkQueueWaitIdle(queue_), "vkQueueWaitIdle (present)");
1517 } 1538 }
@@ -1819,6 +1840,7 @@ private:
1819 bool capture_ = false; 1840 bool capture_ = false;
1820 present_dump::PresentDump dump_; 1841 present_dump::PresentDump dump_;
1821 bool dump_pq_ = false; 1842 bool dump_pq_ = false;
1843 bool continuous_readback_ = false; // explicit enable_capture(), independent of disk sampling
1822 VkBuffer capture_buffer_ = VK_NULL_HANDLE; 1844 VkBuffer capture_buffer_ = VK_NULL_HANDLE;
1823 VkDeviceMemory capture_memory_ = VK_NULL_HANDLE; 1845 VkDeviceMemory capture_memory_ = VK_NULL_HANDLE;
1824 VkDeviceSize capture_size_ = 0; 1846 VkDeviceSize capture_size_ = 0;
diff --git a/runtime/src/vulkan_present_splash.h b/runtime/src/vulkan_present_splash.h
index affc9a92b..450b06296 100644
--- a/runtime/src/vulkan_present_splash.h
+++ b/runtime/src/vulkan_present_splash.h
@@ -13,7 +13,7 @@ inline bool VulkanPresenter::present_splash(ResourceId source, std::shared_ptr<v
13 if (!binding || !binding->image) return false; 13 if (!binding || !binding->image) return false;
14 splash_binding_ = *binding; 14 splash_binding_ = *binding;
15 } 15 }
16 if (!capture_) splash_capture_only_ = enable_capture(); 16 if (!capture_) splash_capture_only_ = enable_capture_storage();
17 const auto before = presented(); 17 const auto before = presented();
18 if (present(source, true) != VK_SUCCESS || presented() == before) return false; 18 if (present(source, true) != VK_SUCCESS || presented() == before) return false;
19 const Frame& frame = frames_[(frame_index_ - 1) % frames_.size()]; 19 const Frame& frame = frames_[(frame_index_ - 1) % frames_.size()];
@@ -61,14 +61,16 @@ inline VkResult VulkanPresenter::finish_startup_frame(Frame& frame, std::uint32_
61 VkSubmitInfo ready{VK_STRUCTURE_TYPE_SUBMIT_INFO}; 61 VkSubmitInfo ready{VK_STRUCTURE_TYPE_SUBMIT_INFO};
62 ready.signalSemaphoreCount = 1; 62 ready.signalSemaphoreCount = 1;
63 ready.pSignalSemaphores = &ready_[image]; 63 ready.pSignalSemaphores = &ready_[image];
64 if (show_title) return context_.vk.vkQueueSubmit(queue_, 1, &ready, VK_NULL_HANDLE); 64 if (show_title) return context_.queue_submit(queue_, 1, &ready, VK_NULL_HANDLE);
65 // The acquire was consumed and the title commands finished. Overwrite the same image before presenting it. 65 // The acquire was consumed and the title commands finished. Overwrite the same image before presenting it.
66 record(frame.commands, splash_binding_, splash_source_, image, nullptr); 66 // The inspected copy contains the black title frame. Overwrite staging with the
67 // splash actually shown; this is the copy an active disk/readback consumer must see.
68 record(frame.commands, splash_binding_, splash_source_, image, nullptr, true);
67 result = vkResetFences_(device, 1, &frame.done); 69 result = vkResetFences_(device, 1, &frame.done);
68 if (result != VK_SUCCESS) return result; 70 if (result != VK_SUCCESS) return result;
69 ready.commandBufferCount = 1; 71 ready.commandBufferCount = 1;
70 ready.pCommandBuffers = &frame.commands; 72 ready.pCommandBuffers = &frame.commands;
71 return context_.vk.vkQueueSubmit(queue_, 1, &ready, frame.done); 73 return context_.queue_submit(queue_, 1, &ready, frame.done);
72} 74}
73 75
74} // namespace leonida 76} // namespace leonida
diff --git a/runtime/src/vulkan_replay.h b/runtime/src/vulkan_replay.h
index 359fabff0..39c63851a 100644
--- a/runtime/src/vulkan_replay.h
+++ b/runtime/src/vulkan_replay.h
@@ -60,9 +60,12 @@
60#include <limits> 60#include <limits>
61#include <map> 61#include <map>
62#include <memory> 62#include <memory>
63#include <mutex>
63#include <optional> 64#include <optional>
65#include <span>
64#include <type_traits> 66#include <type_traits>
65#include <unordered_map> 67#include <unordered_map>
68#include <unordered_set>
66#include <utility> 69#include <utility>
67#include <vector> 70#include <vector>
68 71
@@ -843,14 +846,19 @@ struct OcclusionResult {
843// A D3D12 query heap on Vulkan. The host tracks which queries hold a result. A resolve of a query that 846// A D3D12 query heap on Vulkan. The host tracks which queries hold a result. A resolve of a query that
844// was never ended writes zeros instead of waiting on it. 847// was never ended writes zeros instead of waiting on it.
845struct QueryPool { 848struct QueryPool {
846 // Null for a stream-output statistics heap: the layer has no stream output (PSOs with StreamOutput entries are 849 // Null for a stream-output statistics heap on a device without VK_EXT_transform_feedback (D3D-302): every
847 // refused), so every SO_STATISTICS_STREAMn query counts 0 written and 0 needed, and a resolve fills zeros. 850 // SO_STATISTICS_STREAMn query then counts 0 written and 0 needed, and a resolve fills zeros. With the feature
851 // it is a VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT pool, begun/ended indexed on the stream.
848 VkQueryPool pool = VK_NULL_HANDLE; 852 VkQueryPool pool = VK_NULL_HANDLE;
849 std::uint32_t heap_type = 0; // d3d12_query_heap 853 std::uint32_t heap_type = 0; // d3d12_query_heap
850 std::uint32_t count = 0; 854 std::uint32_t count = 0;
851 bool precise = false; // occlusionQueryPrecise: D3D12_QUERY_TYPE_OCCLUSION counts exact samples 855 bool precise = false; // occlusionQueryPrecise: D3D12_QUERY_TYPE_OCCLUSION counts exact samples
852 std::vector<bool> ended; 856 std::vector<bool> ended;
853 std::unordered_map<std::uint32_t, OcclusionResult> occlusion; 857 std::unordered_map<std::uint32_t, OcclusionResult> occlusion;
858 // Transform-feedback streams the pool can query (D3D-302): 0 when it has no pool, otherwise the device's
859 // maxTransformFeedbackStreams clamped to D3D12's four. SO_STATISTICS_STREAMn with n at or above this runs nothing
860 // and resolves zero.
861 std::uint32_t streams = 0;
854}; 862};
855 863
856// A compute pipeline as replay needs it. code_base is the console VA of the shader's FSSM blob (push-constant 864// A compute pipeline as replay needs it. code_base is the console VA of the shader's FSSM blob (push-constant
@@ -860,16 +868,22 @@ struct ComputePipeline {
860 VkPipelineLayout layout = VK_NULL_HANDLE; 868 VkPipelineLayout layout = VK_NULL_HANDLE;
861 std::uint64_t code_base = 0; 869 std::uint64_t code_base = 0;
862 VkDescriptorSet bindless_set = VK_NULL_HANDLE; // set 0 of the layout, bound at every dispatch; null: none 870 VkDescriptorSet bindless_set = VK_NULL_HANDLE; // set 0 of the layout, bound at every dispatch; null: none
863 // A pipeline built on first use: with `pipeline` null, `build(build_context)` returns the handle (building it if 871 // A pipeline built on first use: with `pipeline` null, `build(build_context)` returns the handle, or null when it
864 // nobody has yet), or null when it cannot be built. Null `build`: `pipeline` is final. 872 // cannot be built or (async_build) is still being built - it never waits for a build another thread runs, since
873 // prepare calls it with the resource lock held. Null `build`: `pipeline` is final.
865 VkPipeline (*build)(void*) = nullptr; 874 VkPipeline (*build)(void*) = nullptr;
866 void* build_context = nullptr; 875 void* build_context = nullptr;
867 bool async_build = false; // a null handle may be waiting for the compile worker 876 bool async_build = false; // a null handle may be waiting for the compile worker
868 // What `build` would return when it is built already and nobody is building it, else null; builds nothing. Null: a 877 // What `build` would return when it is built already and nobody is building it, else null; builds nothing. Null: a
869 // first use is always built where prepare() meets it. Not used with async_build. See PipelineCompiles. 878 // first use is always built where prepare() meets it. Not used with async_build. See PipelineCompiles.
870 VkPipeline (*built)(void*) = nullptr; 879 VkPipeline (*built)(void*) = nullptr;
871 bool large = false; // compiled one after another with the other large ones (PipelineCompiles) 880 bool large = false; // PipelineCompiles limits how many of these compile at once
872 bool skipped = false; // never built on request (LEONIDA_SKIP_COMPUTE): its dispatches are dropped 881 bool skipped = false; // never built on request (LEONIDA_SKIP_COMPUTE): its dispatches are dropped
882 std::uint64_t estimate = 0; // large: the bytes of memory its compile is expected to take
883 // Told at every dispatch that names this pipeline, built or not, with variant 0 (pipeline_order.h records the first
884 // one). Null: nobody is told. Called while a submission is prepared: it must never block or allocate (the only lock it may take is a non-blocking try_lock, on the first request of a pipeline and of a variant).
885 void (*requested)(void*, std::uint32_t variant) = nullptr;
886 void* request_context = nullptr;
873}; 887};
874 888
875// A graphics pipeline as replay needs it: the formats its attachments must have and which vertex-input slots it 889// A graphics pipeline as replay needs it: the formats its attachments must have and which vertex-input slots it
@@ -888,6 +902,7 @@ struct GraphicsPipeline {
888 std::uint32_t strip_cut = 0; // D3D12_INDEX_BUFFER_STRIP_CUT_VALUE (0: off, 1: 0xFFFF, 2: 0xFFFFFFFF) 902 std::uint32_t strip_cut = 0; // D3D12_INDEX_BUFFER_STRIP_CUT_VALUE (0: off, 1: 0xFFFF, 2: 0xFFFFFFFF)
889 bool mesh = false; // a mesh shader instead of a vertex shader: drawn by DispatchMesh only 903 bool mesh = false; // a mesh shader instead of a vertex shader: drawn by DispatchMesh only
890 bool viewport_with_count = false; // pipeline uses VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT / SCISSOR_WITH_COUNT 904 bool viewport_with_count = false; // pipeline uses VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT / SCISSOR_WITH_COUNT
905 bool depth_bounds = false; // depthBoundsTestEnable: the bounds are dynamic (vkCmdSetDepthBounds)
891 // The same pipeline with some attachment formats VK_FORMAT_UNDEFINED, for a draw that leaves those slots 906 // The same pipeline with some attachment formats VK_FORMAT_UNDEFINED, for a draw that leaves those slots
892 // unbound (D3D12 allows it; dynamic rendering needs the formats to agree). Bit i: colour slot i, bit 8: depth 907 // unbound (D3D12 allows it; dynamic rendering needs the formats to agree). Bit i: colour slot i, bit 8: depth
893 // and stencil. Null when it cannot be built. 908 // and stencil. Null when it cannot be built.
@@ -899,10 +914,14 @@ struct GraphicsPipeline {
899 // What `variant` would return when it is built already and nobody is building one, else null; builds nothing. See 914 // What `variant` would return when it is built already and nobody is building one, else null; builds nothing. See
900 // ComputePipeline::built. 915 // ComputePipeline::built.
901 std::function<VkPipeline(std::uint32_t flags)> built; 916 std::function<VkPipeline(std::uint32_t flags)> built;
917 // As ComputePipeline::requested, at every draw that names this pipeline, with the variant flags it will use.
918 void (*requested)(void*, std::uint32_t variant) = nullptr;
919 void* request_context = nullptr;
902 bool large = false; // as ComputePipeline::large 920 bool large = false; // as ComputePipeline::large
903 std::uint32_t samples = 1; // rasterizationSamples; every bound attachment must have this count 921 std::uint32_t samples = 1; // rasterizationSamples; every bound attachment must have this count
904 bool async_build = false; 922 bool async_build = false;
905 bool nonunit_vertex_divisor = false; // an actual instance divisor > 1, not a zero-stride emulation 923 bool nonunit_vertex_divisor = false; // an actual instance divisor > 1, not a zero-stride emulation
924 std::uint64_t estimate = 0; // as ComputePipeline::estimate
906}; 925};
907 926
908// The 144-byte push-constant block every translated shader declares: s0..s31, heap base, code base. 927// The 144-byte push-constant block every translated shader declares: s0..s31, heap base, code base.
@@ -988,7 +1007,7 @@ inline ReplayResult unsupported_at(int line) {
988 1007
989// The pipelines of a submission that are not built yet. prepare() adds each of them once and goes on; build_pipelines() 1008// The pipelines of a submission that are not built yet. prepare() adds each of them once and goes on; build_pipelines()
990// then compiles them all and puts them where prepare() left them out. Holds pointers to registered pipelines: valid 1009// then compiles them all and puts them where prepare() left them out. Holds pointers to registered pipelines: valid
991// while the context's resource lock is held. 1010// while the context's pipeline lock is held.
992class PipelineCompiles { 1011class PipelineCompiles {
993public: 1012public:
994 // Where a prepared command finds its pipeline: an index for `built`, plus one; 0 when it needs none. 1013 // Where a prepared command finds its pipeline: an index for `built`, plus one; 0 when it needs none.
@@ -1000,7 +1019,7 @@ public:
1000 User user; 1019 User user;
1001 }; 1020 };
1002 // A compile takes the driver some hundred bytes of memory for each byte of SPIR-V (docs/pipeline_check.md): graphics 1021 // A compile takes the driver some hundred bytes of memory for each byte of SPIR-V (docs/pipeline_check.md): graphics
1003 // pipelines of this much or more are `large`. 1022 // pipelines of this much or more are `large`. For compute pipelines the D3D12 layer decides.
1004 static constexpr std::uint64_t large_spirv_bytes = 1u << 20; 1023 static constexpr std::uint64_t large_spirv_bytes = 1u << 20;
1005 1024
1006 Ticket add(const GraphicsPipeline& pipeline, std::uint32_t flags) { 1025 Ticket add(const GraphicsPipeline& pipeline, std::uint32_t flags) {
@@ -1009,29 +1028,111 @@ public:
1009 Ticket add(const ComputePipeline& pipeline, User user) { return add({nullptr, &pipeline, 0}, user); } 1028 Ticket add(const ComputePipeline& pipeline, User user) { return add({nullptr, &pipeline, 0}, user); }
1010 1029
1011 bool empty() const { return jobs_.empty(); } 1030 bool empty() const { return jobs_.empty(); }
1031 bool any_large() const {
1032 return std::any_of(jobs_.begin(), jobs_.end(), [](const Job& job) { return is_large(job); });
1033 }
1012 std::size_t size() const { return jobs_.size(); } 1034 std::size_t size() const { return jobs_.size(); }
1013 VkPipeline built(Ticket ticket) const { return jobs_[ticket - 1].built; } 1035 VkPipeline built(Ticket ticket) const { return jobs_[ticket - 1].built; }
1014 const std::vector<Use>& uses() const { return uses_; } // in the order of the commands 1036 const std::vector<Use>& uses() const { return uses_; } // in the order of the commands
1015 1037
1016 // Compiles all of them through run(count, job) (PipelineWorkers::run): the large ones one after another, as without 1038 // Whether this batch already attempted (pipeline, flags); writes its outcome (built handle or VK_NULL_HANDLE) to `out`.
1017 // workers, beside the others. 1039 bool lookup(const GraphicsPipeline* graphics, const ComputePipeline* compute, std::uint32_t flags,
1040 VkPipeline& out) const {
1041 const void* const pipeline = graphics ? static_cast<const void*>(graphics) : compute;
1042 const auto it = tickets_.find({pipeline, flags});
1043 if (it == tickets_.end()) return false;
1044 out = jobs_[it->second - 1].built;
1045 return true;
1046 }
1047
1048 // Whether this batch already attempted the job named by `other`'s `ticket`.
1049 bool contains_ticket(const PipelineCompiles& other, Ticket ticket) const {
1050 VkPipeline unused = VK_NULL_HANDLE;
1051 const Job& job = other.jobs_[ticket - 1];
1052 return lookup(job.graphics, job.compute, job.flags, unused);
1053 }
1054
1055 // Compiles all of them through run(count, job) (PipelineWorkers::run). The large ones share budget() bytes of memory:
1056 // the largest first, as many at once as their estimates fit, one at least; while the next one does not fit, the
1057 // others are compiled first. No budget, or 0: the large ones one after another, as without workers, beside the others.
1018 template<typename Run> 1058 template<typename Run>
1019 void build(Run&& run) { 1059 void build(Run&& run, const std::function<std::uint64_t()>& read_budget = {},
1060 const PipelineCompiles* prior = nullptr) {
1020 std::vector<std::size_t> single, large; 1061 std::vector<std::size_t> single, large;
1021 for (std::size_t i = 0; i < jobs_.size(); ++i) (is_large(jobs_[i]) ? large : single).push_back(i); 1062 for (std::size_t i = 0; i < jobs_.size(); ++i) {
1063 if (prior && prior->lookup(jobs_[i].graphics, jobs_[i].compute, jobs_[i].flags, jobs_[i].built)) continue;
1064 (is_large(jobs_[i]) ? large : single).push_back(i);
1065 }
1066 if (single.empty() && large.empty()) return;
1067 // The first jobs of the run are lanes, which take large ones until none is left: no more of them than there are
1068 // large ones that fit the budget together (the smallest), so that no thread waits here for room in vain.
1069 std::size_t lanes = large.empty() ? 0 : 1;
1070 const std::uint64_t budget = lanes && read_budget ? read_budget() : 0;
1071 if (budget) {
1072 std::stable_sort(large.begin(), large.end(), [this](std::size_t a, std::size_t b) {
1073 return estimate(jobs_[a]) > estimate(jobs_[b]);
1074 });
1075 std::uint64_t sum = estimate(jobs_[large.back()]);
1076 while (lanes < large.size() && (sum += estimate(jobs_[large[large.size() - 1 - lanes]])) <= budget) ++lanes;
1077 }
1022 const auto compile = [this](std::size_t i) { 1078 const auto compile = [this](std::size_t i) {
1023 Job& job = jobs_[i]; 1079 Job& job = jobs_[i];
1024 job.built = job.graphics ? job.graphics->variant(job.flags) : job.compute->build(job.compute->build_context); 1080 job.built = job.graphics ? job.graphics->variant(job.flags) : job.compute->build(job.compute->build_context);
1025 }; 1081 };
1026 const std::size_t chain = large.empty() ? 0 : 1; // the large ones are one unit, the first 1082 std::mutex mutex; // guards the four below
1027 run(chain + single.size(), [&](std::size_t i) { 1083 std::size_t next_single = 0, next_large = 0, compiling = 0;
1028 if (i >= chain) 1084 std::uint64_t reserved = 0; // the estimates of the large ones compiling
1029 compile(single[i - chain]); 1085 run(lanes + single.size(), [&](std::size_t i) {
1030 else 1086 std::unique_lock lock(mutex);
1031 for (const std::size_t each : large) compile(each); 1087 if (i >= lanes) {
1088 if (next_single == single.size()) return; // a lane has taken it
1089 const std::size_t index = single[next_single++];
1090 lock.unlock();
1091 compile(index);
1092 return;
1093 }
1094 while (next_large < large.size()) {
1095 const std::uint64_t need = estimate(jobs_[large[next_large]]);
1096 const bool fits = !compiling || reserved + need <= budget;
1097 if (!fits && next_single < single.size()) {
1098 const std::size_t index = single[next_single++];
1099 lock.unlock();
1100 compile(index);
1101 lock.lock();
1102 continue;
1103 }
1104 const std::size_t index = large[next_large++];
1105 ++compiling;
1106 reserved += need;
1107 lock.unlock();
1108 compile(index);
1109 lock.lock();
1110 --compiling;
1111 reserved -= need;
1112 }
1032 }); 1113 });
1033 } 1114 }
1034 1115
1116 // Compiles jobs serially in command order without workers, stopping at the first fatal refusal (a failed draw, a
1117 // failed indirect dispatch, or any failed dispatch under strict_replay()). Matches serial prepare() short-circuit
1118 // semantics while allowing the caller to compile outside resource_mutex_.
1119 void build_serial(const PipelineCompiles* prior = nullptr) {
1120 std::vector<bool> done(jobs_.size(), false);
1121 for (const Use& use : uses_) {
1122 const std::size_t i = use.ticket - 1;
1123 if (!done[i]) {
1124 done[i] = true;
1125 Job& job = jobs_[i];
1126 if (!prior || !prior->lookup(job.graphics, job.compute, job.flags, job.built)) {
1127 job.built =
1128 job.graphics ? job.graphics->variant(job.flags) : job.compute->build(job.compute->build_context);
1129 }
1130 }
1131 if (!jobs_[i].built && (use.user == User::draw || use.user == User::indirect_dispatch || strict_replay()))
1132 return;
1133 }
1134 }
1135
1035private: 1136private:
1036 struct Job { 1137 struct Job {
1037 const GraphicsPipeline* graphics; // one of the two 1138 const GraphicsPipeline* graphics; // one of the two
@@ -1040,6 +1141,9 @@ private:
1040 VkPipeline built = VK_NULL_HANDLE; 1141 VkPipeline built = VK_NULL_HANDLE;
1041 }; 1142 };
1042 static bool is_large(const Job& job) { return job.graphics ? job.graphics->large : job.compute->large; } 1143 static bool is_large(const Job& job) { return job.graphics ? job.graphics->large : job.compute->large; }
1144 static std::uint64_t estimate(const Job& job) {
1145 return job.graphics ? job.graphics->estimate : job.compute->estimate;
1146 }
1043 Ticket add(const Job& job, User user) { 1147 Ticket add(const Job& job, User user) {
1044 const void* const pipeline = job.graphics ? static_cast<const void*>(job.graphics) : job.compute; 1148 const void* const pipeline = job.graphics ? static_cast<const void*>(job.graphics) : job.compute;
1045 const auto [it, added] = tickets_.try_emplace({pipeline, job.flags}, Ticket(jobs_.size() + 1)); 1149 const auto [it, added] = tickets_.try_emplace({pipeline, job.flags}, Ticket(jobs_.size() + 1));
@@ -1087,6 +1191,10 @@ struct ReplayFunctions {
1087 PFN_vkCmdResetQueryPool reset_query_pool = nullptr; // queries, with fill_buffer for unavailable results 1191 PFN_vkCmdResetQueryPool reset_query_pool = nullptr; // queries, with fill_buffer for unavailable results
1088 PFN_vkCmdBeginQuery begin_query = nullptr; 1192 PFN_vkCmdBeginQuery begin_query = nullptr;
1089 PFN_vkCmdEndQuery end_query = nullptr; 1193 PFN_vkCmdEndQuery end_query = nullptr;
1194 // VK_EXT_transform_feedback (D3D-302): SO_STATISTICS queries begin/end indexed on a stream. Null when the device
1195 // lacks the feature.
1196 PFN_vkCmdBeginQueryIndexedEXT begin_query_indexed = nullptr;
1197 PFN_vkCmdEndQueryIndexedEXT end_query_indexed = nullptr;
1090 PFN_vkCmdWriteTimestamp write_timestamp = nullptr; 1198 PFN_vkCmdWriteTimestamp write_timestamp = nullptr;
1091 PFN_vkCmdCopyQueryPoolResults copy_query_pool_results = nullptr; 1199 PFN_vkCmdCopyQueryPoolResults copy_query_pool_results = nullptr;
1092 // Set only where a copy of timestamp results is not ordered after the timestamps written before it (MoltenVK on 1200 // Set only where a copy of timestamp results is not ordered after the timestamps written before it (MoltenVK on
@@ -1116,9 +1224,13 @@ struct ReplayFunctions {
1116 PFN_vkCmdSetPrimitiveRestartEnable set_primitive_restart_enable = nullptr; 1224 PFN_vkCmdSetPrimitiveRestartEnable set_primitive_restart_enable = nullptr;
1117 PFN_vkCmdSetStencilReference set_stencil_reference = nullptr; 1225 PFN_vkCmdSetStencilReference set_stencil_reference = nullptr;
1118 PFN_vkCmdSetBlendConstants set_blend_constants = nullptr; 1226 PFN_vkCmdSetBlendConstants set_blend_constants = nullptr;
1227 PFN_vkCmdSetDepthBounds set_depth_bounds = nullptr; // for depth-bounds pipelines only
1119 PFN_vkCmdDraw draw = nullptr; 1228 PFN_vkCmdDraw draw = nullptr;
1120 unsigned* mesh_draw_count = nullptr; // opt-in count for this submission 1229 unsigned* mesh_draw_count = nullptr; // opt-in count for this submission
1121 PFN_vkCmdDrawMeshTasksEXT draw_mesh_tasks = nullptr; // VK_EXT_mesh_shader; null: mesh draws are unsupported 1230 PFN_vkCmdDrawMeshTasksEXT draw_mesh_tasks = nullptr; // VK_EXT_mesh_shader; null: mesh draws are unsupported
1231 // ExecuteIndirect with a DISPATCH_MESH signature. Its 12-byte record is VkDrawMeshTasksIndirectCommandEXT.
1232 PFN_vkCmdDrawMeshTasksIndirectEXT draw_mesh_tasks_indirect = nullptr;
1233 PFN_vkCmdDrawMeshTasksIndirectCountEXT draw_mesh_tasks_indirect_count = nullptr;
1122 PFN_vkCmdDrawIndexed draw_indexed = nullptr; 1234 PFN_vkCmdDrawIndexed draw_indexed = nullptr;
1123 std::function<const GraphicsPipeline*(std::uintptr_t)> graphics_pipeline; 1235 std::function<const GraphicsPipeline*(std::uintptr_t)> graphics_pipeline;
1124 // The buffer and offset a console VA range starts in (from ResourceBinding::va), false when none does. `size` is 1236 // The buffer and offset a console VA range starts in (from ResourceBinding::va), false when none does. `size` is
@@ -1192,6 +1304,7 @@ struct ReplayFunctions {
1192 std::function<bool(VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, std::uint32_t, std::uint32_t, std::uint32_t, 1304 std::function<bool(VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, std::uint32_t, std::uint32_t, std::uint32_t,
1193 ClampedIndirect&)> prepare_indirect_clamp; 1305 ClampedIndirect&)> prepare_indirect_clamp;
1194 std::function<void(VkCommandBuffer, const ClampedIndirect&)> emit_indirect_clamp; 1306 std::function<void(VkCommandBuffer, const ClampedIndirect&)> emit_indirect_clamp;
1307 bool external_graphics_scope = false; // Caller supplies the rendering scope, pipeline and bindings for legacy draws.
1195 bool require_indirect_clamp = false; // an enabled device refuses an indirect if scratch preparation fails 1308 bool require_indirect_clamp = false; // an enabled device refuses an indirect if scratch preparation fails
1196 // Optional VK_KHR_acceleration_structure: BuildRaytracingAccelerationStructure. 1309 // Optional VK_KHR_acceleration_structure: BuildRaytracingAccelerationStructure.
1197 PFN_vkCmdBuildAccelerationStructuresKHR build_acceleration_structures = nullptr; 1310 PFN_vkCmdBuildAccelerationStructuresKHR build_acceleration_structures = nullptr;
@@ -1296,7 +1409,7 @@ struct Prepared {
1296 PredicateCapture predicate; 1409 PredicateCapture predicate;
1297 std::vector<PredicatedCopyDispatch> predicated_copy; 1410 std::vector<PredicatedCopyDispatch> predicated_copy;
1298 CountedDispatch counted_dispatch; 1411 CountedDispatch counted_dispatch;
1299 ClampedIndirect indirect_clamp; // ExecuteIndirect: the clamped arguments the command reads, or null 1412 ClampedIndirect indirect_clamp; // an indirect command's clamped arguments it reads, or null
1300 ResourceBinding binding; 1413 ResourceBinding binding;
1301 VkImageSubresourceRange range{}; // the barrier range, or the cleared view (cleared aspects only) 1414 VkImageSubresourceRange range{}; // the barrier range, or the cleared view (cleared aspects only)
1302 VkImageView view = VK_NULL_HANDLE; 1415 VkImageView view = VK_NULL_HANDLE;
@@ -1327,7 +1440,7 @@ struct Prepared {
1327 // A depth <-> colour copy: the source into `staged` (image to buffer), then `staged` into the destination. 1440 // A depth <-> colour copy: the source into `staged` (image to buffer), then `staged` into the destination.
1328 VkBuffer staged = VK_NULL_HANDLE; 1441 VkBuffer staged = VK_NULL_HANDLE;
1329 std::vector<VkBufferImageCopy> staged_reads, staged_writes; 1442 std::vector<VkBufferImageCopy> staged_reads, staged_writes;
1330 VkDeviceSize clear_pattern_bytes = 0; // rectangular UAV clear on a compute-only queue 1443 VkDeviceSize clear_pattern_bytes = 0; // staged transfer UAV clear (compute-only rects or sliced/rect 3D)
1331 std::vector<VkImageSubresourceRange> discards; // DiscardResource: the subresources to discard 1444 std::vector<VkImageSubresourceRange> discards; // DiscardResource: the subresources to discard
1332 VkBuffer write_buffer = VK_NULL_HANDLE; // WriteBufferImmediate: where the address lands 1445 VkBuffer write_buffer = VK_NULL_HANDLE; // WriteBufferImmediate: where the address lands
1333 VkDeviceSize write_offset = 0; 1446 VkDeviceSize write_offset = 0;
@@ -1355,6 +1468,9 @@ struct DepthUavCopy {
1355 ResourceBinding conversion{}; 1468 ResourceBinding conversion{};
1356 VkBuffer scratch; 1469 VkBuffer scratch;
1357 VkDeviceSize offset; 1470 VkDeviceSize offset;
1471 VkBuffer depth24_scratch = VK_NULL_HANDLE;
1472 VkDeviceSize depth24_scratch_offset = 0;
1473 std::vector<Depth24Job> depth24_parts;
1358 bool to_storage; 1474 bool to_storage;
1359}; 1475};
1360 1476
@@ -1450,6 +1566,15 @@ inline float quantize_unorm(float value, double maximum) {
1450 return static_cast<float>(round_half_even(double(value) * maximum) / maximum); 1566 return static_cast<float>(round_half_even(double(value) * maximum) / maximum);
1451} 1567}
1452 1568
1569// 16-bit UNORM depth clear quantisation matching depth24_fragment.h's Patch::quantise(levels = 65535.0f):
1570// float multiply by 65535.0f, round-half-even, and nearest float to d / 65535, with NaN and negatives -> 0.0f.
1571inline float quantize_depth16(float value) {
1572 if (!(value > 0.0f)) return 0.0f;
1573 if (value >= 1.0f) return 1.0f;
1574 const float product = value * 65535.0f;
1575 return static_cast<float>(round_half_even(double(product)) / 65535.0);
1576}
1577
1453// The same for a signed normalised format: -1..1 on a scale of 127 (8 bits) or 32767 (16 bits), where D3D writes -1.0 1578// The same for a signed normalised format: -1..1 on a scale of 127 (8 bits) or 32767 (16 bits), where D3D writes -1.0
1454// as -127 and ties go to the even neighbour. 1579// as -127 and ties go to the even neighbour.
1455inline float quantize_snorm(float value, double maximum) { 1580inline float quantize_snorm(float value, double maximum) {
@@ -1612,6 +1737,13 @@ inline VkExtent2D mip_extent(const ResourceBinding& resource, std::uint32_t mip)
1612 return {std::max(1u, resource.width >> mip), std::max(1u, resource.height >> mip)}; 1737 return {std::max(1u, resource.width >> mip), std::max(1u, resource.height >> mip)};
1613} 1738}
1614 1739
1740// Nonempty, clipped rectangle. The entire constant pattern fits in one vkCmdUpdateBuffer for wide texels.
1741inline VkExtent2D volume_clear_tile(VkExtent2D rect, std::uint32_t texel_bytes) {
1742 const std::uint32_t max_texels = 65536 / texel_bytes;
1743 const auto width = std::min(rect.width, max_texels);
1744 return {width, std::min(rect.height, max_texels / width)};
1745}
1746
1615// Into `out`, replacing what it held: a kept PreparedList entry reuses the vector's storage. 1747// Into `out`, replacing what it held: a kept PreparedList entry reuses the vector's storage.
1616inline void clip(std::span<const Rect> rects, VkExtent2D extent, std::uint32_t layers, std::vector<VkClearRect>& out) { 1748inline void clip(std::span<const Rect> rects, VkExtent2D extent, std::uint32_t layers, std::vector<VkClearRect>& out) {
1617 out.clear(); 1749 out.clear();
@@ -2475,10 +2607,13 @@ void round_trip(const ReplayFunctions& vk, VkCommandBuffer command_buffer, const
2475// Vulkan cannot copy a depth or stencil image aspect directly to or from a color image. The transfer 2607// Vulkan cannot copy a depth or stencil image aspect directly to or from a color image. The transfer
2476// buffer preserves the native D16, D32 or S8 bits. Only the requested layers and planes are copied, even when the device 2608// buffer preserves the native D16, D32 or S8 bits. Only the requested layers and planes are copied, even when the device
2477// requires both parent aspects to transition layouts together. A storage descriptor always names GENERAL. 2609// requires both parent aspects to transition layouts together. A storage descriptor always names GENERAL.
2610template<typename RunDepth24, typename EndStatistics, typename BeginStatistics>
2478inline void copy_depth_uav(const ReplayFunctions& vk, VkCommandBuffer cb, const Prepared& p, const DepthUavCopy& copy, 2611inline void copy_depth_uav(const ReplayFunctions& vk, VkCommandBuffer cb, const Prepared& p, const DepthUavCopy& copy,
2479 VkImageLayout parent_layout, LayoutTracker* tracker) { 2612 VkImageLayout parent_layout, LayoutTracker* tracker, RunDepth24&& run_depth24,
2613 EndStatistics&& end_statistics, BeginStatistics&& begin_statistics) {
2480 constexpr auto all = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; 2614 constexpr auto all = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT;
2481 constexpr auto transfer = VK_PIPELINE_STAGE_TRANSFER_BIT; 2615 constexpr auto transfer = VK_PIPELINE_STAGE_TRANSFER_BIT;
2616 constexpr auto compute = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT;
2482 constexpr VkAccessFlags any = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT; 2617 constexpr VkAccessFlags any = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT;
2483 const auto parent_access = copy.to_storage ? VK_ACCESS_TRANSFER_READ_BIT : VK_ACCESS_TRANSFER_WRITE_BIT; 2618 const auto parent_access = copy.to_storage ? VK_ACCESS_TRANSFER_READ_BIT : VK_ACCESS_TRANSFER_WRITE_BIT;
2484 const auto child_access = copy.to_storage ? VK_ACCESS_TRANSFER_WRITE_BIT : VK_ACCESS_TRANSFER_READ_BIT; 2619 const auto child_access = copy.to_storage ? VK_ACCESS_TRANSFER_WRITE_BIT : VK_ACCESS_TRANSFER_READ_BIT;
@@ -2506,10 +2641,12 @@ inline void copy_depth_uav(const ReplayFunctions& vk, VkCommandBuffer cb, const
2506 child_region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; 2641 child_region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
2507 // Last use of this staging range was a read by CopyBufferToImage, possibly on the previous barrier. 2642 // Last use of this staging range was a read by CopyBufferToImage, possibly on the previous barrier.
2508 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_READ_BIT, transfer, VK_ACCESS_TRANSFER_WRITE_BIT, transfer); 2643 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_READ_BIT, transfer, VK_ACCESS_TRANSFER_WRITE_BIT, transfer);
2509 // A D32 depth aspect and R32_FLOAT colour carry the same bits through transfer scratch. The 2644 // A D32 depth aspect and R32_FLOAT colour carry the same bits through transfer scratch. A native D24
2510 // intermediate colour image permits a real normalized blit between R32_FLOAT and R16_UNORM; 2645 // depth aspect carries 24-bit UNORM words in copy.scratch and converts to/from floats in depth24_scratch
2511 // shaders see the latter's exact bits through an R16_UINT view. 2646 // via Depth24Converter. The intermediate R32_FLOAT colour image then permits a normalized blit to/from
2647 // R16_UNORM; shaders see the latter's exact bits through an R16_UINT (or R16_UNORM) view.
2512 const bool convert = plane == 0 && copy.conversion.image; 2648 const bool convert = plane == 0 && copy.conversion.image;
2649 const bool d24_convert = convert && !copy.depth24_parts.empty();
2513 const VkImage colour = convert ? copy.conversion.image : child.image; 2650 const VkImage colour = convert ? copy.conversion.image : child.image;
2514 VkImageBlit blit{}; 2651 VkImageBlit blit{};
2515 if (convert) { 2652 if (convert) {
@@ -2527,14 +2664,40 @@ inline void copy_depth_uav(const ReplayFunctions& vk, VkCommandBuffer cb, const
2527 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer); 2664 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer);
2528 } 2665 }
2529 } 2666 }
2530 vk.copy_image_to_buffer(cb, copy.to_storage ? p.binding.image : colour, VK_IMAGE_LAYOUT_GENERAL, 2667 if (d24_convert) {
2531 copy.scratch, 1, copy.to_storage ? &parent_region : &child_region); 2668 child_region.bufferOffset = copy.depth24_scratch_offset;
2532 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer); 2669 if (copy.to_storage) {
2533 vk.copy_buffer_to_image(cb, copy.scratch, copy.to_storage ? colour : p.binding.image, VK_IMAGE_LAYOUT_GENERAL, 2670 vk.copy_image_to_buffer(cb, p.binding.image, VK_IMAGE_LAYOUT_GENERAL, copy.scratch, 1, &parent_region);
2534 1, copy.to_storage ? &child_region : &parent_region); 2671 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer,
2535 if (convert && copy.to_storage) { 2672 VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT, compute);
2673 end_statistics();
2674 for (const auto& part : copy.depth24_parts) run_depth24(part);
2675 begin_statistics();
2676 memory_barrier(vk, cb, VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT, compute,
2677 VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_TRANSFER_WRITE_BIT, transfer);
2678 vk.copy_buffer_to_image(cb, copy.depth24_scratch, colour, VK_IMAGE_LAYOUT_GENERAL, 1, &child_region);
2679 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer);
2680 vk.blit_image(cb, colour, VK_IMAGE_LAYOUT_GENERAL, child.image, VK_IMAGE_LAYOUT_GENERAL, 1, &blit, VK_FILTER_NEAREST);
2681 } else {
2682 vk.copy_image_to_buffer(cb, colour, VK_IMAGE_LAYOUT_GENERAL, copy.depth24_scratch, 1, &child_region);
2683 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_TRANSFER_WRITE_BIT | VK_ACCESS_SHADER_READ_BIT,
2684 transfer | compute, VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT, compute);
2685 end_statistics();
2686 for (const auto& part : copy.depth24_parts) run_depth24(part);
2687 begin_statistics();
2688 memory_barrier(vk, cb, VK_ACCESS_SHADER_WRITE_BIT, compute, VK_ACCESS_TRANSFER_READ_BIT, transfer);
2689 vk.copy_buffer_to_image(cb, copy.scratch, p.binding.image, VK_IMAGE_LAYOUT_GENERAL, 1, &parent_region);
2690 }
2691 } else {
2692 vk.copy_image_to_buffer(cb, copy.to_storage ? p.binding.image : colour, VK_IMAGE_LAYOUT_GENERAL,
2693 copy.scratch, 1, copy.to_storage ? &parent_region : &child_region);
2536 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer); 2694 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer);
2537 vk.blit_image(cb, colour, VK_IMAGE_LAYOUT_GENERAL, child.image, VK_IMAGE_LAYOUT_GENERAL, 1, &blit, VK_FILTER_NEAREST); 2695 vk.copy_buffer_to_image(cb, copy.scratch, copy.to_storage ? colour : p.binding.image, VK_IMAGE_LAYOUT_GENERAL,
2696 1, copy.to_storage ? &child_region : &parent_region);
2697 if (convert && copy.to_storage) {
2698 memory_barrier(vk, cb, VK_ACCESS_TRANSFER_WRITE_BIT, transfer, VK_ACCESS_TRANSFER_READ_BIT, transfer);
2699 vk.blit_image(cb, colour, VK_IMAGE_LAYOUT_GENERAL, child.image, VK_IMAGE_LAYOUT_GENERAL, 1, &blit, VK_FILTER_NEAREST);
2700 }
2538 } 2701 }
2539 image_barrier(vk, cb, child, color, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL, 2702 image_barrier(vk, cb, child, color, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL,
2540 child_access, transfer, any, all); 2703 child_access, transfer, any, all);
@@ -2554,7 +2717,9 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2554 const ReplayFunctions& vk, PreparedDraw& p) { 2717 const ReplayFunctions& vk, PreparedDraw& p) {
2555 if (arguments) { 2718 if (arguments) {
2556 const IndirectDrawArgs& arg = *arguments; 2719 const IndirectDrawArgs& arg = *arguments;
2557 const VkDeviceSize record_size = draw.indexed ? sizeof(VkDrawIndexedIndirectCommand) : sizeof(VkDrawIndirectCommand); 2720 const VkDeviceSize record_size = draw.mesh ? sizeof(VkDrawMeshTasksIndirectCommandEXT)
2721 : draw.indexed ? sizeof(VkDrawIndexedIndirectCommand)
2722 : sizeof(VkDrawIndirectCommand);
2558 if (!arg.argument_buffer || !arg.max_count || arg.stride < record_size || 2723 if (!arg.argument_buffer || !arg.max_count || arg.stride < record_size ||
2559 (arg.stride | arg.argument_offset | arg.count_offset) % 4 || (!arg.count_buffer && arg.count_offset)) 2724 (arg.stride | arg.argument_offset | arg.count_offset) % 4 || (!arg.count_buffer && arg.count_offset))
2560 return ReplayResult::invalid_indirect_arguments; 2725 return ReplayResult::invalid_indirect_arguments;
@@ -2562,8 +2727,10 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2562 // independently of the supplied maxDrawCount. On a device with a smaller limit an 2727 // independently of the supplied maxDrawCount. On a device with a smaller limit an
2563 // arbitrary D3D12 count requires a GPU clamp pass; keep that case guarded for now. 2728 // arbitrary D3D12 count requires a GPU clamp pass; keep that case guarded for now.
2564 const bool counted = arg.count_buffer != 0; 2729 const bool counted = arg.count_buffer != 0;
2565 const bool entry_available = counted ? (draw.indexed ? vk.draw_indexed_indirect_count : vk.draw_indirect_count) != nullptr 2730 const bool entry_available =
2566 : (draw.indexed ? vk.draw_indexed_indirect : vk.draw_indirect) != nullptr; 2731 draw.mesh ? (counted ? vk.draw_mesh_tasks_indirect_count != nullptr : vk.draw_mesh_tasks_indirect != nullptr)
2732 : counted ? (draw.indexed ? vk.draw_indexed_indirect_count : vk.draw_indirect_count) != nullptr
2733 : (draw.indexed ? vk.draw_indexed_indirect : vk.draw_indirect) != nullptr;
2567 // The GPU supplies firstIndex/indexCount at execution (VUID-08798). A sized binding alone 2734 // The GPU supplies firstIndex/indexCount at execution (VUID-08798). A sized binding alone
2568 // does not guarantee a robust fetch, and the legacy binding covers the backing buffer's tail. 2735 // does not guarantee a robust fetch, and the legacy binding covers the backing buffer's tail.
2569 const auto skip = [&](indirect_stats::Reason reason) { 2736 const auto skip = [&](indirect_stats::Reason reason) {
@@ -2571,9 +2738,13 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2571 p.skipped = true; 2738 p.skipped = true;
2572 return ReplayResult::success; 2739 return ReplayResult::success;
2573 }; 2740 };
2574 if (draw.mesh) return skip(indirect_stats::mesh); 2741 // A mesh draw has no topology, first instance or index buffer; its records go through the clamp pass,
2575 if (draw.topology != 4) return skip(indirect_stats::topology); 2742 // which bounds x and sets y = z = 1 (the console's mesh dispatch is one-dimensional), or it is not drawn.
2576 if (!vk.draw_indirect_first_instance) return skip(indirect_stats::first_instance); 2743 if (draw.mesh && (!entry_available || !leonida::indirect_clamp_enabled())) return skip(indirect_stats::mesh);
2744 static_assert(indirect_stats::topology_supported(topology_rect_list) &&
2745 !indirect_stats::topology_supported(topology_quad_list));
2746 if (!draw.mesh && !indirect_stats::topology_supported(draw.topology)) return skip(indirect_stats::topology);
2747 if (!draw.mesh && !vk.draw_indirect_first_instance) return skip(indirect_stats::first_instance);
2577 if (!entry_available) return skip(indirect_stats::entry); 2748 if (!entry_available) return skip(indirect_stats::entry);
2578 if (draw.indexed && !vk.bind_robust_index_view) return skip(indirect_stats::robust_index); 2749 if (draw.indexed && !vk.bind_robust_index_view) return skip(indirect_stats::robust_index);
2579 if (arg.max_count > vk.max_draw_indirect_count) return skip(indirect_stats::count_limit); 2750 if (arg.max_count > vk.max_draw_indirect_count) return skip(indirect_stats::count_limit);
@@ -2617,6 +2788,7 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2617 if (draw.mesh && !vk.draw_mesh_tasks) return unsupported_at(__LINE__); 2788 if (draw.mesh && !vk.draw_mesh_tasks) return unsupported_at(__LINE__);
2618 if (pipeline->viewport_with_count && (!vk.set_viewport_with_count || !vk.set_scissor_with_count)) 2789 if (pipeline->viewport_with_count && (!vk.set_viewport_with_count || !vk.set_scissor_with_count))
2619 return unsupported_at(__LINE__); 2790 return unsupported_at(__LINE__);
2791 if (pipeline->depth_bounds && !vk.set_depth_bounds) return unsupported_at(__LINE__);
2620 if (pipeline->bindless_set && !vk.bind_descriptor_sets) return unsupported_at(__LINE__); 2792 if (pipeline->bindless_set && !vk.bind_descriptor_sets) return unsupported_at(__LINE__);
2621 if (pipeline->color_formats.size() > max_render_targets) return unsupported_at(__LINE__); 2793 if (pipeline->color_formats.size() > max_render_targets) return unsupported_at(__LINE__);
2622 p.graphics = pipeline; 2794 p.graphics = pipeline;
@@ -2687,8 +2859,10 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2687 for (std::size_t slot = 0; slot < p.colors.size(); ++slot) 2859 for (std::size_t slot = 0; slot < p.colors.size(); ++slot)
2688 if (pipeline->color_formats[slot] != VK_FORMAT_UNDEFINED && !p.colors[slot].id) unbound |= 1u << slot; 2860 if (pipeline->color_formats[slot] != VK_FORMAT_UNDEFINED && !p.colors[slot].id) unbound |= 1u << slot;
2689 if (pipeline->depth_format != VK_FORMAT_UNDEFINED && !p.depth.id) unbound |= GraphicsPipeline::unbound_depth; 2861 if (pipeline->depth_format != VK_FORMAT_UNDEFINED && !p.depth.id) unbound |= GraphicsPipeline::unbound_depth;
2862 if (pipeline->requested) pipeline->requested(pipeline->request_context, unbound);
2690 if (unbound || !p.pipeline) { 2863 if (unbound || !p.pipeline) {
2691 if (vk.compiles && pipeline->variant && pipeline->built && !pipeline->async_build) { 2864 const bool indirect_rect_variant = arguments && (unbound & GraphicsPipeline::rectangle_stage);
2865 if (vk.compiles && pipeline->variant && pipeline->built && !pipeline->async_build && !indirect_rect_variant) {
2692 p.pipeline = pipeline->built(unbound); 2866 p.pipeline = pipeline->built(unbound);
2693 if (!p.pipeline) p.compile = vk.compiles->add(*pipeline, unbound); 2867 if (!p.pipeline) p.compile = vk.compiles->add(*pipeline, unbound);
2694 } else { 2868 } else {
@@ -2698,6 +2872,11 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2698 p.skipped = true; 2872 p.skipped = true;
2699 return ReplayResult::success; 2873 return ReplayResult::success;
2700 } 2874 }
2875 if (!p.pipeline && !pipeline->async_build && indirect_rect_variant) {
2876 indirect_stats::skip(indirect_stats::Event::replay_skip, indirect_stats::topology);
2877 p.skipped = true;
2878 return ReplayResult::success;
2879 }
2701 if (!p.pipeline) return unsupported_at(__LINE__); 2880 if (!p.pipeline) return unsupported_at(__LINE__);
2702 } 2881 }
2703 } 2882 }
@@ -2783,6 +2962,7 @@ ReplayResult prepare_draw(const Draw& draw, const IndirectDrawArgs* arguments, R
2783// A compute pipeline that is built on first use: the one built already, the one vk.compiles will build with the 2962// A compute pipeline that is built on first use: the one built already, the one vk.compiles will build with the
2784// submission's others (true, with p.compile set and no pipeline yet), or the one built here. 2963// submission's others (true, with p.compile set and no pipeline yet), or the one built here.
2785inline bool first_use(const ComputePipeline& pipeline, PipelineCompiles::User user, const ReplayFunctions& vk, Prepared& p) { 2964inline bool first_use(const ComputePipeline& pipeline, PipelineCompiles::User user, const ReplayFunctions& vk, Prepared& p) {
2965 if (pipeline.requested) pipeline.requested(pipeline.request_context, 0); // also for a handle that exists already
2786 if (p.pipeline.pipeline || !pipeline.build) return p.pipeline.pipeline != VK_NULL_HANDLE; 2966 if (p.pipeline.pipeline || !pipeline.build) return p.pipeline.pipeline != VK_NULL_HANDLE;
2787 if (vk.compiles && pipeline.built && !pipeline.async_build && !pipeline.skipped && 2967 if (vk.compiles && pipeline.built && !pipeline.async_build && !pipeline.skipped &&
2788 (!pipeline.bindless_set || vk.bind_descriptor_sets)) { 2968 (!pipeline.bindless_set || vk.bind_descriptor_sets)) {
@@ -2925,30 +3105,51 @@ public:
2925 std::vector<detail::PreparedKhrPostbuild> khr_postbuilds; 3105 std::vector<detail::PreparedKhrPostbuild> khr_postbuilds;
2926}; 3106};
2927 3107
2928// Ends the preparation of a submission whose prepare() calls used `compiles` and returned `result` (the first that 3108// Checks the outcomes of a compiled PipelineCompiles batch against `result` (the first prepare() failure, if any).
2929// failed, if any): builds the pipelines through run(count, job), puts them into `lists`, and returns what the calls would 3109// Every use in `compiles` comes from a command before the one that failed, so a pipeline that cannot be built counts
2930// have returned had they built each pipeline themselves. Every use in `compiles` comes from a command before the one that 3110// first, at the earliest command that uses it: it fails the list of a draw or an indirect dispatch, and a dispatch is
2931// failed, so a pipeline that cannot be built counts first, at the earliest command that uses it: it fails the list of a 3111// dropped as prepare() drops one. Non-strict failed dispatches already logged in `prior` are not logged twice.
2932// draw or an indirect dispatch, and a dispatch is dropped as prepare() drops one. 3112inline ReplayResult check_compiled_pipelines(const PipelineCompiles& compiles, ReplayResult result,
2933template<typename Run> 3113 const PipelineCompiles* prior = nullptr) {
2934ReplayResult build_pipelines(PipelineCompiles& compiles, std::span<PreparedList> lists, ReplayResult result,
2935 Run&& run) {
2936 if (compiles.empty()) return result;
2937 compiles.build(run);
2938 for (const PipelineCompiles::Use& use : compiles.uses()) { 3114 for (const PipelineCompiles::Use& use : compiles.uses()) {
2939 if (compiles.built(use.ticket)) continue; 3115 if (compiles.built(use.ticket)) continue;
2940 if (use.user == PipelineCompiles::User::draw) return unsupported_at(__LINE__); 3116 if (use.user == PipelineCompiles::User::draw) return unsupported_at(__LINE__);
2941 if (use.user == PipelineCompiles::User::indirect_dispatch || strict_replay()) return unresolved_at(__LINE__); 3117 if (use.user == PipelineCompiles::User::indirect_dispatch || strict_replay()) return unresolved_at(__LINE__);
2942 unresolved_at(__LINE__); 3118 if (!prior || !prior->contains_ticket(compiles, use.ticket)) unresolved_at(__LINE__);
2943 } 3119 }
2944 if (result != ReplayResult::success) return result; 3120 return result;
3121}
3122
3123inline ReplayResult finish_compiled_pipelines(const PipelineCompiles& compiles, std::span<PreparedList> lists,
3124 ReplayResult result, const PipelineCompiles* prior = nullptr) {
3125 const ReplayResult checked = check_compiled_pipelines(compiles, result, prior);
3126 if (checked != ReplayResult::success) return checked;
2945 for (PreparedList& list : lists) { 3127 for (PreparedList& list : lists) {
2946 for (detail::Prepared& command : list.commands) 3128 for (detail::Prepared& command : list.commands)
2947 if (command.compile) command.pipeline.pipeline = compiles.built(command.compile); 3129 if (command.compile) command.pipeline.pipeline = compiles.built(command.compile);
2948 for (std::size_t i = 0; i < list.draw_count; ++i) 3130 for (std::size_t i = 0; i < list.draw_count; ++i)
2949 if (list.draws[i].compile) list.draws[i].pipeline = compiles.built(list.draws[i].compile); 3131 if (list.draws[i].compile) list.draws[i].pipeline = compiles.built(list.draws[i].compile);
2950 } 3132 }
2951 return result; 3133 return checked;
3134}
3135
3136// Ends the preparation of a submission whose prepare() calls used `compiles` and returned `result` (the first that
3137// failed, if any): builds the pipelines through run(count, job), puts them into `lists`, and returns what the calls would
3138// have returned had they built each pipeline themselves.
3139template<typename Run>
3140ReplayResult build_pipelines(PipelineCompiles& compiles, std::span<PreparedList> lists, ReplayResult result,
3141 Run&& run, const std::function<std::uint64_t()>& budget = {},
3142 const PipelineCompiles* prior = nullptr) {
3143 if (compiles.empty()) return result;
3144 compiles.build(run, budget, prior);
3145 return finish_compiled_pipelines(compiles, lists, result, prior);
3146}
3147
3148inline ReplayResult build_pipelines_serial(PipelineCompiles& compiles, std::span<PreparedList> lists,
3149 ReplayResult result, const PipelineCompiles* prior = nullptr) {
3150 if (compiles.empty()) return result;
3151 compiles.build_serial(prior);
3152 return finish_compiled_pipelines(compiles, lists, result, prior);
2952} 3153}
2953 3154
2954inline ReplayResult plan_occlusion_segments(PreparedList& out) { 3155inline ReplayResult plan_occlusion_segments(PreparedList& out) {
@@ -2989,6 +3190,8 @@ inline bool has_helper_dispatch(const PreparedList& out, std::size_t i) {
2989 const auto& p = out.commands[i]; 3190 const auto& p = out.commands[i];
2990 if (p.predicate.scratch || !p.predicated_copy.empty() || p.has_depth24 || p.counted_dispatch.indirect) 3191 if (p.predicate.scratch || !p.predicated_copy.empty() || p.has_depth24 || p.counted_dispatch.indirect)
2991 return true; 3192 return true;
3193 if (p.depth_uav_copy != UINT32_MAX && !out.depth_uav_copies[p.depth_uav_copy].depth24_parts.empty())
3194 return true;
2992 return std::holds_alternative<Draw>(out.list->commands()[i]) && p.draw < out.draws.size() && 3195 return std::holds_alternative<Draw>(out.list->commands()[i]) && p.draw < out.draws.size() &&
2993 out.draws[p.draw].quad_indices.buffer; 3196 out.draws[p.draw].quad_indices.buffer;
2994} 3197}
@@ -3094,6 +3297,15 @@ inline void plan_statistics_segments(PreparedList& out) {
3094// while one runs, because its helper dispatch would be counted — closes the one open physical query and opens 3297// while one runs, because its helper dispatch would be counted — closes the one open physical query and opens
3095// a new one, so each logical query keeps a contiguous slot range and its result is the sum of that range 3298// a new one, so each logical query keeps a contiguous slot range and its result is the sum of that range
3096// (statistics_sum.comp). A Begin or End of another query kind leaves the segments alone. 3299// (statistics_sum.comp). A Begin or End of another query kind leaves the segments alone.
3300// The draw kind of every statistics segment of a batch, list after list, as the batch's segment pool numbers them
3301// (OcclusionSegmentPool::mesh). `lists` is this batch's lists only: a caller that keeps PreparedLists from a larger
3302// batch past its end (VulkanQueue::execute) passes the first lists.size() of them.
3303inline std::vector<std::uint8_t> batch_statistics_mesh(std::span<const PreparedList> lists) {
3304 std::vector<std::uint8_t> out;
3305 for (const PreparedList& list : lists) out.insert(out.end(), list.statistics_mesh.begin(), list.statistics_mesh.end());
3306 return out;
3307}
3308
3097inline ReplayResult plan_overlapping_statistics_segments(PreparedList& out) { 3309inline ReplayResult plan_overlapping_statistics_segments(PreparedList& out) {
3098 std::map<std::pair<QueryHeapId, std::uint32_t>, std::uint32_t> active; 3310 std::map<std::pair<QueryHeapId, std::uint32_t>, std::uint32_t> active;
3099 std::uint32_t current = detail::PreparedQuery::no_segment; 3311 std::uint32_t current = detail::PreparedQuery::no_segment;
@@ -3123,9 +3335,8 @@ inline ReplayResult plan_overlapping_statistics_segments(PreparedList& out) {
3123 p.statistics_end = current; 3335 p.statistics_end = current;
3124 current = open(); 3336 current = open();
3125 p.statistics_begin = current; 3337 p.statistics_begin = current;
3126 // A clamped draw is also the first vertex draw of this segment. 3338 // The clamped call is the first command of the new segment: a draw sets its kind below (vertex or
3127 if (draw_command(commands[i]).state) kind = 0; 3339 // mesh, as any draw does), a dispatch leaves it unset.
3128 continue;
3129 } 3340 }
3130 // A draw of the other kind than the open segment's starts a segment in its own pool (D3D-291). 3341 // A draw of the other kind than the open segment's starts a segment in its own pool (D3D-291).
3131 int draw = -1; 3342 int draw = -1;
@@ -3263,6 +3474,8 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3263 out.unpredicated_copies = 0; 3474 out.unpredicated_copies = 0;
3264 const bool queries = vk.reset_query_pool && vk.begin_query && vk.end_query && vk.write_timestamp && 3475 const bool queries = vk.reset_query_pool && vk.begin_query && vk.end_query && vk.write_timestamp &&
3265 vk.copy_query_pool_results && vk.fill_buffer && vk.query_pool; 3476 vk.copy_query_pool_results && vk.fill_buffer && vk.query_pool;
3477 // An SO_STATISTICS query on a real transform-feedback heap additionally needs the indexed begin/end (D3D-302).
3478 const bool so_queries = vk.begin_query_indexed && vk.end_query_indexed;
3266 // Vulkan allows one active query per type. Overlapping ordinary and binary occlusion share one physical 3479 // Vulkan allows one active query per type. Overlapping ordinary and binary occlusion share one physical
3267 // segment pool, and overlapping statistics split into the statistics pool (D3D-252); a physical query of a 3480 // segment pool, and overlapping statistics split into the statistics pool (D3D-252); a physical query of a
3268 // type is still open at most once at any point, because each event closes the one open slot and opens a new 3481 // type is still open at most once at any point, because each event closes the one open slot and opens a new
@@ -3270,6 +3483,10 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3270 VkDeviceAddress indirect_list_budget = 0; 3483 VkDeviceAddress indirect_list_budget = 0;
3271 std::size_t ordinary_active = 0, binary_active = 0, statistics_active_count = 0; 3484 std::size_t ordinary_active = 0, binary_active = 0, statistics_active_count = 0;
3272 bool overlaps = false, statistics_overlaps = false, statistics_active = false; 3485 bool overlaps = false, statistics_overlaps = false, statistics_active = false;
3486 // Streams with an active SO_STATISTICS query in this list, one bit each (D3D-302). Two active transform-feedback
3487 // queries on one stream break VUID-vkCmdBeginQueryIndexedEXT-queryPool-04753 anywhere in the command buffer,
3488 // whatever their pools, so prepare refuses a second Begin on an active stream.
3489 std::uint32_t so_active = 0;
3273 out.wrote_readback = false; 3490 out.wrote_readback = false;
3274 out.readback_src_stages = 0; 3491 out.readback_src_stages = 0;
3275 3492
@@ -3322,8 +3539,27 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3322 copy.scratch = plane_scratch; 3539 copy.scratch = plane_scratch;
3323 copy.offset = plane_offset; 3540 copy.offset = plane_offset;
3324 copy.to_storage = after; 3541 copy.to_storage = after;
3542 if (copy.conversion.image && p.binding.format == VK_FORMAT_D24_UNORM_S8_UINT) {
3543 if (!vk.depth24_prepare || !vk.depth24_run ||
3544 (vk.queue_stages && !(vk.queue_stages & VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT)) ||
3545 texels > UINT32_MAX || (statistics_active && !statistics_helpers))
3546 return ReplayResult::unsupported;
3547 Depth24Job job{};
3548 job.to_float = after;
3549 job.app = plane_scratch;
3550 job.app_offset = plane_offset;
3551 job.app_size = plane_offset + bytes;
3552 job.width = p.binding.width;
3553 job.height = p.binding.height;
3554 job.slices = p.range.layerCount;
3555 job.app_row_words = job.width;
3556 job.app_slice_words = std::uint32_t(texels);
3557 if (!vk.depth24_prepare(job, copy.depth24_parts)) return ReplayResult::unsupported;
3558 copy.depth24_scratch = job.scratch;
3559 copy.depth24_scratch_offset = job.scratch_offset;
3560 }
3325 p.depth_uav_copy = static_cast<std::uint32_t>(out.depth_uav_copies.size()); 3561 p.depth_uav_copy = static_cast<std::uint32_t>(out.depth_uav_copies.size());
3326 out.depth_uav_copies.push_back(copy); 3562 out.depth_uav_copies.push_back(std::move(copy));
3327 return ReplayResult::success; 3563 return ReplayResult::success;
3328 }; 3564 };
3329 3565
@@ -3476,36 +3712,46 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3476 : view_format != VK_FORMAT_E5B9G9R9_UFLOAT_PACK32; 3712 : view_format != VK_FORMAT_E5B9G9R9_UFLOAT_PACK32;
3477 const bool reinterpret = view_format != p.binding.format && attachment && view_attachable && !packed_rgb9e5; 3713 const bool reinterpret = view_format != p.binding.format && attachment && view_attachable && !packed_rgb9e5;
3478 if (view.exact_clear_format && view_format != p.binding.format && !packed_rgb9e5) 3714 if (view.exact_clear_format && view_format != p.binding.format && !packed_rgb9e5)
3479 return ReplayResult::unsupported; 3715 return unsupported_at(__LINE__);
3480 const VkFormat clear_format = reinterpret ? view_format : p.binding.format; 3716 const VkFormat clear_format = reinterpret ? view_format : p.binding.format;
3481 if (!uav_clear::decode(clear_format, p.element, p.clear_color)) 3717 if (!uav_clear::decode(clear_format, p.element, p.clear_color))
3482 return unsupported_at(__LINE__); 3718 return unsupported_at(__LINE__);
3483 if (reinterpret) p.clear_format = view_format; 3719 if (reinterpret) p.clear_format = view_format;
3484 // Compute list barriers have no attachment stages, and a dedicated compute queue cannot render. 3720 // A 3D transfer clear covers a whole mip and a compute-only queue cannot render rectangles.
3485 // Copy the encoded texel bits from a filled buffer. Transfers cannot implement a predicated clear. 3721 // Copy the encoded texel bits instead. These copies cannot implement a predicated clear.
3486 if ((vk.queue_stages & VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT) && 3722 const bool sliced = p.binding.volume && view.layer_count != std::max(1u, p.binding.depth >> view.mip);
3487 (!uav->rects.empty() || reinterpret || predicated)) { 3723 const bool stage_volume = p.binding.volume && (sliced || !uav->rects.empty());
3488 if (predicated || p.binding.volume || !vk.copy_scratch || !vk.fill_buffer || !vk.copy_buffer_to_image || 3724 const bool stage_compute = (vk.queue_stages & VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT) &&
3489 (p.element.size != 1 && p.element.size != 2 && p.element.size != 4)) 3725 (!uav->rects.empty() || reinterpret || predicated);
3490 return ReplayResult::unsupported; 3726 if (stage_volume || stage_compute) {
3727 if (predicated) return unsupported_at(__LINE__);
3728 if (stage_volume && view_format != p.binding.format && !packed_rgb9e5)
3729 return unsupported_at(__LINE__);
3730 if (!vk.copy_scratch || !vk.copy_buffer_to_image ||
3731 (p.element.size <= 4 ? !vk.fill_buffer : (!stage_volume || !vk.update_buffer)))
3732 return unsupported_at(__LINE__);
3491 const auto rects = uav->rects.empty() ? std::span<const Rect>(&whole_view, 1) : 3733 const auto rects = uav->rects.empty() ? std::span<const Rect>(&whole_view, 1) :
3492 std::span<const Rect>(uav->rects); 3734 std::span<const Rect>(uav->rects);
3493 detail::clip(rects, detail::mip_extent(p.binding, view.mip), view.layer_count, p.rects); 3735 detail::clip(rects, detail::mip_extent(p.binding, view.mip), p.range.layerCount, p.rects);
3494 if (p.rects.empty()) { p.skip = true; continue; } 3736 if (p.rects.empty()) { p.skip = true; continue; }
3495 for (const auto& rect : p.rects) { 3737 for (const auto& rect : p.rects) {
3496 VkBufferImageCopy region{}; 3738 VkBufferImageCopy region{};
3497 region.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, view.mip, view.first_layer, view.layer_count}; 3739 region.imageSubresource = {p.range.aspectMask, view.mip, p.range.baseArrayLayer, p.range.layerCount};
3498 region.imageOffset = {rect.rect.offset.x, rect.rect.offset.y, 0}; 3740 region.imageOffset = {rect.rect.offset.x, rect.rect.offset.y, 0};
3499 region.imageExtent = {rect.rect.extent.width, rect.rect.extent.height, 1}; 3741 region.imageExtent = {rect.rect.extent.width, rect.rect.extent.height, 1};
3500 const VkDeviceSize pixels = VkDeviceSize(region.imageExtent.width) * region.imageExtent.height; 3742 const auto tile = stage_volume ? detail::volume_clear_tile(rect.rect.extent, p.element.size)
3501 const VkDeviceSize stride = VkDeviceSize(view.layer_count) * p.element.size; 3743 : rect.rect.extent;
3502 if (pixels > (UINT64_MAX - 3) / stride) return ReplayResult::unsupported; 3744 const VkDeviceSize pixels = VkDeviceSize(tile.width) * tile.height;
3745 const VkDeviceSize stride = VkDeviceSize(p.range.layerCount) * p.element.size;
3746 if (pixels > (UINT64_MAX - 3) / stride) return unsupported_at(__LINE__);
3747 // Pad only the private pattern for vkCmdFillBuffer; copies use the exact image extent.
3503 p.clear_pattern_bytes = std::max(p.clear_pattern_bytes, (pixels * stride + 3) & ~VkDeviceSize(3)); 3748 p.clear_pattern_bytes = std::max(p.clear_pattern_bytes, (pixels * stride + 3) & ~VkDeviceSize(3));
3504 p.staged_writes.push_back(region); 3749 p.staged_writes.push_back(region);
3505 } 3750 }
3506 VkDeviceSize offset = 0; 3751 VkDeviceSize offset = 0;
3507 if (!vk.copy_scratch(p.clear_pattern_bytes, p.staged, offset) || !p.staged || offset % 4) 3752 if (!vk.copy_scratch(p.clear_pattern_bytes, p.staged, offset) || !p.staged ||
3508 return ReplayResult::unsupported; 3753 offset % std::max(4u, p.element.size) || offset > UINT64_MAX - p.clear_pattern_bytes)
3754 return unsupported_at(__LINE__);
3509 for (auto& region : p.staged_writes) region.bufferOffset = offset; 3755 for (auto& region : p.staged_writes) region.bufferOffset = offset;
3510 continue; 3756 continue;
3511 } 3757 }
@@ -3808,7 +4054,23 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3808 overlaps |= begin && (ordinary_active || binary_active); 4054 overlaps |= begin && (ordinary_active || binary_active);
3809 if (begin) ++binary_active; else --binary_active; 4055 if (begin) ++binary_active; else --binary_active;
3810 } else if (is_so_statistics(range.type)) { 4056 } else if (is_so_statistics(range.type)) {
3811 // No Vulkan query runs for it (QueryPool::pool is null), so it overlaps nothing. 4057 // A real transform-feedback heap queries on a stream (D3D-302). Stream n runs only when the
4058 // heap's pool covers it; then the indexed commands are required. Without a pool (the feature is
4059 // off or has no transformFeedbackQueries) or past maxTransformFeedbackStreams it runs nothing
4060 // and resolves zero. Two overlapping queries on one stream cannot both be active in one command
4061 // buffer, even in two heaps (VUID-vkCmdBeginQueryIndexedEXT-queryPool-04753), so a second Begin
4062 // is refused.
4063 const std::uint32_t stream = range.type - d3d12_query::so_statistics_stream0;
4064 if (heap->pool && stream < heap->streams) {
4065 if (!so_queries) return unsupported_at(__LINE__);
4066 const std::uint32_t bit = 1u << stream; // stream < heap->streams <= 4
4067 if (begin) {
4068 if (so_active & bit) return ReplayResult::invalid_query;
4069 so_active |= bit;
4070 } else {
4071 so_active &= ~bit;
4072 }
4073 }
3812 } else { 4074 } else {
3813 statistics_overlaps |= begin && statistics_active_count; 4075 statistics_overlaps |= begin && statistics_active_count;
3814 if (begin) ++statistics_active_count; else --statistics_active_count; 4076 if (begin) ++statistics_active_count; else --statistics_active_count;
@@ -3854,6 +4116,11 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3854 return ReplayResult::invalid_indirect_arguments; 4116 return ReplayResult::invalid_indirect_arguments;
3855 p.source = *cnt; 4117 p.source = *cnt;
3856 } 4118 }
4119 if (ind->kind != IndirectKind::dispatch && !vk.external_graphics_scope) continue;
4120 // A DISPATCH's pipeline first: one that is dropped (skipped, or still building) leaves the command here,
4121 // before its clamp is prepared. A clamp prepared for it would be emitted with no dispatch after it, and
4122 // when it was the list's first clamp it owns the list's work budget (share_list_budget), so the budget
4123 // word every later clamp of the list reads would be set up by a pass that never runs.
3857 if (ind->kind == IndirectKind::dispatch && ind->pipeline) { // the pipeline and root arguments it was recorded 4124 if (ind->kind == IndirectKind::dispatch && ind->pipeline) { // the pipeline and root arguments it was recorded
3858 if (!vk.bind_pipeline || !vk.push_constants || !vk.compute_pipeline) return unsupported_at(__LINE__); 4125 if (!vk.bind_pipeline || !vk.push_constants || !vk.compute_pipeline) return unsupported_at(__LINE__);
3859 const ComputePipeline* pipeline = vk.compute_pipeline(ind->pipeline); 4126 const ComputePipeline* pipeline = vk.compute_pipeline(ind->pipeline);
@@ -3865,28 +4132,54 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
3865 if (!found) return unresolved_at(__LINE__); 4132 if (!found) return unresolved_at(__LINE__);
3866 if (pipeline->bindless_set && !vk.bind_descriptor_sets) return unsupported_at(__LINE__); 4133 if (pipeline->bindless_set && !vk.bind_descriptor_sets) return unsupported_at(__LINE__);
3867 } 4134 }
3868 if (ind->kind == IndirectKind::dispatch && vk.require_indirect_clamp) { 4135 // The clamp pass (vulkan_indirect_clamp.h): the arguments are copied on the GPU into scratch with their
3869 if (!ind->pipeline || !vk.dispatch_indirect || !vk.prepare_indirect_clamp || !vk.emit_indirect_clamp || 4136 // values bounded before the indirect command reads them, so a stale or garbage record left by a skipped or
3870 (statistics_active && !statistics_helpers) || 4137 // mistranslated compute pass cannot run for seconds and reset the display driver. A counted call has its
3871 !vk.prepare_indirect_clamp(p.binding.buffer, p.binding.buffer_offset + ind->argument_offset, 4138 // count clamped to max_command_count too. It is a helper dispatch, so it needs the statistics segments of
3872 p.source.buffer, p.source.buffer_offset + ind->count_offset, indirect_clamp_dispatch, 4139 // a pipeline-statistics query. Every clamp of this list shares one work budget: a list of many calls does
3873 ind->stride, ind->max_count, p.indirect_clamp)) 4140 // not multiply the per-list limit.
3874 return unsupported_at(__LINE__); 4141 const bool clamp_command_available =
3875 p.indirect_clamp.share_list_budget(indirect_list_budget); 4142 ind->kind == IndirectKind::dispatch
3876 } else if (ind->kind == IndirectKind::dispatch && (ind->count_buffer || indirect_group_budget())) { 4143 ? vk.dispatch_indirect != nullptr
3877 // Vulkan lacks vkCmdDispatchIndirectCount. Copy the GPU-visible commands to private scratch 4144 : ind->kind == IndirectKind::draw
3878 // and replace commands past min(count, max_count) with zero-group dispatches. 4145 ? (ind->count_buffer ? vk.draw_indirect_count != nullptr : vk.draw_indirect != nullptr)
3879 if (!ind->pipeline || !vk.dispatch_indirect || !vk.prepare_counted_dispatch || 4146 : (ind->count_buffer ? vk.draw_indexed_indirect_count != nullptr
3880 !vk.emit_counted_dispatch || (statistics_active && !statistics_helpers) || 4147 : vk.draw_indexed_indirect != nullptr);
3881 !vk.prepare_counted_dispatch(p.binding.buffer, p.binding.buffer_offset + ind->argument_offset, 4148 const bool clamped =
3882 p.source.buffer, p.source.buffer_offset + ind->count_offset, 4149 leonida::indirect_clamp_enabled() && vk.prepare_indirect_clamp && vk.emit_indirect_clamp &&
3883 ind->stride, ind->max_count, p.counted_dispatch)) 4150 clamp_command_available && !(statistics_active && !statistics_helpers) &&
4151 vk.prepare_indirect_clamp(p.binding.buffer, p.binding.buffer_offset + ind->argument_offset,
4152 ind->count_buffer ? p.source.buffer : VK_NULL_HANDLE,
4153 ind->count_buffer ? p.source.buffer_offset + ind->count_offset : 0,
4154 static_cast<std::uint32_t>(ind->kind), ind->stride, ind->max_count,
4155 p.indirect_clamp);
4156 if (clamped) p.indirect_clamp.share_list_budget(indirect_list_budget);
4157 // A device with the pass enabled refuses an indirect call whose clamp could not be prepared: reading the
4158 // application's buffer is what the clamp exists to avoid. Otherwise the fallbacks below apply.
4159 if (!clamped && vk.require_indirect_clamp) return unsupported_at(__LINE__);
4160 // Nothing else to resolve when clamped: the clamp's scratch is the indirect buffer and its count word.
4161 if (!clamped) {
4162 if (ind->kind == IndirectKind::dispatch) {
4163 if (ind->count_buffer || indirect_group_budget()) {
4164 // Vulkan lacks vkCmdDispatchIndirectCount. Copy the GPU-visible commands to private scratch
4165 // and replace commands past min(count, max_count) with zero-group dispatches - or, with
4166 // LEONIDA_INDIRECT_GROUP_BUDGET and no count buffer, keep the whole batch inside its work
4167 // budget. `source` is the count binding, null without one.
4168 if (!ind->pipeline || !vk.dispatch_indirect || !vk.prepare_counted_dispatch ||
4169 !vk.emit_counted_dispatch || (statistics_active && !statistics_helpers) ||
4170 !vk.prepare_counted_dispatch(p.binding.buffer, p.binding.buffer_offset + ind->argument_offset,
4171 p.source.buffer, p.source.buffer_offset + ind->count_offset,
4172 ind->stride, ind->max_count, p.counted_dispatch))
4173 return unsupported_at(__LINE__);
4174 } else if (!vk.dispatch_indirect) {
4175 return unsupported_at(__LINE__);
4176 }
4177 } else if (!clamp_command_available) {
4178 // A legacy graphics indirect draw is still emitted (a caller that opened its own rendering scope
4179 // around the replay, as the tests do); without vkCmdDrawIndirect[Count] there is nothing to emit.
3884 return unsupported_at(__LINE__); 4180 return unsupported_at(__LINE__);
3885 } else if (ind->kind == IndirectKind::dispatch && !vk.dispatch_indirect) { 4181 }
3886 return unsupported_at(__LINE__);
3887 } 4182 }
3888 // Legacy graphics IR carries no graphics state. Validate its resource ranges above,
3889 // but never emit it; stateful graphics indirects use Draw and its rendering scope.
3890 } else if (const auto* build = std::get_if<BuildAccelerationStructure>(&command)) { 4183 } else if (const auto* build = std::get_if<BuildAccelerationStructure>(&command)) {
3891 p.khr_instances = 0; 4184 p.khr_instances = 0;
3892 if (vk.xdxr_check) { 4185 if (vk.xdxr_check) {
@@ -4027,19 +4320,49 @@ ReplayResult prepare(const CommandList& list, Resolve&& resolve, const ReplayFun
4027 if (const auto r = detail::prepare_quad_indices(*draw.state, vk, prepared_draw); r != ReplayResult::success) 4320 if (const auto r = detail::prepare_quad_indices(*draw.state, vk, prepared_draw); r != ReplayResult::success)
4028 return r; 4321 return r;
4029 } 4322 }
4030 if (draw.arguments && !prepared_draw.skipped && vk.require_indirect_clamp) { 4323 // A stateful indirect draw takes the same clamp pass (vulkan_indirect_clamp.h) as a legacy ExecuteIndirect:
4031 const auto& arg = *draw.arguments; 4324 // the arguments it reads are copied and bounded on the GPU before its rendering scope opens, and the draw
4032 if (!vk.prepare_indirect_clamp || !vk.emit_indirect_clamp || (statistics_active && !statistics_helpers) || 4325 // then reads that scratch. Recorded in this command's Prepared so the emit phase records the pass before
4033 !vk.prepare_indirect_clamp(prepared_draw.indirect_buffer, prepared_draw.indirect_offset, 4326 // vkCmdBeginRendering - outside the scope and outside a pipeline-statistics query. A draw that was already
4034 prepared_draw.indirect_count_buffer, prepared_draw.indirect_count_offset, 4327 // dropped, or whose indirect entry point or scratch is missing, keeps the application's argument buffer.
4035 draw.state->indexed ? indirect_clamp_draw_indexed : indirect_clamp_draw, 4328 if (draw.arguments && !prepared_draw.skipped) {
4036 arg.stride, arg.max_count, p.indirect_clamp)) 4329 const IndirectDrawArgs& arg = *draw.arguments;
4330 const ResourceBinding* args_of = resolve(arg.argument_buffer);
4331 const ResourceBinding* count = arg.count_buffer ? resolve(arg.count_buffer) : nullptr;
4332 const bool indexed = draw.state->indexed;
4333 const bool mesh = draw.state->mesh;
4334 const bool clamp_command_available =
4335 mesh ? (arg.count_buffer ? vk.draw_mesh_tasks_indirect_count != nullptr
4336 : vk.draw_mesh_tasks_indirect != nullptr)
4337 : arg.count_buffer
4338 ? (indexed ? vk.draw_indexed_indirect_count != nullptr : vk.draw_indirect_count != nullptr)
4339 : (indexed ? vk.draw_indexed_indirect != nullptr : vk.draw_indirect != nullptr);
4340 const bool clamped =
4341 args_of && args_of->buffer && clamp_command_available && leonida::indirect_clamp_enabled() &&
4342 vk.prepare_indirect_clamp && vk.emit_indirect_clamp && !(statistics_active && !statistics_helpers) &&
4343 vk.prepare_indirect_clamp(args_of->buffer, args_of->buffer_offset + arg.argument_offset,
4344 count ? count->buffer : VK_NULL_HANDLE,
4345 count ? count->buffer_offset + arg.count_offset : 0,
4346 static_cast<std::uint32_t>(mesh ? IndirectKind::dispatch_mesh
4347 : indexed ? IndirectKind::draw_indexed
4348 : IndirectKind::draw),
4349 arg.stride, arg.max_count, p.indirect_clamp);
4350 if (clamped) {
4351 // Clamped: p.indirect_clamp names the scratch this draw reads; nothing else to resolve. Its budget
4352 // is the list's (one per command list, shared with the legacy ExecuteIndirect clamps above), and
4353 // the prepared draw carries the clamped arguments too.
4354 p.indirect_clamp.share_list_budget(indirect_list_budget);
4355 prepared_draw.indirect_buffer = p.indirect_clamp.buffer;
4356 prepared_draw.indirect_offset = p.indirect_clamp.offset;
4357 prepared_draw.indirect_count_buffer = p.indirect_clamp.count_buffer;
4358 prepared_draw.indirect_count_offset = p.indirect_clamp.count_offset;
4359 } else if (mesh) {
4360 // Unclamped, a mesh record's y and z are whatever the title left there: not drawn.
4361 indirect_stats::skip(indirect_stats::Event::replay_skip, indirect_stats::mesh);
4362 prepared_draw.skipped = true;
4363 } else if (vk.require_indirect_clamp) {
4037 return unsupported_at(__LINE__); 4364 return unsupported_at(__LINE__);
4038 p.indirect_clamp.share_list_budget(indirect_list_budget); 4365 }
4039 prepared_draw.indirect_buffer = p.indirect_clamp.buffer;
4040 prepared_draw.indirect_offset = p.indirect_clamp.offset;
4041 prepared_draw.indirect_count_buffer = p.indirect_clamp.count_buffer;
4042 prepared_draw.indirect_count_offset = p.indirect_clamp.count_offset;
4043 } 4366 }
4044 } 4367 }
4045 } 4368 }
@@ -4122,12 +4445,16 @@ public:
4122 query.statistics_end != detail::PreparedQuery::no_segment; 4445 query.statistics_end != detail::PreparedQuery::no_segment;
4123 const std::uint32_t size = query_result_size(resolve.type); 4446 const std::uint32_t size = query_result_size(resolve.type);
4124 const auto offset = list.commands[query.command].binding.buffer_offset + resolve.offset; 4447 const auto offset = list.commands[query.command].binding.buffer_offset + resolve.offset;
4448 // A stream past the pool's maxTransformFeedbackStreams ran nothing (D3D-302): its resolve is zeros.
4449 const std::uint32_t so_stream =
4450 is_so_statistics(resolve.type) ? resolve.type - d3d12_query::so_statistics_stream0 : 0;
4451 const bool so_runs = !is_so_statistics(resolve.type) || so_stream < query.heap->streams;
4125 for (std::uint32_t i = 0; i < resolve.count; ++i) { 4452 for (std::uint32_t i = 0; i < resolve.count; ++i) {
4126 const auto index = resolve.first + i; 4453 const auto index = resolve.first + i;
4127 const auto value = lookup(*query.heap, index); 4454 const auto value = lookup(*query.heap, index);
4128 if (binary && value.ended && !uncounted) return unsupported_at(__LINE__); 4455 if (binary && value.ended && !uncounted) return unsupported_at(__LINE__);
4129 needs_binary |= binary && value.ended; 4456 needs_binary |= binary && value.ended;
4130 detail::QueryResolveRun run{value.ended ? query.heap->pool : VK_NULL_HANDLE, 4457 detail::QueryResolveRun run{value.ended && so_runs ? query.heap->pool : VK_NULL_HANDLE,
4131 index, 1, offset + VkDeviceSize(i) * size}; 4458 index, 1, offset + VkDeviceSize(i) * size};
4132 if (value.occlusion.segments) { 4459 if (value.occlusion.segments) {
4133 if (resolve.type != d3d12_query::occlusion && !binary && !statistics) 4460 if (resolve.type != d3d12_query::occlusion && !binary && !statistics)
@@ -4251,17 +4578,34 @@ inline void emit_query(const PreparedList& list, const detail::PreparedQuery& qu
4251 begin_statistics(); 4578 begin_statistics();
4252 return; 4579 return;
4253 } 4580 }
4254 // A heap without a Vulkan pool (stream-output statistics: the layer has no stream output) runs nothing for 4581 // A heap without a Vulkan pool (stream-output statistics on a device without VK_EXT_transform_feedback) runs
4255 // BeginQuery and EndQuery; its resolves were planned as zero fills. 4582 // nothing for BeginQuery and EndQuery; its resolves were planned as zero fills.
4256 if (!heap.pool && !std::holds_alternative<ResolveQueries>(command)) return; 4583 if (!heap.pool && !std::holds_alternative<ResolveQueries>(command)) return;
4584 // An SO_STATISTICS_STREAMn query begins/ends indexed on that stream (D3D-302): the query type's stream index is
4585 // the `index` argument of vkCmdBeginQueryIndexedEXT / vkCmdEndQueryIndexedEXT. A stream past the pool's
4586 // maxTransformFeedbackStreams runs nothing, like a heap without a pool: its resolves were planned as zero fills.
4587 const auto so_stream = [](std::uint32_t type) -> std::uint32_t {
4588 return is_so_statistics(type) ? type - d3d12_query::so_statistics_stream0 : 0;
4589 };
4590 const auto so_runs = [&](std::uint32_t type) {
4591 return !is_so_statistics(type) || so_stream(type) < heap.streams;
4592 };
4257 if (const auto* begin = std::get_if<BeginQuery>(&command)) { 4593 if (const auto* begin = std::get_if<BeginQuery>(&command)) {
4594 if (!so_runs(begin->type)) return;
4258 vk.reset_query_pool(cb, heap.pool, begin->index, 1); 4595 vk.reset_query_pool(cb, heap.pool, begin->index, 1);
4259 const bool precise = begin->type == d3d12_query::occlusion && heap.precise; 4596 if (is_so_statistics(begin->type)) {
4260 vk.begin_query(cb, heap.pool, begin->index, precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0); 4597 vk.begin_query_indexed(cb, heap.pool, begin->index, so_stream(begin->type), 0);
4598 } else {
4599 const bool precise = begin->type == d3d12_query::occlusion && heap.precise;
4600 vk.begin_query(cb, heap.pool, begin->index, precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0);
4601 }
4261 } else if (const auto* end = std::get_if<EndQuery>(&command)) { 4602 } else if (const auto* end = std::get_if<EndQuery>(&command)) {
4603 if (!so_runs(end->type)) return;
4262 if (end->type == d3d12_query::timestamp) { 4604 if (end->type == d3d12_query::timestamp) {
4263 vk.reset_query_pool(cb, heap.pool, end->index, 1); 4605 vk.reset_query_pool(cb, heap.pool, end->index, 1);
4264 vk.write_timestamp(cb, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, heap.pool, end->index); 4606 vk.write_timestamp(cb, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, heap.pool, end->index);
4607 } else if (is_so_statistics(end->type)) {
4608 vk.end_query_indexed(cb, heap.pool, end->index, so_stream(end->type));
4265 } else { 4609 } else {
4266 vk.end_query(cb, heap.pool, end->index); 4610 vk.end_query(cb, heap.pool, end->index);
4267 } 4611 }
@@ -4330,9 +4674,11 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4330 vk.depth24_run(command_buffer, job); 4674 vk.depth24_run(command_buffer, job);
4331 if (predicate.buffer) vk.begin_conditional_rendering(command_buffer, &predicate); 4675 if (predicate.buffer) vk.begin_conditional_rendering(command_buffer, &predicate);
4332 }; 4676 };
4333 const auto finish_depth_uav_barrier = [&](const detail::Prepared& p, VkImageLayout layout) { 4677 const auto finish_depth_uav_barrier = [&](const detail::Prepared& p, VkImageLayout layout,
4678 auto&& end_statistics, auto&& begin_statistics) {
4334 if (p.depth_uav_copy != UINT32_MAX) { 4679 if (p.depth_uav_copy != UINT32_MAX) {
4335 detail::copy_depth_uav(vk, command_buffer, p, prepared.depth_uav_copies[p.depth_uav_copy], layout, tracker); 4680 detail::copy_depth_uav(vk, command_buffer, p, prepared.depth_uav_copies[p.depth_uav_copy], layout, tracker,
4681 run_depth24, end_statistics, begin_statistics);
4336 } else if (p.order_depth_uav) { 4682 } else if (p.order_depth_uav) {
4337 // A UAV-to-UAV texture barrier names the parent, but the actual shader accesses target its children. 4683 // A UAV-to-UAV texture barrier names the parent, but the actual shader accesses target its children.
4338 detail::memory_barrier(vk, command_buffer, VK_ACCESS_MEMORY_WRITE_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 4684 detail::memory_barrier(vk, command_buffer, VK_ACCESS_MEMORY_WRITE_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
@@ -4362,13 +4708,8 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4362 // draw's own rendering scope begins. The index expansion of an indexed quad list runs here too: outside the 4708 // draw's own rendering scope begins. The index expansion of an indexed quad list runs here too: outside the
4363 // rendering scope, and between the segments so that no query counts its dispatch (D3D-162). It stays inside 4709 // rendering scope, and between the segments so that no query counts its dispatch (D3D-162). It stays inside
4364 // the predicate, which skips it together with its draw. 4710 // the predicate, which skips it together with its draw.
4365 if (p.indirect_clamp.buffer) { 4711 if (!p.indirect_clamp.buffer && !p.counted_dispatch.indirect &&
4366 end_statistics(); 4712 (raster.state || std::holds_alternative<ExecuteIndirect>(command))) {
4367 if (predicate.buffer) vk.end_conditional_rendering(command_buffer);
4368 vk.emit_indirect_clamp(command_buffer, p.indirect_clamp);
4369 if (predicate.buffer) vk.begin_conditional_rendering(command_buffer, &predicate);
4370 begin_statistics();
4371 } else if (!p.counted_dispatch.indirect && (raster.state || std::holds_alternative<ExecuteIndirect>(command))) {
4372 end_statistics(); 4713 end_statistics();
4373 if (raster.state && prepared.draws[p.draw].quad_indices.buffer) 4714 if (raster.state && prepared.draws[p.draw].quad_indices.buffer)
4374 vk.emit_quad_indices(command_buffer, prepared.draws[p.draw].quad_indices); 4715 vk.emit_quad_indices(command_buffer, prepared.draws[p.draw].quad_indices);
@@ -4420,7 +4761,7 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4420 detail::image_barrier(vk, command_buffer, p.binding, piece.range, piece.layout, new_layout, 4761 detail::image_barrier(vk, command_buffer, p.binding, piece.range, piece.layout, new_layout,
4421 from.access, from.stages, to.access, to.stages); 4762 from.access, from.stages, to.access, to.stages);
4422 if (tracker) tracker->set(id, range, new_layout); 4763 if (tracker) tracker->set(id, range, new_layout);
4423 finish_depth_uav_barrier(p, new_layout); 4764 finish_depth_uav_barrier(p, new_layout, end_statistics, begin_statistics);
4424 } else if (std::holds_alternative<UavBarrier>(command)) { 4765 } else if (std::holds_alternative<UavBarrier>(command)) {
4425 const VulkanAccess uav = vulkan_access(d3d12_state::unordered_access, false); 4766 const VulkanAccess uav = vulkan_access(d3d12_state::unordered_access, false);
4426 VkAccessFlags src_access = VK_ACCESS_SHADER_WRITE_BIT; 4767 VkAccessFlags src_access = VK_ACCESS_SHADER_WRITE_BIT;
@@ -4520,7 +4861,7 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4520 vk.pipeline_barrier2(command_buffer, &dependency); 4861 vk.pipeline_barrier2(command_buffer, &dependency);
4521 } 4862 }
4522 if (tracker && !release) tracker->set(id, range, new_layout); 4863 if (tracker && !release) tracker->set(id, range, new_layout);
4523 if (!release) finish_depth_uav_barrier(p, new_layout); 4864 if (!release) finish_depth_uav_barrier(p, new_layout, end_statistics, begin_statistics);
4524 } else if (const auto* color_clear = std::get_if<ClearRenderTarget>(&command)) { 4865 } else if (const auto* color_clear = std::get_if<ClearRenderTarget>(&command)) {
4525 if (p.skip) continue; 4866 if (p.skip) continue;
4526 if constexpr (Checkpoints) checkpoints->record(command_buffer, i, CheckpointKind::clear); 4867 if constexpr (Checkpoints) checkpoints->record(command_buffer, i, CheckpointKind::clear);
@@ -4566,7 +4907,8 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4566 const VulkanAccess state = vulkan_access(d3d12_state::depth_write, false); 4907 const VulkanAccess state = vulkan_access(d3d12_state::depth_write, false);
4567 auto pieces = detail::current(tracker, id, range, image_layout(p.binding, state.layout)); 4908 auto pieces = detail::current(tracker, id, range, image_layout(p.binding, state.layout));
4568 detail::initialize(vk, command_buffer, p.binding, id, pieces, image_layout(p.binding, state.layout), tracker); 4909 detail::initialize(vk, command_buffer, p.binding, id, pieces, image_layout(p.binding, state.layout), tracker);
4569 float depth = p.binding.xbox_depth16_stencil8 ? std::round(std::clamp(depth_clear->depth,0.0f,1.0f)*65535.0f)/65535.0f : p.binding.depth24 ? depth24_clear_value(depth_clear->depth) // see depth24.h 4910 float depth = p.binding.xbox_depth16_stencil8 ? detail::quantize_depth16(depth_clear->depth)
4911 : p.binding.depth24 ? depth24_clear_value(depth_clear->depth) // see depth24.h
4570 : p.binding.format == VK_FORMAT_D16_UNORM 4912 : p.binding.format == VK_FORMAT_D16_UNORM
4571 ? detail::quantize_unorm(depth_clear->depth, 65535.0) // see quantize_unorm 4913 ? detail::quantize_unorm(depth_clear->depth, 65535.0) // see quantize_unorm
4572 : depth_clear->depth; 4914 : depth_clear->depth;
@@ -4638,7 +4980,27 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4638 detail::memory_barrier(vk, command_buffer, VK_ACCESS_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 4980 detail::memory_barrier(vk, command_buffer, VK_ACCESS_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
4639 VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_TRANSFER_WRITE_BIT, 4981 VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_TRANSFER_WRITE_BIT,
4640 VK_PIPELINE_STAGE_TRANSFER_BIT); 4982 VK_PIPELINE_STAGE_TRANSFER_BIT);
4641 vk.copy_buffer_to_image(command_buffer, p.staged, p.binding.image, layout, 1, &region); 4983 if (!p.binding.volume) {
4984 vk.copy_buffer_to_image(command_buffer, p.staged, p.binding.image, layout, 1, &region);
4985 continue;
4986 }
4987 // Tiles within this rectangle are disjoint. Reuse the same scratch texels for every
4988 // tile and W slice; keep only one region per clipped rectangle in the prepared list.
4989 const auto tile = detail::volume_clear_tile({region.imageExtent.width, region.imageExtent.height},
4990 p.element.size);
4991 auto piece = region;
4992 for (std::uint32_t z = 0; z < uav->view.layer_count; ++z) {
4993 piece.imageOffset.z = std::int32_t(uav->view.first_layer + z);
4994 for (std::uint32_t y = 0; y < region.imageExtent.height; y += tile.height) {
4995 piece.imageOffset.y = region.imageOffset.y + std::int32_t(y);
4996 piece.imageExtent.height = std::min(tile.height, region.imageExtent.height - y);
4997 for (std::uint32_t x = 0; x < region.imageExtent.width; x += tile.width) {
4998 piece.imageOffset.x = region.imageOffset.x + std::int32_t(x);
4999 piece.imageExtent.width = std::min(tile.width, region.imageExtent.width - x);
5000 vk.copy_buffer_to_image(command_buffer, p.staged, p.binding.image, layout, 1, &piece);
5001 }
5002 }
5003 }
4642 } 5004 }
4643 }); 5005 });
4644 continue; 5006 continue;
@@ -4953,17 +5315,64 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4953 VK_PIPELINE_STAGE_TRANSFER_BIT); 5315 VK_PIPELINE_STAGE_TRANSFER_BIT);
4954 vk.copy_buffer(command_buffer, p.source.buffer, p.binding.buffer, 1, p.buffer_copies.data()); 5316 vk.copy_buffer(command_buffer, p.source.buffer, p.binding.buffer, 1, p.buffer_copies.data());
4955 } else if (const auto* ind = std::get_if<ExecuteIndirect>(&command)) { 5317 } else if (const auto* ind = std::get_if<ExecuteIndirect>(&command)) {
4956 if (ind->kind != IndirectKind::dispatch) { 5318 if (ind->kind != IndirectKind::dispatch && !vk.external_graphics_scope) {
4957 indirect_stats::skip(indirect_stats::Event::replay_skip, indirect_stats::stateless); 5319 indirect_stats::skip(indirect_stats::Event::replay_skip, indirect_stats::stateless);
4958 continue; 5320 continue;
4959 } 5321 }
5322 // The clamp pass (vulkan_indirect_clamp.h) runs before anything reads the indirect arguments, and before
5323 // the drawing scope an indirect draw opens around itself. It is a helper dispatch: a pipeline-statistics
5324 // query must not count it, and it runs even under a false predicate (the draw it feeds may be the one
5325 // the predicate discards, and a later command may read the same scratch).
5326 const bool clamped = p.indirect_clamp.buffer != VK_NULL_HANDLE;
5327 if (clamped) {
5328 end_statistics();
5329 if (predicate.buffer) vk.end_conditional_rendering(command_buffer);
5330 vk.emit_indirect_clamp(command_buffer, p.indirect_clamp);
5331 if (predicate.buffer) vk.begin_conditional_rendering(command_buffer, &predicate);
5332 begin_statistics();
5333 }
5334 // What the indirect command reads: the clamped scratch, the application's own buffer, or for a counted
5335 // DISPATCH (Vulkan has no vkCmdDispatchIndirectCount, and LEONIDA_INDIRECT_GROUP_BUDGET packs a batch
5336 // without one too) the zero-filled copy the replay made.
5337 const bool counted_dispatch = !clamped && p.counted_dispatch.indirect;
5338 const VkBuffer indirect_buffer = clamped ? p.indirect_clamp.buffer
5339 : counted_dispatch ? p.counted_dispatch.indirect
5340 : p.binding.buffer;
5341 const VkDeviceSize arguments = clamped ? p.indirect_clamp.offset
5342 : counted_dispatch ? p.counted_dispatch.offset
5343 : p.binding.buffer_offset + ind->argument_offset;
5344 const VkBuffer count_buffer = clamped ? p.indirect_clamp.count_buffer : p.source.buffer;
5345 const VkDeviceSize count_offset = clamped ? p.indirect_clamp.count_offset : p.source.buffer_offset + ind->count_offset;
5346 const std::uint32_t records = clamped ? p.indirect_clamp.records : ind->max_count;
5347 const std::uint32_t stride = clamped ? p.indirect_clamp.stride
5348 : counted_dispatch ? std::uint32_t(sizeof(VkDispatchIndirectCommand))
5349 : ind->stride;
5350 // A legacy graphics indirect draw opens no rendering scope of its own: the caller has one open around the
5351 // replay (the tests do), and the recorded, stateful graphics indirects are Draw commands instead.
5352 if (ind->kind != IndirectKind::dispatch) {
5353 if constexpr (Checkpoints) checkpoints->record(command_buffer, i, CheckpointKind::draw);
5354 if (ind->count_buffer) {
5355 if (ind->kind == IndirectKind::draw)
5356 vk.draw_indirect_count(command_buffer, indirect_buffer, arguments, count_buffer, count_offset,
5357 records, stride);
5358 else
5359 vk.draw_indexed_indirect_count(command_buffer, indirect_buffer, arguments, count_buffer,
5360 count_offset, records, stride);
5361 } else if (ind->kind == IndirectKind::draw) {
5362 vk.draw_indirect(command_buffer, indirect_buffer, arguments, records, stride);
5363 } else {
5364 vk.draw_indexed_indirect(command_buffer, indirect_buffer, arguments, records, stride);
5365 }
5366 continue;
5367 }
4960 if (ind->pipeline && !p.pipeline.pipeline && (p.pipeline.async_build || p.pipeline.skipped)) continue; 5368 if (ind->pipeline && !p.pipeline.pipeline && (p.pipeline.async_build || p.pipeline.skipped)) continue;
4961 if constexpr (Checkpoints) 5369 if constexpr (Checkpoints)
4962 checkpoints->dispatch(command_buffer, i, p.pipeline.pipeline, ind->pipeline, ind->user_data, {}, true, 5370 checkpoints->dispatch(command_buffer, i, p.pipeline.pipeline, ind->pipeline, ind->user_data, {}, true,
4963 ind->argument_buffer, ind->argument_offset, ind->count_buffer, 5371 reinterpret_cast<std::uintptr_t>(indirect_buffer),
4964 ind->count_offset, ind->max_count, ind->stride); 5372 clamped || counted_dispatch ? arguments : ind->argument_offset,
4965 const VkDeviceSize arguments = p.binding.buffer_offset + ind->argument_offset; 5373 ind->count_buffer ? reinterpret_cast<std::uintptr_t>(count_buffer) : 0,
4966 if (p.counted_dispatch.indirect) { 5374 clamped ? count_offset : ind->count_offset, records, stride);
5375 if (counted_dispatch) {
4967 // No D3D12 query must count this internal compute pass as an application dispatch. 5376 // No D3D12 query must count this internal compute pass as an application dispatch.
4968 end_statistics(); 5377 end_statistics();
4969 vk.emit_counted_dispatch(command_buffer, p.counted_dispatch); 5378 vk.emit_counted_dispatch(command_buffer, p.counted_dispatch);
@@ -4983,14 +5392,10 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
4983 vk.push_constants(command_buffer, p.pipeline.layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(data), 5392 vk.push_constants(command_buffer, p.pipeline.layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(data),
4984 &data); 5393 &data);
4985 } 5394 }
4986 for (std::uint32_t k = 0; k < ind->max_count; ++k) { 5395 for (std::uint32_t k = 0; k < records; ++k) {
4987 vk.dispatch_indirect(command_buffer, 5396 vk.dispatch_indirect(command_buffer, indirect_buffer, arguments + VkDeviceSize(k) * stride);
4988 p.indirect_clamp.buffer ? p.indirect_clamp.buffer :
4989 p.counted_dispatch.indirect ? p.counted_dispatch.indirect : p.binding.buffer,
4990 (p.indirect_clamp.buffer ? p.indirect_clamp.offset + VkDeviceSize(k) * p.indirect_clamp.stride
4991 : p.counted_dispatch.indirect ? p.counted_dispatch.offset + VkDeviceSize(k) * 12
4992 : arguments + VkDeviceSize(k) * ind->stride));
4993 } 5397 }
5398 if constexpr (Checkpoints) checkpoints->dispatched(command_buffer);
4994 } else if (const auto* xdxr_build = std::get_if<BuildAccelerationStructure>(&command); 5399 } else if (const auto* xdxr_build = std::get_if<BuildAccelerationStructure>(&command);
4995 xdxr_build && vk.xdxr_record) { 5400 xdxr_build && vk.xdxr_record) {
4996 vk.xdxr_record(command_buffer, *xdxr_build, p.xdxr_blases); 5401 vk.xdxr_record(command_buffer, *xdxr_build, p.xdxr_blases);
@@ -5107,10 +5512,21 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
5107 } 5512 }
5108 vk.push_constants(command_buffer, p.pipeline.layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(data), &data); 5513 vk.push_constants(command_buffer, p.pipeline.layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(data), &data);
5109 vk.dispatch(command_buffer, dispatch->x, dispatch->y, dispatch->z); 5514 vk.dispatch(command_buffer, dispatch->x, dispatch->y, dispatch->z);
5515 if constexpr (Checkpoints) checkpoints->dispatched(command_buffer);
5110 } else if (raster.state) { 5516 } else if (raster.state) {
5111 const Draw* draw = raster.state; 5517 const Draw* draw = raster.state;
5112 const detail::PreparedDraw& d = prepared.draws[p.draw]; 5518 const detail::PreparedDraw& d = prepared.draws[p.draw];
5113 if (d.skipped) continue; // could not be resolved in prepare: dropped 5519 if (d.skipped) continue; // could not be resolved in prepare: dropped
5520 // The clamp pass for a stateful indirect draw (vulkan_indirect_clamp.h) runs before vkCmdBeginRendering,
5521 // because its copy and transfer barrier are not allowed inside a dynamic-rendering scope. It is a helper
5522 // dispatch, so a pipeline-statistics query must not count it, and it runs even under a false predicate.
5523 if (p.indirect_clamp.buffer != VK_NULL_HANDLE) {
5524 end_statistics();
5525 if (predicate.buffer) vk.end_conditional_rendering(command_buffer);
5526 vk.emit_indirect_clamp(command_buffer, p.indirect_clamp);
5527 if (predicate.buffer) vk.begin_conditional_rendering(command_buffer, &predicate);
5528 begin_statistics();
5529 }
5114 if constexpr (Checkpoints) 5530 if constexpr (Checkpoints)
5115 checkpoints->record(command_buffer, i, CheckpointKind::draw, 5531 checkpoints->record(command_buffer, i, CheckpointKind::draw,
5116 d.pipeline, draw->pipeline); 5532 d.pipeline, draw->pipeline);
@@ -5220,6 +5636,12 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
5220 vk.set_stencil_reference(command_buffer, VK_STENCIL_FACE_FRONT_BIT, draw->stencil_front); 5636 vk.set_stencil_reference(command_buffer, VK_STENCIL_FACE_FRONT_BIT, draw->stencil_front);
5221 vk.set_stencil_reference(command_buffer, VK_STENCIL_FACE_BACK_BIT, draw->stencil_back); 5637 vk.set_stencil_reference(command_buffer, VK_STENCIL_FACE_BACK_BIT, draw->stencil_back);
5222 vk.set_blend_constants(command_buffer, draw->blend_factor.data()); 5638 vk.set_blend_constants(command_buffer, draw->blend_factor.data());
5639 if (graphics.depth_bounds) {
5640 // Vulkan takes bounds in [0, 1] only (without VK_EXT_depth_range_unrestricted), as D3D12 does.
5641 const float lo = std::clamp(draw->depth_bounds[0], 0.0f, 1.0f);
5642 const float hi = std::clamp(draw->depth_bounds[1], 0.0f, 1.0f);
5643 vk.set_depth_bounds(command_buffer, lo, hi);
5644 }
5223 for (std::uint32_t slot = 0; slot < d.vertex_buffers.size(); ++slot) { 5645 for (std::uint32_t slot = 0; slot < d.vertex_buffers.size(); ++slot) {
5224 if (!d.vertex_buffers[slot]) continue; 5646 if (!d.vertex_buffers[slot]) continue;
5225 vk.bind_vertex_buffers2(command_buffer, slot, 1, &d.vertex_buffers[slot], &d.vertex_offsets[slot], 5647 vk.bind_vertex_buffers2(command_buffer, slot, 1, &d.vertex_buffers[slot], &d.vertex_offsets[slot],
@@ -5234,14 +5656,29 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_
5234 const VkDeviceSize bytes = draw->index.size - draw->index.size % width; 5656 const VkDeviceSize bytes = draw->index.size - draw->index.size % width;
5235 vk.bind_robust_index_view(command_buffer, d.index_buffer, d.index_offset, bytes, d.index_type); 5657 vk.bind_robust_index_view(command_buffer, d.index_buffer, d.index_offset, bytes, d.index_type);
5236 } 5658 }
5237 const auto stride = p.indirect_clamp.buffer ? p.indirect_clamp.stride : arg.stride; 5659 // What the draw reads: the clamp pass's scratch (and its clamped count) when it ran, else the
5238 if (arg.count_buffer) { 5660 // application's own buffer. Its records and stride are the clamp's then, not the signature's.
5661 const bool clamped = p.indirect_clamp.buffer != VK_NULL_HANDLE;
5662 const VkBuffer arguments_buffer = clamped ? p.indirect_clamp.buffer : d.indirect_buffer;
5663 const VkDeviceSize arguments_offset = clamped ? p.indirect_clamp.offset : d.indirect_offset;
5664 const VkBuffer count_buffer = clamped ? p.indirect_clamp.count_buffer : d.indirect_count_buffer;
5665 const VkDeviceSize count_offset = clamped ? p.indirect_clamp.count_offset : d.indirect_count_offset;
5666 const std::uint32_t records = clamped ? p.indirect_clamp.records : arg.max_count;
5667 const std::uint32_t stride = clamped ? p.indirect_clamp.stride : arg.stride;
5668 if (draw->mesh) {
5669 if (arg.count_buffer)
5670 vk.draw_mesh_tasks_indirect_count(command_buffer, arguments_buffer, arguments_offset, count_buffer,
5671 count_offset, records, stride);
5672 else
5673 vk.draw_mesh_tasks_indirect(command_buffer, arguments_buffer, arguments_offset, records, stride);
5674 if (vk.mesh_draw_count) ++*vk.mesh_draw_count;
5675 } else if (arg.count_buffer) {
5239 const auto emit_counted = draw->indexed ? vk.draw_indexed_indirect_count : vk.draw_indirect_count; 5676 const auto emit_counted = draw->indexed ? vk.draw_indexed_indirect_count : vk.draw_indirect_count;
5240 emit_counted(command_buffer, d.indirect_buffer, d.indirect_offset, d.indirect_count_buffer, 5677 emit_counted(command_buffer, arguments_buffer, arguments_offset, count_buffer, count_offset,
5241 d.indirect_count_offset, arg.max_count, stride); 5678 records, stride);
5242 } else { 5679 } else {
5243 const auto emit_fixed = draw->indexed ? vk.draw_indexed_indirect : vk.draw_indirect; 5680 const auto emit_fixed = draw->indexed ? vk.draw_indexed_indirect : vk.draw_indirect;
5244 emit_fixed(command_buffer, d.indirect_buffer, d.indirect_offset, arg.max_count, stride); 5681 emit_fixed(command_buffer, arguments_buffer, arguments_offset, records, stride);
5245 } 5682 }
5246 } else if (draw->mesh) { 5683 } else if (draw->mesh) {
5247 vk.draw_mesh_tasks(command_buffer, draw->count, draw->instances, draw->first); 5684 vk.draw_mesh_tasks(command_buffer, draw->count, draw->instances, draw->first);
diff --git a/runtime/src/vulkan_scratch.h b/runtime/src/vulkan_scratch.h
index 3e6a8eab8..958f27ca5 100644
--- a/runtime/src/vulkan_scratch.h
+++ b/runtime/src/vulkan_scratch.h
@@ -44,10 +44,13 @@ public:
44 44
45 // `usage` is what the chunks are created with. A chunk that declares VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT 45 // `usage` is what the chunks are created with. A chunk that declares VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT
46 // gets its device address from get() as well, and its memory must have been allocated with 46 // gets its device address from get() as well, and its memory must have been allocated with
47 // VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT (the allocate callback's job). 47 // VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT (the allocate callback's job). `families` keeps retired chunks shareable
48 // across queue families (graphics + async compute).
48 ScratchBuffers(PFN_vkGetDeviceProcAddr get, VkDevice device, Allocate allocate, 49 ScratchBuffers(PFN_vkGetDeviceProcAddr get, VkDevice device, Allocate allocate,
49 DeviceFaultDiagnostics* diagnostics, VkBufferUsageFlags usage) 50 DeviceFaultDiagnostics* diagnostics, VkBufferUsageFlags usage,
51 std::vector<std::uint32_t> families = {})
50 : device_(device), diagnostics_(diagnostics), allocate_(std::move(allocate)), usage_(usage), 52 : device_(device), diagnostics_(diagnostics), allocate_(std::move(allocate)), usage_(usage),
53 families_(std::move(families)),
51 addressable_((usage & VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT) != 0) { 54 addressable_((usage & VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT) != 0) {
52 loaded_ = vk_.load(get, device, addressable_); 55 loaded_ = vk_.load(get, device, addressable_);
53 } 56 }
diff --git a/runtime/src/xdxr_build.comp b/runtime/src/xdxr_build.comp
index dcbeca14d..d033afca3 100644
--- a/runtime/src/xdxr_build.comp
+++ b/runtime/src/xdxr_build.comp
@@ -76,7 +76,7 @@ layout(buffer_reference, std430, buffer_reference_align = 4) buffer Words { uint
76const uint MODE_INIT = 0u, MODE_TRIANGLES = 1u, MODE_INSTANCES = 2u, MODE_MORTON = 3u, MODE_KARRAS = 4u, 76const uint MODE_INIT = 0u, MODE_TRIANGLES = 1u, MODE_INSTANCES = 2u, MODE_MORTON = 3u, MODE_KARRAS = 4u,
77 MODE_NODES = 5u, MODE_HEADER = 6u, MODE_RADIX_COUNT = 7u, MODE_RADIX_SCAN = 8u, MODE_RADIX_SCATTER = 9u, 77 MODE_NODES = 5u, MODE_HEADER = 6u, MODE_RADIX_COUNT = 7u, MODE_RADIX_SCAN = 8u, MODE_RADIX_SCATTER = 9u,
78 MODE_SMALL_SORT = 10u, MODE_COPY_AS = 12u, MODE_POSTBUILD = 13u, MODE_KEPT = 14u, 78 MODE_SMALL_SORT = 10u, MODE_COPY_AS = 12u, MODE_POSTBUILD = 13u, MODE_KEPT = 14u,
79 MODE_KEPT_SCAN = 15u, MODE_KEPT_INDEX = 16u, MODE_PROPAGATE = 17u, MODE_CLEAR = 18u; 79 MODE_KEPT_SCAN = 15u, MODE_KEPT_INDEX = 16u, MODE_PROPAGATE = 17u, MODE_CLEAR = 18u, MODE_CHECK = 19u;
80const uint SMALL_SORT_MAX = 1024u; // xdxr_build.h XdxrLayout::small_sort_max 80const uint SMALL_SORT_MAX = 1024u; // xdxr_build.h XdxrLayout::small_sort_max
81const uint RADIX_BITS = 4u, RADIX_BINS = 16u, RADIX_PASSES = 8u; 81const uint RADIX_BITS = 4u, RADIX_BINS = 16u, RADIX_PASSES = 8u;
82const uint RADIX_TILE = 256u; // elements per workgroup in count and scatter: 4 chunks of 64 82const uint RADIX_TILE = 256u; // elements per workgroup in count and scatter: 4 chunks of 64
@@ -85,6 +85,9 @@ const uint TRI0 = 0u, TRI1 = 1u, BOX16 = 4u, BOX32 = 5u, INSTANCE = 6u;
85const uint LEAF = 0x80000000u; // a binary child that is a sorted element, not an inner node 85const uint LEAF = 0x80000000u; // a binary child that is a sorted element, not an inner node
86const uint REMAP_IDENTITY = 0x09u; 86const uint REMAP_IDENTITY = 0x09u;
87const uint FLAG_TLAS = 1u, FLAG_BOX16 = 2u, FLAG_PAIR = 4u, FLAG_TRANSLATE = 8u; // pc.flags; xdxr_build.h flag_* 87const uint FLAG_TLAS = 1u, FLAG_BOX16 = 2u, FLAG_PAIR = 4u, FLAG_TRANSLATE = 8u; // pc.flags; xdxr_build.h flag_*
88// An update records both tails: FLAG_IF_REFIT steps run only when MODE_CHECK found the source a structure of this
89// layout (scratch word SCRATCH_REFIT = 1), FLAG_IF_BUILD steps (a full build) only when it did not.
90const uint FLAG_IF_REFIT = 16u, FLAG_IF_BUILD = 32u;
88const uint FLAG_BOTTOM_LEVEL = 0x80000000u, VERSION_2403 = 6u, INST_IDENTITY_ROTATION = 0x80000000u, 91const uint FLAG_BOTTOM_LEVEL = 0x80000000u, VERSION_2403 = 6u, INST_IDENTITY_ROTATION = 0x80000000u,
89 INST_FLAGS_MASK = 0xc0000000u; 92 INST_FLAGS_MASK = 0xc0000000u;
90 93
@@ -111,6 +114,7 @@ layout(push_constant) uniform Push {
111 uint flags; // FLAG_TLAS: elements are 128-byte instances; FLAG_BOX16: inner nodes are 64-byte BOX16; 114 uint flags; // FLAG_TLAS: elements are 128-byte instances; FLAG_BOX16: inner nodes are 64-byte BOX16;
112 // FLAG_PAIR: pair sibling triangles that share an edge into TRI0/TRI1 leaves; 115 // FLAG_PAIR: pair sibling triangles that share an edge into TRI0/TRI1 leaves;
113 // FLAG_TRANSLATE (instances): BLAS addresses go through blas_address 116 // FLAG_TRANSLATE (instances): BLAS addresses go through blas_address
117 uint vertex_count; // triangles: the desc's VertexCount; a vertex index at or past it reads nothing
114} pc; 118} pc;
115 119
116// ---- 64-bit addresses as uvec2 ---- 120// ---- 64-bit addresses as uvec2 ----
@@ -141,6 +145,7 @@ uvec2 sub64(uvec2 a, uvec2 b) {
141// counts, their exclusive prefix sums, element boxes, a box accumulator per node, the binary tree ---- 145// counts, their exclusive prefix sums, element boxes, a box accumulator per node, the binary tree ----
142const uint SCRATCH_KEYS = 64u; 146const uint SCRATCH_KEYS = 64u;
143const uint SCRATCH_NODE_COUNT = 24u; 147const uint SCRATCH_NODE_COUNT = 24u;
148const uint SCRATCH_REFIT = 28u; // MODE_CHECK's verdict for an update
144uint radix_tiles() { return (pc.sort_size + RADIX_TILE - 1u) / RADIX_TILE; } 149uint radix_tiles() { return (pc.sort_size + RADIX_TILE - 1u) / RADIX_TILE; }
145uint keys_off() { return SCRATCH_KEYS; } 150uint keys_off() { return SCRATCH_KEYS; }
146uint vals_off() { return SCRATCH_KEYS + 4u * pc.sort_size; } 151uint vals_off() { return SCRATCH_KEYS + 4u * pc.sort_size; }
@@ -201,6 +206,21 @@ uint element_ptr(uint e) { return ((pc.elements_off + e * element_size()) >> 6)
201uint node_ptr(uint n) { return ((pc.nodes_off + n * node_size()) >> 6) << 3 | (is_box16() ? BOX16 : BOX32); } 206uint node_ptr(uint n) { return ((pc.nodes_off + n * node_size()) >> 6) << 3 | (is_box16() ? BOX16 : BOX32); }
202uint ptr_unit(uint p) { return p >> 3; } 207uint ptr_unit(uint p) { return p >> 3; }
203bool ptr_is_node(uint p) { return (p & 7u) == BOX16 || (p & 7u) == BOX32; } 208bool ptr_is_node(uint p) { return (p & 7u) == BOX16 || (p & 7u) == BOX32; }
209// A pointer read from the structure (an update's source is the title's, possibly garbage) that names one of this
210// layout's nodes: the layout's node type, on a node boundary, below the node count. Nothing else is followed.
211bool layout_node(uint p) {
212 if ((p & 7u) != (is_box16() ? BOX16 : BOX32)) return false;
213 uint o = ptr_unit(p) * 64u;
214 if (ptr_unit(p) >= (1u << 26) || o < pc.nodes_off) return false;
215 uint rel = o - pc.nodes_off;
216 return rel % node_size() == 0u && rel / node_size() < pc.arg0;
217}
218// The parent-table slot of a record pointer, or INVALID when its unit is outside the body the table covers.
219uint parent_slot(uint p) {
220 uint first = pc.elements_off / 64u, unit = ptr_unit(p);
221 if (unit < first || unit >= pc.total_size / 64u) return INVALID;
222 return pc.parents_off + 4u * (unit - first);
223}
204 224
205// ---- BOX16 bounds: six IEEE halves in three words (min.x | min.y << 16, min.z | max.x << 16, max.y | max.z << 16; 225// ---- BOX16 bounds: six IEEE halves in three words (min.x | min.y << 16, min.z | max.x << 16, max.y | max.z << 16;
206// docs/bvh.md 3.1, XdxrDecompressBox16) ---- 226// docs/bvh.md 3.1, XdxrDecompressBox16) ----
@@ -232,7 +252,10 @@ void store_box16(uint o, vec3 lo, vec3 hi) {
232} 252}
233 253
234// ---- MODE_TRIANGLES ---- 254// ---- MODE_TRIANGLES ----
255// An index at or past VertexCount (garbage in the index buffer, or VertexCount 0) would read past the vertex buffer,
256// possibly gigabytes past it: the vertex is NaN instead, which makes its triangle inactive (build_triangle).
235vec3 vertex(uint v) { 257vec3 vertex(uint v) {
258 if (v >= pc.vertex_count) return vec3(uintBitsToFloat(0x7fc00000u));
236 uvec2 a = add(pc.src0, v * pc.arg0); 259 uvec2 a = add(pc.src0, v * pc.arg0);
237 float x = uintBitsToFloat(load(a, 0u)), y = uintBitsToFloat(load(a, 4u)); 260 float x = uintBitsToFloat(load(a, 0u)), y = uintBitsToFloat(load(a, 4u));
238 float z = pc.arg1 == 1u ? 0.0 : uintBitsToFloat(load(a, 8u)); 261 float z = pc.arg1 == 1u ? 0.0 : uintBitsToFloat(load(a, 8u));
@@ -732,7 +755,13 @@ void build_node(uint i) {
732} 755}
733 756
734// ---- MODE_PROPAGATE ---- 757// ---- MODE_PROPAGATE ----
735uint parent_of(uint p) { return load(pc.dst, pc.parents_off + 4u * (ptr_unit(p) - pc.elements_off / 64u)); } 758// INVALID (the walk ends) for anything but one of the layout's nodes: an update reads the source's parent table.
759uint parent_of(uint p) {
760 uint slot = parent_slot(p);
761 if (slot == INVALID) return INVALID;
762 uint parent = load(pc.dst, slot);
763 return layout_node(parent) ? parent : INVALID;
764}
736bool ptr_box16(uint p) { return (p & 7u) == BOX16; } 765bool ptr_box16(uint p) { return (p & 7u) == BOX16; }
737uint node_index(uint p) { return (ptr_unit(p) * 64u - pc.nodes_off) / (ptr_box16(p) ? 64u : 128u); } 766uint node_index(uint p) { return (ptr_unit(p) * 64u - pc.nodes_off) / (ptr_box16(p) ? 64u : 128u); }
738void accum_box(uint node, out vec3 lo, out vec3 hi) { 767void accum_box(uint node, out vec3 lo, out vec3 hi) {
@@ -802,8 +831,26 @@ void build_header() {
802 store(pc.dst, 60u, 0u); // compressionParams: uncompressed 831 store(pc.dst, 60u, 0u); // compressionParams: uncompressed
803} 832}
804 833
834// ---- MODE_CHECK: is the structure an update refits (already copied to dst) one this layout's build wrote? The
835// header words build_header writes that the layout fixes, and a size within the layout. A title may pass a source it
836// never built (D3D12 leaves that undefined); then the update is a full build instead and reads nothing of it. ----
837bool refit_source_ok() {
838 uint size = (load(pc.dst, 4u) + 1u) * 64u;
839 return load(pc.dst, 0u) == ((is_tlas() ? 0u : FLAG_BOTTOM_LEVEL) | VERSION_2403) &&
840 load(pc.dst, 12u) == pc.elements && load(pc.dst, 40u) == pc.nodes_off && load(pc.dst, 48u) == node_ptr(0u) &&
841 load(pc.dst, 52u) == pc.elements_off && load(pc.dst, 56u) == pc.parents_off && load(pc.dst, 4u) < (1u << 26) &&
842 size > pc.nodes_off && size <= pc.total_size;
843}
844
805void main() { 845void main() {
806 uint i = gl_GlobalInvocationID.x; 846 uint i = gl_GlobalInvocationID.x;
847 // uniform across the dispatch, so a workgroup that uses barriers leaves as a whole
848 if ((pc.flags & (FLAG_IF_REFIT | FLAG_IF_BUILD)) != 0u &&
849 (load(pc.scratch, SCRATCH_REFIT) == 1u) != ((pc.flags & FLAG_IF_REFIT) != 0u)) return;
850 if (pc.mode == MODE_CHECK) {
851 if (i == 0u) store(pc.scratch, SCRATCH_REFIT, refit_source_ok() ? 1u : 0u);
852 return;
853 }
807 // the radix and kept modes use shared memory and barriers: every invocation of a workgroup takes part 854 // the radix and kept modes use shared memory and barriers: every invocation of a workgroup takes part
808 if (pc.mode == MODE_RADIX_COUNT) { radix_count(gl_WorkGroupID.x, gl_LocalInvocationID.x); return; } 855 if (pc.mode == MODE_RADIX_COUNT) { radix_count(gl_WorkGroupID.x, gl_LocalInvocationID.x); return; }
809 if (pc.mode == MODE_RADIX_SCAN) { 856 if (pc.mode == MODE_RADIX_SCAN) {
diff --git a/runtime/src/xdxr_build.h b/runtime/src/xdxr_build.h
index 08623f52a..fef6ac867 100644
--- a/runtime/src/xdxr_build.h
+++ b/runtime/src/xdxr_build.h
@@ -75,7 +75,10 @@ struct XdxrLayout {
75 const std::uint64_t n_off = e_off + std::uint64_t(count) * element_size; 75 const std::uint64_t n_off = e_off + std::uint64_t(count) * element_size;
76 const std::uint64_t end = n_off + std::uint64_t(nodes) * node_size + pad; 76 const std::uint64_t end = n_off + std::uint64_t(nodes) * node_size + pad;
77 // node pointers hold the 64-byte unit index in 29 bits 77 // node pointers hold the 64-byte unit index in 29 bits
78 if (end > (std::uint64_t(1) << 32) - 64 || (end >> 6) >= (std::uint64_t(1) << 29)) return false; 78 if (end > (std::uint64_t(1) << 32) - 64 || (end >> 6) >= (std::uint64_t(1) << 29)) {
79 *this = XdxrLayout{};
80 return false;
81 }
79 elements_off = std::uint32_t(e_off); 82 elements_off = std::uint32_t(e_off);
80 nodes_off = std::uint32_t(n_off); 83 nodes_off = std::uint32_t(n_off);
81 size = std::uint32_t(end); 84 size = std::uint32_t(end);
@@ -89,9 +92,12 @@ struct XdxrLayout {
89 20ull * inner() + 8ull * kept_tiles() + 4ull * count; 92 20ull * inner() + 8ull * kept_tiles() + 4ull * count;
90 return true; 93 return true;
91 } 94 }
92 std::uint32_t tiles() const { return (sort_size + radix_tile - 1) / radix_tile; } 95 std::uint32_t tiles() const { return sort_size ? 1u + (sort_size - 1u) / radix_tile : 0u; }
93 std::uint32_t inner() const { return elements > 1 ? elements - 1 : 0; } // binary tree inner nodes 96 std::uint32_t inner() const { return elements > 1 ? elements - 1 : 0; } // binary tree inner nodes
94 std::uint32_t kept_tiles() const { return (inner() + radix_tile - 1) / radix_tile; } 97 std::uint32_t kept_tiles() const {
98 const std::uint32_t n = inner();
99 return n ? 1u + (n - 1u) / radix_tile : 0u;
100 }
95}; 101};
96 102
97// One geometry of a bottom-level build, as D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC gives it. 103// One geometry of a bottom-level build, as D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC gives it.
@@ -104,6 +110,9 @@ struct XdxrTriangles {
104 std::uint32_t triangle_count = 0; 110 std::uint32_t triangle_count = 0;
105 std::uint64_t transform = 0; // device address of a 3x4 row-major float matrix, 0 = none 111 std::uint64_t transform = 0; // device address of a 3x4 row-major float matrix, 0 = none
106 std::uint32_t flags = 0; // D3D12_RAYTRACING_GEOMETRY_FLAGS (bit 0 opaque) 112 std::uint32_t flags = 0; // D3D12_RAYTRACING_GEOMETRY_FLAGS (bit 0 opaque)
113 // VertexCount: a triangle with a vertex index at or past it is inactive and reads no vertex (0: every triangle);
114 // the default bounds nothing, for callers with no desc.
115 std::uint32_t vertex_count = 0xffffffffu;
107}; 116};
108 117
109// How a top-level build reaches the BLAS addresses its instance descs hold (xdxr_build.comp blas_address). They are 118// How a top-level build reaches the BLAS addresses its instance descs hold (xdxr_build.comp blas_address). They are
@@ -148,7 +157,7 @@ public:
148 // update ignores `pair`. 157 // update ignores `pair`.
149 bool record_blas(VkCommandBuffer cb, const XdxrLayout& layout, const std::vector<XdxrTriangles>& geometries, 158 bool record_blas(VkCommandBuffer cb, const XdxrLayout& layout, const std::vector<XdxrTriangles>& geometries,
150 std::uint64_t dst, std::uint64_t scratch, std::uint64_t update_from = 0, bool pair = false) { 159 std::uint64_t dst, std::uint64_t scratch, std::uint64_t update_from = 0, bool pair = false) {
151 if (!loaded_ || layout.tlas || !layout.size || !dst || !scratch) return false; 160 if (!loaded_ || !cb || layout.tlas || !layout.size || !dst || !scratch) return false;
152 std::uint64_t total = 0; 161 std::uint64_t total = 0;
153 for (const auto& geo : geometries) { 162 for (const auto& geo : geometries) {
154 total += geo.triangle_count; 163 total += geo.triangle_count;
@@ -172,11 +181,12 @@ public:
172 t.arg0 = geo.vertex_stride; 181 t.arg0 = geo.vertex_stride;
173 t.arg1 = geo.xy_only ? 1u : 0u; 182 t.arg1 = geo.xy_only ? 1u : 0u;
174 t.arg2 = geo.index_type; 183 t.arg2 = geo.index_type;
184 t.vertex_count = geo.vertex_count;
175 t.geometry = std::uint32_t(g) << 8 | (geo.flags & 0xffu); 185 t.geometry = std::uint32_t(g) << 8 | (geo.flags & 0xffu);
176 dispatch(cb, t, t.count); 186 dispatch(cb, t, t.count);
177 first += geo.triangle_count; 187 first += geo.triangle_count;
178 } 188 }
179 if (update_from) refit_finish(cb, layout, p); else finish(cb, layout, p); 189 if (update_from) update_finish(cb, layout, p); else finish(cb, layout, p);
180 return true; 190 return true;
181 } 191 }
182 192
@@ -186,7 +196,7 @@ public:
186 bool record_tlas(VkCommandBuffer cb, const XdxrLayout& layout, std::uint64_t instances, std::uint64_t dst, 196 bool record_tlas(VkCommandBuffer cb, const XdxrLayout& layout, std::uint64_t instances, std::uint64_t dst,
187 std::uint64_t scratch, std::uint64_t bias = 0, std::uint64_t update_from = 0, 197 std::uint64_t scratch, std::uint64_t bias = 0, std::uint64_t update_from = 0,
188 const XdxrBlasTable* blases = nullptr) { 198 const XdxrBlasTable* blases = nullptr) {
189 if (!loaded_ || !layout.tlas || !layout.size || !dst || !scratch || (layout.elements && !instances)) 199 if (!loaded_ || !cb || !layout.tlas || !layout.size || !dst || !scratch || (layout.elements && !instances))
190 return false; 200 return false;
191 Push p = base(layout, dst, scratch); 201 Push p = base(layout, dst, scratch);
192 p.bias = split(bias); 202 p.bias = split(bias);
@@ -204,14 +214,14 @@ public:
204 } 214 }
205 dispatch(cb, t, t.count); 215 dispatch(cb, t, t.count);
206 } 216 }
207 if (update_from) refit_finish(cb, layout, p); else finish(cb, layout, p); 217 if (update_from) update_finish(cb, layout, p); else finish(cb, layout, p);
208 return true; 218 return true;
209 } 219 }
210 220
211 // CopyRaytracingAccelerationStructure CLONE or COMPACT: the structure at `src` to `dst`, as many bytes as its 221 // CopyRaytracingAccelerationStructure CLONE or COMPACT: the structure at `src` to `dst`, as many bytes as its
212 // header says, at most `max_bytes` (the room the destination has). The structures are position-independent. 222 // header says, at most `max_bytes` (the room the destination has). The structures are position-independent.
213 bool record_copy(VkCommandBuffer cb, std::uint64_t src, std::uint64_t dst, std::uint64_t max_bytes) { 223 bool record_copy(VkCommandBuffer cb, std::uint64_t src, std::uint64_t dst, std::uint64_t max_bytes) {
214 if (!loaded_ || !src || !dst || max_bytes < XdxrLayout::header_size) return false; 224 if (!loaded_ || !cb || !src || !dst || max_bytes < XdxrLayout::header_size) return false;
215 if (src == dst) return true; 225 if (src == dst) return true;
216 vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_); 226 vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_);
217 Push p{}; 227 Push p{};
@@ -226,7 +236,7 @@ public:
226 // One postbuild value (COMPACTED_SIZE or CURRENT_SIZE, the same for these builds): 8 bytes at `dst` for the 236 // One postbuild value (COMPACTED_SIZE or CURRENT_SIZE, the same for these builds): 8 bytes at `dst` for the
227 // structure at `src`. A barrier first: a build or copy recorded just before writes the header it reads. 237 // structure at `src`. A barrier first: a build or copy recorded just before writes the header it reads.
228 bool record_postbuild(VkCommandBuffer cb, std::uint64_t src, std::uint64_t dst) { 238 bool record_postbuild(VkCommandBuffer cb, std::uint64_t src, std::uint64_t dst) {
229 if (!loaded_ || !src || !dst) return false; 239 if (!loaded_ || !cb || !src || !dst) return false;
230 VkMemoryBarrier b{VK_STRUCTURE_TYPE_MEMORY_BARRIER, nullptr, VK_ACCESS_SHADER_WRITE_BIT, 240 VkMemoryBarrier b{VK_STRUCTURE_TYPE_MEMORY_BARRIER, nullptr, VK_ACCESS_SHADER_WRITE_BIT,
231 VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT}; 241 VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT};
232 vk_.vkCmdPipelineBarrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, 242 vk_.vkCmdPipelineBarrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1,
@@ -246,16 +256,19 @@ private:
246 mode_init = 0, mode_triangles = 1, mode_instances = 2, mode_morton = 3, mode_karras = 4, mode_nodes = 5, 256 mode_init = 0, mode_triangles = 1, mode_instances = 2, mode_morton = 3, mode_karras = 4, mode_nodes = 5,
247 mode_header = 6, mode_radix_count = 7, mode_radix_scan = 8, mode_radix_scatter = 9, mode_small_sort = 10, 257 mode_header = 6, mode_radix_count = 7, mode_radix_scan = 8, mode_radix_scatter = 9, mode_small_sort = 10,
248 mode_copy_as = 12, mode_postbuild = 13, mode_kept = 14, mode_kept_scan = 15, 258 mode_copy_as = 12, mode_postbuild = 13, mode_kept = 14, mode_kept_scan = 15,
249 mode_kept_index = 16, mode_propagate = 17, mode_clear = 18 259 mode_kept_index = 16, mode_propagate = 17, mode_clear = 18, mode_check = 19
250 }; 260 };
251 struct Addr { std::uint32_t lo = 0, hi = 0; }; 261 struct Addr { std::uint32_t lo = 0, hi = 0; };
252 struct Push { // xdxr_build.comp `Push`, std430 push-constant layout 262 struct Push { // xdxr_build.comp `Push`, std430 push-constant layout
253 Addr dst, scratch, src0, src1, src2, bias; 263 Addr dst, scratch, src0, src1, src2, bias;
254 std::uint32_t mode = 0, count = 0, first = 0, arg0 = 0, arg1 = 0, arg2 = 0, geometry = 0, elements = 0, 264 std::uint32_t mode = 0, count = 0, first = 0, arg0 = 0, arg1 = 0, arg2 = 0, geometry = 0, elements = 0,
255 sort_size = 0, elements_off = 0, nodes_off = 0, parents_off = 0, total_size = 0, flags = 0; 265 sort_size = 0, elements_off = 0, nodes_off = 0, parents_off = 0, total_size = 0, flags = 0,
266 vertex_count = 0;
267 };
268 enum : std::uint32_t { // xdxr_build.comp FLAG_*
269 flag_tlas = 1, flag_box16 = 2, flag_pair = 4, flag_translate = 8, flag_if_refit = 16, flag_if_build = 32
256 }; 270 };
257 enum : std::uint32_t { flag_tlas = 1, flag_box16 = 2, flag_pair = 4, flag_translate = 8 }; // xdxr_build.comp FLAG_* 271 static_assert(sizeof(Push) == 108, "push constants must match xdxr_build.comp");
258 static_assert(sizeof(Push) == 104, "push constants must match xdxr_build.comp");
259 272
260 static Addr split(std::uint64_t a) { return {std::uint32_t(a), std::uint32_t(a >> 32)}; } 273 static Addr split(std::uint64_t a) { return {std::uint32_t(a), std::uint32_t(a >> 32)}; }
261 274
@@ -284,19 +297,43 @@ private:
284 297
285 // An update: the source's tree is copied unless it is the destination, as many bytes as its header says (a 298 // An update: the source's tree is copied unless it is the destination, as many bytes as its header says (a
286 // compacted source is shorter than the layout). Its parent table stays as it is, so there is no MODE_INIT. 299 // compacted source is shorter than the layout). Its parent table stays as it is, so there is no MODE_INIT.
300 //
301 // Then MODE_CHECK: the source may not be a structure of this layout at all (a title passing one it never built,
302 // which D3D12 leaves undefined), and its pointers would send the refit anywhere. The full build's MODE_INIT runs
303 // only when the check fails (flag_if_build), and refit_finish / finish are both recorded with the flag that picks
304 // one of them (update_finish).
287 void refit_begin(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, std::uint64_t source) { 305 void refit_begin(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, std::uint64_t source) {
288 vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_); 306 vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_);
289 const std::uint64_t dst = std::uint64_t(p.dst.hi) << 32 | p.dst.lo; 307 const std::uint64_t dst = std::uint64_t(p.dst.hi) << 32 | p.dst.lo;
290 if (source == dst) return; 308 if (source != dst) {
291 Push c = p; 309 Push c = p;
292 c.mode = mode_copy_as; 310 c.mode = mode_copy_as;
293 c.count = l.size / 4; 311 c.count = l.size / 4;
294 c.src0 = split(source); 312 c.src0 = split(source);
295 dispatch(cb, c, c.count); 313 dispatch(cb, c, c.count);
314 }
315 Push k = p;
316 k.mode = mode_check;
317 k.count = 1;
318 dispatch(cb, k, 1);
319 Push init = p;
320 init.flags |= flag_if_build;
321 init.mode = mode_init;
322 init.count = l.parent_entries > 16 ? l.parent_entries : 16;
323 dispatch(cb, init, init.count);
324 }
325
326 void update_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) {
327 Push r = p;
328 r.flags |= flag_if_refit;
329 refit_finish(cb, l, r, true);
330 Push b = p;
331 b.flags |= flag_if_build;
332 finish(cb, l, b);
296 } 333 }
297 334
298 // Boxes bottom-up through the existing nodes, then the header (its bounds change; nothing else does). 335 // Boxes bottom-up through the existing nodes, then the header (its bounds change; nothing else does).
299 void refit_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) { 336 void refit_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, bool barrier_after = false) {
300 Push c = p; 337 Push c = p;
301 c.mode = mode_clear; 338 c.mode = mode_clear;
302 c.count = l.nodes; 339 c.count = l.nodes;
@@ -306,7 +343,7 @@ private:
306 h.mode = mode_header; 343 h.mode = mode_header;
307 h.count = 1; 344 h.count = 1;
308 h.arg2 = 1; // an update: the bounds only 345 h.arg2 = 1; // an update: the bounds only
309 dispatch(cb, h, 1, false); 346 dispatch(cb, h, 1, barrier_after);
310 } 347 }
311 348
312 // `update`: the elements' pointers are their own (an update never pairs), not the ones MODE_NODES recorded. 349 // `update`: the elements' pointers are their own (an update never pairs), not the ones MODE_NODES recorded.
@@ -320,44 +357,48 @@ private:
320 } 357 }
321 358
322 void finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) { 359 void finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) {
323 Push m = p; 360 if (l.sort_size) {
324 m.mode = mode_morton; 361 Push m = p;
325 m.count = l.sort_size; 362 m.mode = mode_morton;
326 dispatch(cb, m, m.count); 363 m.count = l.sort_size;
364 dispatch(cb, m, m.count);
365 }
327 // stable LSD radix sort, 4 bits a pass; an even pass count leaves the result where the keys started 366 // stable LSD radix sort, 4 bits a pass; an even pass count leaves the result where the keys started
328 static_assert(XdxrLayout::radix_passes % 2 == 0, "the sorted keys must end in the first buffer"); 367 static_assert(XdxrLayout::radix_passes % 2 == 0, "the sorted keys must end in the first buffer");
329 if (l.sort_size > 1 && l.sort_size <= XdxrLayout::small_sort_max) { 368 if (l.sort_size > 1 && l.sort_size <= XdxrLayout::small_sort_max) {
330 Push s = p; 369 Push s = p;
331 s.mode = mode_small_sort; 370 s.mode = mode_small_sort;
332 dispatch(cb, s, 64); // one workgroup, shared memory 371 dispatch_groups(cb, s, 1); // one workgroup, shared memory
333 } else if (l.sort_size > 1) { 372 } else if (l.sort_size > 1) {
373 const std::uint32_t sort_tiles = l.tiles();
334 for (std::uint32_t pass = 0; pass < XdxrLayout::radix_passes; ++pass) { 374 for (std::uint32_t pass = 0; pass < XdxrLayout::radix_passes; ++pass) {
335 Push s = p; 375 Push s = p;
336 s.first = pass; 376 s.first = pass;
337 s.mode = mode_radix_count; 377 s.mode = mode_radix_count;
338 dispatch(cb, s, 64 * l.tiles()); // one workgroup of 64 per tile 378 dispatch_groups(cb, s, sort_tiles); // one workgroup of 64 per tile
339 s.mode = mode_radix_scan; 379 s.mode = mode_radix_scan;
340 dispatch(cb, s, 64); // one workgroup 380 dispatch_groups(cb, s, 1); // one workgroup
341 s.mode = mode_radix_scatter; 381 s.mode = mode_radix_scatter;
342 dispatch(cb, s, 64 * l.tiles()); 382 dispatch_groups(cb, s, sort_tiles);
343 } 383 }
344 } 384 }
345 // the binary radix tree, which of its inner nodes become BOX32 nodes, and their indices 385 // the binary radix tree, which of its inner nodes become BOX32 nodes, and their indices
346 if (l.inner()) { 386 if (l.inner()) {
387 const std::uint32_t inner_tiles = l.kept_tiles();
347 Push t = p; 388 Push t = p;
348 t.mode = mode_karras; 389 t.mode = mode_karras;
349 t.count = l.inner(); 390 t.count = l.inner();
350 dispatch(cb, t, t.count); 391 dispatch(cb, t, t.count);
351 t.mode = mode_kept; 392 t.mode = mode_kept;
352 dispatch(cb, t, 64 * l.kept_tiles()); // one workgroup of 64 per tile 393 dispatch_groups(cb, t, inner_tiles); // one workgroup of 64 per tile
353 t.mode = mode_kept_scan; 394 t.mode = mode_kept_scan;
354 dispatch(cb, t, 64); // one workgroup 395 dispatch_groups(cb, t, 1); // one workgroup
355 t.mode = mode_kept_index; 396 t.mode = mode_kept_index;
356 dispatch(cb, t, 64 * l.kept_tiles()); 397 dispatch_groups(cb, t, inner_tiles);
357 } 398 }
358 Push n = p; 399 Push n = p;
359 n.mode = mode_nodes; 400 n.mode = mode_nodes;
360 n.count = l.inner() ? l.inner() : 1; // one root of its own for zero or one element 401 n.count = l.inner() ? l.inner() : 1; // one root of its own for zero or one element
361 dispatch(cb, n, n.count); 402 dispatch(cb, n, n.count);
362 propagate(cb, l, p); 403 propagate(cb, l, p);
363 Push h = p; 404 Push h = p;
@@ -368,9 +409,10 @@ private:
368 409
369 // One dispatch, then a compute-to-compute dependency so the next step sees its writes. The last step leaves the 410 // One dispatch, then a compute-to-compute dependency so the next step sees its writes. The last step leaves the
370 // dependency on its results to the caller's barrier (the application's UAV or AS barrier). 411 // dependency on its results to the caller's barrier (the application's UAV or AS barrier).
371 void dispatch(VkCommandBuffer cb, const Push& p, std::uint32_t threads, bool barrier = true) { 412 void dispatch_groups(VkCommandBuffer cb, const Push& p, std::uint32_t groups, bool barrier = true) {
413 if (!groups) return;
372 vk_.vkCmdPushConstants(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(Push), &p); 414 vk_.vkCmdPushConstants(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(Push), &p);
373 vk_.vkCmdDispatch(cb, std::uint32_t((std::uint64_t(threads) + 63u) / 64u), 1, 1); 415 vk_.vkCmdDispatch(cb, groups, 1, 1);
374 if (!barrier) return; 416 if (!barrier) return;
375 VkMemoryBarrier b{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; 417 VkMemoryBarrier b{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
376 b.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; 418 b.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
@@ -379,6 +421,11 @@ private:
379 &b, 0, nullptr, 0, nullptr); 421 &b, 0, nullptr, 0, nullptr);
380 } 422 }
381 423
424 void dispatch(VkCommandBuffer cb, const Push& p, std::uint32_t threads, bool barrier = true) {
425 if (!threads) return;
426 dispatch_groups(cb, p, std::uint32_t((std::uint64_t(threads) + 63u) / 64u), barrier);
427 }
428
382 struct Functions { 429 struct Functions {
383#define LEONIDA_XDXR_FUNCTIONS(X) \ 430#define LEONIDA_XDXR_FUNCTIONS(X) \
384 X(vkCreateShaderModule) X(vkDestroyShaderModule) X(vkCreatePipelineLayout) X(vkDestroyPipelineLayout) \ 431 X(vkCreateShaderModule) X(vkDestroyShaderModule) X(vkCreatePipelineLayout) X(vkDestroyPipelineLayout) \
@@ -406,20 +453,33 @@ private:
406 VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; 453 VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO};
407 layout_info.pushConstantRangeCount = 1; 454 layout_info.pushConstantRangeCount = 1;
408 layout_info.pPushConstantRanges = &push; 455 layout_info.pPushConstantRanges = &push;
409 if (vk_.vkCreatePipelineLayout(device_, &layout_info, nullptr, &layout_) != VK_SUCCESS) return false; 456 VkPipelineLayout layout = VK_NULL_HANDLE;
457 if (vk_.vkCreatePipelineLayout(device_, &layout_info, nullptr, &layout) != VK_SUCCESS || !layout) return false;
410 VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; 458 VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO};
411 module_info.codeSize = sizeof(xdxr_build_spirv); 459 module_info.codeSize = sizeof(xdxr_build_spirv);
412 module_info.pCode = xdxr_build_spirv; 460 module_info.pCode = xdxr_build_spirv;
413 VkShaderModule module = VK_NULL_HANDLE; 461 VkShaderModule module = VK_NULL_HANDLE;
414 const aftermath::ShaderName aftermath_name("(runtime) xdxr_build.comp"); 462 const aftermath::ShaderName aftermath_name("(runtime) xdxr_build.comp");
415 if (vk_.vkCreateShaderModule(device_, &module_info, nullptr, &module) != VK_SUCCESS) return false; 463 if (vk_.vkCreateShaderModule(device_, &module_info, nullptr, &module) != VK_SUCCESS || !module) {
464 vk_.vkDestroyPipelineLayout(device_, layout, nullptr);
465 return false;
466 }
416 VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; 467 VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO};
417 info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, nullptr, 0, VK_SHADER_STAGE_COMPUTE_BIT, 468 info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, nullptr, 0, VK_SHADER_STAGE_COMPUTE_BIT,
418 module, "main", nullptr}; 469 module, "main", nullptr};
419 info.layout = layout_; 470 info.layout = layout;
420 const bool ok = vk_.vkCreateComputePipelines(device_, VK_NULL_HANDLE, 1, &info, nullptr, &pipeline_) == VK_SUCCESS; 471 VkPipeline pipeline = VK_NULL_HANDLE;
472 const bool ok =
473 vk_.vkCreateComputePipelines(device_, VK_NULL_HANDLE, 1, &info, nullptr, &pipeline) == VK_SUCCESS &&
474 pipeline != VK_NULL_HANDLE;
421 vk_.vkDestroyShaderModule(device_, module, nullptr); 475 vk_.vkDestroyShaderModule(device_, module, nullptr);
422 return ok; 476 if (!ok) {
477 vk_.vkDestroyPipelineLayout(device_, layout, nullptr);
478 return false;
479 }
480 layout_ = layout;
481 pipeline_ = pipeline;
482 return true;
423 } 483 }
424 484
425 VkDevice device_ = VK_NULL_HANDLE; 485 VkDevice device_ = VK_NULL_HANDLE;
diff --git a/runtime/src/xdxr_build.inc b/runtime/src/xdxr_build.inc
index e17aecfea..b4d159074 100644
--- a/runtime/src/xdxr_build.inc
+++ b/runtime/src/xdxr_build.inc
@@ -1,7899 +1,8287 @@
1{0x07230203,0x00010500,0x000d000b,0x00006129, 1{0x07230203,0x00010500,0x000d000b,0x0000655f,
20x00000000,0x00020011,0x00000001,0x00020011, 20x00000000,0x00020011,0x00000001,0x00020011,
30x000014e3,0x0006000b,0x00000001,0x4c534c47, 30x000014e3,0x0006000b,0x00000001,0x4c534c47,
40x6474732e,0x3035342e,0x00000000,0x0003000e, 40x6474732e,0x3035342e,0x00000000,0x0003000e,
50x000014e4,0x00000001,0x0011000f,0x00000005, 50x000014e4,0x00000001,0x0011000f,0x00000005,
60x00000004,0x6e69616d,0x00000000,0x000001b9, 60x00000004,0x6e69616d,0x00000000,0x000001c1,
70x00000924,0x00000939,0x00000a18,0x00000a7f, 70x0000098a,0x0000099f,0x00000a7e,0x00000ae5,
80x00000ad4,0x00000b2d,0x00000e6f,0x00000eff, 80x00000b3a,0x00000b93,0x00000ed4,0x00000f64,
90x000012da,0x000012e3,0x000012e4,0x00060010, 90x000013a4,0x000013d5,0x000013d6,0x00060010,
100x00000004,0x00000011,0x00000040,0x00000001, 100x00000004,0x00000011,0x00000040,0x00000001,
110x00000001,0x00040047,0x00000015,0x00000006, 110x00000001,0x00040047,0x00000015,0x00000006,
120x00000004,0x00030047,0x00000016,0x00000002, 120x00000004,0x00030047,0x00000016,0x00000002,
130x00050048,0x00000016,0x00000000,0x00000023, 130x00050048,0x00000016,0x00000000,0x00000023,
140x00000000,0x00030047,0x000001b7,0x00000002, 140x00000000,0x00030047,0x000001bf,0x00000002,
150x00050048,0x000001b7,0x00000000,0x00000023, 150x00050048,0x000001bf,0x00000000,0x00000023,
160x00000000,0x00050048,0x000001b7,0x00000001, 160x00000000,0x00050048,0x000001bf,0x00000001,
170x00000023,0x00000008,0x00050048,0x000001b7, 170x00000023,0x00000008,0x00050048,0x000001bf,
180x00000002,0x00000023,0x00000010,0x00050048, 180x00000002,0x00000023,0x00000010,0x00050048,
190x000001b7,0x00000003,0x00000023,0x00000018, 190x000001bf,0x00000003,0x00000023,0x00000018,
200x00050048,0x000001b7,0x00000004,0x00000023, 200x00050048,0x000001bf,0x00000004,0x00000023,
210x00000020,0x00050048,0x000001b7,0x00000005, 210x00000020,0x00050048,0x000001bf,0x00000005,
220x00000023,0x00000028,0x00050048,0x000001b7, 220x00000023,0x00000028,0x00050048,0x000001bf,
230x00000006,0x00000023,0x00000030,0x00050048, 230x00000006,0x00000023,0x00000030,0x00050048,
240x000001b7,0x00000007,0x00000023,0x00000034, 240x000001bf,0x00000007,0x00000023,0x00000034,
250x00050048,0x000001b7,0x00000008,0x00000023, 250x00050048,0x000001bf,0x00000008,0x00000023,
260x00000038,0x00050048,0x000001b7,0x00000009, 260x00000038,0x00050048,0x000001bf,0x00000009,
270x00000023,0x0000003c,0x00050048,0x000001b7, 270x00000023,0x0000003c,0x00050048,0x000001bf,
280x0000000a,0x00000023,0x00000040,0x00050048, 280x0000000a,0x00000023,0x00000040,0x00050048,
290x000001b7,0x0000000b,0x00000023,0x00000044, 290x000001bf,0x0000000b,0x00000023,0x00000044,
300x00050048,0x000001b7,0x0000000c,0x00000023, 300x00050048,0x000001bf,0x0000000c,0x00000023,
310x00000048,0x00050048,0x000001b7,0x0000000d, 310x00000048,0x00050048,0x000001bf,0x0000000d,
320x00000023,0x0000004c,0x00050048,0x000001b7, 320x00000023,0x0000004c,0x00050048,0x000001bf,
330x0000000e,0x00000023,0x00000050,0x00050048, 330x0000000e,0x00000023,0x00000050,0x00050048,
340x000001b7,0x0000000f,0x00000023,0x00000054, 340x000001bf,0x0000000f,0x00000023,0x00000054,
350x00050048,0x000001b7,0x00000010,0x00000023, 350x00050048,0x000001bf,0x00000010,0x00000023,
360x00000058,0x00050048,0x000001b7,0x00000011, 360x00000058,0x00050048,0x000001bf,0x00000011,
370x00000023,0x0000005c,0x00050048,0x000001b7, 370x00000023,0x0000005c,0x00050048,0x000001bf,
380x00000012,0x00000023,0x00000060,0x00050048, 380x00000012,0x00000023,0x00000060,0x00050048,
390x000001b7,0x00000013,0x00000023,0x00000064, 390x000001bf,0x00000013,0x00000023,0x00000064,
400x00040047,0x000012da,0x0000000b,0x0000001c, 400x00050048,0x000001bf,0x00000014,0x00000023,
410x00040047,0x000012e3,0x0000000b,0x0000001a, 410x00000068,0x00040047,0x000013a4,0x0000000b,
420x00040047,0x000012e4,0x0000000b,0x0000001b, 420x0000001c,0x00040047,0x000013d5,0x0000000b,
430x00040047,0x000013fb,0x0000000b,0x00000019, 430x0000001a,0x00040047,0x000013d6,0x0000000b,
440x00020013,0x00000002,0x00030021,0x00000003, 440x0000001b,0x00040047,0x000014ed,0x0000000b,
450x00000002,0x00040015,0x00000006,0x00000020, 450x00000019,0x00020013,0x00000002,0x00030021,
460x00000000,0x00040017,0x00000007,0x00000006, 460x00000003,0x00000002,0x00040015,0x00000006,
470x00000002,0x00040020,0x00000009,0x00000007, 470x00000020,0x00000000,0x00040017,0x00000007,
480x00000006,0x00030027,0x00000014,0x000014e5, 480x00000006,0x00000002,0x00040020,0x00000009,
490x0003001d,0x00000015,0x00000006,0x0003001e, 490x00000007,0x00000006,0x00030027,0x00000014,
500x00000016,0x00000015,0x00040020,0x00000014, 500x000014e5,0x0003001d,0x00000015,0x00000006,
510x000014e5,0x00000016,0x00030016,0x00000027, 510x0003001e,0x00000016,0x00000015,0x00040020,
520x00000020,0x00040020,0x00000028,0x00000007, 520x00000014,0x000014e5,0x00000016,0x00030016,
530x00000027,0x00020014,0x0000002f,0x00040017, 530x00000027,0x00000020,0x00040020,0x00000028,
540x0000006c,0x00000027,0x00000003,0x00040020, 540x00000007,0x00000027,0x00020014,0x0000002f,
550x0000006d,0x00000007,0x0000006c,0x00040020, 550x00040017,0x0000006c,0x00000027,0x00000003,
560x00000096,0x00000007,0x0000002f,0x00040017, 560x00040020,0x0000006d,0x00000007,0x0000006c,
570x000000df,0x00000006,0x00000003,0x00040020, 570x00040020,0x0000009d,0x00000007,0x0000002f,
580x000000e5,0x00000007,0x000000df,0x0004002b, 580x00040017,0x000000e6,0x00000006,0x00000003,
590x00000006,0x000000ec,0x00000004,0x0004001c, 590x00040020,0x000000ec,0x00000007,0x000000e6,
600x000000ed,0x00000006,0x000000ec,0x00040020, 600x0004002b,0x00000006,0x000000f3,0x00000004,
610x000000ee,0x00000007,0x000000ed,0x00040015, 610x0004001c,0x000000f4,0x00000006,0x000000f3,
620x000000f4,0x00000020,0x00000001,0x0004002b, 620x00040020,0x000000f5,0x00000007,0x000000f4,
630x00000006,0x00000138,0x00000000,0x0004001e, 630x00040015,0x000000fb,0x00000020,0x00000001,
640x0000013d,0x00000006,0x00000006,0x0004002b, 640x0004002b,0x00000006,0x00000140,0x00000000,
650x00000006,0x00000142,0x00000001,0x0004002b, 650x0004001e,0x00000145,0x00000006,0x00000006,
660x000000f4,0x0000016b,0x00000000,0x00040020, 660x0004002b,0x00000006,0x0000014a,0x00000001,
670x0000016c,0x000014e5,0x00000006,0x0016001e, 670x0004002b,0x000000fb,0x00000173,0x00000000,
680x000001b7,0x00000007,0x00000007,0x00000007, 680x00040020,0x00000174,0x000014e5,0x00000006,
690x00000007,0x00000007,0x00000007,0x00000006, 690x0017001e,0x000001bf,0x00000007,0x00000007,
700x00000007,0x00000007,0x00000007,0x00000007,
700x00000006,0x00000006,0x00000006,0x00000006, 710x00000006,0x00000006,0x00000006,0x00000006,
710x00000006,0x00000006,0x00000006,0x00000006, 720x00000006,0x00000006,0x00000006,0x00000006,
720x00000006,0x00000006,0x00000006,0x00000006, 730x00000006,0x00000006,0x00000006,0x00000006,
730x00000006,0x00040020,0x000001b8,0x00000009, 740x00000006,0x00000006,0x00000006,0x00040020,
740x000001b7,0x0004003b,0x000001b8,0x000001b9, 750x000001c0,0x00000009,0x000001bf,0x0004003b,
750x00000009,0x0004002b,0x000000f4,0x000001ba, 760x000001c0,0x000001c1,0x00000009,0x0004002b,
760x0000000e,0x00040020,0x000001bb,0x00000009, 770x000000fb,0x000001c2,0x0000000e,0x00040020,
770x00000006,0x0004002b,0x00000006,0x000001be, 780x000001c3,0x00000009,0x00000006,0x0004002b,
780x00000100,0x0004002b,0x00000006,0x000001c4, 790x00000006,0x000001c6,0x00000100,0x0004002b,
790x00000040,0x0004002b,0x00000006,0x000001cd, 800x00000006,0x000001cc,0x00000040,0x0004002b,
800x00000008,0x0004002b,0x00000006,0x000001d4, 810x00000006,0x000001d5,0x00000008,0x0004002b,
810x0000000c,0x0004002b,0x00000006,0x000001db, 820x00000006,0x000001dc,0x0000000c,0x0004002b,
820x00000010,0x0004002b,0x00000006,0x000001ef, 830x00000006,0x000001e3,0x00000010,0x0004002b,
830x00000018,0x0004002b,0x000000f4,0x000001f0, 840x00000006,0x000001f7,0x00000018,0x0004002b,
840x0000000d,0x0004002b,0x00000006,0x00000205, 850x000000fb,0x000001f8,0x0000000d,0x0004002b,
850x00000020,0x0004002b,0x000000f4,0x00000206, 860x00000006,0x0000020d,0x00000020,0x0004002b,
860x00000009,0x0004002b,0x00000006,0x00000241, 870x000000fb,0x0000020e,0x00000009,0x0004002b,
870x80000000,0x0004002b,0x00000006,0x00000256, 880x00000006,0x00000249,0x80000000,0x0004002b,
880x7fffffff,0x0004002b,0x000000f4,0x00000264, 890x00000006,0x0000025e,0x7fffffff,0x0004002b,
890x00000001,0x00040020,0x00000266,0x00000009, 900x000000fb,0x0000026c,0x00000001,0x00040020,
900x00000007,0x0004002b,0x00000006,0x00000280, 910x0000026e,0x00000009,0x00000007,0x0004002b,
910x00000002,0x0004002b,0x00000006,0x00000299, 920x00000006,0x00000288,0x00000002,0x0004002b,
920x00000014,0x0004002b,0x00000027,0x000002fd, 930x00000006,0x000002a1,0x00000014,0x0004002b,
930x3f000000,0x0004002b,0x000000f4,0x00000315, 940x00000027,0x00000305,0x3f000000,0x0004002b,
940x00000002,0x0004002b,0x000000f4,0x0000031d, 950x000000fb,0x0000031d,0x00000002,0x0004002b,
950x00000003,0x0004002b,0x000000f4,0x00000325, 960x000000fb,0x00000325,0x00000003,0x0004002b,
960x00000004,0x0004002b,0x000000f4,0x0000032d, 970x000000fb,0x0000032d,0x00000004,0x0004002b,
970x00000005,0x0004002b,0x000000f4,0x00000334, 980x000000fb,0x00000335,0x00000005,0x0004002b,
980x00000013,0x0004002b,0x00000006,0x00000342, 990x000000fb,0x0000033c,0x00000013,0x0004002b,
990x00000080,0x0004002b,0x000000f4,0x0000034a, 1000x00000006,0x0000034a,0x00000080,0x0004002b,
1000x0000000f,0x0004002b,0x000000f4,0x00000351, 1010x000000fb,0x00000352,0x0000000f,0x0004002b,
1010x00000006,0x0004002b,0x00000006,0x00000355, 1020x000000fb,0x00000359,0x00000006,0x0004002b,
1020x00000006,0x0004002b,0x000000f4,0x0000035a, 1030x00000006,0x0000035d,0x00000006,0x0004002b,
1030x00000010,0x0004002b,0x00000006,0x00000364, 1040x000000fb,0x00000362,0x00000010,0x0004002b,
1040x00000005,0x0004002b,0x00000006,0x00000373, 1050x00000006,0x0000036c,0x00000005,0x0004002b,
1050x00008000,0x0004002b,0x00000006,0x0000037e, 1060x00000006,0x00000376,0x00000007,0x0003002a,
1060x7f800000,0x0004002b,0x00000006,0x00000383, 1070x0000002f,0x0000037d,0x0004002b,0x00000006,
1070x00007e00,0x0004002b,0x000000f4,0x0000038e, 1080x00000387,0x04000000,0x0004002b,0x000000fb,
1080x00000017,0x0004002b,0x000000f4,0x00000391, 1090x000003b7,0x00000012,0x0004002b,0x00000006,
1090x0000007f,0x0004002b,0x00000006,0x00000399, 1100x000003bf,0xffffffff,0x0004002b,0x000000fb,
1100x00007c00,0x0004002b,0x00000006,0x0000039a, 1110x000003c1,0x00000011,0x0004002b,0x00000006,
1110x00007bff,0x0004002b,0x000000f4,0x0000039f, 1120x000003d1,0x00008000,0x0004002b,0x00000006,
1120xfffffff2,0x0004002b,0x00000006,0x000003a8, 1130x000003dc,0x7f800000,0x0004002b,0x00000006,
1130x00000400,0x0004002b,0x00000006,0x000003b0, 1140x000003e1,0x00007e00,0x0004002b,0x000000fb,
1140x007fffff,0x0004002b,0x000000f4,0x000003b6, 1150x000003ec,0x00000017,0x0004002b,0x000000fb,
1150x0000000a,0x0004002b,0x00000006,0x000003bf, 1160x000003ef,0x0000007f,0x0004002b,0x00000006,
1160x00001fff,0x0003002a,0x0000002f,0x000003cc, 1170x000003f7,0x00007c00,0x0004002b,0x00000006,
1170x00030029,0x0000002f,0x000003e7,0x0004002b, 1180x000003f8,0x00007bff,0x0004002b,0x000000fb,
1180x00000027,0x00000426,0x00000000,0x0004002b, 1190x000003fd,0xfffffff2,0x0004002b,0x00000006,
1190x000000f4,0x00000434,0x0000000b,0x0004002b, 1200x00000406,0x00000400,0x0004002b,0x00000006,
1200x00000006,0x0000045c,0x0000ffff,0x0004002b, 1210x0000040e,0x007fffff,0x0004002b,0x000000fb,
1210x00000006,0x00000470,0x00000003,0x00040017, 1220x00000414,0x0000000a,0x0004002b,0x00000006,
1220x00000475,0x00000027,0x00000004,0x0004001c, 1230x0000041d,0x00001fff,0x00030029,0x0000002f,
1230x000004af,0x0000006c,0x00000470,0x00040020, 1240x00000444,0x0004002b,0x000000fb,0x00000467,
1240x000004b0,0x00000007,0x000004af,0x0004002b, 1250x00000014,0x0004002b,0x00000027,0x0000046d,
1250x000000f4,0x000004c1,0x00000008,0x0004002b, 1260x7fc00000,0x0006002c,0x0000006c,0x0000046e,
1260x00000006,0x00000500,0x00000024,0x0004002b, 1270x0000046d,0x0000046d,0x0000046d,0x0004002b,
1270x00000006,0x0000050b,0x00000028,0x0004002b, 1280x00000027,0x0000048d,0x00000000,0x0004002b,
1280x00000006,0x00000516,0x0000002c,0x0004002b, 1290x000000fb,0x0000049b,0x0000000b,0x0004002b,
1290x00000006,0x00000521,0x00000030,0x0004002b, 1300x00000006,0x000004c3,0x0000ffff,0x0004002b,
1300x000000f4,0x00000523,0x0000000c,0x0004002b, 1310x00000006,0x000004d7,0x00000003,0x00040017,
1310x00000006,0x0000052d,0x00000034,0x0004002b, 1320x000004dc,0x00000027,0x00000004,0x0004001c,
1320x00000006,0x00000537,0x00000038,0x0004002b, 1330x00000516,0x0000006c,0x000004d7,0x00040020,
1330x00000006,0x00000539,0xffffffff,0x0004002b, 1340x00000517,0x00000007,0x00000516,0x0004002b,
1340x00000006,0x00000541,0x0000003c,0x0004002b, 1350x000000fb,0x00000528,0x00000008,0x0004002b,
1350x00000006,0x00000543,0x00000009,0x00040017, 1360x00000006,0x00000567,0x00000024,0x0004002b,
1360x0000054d,0x0000002f,0x00000003,0x0004002b, 1370x00000006,0x00000572,0x00000028,0x0004002b,
1370x00000027,0x00000575,0x7f800000,0x0006002c, 1380x00000006,0x0000057d,0x0000002c,0x0004002b,
1380x0000006c,0x00000576,0x00000575,0x00000575, 1390x00000006,0x00000588,0x00000030,0x0004002b,
1390x00000575,0x0004002b,0x00000006,0x0000062f, 1400x000000fb,0x0000058a,0x0000000c,0x0004002b,
1400x000000ff,0x0004001c,0x00000645,0x00000027, 1410x00000006,0x00000594,0x00000034,0x0004002b,
1410x000001d4,0x00040020,0x00000646,0x00000007, 1420x00000006,0x0000059e,0x00000038,0x0004002b,
1420x00000645,0x0004002b,0x00000006,0x000006d9, 1430x00000006,0x000005a7,0x0000003c,0x0004002b,
1430x0000001c,0x0004002b,0x000000f4,0x000006f3, 1440x00000006,0x000005a9,0x00000009,0x00040017,
1440x00000018,0x0004002b,0x000000f4,0x0000074d, 1450x000005b3,0x0000002f,0x00000003,0x0004002b,
1450x00000007,0x0004002b,0x00000027,0x00000771, 1460x00000027,0x000005db,0x7f800000,0x0006002c,
1460x3f800000,0x0004002b,0x00000006,0x000007a6, 1470x0000006c,0x000005dc,0x000005db,0x000005db,
1470x3fffffff,0x0005002c,0x00000007,0x000007b5, 1480x000005db,0x0004002b,0x00000006,0x00000695,
1480x00000138,0x00000138,0x00040018,0x000007c5, 1490x000000ff,0x0004001c,0x000006ab,0x00000027,
1490x0000006c,0x00000003,0x00040020,0x000007c6, 1500x000001dc,0x00040020,0x000006ac,0x00000007,
1500x00000007,0x000007c5,0x0006002c,0x0000006c, 1510x000006ab,0x0004002b,0x00000006,0x0000073f,
1510x000007ea,0x00000426,0x00000426,0x00000426, 1520x0000001c,0x0004002b,0x000000fb,0x00000759,
1520x0006002c,0x000007c5,0x000007eb,0x000007ea, 1530x00000018,0x0004002b,0x000000fb,0x000007b3,
1530x000007ea,0x000007ea,0x0004002b,0x00000006, 1540x00000007,0x0004002b,0x00000027,0x000007d7,
1540x00000811,0x00000044,0x0004002b,0x00000006, 1550x3f800000,0x0004002b,0x00000006,0x0000080c,
1550x00000820,0x00000048,0x0004002b,0x00000006, 1560x3fffffff,0x0005002c,0x00000007,0x0000081b,
1560x0000082f,0x0000004c,0x0004002b,0x00000006, 1570x00000140,0x00000140,0x00040018,0x0000082b,
1570x00000840,0x00000070,0x0004002b,0x00000006, 1580x0000006c,0x00000003,0x00040020,0x0000082c,
1580x0000084a,0x00000074,0x0004002b,0x00000006, 1590x00000007,0x0000082b,0x0006002c,0x0000006c,
1590x00000853,0x00000078,0x0004002b,0x00000006, 1600x00000850,0x0000048d,0x0000048d,0x0000048d,
1600x0000085c,0x0000007c,0x0004002b,0x00000006, 1610x0006002c,0x0000082b,0x00000851,0x00000850,
1610x00000876,0x000003ff,0x0004002b,0x00000006, 1620x00000850,0x00000850,0x0004002b,0x00000006,
1620x0000087d,0x030000ff,0x0004002b,0x00000006, 1630x00000877,0x00000044,0x0004002b,0x00000006,
1630x00000883,0x0300f00f,0x0004002b,0x00000006, 1640x00000886,0x00000048,0x0004002b,0x00000006,
1640x00000889,0x030c30c3,0x0004002b,0x00000006, 1650x00000895,0x0000004c,0x0004002b,0x00000006,
1650x0000088f,0x09249249,0x0004002b,0x00000027, 1660x000008a6,0x00000070,0x0004002b,0x00000006,
1660x000008d2,0x0da24260,0x0006002c,0x0000006c, 1670x000008b0,0x00000074,0x0004002b,0x00000006,
1670x000008d3,0x000008d2,0x000008d2,0x000008d2, 1680x000008b9,0x00000078,0x0004002b,0x00000006,
1680x0004002b,0x00000027,0x000008e1,0x447fc000, 1690x000008c2,0x0000007c,0x0004002b,0x00000006,
1690x0004001c,0x00000922,0x00000006,0x000003a8, 1700x000008dc,0x000003ff,0x0004002b,0x00000006,
1700x00040020,0x00000923,0x00000004,0x00000922, 1710x000008e3,0x030000ff,0x0004002b,0x00000006,
1710x0004003b,0x00000923,0x00000924,0x00000004, 1720x000008e9,0x0300f00f,0x0004002b,0x00000006,
1720x00040020,0x00000937,0x00000004,0x00000006, 1730x000008ef,0x030c30c3,0x0004002b,0x00000006,
1730x0004003b,0x00000923,0x00000939,0x00000004, 1740x000008f5,0x09249249,0x0004002b,0x00000027,
1740x0004002b,0x00000006,0x0000094f,0x00000108, 1750x00000938,0x0da24260,0x0006002c,0x0000006c,
1750x0004002b,0x00000006,0x00000a0e,0x0000000f, 1760x00000939,0x00000938,0x00000938,0x00000938,
1760x0004001c,0x00000a16,0x00000006,0x000001db, 1770x0004002b,0x00000027,0x00000947,0x447fc000,
1770x00040020,0x00000a17,0x00000004,0x00000a16, 1780x0004001c,0x00000988,0x00000006,0x00000406,
1780x0004003b,0x00000a17,0x00000a18,0x00000004, 1790x00040020,0x00000989,0x00000004,0x00000988,
1790x0004002b,0x00000006,0x00000a56,0x0000003f, 1800x0004003b,0x00000989,0x0000098a,0x00000004,
1800x0004001c,0x00000a7d,0x00000006,0x000001c4, 1810x00040020,0x0000099d,0x00000004,0x00000006,
1810x00040020,0x00000a7e,0x00000004,0x00000a7d, 1820x0004003b,0x00000989,0x0000099f,0x00000004,
1820x0004003b,0x00000a7e,0x00000a7f,0x00000004, 1830x0004002b,0x00000006,0x000009b5,0x00000108,
1830x0004003b,0x00000a17,0x00000ad4,0x00000004, 1840x0004002b,0x00000006,0x00000a74,0x0000000f,
1840x0004001c,0x00000b2b,0x00000a7d,0x000001db, 1850x0004001c,0x00000a7c,0x00000006,0x000001e3,
1850x00040020,0x00000b2c,0x00000004,0x00000b2b, 1860x00040020,0x00000a7d,0x00000004,0x00000a7c,
1860x0004003b,0x00000b2c,0x00000b2d,0x00000004, 1870x0004003b,0x00000a7d,0x00000a7e,0x00000004,
1870x00040020,0x00000b49,0x00000007,0x00000a16, 1880x0004002b,0x00000006,0x00000abc,0x0000003f,
1880x0004002b,0x000000f4,0x00000b9b,0x0000003f, 1890x0004001c,0x00000ae3,0x00000006,0x000001cc,
1890x0004001c,0x00000bf5,0x0000002f,0x000000ec, 1900x00040020,0x00000ae4,0x00000004,0x00000ae3,
1900x00040020,0x00000bf6,0x00000007,0x00000bf5, 1910x0004003b,0x00000ae4,0x00000ae5,0x00000004,
1910x0004001c,0x00000c08,0x000000df,0x00000470, 1920x0004003b,0x00000a7d,0x00000b3a,0x00000004,
1920x0004001c,0x00000c09,0x00000c08,0x000000ec, 1930x0004001c,0x00000b91,0x00000ae3,0x000001e3,
1930x00040020,0x00000c0a,0x00000007,0x00000c09, 1940x00040020,0x00000b92,0x00000004,0x00000b91,
1940x0006002c,0x000000df,0x00000c0e,0x00000138, 1950x0004003b,0x00000b92,0x00000b93,0x00000004,
1950x00000138,0x00000138,0x0004002b,0x00000006, 1960x00040020,0x00000baf,0x00000007,0x00000a7c,
1960x00000d2b,0x00000007,0x0004002b,0x00000006, 1970x0004002b,0x000000fb,0x00000c01,0x0000003f,
1970x00000d45,0xfffffff8,0x0004002b,0x000000f4, 1980x0004001c,0x00000c5b,0x0000002f,0x000000f3,
1980x00000d67,0xffffffff,0x0004002b,0x000000f4, 1990x00040020,0x00000c5c,0x00000007,0x00000c5b,
1990x00000d76,0x00000040,0x0004002b,0x000000f4, 2000x0004001c,0x00000c6e,0x000000e6,0x000004d7,
2000x00000d7e,0x0000001f,0x0004003b,0x00000937, 2010x0004001c,0x00000c6f,0x00000c6e,0x000000f3,
2010x00000e6f,0x00000004,0x0004003b,0x00000a7e, 2020x00040020,0x00000c70,0x00000007,0x00000c6f,
2020x00000eff,0x00000004,0x0007002c,0x000000ed, 2030x0006002c,0x000000e6,0x00000c74,0x00000140,
2030x00000fd5,0x00000539,0x00000539,0x00000539, 2040x00000140,0x00000140,0x0004002b,0x00000006,
2040x00000539,0x0004001c,0x0000100d,0x00000006, 2050x00000daa,0xfffffff8,0x0004002b,0x000000fb,
2050x00000280,0x00040020,0x0000100e,0x00000007, 2060x00000dcc,0xffffffff,0x0004002b,0x000000fb,
2060x0000100d,0x0004002b,0x000000f4,0x000010be, 2070x00000ddb,0x00000040,0x0004002b,0x000000fb,
2070x00000011,0x0004001c,0x00001130,0x00000006, 2080x00000de3,0x0000001f,0x0004003b,0x0000099d,
2080x00000355,0x00040020,0x00001131,0x00000007, 2090x00000ed4,0x00000004,0x0004003b,0x00000ae4,
2090x00001130,0x00040020,0x000012d9,0x00000001, 2100x00000f64,0x00000004,0x0007002c,0x000000f4,
2100x000000df,0x0004003b,0x000012d9,0x000012da, 2110x0000103a,0x000003bf,0x000003bf,0x000003bf,
2110x00000001,0x00040020,0x000012db,0x00000001, 2120x000003bf,0x0004001c,0x00001072,0x00000006,
2120x00000006,0x0004003b,0x000012d9,0x000012e3, 2130x00000288,0x00040020,0x00001073,0x00000007,
2130x00000001,0x0004003b,0x000012d9,0x000012e4, 2140x00001072,0x0004001c,0x00001199,0x00000006,
2140x00000001,0x0004002b,0x00000006,0x0000130e, 2150x0000035d,0x00040020,0x0000119a,0x00000007,
2150x0000000a,0x0004002b,0x00000006,0x00001319, 2160x00001199,0x00040020,0x000013a3,0x00000001,
2160x0000000e,0x0004002b,0x00000006,0x00001357, 2170x000000e6,0x0004003b,0x000013a3,0x000013a4,
2170x0000000d,0x0004002b,0x00000006,0x000013ea, 2180x00000001,0x00040020,0x000013a5,0x00000001,
2180x00000011,0x0004002b,0x00000006,0x000013f4, 2190x00000006,0x0004002b,0x00000006,0x000013bf,
2190x00000012,0x0006002c,0x000000df,0x000013fb, 2200x00000013,0x0004003b,0x000013a3,0x000013d5,
2200x000001c4,0x00000142,0x00000142,0x0006002c, 2210x00000001,0x0004003b,0x000013a3,0x000013d6,
2210x0000006c,0x000060fc,0x00000771,0x00000771, 2220x00000001,0x0004002b,0x00000006,0x00001400,
2220x00000771,0x0004002b,0x00000027,0x000060fd, 2230x0000000a,0x0004002b,0x00000006,0x0000140b,
2230xff800000,0x0006002c,0x0000006c,0x000060fe, 2240x0000000e,0x0004002b,0x00000006,0x00001449,
2240x000060fd,0x000060fd,0x000060fd,0x0004002b, 2250x0000000d,0x0004002b,0x00000006,0x000014dc,
2250x000000f4,0x000060ff,0xffffff90,0x0004002b, 2260x00000011,0x0004002b,0x00000006,0x000014e6,
2260x00000006,0x00006100,0xff800000,0x0004002b, 2270x00000012,0x0006002c,0x000000e6,0x000014ed,
2270x00000006,0x0000610e,0x80000006,0x0004002b, 2280x000001cc,0x0000014a,0x0000014a,0x0006002c,
2280x00000006,0x00006112,0x7bff7bff,0x0004002b, 2290x0000006c,0x00006530,0x000007d7,0x000007d7,
2290x00000006,0x00006114,0xfbff7bff,0x0004002b, 2300x000007d7,0x0004002b,0x00000027,0x00006531,
2300x00000006,0x00006115,0xfbfffbff,0x00040017, 2310xff800000,0x0006002c,0x0000006c,0x00006532,
2310x0000611e,0x0000002f,0x00000002,0x00050036, 2320x00006531,0x00006531,0x00006531,0x0004002b,
2330x000000fb,0x00006533,0xffffff90,0x0004002b,
2340x00000006,0x00006534,0xff800000,0x0004002b,
2350x00000006,0x00006542,0x80000006,0x0004002b,
2360x00000006,0x00006548,0x7bff7bff,0x0004002b,
2370x00000006,0x0000654a,0xfbff7bff,0x0004002b,
2380x00000006,0x0000654b,0xfbfffbff,0x00040017,
2390x00006554,0x0000002f,0x00000002,0x00050036,
2320x00000002,0x00000004,0x00000000,0x00000003, 2400x00000002,0x00000004,0x00000000,0x00000003,
2330x000200f8,0x00000005,0x0004003b,0x00001131, 2410x000200f8,0x00000005,0x0004003b,0x0000119a,
2340x00005905,0x00000007,0x0004003b,0x00000bf6, 2420x00005c65,0x00000007,0x0004003b,0x00000c5c,
2350x00004551,0x00000007,0x0004003b,0x00000bf6, 2430x0000482f,0x00000007,0x0004003b,0x00000c5c,
2360x00004552,0x00000007,0x0004003b,0x000000ee, 2440x00004830,0x00000007,0x0004003b,0x000000f5,
2370x00004553,0x00000007,0x0004003b,0x00000c0a, 2450x00004831,0x00000007,0x0004003b,0x00000c70,
2380x00004555,0x00000007,0x0004003b,0x000000ee, 2460x00004833,0x00000007,0x0004003b,0x000000f5,
2390x00003ff3,0x00000007,0x0004003b,0x000000ee, 2470x000042d1,0x00000007,0x0004003b,0x000000f5,
2400x00003ff4,0x00000007,0x0004003b,0x0000100e, 2480x000042d2,0x00000007,0x0004003b,0x00001073,
2410x00003ffe,0x00000007,0x0004003b,0x0000100e, 2490x000042dc,0x00000007,0x0004003b,0x00001073,
2420x00004005,0x00000007,0x0004003b,0x000000ee, 2500x000042e3,0x00000007,0x0004003b,0x000000f5,
2430x0000400e,0x00000007,0x0004003b,0x000000ee, 2510x000042ec,0x00000007,0x0004003b,0x000000f5,
2440x0000400f,0x00000007,0x0004003b,0x00000646, 2520x000042ed,0x00000007,0x0004003b,0x000006ac,
2450x00002c30,0x00000007,0x0004003b,0x000007c6, 2530x00002f0e,0x00000007,0x0004003b,0x0000082c,
2460x00002c75,0x00000007,0x0004003b,0x0000006d, 2540x00002f53,0x00000007,0x0004003b,0x0000006d,
2470x00002c78,0x00000007,0x0004003b,0x0000006d, 2550x00002f56,0x00000007,0x0004003b,0x0000006d,
2480x000027c3,0x00000007,0x0004003b,0x000004b0, 2560x00002aa1,0x00000007,0x0004003b,0x00000517,
2490x000025da,0x00000007,0x0004003b,0x00001131, 2570x000028ad,0x00000007,0x0004003b,0x0000119a,
2500x00002131,0x00000007,0x0004003b,0x00000b49, 2580x00002404,0x00000007,0x0004003b,0x00000baf,
2510x0000160c,0x00000007,0x000300f7,0x000013fd, 2590x000018df,0x00000007,0x000300f7,0x000014ef,
2520x00000000,0x000300fb,0x00000138,0x000013fe, 2600x00000000,0x000300fb,0x00000140,0x000014f0,
2530x000200f8,0x000013fe,0x00050041,0x000012db, 2610x000200f8,0x000014f0,0x00050041,0x000013a5,
2540x000012dc,0x000012da,0x00000138,0x0004003d, 2620x000013a6,0x000013a4,0x00000140,0x0004003d,
2550x00000006,0x000012dd,0x000012dc,0x00050041, 2630x00000006,0x000013a7,0x000013a6,0x00050041,
2560x000001bb,0x000012de,0x000001b9,0x00000351, 2640x000001c3,0x000013a8,0x000001c1,0x0000033c,
2570x0004003d,0x00000006,0x000012df,0x000012de, 2650x0004003d,0x00000006,0x000013a9,0x000013a8,
2580x000500aa,0x0000002f,0x000012e0,0x000012df, 2660x000500c7,0x00000006,0x000013aa,0x000013a9,
2590x00000d2b,0x000300f7,0x000012e2,0x00000000, 2670x00000588,0x000500ab,0x0000002f,0x000013ab,
2600x000400fa,0x000012e0,0x000012e1,0x000012e2, 2680x000013aa,0x00000140,0x000300f7,0x000013ad,
2610x000200f8,0x000012e1,0x00050041,0x000012db, 2690x00000000,0x000400fa,0x000013ab,0x000013ac,
2620x000012e6,0x000012e3,0x00000138,0x0004003d, 2700x000013ad,0x000200f8,0x000013ac,0x00050041,
2630x00000006,0x000012e7,0x000012e6,0x00050041, 2710x0000026e,0x000013af,0x000001c1,0x0000026c,
2640x000012db,0x000012e9,0x000012e4,0x00000138, 2720x0004003d,0x00000007,0x000013b0,0x000013af,
2650x0004003d,0x00000006,0x000012ea,0x000012e9, 2730x00050051,0x00000006,0x0000154e,0x000013b0,
2660x000500b0,0x0000002f,0x0000143d,0x000012ea, 2740x00000000,0x00050095,0x00000145,0x00001550,
2670x000001db,0x000300f7,0x00001441,0x00000000, 2750x0000154e,0x0000073f,0x00050051,0x00000006,
2680x000400fa,0x0000143d,0x0000143e,0x00001441, 2760x00001551,0x00001550,0x00000001,0x00050051,
2690x000200f8,0x0000143e,0x00050041,0x00000937, 2770x00000006,0x00001552,0x00001550,0x00000000,
2700x00001440,0x00000a18,0x000012ea,0x0003003e, 2780x00050051,0x00000006,0x00001555,0x000013b0,
2710x00001440,0x00000138,0x000200f9,0x00001441, 2790x00000001,0x00050080,0x00000006,0x00001557,
2720x000200f8,0x00001441,0x000400e0,0x00000280, 2800x00001555,0x00001551,0x00050050,0x00000007,
2730x00000280,0x0000094f,0x00050084,0x00000006, 2810x00001558,0x00001552,0x00001557,0x0004007c,
2740x00001443,0x000012e7,0x000001be,0x00050080, 2820x00000014,0x00001548,0x00001558,0x00060041,
2750x00000006,0x00001445,0x00001443,0x000001be, 2830x00000174,0x0000153f,0x00001548,0x00000173,
2760x00050041,0x000001bb,0x00001446,0x000001b9, 2840x00000173,0x0006003d,0x00000006,0x00001540,
2770x000001ba,0x0004003d,0x00000006,0x00001447, 2850x0000153f,0x00000002,0x00000004,0x000500aa,
2780x00001446,0x0007000c,0x00000006,0x00001448, 2860x0000002f,0x000013b3,0x00001540,0x0000014a,
2790x00000001,0x00000026,0x00001445,0x00001447, 2870x000500c7,0x00000006,0x000013b6,0x000013a9,
2800x00050080,0x00000006,0x0000144b,0x00001443, 2880x000001e3,0x000500ab,0x0000002f,0x000013b7,
2810x000012ea,0x000200f9,0x0000144c,0x000200f8, 2890x000013b6,0x00000140,0x000500a5,0x0000002f,
2820x0000144c,0x000700f5,0x00000006,0x00005fd2, 2900x000013b8,0x000013b3,0x000013b7,0x000200f9,
2830x0000144b,0x00001441,0x0000145e,0x0000145c, 2910x000013ad,0x000200f8,0x000013ad,0x000700f5,
2840x000500b0,0x0000002f,0x00001450,0x00005fd2, 2920x0000002f,0x000013b9,0x000013ab,0x000014f0,
2850x00001448,0x000400f6,0x0000145f,0x0000145c, 2930x000013b8,0x000013ac,0x000300f7,0x000013bb,
2860x00000000,0x000400fa,0x00001450,0x00001451, 2940x00000000,0x000400fa,0x000013b9,0x000013ba,
2870x0000145f,0x000200f8,0x00001451,0x00050041, 2950x000013bb,0x000200f8,0x000013ba,0x000200f9,
2880x000001bb,0x00001475,0x000001b9,0x000004c1, 2960x000014ef,0x000200f8,0x000013bb,0x00050041,
2890x0004003d,0x00000006,0x00001476,0x00001475, 2970x000001c3,0x000013bd,0x000001c1,0x00000359,
2900x000500c7,0x00000006,0x00001477,0x00001476, 2980x0004003d,0x00000006,0x000013be,0x000013bd,
2910x00000142,0x000500aa,0x0000002f,0x00001478, 2990x000500aa,0x0000002f,0x000013c0,0x000013be,
2920x00001477,0x00000138,0x000300f7,0x0000147d, 3000x000013bf,0x000300f7,0x000013c2,0x00000000,
2930x00000000,0x000400fa,0x00001478,0x00001479, 3010x000400fa,0x000013c0,0x000013c1,0x000013c2,
2940x0000147b,0x000200f8,0x0000147b,0x00050084, 3020x000200f8,0x000013c1,0x000500aa,0x0000002f,
2950x00000006,0x00001485,0x000001cd,0x00001447, 3030x000013c4,0x000013a7,0x00000140,0x000300f7,
2960x00050080,0x00000006,0x00001486,0x000001c4, 3040x000013c6,0x00000000,0x000400fa,0x000013c4,
2970x00001485,0x000200f9,0x0000147d,0x000200f8, 3050x000013c5,0x000013c6,0x000200f8,0x000013c5,
2980x00001479,0x000200f9,0x0000147d,0x000200f8, 3060x00050041,0x0000026e,0x0000156d,0x000001c1,
2990x0000147d,0x000700f5,0x00000006,0x00005fd3, 3070x00000173,0x0004003d,0x00000007,0x0000156e,
3000x000001c4,0x00001479,0x00001486,0x0000147b, 3080x0000156d,0x00050051,0x00000006,0x000015d0,
3010x00050084,0x00000006,0x00001454,0x000000ec, 3090x0000156e,0x00000000,0x00050095,0x00000145,
3020x00005fd2,0x00050080,0x00000006,0x00001455, 3100x000015d2,0x000015d0,0x000000f3,0x00050051,
3030x00005fd3,0x00001454,0x00050041,0x00000266, 3110x00000006,0x000015d3,0x000015d2,0x00000001,
3040x00001456,0x000001b9,0x00000264,0x0004003d, 3120x00050051,0x00000006,0x000015d4,0x000015d2,
3050x00000007,0x00001457,0x00001456,0x00050051, 3130x00000000,0x00050051,0x00000006,0x000015d7,
3060x00000006,0x0000149d,0x00001457,0x00000000, 3140x0000156e,0x00000001,0x00050080,0x00000006,
3070x00050095,0x0000013d,0x0000149f,0x0000149d, 3150x000015d9,0x000015d7,0x000015d3,0x00050050,
3080x00001455,0x00050051,0x00000006,0x000014a0, 3160x00000007,0x000015da,0x000015d4,0x000015d9,
3090x0000149f,0x00000001,0x00050051,0x00000006, 3170x0004007c,0x00000014,0x000015ca,0x000015da,
3100x000014a1,0x0000149f,0x00000000,0x00050051, 3180x00060041,0x00000174,0x000015c1,0x000015ca,
3110x00000006,0x000014a4,0x00001457,0x00000001, 3190x00000173,0x00000173,0x0006003d,0x00000006,
3120x00050080,0x00000006,0x000014a6,0x000014a4, 3200x000015c2,0x000015c1,0x00000002,0x00000004,
3130x000014a0,0x00050050,0x00000007,0x000014a7, 3210x00050080,0x00000006,0x00001570,0x000015c2,
3140x000014a1,0x000014a6,0x0004007c,0x00000014, 3220x0000014a,0x00050084,0x00000006,0x00001571,
3150x00001497,0x000014a7,0x00060041,0x0000016c, 3230x00001570,0x000001cc,0x00050095,0x00000145,
3160x0000148e,0x00001497,0x0000016b,0x0000016b, 3240x000015f3,0x000015d0,0x00000140,0x00050051,
3170x0006003d,0x00000006,0x0000148f,0x0000148e, 3250x00000006,0x000015f4,0x000015f3,0x00000001,
3180x00000002,0x00000004,0x00050084,0x00000006, 3260x00050051,0x00000006,0x000015f5,0x000015f3,
3190x000014ad,0x000000ec,0x00001476,0x000500c2, 3270x00000000,0x00050080,0x00000006,0x000015fa,
3200x00000006,0x000014ae,0x0000148f,0x000014ad, 3280x000015d7,0x000015f4,0x00050050,0x00000007,
3210x000500c7,0x00000006,0x000014af,0x000014ae, 3290x000015fb,0x000015f5,0x000015fa,0x0004007c,
3220x00000a0e,0x00050041,0x00000937,0x0000145a, 3300x00000014,0x000015eb,0x000015fb,0x00060041,
3230x00000a18,0x000014af,0x000700ea,0x00000006, 3310x00000174,0x000015e2,0x000015eb,0x00000173,
3240x0000145b,0x0000145a,0x00000142,0x00000138, 3320x00000173,0x0006003d,0x00000006,0x000015e3,
3250x00000142,0x000200f9,0x0000145c,0x000200f8, 3330x000015e2,0x00000002,0x00000004,0x000500c7,
3260x0000145c,0x00050080,0x00000006,0x0000145e, 3340x00000006,0x00001600,0x000013a9,0x0000014a,
3270x00005fd2,0x000001c4,0x000200f9,0x0000144c, 3350x000500ab,0x0000002f,0x00001601,0x00001600,
3280x000200f8,0x0000145f,0x000400e0,0x00000280, 3360x00000140,0x000600a9,0x00000006,0x00001577,
3290x00000280,0x0000094f,0x000300f7,0x00001471, 3370x00001601,0x0000035d,0x00006542,0x000500aa,
3300x00000000,0x000400fa,0x0000143d,0x00001462, 3380x0000002f,0x00001578,0x000015e3,0x00001577,
3310x00001471,0x000200f8,0x00001462,0x00050084, 3390x000300f7,0x00001580,0x00000000,0x000400fa,
3320x00000006,0x000014b4,0x000001db,0x00001447, 3400x00001578,0x00001579,0x00001580,0x000200f8,
3330x00050080,0x00000006,0x000014b5,0x000001c4, 3410x00001579,0x00050095,0x00000145,0x0000161a,
3340x000014b4,0x00050080,0x00000006,0x000014bb, 3420x000015d0,0x000001dc,0x00050051,0x00000006,
3350x00001447,0x0000062f,0x00050086,0x00000006, 3430x0000161b,0x0000161a,0x00000001,0x00050051,
3360x000014bc,0x000014bb,0x000001be,0x00050084, 3440x00000006,0x0000161c,0x0000161a,0x00000000,
3370x00000006,0x00001466,0x000012ea,0x000014bc, 3450x00050080,0x00000006,0x00001621,0x000015d7,
3380x00050080,0x00000006,0x00001468,0x00001466, 3460x0000161b,0x00050050,0x00000007,0x00001622,
3390x000012e7,0x00050084,0x00000006,0x00001469, 3470x0000161c,0x00001621,0x0004007c,0x00000014,
3400x000000ec,0x00001468,0x00050080,0x00000006, 3480x00001612,0x00001622,0x00060041,0x00000174,
3410x0000146a,0x000014b5,0x00001469,0x00050041, 3490x00001609,0x00001612,0x00000173,0x00000173,
3420x00000266,0x0000146c,0x000001b9,0x00000264, 3500x0006003d,0x00000006,0x0000160a,0x00001609,
3430x0004003d,0x00000007,0x0000146d,0x0000146c, 3510x00000002,0x00000004,0x00050041,0x000001c3,
3440x00050041,0x00000937,0x0000146e,0x00000a18, 3520x0000157d,0x000001c1,0x000001f8,0x0004003d,
3450x000012ea,0x0004003d,0x00000006,0x0000146f, 3530x00000006,0x0000157e,0x0000157d,0x000500aa,
3460x0000146e,0x00050051,0x00000006,0x000014d2, 3540x0000002f,0x0000157f,0x0000160a,0x0000157e,
3470x0000146d,0x00000000,0x00050095,0x0000013d, 3550x000200f9,0x00001580,0x000200f8,0x00001580,
3480x000014d4,0x000014d2,0x0000146a,0x00050051, 3560x000700f5,0x0000002f,0x00001581,0x00001578,
3490x00000006,0x000014d5,0x000014d4,0x00000001, 3570x000013c5,0x0000157f,0x00001579,0x000300f7,
3500x00050051,0x00000006,0x000014d6,0x000014d4, 3580x00001589,0x00000000,0x000400fa,0x00001581,
3510x00000000,0x00050051,0x00000006,0x000014d9, 3590x00001582,0x00001589,0x000200f8,0x00001582,
3520x0000146d,0x00000001,0x00050080,0x00000006, 3600x00050095,0x00000145,0x0000163b,0x000015d0,
3530x000014db,0x000014d9,0x000014d5,0x00050050, 3610x00000572,0x00050051,0x00000006,0x0000163c,
3540x00000007,0x000014dc,0x000014d6,0x000014db, 3620x0000163b,0x00000001,0x00050051,0x00000006,
3550x0004007c,0x00000014,0x000014cc,0x000014dc, 3630x0000163d,0x0000163b,0x00000000,0x00050080,
3560x00060041,0x0000016c,0x000014c4,0x000014cc, 3640x00000006,0x00001642,0x000015d7,0x0000163c,
3570x0000016b,0x0000016b,0x0005003e,0x000014c4, 3650x00050050,0x00000007,0x00001643,0x0000163d,
3580x0000146f,0x00000002,0x00000004,0x000200f9, 3660x00001642,0x0004007c,0x00000014,0x00001633,
3590x00001471,0x000200f8,0x00001471,0x000200f9, 3670x00001643,0x00060041,0x00000174,0x0000162a,
3600x000013fd,0x000200f8,0x000012e2,0x000500aa, 3680x00001633,0x00000173,0x00000173,0x0006003d,
3610x0000002f,0x000012ef,0x000012df,0x000001cd, 3690x00000006,0x0000162b,0x0000162a,0x00000002,
3620x000300f7,0x000012f1,0x00000000,0x000400fa, 3700x00000004,0x00050041,0x000001c3,0x00001586,
3630x000012ef,0x000012f0,0x000012f1,0x000200f8, 3710x000001c1,0x00000362,0x0004003d,0x00000006,
3640x000012f0,0x00050041,0x000001bb,0x000014df, 3720x00001587,0x00001586,0x000500aa,0x0000002f,
3650x000001b9,0x000001ba,0x0004003d,0x00000006, 3730x00001588,0x0000162b,0x00001587,0x000200f9,
3660x000014e0,0x000014df,0x00050084,0x00000006, 3740x00001589,0x000200f8,0x00001589,0x000700f5,
3670x000014e1,0x000001db,0x000014e0,0x00050080, 3750x0000002f,0x0000158a,0x00001581,0x00001580,
3680x00000006,0x000014e2,0x000001c4,0x000014e1, 3760x00001588,0x00001582,0x000300f7,0x00001591,
3690x00050080,0x00000006,0x000014f4,0x000014e0, 3770x00000000,0x000400fa,0x0000158a,0x0000158b,
3700x0000062f,0x00050086,0x00000006,0x000014f5, 3780x00001591,0x000200f8,0x0000158b,0x00050095,
3710x000014f4,0x000001be,0x00050084,0x00000006, 3790x00000145,0x0000165c,0x000015d0,0x00000588,
3720x000014e7,0x000001c4,0x000014f5,0x00050080, 3800x00050051,0x00000006,0x0000165d,0x0000165c,
3730x00000006,0x000014e8,0x000014e2,0x000014e7, 3810x00000001,0x00050051,0x00000006,0x0000165e,
3740x00050084,0x00000006,0x000012f5,0x000001db, 3820x0000165c,0x00000000,0x00050080,0x00000006,
3750x000014f5,0x00050041,0x000012db,0x000012f7, 3830x00001663,0x000015d7,0x0000165d,0x00050050,
3760x000012e4,0x00000138,0x0004003d,0x00000006, 3840x00000007,0x00001664,0x0000165e,0x00001663,
3770x000012f8,0x000012f7,0x00050080,0x00000006, 3850x0004007c,0x00000014,0x00001654,0x00001664,
3780x00001514,0x000012f5,0x00000a56,0x00050086, 3860x00060041,0x00000174,0x0000164b,0x00001654,
3790x00000006,0x00001515,0x00001514,0x000001c4, 3870x00000173,0x00000173,0x0006003d,0x00000006,
3800x00050084,0x00000006,0x00001518,0x000012f8, 3880x0000164c,0x0000164b,0x00000002,0x00000004,
3810x00001515,0x0007000c,0x00000006,0x0000151a, 3890x00050041,0x000001c3,0x00001667,0x000001c1,
3820x00000001,0x00000026,0x00001518,0x000012f5, 3900x00000362,0x0004003d,0x00000006,0x00001668,
3830x00050080,0x00000006,0x0000151d,0x0000151a, 3910x00001667,0x000500c2,0x00000006,0x0000166d,
3840x00001515,0x0007000c,0x00000006,0x0000151f, 3920x00001668,0x00000359,0x000500c4,0x00000006,
3850x00000001,0x00000026,0x0000151d,0x000012f5, 3930x0000166e,0x0000166d,0x00000325,0x000500c7,
3860x000200f9,0x00001521,0x000200f8,0x00001521, 3940x00000006,0x00001680,0x000013a9,0x00000288,
3870x000700f5,0x00000006,0x00005fcd,0x00000138, 3950x000500ab,0x0000002f,0x00001681,0x00001680,
3880x000012f0,0x0000152f,0x00001526,0x000700f5, 3960x00000140,0x000600a9,0x00000006,0x00001670,
3890x00000006,0x00005fcc,0x0000151a,0x000012f0, 3970x00001681,0x000000f3,0x0000036c,0x000500c5,
3900x00001532,0x00001526,0x000500b0,0x0000002f, 3980x00000006,0x00001671,0x0000166e,0x00001670,
3910x00001525,0x00005fcc,0x0000151f,0x000400f6, 3990x000500aa,0x0000002f,0x00001590,0x0000164c,
3920x00001533,0x00001526,0x00000000,0x000400fa, 4000x00001671,0x000200f9,0x00001591,0x000200f8,
3930x00001525,0x00001526,0x00001533,0x000200f8, 4010x00001591,0x000700f5,0x0000002f,0x00001592,
3940x00001526,0x00050084,0x00000006,0x00001529, 4020x0000158a,0x00001589,0x00001590,0x0000158b,
3950x000000ec,0x00005fcc,0x00050080,0x00000006, 4030x000300f7,0x0000159a,0x00000000,0x000400fa,
3960x0000152a,0x000014e2,0x00001529,0x00050041, 4040x00001592,0x00001593,0x0000159a,0x000200f8,
3970x00000266,0x0000152b,0x000001b9,0x00000264, 4050x00001593,0x00050095,0x00000145,0x0000169a,
3980x0004003d,0x00000007,0x0000152c,0x0000152b, 4060x000015d0,0x00000594,0x00050051,0x00000006,
3990x00050051,0x00000006,0x0000158c,0x0000152c, 4070x0000169b,0x0000169a,0x00000001,0x00050051,
4000x00000000,0x00050095,0x0000013d,0x0000158e, 4080x00000006,0x0000169c,0x0000169a,0x00000000,
4010x0000158c,0x0000152a,0x00050051,0x00000006, 4090x00050080,0x00000006,0x000016a1,0x000015d7,
4020x0000158f,0x0000158e,0x00000001,0x00050051, 4100x0000169b,0x00050050,0x00000007,0x000016a2,
4030x00000006,0x00001590,0x0000158e,0x00000000, 4110x0000169c,0x000016a1,0x0004007c,0x00000014,
4040x00050051,0x00000006,0x00001593,0x0000152c, 4120x00001692,0x000016a2,0x00060041,0x00000174,
4050x00000001,0x00050080,0x00000006,0x00001595, 4130x00001689,0x00001692,0x00000173,0x00000173,
4060x00001593,0x0000158f,0x00050050,0x00000007, 4140x0006003d,0x00000006,0x0000168a,0x00001689,
4070x00001596,0x00001590,0x00001595,0x0004007c, 4150x00000002,0x00000004,0x00050041,0x000001c3,
4080x00000014,0x00001586,0x00001596,0x00060041, 4160x00001597,0x000001c1,0x00000352,0x0004003d,
4090x0000016c,0x0000157d,0x00001586,0x0000016b, 4170x00000006,0x00001598,0x00001597,0x000500aa,
4100x0000016b,0x0006003d,0x00000006,0x0000157e, 4180x0000002f,0x00001599,0x0000168a,0x00001598,
4110x0000157d,0x00000002,0x00000004,0x00050080, 4190x000200f9,0x0000159a,0x000200f8,0x0000159a,
4120x00000006,0x0000152f,0x00005fcd,0x0000157e, 4200x000700f5,0x0000002f,0x0000159b,0x00001592,
4130x00050080,0x00000006,0x00001532,0x00005fcc, 4210x00001591,0x00001599,0x00001593,0x000300f7,
4140x00000264,0x000200f9,0x00001521,0x000200f8, 4220x000015a3,0x00000000,0x000400fa,0x0000159b,
4150x00001533,0x00050041,0x00000937,0x00001536, 4230x0000159c,0x000015a3,0x000200f8,0x0000159c,
4160x00000a7f,0x000012f8,0x0003003e,0x00001536, 4240x00050095,0x00000145,0x000016bb,0x000015d0,
4170x00005fcd,0x000400e0,0x00000280,0x00000280, 4250x0000059e,0x00050051,0x00000006,0x000016bc,
4180x0000094f,0x000500aa,0x0000002f,0x00001538, 4260x000016bb,0x00000001,0x00050051,0x00000006,
4190x000012f8,0x00000138,0x000300f7,0x00001555, 4270x000016bd,0x000016bb,0x00000000,0x00050080,
4200x00000000,0x000400fa,0x00001538,0x00001539, 4280x00000006,0x000016c2,0x000015d7,0x000016bc,
4210x00001555,0x000200f8,0x00001539,0x000200f9, 4290x00050050,0x00000007,0x000016c3,0x000016bd,
4220x0000153a,0x000200f8,0x0000153a,0x000700f5, 4300x000016c2,0x0004007c,0x00000014,0x000016b3,
4230x00000006,0x00005fcf,0x00000138,0x00001539, 4310x000016c3,0x00060041,0x00000174,0x000016aa,
4240x00001547,0x0000153e,0x000700f5,0x00000006, 4320x000016b3,0x00000173,0x00000173,0x0006003d,
4250x00005fce,0x00000138,0x00001539,0x0000154a, 4330x00000006,0x000016ab,0x000016aa,0x00000002,
4260x0000153e,0x000500b0,0x0000002f,0x0000153d, 4340x00000004,0x00050041,0x000001c3,0x000015a0,
4270x00005fce,0x000001c4,0x000400f6,0x0000154b, 4350x000001c1,0x000003c1,0x0004003d,0x00000006,
4280x0000153e,0x00000000,0x000400fa,0x0000153d, 4360x000015a1,0x000015a0,0x000500aa,0x0000002f,
4290x0000153e,0x0000154b,0x000200f8,0x0000153e, 4370x000015a2,0x000016ab,0x000015a1,0x000200f9,
4300x00050041,0x00000937,0x00001540,0x00000a7f, 4380x000015a3,0x000200f8,0x000015a3,0x000700f5,
4310x00005fce,0x0004003d,0x00000006,0x00001541, 4390x0000002f,0x000015a4,0x0000159b,0x0000159a,
4320x00001540,0x0003003e,0x00001540,0x00005fcf, 4400x000015a2,0x0000159c,0x000300f7,0x000015aa,
4330x00050080,0x00000006,0x00001547,0x00005fcf, 4410x00000000,0x000400fa,0x000015a4,0x000015a5,
4340x00001541,0x00050080,0x00000006,0x0000154a, 4420x000015aa,0x000200f8,0x000015a5,0x0006003d,
4350x00005fce,0x00000264,0x000200f9,0x0000153a, 4430x00000006,0x000016cc,0x000015c1,0x00000002,
4360x000200f8,0x0000154b,0x000200f9,0x00001555, 4440x00000004,0x000500b0,0x0000002f,0x000015a9,
4370x000200f8,0x00001555,0x000400e0,0x00000280, 4450x000016cc,0x00000387,0x000200f9,0x000015aa,
4380x00000280,0x0000094f,0x0004003d,0x00000006, 4460x000200f8,0x000015aa,0x000700f5,0x0000002f,
4390x00001558,0x00001536,0x000200f9,0x0000155a, 4470x000015ab,0x000015a4,0x000015a3,0x000015a9,
4400x000200f8,0x0000155a,0x000700f5,0x00000006, 4480x000015a5,0x000300f7,0x000015b1,0x00000000,
4410x00005fd1,0x00001558,0x00001555,0x00001571, 4490x000400fa,0x000015ab,0x000015ac,0x000015b1,
4420x0000155f,0x000700f5,0x00000006,0x00005fd0, 4500x000200f8,0x000015ac,0x00050041,0x000001c3,
4430x0000151a,0x00001555,0x00001574,0x0000155f, 4510x000015ae,0x000001c1,0x00000362,0x0004003d,
4440x000500b0,0x0000002f,0x0000155e,0x00005fd0, 4520x00000006,0x000015af,0x000015ae,0x000500ac,
4450x0000151f,0x000400f6,0x00001575,0x0000155f, 4530x0000002f,0x000015b0,0x00001571,0x000015af,
4460x00000000,0x000400fa,0x0000155e,0x0000155f, 4540x000200f9,0x000015b1,0x000200f8,0x000015b1,
4470x00001575,0x000200f8,0x0000155f,0x00050084, 4550x000700f5,0x0000002f,0x000015b2,0x000015ab,
4480x00000006,0x00001562,0x000000ec,0x00005fd0, 4560x000015aa,0x000015b0,0x000015ac,0x000300f7,
4490x00050080,0x00000006,0x00001563,0x000014e2, 4570x000015b8,0x00000000,0x000400fa,0x000015b2,
4500x00001562,0x00050041,0x00000266,0x00001564, 4580x000015b3,0x000015b8,0x000200f8,0x000015b3,
4510x000001b9,0x00000264,0x0004003d,0x00000007, 4590x00050041,0x000001c3,0x000015b5,0x000001c1,
4520x00001565,0x00001564,0x00050051,0x00000006, 4600x000003b7,0x0004003d,0x00000006,0x000015b6,
4530x000015cd,0x00001565,0x00000000,0x00050095, 4610x000015b5,0x000500b2,0x0000002f,0x000015b7,
4540x0000013d,0x000015cf,0x000015cd,0x00001563, 4620x00001571,0x000015b6,0x000200f9,0x000015b8,
4550x00050051,0x00000006,0x000015d0,0x000015cf, 4630x000200f8,0x000015b8,0x000700f5,0x0000002f,
4560x00000001,0x00050051,0x00000006,0x000015d1, 4640x000015b9,0x000015b2,0x000015b1,0x000015b7,
4570x000015cf,0x00000000,0x00050051,0x00000006, 4650x000015b3,0x000600a9,0x00000006,0x000013c8,
4580x000015d4,0x00001565,0x00000001,0x00050080, 4660x000015b9,0x0000014a,0x00000140,0x00050041,
4590x00000006,0x000015d6,0x000015d4,0x000015d0, 4670x0000026e,0x000013ca,0x000001c1,0x0000026c,
4600x00050050,0x00000007,0x000015d7,0x000015d1, 4680x0004003d,0x00000007,0x000013cb,0x000013ca,
4610x000015d6,0x0004007c,0x00000014,0x000015c7, 4690x00050051,0x00000006,0x000016fa,0x000013cb,
4620x000015d7,0x00060041,0x0000016c,0x000015be, 4700x00000000,0x00050095,0x00000145,0x000016fc,
4630x000015c7,0x0000016b,0x0000016b,0x0006003d, 4710x000016fa,0x0000073f,0x00050051,0x00000006,
4640x00000006,0x000015bf,0x000015be,0x00000002, 4720x000016fd,0x000016fc,0x00000001,0x00050051,
4650x00000004,0x00050080,0x00000006,0x0000156a, 4730x00000006,0x000016fe,0x000016fc,0x00000000,
4660x000014e8,0x00001562,0x00050095,0x0000013d, 4740x00050051,0x00000006,0x00001701,0x000013cb,
4670x000015ef,0x000015cd,0x0000156a,0x00050051, 4750x00000001,0x00050080,0x00000006,0x00001703,
4680x00000006,0x000015f0,0x000015ef,0x00000001, 4760x00001701,0x000016fd,0x00050050,0x00000007,
4690x00050051,0x00000006,0x000015f1,0x000015ef, 4770x00001704,0x000016fe,0x00001703,0x0004007c,
4700x00000000,0x00050080,0x00000006,0x000015f6, 4780x00000014,0x000016f4,0x00001704,0x00060041,
4710x000015d4,0x000015f0,0x00050050,0x00000007, 4790x00000174,0x000016ec,0x000016f4,0x00000173,
4720x000015f7,0x000015f1,0x000015f6,0x0004007c, 4800x00000173,0x0005003e,0x000016ec,0x000013c8,
4730x00000014,0x000015e7,0x000015f7,0x00060041, 4810x00000002,0x00000004,0x000200f9,0x000013c6,
4740x0000016c,0x000015df,0x000015e7,0x0000016b, 4820x000200f8,0x000013c6,0x000200f9,0x000014ef,
4750x0000016b,0x0005003e,0x000015df,0x00005fd1, 4830x000200f8,0x000013c2,0x000500aa,0x0000002f,
4760x00000002,0x00000004,0x00050080,0x00000006, 4840x000013d2,0x000013be,0x00000376,0x000300f7,
4770x00001571,0x00005fd1,0x000015bf,0x00050080, 4850x000013d4,0x00000000,0x000400fa,0x000013d2,
4780x00000006,0x00001574,0x00005fd0,0x00000264, 4860x000013d3,0x000013d4,0x000200f8,0x000013d3,
4790x000200f9,0x0000155a,0x000200f8,0x00001575, 4870x00050041,0x000013a5,0x000013d8,0x000013d5,
4800x000200f9,0x000013fd,0x000200f8,0x000012f1, 4880x00000140,0x0004003d,0x00000006,0x000013d9,
4810x000500aa,0x0000002f,0x00001301,0x000012df, 4890x000013d8,0x00050041,0x000013a5,0x000013db,
4820x00000543,0x000300f7,0x00001303,0x00000000, 4900x000013d6,0x00000140,0x0004003d,0x00000006,
4830x000400fa,0x00001301,0x00001302,0x00001303, 4910x000013dc,0x000013db,0x000500b0,0x0000002f,
4840x000200f8,0x00001302,0x00050041,0x000012db, 4920x00001710,0x000013dc,0x000001e3,0x000300f7,
4850x00001305,0x000012e3,0x00000138,0x0004003d, 4930x00001714,0x00000000,0x000400fa,0x00001710,
4860x00000006,0x00001306,0x00001305,0x00050041, 4940x00001711,0x00001714,0x000200f8,0x00001711,
4870x000012db,0x00001308,0x000012e4,0x00000138, 4950x00050041,0x0000099d,0x00001713,0x00000a7e,
4880x0004003d,0x00000006,0x00001309,0x00001308, 4960x000013dc,0x0003003e,0x00001713,0x00000140,
4890x000500b0,0x0000002f,0x00001618,0x00001309, 4970x000200f9,0x00001714,0x000200f8,0x00001714,
4900x000001db,0x000300f7,0x00001627,0x00000000, 4980x000400e0,0x00000288,0x00000288,0x000009b5,
4910x000400fa,0x00001618,0x00001619,0x00001627, 4990x00050084,0x00000006,0x00001716,0x000013d9,
4920x000200f8,0x00001619,0x00050041,0x000001bb, 5000x000001c6,0x00050080,0x00000006,0x00001718,
4930x000016cf,0x000001b9,0x000001ba,0x0004003d, 5010x00001716,0x000001c6,0x00050041,0x000001c3,
4940x00000006,0x000016d0,0x000016cf,0x00050084, 5020x00001719,0x000001c1,0x000001c2,0x0004003d,
4950x00000006,0x000016d1,0x000001db,0x000016d0, 5030x00000006,0x0000171a,0x00001719,0x0007000c,
4960x00050080,0x00000006,0x000016d2,0x000001c4, 5040x00000006,0x0000171b,0x00000001,0x00000026,
4970x000016d1,0x00050080,0x00000006,0x000016d8, 5050x00001718,0x0000171a,0x00050080,0x00000006,
4980x000016d0,0x0000062f,0x00050086,0x00000006, 5060x0000171e,0x00001716,0x000013dc,0x000200f9,
4990x000016d9,0x000016d8,0x000001be,0x00050084, 5070x0000171f,0x000200f8,0x0000171f,0x000700f5,
5000x00000006,0x000016cb,0x000001c4,0x000016d9, 5080x00000006,0x000063fa,0x0000171e,0x00001714,
5010x00050080,0x00000006,0x000016cc,0x000016d2, 5090x00001731,0x0000172f,0x000500b0,0x0000002f,
5020x000016cb,0x00050084,0x00000006,0x0000161e, 5100x00001723,0x000063fa,0x0000171b,0x000400f6,
5030x00001309,0x000016d9,0x00050080,0x00000006, 5110x00001732,0x0000172f,0x00000000,0x000400fa,
5040x00001620,0x0000161e,0x00001306,0x00050084, 5120x00001723,0x00001724,0x00001732,0x000200f8,
5050x00000006,0x00001621,0x000000ec,0x00001620, 5130x00001724,0x00050041,0x000001c3,0x00001748,
5060x00050080,0x00000006,0x00001622,0x000016cc, 5140x000001c1,0x00000528,0x0004003d,0x00000006,
5070x00001621,0x00050041,0x00000266,0x00001623, 5150x00001749,0x00001748,0x000500c7,0x00000006,
5080x000001b9,0x00000264,0x0004003d,0x00000007, 5160x0000174a,0x00001749,0x0000014a,0x000500aa,
5090x00001624,0x00001623,0x00050051,0x00000006, 5170x0000002f,0x0000174b,0x0000174a,0x00000140,
5100x000016f7,0x00001624,0x00000000,0x00050095, 5180x000300f7,0x00001750,0x00000000,0x000400fa,
5110x0000013d,0x000016f9,0x000016f7,0x00001622, 5190x0000174b,0x0000174c,0x0000174e,0x000200f8,
5120x00050051,0x00000006,0x000016fa,0x000016f9, 5200x0000174e,0x00050084,0x00000006,0x00001758,
5130x00000001,0x00050051,0x00000006,0x000016fb, 5210x000001d5,0x0000171a,0x00050080,0x00000006,
5140x000016f9,0x00000000,0x00050051,0x00000006, 5220x00001759,0x000001cc,0x00001758,0x000200f9,
5150x000016fe,0x00001624,0x00000001,0x00050080, 5230x00001750,0x000200f8,0x0000174c,0x000200f9,
5160x00000006,0x00001700,0x000016fe,0x000016fa, 5240x00001750,0x000200f8,0x00001750,0x000700f5,
5170x00050050,0x00000007,0x00001701,0x000016fb, 5250x00000006,0x000063fb,0x000001cc,0x0000174c,
5180x00001700,0x0004007c,0x00000014,0x000016f1, 5260x00001759,0x0000174e,0x00050084,0x00000006,
5190x00001701,0x00060041,0x0000016c,0x000016e8, 5270x00001727,0x000000f3,0x000063fa,0x00050080,
5200x000016f1,0x0000016b,0x0000016b,0x0006003d, 5280x00000006,0x00001728,0x000063fb,0x00001727,
5210x00000006,0x000016e9,0x000016e8,0x00000002, 5290x00050041,0x0000026e,0x00001729,0x000001c1,
5220x00000004,0x00050041,0x00000937,0x00001626, 5300x0000026c,0x0004003d,0x00000007,0x0000172a,
5230x00000ad4,0x00001309,0x0003003e,0x00001626, 5310x00001729,0x00050051,0x00000006,0x00001770,
5240x000016e9,0x000200f9,0x00001627,0x000200f8, 5320x0000172a,0x00000000,0x00050095,0x00000145,
5250x00001627,0x00050084,0x00000006,0x00001629, 5330x00001772,0x00001770,0x00001728,0x00050051,
5260x00001306,0x000001be,0x00050080,0x00000006, 5340x00000006,0x00001773,0x00001772,0x00000001,
5270x0000162b,0x00001629,0x000001be,0x00050041, 5350x00050051,0x00000006,0x00001774,0x00001772,
5280x000001bb,0x0000162c,0x000001b9,0x000001ba, 5360x00000000,0x00050051,0x00000006,0x00001777,
5290x0004003d,0x00000006,0x0000162d,0x0000162c, 5370x0000172a,0x00000001,0x00050080,0x00000006,
5300x0007000c,0x00000006,0x0000162e,0x00000001, 5380x00001779,0x00001777,0x00001773,0x00050050,
5310x00000026,0x0000162b,0x0000162d,0x000200f9, 5390x00000007,0x0000177a,0x00001774,0x00001779,
5320x00001630,0x000200f8,0x00001630,0x000700f5, 5400x0004007c,0x00000014,0x0000176a,0x0000177a,
5330x00000006,0x00005fb3,0x00001629,0x00001627, 5410x00060041,0x00000174,0x00001761,0x0000176a,
5340x000016c5,0x000016c3,0x000500b0,0x0000002f, 5420x00000173,0x00000173,0x0006003d,0x00000006,
5350x00001634,0x00005fb3,0x0000162e,0x000400f6, 5430x00001762,0x00001761,0x00000002,0x00000004,
5360x000016c6,0x000016c3,0x00000000,0x000400fa, 5440x00050084,0x00000006,0x00001780,0x000000f3,
5370x00001634,0x00001635,0x000016c6,0x000200f8, 5450x00001749,0x000500c2,0x00000006,0x00001781,
5380x00001635,0x00050080,0x00000006,0x00001638, 5460x00001762,0x00001780,0x000500c7,0x00000006,
5390x00005fb3,0x00001309,0x000500b0,0x0000002f, 5470x00001782,0x00001781,0x00000a74,0x00050041,
5400x0000163b,0x00001638,0x0000162e,0x000300f7, 5480x0000099d,0x0000172d,0x00000a7e,0x00001782,
5410x00001646,0x00000000,0x000400fa,0x0000163b, 5490x000700ea,0x00000006,0x0000172e,0x0000172d,
5420x0000163d,0x00001645,0x000200f8,0x00001645, 5500x0000014a,0x00000140,0x0000014a,0x000200f9,
5430x000200f9,0x00001646,0x000200f8,0x0000163d, 5510x0000172f,0x000200f8,0x0000172f,0x00050080,
5440x00050041,0x000001bb,0x00001705,0x000001b9, 5520x00000006,0x00001731,0x000063fa,0x000001cc,
5450x000004c1,0x0004003d,0x00000006,0x00001706, 5530x000200f9,0x0000171f,0x000200f8,0x00001732,
5460x00001705,0x000500c7,0x00000006,0x00001707, 5540x000400e0,0x00000288,0x00000288,0x000009b5,
5470x00001706,0x00000142,0x000500aa,0x0000002f, 5550x000300f7,0x00001744,0x00000000,0x000400fa,
5480x00001708,0x00001707,0x00000138,0x000300f7, 5560x00001710,0x00001735,0x00001744,0x000200f8,
5490x0000170d,0x00000000,0x000400fa,0x00001708, 5570x00001735,0x00050084,0x00000006,0x00001787,
5500x00001709,0x0000170b,0x000200f8,0x0000170b, 5580x000001e3,0x0000171a,0x00050080,0x00000006,
5510x00050084,0x00000006,0x00001715,0x000001cd, 5590x00001788,0x000001cc,0x00001787,0x00050080,
5520x0000162d,0x00050080,0x00000006,0x00001716, 5600x00000006,0x0000178e,0x0000171a,0x00000695,
5530x000001c4,0x00001715,0x000200f9,0x0000170d, 5610x00050086,0x00000006,0x0000178f,0x0000178e,
5540x000200f8,0x00001709,0x000200f9,0x0000170d, 5620x000001c6,0x00050084,0x00000006,0x00001739,
5550x000200f8,0x0000170d,0x000700f5,0x00000006, 5630x000013dc,0x0000178f,0x00050080,0x00000006,
5560x00005fb4,0x000001c4,0x00001709,0x00001716, 5640x0000173b,0x00001739,0x000013d9,0x00050084,
5570x0000170b,0x00050084,0x00000006,0x00001640, 5650x00000006,0x0000173c,0x000000f3,0x0000173b,
5580x000000ec,0x00001638,0x00050080,0x00000006, 5660x00050080,0x00000006,0x0000173d,0x00001788,
5590x00001641,0x00005fb4,0x00001640,0x00050041, 5670x0000173c,0x00050041,0x0000026e,0x0000173f,
5600x00000266,0x00001642,0x000001b9,0x00000264, 5680x000001c1,0x0000026c,0x0004003d,0x00000007,
5610x0004003d,0x00000007,0x00001643,0x00001642, 5690x00001740,0x0000173f,0x00050041,0x0000099d,
5620x00050051,0x00000006,0x0000172d,0x00001643, 5700x00001741,0x00000a7e,0x000013dc,0x0004003d,
5630x00000000,0x00050095,0x0000013d,0x0000172f, 5710x00000006,0x00001742,0x00001741,0x00050051,
5640x0000172d,0x00001641,0x00050051,0x00000006, 5720x00000006,0x000017a5,0x00001740,0x00000000,
5650x00001730,0x0000172f,0x00000001,0x00050051, 5730x00050095,0x00000145,0x000017a7,0x000017a5,
5660x00000006,0x00001731,0x0000172f,0x00000000, 5740x0000173d,0x00050051,0x00000006,0x000017a8,
5670x00050051,0x00000006,0x00001734,0x00001643, 5750x000017a7,0x00000001,0x00050051,0x00000006,
5680x00000001,0x00050080,0x00000006,0x00001736, 5760x000017a9,0x000017a7,0x00000000,0x00050051,
5690x00001734,0x00001730,0x00050050,0x00000007, 5770x00000006,0x000017ac,0x00001740,0x00000001,
5700x00001737,0x00001731,0x00001736,0x0004007c, 5780x00050080,0x00000006,0x000017ae,0x000017ac,
5710x00000014,0x00001727,0x00001737,0x00060041, 5790x000017a8,0x00050050,0x00000007,0x000017af,
5720x0000016c,0x0000171e,0x00001727,0x0000016b, 5800x000017a9,0x000017ae,0x0004007c,0x00000014,
5730x0000016b,0x0006003d,0x00000006,0x0000171f, 5810x0000179f,0x000017af,0x00060041,0x00000174,
5740x0000171e,0x00000002,0x00000004,0x000200f9, 5820x00001797,0x0000179f,0x00000173,0x00000173,
5750x00001646,0x000200f8,0x00001646,0x000700f5, 5830x0005003e,0x00001797,0x00001742,0x00000002,
5760x00000006,0x00005fb5,0x0000171f,0x0000170d, 5840x00000004,0x000200f9,0x00001744,0x000200f8,
5770x00000138,0x00001645,0x000300f7,0x00001652, 5850x00001744,0x000200f9,0x000014ef,0x000200f8,
5780x00000000,0x000400fa,0x0000163b,0x00001649, 5860x000013d4,0x000500aa,0x0000002f,0x000013e1,
5790x00001651,0x000200f8,0x00001651,0x000200f9, 5870x000013be,0x000001d5,0x000300f7,0x000013e3,
5800x00001652,0x000200f8,0x00001649,0x00050041, 5880x00000000,0x000400fa,0x000013e1,0x000013e2,
5810x000001bb,0x0000173b,0x000001b9,0x000004c1, 5890x000013e3,0x000200f8,0x000013e2,0x00050041,
5820x0004003d,0x00000006,0x0000173c,0x0000173b, 5900x000001c3,0x000017b2,0x000001c1,0x000001c2,
5830x000500c7,0x00000006,0x0000173d,0x0000173c, 5910x0004003d,0x00000006,0x000017b3,0x000017b2,
5840x00000142,0x000500aa,0x0000002f,0x0000173e, 5920x00050084,0x00000006,0x000017b4,0x000001e3,
5850x0000173d,0x00000138,0x000300f7,0x00001743, 5930x000017b3,0x00050080,0x00000006,0x000017b5,
5860x00000000,0x000400fa,0x0000173e,0x0000173f, 5940x000001cc,0x000017b4,0x00050080,0x00000006,
5870x00001741,0x000200f8,0x00001741,0x00050084, 5950x000017c7,0x000017b3,0x00000695,0x00050086,
5880x00000006,0x0000174f,0x000001d4,0x0000162d, 5960x00000006,0x000017c8,0x000017c7,0x000001c6,
5890x00050080,0x00000006,0x00001750,0x000001c4, 5970x00050084,0x00000006,0x000017ba,0x000001cc,
5900x0000174f,0x000200f9,0x00001743,0x000200f8, 5980x000017c8,0x00050080,0x00000006,0x000017bb,
5910x0000173f,0x00050084,0x00000006,0x00001749, 5990x000017b5,0x000017ba,0x00050084,0x00000006,
5920x000000ec,0x0000162d,0x00050080,0x00000006, 6000x000013e7,0x000001e3,0x000017c8,0x00050041,
5930x0000174a,0x000001c4,0x00001749,0x000200f9, 6010x000013a5,0x000013e9,0x000013d6,0x00000140,
5940x00001743,0x000200f8,0x00001743,0x000700f5, 6020x0004003d,0x00000006,0x000013ea,0x000013e9,
5950x00000006,0x00005fb6,0x0000174a,0x0000173f, 6030x00050080,0x00000006,0x000017e7,0x000013e7,
5960x00001750,0x00001741,0x00050084,0x00000006, 6040x00000abc,0x00050086,0x00000006,0x000017e8,
5970x0000164c,0x000000ec,0x00001638,0x00050080, 6050x000017e7,0x000001cc,0x00050084,0x00000006,
5980x00000006,0x0000164d,0x00005fb6,0x0000164c, 6060x000017eb,0x000013ea,0x000017e8,0x0007000c,
5990x00050041,0x00000266,0x0000164e,0x000001b9, 6070x00000006,0x000017ed,0x00000001,0x00000026,
6000x00000264,0x0004003d,0x00000007,0x0000164f, 6080x000017eb,0x000013e7,0x00050080,0x00000006,
6010x0000164e,0x00050051,0x00000006,0x00001767, 6090x000017f0,0x000017ed,0x000017e8,0x0007000c,
6020x0000164f,0x00000000,0x00050095,0x0000013d, 6100x00000006,0x000017f2,0x00000001,0x00000026,
6030x00001769,0x00001767,0x0000164d,0x00050051, 6110x000017f0,0x000013e7,0x000200f9,0x000017f4,
6040x00000006,0x0000176a,0x00001769,0x00000001, 6120x000200f8,0x000017f4,0x000700f5,0x00000006,
6050x00050051,0x00000006,0x0000176b,0x00001769, 6130x000063f5,0x00000140,0x000013e2,0x00001802,
6060x00000000,0x00050051,0x00000006,0x0000176e, 6140x000017f9,0x000700f5,0x00000006,0x000063f4,
6070x0000164f,0x00000001,0x00050080,0x00000006, 6150x000017ed,0x000013e2,0x00001805,0x000017f9,
6080x00001770,0x0000176e,0x0000176a,0x00050050, 6160x000500b0,0x0000002f,0x000017f8,0x000063f4,
6090x00000007,0x00001771,0x0000176b,0x00001770, 6170x000017f2,0x000400f6,0x00001806,0x000017f9,
6100x0004007c,0x00000014,0x00001761,0x00001771, 6180x00000000,0x000400fa,0x000017f8,0x000017f9,
6110x00060041,0x0000016c,0x00001758,0x00001761, 6190x00001806,0x000200f8,0x000017f9,0x00050084,
6120x0000016b,0x0000016b,0x0006003d,0x00000006, 6200x00000006,0x000017fc,0x000000f3,0x000063f4,
6130x00001759,0x00001758,0x00000002,0x00000004, 6210x00050080,0x00000006,0x000017fd,0x000017b5,
6140x000200f9,0x00001652,0x000200f8,0x00001652, 6220x000017fc,0x00050041,0x0000026e,0x000017fe,
6150x000700f5,0x00000006,0x00005fb7,0x00001759, 6230x000001c1,0x0000026c,0x0004003d,0x00000007,
6160x00001743,0x00000138,0x00001651,0x00050041, 6240x000017ff,0x000017fe,0x00050051,0x00000006,
6170x000001bb,0x00001775,0x000001b9,0x000004c1, 6250x0000185f,0x000017ff,0x00000000,0x00050095,
6180x0004003d,0x00000006,0x00001776,0x00001775, 6260x00000145,0x00001861,0x0000185f,0x000017fd,
6190x00050084,0x00000006,0x00001777,0x000000ec, 6270x00050051,0x00000006,0x00001862,0x00001861,
6200x00001776,0x000500c2,0x00000006,0x00001778, 6280x00000001,0x00050051,0x00000006,0x00001863,
6210x00005fb5,0x00001777,0x000500c7,0x00000006, 6290x00001861,0x00000000,0x00050051,0x00000006,
6220x00001779,0x00001778,0x00000a0e,0x000200f9, 6300x00001866,0x000017ff,0x00000001,0x00050080,
6230x00001656,0x000200f8,0x00001656,0x000700f5, 6310x00000006,0x00001868,0x00001866,0x00001862,
6240x00000006,0x00005fb8,0x00000138,0x00001652, 6320x00050050,0x00000007,0x00001869,0x00001863,
6250x00001666,0x0000165a,0x000500b0,0x0000002f, 6330x00001868,0x0004007c,0x00000014,0x00001859,
6260x00001659,0x00005fb8,0x000001db,0x000400f6, 6340x00001869,0x00060041,0x00000174,0x00001850,
6270x00001667,0x0000165a,0x00000000,0x000400fa, 6350x00001859,0x00000173,0x00000173,0x0006003d,
6280x00001659,0x0000165a,0x00001667,0x000200f8, 6360x00000006,0x00001851,0x00001850,0x00000002,
6290x0000165a,0x000500aa,0x0000002f,0x00001660, 6370x00000004,0x00050080,0x00000006,0x00001802,
6300x00005fb8,0x00001779,0x000500a7,0x0000002f, 6380x000063f5,0x00001851,0x00050080,0x00000006,
6310x00001661,0x0000163b,0x00001660,0x000600a9, 6390x00001805,0x000063f4,0x0000026c,0x000200f9,
6320x00000006,0x00001662,0x00001661,0x00000142, 6400x000017f4,0x000200f8,0x00001806,0x00050041,
6330x00000138,0x00060041,0x00000937,0x00001663, 6410x0000099d,0x00001809,0x00000ae5,0x000013ea,
6340x00000b2d,0x00005fb8,0x00001309,0x0003003e, 6420x0003003e,0x00001809,0x000063f5,0x000400e0,
6350x00001663,0x00001662,0x00050080,0x00000006, 6430x00000288,0x00000288,0x000009b5,0x000500aa,
6360x00001666,0x00005fb8,0x00000264,0x000200f9, 6440x0000002f,0x0000180b,0x000013ea,0x00000140,
6370x00001656,0x000200f8,0x00001667,0x000400e0, 6450x000300f7,0x00001828,0x00000000,0x000400fa,
6380x00000280,0x00000280,0x0000094f,0x000200f9, 6460x0000180b,0x0000180c,0x00001828,0x000200f8,
6390x00001668,0x000200f8,0x00001668,0x000700f5, 6470x0000180c,0x000200f9,0x0000180d,0x000200f8,
6400x00000006,0x00005fb9,0x00000142,0x00001667, 6480x0000180d,0x000700f5,0x00000006,0x000063f7,
6410x00001699,0x00001697,0x000500b0,0x0000002f, 6490x00000140,0x0000180c,0x0000181a,0x00001811,
6420x0000166b,0x00005fb9,0x000001c4,0x000400f6, 6500x000700f5,0x00000006,0x000063f6,0x00000140,
6430x0000169a,0x00001697,0x00000000,0x000400fa, 6510x0000180c,0x0000181d,0x00001811,0x000500b0,
6440x0000166b,0x0000166c,0x0000169a,0x000200f8, 6520x0000002f,0x00001810,0x000063f6,0x000001cc,
6450x0000166c,0x000200f9,0x0000166d,0x000200f8, 6530x000400f6,0x0000181e,0x00001811,0x00000000,
6460x0000166d,0x000700f5,0x00000006,0x00005fc6, 6540x000400fa,0x00001810,0x00001811,0x0000181e,
6470x00000138,0x0000166c,0x00001683,0x00001681, 6550x000200f8,0x00001811,0x00050041,0x0000099d,
6480x000500b0,0x0000002f,0x00001670,0x00005fc6, 6560x00001813,0x00000ae5,0x000063f6,0x0004003d,
6490x000001db,0x000400f6,0x00001684,0x00001681, 6570x00000006,0x00001814,0x00001813,0x0003003e,
6500x00000000,0x000400fa,0x00001670,0x00001671, 6580x00001813,0x000063f7,0x00050080,0x00000006,
6510x00001684,0x000200f8,0x00001671,0x000500ae, 6590x0000181a,0x000063f7,0x00001814,0x00050080,
6520x0000002f,0x00001675,0x00001309,0x00005fb9, 6600x00000006,0x0000181d,0x000063f6,0x0000026c,
6530x000300f7,0x0000167e,0x00000000,0x000400fa, 6610x000200f9,0x0000180d,0x000200f8,0x0000181e,
6540x00001675,0x00001676,0x0000167d,0x000200f8, 6620x000200f9,0x00001828,0x000200f8,0x00001828,
6550x0000167d,0x000200f9,0x0000167e,0x000200f8, 6630x000400e0,0x00000288,0x00000288,0x000009b5,
6560x00001676,0x00050082,0x00000006,0x0000167a, 6640x0004003d,0x00000006,0x0000182b,0x00001809,
6570x00001309,0x00005fb9,0x00060041,0x00000937, 6650x000200f9,0x0000182d,0x000200f8,0x0000182d,
6580x0000167b,0x00000b2d,0x00005fc6,0x0000167a, 6660x000700f5,0x00000006,0x000063f9,0x0000182b,
6590x0004003d,0x00000006,0x0000167c,0x0000167b, 6670x00001828,0x00001844,0x00001832,0x000700f5,
6600x000200f9,0x0000167e,0x000200f8,0x0000167e, 6680x00000006,0x000063f8,0x000017ed,0x00001828,
6610x000700f5,0x00000006,0x00005fca,0x0000167c, 6690x00001847,0x00001832,0x000500b0,0x0000002f,
6620x00001676,0x00000138,0x0000167d,0x00050041, 6700x00001831,0x000063f8,0x000017f2,0x000400f6,
6630x00000009,0x00001680,0x0000160c,0x00005fc6, 6710x00001848,0x00001832,0x00000000,0x000400fa,
6640x0003003e,0x00001680,0x00005fca,0x000200f9, 6720x00001831,0x00001832,0x00001848,0x000200f8,
6650x00001681,0x000200f8,0x00001681,0x00050080, 6730x00001832,0x00050084,0x00000006,0x00001835,
6660x00000006,0x00001683,0x00005fc6,0x00000264, 6740x000000f3,0x000063f8,0x00050080,0x00000006,
6670x000200f9,0x0000166d,0x000200f8,0x00001684, 6750x00001836,0x000017b5,0x00001835,0x00050041,
6680x000400e0,0x00000280,0x00000280,0x0000094f, 6760x0000026e,0x00001837,0x000001c1,0x0000026c,
6690x000200f9,0x00001685,0x000200f8,0x00001685, 6770x0004003d,0x00000007,0x00001838,0x00001837,
6700x000700f5,0x00000006,0x00005fc7,0x00000138, 6780x00050051,0x00000006,0x000018a0,0x00001838,
6710x00001684,0x00001695,0x00001689,0x000500b0, 6790x00000000,0x00050095,0x00000145,0x000018a2,
6720x0000002f,0x00001688,0x00005fc7,0x000001db, 6800x000018a0,0x00001836,0x00050051,0x00000006,
6730x000400f6,0x00001696,0x00001689,0x00000000, 6810x000018a3,0x000018a2,0x00000001,0x00050051,
6740x000400fa,0x00001688,0x00001689,0x00001696, 6820x00000006,0x000018a4,0x000018a2,0x00000000,
6750x000200f8,0x00001689,0x00050041,0x00000009, 6830x00050051,0x00000006,0x000018a7,0x00001838,
6760x0000168d,0x0000160c,0x00005fc7,0x0004003d, 6840x00000001,0x00050080,0x00000006,0x000018a9,
6770x00000006,0x0000168e,0x0000168d,0x00060041, 6850x000018a7,0x000018a3,0x00050050,0x00000007,
6780x00000937,0x0000168f,0x00000b2d,0x00005fc7, 6860x000018aa,0x000018a4,0x000018a9,0x0004007c,
6790x00001309,0x0004003d,0x00000006,0x00001690, 6870x00000014,0x0000189a,0x000018aa,0x00060041,
6800x0000168f,0x00050080,0x00000006,0x00001691, 6880x00000174,0x00001891,0x0000189a,0x00000173,
6810x00001690,0x0000168e,0x0003003e,0x0000168f, 6890x00000173,0x0006003d,0x00000006,0x00001892,
6820x00001691,0x00050080,0x00000006,0x00001695, 6900x00001891,0x00000002,0x00000004,0x00050080,
6830x00005fc7,0x00000264,0x000200f9,0x00001685, 6910x00000006,0x0000183d,0x000017bb,0x00001835,
6840x000200f8,0x00001696,0x000400e0,0x00000280, 6920x00050095,0x00000145,0x000018c2,0x000018a0,
6850x00000280,0x0000094f,0x000200f9,0x00001697, 6930x0000183d,0x00050051,0x00000006,0x000018c3,
6860x000200f8,0x00001697,0x000500c4,0x00000006, 6940x000018c2,0x00000001,0x00050051,0x00000006,
6870x00001699,0x00005fb9,0x00000264,0x000200f9, 6950x000018c4,0x000018c2,0x00000000,0x00050080,
6880x00001668,0x000200f8,0x0000169a,0x000300f7, 6960x00000006,0x000018c9,0x000018a7,0x000018c3,
6890x000016b6,0x00000000,0x000400fa,0x0000163b, 6970x00050050,0x00000007,0x000018ca,0x000018c4,
6900x0000169c,0x000016b6,0x000200f8,0x0000169c, 6980x000018c9,0x0004007c,0x00000014,0x000018ba,
6910x00050041,0x00000937,0x0000169e,0x00000ad4, 6990x000018ca,0x00060041,0x00000174,0x000018b2,
6920x00001779,0x0004003d,0x00000006,0x0000169f, 7000x000018ba,0x00000173,0x00000173,0x0005003e,
6930x0000169e,0x00060041,0x00000937,0x000016a2, 7010x000018b2,0x000063f9,0x00000002,0x00000004,
6940x00000b2d,0x00001779,0x00001309,0x0004003d, 7020x00050080,0x00000006,0x00001844,0x000063f9,
6950x00000006,0x000016a3,0x000016a2,0x00050080, 7030x00001892,0x00050080,0x00000006,0x00001847,
6960x00000006,0x000016a4,0x0000169f,0x000016a3, 7040x000063f8,0x0000026c,0x000200f9,0x0000182d,
6970x00050082,0x00000006,0x000016a5,0x000016a4, 7050x000200f8,0x00001848,0x000200f9,0x000014ef,
6980x00000142,0x000500c7,0x00000006,0x0000177f, 7060x000200f8,0x000013e3,0x000500aa,0x0000002f,
6990x00001776,0x00000142,0x000500aa,0x0000002f, 7070x000013f3,0x000013be,0x000005a9,0x000300f7,
7000x00001780,0x0000177f,0x00000138,0x000300f7, 7080x000013f5,0x00000000,0x000400fa,0x000013f3,
7010x00001785,0x00000000,0x000400fa,0x00001780, 7090x000013f4,0x000013f5,0x000200f8,0x000013f4,
7020x00001781,0x00001783,0x000200f8,0x00001783, 7100x00050041,0x000013a5,0x000013f7,0x000013d5,
7030x000200f9,0x00001785,0x000200f8,0x00001781, 7110x00000140,0x0004003d,0x00000006,0x000013f8,
7040x00050084,0x00000006,0x0000178b,0x000001cd, 7120x000013f7,0x00050041,0x000013a5,0x000013fa,
7050x0000162d,0x00050080,0x00000006,0x0000178c, 7130x000013d6,0x00000140,0x0004003d,0x00000006,
7060x000001c4,0x0000178b,0x000200f9,0x00001785, 7140x000013fb,0x000013fa,0x000500b0,0x0000002f,
7070x000200f8,0x00001785,0x000700f5,0x00000006, 7150x000018eb,0x000013fb,0x000001e3,0x000300f7,
7080x00005fba,0x0000178c,0x00001781,0x000001c4, 7160x000018fa,0x00000000,0x000400fa,0x000018eb,
7090x00001783,0x00050084,0x00000006,0x000016a8, 7170x000018ec,0x000018fa,0x000200f8,0x000018ec,
7100x000000ec,0x000016a5,0x00050080,0x00000006, 7180x00050041,0x000001c3,0x000019a2,0x000001c1,
7110x000016a9,0x00005fba,0x000016a8,0x00050041, 7190x000001c2,0x0004003d,0x00000006,0x000019a3,
7120x00000266,0x000016aa,0x000001b9,0x00000264, 7200x000019a2,0x00050084,0x00000006,0x000019a4,
7130x0004003d,0x00000007,0x000016ab,0x000016aa, 7210x000001e3,0x000019a3,0x00050080,0x00000006,
7140x00050051,0x00000006,0x000017a4,0x000016ab, 7220x000019a5,0x000001cc,0x000019a4,0x00050080,
7150x00000000,0x00050095,0x0000013d,0x000017a6, 7230x00000006,0x000019ab,0x000019a3,0x00000695,
7160x000017a4,0x000016a9,0x00050051,0x00000006, 7240x00050086,0x00000006,0x000019ac,0x000019ab,
7170x000017a7,0x000017a6,0x00000001,0x00050051, 7250x000001c6,0x00050084,0x00000006,0x0000199e,
7180x00000006,0x000017a8,0x000017a6,0x00000000, 7260x000001cc,0x000019ac,0x00050080,0x00000006,
7190x00050051,0x00000006,0x000017ab,0x000016ab, 7270x0000199f,0x000019a5,0x0000199e,0x00050084,
7200x00000001,0x00050080,0x00000006,0x000017ad, 7280x00000006,0x000018f1,0x000013fb,0x000019ac,
7210x000017ab,0x000017a7,0x00050050,0x00000007, 7290x00050080,0x00000006,0x000018f3,0x000018f1,
7220x000017ae,0x000017a8,0x000017ad,0x0004007c, 7300x000013f8,0x00050084,0x00000006,0x000018f4,
7230x00000014,0x0000179e,0x000017ae,0x00060041, 7310x000000f3,0x000018f3,0x00050080,0x00000006,
7240x0000016c,0x00001796,0x0000179e,0x0000016b, 7320x000018f5,0x0000199f,0x000018f4,0x00050041,
7250x0000016b,0x0005003e,0x00001796,0x00005fb5, 7330x0000026e,0x000018f6,0x000001c1,0x0000026c,
7260x00000002,0x00000004,0x000300f7,0x000017ba, 7340x0004003d,0x00000007,0x000018f7,0x000018f6,
7270x00000000,0x000400fa,0x00001780,0x000017b6, 7350x00050051,0x00000006,0x000019ca,0x000018f7,
7280x000017b8,0x000200f8,0x000017b8,0x00050084, 7360x00000000,0x00050095,0x00000145,0x000019cc,
7290x00000006,0x000017c6,0x000000ec,0x0000162d, 7370x000019ca,0x000018f5,0x00050051,0x00000006,
7300x00050080,0x00000006,0x000017c7,0x000001c4, 7380x000019cd,0x000019cc,0x00000001,0x00050051,
7310x000017c6,0x000200f9,0x000017ba,0x000200f8, 7390x00000006,0x000019ce,0x000019cc,0x00000000,
7320x000017b6,0x00050084,0x00000006,0x000017c0, 7400x00050051,0x00000006,0x000019d1,0x000018f7,
7330x000001d4,0x0000162d,0x00050080,0x00000006, 7410x00000001,0x00050080,0x00000006,0x000019d3,
7340x000017c1,0x000001c4,0x000017c0,0x000200f9, 7420x000019d1,0x000019cd,0x00050050,0x00000007,
7350x000017ba,0x000200f8,0x000017ba,0x000700f5, 7430x000019d4,0x000019ce,0x000019d3,0x0004007c,
7360x00000006,0x00005fbb,0x000017c1,0x000017b6, 7440x00000014,0x000019c4,0x000019d4,0x00060041,
7370x000017c7,0x000017b8,0x00050080,0x00000006, 7450x00000174,0x000019bb,0x000019c4,0x00000173,
7380x000016b1,0x00005fbb,0x000016a8,0x00050095, 7460x00000173,0x0006003d,0x00000006,0x000019bc,
7390x0000013d,0x000017df,0x000017a4,0x000016b1, 7470x000019bb,0x00000002,0x00000004,0x00050041,
7400x00050051,0x00000006,0x000017e0,0x000017df, 7480x0000099d,0x000018f9,0x00000b3a,0x000013fb,
7410x00000001,0x00050051,0x00000006,0x000017e1, 7490x0003003e,0x000018f9,0x000019bc,0x000200f9,
7420x000017df,0x00000000,0x00050080,0x00000006, 7500x000018fa,0x000200f8,0x000018fa,0x00050084,
7430x000017e6,0x000017ab,0x000017e0,0x00050050, 7510x00000006,0x000018fc,0x000013f8,0x000001c6,
7440x00000007,0x000017e7,0x000017e1,0x000017e6, 7520x00050080,0x00000006,0x000018fe,0x000018fc,
7450x0004007c,0x00000014,0x000017d7,0x000017e7, 7530x000001c6,0x00050041,0x000001c3,0x000018ff,
7460x00060041,0x0000016c,0x000017cf,0x000017d7, 7540x000001c1,0x000001c2,0x0004003d,0x00000006,
7470x0000016b,0x0000016b,0x0005003e,0x000017cf, 7550x00001900,0x000018ff,0x0007000c,0x00000006,
7480x00005fb7,0x00000002,0x00000004,0x000200f9, 7560x00001901,0x00000001,0x00000026,0x000018fe,
7490x000016b6,0x000200f8,0x000016b6,0x000400e0, 7570x00001900,0x000200f9,0x00001903,0x000200f8,
7500x00000280,0x00000280,0x0000094f,0x000300f7, 7580x00001903,0x000700f5,0x00000006,0x000063db,
7510x000016c2,0x00000000,0x000400fa,0x00001618, 7590x000018fc,0x000018fa,0x00001998,0x00001996,
7520x000016b9,0x000016c2,0x000200f8,0x000016b9, 7600x000500b0,0x0000002f,0x00001907,0x000063db,
7530x00060041,0x00000937,0x000016bc,0x00000b2d, 7610x00001901,0x000400f6,0x00001999,0x00001996,
7540x00001309,0x00000b9b,0x0004003d,0x00000006, 7620x00000000,0x000400fa,0x00001907,0x00001908,
7550x000016bd,0x000016bc,0x00050041,0x00000937, 7630x00001999,0x000200f8,0x00001908,0x00050080,
7560x000016be,0x00000ad4,0x00001309,0x0004003d, 7640x00000006,0x0000190b,0x000063db,0x000013fb,
7570x00000006,0x000016bf,0x000016be,0x00050080, 7650x000500b0,0x0000002f,0x0000190e,0x0000190b,
7580x00000006,0x000016c0,0x000016bf,0x000016bd, 7660x00001901,0x000300f7,0x00001919,0x00000000,
7590x0003003e,0x000016be,0x000016c0,0x000200f9, 7670x000400fa,0x0000190e,0x00001910,0x00001918,
7600x000016c2,0x000200f8,0x000016c2,0x000400e0, 7680x000200f8,0x00001918,0x000200f9,0x00001919,
7610x00000280,0x00000280,0x0000094f,0x000200f9, 7690x000200f8,0x00001910,0x00050041,0x000001c3,
7620x000016c3,0x000200f8,0x000016c3,0x00050080, 7700x000019d8,0x000001c1,0x00000528,0x0004003d,
7630x00000006,0x000016c5,0x00005fb3,0x000001c4, 7710x00000006,0x000019d9,0x000019d8,0x000500c7,
7640x000200f9,0x00001630,0x000200f8,0x000016c6, 7720x00000006,0x000019da,0x000019d9,0x0000014a,
7650x000200f9,0x000013fd,0x000200f8,0x00001303, 7730x000500aa,0x0000002f,0x000019db,0x000019da,
7660x000500aa,0x0000002f,0x0000130f,0x000012df, 7740x00000140,0x000300f7,0x000019e0,0x00000000,
7670x0000130e,0x000300f7,0x00001311,0x00000000, 7750x000400fa,0x000019db,0x000019dc,0x000019de,
7680x000400fa,0x0000130f,0x00001310,0x00001311, 7760x000200f8,0x000019de,0x00050084,0x00000006,
7690x000200f8,0x00001310,0x00050041,0x000012db, 7770x000019e8,0x000001d5,0x00001900,0x00050080,
7700x00001313,0x000012e4,0x00000138,0x0004003d, 7780x00000006,0x000019e9,0x000001cc,0x000019e8,
7710x00000006,0x00001314,0x00001313,0x00050041, 7790x000200f9,0x000019e0,0x000200f8,0x000019dc,
7720x000001bb,0x00001802,0x000001b9,0x000001ba, 7800x000200f9,0x000019e0,0x000200f8,0x000019e0,
7730x0004003d,0x00000006,0x00001803,0x00001802, 7810x000700f5,0x00000006,0x000063dc,0x000001cc,
7740x000200f9,0x00001804,0x000200f8,0x00001804, 7820x000019dc,0x000019e9,0x000019de,0x00050084,
7750x000700f5,0x00000006,0x00005f9e,0x00000142, 7830x00000006,0x00001913,0x000000f3,0x0000190b,
7760x00001310,0x0000180b,0x00001809,0x000500b0, 7840x00050080,0x00000006,0x00001914,0x000063dc,
7770x0000002f,0x00001808,0x00005f9e,0x00001803, 7850x00001913,0x00050041,0x0000026e,0x00001915,
7780x000400f6,0x0000180d,0x00001809,0x00000000, 7860x000001c1,0x0000026c,0x0004003d,0x00000007,
7790x000400fa,0x00001808,0x00001809,0x0000180d, 7870x00001916,0x00001915,0x00050051,0x00000006,
7800x000200f8,0x00001809,0x000500c4,0x00000006, 7880x00001a00,0x00001916,0x00000000,0x00050095,
7810x0000180b,0x00005f9e,0x00000264,0x000200f9, 7890x00000145,0x00001a02,0x00001a00,0x00001914,
7820x00001804,0x000200f8,0x0000180d,0x000200f9, 7900x00050051,0x00000006,0x00001a03,0x00001a02,
7830x0000180f,0x000200f8,0x0000180f,0x000700f5, 7910x00000001,0x00050051,0x00000006,0x00001a04,
7840x00000006,0x00005f9f,0x00001314,0x0000180d, 7920x00001a02,0x00000000,0x00050051,0x00000006,
7850x00001837,0x00001835,0x000500b0,0x0000002f, 7930x00001a07,0x00001916,0x00000001,0x00050080,
7860x00001813,0x00005f9f,0x00005f9e,0x000400f6, 7940x00000006,0x00001a09,0x00001a07,0x00001a03,
7870x00001838,0x00001835,0x00000000,0x000400fa, 7950x00050050,0x00000007,0x00001a0a,0x00001a04,
7880x00001813,0x00001814,0x00001838,0x000200f8, 7960x00001a09,0x0004007c,0x00000014,0x000019fa,
7890x00001814,0x000500b0,0x0000002f,0x00001818, 7970x00001a0a,0x00060041,0x00000174,0x000019f1,
7900x00005f9f,0x00001803,0x000300f7,0x00001822, 7980x000019fa,0x00000173,0x00000173,0x0006003d,
7910x00000000,0x000400fa,0x00001818,0x00001819, 7990x00000006,0x000019f2,0x000019f1,0x00000002,
7920x00001821,0x000200f8,0x00001821,0x000200f9, 8000x00000004,0x000200f9,0x00001919,0x000200f8,
7930x00001822,0x000200f8,0x00001819,0x00050084, 8010x00001919,0x000700f5,0x00000006,0x000063dd,
7940x00000006,0x0000181c,0x000000ec,0x00005f9f, 8020x000019f2,0x000019e0,0x00000140,0x00001918,
7950x00050080,0x00000006,0x0000181d,0x000001c4, 8030x000300f7,0x00001925,0x00000000,0x000400fa,
7960x0000181c,0x00050041,0x00000266,0x0000181e, 8040x0000190e,0x0000191c,0x00001924,0x000200f8,
7970x000001b9,0x00000264,0x0004003d,0x00000007, 8050x00001924,0x000200f9,0x00001925,0x000200f8,
7980x0000181f,0x0000181e,0x00050051,0x00000006, 8060x0000191c,0x00050041,0x000001c3,0x00001a0e,
7990x000018c6,0x0000181f,0x00000000,0x00050095, 8070x000001c1,0x00000528,0x0004003d,0x00000006,
8000x0000013d,0x000018c8,0x000018c6,0x0000181d, 8080x00001a0f,0x00001a0e,0x000500c7,0x00000006,
8010x00050051,0x00000006,0x000018c9,0x000018c8, 8090x00001a10,0x00001a0f,0x0000014a,0x000500aa,
8020x00000001,0x00050051,0x00000006,0x000018ca, 8100x0000002f,0x00001a11,0x00001a10,0x00000140,
8030x000018c8,0x00000000,0x00050051,0x00000006, 8110x000300f7,0x00001a16,0x00000000,0x000400fa,
8040x000018cd,0x0000181f,0x00000001,0x00050080, 8120x00001a11,0x00001a12,0x00001a14,0x000200f8,
8050x00000006,0x000018cf,0x000018cd,0x000018c9, 8130x00001a14,0x00050084,0x00000006,0x00001a22,
8060x00050050,0x00000007,0x000018d0,0x000018ca, 8140x000001dc,0x00001900,0x00050080,0x00000006,
8070x000018cf,0x0004007c,0x00000014,0x000018c0, 8150x00001a23,0x000001cc,0x00001a22,0x000200f9,
8080x000018d0,0x00060041,0x0000016c,0x000018b7, 8160x00001a16,0x000200f8,0x00001a12,0x00050084,
8090x000018c0,0x0000016b,0x0000016b,0x0006003d, 8170x00000006,0x00001a1c,0x000000f3,0x00001900,
8100x00000006,0x000018b8,0x000018b7,0x00000002, 8180x00050080,0x00000006,0x00001a1d,0x000001cc,
8110x00000004,0x000200f9,0x00001822,0x000200f8, 8190x00001a1c,0x000200f9,0x00001a16,0x000200f8,
8120x00001822,0x000700f5,0x00000006,0x00005faf, 8200x00001a16,0x000700f5,0x00000006,0x000063de,
8130x000018b8,0x00001819,0x00000539,0x00001821, 8210x00001a1d,0x00001a12,0x00001a23,0x00001a14,
8140x00050041,0x00000937,0x00001824,0x00000924, 8220x00050084,0x00000006,0x0000191f,0x000000f3,
8150x00005f9f,0x0003003e,0x00001824,0x00005faf, 8230x0000190b,0x00050080,0x00000006,0x00001920,
8160x000300f7,0x00001832,0x00000000,0x000400fa, 8240x000063de,0x0000191f,0x00050041,0x0000026e,
8170x00001818,0x00001829,0x00001831,0x000200f8, 8250x00001921,0x000001c1,0x0000026c,0x0004003d,
8180x00001831,0x000200f9,0x00001832,0x000200f8, 8260x00000007,0x00001922,0x00001921,0x00050051,
8190x00001829,0x00050084,0x00000006,0x000018d5, 8270x00000006,0x00001a3a,0x00001922,0x00000000,
8200x000000ec,0x00001803,0x00050080,0x00000006, 8280x00050095,0x00000145,0x00001a3c,0x00001a3a,
8210x000018d6,0x000001c4,0x000018d5,0x00050084, 8290x00001920,0x00050051,0x00000006,0x00001a3d,
8220x00000006,0x0000182c,0x000000ec,0x00005f9f, 8300x00001a3c,0x00000001,0x00050051,0x00000006,
8230x00050080,0x00000006,0x0000182d,0x000018d6, 8310x00001a3e,0x00001a3c,0x00000000,0x00050051,
8240x0000182c,0x00050041,0x00000266,0x0000182e, 8320x00000006,0x00001a41,0x00001922,0x00000001,
8250x000001b9,0x00000264,0x0004003d,0x00000007, 8330x00050080,0x00000006,0x00001a43,0x00001a41,
8260x0000182f,0x0000182e,0x00050051,0x00000006, 8340x00001a3d,0x00050050,0x00000007,0x00001a44,
8270x000018ed,0x0000182f,0x00000000,0x00050095, 8350x00001a3e,0x00001a43,0x0004007c,0x00000014,
8280x0000013d,0x000018ef,0x000018ed,0x0000182d, 8360x00001a34,0x00001a44,0x00060041,0x00000174,
8290x00050051,0x00000006,0x000018f0,0x000018ef, 8370x00001a2b,0x00001a34,0x00000173,0x00000173,
8300x00000001,0x00050051,0x00000006,0x000018f1, 8380x0006003d,0x00000006,0x00001a2c,0x00001a2b,
8310x000018ef,0x00000000,0x00050051,0x00000006, 8390x00000002,0x00000004,0x000200f9,0x00001925,
8320x000018f4,0x0000182f,0x00000001,0x00050080, 8400x000200f8,0x00001925,0x000700f5,0x00000006,
8330x00000006,0x000018f6,0x000018f4,0x000018f0, 8410x000063df,0x00001a2c,0x00001a16,0x00000140,
8340x00050050,0x00000007,0x000018f7,0x000018f1, 8420x00001924,0x00050041,0x000001c3,0x00001a48,
8350x000018f6,0x0004007c,0x00000014,0x000018e7, 8430x000001c1,0x00000528,0x0004003d,0x00000006,
8360x000018f7,0x00060041,0x0000016c,0x000018de, 8440x00001a49,0x00001a48,0x00050084,0x00000006,
8370x000018e7,0x0000016b,0x0000016b,0x0006003d, 8450x00001a4a,0x000000f3,0x00001a49,0x000500c2,
8380x00000006,0x000018df,0x000018de,0x00000002, 8460x00000006,0x00001a4b,0x000063dd,0x00001a4a,
8390x00000004,0x000200f9,0x00001832,0x000200f8, 8470x000500c7,0x00000006,0x00001a4c,0x00001a4b,
8400x00001832,0x000700f5,0x00000006,0x00005fb1, 8480x00000a74,0x000200f9,0x00001929,0x000200f8,
8410x000018df,0x00001829,0x00000539,0x00001831, 8490x00001929,0x000700f5,0x00000006,0x000063e0,
8420x00050041,0x00000937,0x00001834,0x00000939, 8500x00000140,0x00001925,0x00001939,0x0000192d,
8430x00005f9f,0x0003003e,0x00001834,0x00005fb1, 8510x000500b0,0x0000002f,0x0000192c,0x000063e0,
8440x000200f9,0x00001835,0x000200f8,0x00001835, 8520x000001e3,0x000400f6,0x0000193a,0x0000192d,
8450x00050080,0x00000006,0x00001837,0x00005f9f, 8530x00000000,0x000400fa,0x0000192c,0x0000192d,
8460x000001c4,0x000200f9,0x0000180f,0x000200f8, 8540x0000193a,0x000200f8,0x0000192d,0x000500aa,
8470x00001838,0x000400e0,0x00000280,0x00000280, 8550x0000002f,0x00001933,0x000063e0,0x00001a4c,
8480x0000094f,0x000200f9,0x00001839,0x000200f8, 8560x000500a7,0x0000002f,0x00001934,0x0000190e,
8490x00001839,0x000700f5,0x00000006,0x00005fa1, 8570x00001933,0x000600a9,0x00000006,0x00001935,
8500x00000280,0x00001838,0x0000188d,0x0000188b, 8580x00001934,0x0000014a,0x00000140,0x00060041,
8510x000500b2,0x0000002f,0x0000183d,0x00005fa1, 8590x0000099d,0x00001936,0x00000b93,0x000063e0,
8520x00005f9e,0x000400f6,0x0000188e,0x0000188b, 8600x000013fb,0x0003003e,0x00001936,0x00001935,
8530x00000000,0x000400fa,0x0000183d,0x0000183e, 8610x00050080,0x00000006,0x00001939,0x000063e0,
8540x0000188e,0x000200f8,0x0000183e,0x000500c2, 8620x0000026c,0x000200f9,0x00001929,0x000200f8,
8550x00000006,0x00001840,0x00005fa1,0x00000264, 8630x0000193a,0x000400e0,0x00000288,0x00000288,
8560x000200f9,0x00001841,0x000200f8,0x00001841, 8640x000009b5,0x000200f9,0x0000193b,0x000200f8,
8570x000700f5,0x00000006,0x00005fa4,0x00001840, 8650x0000193b,0x000700f5,0x00000006,0x000063e1,
8580x0000183e,0x00001889,0x00001887,0x000500ac, 8660x0000014a,0x0000193a,0x0000196c,0x0000196a,
8590x0000002f,0x00001844,0x00005fa4,0x00000138, 8670x000500b0,0x0000002f,0x0000193e,0x000063e1,
8600x000400f6,0x0000188a,0x00001887,0x00000000, 8680x000001cc,0x000400f6,0x0000196d,0x0000196a,
8610x000400fa,0x00001844,0x00001845,0x0000188a, 8690x00000000,0x000400fa,0x0000193e,0x0000193f,
8620x000200f8,0x00001845,0x000200f9,0x00001847, 8700x0000196d,0x000200f8,0x0000193f,0x000200f9,
8630x000200f8,0x00001847,0x000700f5,0x00000006, 8710x00001940,0x000200f8,0x00001940,0x000700f5,
8640x00005fa6,0x00001314,0x00001845,0x00001885, 8720x00000006,0x000063ee,0x00000140,0x0000193f,
8650x00001883,0x000500b0,0x0000002f,0x0000184b, 8730x00001956,0x00001954,0x000500b0,0x0000002f,
8660x00005fa6,0x00005f9e,0x000400f6,0x00001886, 8740x00001943,0x000063ee,0x000001e3,0x000400f6,
8670x00001883,0x00000000,0x000400fa,0x0000184b, 8750x00001957,0x00001954,0x00000000,0x000400fa,
8680x0000184c,0x00001886,0x000200f8,0x0000184c, 8760x00001943,0x00001944,0x00001957,0x000200f8,
8690x000500c6,0x00000006,0x0000184f,0x00005fa6, 8770x00001944,0x000500ae,0x0000002f,0x00001948,
8700x00005fa4,0x000500ac,0x0000002f,0x00001852, 8780x000013fb,0x000063e1,0x000300f7,0x00001951,
8710x0000184f,0x00005fa6,0x000300f7,0x00001882, 8790x00000000,0x000400fa,0x00001948,0x00001949,
8720x00000000,0x000400fa,0x00001852,0x00001853, 8800x00001950,0x000200f8,0x00001950,0x000200f9,
8730x00001882,0x000200f8,0x00001853,0x00050041, 8810x00001951,0x000200f8,0x00001949,0x00050082,
8740x00000937,0x00001855,0x00000924,0x00005fa6, 8820x00000006,0x0000194d,0x000013fb,0x000063e1,
8750x0004003d,0x00000006,0x00001856,0x00001855, 8830x00060041,0x0000099d,0x0000194e,0x00000b93,
8760x00050041,0x00000937,0x00001858,0x00000924, 8840x000063ee,0x0000194d,0x0004003d,0x00000006,
8770x0000184f,0x0004003d,0x00000006,0x00001859, 8850x0000194f,0x0000194e,0x000200f9,0x00001951,
8780x00001858,0x00050041,0x00000937,0x0000185b, 8860x000200f8,0x00001951,0x000700f5,0x00000006,
8790x00000939,0x00005fa6,0x0004003d,0x00000006, 8870x000063f2,0x0000194f,0x00001949,0x00000140,
8800x0000185c,0x0000185b,0x00050041,0x00000937, 8880x00001950,0x00050041,0x00000009,0x00001953,
8810x0000185e,0x00000939,0x0000184f,0x0004003d, 8890x000018df,0x000063ee,0x0003003e,0x00001953,
8820x00000006,0x0000185f,0x0000185e,0x000500ac, 8900x000063f2,0x000200f9,0x00001954,0x000200f8,
8830x0000002f,0x00001862,0x00001856,0x00001859, 8910x00001954,0x00050080,0x00000006,0x00001956,
8840x000400a8,0x0000002f,0x00001863,0x00001862, 8920x000063ee,0x0000026c,0x000200f9,0x00001940,
8850x000300f7,0x0000186c,0x00000000,0x000400fa, 8930x000200f8,0x00001957,0x000400e0,0x00000288,
8860x00001863,0x00001864,0x0000186c,0x000200f8, 8940x00000288,0x000009b5,0x000200f9,0x00001958,
8870x00001864,0x000500aa,0x0000002f,0x00001867, 8950x000200f8,0x00001958,0x000700f5,0x00000006,
8880x00001856,0x00001859,0x000500ac,0x0000002f, 8960x000063ef,0x00000140,0x00001957,0x00001968,
8890x0000186a,0x0000185c,0x0000185f,0x000500a7, 8970x0000195c,0x000500b0,0x0000002f,0x0000195b,
8900x0000002f,0x0000186b,0x00001867,0x0000186a, 8980x000063ef,0x000001e3,0x000400f6,0x00001969,
8910x000200f9,0x0000186c,0x000200f8,0x0000186c, 8990x0000195c,0x00000000,0x000400fa,0x0000195b,
8920x000700f5,0x0000002f,0x0000186d,0x00001862, 9000x0000195c,0x00001969,0x000200f8,0x0000195c,
8930x00001853,0x0000186b,0x00001864,0x000500c7, 9010x00050041,0x00000009,0x00001960,0x000018df,
8940x00000006,0x00001871,0x00005fa6,0x00005fa1, 9020x000063ef,0x0004003d,0x00000006,0x00001961,
8950x000500aa,0x0000002f,0x00001872,0x00001871, 9030x00001960,0x00060041,0x0000099d,0x00001962,
8960x00000138,0x000500a4,0x0000002f,0x00001873, 9040x00000b93,0x000063ef,0x000013fb,0x0004003d,
8970x0000186d,0x00001872,0x000300f7,0x00001881, 9050x00000006,0x00001963,0x00001962,0x00050080,
8980x00000000,0x000400fa,0x00001873,0x00001874, 9060x00000006,0x00001964,0x00001963,0x00001961,
8990x00001881,0x000200f8,0x00001874,0x0003003e, 9070x0003003e,0x00001962,0x00001964,0x00050080,
9000x00001855,0x00001859,0x0003003e,0x00001858, 9080x00000006,0x00001968,0x000063ef,0x0000026c,
9010x00001856,0x0003003e,0x0000185b,0x0000185f, 9090x000200f9,0x00001958,0x000200f8,0x00001969,
9020x0003003e,0x0000185e,0x0000185c,0x000200f9, 9100x000400e0,0x00000288,0x00000288,0x000009b5,
9030x00001881,0x000200f8,0x00001881,0x000200f9, 9110x000200f9,0x0000196a,0x000200f8,0x0000196a,
9040x00001882,0x000200f8,0x00001882,0x000200f9, 9120x000500c4,0x00000006,0x0000196c,0x000063e1,
9050x00001883,0x000200f8,0x00001883,0x00050080, 9130x0000026c,0x000200f9,0x0000193b,0x000200f8,
9060x00000006,0x00001885,0x00005fa6,0x000001c4, 9140x0000196d,0x000300f7,0x00001989,0x00000000,
9070x000200f9,0x00001847,0x000200f8,0x00001886, 9150x000400fa,0x0000190e,0x0000196f,0x00001989,
9080x000400e0,0x00000280,0x00000280,0x0000094f, 9160x000200f8,0x0000196f,0x00050041,0x0000099d,
9090x000200f9,0x00001887,0x000200f8,0x00001887, 9170x00001971,0x00000b3a,0x00001a4c,0x0004003d,
9100x000500c2,0x00000006,0x00001889,0x00005fa4, 9180x00000006,0x00001972,0x00001971,0x00060041,
9110x00000264,0x000200f9,0x00001841,0x000200f8, 9190x0000099d,0x00001975,0x00000b93,0x00001a4c,
9120x0000188a,0x000200f9,0x0000188b,0x000200f8, 9200x000013fb,0x0004003d,0x00000006,0x00001976,
9130x0000188b,0x000500c4,0x00000006,0x0000188d, 9210x00001975,0x00050080,0x00000006,0x00001977,
9140x00005fa1,0x00000264,0x000200f9,0x00001839, 9220x00001972,0x00001976,0x00050082,0x00000006,
9150x000200f8,0x0000188e,0x000200f9,0x00001890, 9230x00001978,0x00001977,0x0000014a,0x000500c7,
9160x000200f8,0x00001890,0x000700f5,0x00000006, 9240x00000006,0x00001a52,0x00001a49,0x0000014a,
9170x00005fa3,0x00001314,0x0000188e,0x000018ac, 9250x000500aa,0x0000002f,0x00001a53,0x00001a52,
9180x00001895,0x000500b0,0x0000002f,0x00001894, 9260x00000140,0x000300f7,0x00001a58,0x00000000,
9190x00005fa3,0x00001803,0x000400f6,0x000018ad, 9270x000400fa,0x00001a53,0x00001a54,0x00001a56,
9200x00001895,0x00000000,0x000400fa,0x00001894, 9280x000200f8,0x00001a56,0x000200f9,0x00001a58,
9210x00001895,0x000018ad,0x000200f8,0x00001895, 9290x000200f8,0x00001a54,0x00050084,0x00000006,
9220x00050084,0x00000006,0x00001898,0x000000ec, 9300x00001a5e,0x000001d5,0x00001900,0x00050080,
9230x00005fa3,0x00050080,0x00000006,0x00001899, 9310x00000006,0x00001a5f,0x000001cc,0x00001a5e,
9240x000001c4,0x00001898,0x00050041,0x00000266, 9320x000200f9,0x00001a58,0x000200f8,0x00001a58,
9250x0000189b,0x000001b9,0x00000264,0x0004003d, 9330x000700f5,0x00000006,0x000063e2,0x00001a5f,
9260x00000007,0x0000189c,0x0000189b,0x00050041, 9340x00001a54,0x000001cc,0x00001a56,0x00050084,
9270x00000937,0x0000189d,0x00000924,0x00005fa3, 9350x00000006,0x0000197b,0x000000f3,0x00001978,
9280x0004003d,0x00000006,0x0000189e,0x0000189d, 9360x00050080,0x00000006,0x0000197c,0x000063e2,
9290x00050051,0x00000006,0x0000190f,0x0000189c, 9370x0000197b,0x00050041,0x0000026e,0x0000197d,
9300x00000000,0x00050095,0x0000013d,0x00001911, 9380x000001c1,0x0000026c,0x0004003d,0x00000007,
9310x0000190f,0x00001899,0x00050051,0x00000006, 9390x0000197e,0x0000197d,0x00050051,0x00000006,
9320x00001912,0x00001911,0x00000001,0x00050051, 9400x00001a77,0x0000197e,0x00000000,0x00050095,
9330x00000006,0x00001913,0x00001911,0x00000000, 9410x00000145,0x00001a79,0x00001a77,0x0000197c,
9340x00050051,0x00000006,0x00001916,0x0000189c, 9420x00050051,0x00000006,0x00001a7a,0x00001a79,
9350x00000001,0x00050080,0x00000006,0x00001918, 9430x00000001,0x00050051,0x00000006,0x00001a7b,
9360x00001916,0x00001912,0x00050050,0x00000007, 9440x00001a79,0x00000000,0x00050051,0x00000006,
9370x00001919,0x00001913,0x00001918,0x0004007c, 9450x00001a7e,0x0000197e,0x00000001,0x00050080,
9380x00000014,0x00001909,0x00001919,0x00060041, 9460x00000006,0x00001a80,0x00001a7e,0x00001a7a,
9390x0000016c,0x00001901,0x00001909,0x0000016b, 9470x00050050,0x00000007,0x00001a81,0x00001a7b,
9400x0000016b,0x0005003e,0x00001901,0x0000189e, 9480x00001a80,0x0004007c,0x00000014,0x00001a71,
9410x00000002,0x00000004,0x00050084,0x00000006, 9490x00001a81,0x00060041,0x00000174,0x00001a69,
9420x0000191e,0x000000ec,0x00001803,0x00050080, 9500x00001a71,0x00000173,0x00000173,0x0005003e,
9430x00000006,0x0000191f,0x000001c4,0x0000191e, 9510x00001a69,0x000063dd,0x00000002,0x00000004,
9440x00050080,0x00000006,0x000018a3,0x0000191f, 9520x000300f7,0x00001a8d,0x00000000,0x000400fa,
9450x00001898,0x00050041,0x00000937,0x000018a7, 9530x00001a53,0x00001a89,0x00001a8b,0x000200f8,
9460x00000939,0x00005fa3,0x0004003d,0x00000006, 9540x00001a8b,0x00050084,0x00000006,0x00001a99,
9470x000018a8,0x000018a7,0x00050095,0x0000013d, 9550x000000f3,0x00001900,0x00050080,0x00000006,
9480x00001937,0x0000190f,0x000018a3,0x00050051, 9560x00001a9a,0x000001cc,0x00001a99,0x000200f9,
9490x00000006,0x00001938,0x00001937,0x00000001, 9570x00001a8d,0x000200f8,0x00001a89,0x00050084,
9500x00050051,0x00000006,0x00001939,0x00001937, 9580x00000006,0x00001a93,0x000001dc,0x00001900,
9510x00000000,0x00050080,0x00000006,0x0000193e, 9590x00050080,0x00000006,0x00001a94,0x000001cc,
9520x00001916,0x00001938,0x00050050,0x00000007, 9600x00001a93,0x000200f9,0x00001a8d,0x000200f8,
9530x0000193f,0x00001939,0x0000193e,0x0004007c, 9610x00001a8d,0x000700f5,0x00000006,0x000063e3,
9540x00000014,0x0000192f,0x0000193f,0x00060041, 9620x00001a94,0x00001a89,0x00001a9a,0x00001a8b,
9550x0000016c,0x00001927,0x0000192f,0x0000016b, 9630x00050080,0x00000006,0x00001984,0x000063e3,
9560x0000016b,0x0005003e,0x00001927,0x000018a8, 9640x0000197b,0x00050095,0x00000145,0x00001ab2,
9650x00001a77,0x00001984,0x00050051,0x00000006,
9660x00001ab3,0x00001ab2,0x00000001,0x00050051,
9670x00000006,0x00001ab4,0x00001ab2,0x00000000,
9680x00050080,0x00000006,0x00001ab9,0x00001a7e,
9690x00001ab3,0x00050050,0x00000007,0x00001aba,
9700x00001ab4,0x00001ab9,0x0004007c,0x00000014,
9710x00001aaa,0x00001aba,0x00060041,0x00000174,
9720x00001aa2,0x00001aaa,0x00000173,0x00000173,
9730x0005003e,0x00001aa2,0x000063df,0x00000002,
9740x00000004,0x000200f9,0x00001989,0x000200f8,
9750x00001989,0x000400e0,0x00000288,0x00000288,
9760x000009b5,0x000300f7,0x00001995,0x00000000,
9770x000400fa,0x000018eb,0x0000198c,0x00001995,
9780x000200f8,0x0000198c,0x00060041,0x0000099d,
9790x0000198f,0x00000b93,0x000013fb,0x00000c01,
9800x0004003d,0x00000006,0x00001990,0x0000198f,
9810x00050041,0x0000099d,0x00001991,0x00000b3a,
9820x000013fb,0x0004003d,0x00000006,0x00001992,
9830x00001991,0x00050080,0x00000006,0x00001993,
9840x00001992,0x00001990,0x0003003e,0x00001991,
9850x00001993,0x000200f9,0x00001995,0x000200f8,
9860x00001995,0x000400e0,0x00000288,0x00000288,
9870x000009b5,0x000200f9,0x00001996,0x000200f8,
9880x00001996,0x00050080,0x00000006,0x00001998,
9890x000063db,0x000001cc,0x000200f9,0x00001903,
9900x000200f8,0x00001999,0x000200f9,0x000014ef,
9910x000200f8,0x000013f5,0x000500aa,0x0000002f,
9920x00001401,0x000013be,0x00001400,0x000300f7,
9930x00001403,0x00000000,0x000400fa,0x00001401,
9940x00001402,0x00001403,0x000200f8,0x00001402,
9950x00050041,0x000013a5,0x00001405,0x000013d6,
9960x00000140,0x0004003d,0x00000006,0x00001406,
9970x00001405,0x00050041,0x000001c3,0x00001ad5,
9980x000001c1,0x000001c2,0x0004003d,0x00000006,
9990x00001ad6,0x00001ad5,0x000200f9,0x00001ad7,
10000x000200f8,0x00001ad7,0x000700f5,0x00000006,
10010x000063c6,0x0000014a,0x00001402,0x00001ade,
10020x00001adc,0x000500b0,0x0000002f,0x00001adb,
10030x000063c6,0x00001ad6,0x000400f6,0x00001ae0,
10040x00001adc,0x00000000,0x000400fa,0x00001adb,
10050x00001adc,0x00001ae0,0x000200f8,0x00001adc,
10060x000500c4,0x00000006,0x00001ade,0x000063c6,
10070x0000026c,0x000200f9,0x00001ad7,0x000200f8,
10080x00001ae0,0x000200f9,0x00001ae2,0x000200f8,
10090x00001ae2,0x000700f5,0x00000006,0x000063c7,
10100x00001406,0x00001ae0,0x00001b0a,0x00001b08,
10110x000500b0,0x0000002f,0x00001ae6,0x000063c7,
10120x000063c6,0x000400f6,0x00001b0b,0x00001b08,
10130x00000000,0x000400fa,0x00001ae6,0x00001ae7,
10140x00001b0b,0x000200f8,0x00001ae7,0x000500b0,
10150x0000002f,0x00001aeb,0x000063c7,0x00001ad6,
10160x000300f7,0x00001af5,0x00000000,0x000400fa,
10170x00001aeb,0x00001aec,0x00001af4,0x000200f8,
10180x00001af4,0x000200f9,0x00001af5,0x000200f8,
10190x00001aec,0x00050084,0x00000006,0x00001aef,
10200x000000f3,0x000063c7,0x00050080,0x00000006,
10210x00001af0,0x000001cc,0x00001aef,0x00050041,
10220x0000026e,0x00001af1,0x000001c1,0x0000026c,
10230x0004003d,0x00000007,0x00001af2,0x00001af1,
10240x00050051,0x00000006,0x00001b99,0x00001af2,
10250x00000000,0x00050095,0x00000145,0x00001b9b,
10260x00001b99,0x00001af0,0x00050051,0x00000006,
10270x00001b9c,0x00001b9b,0x00000001,0x00050051,
10280x00000006,0x00001b9d,0x00001b9b,0x00000000,
10290x00050051,0x00000006,0x00001ba0,0x00001af2,
10300x00000001,0x00050080,0x00000006,0x00001ba2,
10310x00001ba0,0x00001b9c,0x00050050,0x00000007,
10320x00001ba3,0x00001b9d,0x00001ba2,0x0004007c,
10330x00000014,0x00001b93,0x00001ba3,0x00060041,
10340x00000174,0x00001b8a,0x00001b93,0x00000173,
10350x00000173,0x0006003d,0x00000006,0x00001b8b,
10360x00001b8a,0x00000002,0x00000004,0x000200f9,
10370x00001af5,0x000200f8,0x00001af5,0x000700f5,
10380x00000006,0x000063d7,0x00001b8b,0x00001aec,
10390x000003bf,0x00001af4,0x00050041,0x0000099d,
10400x00001af7,0x0000098a,0x000063c7,0x0003003e,
10410x00001af7,0x000063d7,0x000300f7,0x00001b05,
10420x00000000,0x000400fa,0x00001aeb,0x00001afc,
10430x00001b04,0x000200f8,0x00001b04,0x000200f9,
10440x00001b05,0x000200f8,0x00001afc,0x00050084,
10450x00000006,0x00001ba8,0x000000f3,0x00001ad6,
10460x00050080,0x00000006,0x00001ba9,0x000001cc,
10470x00001ba8,0x00050084,0x00000006,0x00001aff,
10480x000000f3,0x000063c7,0x00050080,0x00000006,
10490x00001b00,0x00001ba9,0x00001aff,0x00050041,
10500x0000026e,0x00001b01,0x000001c1,0x0000026c,
10510x0004003d,0x00000007,0x00001b02,0x00001b01,
10520x00050051,0x00000006,0x00001bc0,0x00001b02,
10530x00000000,0x00050095,0x00000145,0x00001bc2,
10540x00001bc0,0x00001b00,0x00050051,0x00000006,
10550x00001bc3,0x00001bc2,0x00000001,0x00050051,
10560x00000006,0x00001bc4,0x00001bc2,0x00000000,
10570x00050051,0x00000006,0x00001bc7,0x00001b02,
10580x00000001,0x00050080,0x00000006,0x00001bc9,
10590x00001bc7,0x00001bc3,0x00050050,0x00000007,
10600x00001bca,0x00001bc4,0x00001bc9,0x0004007c,
10610x00000014,0x00001bba,0x00001bca,0x00060041,
10620x00000174,0x00001bb1,0x00001bba,0x00000173,
10630x00000173,0x0006003d,0x00000006,0x00001bb2,
10640x00001bb1,0x00000002,0x00000004,0x000200f9,
10650x00001b05,0x000200f8,0x00001b05,0x000700f5,
10660x00000006,0x000063d9,0x00001bb2,0x00001afc,
10670x000003bf,0x00001b04,0x00050041,0x0000099d,
10680x00001b07,0x0000099f,0x000063c7,0x0003003e,
10690x00001b07,0x000063d9,0x000200f9,0x00001b08,
10700x000200f8,0x00001b08,0x00050080,0x00000006,
10710x00001b0a,0x000063c7,0x000001cc,0x000200f9,
10720x00001ae2,0x000200f8,0x00001b0b,0x000400e0,
10730x00000288,0x00000288,0x000009b5,0x000200f9,
10740x00001b0c,0x000200f8,0x00001b0c,0x000700f5,
10750x00000006,0x000063c9,0x00000288,0x00001b0b,
10760x00001b60,0x00001b5e,0x000500b2,0x0000002f,
10770x00001b10,0x000063c9,0x000063c6,0x000400f6,
10780x00001b61,0x00001b5e,0x00000000,0x000400fa,
10790x00001b10,0x00001b11,0x00001b61,0x000200f8,
10800x00001b11,0x000500c2,0x00000006,0x00001b13,
10810x000063c9,0x0000026c,0x000200f9,0x00001b14,
10820x000200f8,0x00001b14,0x000700f5,0x00000006,
10830x000063cc,0x00001b13,0x00001b11,0x00001b5c,
10840x00001b5a,0x000500ac,0x0000002f,0x00001b17,
10850x000063cc,0x00000140,0x000400f6,0x00001b5d,
10860x00001b5a,0x00000000,0x000400fa,0x00001b17,
10870x00001b18,0x00001b5d,0x000200f8,0x00001b18,
10880x000200f9,0x00001b1a,0x000200f8,0x00001b1a,
10890x000700f5,0x00000006,0x000063ce,0x00001406,
10900x00001b18,0x00001b58,0x00001b56,0x000500b0,
10910x0000002f,0x00001b1e,0x000063ce,0x000063c6,
10920x000400f6,0x00001b59,0x00001b56,0x00000000,
10930x000400fa,0x00001b1e,0x00001b1f,0x00001b59,
10940x000200f8,0x00001b1f,0x000500c6,0x00000006,
10950x00001b22,0x000063ce,0x000063cc,0x000500ac,
10960x0000002f,0x00001b25,0x00001b22,0x000063ce,
10970x000300f7,0x00001b55,0x00000000,0x000400fa,
10980x00001b25,0x00001b26,0x00001b55,0x000200f8,
10990x00001b26,0x00050041,0x0000099d,0x00001b28,
11000x0000098a,0x000063ce,0x0004003d,0x00000006,
11010x00001b29,0x00001b28,0x00050041,0x0000099d,
11020x00001b2b,0x0000098a,0x00001b22,0x0004003d,
11030x00000006,0x00001b2c,0x00001b2b,0x00050041,
11040x0000099d,0x00001b2e,0x0000099f,0x000063ce,
11050x0004003d,0x00000006,0x00001b2f,0x00001b2e,
11060x00050041,0x0000099d,0x00001b31,0x0000099f,
11070x00001b22,0x0004003d,0x00000006,0x00001b32,
11080x00001b31,0x000500ac,0x0000002f,0x00001b35,
11090x00001b29,0x00001b2c,0x000400a8,0x0000002f,
11100x00001b36,0x00001b35,0x000300f7,0x00001b3f,
11110x00000000,0x000400fa,0x00001b36,0x00001b37,
11120x00001b3f,0x000200f8,0x00001b37,0x000500aa,
11130x0000002f,0x00001b3a,0x00001b29,0x00001b2c,
11140x000500ac,0x0000002f,0x00001b3d,0x00001b2f,
11150x00001b32,0x000500a7,0x0000002f,0x00001b3e,
11160x00001b3a,0x00001b3d,0x000200f9,0x00001b3f,
11170x000200f8,0x00001b3f,0x000700f5,0x0000002f,
11180x00001b40,0x00001b35,0x00001b26,0x00001b3e,
11190x00001b37,0x000500c7,0x00000006,0x00001b44,
11200x000063ce,0x000063c9,0x000500aa,0x0000002f,
11210x00001b45,0x00001b44,0x00000140,0x000500a4,
11220x0000002f,0x00001b46,0x00001b40,0x00001b45,
11230x000300f7,0x00001b54,0x00000000,0x000400fa,
11240x00001b46,0x00001b47,0x00001b54,0x000200f8,
11250x00001b47,0x0003003e,0x00001b28,0x00001b2c,
11260x0003003e,0x00001b2b,0x00001b29,0x0003003e,
11270x00001b2e,0x00001b32,0x0003003e,0x00001b31,
11280x00001b2f,0x000200f9,0x00001b54,0x000200f8,
11290x00001b54,0x000200f9,0x00001b55,0x000200f8,
11300x00001b55,0x000200f9,0x00001b56,0x000200f8,
11310x00001b56,0x00050080,0x00000006,0x00001b58,
11320x000063ce,0x000001cc,0x000200f9,0x00001b1a,
11330x000200f8,0x00001b59,0x000400e0,0x00000288,
11340x00000288,0x000009b5,0x000200f9,0x00001b5a,
11350x000200f8,0x00001b5a,0x000500c2,0x00000006,
11360x00001b5c,0x000063cc,0x0000026c,0x000200f9,
11370x00001b14,0x000200f8,0x00001b5d,0x000200f9,
11380x00001b5e,0x000200f8,0x00001b5e,0x000500c4,
11390x00000006,0x00001b60,0x000063c9,0x0000026c,
11400x000200f9,0x00001b0c,0x000200f8,0x00001b61,
11410x000200f9,0x00001b63,0x000200f8,0x00001b63,
11420x000700f5,0x00000006,0x000063cb,0x00001406,
11430x00001b61,0x00001b7f,0x00001b68,0x000500b0,
11440x0000002f,0x00001b67,0x000063cb,0x00001ad6,
11450x000400f6,0x00001b80,0x00001b68,0x00000000,
11460x000400fa,0x00001b67,0x00001b68,0x00001b80,
11470x000200f8,0x00001b68,0x00050084,0x00000006,
11480x00001b6b,0x000000f3,0x000063cb,0x00050080,
11490x00000006,0x00001b6c,0x000001cc,0x00001b6b,
11500x00050041,0x0000026e,0x00001b6e,0x000001c1,
11510x0000026c,0x0004003d,0x00000007,0x00001b6f,
11520x00001b6e,0x00050041,0x0000099d,0x00001b70,
11530x0000098a,0x000063cb,0x0004003d,0x00000006,
11540x00001b71,0x00001b70,0x00050051,0x00000006,
11550x00001be2,0x00001b6f,0x00000000,0x00050095,
11560x00000145,0x00001be4,0x00001be2,0x00001b6c,
11570x00050051,0x00000006,0x00001be5,0x00001be4,
11580x00000001,0x00050051,0x00000006,0x00001be6,
11590x00001be4,0x00000000,0x00050051,0x00000006,
11600x00001be9,0x00001b6f,0x00000001,0x00050080,
11610x00000006,0x00001beb,0x00001be9,0x00001be5,
11620x00050050,0x00000007,0x00001bec,0x00001be6,
11630x00001beb,0x0004007c,0x00000014,0x00001bdc,
11640x00001bec,0x00060041,0x00000174,0x00001bd4,
11650x00001bdc,0x00000173,0x00000173,0x0005003e,
11660x00001bd4,0x00001b71,0x00000002,0x00000004,
11670x00050084,0x00000006,0x00001bf1,0x000000f3,
11680x00001ad6,0x00050080,0x00000006,0x00001bf2,
11690x000001cc,0x00001bf1,0x00050080,0x00000006,
11700x00001b76,0x00001bf2,0x00001b6b,0x00050041,
11710x0000099d,0x00001b7a,0x0000099f,0x000063cb,
11720x0004003d,0x00000006,0x00001b7b,0x00001b7a,
11730x00050095,0x00000145,0x00001c0a,0x00001be2,
11740x00001b76,0x00050051,0x00000006,0x00001c0b,
11750x00001c0a,0x00000001,0x00050051,0x00000006,
11760x00001c0c,0x00001c0a,0x00000000,0x00050080,
11770x00000006,0x00001c11,0x00001be9,0x00001c0b,
11780x00050050,0x00000007,0x00001c12,0x00001c0c,
11790x00001c11,0x0004007c,0x00000014,0x00001c02,
11800x00001c12,0x00060041,0x00000174,0x00001bfa,
11810x00001c02,0x00000173,0x00000173,0x0005003e,
11820x00001bfa,0x00001b7b,0x00000002,0x00000004,
11830x00050080,0x00000006,0x00001b7f,0x000063cb,
11840x000001cc,0x000200f9,0x00001b63,0x000200f8,
11850x00001b80,0x000200f9,0x000014ef,0x000200f8,
11860x00001403,0x000500aa,0x0000002f,0x0000140c,
11870x000013be,0x0000140b,0x000300f7,0x0000140e,
11880x00000000,0x000400fa,0x0000140c,0x0000140d,
11890x0000140e,0x000200f8,0x0000140d,0x00050041,
11900x000013a5,0x00001410,0x000013d5,0x00000140,
11910x0004003d,0x00000006,0x00001411,0x00001410,
11920x00050041,0x000013a5,0x00001413,0x000013d6,
11930x00000140,0x0004003d,0x00000006,0x00001414,
11940x00001413,0x000500aa,0x0000002f,0x00001c26,
11950x00001414,0x00000140,0x000300f7,0x00001c28,
11960x00000000,0x000400fa,0x00001c26,0x00001c27,
11970x00001c28,0x000200f8,0x00001c27,0x0003003e,
11980x00000ed4,0x00000140,0x000200f9,0x00001c28,
11990x000200f8,0x00001c28,0x000400e0,0x00000288,
12000x00000288,0x000009b5,0x00050084,0x00000006,
12010x00001c2a,0x00001411,0x000001c6,0x00050080,
12020x00000006,0x00001c2c,0x00001c2a,0x000001c6,
12030x00050041,0x000001c3,0x00001c78,0x000001c1,
12040x000001f8,0x0004003d,0x00000006,0x00001c79,
12050x00001c78,0x000500ac,0x0000002f,0x00001c7a,
12060x00001c79,0x0000014a,0x000300f7,0x00001c80,
12070x00000000,0x000400fa,0x00001c7a,0x00001c7b,
12080x00001c7f,0x000200f8,0x00001c7f,0x000200f9,
12090x00001c80,0x000200f8,0x00001c7b,0x00050082,
12100x00000006,0x00001c7e,0x00001c79,0x0000014a,
12110x000200f9,0x00001c80,0x000200f8,0x00001c80,
12120x000700f5,0x00000006,0x000063a8,0x00001c7e,
12130x00001c7b,0x00000140,0x00001c7f,0x0007000c,
12140x00000006,0x00001c2e,0x00000001,0x00000026,
12150x00001c2c,0x000063a8,0x00050080,0x00000006,
12160x00001c31,0x00001c2a,0x00001414,0x000200f9,
12170x00001c32,0x000200f8,0x00001c32,0x000700f5,
12180x00000006,0x000063a9,0x00001c31,0x00001c80,
12190x00001c67,0x00001c65,0x000500b0,0x0000002f,
12200x00001c36,0x000063a9,0x00001c2e,0x000400f6,
12210x00001c68,0x00001c65,0x00000000,0x000400fa,
12220x00001c36,0x00001c37,0x00001c68,0x000200f8,
12230x00001c37,0x00050041,0x000001c3,0x00001caa,
12240x000001c1,0x000001c2,0x0004003d,0x00000006,
12250x00001cab,0x00001caa,0x00050084,0x00000006,
12260x00001cac,0x000001e3,0x00001cab,0x00050080,
12270x00000006,0x00001cad,0x000001cc,0x00001cac,
12280x00050080,0x00000006,0x00001cb3,0x00001cab,
12290x00000695,0x00050086,0x00000006,0x00001cb4,
12300x00001cb3,0x000001c6,0x00050084,0x00000006,
12310x00001ca6,0x000001cc,0x00001cb4,0x00050080,
12320x00000006,0x00001ca7,0x00001cad,0x00001ca6,
12330x00050080,0x00000006,0x00001ca1,0x00001ca7,
12340x00001ca6,0x00050084,0x00000006,0x00001c9a,
12350x000001f7,0x00001c79,0x00050080,0x00000006,
12360x00001c9b,0x00001ca1,0x00001c9a,0x00050041,
12370x000001c3,0x00001c91,0x000001c1,0x0000020e,
12380x0004003d,0x00000006,0x00001c92,0x00001c91,
12390x00050084,0x00000006,0x00001c93,0x0000020d,
12400x00001c92,0x00050080,0x00000006,0x00001c94,
12410x00001c9b,0x00001c93,0x000300f7,0x00001cc7,
12420x00000000,0x000400fa,0x00001c7a,0x00001cc2,
12430x00001cc6,0x000200f8,0x00001cc6,0x000200f9,
12440x00001cc7,0x000200f8,0x00001cc2,0x00050082,
12450x00000006,0x00001cc5,0x00001c79,0x0000014a,
12460x000200f9,0x00001cc7,0x000200f8,0x00001cc7,
12470x000700f5,0x00000006,0x000063af,0x00001cc5,
12480x00001cc2,0x00000140,0x00001cc6,0x00050084,
12490x00000006,0x00001c8c,0x000000f3,0x000063af,
12500x00050080,0x00000006,0x00001c8d,0x00001c94,
12510x00001c8c,0x000300f7,0x00001cd4,0x00000000,
12520x000400fa,0x00001c7a,0x00001ccf,0x00001cd3,
12530x000200f8,0x00001cd3,0x000200f9,0x00001cd4,
12540x000200f8,0x00001ccf,0x00050082,0x00000006,
12550x00001cd2,0x00001c79,0x0000014a,0x000200f9,
12560x00001cd4,0x000200f8,0x00001cd4,0x000700f5,
12570x00000006,0x000063b0,0x00001cd2,0x00001ccf,
12580x00000140,0x00001cd3,0x00050084,0x00000006,
12590x00001c86,0x000000f3,0x000063b0,0x00050080,
12600x00000006,0x00001c87,0x00001c8d,0x00001c86,
12610x00050084,0x00000006,0x00001c3a,0x000000f3,
12620x000063a9,0x00050080,0x00000006,0x00001c3b,
12630x00001c87,0x00001c3a,0x00050041,0x0000026e,
12640x00001c3c,0x000001c1,0x0000026c,0x0004003d,
12650x00000007,0x00001c3d,0x00001c3c,0x00050051,
12660x00000006,0x00001cec,0x00001c3d,0x00000000,
12670x00050095,0x00000145,0x00001cee,0x00001cec,
12680x00001c3b,0x00050051,0x00000006,0x00001cef,
12690x00001cee,0x00000001,0x00050051,0x00000006,
12700x00001cf0,0x00001cee,0x00000000,0x00050051,
12710x00000006,0x00001cf3,0x00001c3d,0x00000001,
12720x00050080,0x00000006,0x00001cf5,0x00001cf3,
12730x00001cef,0x00050050,0x00000007,0x00001cf6,
12740x00001cf0,0x00001cf5,0x0004007c,0x00000014,
12750x00001ce6,0x00001cf6,0x00060041,0x00000174,
12760x00001cdd,0x00001ce6,0x00000173,0x00000173,
12770x0006003d,0x00000006,0x00001cde,0x00001cdd,
12780x00000002,0x00000004,0x000200f9,0x00001c3f,
12790x000200f8,0x00001c3f,0x000700f5,0x00000006,
12800x000063b5,0x00000140,0x00001cd4,0x00001c48,
12810x00001c50,0x000700f5,0x00000006,0x000063b4,
12820x00000140,0x00001cd4,0x00001c52,0x00001c50,
12830x000700f5,0x00000006,0x000063b3,0x00001cde,
12840x00001cd4,0x00001d53,0x00001c50,0x000500ab,
12850x0000002f,0x00001c42,0x000063b3,0x000003bf,
12860x000500b0,0x0000002f,0x00001c44,0x000063b4,
12870x0000034a,0x000500a7,0x0000002f,0x00001c45,
12880x00001c42,0x00001c44,0x000400f6,0x00001c53,
12890x00001c50,0x00000000,0x000400fa,0x00001c45,
12900x00001c46,0x00001c53,0x000200f8,0x00001c46,
12910x00050080,0x00000006,0x00001c48,0x000063b5,
12920x0000026c,0x000300f7,0x00001d3c,0x00000000,
12930x000400fa,0x00001c7a,0x00001d37,0x00001d3b,
12940x000200f8,0x00001d3b,0x000200f9,0x00001d3c,
12950x000200f8,0x00001d37,0x00050082,0x00000006,
12960x00001d3a,0x00001c79,0x0000014a,0x000200f9,
12970x00001d3c,0x000200f8,0x00001d3c,0x000700f5,
12980x00000006,0x000063c0,0x00001d3a,0x00001d37,
12990x00000140,0x00001d3b,0x00050084,0x00000006,
13000x00001d01,0x000000f3,0x000063c0,0x00050080,
13010x00000006,0x00001d02,0x00001c94,0x00001d01,
13020x000300f7,0x00001d49,0x00000000,0x000400fa,
13030x00001c7a,0x00001d44,0x00001d48,0x000200f8,
13040x00001d48,0x000200f9,0x00001d49,0x000200f8,
13050x00001d44,0x00050082,0x00000006,0x00001d47,
13060x00001c79,0x0000014a,0x000200f9,0x00001d49,
13070x000200f8,0x00001d49,0x000700f5,0x00000006,
13080x000063c1,0x00001d47,0x00001d44,0x00000140,
13090x00001d48,0x00050084,0x00000006,0x00001cfb,
13100x000000f3,0x000063c1,0x00050080,0x00000006,
13110x00001cfc,0x00001d02,0x00001cfb,0x00050084,
13120x00000006,0x00001c4b,0x000000f3,0x000063b3,
13130x00050080,0x00000006,0x00001c4c,0x00001cfc,
13140x00001c4b,0x00050095,0x00000145,0x00001d63,
13150x00001cec,0x00001c4c,0x00050051,0x00000006,
13160x00001d64,0x00001d63,0x00000001,0x00050051,
13170x00000006,0x00001d65,0x00001d63,0x00000000,
13180x00050080,0x00000006,0x00001d6a,0x00001cf3,
13190x00001d64,0x00050050,0x00000007,0x00001d6b,
13200x00001d65,0x00001d6a,0x0004007c,0x00000014,
13210x00001d5b,0x00001d6b,0x00060041,0x00000174,
13220x00001d52,0x00001d5b,0x00000173,0x00000173,
13230x0006003d,0x00000006,0x00001d53,0x00001d52,
13240x00000002,0x00000004,0x000200f9,0x00001c50,
13250x000200f8,0x00001c50,0x00050080,0x00000006,
13260x00001c52,0x000063b4,0x0000026c,0x000200f9,
13270x00001c3f,0x000200f8,0x00001c53,0x000500c7,
13280x00000006,0x00001c55,0x000063b5,0x0000014a,
13290x000500aa,0x0000002f,0x00001c56,0x00001c55,
13300x00000140,0x000600a9,0x00000006,0x00001c57,
13310x00001c56,0x0000014a,0x00000140,0x000300f7,
13320x00001db7,0x00000000,0x000400fa,0x00001c7a,
13330x00001db2,0x00001db6,0x000200f8,0x00001db6,
13340x000200f9,0x00001db7,0x000200f8,0x00001db2,
13350x00050082,0x00000006,0x00001db5,0x00001c79,
13360x0000014a,0x000200f9,0x00001db7,0x000200f8,
13370x00001db7,0x000700f5,0x00000006,0x000063b8,
13380x00001db5,0x00001db2,0x00000140,0x00001db6,
13390x00050084,0x00000006,0x00001d7c,0x000000f3,
13400x000063b8,0x00050080,0x00000006,0x00001d7d,
13410x00001c94,0x00001d7c,0x000300f7,0x00001dc4,
13420x00000000,0x000400fa,0x00001c7a,0x00001dbf,
13430x00001dc3,0x000200f8,0x00001dc3,0x000200f9,
13440x00001dc4,0x000200f8,0x00001dbf,0x00050082,
13450x00000006,0x00001dc2,0x00001c79,0x0000014a,
13460x000200f9,0x00001dc4,0x000200f8,0x00001dc4,
13470x000700f5,0x00000006,0x000063b9,0x00001dc2,
13480x00001dbf,0x00000140,0x00001dc3,0x00050084,
13490x00000006,0x00001d76,0x000000f3,0x000063b9,
13500x00050080,0x00000006,0x00001d77,0x00001d7d,
13510x00001d76,0x000300f7,0x00001dd1,0x00000000,
13520x000400fa,0x00001c7a,0x00001dcc,0x00001dd0,
13530x000200f8,0x00001dd0,0x000200f9,0x00001dd1,
13540x000200f8,0x00001dcc,0x00050082,0x00000006,
13550x00001dcf,0x00001c79,0x0000014a,0x000200f9,
13560x00001dd1,0x000200f8,0x00001dd1,0x000700f5,
13570x00000006,0x000063ba,0x00001dcf,0x00001dcc,
13580x00000140,0x00001dd0,0x00050084,0x00000006,
13590x00001d70,0x000000f3,0x000063ba,0x00050080,
13600x00000006,0x00001d71,0x00001d77,0x00001d70,
13610x00050080,0x00000006,0x00001c5b,0x00001d71,
13620x00001c3a,0x00050095,0x00000145,0x00001dea,
13630x00001cec,0x00001c5b,0x00050051,0x00000006,
13640x00001deb,0x00001dea,0x00000001,0x00050051,
13650x00000006,0x00001dec,0x00001dea,0x00000000,
13660x00050080,0x00000006,0x00001df1,0x00001cf3,
13670x00001deb,0x00050050,0x00000007,0x00001df2,
13680x00001dec,0x00001df1,0x0004007c,0x00000014,
13690x00001de2,0x00001df2,0x00060041,0x00000174,
13700x00001dda,0x00001de2,0x00000173,0x00000173,
13710x0005003e,0x00001dda,0x00001c57,0x00000002,
13720x00000004,0x000300f7,0x00001c64,0x00000000,
13730x000400fa,0x00001c56,0x00001c62,0x00001c64,
13740x000200f8,0x00001c62,0x000700ea,0x00000006,
13750x00001c63,0x00000ed4,0x0000014a,0x00000140,
13760x0000014a,0x000200f9,0x00001c64,0x000200f8,
13770x00001c64,0x000200f9,0x00001c65,0x000200f8,
13780x00001c65,0x00050080,0x00000006,0x00001c67,
13790x000063a9,0x000001cc,0x000200f9,0x00001c32,
13800x000200f8,0x00001c68,0x000400e0,0x00000288,
13810x00000288,0x000009b5,0x000300f7,0x00001c74,
13820x00000000,0x000400fa,0x00001c26,0x00001c6b,
13830x00001c74,0x000200f8,0x00001c6b,0x00050041,
13840x000001c3,0x00001e2d,0x000001c1,0x000001c2,
13850x0004003d,0x00000006,0x00001e2e,0x00001e2d,
13860x00050084,0x00000006,0x00001e2f,0x000001e3,
13870x00001e2e,0x00050080,0x00000006,0x00001e30,
13880x000001cc,0x00001e2f,0x00050080,0x00000006,
13890x00001e36,0x00001e2e,0x00000695,0x00050086,
13900x00000006,0x00001e37,0x00001e36,0x000001c6,
13910x00050084,0x00000006,0x00001e29,0x000001cc,
13920x00001e37,0x00050080,0x00000006,0x00001e2a,
13930x00001e30,0x00001e29,0x00050080,0x00000006,
13940x00001e24,0x00001e2a,0x00001e29,0x00050084,
13950x00000006,0x00001e1d,0x000001f7,0x00001c79,
13960x00050080,0x00000006,0x00001e1e,0x00001e24,
13970x00001e1d,0x00050041,0x000001c3,0x00001e14,
13980x000001c1,0x0000020e,0x0004003d,0x00000006,
13990x00001e15,0x00001e14,0x00050084,0x00000006,
14000x00001e16,0x0000020d,0x00001e15,0x00050080,
14010x00000006,0x00001e17,0x00001e1e,0x00001e16,
14020x000300f7,0x00001e4a,0x00000000,0x000400fa,
14030x00001c7a,0x00001e45,0x00001e49,0x000200f8,
14040x00001e49,0x000200f9,0x00001e4a,0x000200f8,
14050x00001e45,0x00050082,0x00000006,0x00001e48,
14060x00001c79,0x0000014a,0x000200f9,0x00001e4a,
14070x000200f8,0x00001e4a,0x000700f5,0x00000006,
14080x000063aa,0x00001e48,0x00001e45,0x00000140,
14090x00001e49,0x00050084,0x00000006,0x00001e0f,
14100x000000f3,0x000063aa,0x00050080,0x00000006,
14110x00001e10,0x00001e17,0x00001e0f,0x000300f7,
14120x00001e57,0x00000000,0x000400fa,0x00001c7a,
14130x00001e52,0x00001e56,0x000200f8,0x00001e56,
14140x000200f9,0x00001e57,0x000200f8,0x00001e52,
14150x00050082,0x00000006,0x00001e55,0x00001c79,
14160x0000014a,0x000200f9,0x00001e57,0x000200f8,
14170x00001e57,0x000700f5,0x00000006,0x000063ab,
14180x00001e55,0x00001e52,0x00000140,0x00001e56,
14190x00050084,0x00000006,0x00001e09,0x000000f3,
14200x000063ab,0x00050080,0x00000006,0x00001e0a,
14210x00001e10,0x00001e09,0x000300f7,0x00001e64,
14220x00000000,0x000400fa,0x00001c7a,0x00001e5f,
14230x00001e63,0x000200f8,0x00001e63,0x000200f9,
14240x00001e64,0x000200f8,0x00001e5f,0x00050082,
14250x00000006,0x00001e62,0x00001c79,0x0000014a,
14260x000200f9,0x00001e64,0x000200f8,0x00001e64,
14270x000700f5,0x00000006,0x000063ac,0x00001e62,
14280x00001e5f,0x00000140,0x00001e63,0x00050084,
14290x00000006,0x00001e03,0x000000f3,0x000063ac,
14300x00050080,0x00000006,0x00001e04,0x00001e0a,
14310x00001e03,0x000300f7,0x00001e71,0x00000000,
14320x000400fa,0x00001c7a,0x00001e6c,0x00001e70,
14330x000200f8,0x00001e70,0x000200f9,0x00001e71,
14340x000200f8,0x00001e6c,0x00050082,0x00000006,
14350x00001e6f,0x00001c79,0x0000014a,0x000200f9,
14360x00001e71,0x000200f8,0x00001e71,0x000700f5,
14370x00000006,0x000063ad,0x00001e6f,0x00001e6c,
14380x00000140,0x00001e70,0x00050084,0x00000006,
14390x00001dfd,0x000000f3,0x000063ad,0x00050080,
14400x00000006,0x00001dfe,0x00001e04,0x00001dfd,
14410x000300f7,0x00001e7e,0x00000000,0x000400fa,
14420x00001c7a,0x00001e79,0x00001e7d,0x000200f8,
14430x00001e7d,0x000200f9,0x00001e7e,0x000200f8,
14440x00001e79,0x00050082,0x00000006,0x00001e7c,
14450x00001c79,0x0000014a,0x000200f9,0x00001e7e,
14460x000200f8,0x00001e7e,0x000700f5,0x00000006,
14470x000063ae,0x00001e7c,0x00001e79,0x00000140,
14480x00001e7d,0x00050084,0x00000006,0x00001df7,
14490x000000f3,0x000063ae,0x00050080,0x00000006,
14500x00001df8,0x00001dfe,0x00001df7,0x00050084,
14510x00000006,0x00001c6e,0x000000f3,0x00001411,
14520x00050080,0x00000006,0x00001c6f,0x00001df8,
14530x00001c6e,0x00050041,0x0000026e,0x00001c70,
14540x000001c1,0x0000026c,0x0004003d,0x00000007,
14550x00001c71,0x00001c70,0x0004003d,0x00000006,
14560x00001c72,0x00000ed4,0x00050051,0x00000006,
14570x00001e95,0x00001c71,0x00000000,0x00050095,
14580x00000145,0x00001e97,0x00001e95,0x00001c6f,
14590x00050051,0x00000006,0x00001e98,0x00001e97,
14600x00000001,0x00050051,0x00000006,0x00001e99,
14610x00001e97,0x00000000,0x00050051,0x00000006,
14620x00001e9c,0x00001c71,0x00000001,0x00050080,
14630x00000006,0x00001e9e,0x00001e9c,0x00001e98,
14640x00050050,0x00000007,0x00001e9f,0x00001e99,
14650x00001e9e,0x0004007c,0x00000014,0x00001e8f,
14660x00001e9f,0x00060041,0x00000174,0x00001e87,
14670x00001e8f,0x00000173,0x00000173,0x0005003e,
14680x00001e87,0x00001c72,0x00000002,0x00000004,
14690x000200f9,0x00001c74,0x000200f8,0x00001c74,
14700x000200f9,0x000014ef,0x000200f8,0x0000140e,
14710x000500aa,0x0000002f,0x00001419,0x000013be,
14720x00000a74,0x000300f7,0x0000141b,0x00000000,
14730x000400fa,0x00001419,0x0000141a,0x0000141b,
14740x000200f8,0x0000141a,0x00050041,0x000001c3,
14750x00001eda,0x000001c1,0x000001c2,0x0004003d,
14760x00000006,0x00001edb,0x00001eda,0x00050084,
14770x00000006,0x00001edc,0x000001e3,0x00001edb,
14780x00050080,0x00000006,0x00001edd,0x000001cc,
14790x00001edc,0x00050080,0x00000006,0x00001ee3,
14800x00001edb,0x00000695,0x00050086,0x00000006,
14810x00001ee4,0x00001ee3,0x000001c6,0x00050084,
14820x00000006,0x00001ed6,0x000001cc,0x00001ee4,
14830x00050080,0x00000006,0x00001ed7,0x00001edd,
14840x00001ed6,0x00050080,0x00000006,0x00001ed1,
14850x00001ed7,0x00001ed6,0x00050041,0x000001c3,
14860x00001ec8,0x000001c1,0x000001f8,0x0004003d,
14870x00000006,0x00001ec9,0x00001ec8,0x00050084,
14880x00000006,0x00001eca,0x000001f7,0x00001ec9,
14890x00050080,0x00000006,0x00001ecb,0x00001ed1,
14900x00001eca,0x00050041,0x000001c3,0x00001ec1,
14910x000001c1,0x0000020e,0x0004003d,0x00000006,
14920x00001ec2,0x00001ec1,0x00050084,0x00000006,
14930x00001ec3,0x0000020d,0x00001ec2,0x00050080,
14940x00000006,0x00001ec4,0x00001ecb,0x00001ec3,
14950x000500ac,0x0000002f,0x00001ef1,0x00001ec9,
14960x0000014a,0x000300f7,0x00001ef7,0x00000000,
14970x000400fa,0x00001ef1,0x00001ef2,0x00001ef6,
14980x000200f8,0x00001ef6,0x000200f9,0x00001ef7,
14990x000200f8,0x00001ef2,0x00050082,0x00000006,
15000x00001ef5,0x00001ec9,0x0000014a,0x000200f9,
15010x00001ef7,0x000200f8,0x00001ef7,0x000700f5,
15020x00000006,0x00006396,0x00001ef5,0x00001ef2,
15030x00000140,0x00001ef6,0x00050084,0x00000006,
15040x00001ebc,0x000000f3,0x00006396,0x00050080,
15050x00000006,0x00001ebd,0x00001ec4,0x00001ebc,
15060x000300f7,0x00001f04,0x00000000,0x000400fa,
15070x00001ef1,0x00001eff,0x00001f03,0x000200f8,
15080x00001f03,0x000200f9,0x00001f04,0x000200f8,
15090x00001eff,0x00050082,0x00000006,0x00001f02,
15100x00001ec9,0x0000014a,0x000200f9,0x00001f04,
15110x000200f8,0x00001f04,0x000700f5,0x00000006,
15120x00006397,0x00001f02,0x00001eff,0x00000140,
15130x00001f03,0x00050084,0x00000006,0x00001eb6,
15140x000000f3,0x00006397,0x00050080,0x00000006,
15150x00001eb7,0x00001ebd,0x00001eb6,0x000300f7,
15160x00001f11,0x00000000,0x000400fa,0x00001ef1,
15170x00001f0c,0x00001f10,0x000200f8,0x00001f10,
15180x000200f9,0x00001f11,0x000200f8,0x00001f0c,
15190x00050082,0x00000006,0x00001f0f,0x00001ec9,
15200x0000014a,0x000200f9,0x00001f11,0x000200f8,
15210x00001f11,0x000700f5,0x00000006,0x00006398,
15220x00001f0f,0x00001f0c,0x00000140,0x00001f10,
15230x00050084,0x00000006,0x00001eb0,0x000000f3,
15240x00006398,0x00050080,0x00000006,0x00001eb1,
15250x00001eb7,0x00001eb0,0x000300f7,0x00001f1e,
15260x00000000,0x000400fa,0x00001ef1,0x00001f19,
15270x00001f1d,0x000200f8,0x00001f1d,0x000200f9,
15280x00001f1e,0x000200f8,0x00001f19,0x00050082,
15290x00000006,0x00001f1c,0x00001ec9,0x0000014a,
15300x000200f9,0x00001f1e,0x000200f8,0x00001f1e,
15310x000700f5,0x00000006,0x00006399,0x00001f1c,
15320x00001f19,0x00000140,0x00001f1d,0x00050084,
15330x00000006,0x00001eaa,0x000000f3,0x00006399,
15340x00050080,0x00000006,0x00001eab,0x00001eb1,
15350x00001eaa,0x000300f7,0x00001f2b,0x00000000,
15360x000400fa,0x00001ef1,0x00001f26,0x00001f2a,
15370x000200f8,0x00001f2a,0x000200f9,0x00001f2b,
15380x000200f8,0x00001f26,0x00050082,0x00000006,
15390x00001f29,0x00001ec9,0x0000014a,0x000200f9,
15400x00001f2b,0x000200f8,0x00001f2b,0x000700f5,
15410x00000006,0x0000639a,0x00001f29,0x00001f26,
15420x00000140,0x00001f2a,0x00050084,0x00000006,
15430x00001ea4,0x000000f3,0x0000639a,0x00050080,
15440x00000006,0x00001ea5,0x00001eab,0x00001ea4,
15450x000300f7,0x00001f8a,0x00000000,0x000400fa,
15460x00001ef1,0x00001f85,0x00001f89,0x000200f8,
15470x00001f89,0x000200f9,0x00001f8a,0x000200f8,
15480x00001f85,0x00050082,0x00000006,0x00001f88,
15490x00001ec9,0x0000014a,0x000200f9,0x00001f8a,
15500x000200f8,0x00001f8a,0x000700f5,0x00000006,
15510x0000639b,0x00001f88,0x00001f85,0x00000140,
15520x00001f89,0x00050084,0x00000006,0x00001f4f,
15530x000000f3,0x0000639b,0x00050080,0x00000006,
15540x00001f50,0x00001ec4,0x00001f4f,0x000300f7,
15550x00001f97,0x00000000,0x000400fa,0x00001ef1,
15560x00001f92,0x00001f96,0x000200f8,0x00001f96,
15570x000200f9,0x00001f97,0x000200f8,0x00001f92,
15580x00050082,0x00000006,0x00001f95,0x00001ec9,
15590x0000014a,0x000200f9,0x00001f97,0x000200f8,
15600x00001f97,0x000700f5,0x00000006,0x0000639c,
15610x00001f95,0x00001f92,0x00000140,0x00001f96,
15620x00050084,0x00000006,0x00001f49,0x000000f3,
15630x0000639c,0x00050080,0x00000006,0x00001f4a,
15640x00001f50,0x00001f49,0x000300f7,0x00001fa4,
15650x00000000,0x000400fa,0x00001ef1,0x00001f9f,
15660x00001fa3,0x000200f8,0x00001fa3,0x000200f9,
15670x00001fa4,0x000200f8,0x00001f9f,0x00050082,
15680x00000006,0x00001fa2,0x00001ec9,0x0000014a,
15690x000200f9,0x00001fa4,0x000200f8,0x00001fa4,
15700x000700f5,0x00000006,0x0000639d,0x00001fa2,
15710x00001f9f,0x00000140,0x00001fa3,0x00050084,
15720x00000006,0x00001f43,0x000000f3,0x0000639d,
15730x00050080,0x00000006,0x00001f44,0x00001f4a,
15740x00001f43,0x000300f7,0x00001fb1,0x00000000,
15750x000400fa,0x00001ef1,0x00001fac,0x00001fb0,
15760x000200f8,0x00001fb0,0x000200f9,0x00001fb1,
15770x000200f8,0x00001fac,0x00050082,0x00000006,
15780x00001faf,0x00001ec9,0x0000014a,0x000200f9,
15790x00001fb1,0x000200f8,0x00001fb1,0x000700f5,
15800x00000006,0x0000639e,0x00001faf,0x00001fac,
15810x00000140,0x00001fb0,0x00050084,0x00000006,
15820x00001f3d,0x000000f3,0x0000639e,0x00050080,
15830x00000006,0x00001f3e,0x00001f44,0x00001f3d,
15840x000300f7,0x00001fbe,0x00000000,0x000400fa,
15850x00001ef1,0x00001fb9,0x00001fbd,0x000200f8,
15860x00001fbd,0x000200f9,0x00001fbe,0x000200f8,
15870x00001fb9,0x00050082,0x00000006,0x00001fbc,
15880x00001ec9,0x0000014a,0x000200f9,0x00001fbe,
15890x000200f8,0x00001fbe,0x000700f5,0x00000006,
15900x0000639f,0x00001fbc,0x00001fb9,0x00000140,
15910x00001fbd,0x00050084,0x00000006,0x00001f37,
15920x000000f3,0x0000639f,0x00050080,0x00000006,
15930x00001f38,0x00001f3e,0x00001f37,0x000300f7,
15940x00001fd1,0x00000000,0x000400fa,0x00001ef1,
15950x00001fcc,0x00001fd0,0x000200f8,0x00001fd0,
15960x000200f9,0x00001fd1,0x000200f8,0x00001fcc,
15970x00050082,0x00000006,0x00001fcf,0x00001ec9,
15980x0000014a,0x000200f9,0x00001fd1,0x000200f8,
15990x00001fd1,0x000700f5,0x00000006,0x000063a0,
16000x00001fcf,0x00001fcc,0x00000140,0x00001fd0,
16010x00050080,0x00000006,0x00001fc4,0x000063a0,
16020x00000695,0x00050086,0x00000006,0x00001fc5,
16030x00001fc4,0x000001c6,0x00050084,0x00000006,
16040x00001f31,0x000000f3,0x00001fc5,0x00050080,
16050x00000006,0x00001f32,0x00001f38,0x00001f31,
16060x000300f7,0x00001fe4,0x00000000,0x000400fa,
16070x00001ef1,0x00001fdf,0x00001fe3,0x000200f8,
16080x00001fe3,0x000200f9,0x00001fe4,0x000200f8,
16090x00001fdf,0x00050082,0x00000006,0x00001fe2,
16100x00001ec9,0x0000014a,0x000200f9,0x00001fe4,
16110x000200f8,0x00001fe4,0x000700f5,0x00000006,
16120x000063a1,0x00001fe2,0x00001fdf,0x00000140,
16130x00001fe3,0x00050080,0x00000006,0x00001fd7,
16140x000063a1,0x00000695,0x00050086,0x00000006,
16150x00001fd8,0x00001fd7,0x000001c6,0x00050041,
16160x000013a5,0x00001420,0x000013d6,0x00000140,
16170x0004003d,0x00000006,0x00001421,0x00001420,
16180x00050080,0x00000006,0x00001ffd,0x00001fd8,
16190x00000abc,0x00050086,0x00000006,0x00001ffe,
16200x00001ffd,0x000001cc,0x00050084,0x00000006,
16210x00002001,0x00001421,0x00001ffe,0x0007000c,
16220x00000006,0x00002003,0x00000001,0x00000026,
16230x00002001,0x00001fd8,0x00050080,0x00000006,
16240x00002006,0x00002003,0x00001ffe,0x0007000c,
16250x00000006,0x00002008,0x00000001,0x00000026,
16260x00002006,0x00001fd8,0x000200f9,0x0000200a,
16270x000200f8,0x0000200a,0x000700f5,0x00000006,
16280x000063a3,0x00000140,0x00001fe4,0x00002018,
16290x0000200f,0x000700f5,0x00000006,0x000063a2,
16300x00002003,0x00001fe4,0x0000201b,0x0000200f,
16310x000500b0,0x0000002f,0x0000200e,0x000063a2,
16320x00002008,0x000400f6,0x0000201c,0x0000200f,
16330x00000000,0x000400fa,0x0000200e,0x0000200f,
16340x0000201c,0x000200f8,0x0000200f,0x00050084,
16350x00000006,0x00002012,0x000000f3,0x000063a2,
16360x00050080,0x00000006,0x00002013,0x00001ea5,
16370x00002012,0x00050041,0x0000026e,0x00002014,
16380x000001c1,0x0000026c,0x0004003d,0x00000007,
16390x00002015,0x00002014,0x00050051,0x00000006,
16400x00002075,0x00002015,0x00000000,0x00050095,
16410x00000145,0x00002077,0x00002075,0x00002013,
16420x00050051,0x00000006,0x00002078,0x00002077,
16430x00000001,0x00050051,0x00000006,0x00002079,
16440x00002077,0x00000000,0x00050051,0x00000006,
16450x0000207c,0x00002015,0x00000001,0x00050080,
16460x00000006,0x0000207e,0x0000207c,0x00002078,
16470x00050050,0x00000007,0x0000207f,0x00002079,
16480x0000207e,0x0004007c,0x00000014,0x0000206f,
16490x0000207f,0x00060041,0x00000174,0x00002066,
16500x0000206f,0x00000173,0x00000173,0x0006003d,
16510x00000006,0x00002067,0x00002066,0x00000002,
16520x00000004,0x00050080,0x00000006,0x00002018,
16530x000063a3,0x00002067,0x00050080,0x00000006,
16540x0000201b,0x000063a2,0x0000026c,0x000200f9,
16550x0000200a,0x000200f8,0x0000201c,0x00050041,
16560x0000099d,0x0000201f,0x00000ae5,0x00001421,
16570x0003003e,0x0000201f,0x000063a3,0x000400e0,
16580x00000288,0x00000288,0x000009b5,0x000500aa,
16590x0000002f,0x00002021,0x00001421,0x00000140,
16600x000300f7,0x0000203e,0x00000000,0x000400fa,
16610x00002021,0x00002022,0x0000203e,0x000200f8,
16620x00002022,0x000200f9,0x00002023,0x000200f8,
16630x00002023,0x000700f5,0x00000006,0x000063a5,
16640x00000140,0x00002022,0x00002030,0x00002027,
16650x000700f5,0x00000006,0x000063a4,0x00000140,
16660x00002022,0x00002033,0x00002027,0x000500b0,
16670x0000002f,0x00002026,0x000063a4,0x000001cc,
16680x000400f6,0x00002034,0x00002027,0x00000000,
16690x000400fa,0x00002026,0x00002027,0x00002034,
16700x000200f8,0x00002027,0x00050041,0x0000099d,
16710x00002029,0x00000ae5,0x000063a4,0x0004003d,
16720x00000006,0x0000202a,0x00002029,0x0003003e,
16730x00002029,0x000063a5,0x00050080,0x00000006,
16740x00002030,0x000063a5,0x0000202a,0x00050080,
16750x00000006,0x00002033,0x000063a4,0x0000026c,
16760x000200f9,0x00002023,0x000200f8,0x00002034,
16770x00050041,0x0000026e,0x00002038,0x000001c1,
16780x0000026c,0x0004003d,0x00000007,0x00002039,
16790x00002038,0x00050051,0x00000006,0x00002095,
16800x00002039,0x00000000,0x00050095,0x00000145,
16810x00002097,0x00002095,0x000001f7,0x00050051,
16820x00000006,0x00002098,0x00002097,0x00000001,
16830x00050051,0x00000006,0x00002099,0x00002097,
16840x00000000,0x00050051,0x00000006,0x0000209c,
16850x00002039,0x00000001,0x00050080,0x00000006,
16860x0000209e,0x0000209c,0x00002098,0x00050050,
16870x00000007,0x0000209f,0x00002099,0x0000209e,
16880x0004007c,0x00000014,0x0000208f,0x0000209f,
16890x00060041,0x00000174,0x00002087,0x0000208f,
16900x00000173,0x00000173,0x0005003e,0x00002087,
16910x000063a5,0x00000002,0x00000004,0x000200f9,
16920x0000203e,0x000200f8,0x0000203e,0x000400e0,
16930x00000288,0x00000288,0x000009b5,0x0004003d,
16940x00000006,0x00002041,0x0000201f,0x000200f9,
16950x00002043,0x000200f8,0x00002043,0x000700f5,
16960x00000006,0x000063a7,0x00002041,0x0000203e,
16970x0000205a,0x00002048,0x000700f5,0x00000006,
16980x000063a6,0x00002003,0x0000203e,0x0000205d,
16990x00002048,0x000500b0,0x0000002f,0x00002047,
17000x000063a6,0x00002008,0x000400f6,0x0000205e,
17010x00002048,0x00000000,0x000400fa,0x00002047,
17020x00002048,0x0000205e,0x000200f8,0x00002048,
17030x00050084,0x00000006,0x0000204b,0x000000f3,
17040x000063a6,0x00050080,0x00000006,0x0000204c,
17050x00001ea5,0x0000204b,0x00050041,0x0000026e,
17060x0000204d,0x000001c1,0x0000026c,0x0004003d,
17070x00000007,0x0000204e,0x0000204d,0x00050051,
17080x00000006,0x000020b6,0x0000204e,0x00000000,
17090x00050095,0x00000145,0x000020b8,0x000020b6,
17100x0000204c,0x00050051,0x00000006,0x000020b9,
17110x000020b8,0x00000001,0x00050051,0x00000006,
17120x000020ba,0x000020b8,0x00000000,0x00050051,
17130x00000006,0x000020bd,0x0000204e,0x00000001,
17140x00050080,0x00000006,0x000020bf,0x000020bd,
17150x000020b9,0x00050050,0x00000007,0x000020c0,
17160x000020ba,0x000020bf,0x0004007c,0x00000014,
17170x000020b0,0x000020c0,0x00060041,0x00000174,
17180x000020a7,0x000020b0,0x00000173,0x00000173,
17190x0006003d,0x00000006,0x000020a8,0x000020a7,
9570x00000002,0x00000004,0x00050080,0x00000006, 17200x00000002,0x00000004,0x00050080,0x00000006,
9580x000018ac,0x00005fa3,0x000001c4,0x000200f9, 17210x00002053,0x00001f32,0x0000204b,0x00050095,
9590x00001890,0x000200f8,0x000018ad,0x000200f9, 17220x00000145,0x000020d8,0x000020b6,0x00002053,
9600x000013fd,0x000200f8,0x00001311,0x000500aa, 17230x00050051,0x00000006,0x000020d9,0x000020d8,
9610x0000002f,0x0000131a,0x000012df,0x00001319, 17240x00000001,0x00050051,0x00000006,0x000020da,
9620x000300f7,0x0000131c,0x00000000,0x000400fa, 17250x000020d8,0x00000000,0x00050080,0x00000006,
9630x0000131a,0x0000131b,0x0000131c,0x000200f8, 17260x000020df,0x000020bd,0x000020d9,0x00050050,
9640x0000131b,0x00050041,0x000012db,0x0000131e, 17270x00000007,0x000020e0,0x000020da,0x000020df,
9650x000012e3,0x00000138,0x0004003d,0x00000006, 17280x0004007c,0x00000014,0x000020d0,0x000020e0,
9660x0000131f,0x0000131e,0x00050041,0x000012db, 17290x00060041,0x00000174,0x000020c8,0x000020d0,
9670x00001321,0x000012e4,0x00000138,0x0004003d, 17300x00000173,0x00000173,0x0005003e,0x000020c8,
9680x00000006,0x00001322,0x00001321,0x000500aa, 17310x000063a7,0x00000002,0x00000004,0x00050080,
9690x0000002f,0x00001953,0x00001322,0x00000138, 17320x00000006,0x0000205a,0x000063a7,0x000020a8,
9700x000300f7,0x00001955,0x00000000,0x000400fa, 17330x00050080,0x00000006,0x0000205d,0x000063a6,
9710x00001953,0x00001954,0x00001955,0x000200f8, 17340x0000026c,0x000200f9,0x00002043,0x000200f8,
9720x00001954,0x0003003e,0x00000e6f,0x00000138, 17350x0000205e,0x000200f9,0x000014ef,0x000200f8,
9730x000200f9,0x00001955,0x000200f8,0x00001955, 17360x0000141b,0x000500aa,0x0000002f,0x0000142a,
9740x000400e0,0x00000280,0x00000280,0x0000094f, 17370x000013be,0x000001e3,0x000300f7,0x0000142c,
9750x00050084,0x00000006,0x00001957,0x0000131f, 17380x00000000,0x000400fa,0x0000142a,0x0000142b,
9760x000001be,0x00050080,0x00000006,0x00001959, 17390x0000142c,0x000200f8,0x0000142b,0x00050041,
9770x00001957,0x000001be,0x00050041,0x000001bb, 17400x000013a5,0x0000142e,0x000013d5,0x00000140,
9780x000019a5,0x000001b9,0x000001f0,0x0004003d, 17410x0004003d,0x00000006,0x0000142f,0x0000142e,
9790x00000006,0x000019a6,0x000019a5,0x000500ac, 17420x00050041,0x000013a5,0x00001431,0x000013d6,
9800x0000002f,0x000019a7,0x000019a6,0x00000142, 17430x00000140,0x0004003d,0x00000006,0x00001432,
9810x000300f7,0x000019ad,0x00000000,0x000400fa, 17440x00001431,0x00050041,0x000001c3,0x0000218f,
9820x000019a7,0x000019a8,0x000019ac,0x000200f8, 17450x000001c1,0x000001c2,0x0004003d,0x00000006,
9830x000019ac,0x000200f9,0x000019ad,0x000200f8, 17460x00002190,0x0000218f,0x00050084,0x00000006,
9840x000019a8,0x00050082,0x00000006,0x000019ab, 17470x00002191,0x000001e3,0x00002190,0x00050080,
9850x000019a6,0x00000142,0x000200f9,0x000019ad, 17480x00000006,0x00002192,0x000001cc,0x00002191,
9860x000200f8,0x000019ad,0x000700f5,0x00000006, 17490x00050080,0x00000006,0x00002198,0x00002190,
9870x00005f80,0x000019ab,0x000019a8,0x00000138, 17500x00000695,0x00050086,0x00000006,0x00002199,
9880x000019ac,0x0007000c,0x00000006,0x0000195b, 17510x00002198,0x000001c6,0x00050084,0x00000006,
9890x00000001,0x00000026,0x00001959,0x00005f80, 17520x0000218b,0x000001cc,0x00002199,0x00050080,
9900x00050080,0x00000006,0x0000195e,0x00001957, 17530x00000006,0x0000218c,0x00002192,0x0000218b,
9910x00001322,0x000200f9,0x0000195f,0x000200f8, 17540x00050080,0x00000006,0x00002186,0x0000218c,
9920x0000195f,0x000700f5,0x00000006,0x00005f81, 17550x0000218b,0x00050041,0x000001c3,0x0000217d,
9930x0000195e,0x000019ad,0x00001994,0x00001992, 17560x000001c1,0x000001f8,0x0004003d,0x00000006,
9940x000500b0,0x0000002f,0x00001963,0x00005f81, 17570x0000217e,0x0000217d,0x00050084,0x00000006,
9950x0000195b,0x000400f6,0x00001995,0x00001992, 17580x0000217f,0x000001f7,0x0000217e,0x00050080,
9960x00000000,0x000400fa,0x00001963,0x00001964, 17590x00000006,0x00002180,0x00002186,0x0000217f,
9970x00001995,0x000200f8,0x00001964,0x00050041, 17600x00050041,0x000001c3,0x00002176,0x000001c1,
9980x000001bb,0x000019d7,0x000001b9,0x000001ba, 17610x0000020e,0x0004003d,0x00000006,0x00002177,
9990x0004003d,0x00000006,0x000019d8,0x000019d7,
10000x00050084,0x00000006,0x000019d9,0x000001db,
10010x000019d8,0x00050080,0x00000006,0x000019da,
10020x000001c4,0x000019d9,0x00050080,0x00000006,
10030x000019e0,0x000019d8,0x0000062f,0x00050086,
10040x00000006,0x000019e1,0x000019e0,0x000001be,
10050x00050084,0x00000006,0x000019d3,0x000001c4,
10060x000019e1,0x00050080,0x00000006,0x000019d4,
10070x000019da,0x000019d3,0x00050080,0x00000006,
10080x000019ce,0x000019d4,0x000019d3,0x00050084,
10090x00000006,0x000019c7,0x000001ef,0x000019a6,
10100x00050080,0x00000006,0x000019c8,0x000019ce,
10110x000019c7,0x00050041,0x000001bb,0x000019be,
10120x000001b9,0x00000206,0x0004003d,0x00000006,
10130x000019bf,0x000019be,0x00050084,0x00000006,
10140x000019c0,0x00000205,0x000019bf,0x00050080,
10150x00000006,0x000019c1,0x000019c8,0x000019c0,
10160x000300f7,0x000019f4,0x00000000,0x000400fa,
10170x000019a7,0x000019ef,0x000019f3,0x000200f8,
10180x000019f3,0x000200f9,0x000019f4,0x000200f8,
10190x000019ef,0x00050082,0x00000006,0x000019f2,
10200x000019a6,0x00000142,0x000200f9,0x000019f4,
10210x000200f8,0x000019f4,0x000700f5,0x00000006,
10220x00005f87,0x000019f2,0x000019ef,0x00000138,
10230x000019f3,0x00050084,0x00000006,0x000019b9,
10240x000000ec,0x00005f87,0x00050080,0x00000006,
10250x000019ba,0x000019c1,0x000019b9,0x000300f7,
10260x00001a01,0x00000000,0x000400fa,0x000019a7,
10270x000019fc,0x00001a00,0x000200f8,0x00001a00,
10280x000200f9,0x00001a01,0x000200f8,0x000019fc,
10290x00050082,0x00000006,0x000019ff,0x000019a6,
10300x00000142,0x000200f9,0x00001a01,0x000200f8,
10310x00001a01,0x000700f5,0x00000006,0x00005f88,
10320x000019ff,0x000019fc,0x00000138,0x00001a00,
10330x00050084,0x00000006,0x000019b3,0x000000ec,
10340x00005f88,0x00050080,0x00000006,0x000019b4,
10350x000019ba,0x000019b3,0x00050084,0x00000006,
10360x00001967,0x000000ec,0x00005f81,0x00050080,
10370x00000006,0x00001968,0x000019b4,0x00001967,
10380x00050041,0x00000266,0x00001969,0x000001b9,
10390x00000264,0x0004003d,0x00000007,0x0000196a,
10400x00001969,0x00050051,0x00000006,0x00001a19,
10410x0000196a,0x00000000,0x00050095,0x0000013d,
10420x00001a1b,0x00001a19,0x00001968,0x00050051,
10430x00000006,0x00001a1c,0x00001a1b,0x00000001,
10440x00050051,0x00000006,0x00001a1d,0x00001a1b,
10450x00000000,0x00050051,0x00000006,0x00001a20,
10460x0000196a,0x00000001,0x00050080,0x00000006,
10470x00001a22,0x00001a20,0x00001a1c,0x00050050,
10480x00000007,0x00001a23,0x00001a1d,0x00001a22,
10490x0004007c,0x00000014,0x00001a13,0x00001a23,
10500x00060041,0x0000016c,0x00001a0a,0x00001a13,
10510x0000016b,0x0000016b,0x0006003d,0x00000006,
10520x00001a0b,0x00001a0a,0x00000002,0x00000004,
10530x000200f9,0x0000196c,0x000200f8,0x0000196c,
10540x000700f5,0x00000006,0x00005f8d,0x00000138,
10550x00001a01,0x00001975,0x0000197d,0x000700f5,
10560x00000006,0x00005f8c,0x00000138,0x00001a01,
10570x0000197f,0x0000197d,0x000700f5,0x00000006,
10580x00005f8b,0x00001a0b,0x00001a01,0x00001a80,
10590x0000197d,0x000500ab,0x0000002f,0x0000196f,
10600x00005f8b,0x00000539,0x000500b0,0x0000002f,
10610x00001971,0x00005f8c,0x00000342,0x000500a7,
10620x0000002f,0x00001972,0x0000196f,0x00001971,
10630x000400f6,0x00001980,0x0000197d,0x00000000,
10640x000400fa,0x00001972,0x00001973,0x00001980,
10650x000200f8,0x00001973,0x00050080,0x00000006,
10660x00001975,0x00005f8d,0x00000264,0x000300f7,
10670x00001a69,0x00000000,0x000400fa,0x000019a7,
10680x00001a64,0x00001a68,0x000200f8,0x00001a68,
10690x000200f9,0x00001a69,0x000200f8,0x00001a64,
10700x00050082,0x00000006,0x00001a67,0x000019a6,
10710x00000142,0x000200f9,0x00001a69,0x000200f8,
10720x00001a69,0x000700f5,0x00000006,0x00005f98,
10730x00001a67,0x00001a64,0x00000138,0x00001a68,
10740x00050084,0x00000006,0x00001a2e,0x000000ec,
10750x00005f98,0x00050080,0x00000006,0x00001a2f,
10760x000019c1,0x00001a2e,0x000300f7,0x00001a76,
10770x00000000,0x000400fa,0x000019a7,0x00001a71,
10780x00001a75,0x000200f8,0x00001a75,0x000200f9,
10790x00001a76,0x000200f8,0x00001a71,0x00050082,
10800x00000006,0x00001a74,0x000019a6,0x00000142,
10810x000200f9,0x00001a76,0x000200f8,0x00001a76,
10820x000700f5,0x00000006,0x00005f99,0x00001a74,
10830x00001a71,0x00000138,0x00001a75,0x00050084,
10840x00000006,0x00001a28,0x000000ec,0x00005f99,
10850x00050080,0x00000006,0x00001a29,0x00001a2f,
10860x00001a28,0x00050084,0x00000006,0x00001978,
10870x000000ec,0x00005f8b,0x00050080,0x00000006,
10880x00001979,0x00001a29,0x00001978,0x00050095,
10890x0000013d,0x00001a90,0x00001a19,0x00001979,
10900x00050051,0x00000006,0x00001a91,0x00001a90,
10910x00000001,0x00050051,0x00000006,0x00001a92,
10920x00001a90,0x00000000,0x00050080,0x00000006,
10930x00001a97,0x00001a20,0x00001a91,0x00050050,
10940x00000007,0x00001a98,0x00001a92,0x00001a97,
10950x0004007c,0x00000014,0x00001a88,0x00001a98,
10960x00060041,0x0000016c,0x00001a7f,0x00001a88,
10970x0000016b,0x0000016b,0x0006003d,0x00000006,
10980x00001a80,0x00001a7f,0x00000002,0x00000004,
10990x000200f9,0x0000197d,0x000200f8,0x0000197d,
11000x00050080,0x00000006,0x0000197f,0x00005f8c,
11010x00000264,0x000200f9,0x0000196c,0x000200f8,
11020x00001980,0x000500c7,0x00000006,0x00001982,
11030x00005f8d,0x00000142,0x000500aa,0x0000002f,
11040x00001983,0x00001982,0x00000138,0x000600a9,
11050x00000006,0x00001984,0x00001983,0x00000142,
11060x00000138,0x000300f7,0x00001ae4,0x00000000,
11070x000400fa,0x000019a7,0x00001adf,0x00001ae3,
11080x000200f8,0x00001ae3,0x000200f9,0x00001ae4,
11090x000200f8,0x00001adf,0x00050082,0x00000006,
11100x00001ae2,0x000019a6,0x00000142,0x000200f9,
11110x00001ae4,0x000200f8,0x00001ae4,0x000700f5,
11120x00000006,0x00005f90,0x00001ae2,0x00001adf,
11130x00000138,0x00001ae3,0x00050084,0x00000006,
11140x00001aa9,0x000000ec,0x00005f90,0x00050080,
11150x00000006,0x00001aaa,0x000019c1,0x00001aa9,
11160x000300f7,0x00001af1,0x00000000,0x000400fa,
11170x000019a7,0x00001aec,0x00001af0,0x000200f8,
11180x00001af0,0x000200f9,0x00001af1,0x000200f8,
11190x00001aec,0x00050082,0x00000006,0x00001aef,
11200x000019a6,0x00000142,0x000200f9,0x00001af1,
11210x000200f8,0x00001af1,0x000700f5,0x00000006,
11220x00005f91,0x00001aef,0x00001aec,0x00000138,
11230x00001af0,0x00050084,0x00000006,0x00001aa3,
11240x000000ec,0x00005f91,0x00050080,0x00000006,
11250x00001aa4,0x00001aaa,0x00001aa3,0x000300f7,
11260x00001afe,0x00000000,0x000400fa,0x000019a7,
11270x00001af9,0x00001afd,0x000200f8,0x00001afd,
11280x000200f9,0x00001afe,0x000200f8,0x00001af9,
11290x00050082,0x00000006,0x00001afc,0x000019a6,
11300x00000142,0x000200f9,0x00001afe,0x000200f8,
11310x00001afe,0x000700f5,0x00000006,0x00005f92,
11320x00001afc,0x00001af9,0x00000138,0x00001afd,
11330x00050084,0x00000006,0x00001a9d,0x000000ec,
11340x00005f92,0x00050080,0x00000006,0x00001a9e,
11350x00001aa4,0x00001a9d,0x00050080,0x00000006,
11360x00001988,0x00001a9e,0x00001967,0x00050095,
11370x0000013d,0x00001b17,0x00001a19,0x00001988,
11380x00050051,0x00000006,0x00001b18,0x00001b17,
11390x00000001,0x00050051,0x00000006,0x00001b19,
11400x00001b17,0x00000000,0x00050080,0x00000006,
11410x00001b1e,0x00001a20,0x00001b18,0x00050050,
11420x00000007,0x00001b1f,0x00001b19,0x00001b1e,
11430x0004007c,0x00000014,0x00001b0f,0x00001b1f,
11440x00060041,0x0000016c,0x00001b07,0x00001b0f,
11450x0000016b,0x0000016b,0x0005003e,0x00001b07,
11460x00001984,0x00000002,0x00000004,0x000300f7,
11470x00001991,0x00000000,0x000400fa,0x00001983,
11480x0000198f,0x00001991,0x000200f8,0x0000198f,
11490x000700ea,0x00000006,0x00001990,0x00000e6f,
11500x00000142,0x00000138,0x00000142,0x000200f9,
11510x00001991,0x000200f8,0x00001991,0x000200f9,
11520x00001992,0x000200f8,0x00001992,0x00050080,
11530x00000006,0x00001994,0x00005f81,0x000001c4,
11540x000200f9,0x0000195f,0x000200f8,0x00001995,
11550x000400e0,0x00000280,0x00000280,0x0000094f,
11560x000300f7,0x000019a1,0x00000000,0x000400fa,
11570x00001953,0x00001998,0x000019a1,0x000200f8,
11580x00001998,0x00050041,0x000001bb,0x00001b5a,
11590x000001b9,0x000001ba,0x0004003d,0x00000006,
11600x00001b5b,0x00001b5a,0x00050084,0x00000006,
11610x00001b5c,0x000001db,0x00001b5b,0x00050080,
11620x00000006,0x00001b5d,0x000001c4,0x00001b5c,
11630x00050080,0x00000006,0x00001b63,0x00001b5b,
11640x0000062f,0x00050086,0x00000006,0x00001b64,
11650x00001b63,0x000001be,0x00050084,0x00000006,
11660x00001b56,0x000001c4,0x00001b64,0x00050080,
11670x00000006,0x00001b57,0x00001b5d,0x00001b56,
11680x00050080,0x00000006,0x00001b51,0x00001b57,
11690x00001b56,0x00050084,0x00000006,0x00001b4a,
11700x000001ef,0x000019a6,0x00050080,0x00000006,
11710x00001b4b,0x00001b51,0x00001b4a,0x00050041,
11720x000001bb,0x00001b41,0x000001b9,0x00000206,
11730x0004003d,0x00000006,0x00001b42,0x00001b41,
11740x00050084,0x00000006,0x00001b43,0x00000205,
11750x00001b42,0x00050080,0x00000006,0x00001b44,
11760x00001b4b,0x00001b43,0x000300f7,0x00001b77,
11770x00000000,0x000400fa,0x000019a7,0x00001b72,
11780x00001b76,0x000200f8,0x00001b76,0x000200f9,
11790x00001b77,0x000200f8,0x00001b72,0x00050082,
11800x00000006,0x00001b75,0x000019a6,0x00000142,
11810x000200f9,0x00001b77,0x000200f8,0x00001b77,
11820x000700f5,0x00000006,0x00005f82,0x00001b75,
11830x00001b72,0x00000138,0x00001b76,0x00050084,
11840x00000006,0x00001b3c,0x000000ec,0x00005f82,
11850x00050080,0x00000006,0x00001b3d,0x00001b44,
11860x00001b3c,0x000300f7,0x00001b84,0x00000000,
11870x000400fa,0x000019a7,0x00001b7f,0x00001b83,
11880x000200f8,0x00001b83,0x000200f9,0x00001b84,
11890x000200f8,0x00001b7f,0x00050082,0x00000006,
11900x00001b82,0x000019a6,0x00000142,0x000200f9,
11910x00001b84,0x000200f8,0x00001b84,0x000700f5,
11920x00000006,0x00005f83,0x00001b82,0x00001b7f,
11930x00000138,0x00001b83,0x00050084,0x00000006,
11940x00001b36,0x000000ec,0x00005f83,0x00050080,
11950x00000006,0x00001b37,0x00001b3d,0x00001b36,
11960x000300f7,0x00001b91,0x00000000,0x000400fa,
11970x000019a7,0x00001b8c,0x00001b90,0x000200f8,
11980x00001b90,0x000200f9,0x00001b91,0x000200f8,
11990x00001b8c,0x00050082,0x00000006,0x00001b8f,
12000x000019a6,0x00000142,0x000200f9,0x00001b91,
12010x000200f8,0x00001b91,0x000700f5,0x00000006,
12020x00005f84,0x00001b8f,0x00001b8c,0x00000138,
12030x00001b90,0x00050084,0x00000006,0x00001b30,
12040x000000ec,0x00005f84,0x00050080,0x00000006,
12050x00001b31,0x00001b37,0x00001b30,0x000300f7,
12060x00001b9e,0x00000000,0x000400fa,0x000019a7,
12070x00001b99,0x00001b9d,0x000200f8,0x00001b9d,
12080x000200f9,0x00001b9e,0x000200f8,0x00001b99,
12090x00050082,0x00000006,0x00001b9c,0x000019a6,
12100x00000142,0x000200f9,0x00001b9e,0x000200f8,
12110x00001b9e,0x000700f5,0x00000006,0x00005f85,
12120x00001b9c,0x00001b99,0x00000138,0x00001b9d,
12130x00050084,0x00000006,0x00001b2a,0x000000ec,
12140x00005f85,0x00050080,0x00000006,0x00001b2b,
12150x00001b31,0x00001b2a,0x000300f7,0x00001bab,
12160x00000000,0x000400fa,0x000019a7,0x00001ba6,
12170x00001baa,0x000200f8,0x00001baa,0x000200f9,
12180x00001bab,0x000200f8,0x00001ba6,0x00050082,
12190x00000006,0x00001ba9,0x000019a6,0x00000142,
12200x000200f9,0x00001bab,0x000200f8,0x00001bab,
12210x000700f5,0x00000006,0x00005f86,0x00001ba9,
12220x00001ba6,0x00000138,0x00001baa,0x00050084,
12230x00000006,0x00001b24,0x000000ec,0x00005f86,
12240x00050080,0x00000006,0x00001b25,0x00001b2b,
12250x00001b24,0x00050084,0x00000006,0x0000199b,
12260x000000ec,0x0000131f,0x00050080,0x00000006,
12270x0000199c,0x00001b25,0x0000199b,0x00050041,
12280x00000266,0x0000199d,0x000001b9,0x00000264,
12290x0004003d,0x00000007,0x0000199e,0x0000199d,
12300x0004003d,0x00000006,0x0000199f,0x00000e6f,
12310x00050051,0x00000006,0x00001bc2,0x0000199e,
12320x00000000,0x00050095,0x0000013d,0x00001bc4,
12330x00001bc2,0x0000199c,0x00050051,0x00000006,
12340x00001bc5,0x00001bc4,0x00000001,0x00050051,
12350x00000006,0x00001bc6,0x00001bc4,0x00000000,
12360x00050051,0x00000006,0x00001bc9,0x0000199e,
12370x00000001,0x00050080,0x00000006,0x00001bcb,
12380x00001bc9,0x00001bc5,0x00050050,0x00000007,
12390x00001bcc,0x00001bc6,0x00001bcb,0x0004007c,
12400x00000014,0x00001bbc,0x00001bcc,0x00060041,
12410x0000016c,0x00001bb4,0x00001bbc,0x0000016b,
12420x0000016b,0x0005003e,0x00001bb4,0x0000199f,
12430x00000002,0x00000004,0x000200f9,0x000019a1,
12440x000200f8,0x000019a1,0x000200f9,0x000013fd,
12450x000200f8,0x0000131c,0x000500aa,0x0000002f,
12460x00001327,0x000012df,0x00000a0e,0x000300f7,
12470x00001329,0x00000000,0x000400fa,0x00001327,
12480x00001328,0x00001329,0x000200f8,0x00001328,
12490x00050041,0x000001bb,0x00001c07,0x000001b9,
12500x000001ba,0x0004003d,0x00000006,0x00001c08,
12510x00001c07,0x00050084,0x00000006,0x00001c09,
12520x000001db,0x00001c08,0x00050080,0x00000006,
12530x00001c0a,0x000001c4,0x00001c09,0x00050080,
12540x00000006,0x00001c10,0x00001c08,0x0000062f,
12550x00050086,0x00000006,0x00001c11,0x00001c10,
12560x000001be,0x00050084,0x00000006,0x00001c03,
12570x000001c4,0x00001c11,0x00050080,0x00000006,
12580x00001c04,0x00001c0a,0x00001c03,0x00050080,
12590x00000006,0x00001bfe,0x00001c04,0x00001c03,
12600x00050041,0x000001bb,0x00001bf5,0x000001b9,
12610x000001f0,0x0004003d,0x00000006,0x00001bf6,
12620x00001bf5,0x00050084,0x00000006,0x00001bf7,
12630x000001ef,0x00001bf6,0x00050080,0x00000006,
12640x00001bf8,0x00001bfe,0x00001bf7,0x00050041,
12650x000001bb,0x00001bee,0x000001b9,0x00000206,
12660x0004003d,0x00000006,0x00001bef,0x00001bee,
12670x00050084,0x00000006,0x00001bf0,0x00000205,
12680x00001bef,0x00050080,0x00000006,0x00001bf1,
12690x00001bf8,0x00001bf0,0x000500ac,0x0000002f,
12700x00001c1e,0x00001bf6,0x00000142,0x000300f7,
12710x00001c24,0x00000000,0x000400fa,0x00001c1e,
12720x00001c1f,0x00001c23,0x000200f8,0x00001c23,
12730x000200f9,0x00001c24,0x000200f8,0x00001c1f,
12740x00050082,0x00000006,0x00001c22,0x00001bf6,
12750x00000142,0x000200f9,0x00001c24,0x000200f8,
12760x00001c24,0x000700f5,0x00000006,0x00005f6e,
12770x00001c22,0x00001c1f,0x00000138,0x00001c23,
12780x00050084,0x00000006,0x00001be9,0x000000ec,
12790x00005f6e,0x00050080,0x00000006,0x00001bea,
12800x00001bf1,0x00001be9,0x000300f7,0x00001c31,
12810x00000000,0x000400fa,0x00001c1e,0x00001c2c,
12820x00001c30,0x000200f8,0x00001c30,0x000200f9,
12830x00001c31,0x000200f8,0x00001c2c,0x00050082,
12840x00000006,0x00001c2f,0x00001bf6,0x00000142,
12850x000200f9,0x00001c31,0x000200f8,0x00001c31,
12860x000700f5,0x00000006,0x00005f6f,0x00001c2f,
12870x00001c2c,0x00000138,0x00001c30,0x00050084,
12880x00000006,0x00001be3,0x000000ec,0x00005f6f,
12890x00050080,0x00000006,0x00001be4,0x00001bea,
12900x00001be3,0x000300f7,0x00001c3e,0x00000000,
12910x000400fa,0x00001c1e,0x00001c39,0x00001c3d,
12920x000200f8,0x00001c3d,0x000200f9,0x00001c3e,
12930x000200f8,0x00001c39,0x00050082,0x00000006,
12940x00001c3c,0x00001bf6,0x00000142,0x000200f9,
12950x00001c3e,0x000200f8,0x00001c3e,0x000700f5,
12960x00000006,0x00005f70,0x00001c3c,0x00001c39,
12970x00000138,0x00001c3d,0x00050084,0x00000006,
12980x00001bdd,0x000000ec,0x00005f70,0x00050080,
12990x00000006,0x00001bde,0x00001be4,0x00001bdd,
13000x000300f7,0x00001c4b,0x00000000,0x000400fa,
13010x00001c1e,0x00001c46,0x00001c4a,0x000200f8,
13020x00001c4a,0x000200f9,0x00001c4b,0x000200f8,
13030x00001c46,0x00050082,0x00000006,0x00001c49,
13040x00001bf6,0x00000142,0x000200f9,0x00001c4b,
13050x000200f8,0x00001c4b,0x000700f5,0x00000006,
13060x00005f71,0x00001c49,0x00001c46,0x00000138,
13070x00001c4a,0x00050084,0x00000006,0x00001bd7,
13080x000000ec,0x00005f71,0x00050080,0x00000006,
13090x00001bd8,0x00001bde,0x00001bd7,0x000300f7,
13100x00001c58,0x00000000,0x000400fa,0x00001c1e,
13110x00001c53,0x00001c57,0x000200f8,0x00001c57,
13120x000200f9,0x00001c58,0x000200f8,0x00001c53,
13130x00050082,0x00000006,0x00001c56,0x00001bf6,
13140x00000142,0x000200f9,0x00001c58,0x000200f8,
13150x00001c58,0x000700f5,0x00000006,0x00005f72,
13160x00001c56,0x00001c53,0x00000138,0x00001c57,
13170x00050084,0x00000006,0x00001bd1,0x000000ec,
13180x00005f72,0x00050080,0x00000006,0x00001bd2,
13190x00001bd8,0x00001bd1,0x000300f7,0x00001cb7,
13200x00000000,0x000400fa,0x00001c1e,0x00001cb2,
13210x00001cb6,0x000200f8,0x00001cb6,0x000200f9,
13220x00001cb7,0x000200f8,0x00001cb2,0x00050082,
13230x00000006,0x00001cb5,0x00001bf6,0x00000142,
13240x000200f9,0x00001cb7,0x000200f8,0x00001cb7,
13250x000700f5,0x00000006,0x00005f73,0x00001cb5,
13260x00001cb2,0x00000138,0x00001cb6,0x00050084,
13270x00000006,0x00001c7c,0x000000ec,0x00005f73,
13280x00050080,0x00000006,0x00001c7d,0x00001bf1,
13290x00001c7c,0x000300f7,0x00001cc4,0x00000000,
13300x000400fa,0x00001c1e,0x00001cbf,0x00001cc3,
13310x000200f8,0x00001cc3,0x000200f9,0x00001cc4,
13320x000200f8,0x00001cbf,0x00050082,0x00000006,
13330x00001cc2,0x00001bf6,0x00000142,0x000200f9,
13340x00001cc4,0x000200f8,0x00001cc4,0x000700f5,
13350x00000006,0x00005f74,0x00001cc2,0x00001cbf,
13360x00000138,0x00001cc3,0x00050084,0x00000006,
13370x00001c76,0x000000ec,0x00005f74,0x00050080,
13380x00000006,0x00001c77,0x00001c7d,0x00001c76,
13390x000300f7,0x00001cd1,0x00000000,0x000400fa,
13400x00001c1e,0x00001ccc,0x00001cd0,0x000200f8,
13410x00001cd0,0x000200f9,0x00001cd1,0x000200f8,
13420x00001ccc,0x00050082,0x00000006,0x00001ccf,
13430x00001bf6,0x00000142,0x000200f9,0x00001cd1,
13440x000200f8,0x00001cd1,0x000700f5,0x00000006,
13450x00005f75,0x00001ccf,0x00001ccc,0x00000138,
13460x00001cd0,0x00050084,0x00000006,0x00001c70,
13470x000000ec,0x00005f75,0x00050080,0x00000006,
13480x00001c71,0x00001c77,0x00001c70,0x000300f7,
13490x00001cde,0x00000000,0x000400fa,0x00001c1e,
13500x00001cd9,0x00001cdd,0x000200f8,0x00001cdd,
13510x000200f9,0x00001cde,0x000200f8,0x00001cd9,
13520x00050082,0x00000006,0x00001cdc,0x00001bf6,
13530x00000142,0x000200f9,0x00001cde,0x000200f8,
13540x00001cde,0x000700f5,0x00000006,0x00005f76,
13550x00001cdc,0x00001cd9,0x00000138,0x00001cdd,
13560x00050084,0x00000006,0x00001c6a,0x000000ec,
13570x00005f76,0x00050080,0x00000006,0x00001c6b,
13580x00001c71,0x00001c6a,0x000300f7,0x00001ceb,
13590x00000000,0x000400fa,0x00001c1e,0x00001ce6,
13600x00001cea,0x000200f8,0x00001cea,0x000200f9,
13610x00001ceb,0x000200f8,0x00001ce6,0x00050082,
13620x00000006,0x00001ce9,0x00001bf6,0x00000142,
13630x000200f9,0x00001ceb,0x000200f8,0x00001ceb,
13640x000700f5,0x00000006,0x00005f77,0x00001ce9,
13650x00001ce6,0x00000138,0x00001cea,0x00050084,
13660x00000006,0x00001c64,0x000000ec,0x00005f77,
13670x00050080,0x00000006,0x00001c65,0x00001c6b,
13680x00001c64,0x000300f7,0x00001cfe,0x00000000,
13690x000400fa,0x00001c1e,0x00001cf9,0x00001cfd,
13700x000200f8,0x00001cfd,0x000200f9,0x00001cfe,
13710x000200f8,0x00001cf9,0x00050082,0x00000006,
13720x00001cfc,0x00001bf6,0x00000142,0x000200f9,
13730x00001cfe,0x000200f8,0x00001cfe,0x000700f5,
13740x00000006,0x00005f78,0x00001cfc,0x00001cf9,
13750x00000138,0x00001cfd,0x00050080,0x00000006,
13760x00001cf1,0x00005f78,0x0000062f,0x00050086,
13770x00000006,0x00001cf2,0x00001cf1,0x000001be,
13780x00050084,0x00000006,0x00001c5e,0x000000ec,
13790x00001cf2,0x00050080,0x00000006,0x00001c5f,
13800x00001c65,0x00001c5e,0x000300f7,0x00001d11,
13810x00000000,0x000400fa,0x00001c1e,0x00001d0c,
13820x00001d10,0x000200f8,0x00001d10,0x000200f9,
13830x00001d11,0x000200f8,0x00001d0c,0x00050082,
13840x00000006,0x00001d0f,0x00001bf6,0x00000142,
13850x000200f9,0x00001d11,0x000200f8,0x00001d11,
13860x000700f5,0x00000006,0x00005f79,0x00001d0f,
13870x00001d0c,0x00000138,0x00001d10,0x00050080,
13880x00000006,0x00001d04,0x00005f79,0x0000062f,
13890x00050086,0x00000006,0x00001d05,0x00001d04,
13900x000001be,0x00050041,0x000012db,0x0000132e,
13910x000012e4,0x00000138,0x0004003d,0x00000006,
13920x0000132f,0x0000132e,0x00050080,0x00000006,
13930x00001d2a,0x00001d05,0x00000a56,0x00050086,
13940x00000006,0x00001d2b,0x00001d2a,0x000001c4,
13950x00050084,0x00000006,0x00001d2e,0x0000132f,
13960x00001d2b,0x0007000c,0x00000006,0x00001d30,
13970x00000001,0x00000026,0x00001d2e,0x00001d05,
13980x00050080,0x00000006,0x00001d33,0x00001d30,
13990x00001d2b,0x0007000c,0x00000006,0x00001d35,
14000x00000001,0x00000026,0x00001d33,0x00001d05,
14010x000200f9,0x00001d37,0x000200f8,0x00001d37,
14020x000700f5,0x00000006,0x00005f7b,0x00000138,
14030x00001d11,0x00001d45,0x00001d3c,0x000700f5,
14040x00000006,0x00005f7a,0x00001d30,0x00001d11,
14050x00001d48,0x00001d3c,0x000500b0,0x0000002f,
14060x00001d3b,0x00005f7a,0x00001d35,0x000400f6,
14070x00001d49,0x00001d3c,0x00000000,0x000400fa,
14080x00001d3b,0x00001d3c,0x00001d49,0x000200f8,
14090x00001d3c,0x00050084,0x00000006,0x00001d3f,
14100x000000ec,0x00005f7a,0x00050080,0x00000006,
14110x00001d40,0x00001bd2,0x00001d3f,0x00050041,
14120x00000266,0x00001d41,0x000001b9,0x00000264,
14130x0004003d,0x00000007,0x00001d42,0x00001d41,
14140x00050051,0x00000006,0x00001da2,0x00001d42,
14150x00000000,0x00050095,0x0000013d,0x00001da4,
14160x00001da2,0x00001d40,0x00050051,0x00000006,
14170x00001da5,0x00001da4,0x00000001,0x00050051,
14180x00000006,0x00001da6,0x00001da4,0x00000000,
14190x00050051,0x00000006,0x00001da9,0x00001d42,
14200x00000001,0x00050080,0x00000006,0x00001dab,
14210x00001da9,0x00001da5,0x00050050,0x00000007,
14220x00001dac,0x00001da6,0x00001dab,0x0004007c,
14230x00000014,0x00001d9c,0x00001dac,0x00060041,
14240x0000016c,0x00001d93,0x00001d9c,0x0000016b,
14250x0000016b,0x0006003d,0x00000006,0x00001d94,
14260x00001d93,0x00000002,0x00000004,0x00050080,
14270x00000006,0x00001d45,0x00005f7b,0x00001d94,
14280x00050080,0x00000006,0x00001d48,0x00005f7a,
14290x00000264,0x000200f9,0x00001d37,0x000200f8,
14300x00001d49,0x00050041,0x00000937,0x00001d4c,
14310x00000a7f,0x0000132f,0x0003003e,0x00001d4c,
14320x00005f7b,0x000400e0,0x00000280,0x00000280,
14330x0000094f,0x000500aa,0x0000002f,0x00001d4e,
14340x0000132f,0x00000138,0x000300f7,0x00001d6b,
14350x00000000,0x000400fa,0x00001d4e,0x00001d4f,
14360x00001d6b,0x000200f8,0x00001d4f,0x000200f9,
14370x00001d50,0x000200f8,0x00001d50,0x000700f5,
14380x00000006,0x00005f7d,0x00000138,0x00001d4f,
14390x00001d5d,0x00001d54,0x000700f5,0x00000006,
14400x00005f7c,0x00000138,0x00001d4f,0x00001d60,
14410x00001d54,0x000500b0,0x0000002f,0x00001d53,
14420x00005f7c,0x000001c4,0x000400f6,0x00001d61,
14430x00001d54,0x00000000,0x000400fa,0x00001d53,
14440x00001d54,0x00001d61,0x000200f8,0x00001d54,
14450x00050041,0x00000937,0x00001d56,0x00000a7f,
14460x00005f7c,0x0004003d,0x00000006,0x00001d57,
14470x00001d56,0x0003003e,0x00001d56,0x00005f7d,
14480x00050080,0x00000006,0x00001d5d,0x00005f7d,
14490x00001d57,0x00050080,0x00000006,0x00001d60,
14500x00005f7c,0x00000264,0x000200f9,0x00001d50,
14510x000200f8,0x00001d61,0x00050041,0x00000266,
14520x00001d65,0x000001b9,0x00000264,0x0004003d,
14530x00000007,0x00001d66,0x00001d65,0x00050051,
14540x00000006,0x00001dc2,0x00001d66,0x00000000,
14550x00050095,0x0000013d,0x00001dc4,0x00001dc2,
14560x000001ef,0x00050051,0x00000006,0x00001dc5,
14570x00001dc4,0x00000001,0x00050051,0x00000006,
14580x00001dc6,0x00001dc4,0x00000000,0x00050051,
14590x00000006,0x00001dc9,0x00001d66,0x00000001,
14600x00050080,0x00000006,0x00001dcb,0x00001dc9,
14610x00001dc5,0x00050050,0x00000007,0x00001dcc,
14620x00001dc6,0x00001dcb,0x0004007c,0x00000014,
14630x00001dbc,0x00001dcc,0x00060041,0x0000016c,
14640x00001db4,0x00001dbc,0x0000016b,0x0000016b,
14650x0005003e,0x00001db4,0x00005f7d,0x00000002,
14660x00000004,0x000200f9,0x00001d6b,0x000200f8,
14670x00001d6b,0x000400e0,0x00000280,0x00000280,
14680x0000094f,0x0004003d,0x00000006,0x00001d6e,
14690x00001d4c,0x000200f9,0x00001d70,0x000200f8,
14700x00001d70,0x000700f5,0x00000006,0x00005f7f,
14710x00001d6e,0x00001d6b,0x00001d87,0x00001d75,
14720x000700f5,0x00000006,0x00005f7e,0x00001d30,
14730x00001d6b,0x00001d8a,0x00001d75,0x000500b0,
14740x0000002f,0x00001d74,0x00005f7e,0x00001d35,
14750x000400f6,0x00001d8b,0x00001d75,0x00000000,
14760x000400fa,0x00001d74,0x00001d75,0x00001d8b,
14770x000200f8,0x00001d75,0x00050084,0x00000006,
14780x00001d78,0x000000ec,0x00005f7e,0x00050080,
14790x00000006,0x00001d79,0x00001bd2,0x00001d78,
14800x00050041,0x00000266,0x00001d7a,0x000001b9,
14810x00000264,0x0004003d,0x00000007,0x00001d7b,
14820x00001d7a,0x00050051,0x00000006,0x00001de3,
14830x00001d7b,0x00000000,0x00050095,0x0000013d,
14840x00001de5,0x00001de3,0x00001d79,0x00050051,
14850x00000006,0x00001de6,0x00001de5,0x00000001,
14860x00050051,0x00000006,0x00001de7,0x00001de5,
14870x00000000,0x00050051,0x00000006,0x00001dea,
14880x00001d7b,0x00000001,0x00050080,0x00000006,
14890x00001dec,0x00001dea,0x00001de6,0x00050050,
14900x00000007,0x00001ded,0x00001de7,0x00001dec,
14910x0004007c,0x00000014,0x00001ddd,0x00001ded,
14920x00060041,0x0000016c,0x00001dd4,0x00001ddd,
14930x0000016b,0x0000016b,0x0006003d,0x00000006,
14940x00001dd5,0x00001dd4,0x00000002,0x00000004,
14950x00050080,0x00000006,0x00001d80,0x00001c5f,
14960x00001d78,0x00050095,0x0000013d,0x00001e05,
14970x00001de3,0x00001d80,0x00050051,0x00000006,
14980x00001e06,0x00001e05,0x00000001,0x00050051,
14990x00000006,0x00001e07,0x00001e05,0x00000000,
15000x00050080,0x00000006,0x00001e0c,0x00001dea,
15010x00001e06,0x00050050,0x00000007,0x00001e0d,
15020x00001e07,0x00001e0c,0x0004007c,0x00000014,
15030x00001dfd,0x00001e0d,0x00060041,0x0000016c,
15040x00001df5,0x00001dfd,0x0000016b,0x0000016b,
15050x0005003e,0x00001df5,0x00005f7f,0x00000002,
15060x00000004,0x00050080,0x00000006,0x00001d87,
15070x00005f7f,0x00001dd5,0x00050080,0x00000006,
15080x00001d8a,0x00005f7e,0x00000264,0x000200f9,
15090x00001d70,0x000200f8,0x00001d8b,0x000200f9,
15100x000013fd,0x000200f8,0x00001329,0x000500aa,
15110x0000002f,0x00001338,0x000012df,0x000001db,
15120x000300f7,0x0000133a,0x00000000,0x000400fa,
15130x00001338,0x00001339,0x0000133a,0x000200f8,
15140x00001339,0x00050041,0x000012db,0x0000133c,
15150x000012e3,0x00000138,0x0004003d,0x00000006,
15160x0000133d,0x0000133c,0x00050041,0x000012db,
15170x0000133f,0x000012e4,0x00000138,0x0004003d,
15180x00000006,0x00001340,0x0000133f,0x00050041,
15190x000001bb,0x00001ebc,0x000001b9,0x000001ba,
15200x0004003d,0x00000006,0x00001ebd,0x00001ebc,
15210x00050084,0x00000006,0x00001ebe,0x000001db,
15220x00001ebd,0x00050080,0x00000006,0x00001ebf,
15230x000001c4,0x00001ebe,0x00050080,0x00000006,
15240x00001ec5,0x00001ebd,0x0000062f,0x00050086,
15250x00000006,0x00001ec6,0x00001ec5,0x000001be,
15260x00050084,0x00000006,0x00001eb8,0x000001c4,
15270x00001ec6,0x00050080,0x00000006,0x00001eb9,
15280x00001ebf,0x00001eb8,0x00050080,0x00000006,
15290x00001eb3,0x00001eb9,0x00001eb8,0x00050041,
15300x000001bb,0x00001eaa,0x000001b9,0x000001f0,
15310x0004003d,0x00000006,0x00001eab,0x00001eaa,
15320x00050084,0x00000006,0x00001eac,0x000001ef,
15330x00001eab,0x00050080,0x00000006,0x00001ead,
15340x00001eb3,0x00001eac,0x00050041,0x000001bb,
15350x00001ea3,0x000001b9,0x00000206,0x0004003d,
15360x00000006,0x00001ea4,0x00001ea3,0x00050084,
15370x00000006,0x00001ea5,0x00000205,0x00001ea4,
15380x00050080,0x00000006,0x00001ea6,0x00001ead,
15390x00001ea5,0x000500ac,0x0000002f,0x00001ed3,
15400x00001eab,0x00000142,0x000300f7,0x00001ed9,
15410x00000000,0x000400fa,0x00001ed3,0x00001ed4,
15420x00001ed8,0x000200f8,0x00001ed8,0x000200f9,
15430x00001ed9,0x000200f8,0x00001ed4,0x00050082,
15440x00000006,0x00001ed7,0x00001eab,0x00000142,
15450x000200f9,0x00001ed9,0x000200f8,0x00001ed9,
15460x000700f5,0x00000006,0x00005f45,0x00001ed7,
15470x00001ed4,0x00000138,0x00001ed8,0x00050084,
15480x00000006,0x00001e9e,0x000000ec,0x00005f45,
15490x00050080,0x00000006,0x00001e9f,0x00001ea6,
15500x00001e9e,0x000300f7,0x00001ee6,0x00000000,
15510x000400fa,0x00001ed3,0x00001ee1,0x00001ee5,
15520x000200f8,0x00001ee5,0x000200f9,0x00001ee6,
15530x000200f8,0x00001ee1,0x00050082,0x00000006,
15540x00001ee4,0x00001eab,0x00000142,0x000200f9,
15550x00001ee6,0x000200f8,0x00001ee6,0x000700f5,
15560x00000006,0x00005f46,0x00001ee4,0x00001ee1,
15570x00000138,0x00001ee5,0x00050084,0x00000006,
15580x00001e98,0x000000ec,0x00005f46,0x00050080,
15590x00000006,0x00001e99,0x00001e9f,0x00001e98,
15600x000300f7,0x00001ef3,0x00000000,0x000400fa,
15610x00001ed3,0x00001eee,0x00001ef2,0x000200f8,
15620x00001ef2,0x000200f9,0x00001ef3,0x000200f8,
15630x00001eee,0x00050082,0x00000006,0x00001ef1,
15640x00001eab,0x00000142,0x000200f9,0x00001ef3,
15650x000200f8,0x00001ef3,0x000700f5,0x00000006,
15660x00005f47,0x00001ef1,0x00001eee,0x00000138,
15670x00001ef2,0x00050084,0x00000006,0x00001e92,
15680x000000ec,0x00005f47,0x00050080,0x00000006,
15690x00001e93,0x00001e99,0x00001e92,0x000300f7,
15700x00001f00,0x00000000,0x000400fa,0x00001ed3,
15710x00001efb,0x00001eff,0x000200f8,0x00001eff,
15720x000200f9,0x00001f00,0x000200f8,0x00001efb,
15730x00050082,0x00000006,0x00001efe,0x00001eab,
15740x00000142,0x000200f9,0x00001f00,0x000200f8,
15750x00001f00,0x000700f5,0x00000006,0x00005f48,
15760x00001efe,0x00001efb,0x00000138,0x00001eff,
15770x00050084,0x00000006,0x00001e8c,0x000000ec,
15780x00005f48,0x00050080,0x00000006,0x00001e8d,
15790x00001e93,0x00001e8c,0x000300f7,0x00001f0d,
15800x00000000,0x000400fa,0x00001ed3,0x00001f08,
15810x00001f0c,0x000200f8,0x00001f0c,0x000200f9,
15820x00001f0d,0x000200f8,0x00001f08,0x00050082,
15830x00000006,0x00001f0b,0x00001eab,0x00000142,
15840x000200f9,0x00001f0d,0x000200f8,0x00001f0d,
15850x000700f5,0x00000006,0x00005f49,0x00001f0b,
15860x00001f08,0x00000138,0x00001f0c,0x00050084,
15870x00000006,0x00001e86,0x000000ec,0x00005f49,
15880x00050080,0x00000006,0x00001e87,0x00001e8d,
15890x00001e86,0x000300f7,0x00001f20,0x00000000,
15900x000400fa,0x00001ed3,0x00001f1b,0x00001f1f,
15910x000200f8,0x00001f1f,0x000200f9,0x00001f20,
15920x000200f8,0x00001f1b,0x00050082,0x00000006,
15930x00001f1e,0x00001eab,0x00000142,0x000200f9,
15940x00001f20,0x000200f8,0x00001f20,0x000700f5,
15950x00000006,0x00005f4a,0x00001f1e,0x00001f1b,
15960x00000138,0x00001f1f,0x00050080,0x00000006,
15970x00001f13,0x00005f4a,0x0000062f,0x00050086,
15980x00000006,0x00001f14,0x00001f13,0x000001be,
15990x00050084,0x00000006,0x00001e80,0x000000ec,
16000x00001f14,0x00050080,0x00000006,0x00001e81,
16010x00001e87,0x00001e80,0x00050084,0x00000006,
16020x00001e22,0x000000ec,0x0000133d,0x00050080,
16030x00000006,0x00001e23,0x00001e81,0x00001e22,
16040x00050041,0x00000266,0x00001e24,0x000001b9,
16050x00000264,0x0004003d,0x00000007,0x00001e25,
16060x00001e24,0x00050051,0x00000006,0x00001f38,
16070x00001e25,0x00000000,0x00050095,0x0000013d,
16080x00001f3a,0x00001f38,0x00001e23,0x00050051,
16090x00000006,0x00001f3b,0x00001f3a,0x00000001,
16100x00050051,0x00000006,0x00001f3c,0x00001f3a,
16110x00000000,0x00050051,0x00000006,0x00001f3f,
16120x00001e25,0x00000001,0x00050080,0x00000006,
16130x00001f41,0x00001f3f,0x00001f3b,0x00050050,
16140x00000007,0x00001f42,0x00001f3c,0x00001f41,
16150x0004007c,0x00000014,0x00001f32,0x00001f42,
16160x00060041,0x0000016c,0x00001f29,0x00001f32,
16170x0000016b,0x0000016b,0x0006003d,0x00000006,
16180x00001f2a,0x00001f29,0x00000002,0x00000004,
16190x00050084,0x00000006,0x00001e28,0x0000133d,
16200x000001be,0x00050080,0x00000006,0x00001e2a,
16210x00001e28,0x000001be,0x000300f7,0x00001f4e,
16220x00000000,0x000400fa,0x00001ed3,0x00001f49,
16230x00001f4d,0x000200f8,0x00001f4d,0x000200f9,
16240x00001f4e,0x000200f8,0x00001f49,0x00050082,
16250x00000006,0x00001f4c,0x00001eab,0x00000142,
16260x000200f9,0x00001f4e,0x000200f8,0x00001f4e,
16270x000700f5,0x00000006,0x00005f4b,0x00001f4c,
16280x00001f49,0x00000138,0x00001f4d,0x0007000c,
16290x00000006,0x00001e2c,0x00000001,0x00000026,
16300x00001e2a,0x00005f4b,0x000200f9,0x00001e2e,
16310x000200f8,0x00001e2e,0x000700f5,0x00000006,
16320x00005f5f,0x00001f2a,0x00001f4e,0x00001e77,
16330x00001e78,0x000700f5,0x00000006,0x00005f4c,
16340x00001e28,0x00001f4e,0x00001e7a,0x00001e78,
16350x000500b0,0x0000002f,0x00001e32,0x00005f4c,
16360x00001e2c,0x000400f6,0x00001e7b,0x00001e78,
16370x00000000,0x000400fa,0x00001e32,0x00001e33,
16380x00001e7b,0x000200f8,0x00001e33,0x00050080,
16390x00000006,0x00001e36,0x00005f4c,0x00001340,
16400x000500b0,0x0000002f,0x00001e39,0x00001e36,
16410x00001e2c,0x000300f7,0x00001e43,0x00000000,
16420x000400fa,0x00001e39,0x00001e3a,0x00001e42,
16430x000200f8,0x00001e42,0x000200f9,0x00001e43,
16440x000200f8,0x00001e3a,0x000300f7,0x00001f9b,
16450x00000000,0x000400fa,0x00001ed3,0x00001f96,
16460x00001f9a,0x000200f8,0x00001f9a,0x000200f9,
16470x00001f9b,0x000200f8,0x00001f96,0x00050082,
16480x00000006,0x00001f99,0x00001eab,0x00000142,
16490x000200f9,0x00001f9b,0x000200f8,0x00001f9b,
16500x000700f5,0x00000006,0x00005f4d,0x00001f99,
16510x00001f96,0x00000138,0x00001f9a,0x00050084,
16520x00000006,0x00001f60,0x000000ec,0x00005f4d,
16530x00050080,0x00000006,0x00001f61,0x00001ea6,
16540x00001f60,0x000300f7,0x00001fa8,0x00000000,
16550x000400fa,0x00001ed3,0x00001fa3,0x00001fa7,
16560x000200f8,0x00001fa7,0x000200f9,0x00001fa8,
16570x000200f8,0x00001fa3,0x00050082,0x00000006,
16580x00001fa6,0x00001eab,0x00000142,0x000200f9,
16590x00001fa8,0x000200f8,0x00001fa8,0x000700f5,
16600x00000006,0x00005f4e,0x00001fa6,0x00001fa3,
16610x00000138,0x00001fa7,0x00050084,0x00000006,
16620x00001f5a,0x000000ec,0x00005f4e,0x00050080,
16630x00000006,0x00001f5b,0x00001f61,0x00001f5a,
16640x000300f7,0x00001fb5,0x00000000,0x000400fa,
16650x00001ed3,0x00001fb0,0x00001fb4,0x000200f8,
16660x00001fb4,0x000200f9,0x00001fb5,0x000200f8,
16670x00001fb0,0x00050082,0x00000006,0x00001fb3,
16680x00001eab,0x00000142,0x000200f9,0x00001fb5,
16690x000200f8,0x00001fb5,0x000700f5,0x00000006,
16700x00005f4f,0x00001fb3,0x00001fb0,0x00000138,
16710x00001fb4,0x00050084,0x00000006,0x00001f54,
16720x000000ec,0x00005f4f,0x00050080,0x00000006,
16730x00001f55,0x00001f5b,0x00001f54,0x00050084,
16740x00000006,0x00001e3d,0x000000ec,0x00001e36,
16750x00050080,0x00000006,0x00001e3e,0x00001f55,
16760x00001e3d,0x00050095,0x0000013d,0x00001fcf,
16770x00001f38,0x00001e3e,0x00050051,0x00000006,
16780x00001fd0,0x00001fcf,0x00000001,0x00050051,
16790x00000006,0x00001fd1,0x00001fcf,0x00000000,
16800x00050080,0x00000006,0x00001fd6,0x00001f3f,
16810x00001fd0,0x00050050,0x00000007,0x00001fd7,
16820x00001fd1,0x00001fd6,0x0004007c,0x00000014,
16830x00001fc7,0x00001fd7,0x00060041,0x0000016c,
16840x00001fbe,0x00001fc7,0x0000016b,0x0000016b,
16850x0006003d,0x00000006,0x00001fbf,0x00001fbe,
16860x00000002,0x00000004,0x000200f9,0x00001e43,
16870x000200f8,0x00001e43,0x000700f5,0x00000006,
16880x00005f50,0x00001fbf,0x00001fb5,0x00000138,
16890x00001e42,0x00050041,0x00000937,0x00001e47,
16900x00000eff,0x00001340,0x0003003e,0x00001e47,
16910x00005f50,0x000400e0,0x00000280,0x00000280,
16920x0000094f,0x000200f9,0x00001e48,0x000200f8,
16930x00001e48,0x000700f5,0x00000006,0x00005f51,
16940x00000142,0x00001e43,0x00001e61,0x00001e5f,
16950x000500b0,0x0000002f,0x00001e4b,0x00005f51,
16960x000001c4,0x000400f6,0x00001e62,0x00001e5f,
16970x00000000,0x000400fa,0x00001e4b,0x00001e4c,
16980x00001e62,0x000200f8,0x00001e4c,0x000500ae,
16990x0000002f,0x00001e4f,0x00001340,0x00005f51,
17000x000300f7,0x00001e57,0x00000000,0x000400fa,
17010x00001e4f,0x00001e50,0x00001e56,0x000200f8,
17020x00001e56,0x000200f9,0x00001e57,0x000200f8,
17030x00001e50,0x00050082,0x00000006,0x00001e53,
17040x00001340,0x00005f51,0x00050041,0x00000937,
17050x00001e54,0x00000eff,0x00001e53,0x0004003d,
17060x00000006,0x00001e55,0x00001e54,0x000200f9,
17070x00001e57,0x000200f8,0x00001e57,0x000700f5,
17080x00000006,0x00005f6c,0x00001e55,0x00001e50,
17090x00000138,0x00001e56,0x000400e0,0x00000280,
17100x00000280,0x0000094f,0x0004003d,0x00000006,
17110x00001e5c,0x00001e47,0x00050080,0x00000006,
17120x00001e5d,0x00001e5c,0x00005f6c,0x0003003e,
17130x00001e47,0x00001e5d,0x000400e0,0x00000280,
17140x00000280,0x0000094f,0x000200f9,0x00001e5f,
17150x000200f8,0x00001e5f,0x000500c4,0x00000006,
17160x00001e61,0x00005f51,0x00000264,0x000200f9,
17170x00001e48,0x000200f8,0x00001e62,0x000500ab,
17180x0000002f,0x00001e64,0x00005f50,0x00000138,
17190x000300f7,0x00001e73,0x00000000,0x000400fa,
17200x00001e64,0x00001e65,0x00001e73,0x000200f8,
17210x00001e65,0x000300f7,0x00002029,0x00000000,
17220x000400fa,0x00001ed3,0x00002024,0x00002028,
17230x000200f8,0x00002028,0x000200f9,0x00002029,
17240x000200f8,0x00002024,0x00050082,0x00000006,
17250x00002027,0x00001eab,0x00000142,0x000200f9,
17260x00002029,0x000200f8,0x00002029,0x000700f5,
17270x00000006,0x00005f52,0x00002027,0x00002024,
17280x00000138,0x00002028,0x00050084,0x00000006,
17290x00001fee,0x000000ec,0x00005f52,0x00050080,
17300x00000006,0x00001fef,0x00001ea6,0x00001fee,
17310x000300f7,0x00002036,0x00000000,0x000400fa,
17320x00001ed3,0x00002031,0x00002035,0x000200f8,
17330x00002035,0x000200f9,0x00002036,0x000200f8,
17340x00002031,0x00050082,0x00000006,0x00002034,
17350x00001eab,0x00000142,0x000200f9,0x00002036,
17360x000200f8,0x00002036,0x000700f5,0x00000006,
17370x00005f53,0x00002034,0x00002031,0x00000138,
17380x00002035,0x00050084,0x00000006,0x00001fe8,
17390x000000ec,0x00005f53,0x00050080,0x00000006,
17400x00001fe9,0x00001fef,0x00001fe8,0x000300f7,
17410x00002043,0x00000000,0x000400fa,0x00001ed3,
17420x0000203e,0x00002042,0x000200f8,0x00002042,
17430x000200f9,0x00002043,0x000200f8,0x0000203e,
17440x00050082,0x00000006,0x00002041,0x00001eab,
17450x00000142,0x000200f9,0x00002043,0x000200f8,
17460x00002043,0x000700f5,0x00000006,0x00005f54,
17470x00002041,0x0000203e,0x00000138,0x00002042,
17480x00050084,0x00000006,0x00001fe2,0x000000ec,
17490x00005f54,0x00050080,0x00000006,0x00001fe3,
17500x00001fe9,0x00001fe2,0x000300f7,0x00002050,
17510x00000000,0x000400fa,0x00001ed3,0x0000204b,
17520x0000204f,0x000200f8,0x0000204f,0x000200f9,
17530x00002050,0x000200f8,0x0000204b,0x00050082,
17540x00000006,0x0000204e,0x00001eab,0x00000142,
17550x000200f9,0x00002050,0x000200f8,0x00002050,
17560x000700f5,0x00000006,0x00005f55,0x0000204e,
17570x0000204b,0x00000138,0x0000204f,0x00050084,
17580x00000006,0x00001fdc,0x000000ec,0x00005f55,
17590x00050080,0x00000006,0x00001fdd,0x00001fe3,
17600x00001fdc,0x00050084,0x00000006,0x00001e68,
17610x000000ec,0x00001e36,0x00050080,0x00000006,
17620x00001e69,0x00001fdd,0x00001e68,0x0004003d,
17630x00000006,0x00001e6d,0x00001e47,0x00050080,
17640x00000006,0x00001e6e,0x00005f5f,0x00001e6d,
17650x00050082,0x00000006,0x00001e6f,0x00001e6e,
17660x00000142,0x00050095,0x0000013d,0x00002069,
17670x00001f38,0x00001e69,0x00050051,0x00000006,
17680x0000206a,0x00002069,0x00000001,0x00050051,
17690x00000006,0x0000206b,0x00002069,0x00000000,
17700x00050080,0x00000006,0x00002070,0x00001f3f,
17710x0000206a,0x00050050,0x00000007,0x00002071,
17720x0000206b,0x00002070,0x0004007c,0x00000014,
17730x00002061,0x00002071,0x00060041,0x0000016c,
17740x00002059,0x00002061,0x0000016b,0x0000016b,
17750x0005003e,0x00002059,0x00001e6f,0x00000002,
17760x00000004,0x000200f9,0x00001e73,0x000200f8,
17770x00001e73,0x00050041,0x00000937,0x00001e74,
17780x00000eff,0x00000b9b,0x0004003d,0x00000006,
17790x00001e75,0x00001e74,0x00050080,0x00000006,
17800x00001e77,0x00005f5f,0x00001e75,0x000400e0,
17810x00000280,0x00000280,0x0000094f,0x000200f9,
17820x00001e78,0x000200f8,0x00001e78,0x00050080,
17830x00000006,0x00001e7a,0x00005f4c,0x000001c4,
17840x000200f9,0x00001e2e,0x000200f8,0x00001e7b,
17850x000200f9,0x000013fd,0x000200f8,0x0000133a,
17860x000500aa,0x0000002f,0x00001345,0x000012df,
17870x00000355,0x000300f7,0x00001347,0x00000000,
17880x000400fa,0x00001345,0x00001346,0x00001347,
17890x000200f8,0x00001346,0x000500aa,0x0000002f,
17900x00001349,0x000012dd,0x00000138,0x000300f7,
17910x0000134b,0x00000000,0x000400fa,0x00001349,
17920x0000134a,0x0000134b,0x000200f8,0x0000134a,
17930x000300f7,0x0000212c,0x00000000,0x000300fb,
17940x00000138,0x000020b3,0x000200f8,0x000020b3,
17950x000300f7,0x00002167,0x00000000,0x000300fb,
17960x00000138,0x00002139,0x000200f8,0x00002139,
17970x00050041,0x000001bb,0x00002188,0x000001b9,
17980x000001ba,0x0004003d,0x00000006,0x00002189,
17990x00002188,0x00050084,0x00000006,0x0000218a,
18000x000001db,0x00002189,0x00050080,0x00000006,
18010x0000218b,0x000001c4,0x0000218a,0x00050080,
18020x00000006,0x00002191,0x00002189,0x0000062f,
18030x00050086,0x00000006,0x00002192,0x00002191,
18040x000001be,0x00050084,0x00000006,0x00002184,
18050x000001c4,0x00002192,0x00050080,0x00000006,
18060x00002185,0x0000218b,0x00002184,0x00050080,
18070x00000006,0x0000217f,0x00002185,0x00002184,
18080x00050041,0x000001bb,0x00002176,0x000001b9,
18090x000001f0,0x0004003d,0x00000006,0x00002177,
18100x00002176,0x00050084,0x00000006,0x00002178, 17620x00002176,0x00050084,0x00000006,0x00002178,
18110x000001ef,0x00002177,0x00050080,0x00000006, 17630x0000020d,0x00002177,0x00050080,0x00000006,
18120x00002179,0x0000217f,0x00002178,0x00050041, 17640x00002179,0x00002180,0x00002178,0x000500ac,
18130x00000266,0x00002170,0x000001b9,0x00000264, 17650x0000002f,0x000021a6,0x0000217e,0x0000014a,
18140x0004003d,0x00000007,0x00002171,0x00002170, 17660x000300f7,0x000021ac,0x00000000,0x000400fa,
18150x00050051,0x00000006,0x000021a7,0x00002171, 17670x000021a6,0x000021a7,0x000021ab,0x000200f8,
18160x00000000,0x00050095,0x0000013d,0x000021a9, 17680x000021ab,0x000200f9,0x000021ac,0x000200f8,
18170x000021a7,0x00002179,0x00050051,0x00000006, 17690x000021a7,0x00050082,0x00000006,0x000021aa,
18180x000021aa,0x000021a9,0x00000001,0x00050051, 17700x0000217e,0x0000014a,0x000200f9,0x000021ac,
18190x00000006,0x000021ab,0x000021a9,0x00000000, 17710x000200f8,0x000021ac,0x000700f5,0x00000006,
18200x00050051,0x00000006,0x000021ae,0x00002171, 17720x0000636d,0x000021aa,0x000021a7,0x00000140,
18210x00000001,0x00050080,0x00000006,0x000021b0, 17730x000021ab,0x00050084,0x00000006,0x00002171,
18220x000021ae,0x000021aa,0x00050050,0x00000007, 17740x000000f3,0x0000636d,0x00050080,0x00000006,
18230x000021b1,0x000021ab,0x000021b0,0x0004007c, 17750x00002172,0x00002179,0x00002171,0x000300f7,
18240x00000014,0x000021a1,0x000021b1,0x000200f9, 17760x000021b9,0x00000000,0x000400fa,0x000021a6,
18250x0000213c,0x000200f8,0x0000213c,0x000700f5, 17770x000021b4,0x000021b8,0x000200f8,0x000021b8,
18260x00000006,0x00005f35,0x00000138,0x00002139, 17780x000200f9,0x000021b9,0x000200f8,0x000021b4,
18270x0000214a,0x00002140,0x000500b0,0x0000002f, 17790x00050082,0x00000006,0x000021b7,0x0000217e,
18280x0000213f,0x00005f35,0x00000355,0x000400f6, 17800x0000014a,0x000200f9,0x000021b9,0x000200f8,
18290x0000214b,0x00002140,0x00000000,0x000400fa, 17810x000021b9,0x000700f5,0x00000006,0x0000636e,
18300x0000213f,0x00002140,0x0000214b,0x000200f8, 17820x000021b7,0x000021b4,0x00000140,0x000021b8,
18310x00002140,0x00050080,0x00000006,0x00002144, 17830x00050084,0x00000006,0x0000216b,0x000000f3,
18320x00000142,0x00005f35,0x00060041,0x0000016c, 17840x0000636e,0x00050080,0x00000006,0x0000216c,
18330x00002145,0x000021a1,0x0000016b,0x00002144, 17850x00002172,0x0000216b,0x000300f7,0x000021c6,
18340x000700f1,0x00000006,0x00002146,0x00002145, 17860x00000000,0x000400fa,0x000021a6,0x000021c1,
18350x00000142,0x00000138,0x00000138,0x00050041, 17870x000021c5,0x000200f8,0x000021c5,0x000200f9,
18360x00000009,0x00002147,0x00002131,0x00005f35, 17880x000021c6,0x000200f8,0x000021c1,0x00050082,
18370x0003003e,0x00002147,0x00002146,0x00050080, 17890x00000006,0x000021c4,0x0000217e,0x0000014a,
18380x00000006,0x0000214a,0x00005f35,0x00000264, 17900x000200f9,0x000021c6,0x000200f8,0x000021c6,
18390x000200f9,0x0000213c,0x000200f8,0x0000214b, 17910x000700f5,0x00000006,0x0000636f,0x000021c4,
18400x00050041,0x00000009,0x0000214c,0x00002131, 17920x000021c1,0x00000140,0x000021c5,0x00050084,
18410x0000016b,0x0004003d,0x00000006,0x0000214d, 17930x00000006,0x00002165,0x000000f3,0x0000636f,
18420x0000214c,0x000500aa,0x0000002f,0x0000214e, 17940x00050080,0x00000006,0x00002166,0x0000216c,
18430x0000214d,0x00000539,0x000300f7,0x00002152, 17950x00002165,0x000300f7,0x000021d3,0x00000000,
18440x00000000,0x000400fa,0x0000214e,0x0000214f, 17960x000400fa,0x000021a6,0x000021ce,0x000021d2,
18450x00002152,0x000200f8,0x0000214f,0x000200f9, 17970x000200f8,0x000021d2,0x000200f9,0x000021d3,
18460x00002167,0x000200f8,0x00002152,0x0004003d, 17980x000200f8,0x000021ce,0x00050082,0x00000006,
18470x00000006,0x00002154,0x0000214c,0x000500c7, 17990x000021d1,0x0000217e,0x0000014a,0x000200f9,
18480x00000006,0x000021b6,0x00002154,0x00000241, 18000x000021d3,0x000200f8,0x000021d3,0x000700f5,
18490x000500ab,0x0000002f,0x000021b7,0x000021b6, 18010x00000006,0x00006370,0x000021d1,0x000021ce,
18500x00000138,0x000300f7,0x000021be,0x00000000, 18020x00000140,0x000021d2,0x00050084,0x00000006,
18510x000400fa,0x000021b7,0x000021b8,0x000021bb, 18030x0000215f,0x000000f3,0x00006370,0x00050080,
18520x000200f8,0x000021bb,0x000400c8,0x00000006, 18040x00000006,0x00002160,0x00002166,0x0000215f,
18530x000021bd,0x00002154,0x000200f9,0x000021be, 18050x000300f7,0x000021e0,0x00000000,0x000400fa,
18540x000200f8,0x000021b8,0x000500c7,0x00000006, 18060x000021a6,0x000021db,0x000021df,0x000200f8,
18550x000021ba,0x00002154,0x00000256,0x000200f9, 18070x000021df,0x000200f9,0x000021e0,0x000200f8,
18560x000021be,0x000200f8,0x000021be,0x000700f5, 18080x000021db,0x00050082,0x00000006,0x000021de,
18570x00000006,0x00005f36,0x000021ba,0x000021b8, 18090x0000217e,0x0000014a,0x000200f9,0x000021e0,
18580x000021bd,0x000021bb,0x0004007c,0x00000027, 18100x000200f8,0x000021e0,0x000700f5,0x00000006,
18590x000021c0,0x00005f36,0x00050041,0x00000009, 18110x00006371,0x000021de,0x000021db,0x00000140,
18600x00002156,0x00002131,0x00000264,0x0004003d, 18120x000021df,0x00050084,0x00000006,0x00002159,
18610x00000006,0x00002157,0x00002156,0x000500c7, 18130x000000f3,0x00006371,0x00050080,0x00000006,
18620x00000006,0x000021c5,0x00002157,0x00000241, 18140x0000215a,0x00002160,0x00002159,0x000300f7,
18630x000500ab,0x0000002f,0x000021c6,0x000021c5, 18150x000021f3,0x00000000,0x000400fa,0x000021a6,
18640x00000138,0x000300f7,0x000021cd,0x00000000, 18160x000021ee,0x000021f2,0x000200f8,0x000021f2,
18650x000400fa,0x000021c6,0x000021c7,0x000021ca, 18170x000200f9,0x000021f3,0x000200f8,0x000021ee,
18660x000200f8,0x000021ca,0x000400c8,0x00000006, 18180x00050082,0x00000006,0x000021f1,0x0000217e,
18670x000021cc,0x00002157,0x000200f9,0x000021cd, 18190x0000014a,0x000200f9,0x000021f3,0x000200f8,
18680x000200f8,0x000021c7,0x000500c7,0x00000006, 18200x000021f3,0x000700f5,0x00000006,0x00006372,
18690x000021c9,0x00002157,0x00000256,0x000200f9, 18210x000021f1,0x000021ee,0x00000140,0x000021f2,
18700x000021cd,0x000200f8,0x000021cd,0x000700f5, 18220x00050080,0x00000006,0x000021e6,0x00006372,
18710x00000006,0x00005f37,0x000021c9,0x000021c7, 18230x00000695,0x00050086,0x00000006,0x000021e7,
18720x000021cc,0x000021ca,0x0004007c,0x00000027, 18240x000021e6,0x000001c6,0x00050084,0x00000006,
18730x000021cf,0x00005f37,0x00050041,0x00000009, 18250x00002153,0x000000f3,0x000021e7,0x00050080,
18740x00002159,0x00002131,0x00000315,0x0004003d, 18260x00000006,0x00002154,0x0000215a,0x00002153,
18750x00000006,0x0000215a,0x00002159,0x000500c7, 18270x00050084,0x00000006,0x000020f5,0x000000f3,
18760x00000006,0x000021d4,0x0000215a,0x00000241, 18280x0000142f,0x00050080,0x00000006,0x000020f6,
18770x000500ab,0x0000002f,0x000021d5,0x000021d4, 18290x00002154,0x000020f5,0x00050041,0x0000026e,
18780x00000138,0x000300f7,0x000021dc,0x00000000, 18300x000020f7,0x000001c1,0x0000026c,0x0004003d,
18790x000400fa,0x000021d5,0x000021d6,0x000021d9, 18310x00000007,0x000020f8,0x000020f7,0x00050051,
18800x000200f8,0x000021d9,0x000400c8,0x00000006, 18320x00000006,0x0000220b,0x000020f8,0x00000000,
18810x000021db,0x0000215a,0x000200f9,0x000021dc, 18330x00050095,0x00000145,0x0000220d,0x0000220b,
18820x000200f8,0x000021d6,0x000500c7,0x00000006, 18340x000020f6,0x00050051,0x00000006,0x0000220e,
18830x000021d8,0x0000215a,0x00000256,0x000200f9, 18350x0000220d,0x00000001,0x00050051,0x00000006,
18840x000021dc,0x000200f8,0x000021dc,0x000700f5, 18360x0000220f,0x0000220d,0x00000000,0x00050051,
18850x00000006,0x00005f38,0x000021d8,0x000021d6, 18370x00000006,0x00002212,0x000020f8,0x00000001,
18860x000021db,0x000021d9,0x0004007c,0x00000027, 18380x00050080,0x00000006,0x00002214,0x00002212,
18870x000021de,0x00005f38,0x00060050,0x0000006c, 18390x0000220e,0x00050050,0x00000007,0x00002215,
18880x0000215c,0x000021c0,0x000021cf,0x000021de, 18400x0000220f,0x00002214,0x0004007c,0x00000014,
18890x00050041,0x00000009,0x0000215d,0x00002131, 18410x00002205,0x00002215,0x00060041,0x00000174,
18900x0000031d,0x0004003d,0x00000006,0x0000215e, 18420x000021fc,0x00002205,0x00000173,0x00000173,
18910x0000215d,0x000500c7,0x00000006,0x000021e3, 18430x0006003d,0x00000006,0x000021fd,0x000021fc,
18920x0000215e,0x00000241,0x000500ab,0x0000002f, 18440x00000002,0x00000004,0x00050084,0x00000006,
18930x000021e4,0x000021e3,0x00000138,0x000300f7, 18450x000020fb,0x0000142f,0x000001c6,0x00050080,
18940x000021eb,0x00000000,0x000400fa,0x000021e4, 18460x00000006,0x000020fd,0x000020fb,0x000001c6,
18950x000021e5,0x000021e8,0x000200f8,0x000021e8, 18470x000300f7,0x00002221,0x00000000,0x000400fa,
18960x000400c8,0x00000006,0x000021ea,0x0000215e, 18480x000021a6,0x0000221c,0x00002220,0x000200f8,
18970x000200f9,0x000021eb,0x000200f8,0x000021e5, 18490x00002220,0x000200f9,0x00002221,0x000200f8,
18980x000500c7,0x00000006,0x000021e7,0x0000215e, 18500x0000221c,0x00050082,0x00000006,0x0000221f,
18990x00000256,0x000200f9,0x000021eb,0x000200f8, 18510x0000217e,0x0000014a,0x000200f9,0x00002221,
19000x000021eb,0x000700f5,0x00000006,0x00005f39, 18520x000200f8,0x00002221,0x000700f5,0x00000006,
19010x000021e7,0x000021e5,0x000021ea,0x000021e8, 18530x00006373,0x0000221f,0x0000221c,0x00000140,
19020x0004007c,0x00000027,0x000021ed,0x00005f39, 18540x00002220,0x0007000c,0x00000006,0x000020ff,
19030x00050041,0x00000009,0x00002160,0x00002131, 18550x00000001,0x00000026,0x000020fd,0x00006373,
19040x00000325,0x0004003d,0x00000006,0x00002161, 18560x000200f9,0x00002101,0x000200f8,0x00002101,
19050x00002160,0x000500c7,0x00000006,0x000021f2, 18570x000700f5,0x00000006,0x00006387,0x000021fd,
19060x00002161,0x00000241,0x000500ab,0x0000002f, 18580x00002221,0x0000214a,0x0000214b,0x000700f5,
19070x000021f3,0x000021f2,0x00000138,0x000300f7, 18590x00000006,0x00006374,0x000020fb,0x00002221,
19080x000021fa,0x00000000,0x000400fa,0x000021f3, 18600x0000214d,0x0000214b,0x000500b0,0x0000002f,
19090x000021f4,0x000021f7,0x000200f8,0x000021f7, 18610x00002105,0x00006374,0x000020ff,0x000400f6,
19100x000400c8,0x00000006,0x000021f9,0x00002161, 18620x0000214e,0x0000214b,0x00000000,0x000400fa,
19110x000200f9,0x000021fa,0x000200f8,0x000021f4, 18630x00002105,0x00002106,0x0000214e,0x000200f8,
19120x000500c7,0x00000006,0x000021f6,0x00002161, 18640x00002106,0x00050080,0x00000006,0x00002109,
19130x00000256,0x000200f9,0x000021fa,0x000200f8, 18650x00006374,0x00001432,0x000500b0,0x0000002f,
19140x000021fa,0x000700f5,0x00000006,0x00005f3a, 18660x0000210c,0x00002109,0x000020ff,0x000300f7,
19150x000021f6,0x000021f4,0x000021f9,0x000021f7, 18670x00002116,0x00000000,0x000400fa,0x0000210c,
19160x0004007c,0x00000027,0x000021fc,0x00005f3a, 18680x0000210d,0x00002115,0x000200f8,0x00002115,
19170x00050041,0x00000009,0x00002163,0x00002131, 18690x000200f9,0x00002116,0x000200f8,0x0000210d,
19180x0000032d,0x0004003d,0x00000006,0x00002164, 18700x000300f7,0x0000226e,0x00000000,0x000400fa,
19190x00002163,0x000500c7,0x00000006,0x00002201, 18710x000021a6,0x00002269,0x0000226d,0x000200f8,
19200x00002164,0x00000241,0x000500ab,0x0000002f, 18720x0000226d,0x000200f9,0x0000226e,0x000200f8,
19210x00002202,0x00002201,0x00000138,0x000300f7, 18730x00002269,0x00050082,0x00000006,0x0000226c,
19220x00002209,0x00000000,0x000400fa,0x00002202, 18740x0000217e,0x0000014a,0x000200f9,0x0000226e,
19230x00002203,0x00002206,0x000200f8,0x00002206, 18750x000200f8,0x0000226e,0x000700f5,0x00000006,
19240x000400c8,0x00000006,0x00002208,0x00002164, 18760x00006375,0x0000226c,0x00002269,0x00000140,
19250x000200f9,0x00002209,0x000200f8,0x00002203, 18770x0000226d,0x00050084,0x00000006,0x00002233,
19260x000500c7,0x00000006,0x00002205,0x00002164, 18780x000000f3,0x00006375,0x00050080,0x00000006,
19270x00000256,0x000200f9,0x00002209,0x000200f8, 18790x00002234,0x00002179,0x00002233,0x000300f7,
19280x00002209,0x000700f5,0x00000006,0x00005f3b, 18800x0000227b,0x00000000,0x000400fa,0x000021a6,
19290x00002205,0x00002203,0x00002208,0x00002206, 18810x00002276,0x0000227a,0x000200f8,0x0000227a,
19300x0004007c,0x00000027,0x0000220b,0x00005f3b, 18820x000200f9,0x0000227b,0x000200f8,0x00002276,
19310x00060050,0x0000006c,0x00002166,0x000021ed, 18830x00050082,0x00000006,0x00002279,0x0000217e,
19320x000021fc,0x0000220b,0x000200f9,0x00002167, 18840x0000014a,0x000200f9,0x0000227b,0x000200f8,
19330x000200f8,0x00002167,0x000700f5,0x0000006c, 18850x0000227b,0x000700f5,0x00000006,0x00006376,
19340x00005f40,0x000060fe,0x0000214f,0x00002166, 18860x00002279,0x00002276,0x00000140,0x0000227a,
19350x00002209,0x000700f5,0x0000006c,0x00005f3c, 18870x00050084,0x00000006,0x0000222d,0x000000f3,
19360x00000576,0x0000214f,0x0000215c,0x00002209, 18880x00006376,0x00050080,0x00000006,0x0000222e,
19370x00050041,0x00000266,0x000020b7,0x000001b9, 18890x00002234,0x0000222d,0x000300f7,0x00002288,
19380x0000016b,0x0004003d,0x00000007,0x000020b8, 18900x00000000,0x000400fa,0x000021a6,0x00002283,
19390x000020b7,0x00050051,0x00000027,0x000020ba, 18910x00002287,0x000200f8,0x00002287,0x000200f9,
19400x00005f3c,0x00000000,0x0004007c,0x00000006, 18920x00002288,0x000200f8,0x00002283,0x00050082,
19410x00002211,0x000020ba,0x00050051,0x00000006, 18930x00000006,0x00002286,0x0000217e,0x0000014a,
19420x0000222a,0x000020b8,0x00000000,0x00050095, 18940x000200f9,0x00002288,0x000200f8,0x00002288,
19430x0000013d,0x0000222c,0x0000222a,0x000001db, 18950x000700f5,0x00000006,0x00006377,0x00002286,
19440x00050051,0x00000006,0x0000222d,0x0000222c, 18960x00002283,0x00000140,0x00002287,0x00050084,
19450x00000001,0x00050051,0x00000006,0x0000222e, 18970x00000006,0x00002227,0x000000f3,0x00006377,
19460x0000222c,0x00000000,0x00050051,0x00000006, 18980x00050080,0x00000006,0x00002228,0x0000222e,
19470x00002231,0x000020b8,0x00000001,0x00050080, 18990x00002227,0x00050084,0x00000006,0x00002110,
19480x00000006,0x00002233,0x00002231,0x0000222d, 19000x000000f3,0x00002109,0x00050080,0x00000006,
19490x00050050,0x00000007,0x00002234,0x0000222e, 19010x00002111,0x00002228,0x00002110,0x00050095,
19500x00002233,0x0004007c,0x00000014,0x00002224, 19020x00000145,0x000022a2,0x0000220b,0x00002111,
19510x00002234,0x00060041,0x0000016c,0x0000221c, 19030x00050051,0x00000006,0x000022a3,0x000022a2,
19520x00002224,0x0000016b,0x0000016b,0x0005003e, 19040x00000001,0x00050051,0x00000006,0x000022a4,
19530x0000221c,0x00002211,0x00000002,0x00000004, 19050x000022a2,0x00000000,0x00050080,0x00000006,
19540x00050051,0x00000027,0x000020bf,0x00005f3c, 19060x000022a9,0x00002212,0x000022a3,0x00050050,
19550x00000001,0x0004007c,0x00000006,0x0000223a, 19070x00000007,0x000022aa,0x000022a4,0x000022a9,
19560x000020bf,0x00050095,0x0000013d,0x00002255, 19080x0004007c,0x00000014,0x0000229a,0x000022aa,
19570x0000222a,0x00000299,0x00050051,0x00000006, 19090x00060041,0x00000174,0x00002291,0x0000229a,
19580x00002256,0x00002255,0x00000001,0x00050051, 19100x00000173,0x00000173,0x0006003d,0x00000006,
19590x00000006,0x00002257,0x00002255,0x00000000, 19110x00002292,0x00002291,0x00000002,0x00000004,
19600x00050080,0x00000006,0x0000225c,0x00002231, 19120x000200f9,0x00002116,0x000200f8,0x00002116,
19610x00002256,0x00050050,0x00000007,0x0000225d, 19130x000700f5,0x00000006,0x00006378,0x00002292,
19620x00002257,0x0000225c,0x0004007c,0x00000014, 19140x00002288,0x00000140,0x00002115,0x00050041,
19630x0000224d,0x0000225d,0x00060041,0x0000016c, 19150x0000099d,0x0000211a,0x00000f64,0x00001432,
19640x00002245,0x0000224d,0x0000016b,0x0000016b, 19160x0003003e,0x0000211a,0x00006378,0x000400e0,
19650x0005003e,0x00002245,0x0000223a,0x00000002, 19170x00000288,0x00000288,0x000009b5,0x000200f9,
19660x00000004,0x00050051,0x00000027,0x000020c4, 19180x0000211b,0x000200f8,0x0000211b,0x000700f5,
19670x00005f3c,0x00000002,0x0004007c,0x00000006, 19190x00000006,0x00006379,0x0000014a,0x00002116,
19680x00002263,0x000020c4,0x00050095,0x0000013d, 19200x00002134,0x00002132,0x000500b0,0x0000002f,
19690x0000227e,0x0000222a,0x000001ef,0x00050051, 19210x0000211e,0x00006379,0x000001cc,0x000400f6,
19700x00000006,0x0000227f,0x0000227e,0x00000001, 19220x00002135,0x00002132,0x00000000,0x000400fa,
19710x00050051,0x00000006,0x00002280,0x0000227e, 19230x0000211e,0x0000211f,0x00002135,0x000200f8,
19720x00000000,0x00050080,0x00000006,0x00002285, 19240x0000211f,0x000500ae,0x0000002f,0x00002122,
19730x00002231,0x0000227f,0x00050050,0x00000007, 19250x00001432,0x00006379,0x000300f7,0x0000212a,
19740x00002286,0x00002280,0x00002285,0x0004007c, 19260x00000000,0x000400fa,0x00002122,0x00002123,
19750x00000014,0x00002276,0x00002286,0x00060041, 19270x00002129,0x000200f8,0x00002129,0x000200f9,
19760x0000016c,0x0000226e,0x00002276,0x0000016b, 19280x0000212a,0x000200f8,0x00002123,0x00050082,
19770x0000016b,0x0005003e,0x0000226e,0x00002263, 19290x00000006,0x00002126,0x00001432,0x00006379,
19300x00050041,0x0000099d,0x00002127,0x00000f64,
19310x00002126,0x0004003d,0x00000006,0x00002128,
19320x00002127,0x000200f9,0x0000212a,0x000200f8,
19330x0000212a,0x000700f5,0x00000006,0x00006394,
19340x00002128,0x00002123,0x00000140,0x00002129,
19350x000400e0,0x00000288,0x00000288,0x000009b5,
19360x0004003d,0x00000006,0x0000212f,0x0000211a,
19370x00050080,0x00000006,0x00002130,0x0000212f,
19380x00006394,0x0003003e,0x0000211a,0x00002130,
19390x000400e0,0x00000288,0x00000288,0x000009b5,
19400x000200f9,0x00002132,0x000200f8,0x00002132,
19410x000500c4,0x00000006,0x00002134,0x00006379,
19420x0000026c,0x000200f9,0x0000211b,0x000200f8,
19430x00002135,0x000500ab,0x0000002f,0x00002137,
19440x00006378,0x00000140,0x000300f7,0x00002146,
19450x00000000,0x000400fa,0x00002137,0x00002138,
19460x00002146,0x000200f8,0x00002138,0x000300f7,
19470x000022fc,0x00000000,0x000400fa,0x000021a6,
19480x000022f7,0x000022fb,0x000200f8,0x000022fb,
19490x000200f9,0x000022fc,0x000200f8,0x000022f7,
19500x00050082,0x00000006,0x000022fa,0x0000217e,
19510x0000014a,0x000200f9,0x000022fc,0x000200f8,
19520x000022fc,0x000700f5,0x00000006,0x0000637a,
19530x000022fa,0x000022f7,0x00000140,0x000022fb,
19540x00050084,0x00000006,0x000022c1,0x000000f3,
19550x0000637a,0x00050080,0x00000006,0x000022c2,
19560x00002179,0x000022c1,0x000300f7,0x00002309,
19570x00000000,0x000400fa,0x000021a6,0x00002304,
19580x00002308,0x000200f8,0x00002308,0x000200f9,
19590x00002309,0x000200f8,0x00002304,0x00050082,
19600x00000006,0x00002307,0x0000217e,0x0000014a,
19610x000200f9,0x00002309,0x000200f8,0x00002309,
19620x000700f5,0x00000006,0x0000637b,0x00002307,
19630x00002304,0x00000140,0x00002308,0x00050084,
19640x00000006,0x000022bb,0x000000f3,0x0000637b,
19650x00050080,0x00000006,0x000022bc,0x000022c2,
19660x000022bb,0x000300f7,0x00002316,0x00000000,
19670x000400fa,0x000021a6,0x00002311,0x00002315,
19680x000200f8,0x00002315,0x000200f9,0x00002316,
19690x000200f8,0x00002311,0x00050082,0x00000006,
19700x00002314,0x0000217e,0x0000014a,0x000200f9,
19710x00002316,0x000200f8,0x00002316,0x000700f5,
19720x00000006,0x0000637c,0x00002314,0x00002311,
19730x00000140,0x00002315,0x00050084,0x00000006,
19740x000022b5,0x000000f3,0x0000637c,0x00050080,
19750x00000006,0x000022b6,0x000022bc,0x000022b5,
19760x000300f7,0x00002323,0x00000000,0x000400fa,
19770x000021a6,0x0000231e,0x00002322,0x000200f8,
19780x00002322,0x000200f9,0x00002323,0x000200f8,
19790x0000231e,0x00050082,0x00000006,0x00002321,
19800x0000217e,0x0000014a,0x000200f9,0x00002323,
19810x000200f8,0x00002323,0x000700f5,0x00000006,
19820x0000637d,0x00002321,0x0000231e,0x00000140,
19830x00002322,0x00050084,0x00000006,0x000022af,
19840x000000f3,0x0000637d,0x00050080,0x00000006,
19850x000022b0,0x000022b6,0x000022af,0x00050084,
19860x00000006,0x0000213b,0x000000f3,0x00002109,
19870x00050080,0x00000006,0x0000213c,0x000022b0,
19880x0000213b,0x0004003d,0x00000006,0x00002140,
19890x0000211a,0x00050080,0x00000006,0x00002141,
19900x00006387,0x00002140,0x00050082,0x00000006,
19910x00002142,0x00002141,0x0000014a,0x00050095,
19920x00000145,0x0000233c,0x0000220b,0x0000213c,
19930x00050051,0x00000006,0x0000233d,0x0000233c,
19940x00000001,0x00050051,0x00000006,0x0000233e,
19950x0000233c,0x00000000,0x00050080,0x00000006,
19960x00002343,0x00002212,0x0000233d,0x00050050,
19970x00000007,0x00002344,0x0000233e,0x00002343,
19980x0004007c,0x00000014,0x00002334,0x00002344,
19990x00060041,0x00000174,0x0000232c,0x00002334,
20000x00000173,0x00000173,0x0005003e,0x0000232c,
20010x00002142,0x00000002,0x00000004,0x000200f9,
20020x00002146,0x000200f8,0x00002146,0x00050041,
20030x0000099d,0x00002147,0x00000f64,0x00000c01,
20040x0004003d,0x00000006,0x00002148,0x00002147,
20050x00050080,0x00000006,0x0000214a,0x00006387,
20060x00002148,0x000400e0,0x00000288,0x00000288,
20070x000009b5,0x000200f9,0x0000214b,0x000200f8,
20080x0000214b,0x00050080,0x00000006,0x0000214d,
20090x00006374,0x000001cc,0x000200f9,0x00002101,
20100x000200f8,0x0000214e,0x000200f9,0x000014ef,
20110x000200f8,0x0000142c,0x000500aa,0x0000002f,
20120x00001437,0x000013be,0x0000035d,0x000300f7,
20130x00001439,0x00000000,0x000400fa,0x00001437,
20140x00001438,0x00001439,0x000200f8,0x00001438,
20150x000500aa,0x0000002f,0x0000143b,0x000013a7,
20160x00000140,0x000300f7,0x0000143d,0x00000000,
20170x000400fa,0x0000143b,0x0000143c,0x0000143d,
20180x000200f8,0x0000143c,0x000300f7,0x000023ff,
20190x00000000,0x000300fb,0x00000140,0x00002386,
20200x000200f8,0x00002386,0x000300f7,0x0000243a,
20210x00000000,0x000300fb,0x00000140,0x0000240c,
20220x000200f8,0x0000240c,0x00050041,0x000001c3,
20230x0000245b,0x000001c1,0x000001c2,0x0004003d,
20240x00000006,0x0000245c,0x0000245b,0x00050084,
20250x00000006,0x0000245d,0x000001e3,0x0000245c,
20260x00050080,0x00000006,0x0000245e,0x000001cc,
20270x0000245d,0x00050080,0x00000006,0x00002464,
20280x0000245c,0x00000695,0x00050086,0x00000006,
20290x00002465,0x00002464,0x000001c6,0x00050084,
20300x00000006,0x00002457,0x000001cc,0x00002465,
20310x00050080,0x00000006,0x00002458,0x0000245e,
20320x00002457,0x00050080,0x00000006,0x00002452,
20330x00002458,0x00002457,0x00050041,0x000001c3,
20340x00002449,0x000001c1,0x000001f8,0x0004003d,
20350x00000006,0x0000244a,0x00002449,0x00050084,
20360x00000006,0x0000244b,0x000001f7,0x0000244a,
20370x00050080,0x00000006,0x0000244c,0x00002452,
20380x0000244b,0x00050041,0x0000026e,0x00002443,
20390x000001c1,0x0000026c,0x0004003d,0x00000007,
20400x00002444,0x00002443,0x00050051,0x00000006,
20410x0000247a,0x00002444,0x00000000,0x00050095,
20420x00000145,0x0000247c,0x0000247a,0x0000244c,
20430x00050051,0x00000006,0x0000247d,0x0000247c,
20440x00000001,0x00050051,0x00000006,0x0000247e,
20450x0000247c,0x00000000,0x00050051,0x00000006,
20460x00002481,0x00002444,0x00000001,0x00050080,
20470x00000006,0x00002483,0x00002481,0x0000247d,
20480x00050050,0x00000007,0x00002484,0x0000247e,
20490x00002483,0x0004007c,0x00000014,0x00002474,
20500x00002484,0x000200f9,0x0000240f,0x000200f8,
20510x0000240f,0x000700f5,0x00000006,0x0000635d,
20520x00000140,0x0000240c,0x0000241d,0x00002413,
20530x000500b0,0x0000002f,0x00002412,0x0000635d,
20540x0000035d,0x000400f6,0x0000241e,0x00002413,
20550x00000000,0x000400fa,0x00002412,0x00002413,
20560x0000241e,0x000200f8,0x00002413,0x00050080,
20570x00000006,0x00002417,0x0000014a,0x0000635d,
20580x00060041,0x00000174,0x00002418,0x00002474,
20590x00000173,0x00002417,0x000700f1,0x00000006,
20600x00002419,0x00002418,0x0000014a,0x00000140,
20610x00000140,0x00050041,0x00000009,0x0000241a,
20620x00002404,0x0000635d,0x0003003e,0x0000241a,
20630x00002419,0x00050080,0x00000006,0x0000241d,
20640x0000635d,0x0000026c,0x000200f9,0x0000240f,
20650x000200f8,0x0000241e,0x00050041,0x00000009,
20660x0000241f,0x00002404,0x00000173,0x0004003d,
20670x00000006,0x00002420,0x0000241f,0x000500aa,
20680x0000002f,0x00002421,0x00002420,0x000003bf,
20690x000300f7,0x00002425,0x00000000,0x000400fa,
20700x00002421,0x00002422,0x00002425,0x000200f8,
20710x00002422,0x000200f9,0x0000243a,0x000200f8,
20720x00002425,0x0004003d,0x00000006,0x00002427,
20730x0000241f,0x000500c7,0x00000006,0x00002489,
20740x00002427,0x00000249,0x000500ab,0x0000002f,
20750x0000248a,0x00002489,0x00000140,0x000300f7,
20760x00002491,0x00000000,0x000400fa,0x0000248a,
20770x0000248b,0x0000248e,0x000200f8,0x0000248e,
20780x000400c8,0x00000006,0x00002490,0x00002427,
20790x000200f9,0x00002491,0x000200f8,0x0000248b,
20800x000500c7,0x00000006,0x0000248d,0x00002427,
20810x0000025e,0x000200f9,0x00002491,0x000200f8,
20820x00002491,0x000700f5,0x00000006,0x0000635e,
20830x0000248d,0x0000248b,0x00002490,0x0000248e,
20840x0004007c,0x00000027,0x00002493,0x0000635e,
20850x00050041,0x00000009,0x00002429,0x00002404,
20860x0000026c,0x0004003d,0x00000006,0x0000242a,
20870x00002429,0x000500c7,0x00000006,0x00002498,
20880x0000242a,0x00000249,0x000500ab,0x0000002f,
20890x00002499,0x00002498,0x00000140,0x000300f7,
20900x000024a0,0x00000000,0x000400fa,0x00002499,
20910x0000249a,0x0000249d,0x000200f8,0x0000249d,
20920x000400c8,0x00000006,0x0000249f,0x0000242a,
20930x000200f9,0x000024a0,0x000200f8,0x0000249a,
20940x000500c7,0x00000006,0x0000249c,0x0000242a,
20950x0000025e,0x000200f9,0x000024a0,0x000200f8,
20960x000024a0,0x000700f5,0x00000006,0x0000635f,
20970x0000249c,0x0000249a,0x0000249f,0x0000249d,
20980x0004007c,0x00000027,0x000024a2,0x0000635f,
20990x00050041,0x00000009,0x0000242c,0x00002404,
21000x0000031d,0x0004003d,0x00000006,0x0000242d,
21010x0000242c,0x000500c7,0x00000006,0x000024a7,
21020x0000242d,0x00000249,0x000500ab,0x0000002f,
21030x000024a8,0x000024a7,0x00000140,0x000300f7,
21040x000024af,0x00000000,0x000400fa,0x000024a8,
21050x000024a9,0x000024ac,0x000200f8,0x000024ac,
21060x000400c8,0x00000006,0x000024ae,0x0000242d,
21070x000200f9,0x000024af,0x000200f8,0x000024a9,
21080x000500c7,0x00000006,0x000024ab,0x0000242d,
21090x0000025e,0x000200f9,0x000024af,0x000200f8,
21100x000024af,0x000700f5,0x00000006,0x00006360,
21110x000024ab,0x000024a9,0x000024ae,0x000024ac,
21120x0004007c,0x00000027,0x000024b1,0x00006360,
21130x00060050,0x0000006c,0x0000242f,0x00002493,
21140x000024a2,0x000024b1,0x00050041,0x00000009,
21150x00002430,0x00002404,0x00000325,0x0004003d,
21160x00000006,0x00002431,0x00002430,0x000500c7,
21170x00000006,0x000024b6,0x00002431,0x00000249,
21180x000500ab,0x0000002f,0x000024b7,0x000024b6,
21190x00000140,0x000300f7,0x000024be,0x00000000,
21200x000400fa,0x000024b7,0x000024b8,0x000024bb,
21210x000200f8,0x000024bb,0x000400c8,0x00000006,
21220x000024bd,0x00002431,0x000200f9,0x000024be,
21230x000200f8,0x000024b8,0x000500c7,0x00000006,
21240x000024ba,0x00002431,0x0000025e,0x000200f9,
21250x000024be,0x000200f8,0x000024be,0x000700f5,
21260x00000006,0x00006361,0x000024ba,0x000024b8,
21270x000024bd,0x000024bb,0x0004007c,0x00000027,
21280x000024c0,0x00006361,0x00050041,0x00000009,
21290x00002433,0x00002404,0x0000032d,0x0004003d,
21300x00000006,0x00002434,0x00002433,0x000500c7,
21310x00000006,0x000024c5,0x00002434,0x00000249,
21320x000500ab,0x0000002f,0x000024c6,0x000024c5,
21330x00000140,0x000300f7,0x000024cd,0x00000000,
21340x000400fa,0x000024c6,0x000024c7,0x000024ca,
21350x000200f8,0x000024ca,0x000400c8,0x00000006,
21360x000024cc,0x00002434,0x000200f9,0x000024cd,
21370x000200f8,0x000024c7,0x000500c7,0x00000006,
21380x000024c9,0x00002434,0x0000025e,0x000200f9,
21390x000024cd,0x000200f8,0x000024cd,0x000700f5,
21400x00000006,0x00006362,0x000024c9,0x000024c7,
21410x000024cc,0x000024ca,0x0004007c,0x00000027,
21420x000024cf,0x00006362,0x00050041,0x00000009,
21430x00002436,0x00002404,0x00000335,0x0004003d,
21440x00000006,0x00002437,0x00002436,0x000500c7,
21450x00000006,0x000024d4,0x00002437,0x00000249,
21460x000500ab,0x0000002f,0x000024d5,0x000024d4,
21470x00000140,0x000300f7,0x000024dc,0x00000000,
21480x000400fa,0x000024d5,0x000024d6,0x000024d9,
21490x000200f8,0x000024d9,0x000400c8,0x00000006,
21500x000024db,0x00002437,0x000200f9,0x000024dc,
21510x000200f8,0x000024d6,0x000500c7,0x00000006,
21520x000024d8,0x00002437,0x0000025e,0x000200f9,
21530x000024dc,0x000200f8,0x000024dc,0x000700f5,
21540x00000006,0x00006363,0x000024d8,0x000024d6,
21550x000024db,0x000024d9,0x0004007c,0x00000027,
21560x000024de,0x00006363,0x00060050,0x0000006c,
21570x00002439,0x000024c0,0x000024cf,0x000024de,
21580x000200f9,0x0000243a,0x000200f8,0x0000243a,
21590x000700f5,0x0000006c,0x00006368,0x00006532,
21600x00002422,0x00002439,0x000024dc,0x000700f5,
21610x0000006c,0x00006364,0x000005dc,0x00002422,
21620x0000242f,0x000024dc,0x00050041,0x0000026e,
21630x0000238a,0x000001c1,0x00000173,0x0004003d,
21640x00000007,0x0000238b,0x0000238a,0x00050051,
21650x00000027,0x0000238d,0x00006364,0x00000000,
21660x0004007c,0x00000006,0x000024e4,0x0000238d,
21670x00050051,0x00000006,0x000024fd,0x0000238b,
21680x00000000,0x00050095,0x00000145,0x000024ff,
21690x000024fd,0x000001e3,0x00050051,0x00000006,
21700x00002500,0x000024ff,0x00000001,0x00050051,
21710x00000006,0x00002501,0x000024ff,0x00000000,
21720x00050051,0x00000006,0x00002504,0x0000238b,
21730x00000001,0x00050080,0x00000006,0x00002506,
21740x00002504,0x00002500,0x00050050,0x00000007,
21750x00002507,0x00002501,0x00002506,0x0004007c,
21760x00000014,0x000024f7,0x00002507,0x00060041,
21770x00000174,0x000024ef,0x000024f7,0x00000173,
21780x00000173,0x0005003e,0x000024ef,0x000024e4,
19780x00000002,0x00000004,0x00050051,0x00000027, 21790x00000002,0x00000004,0x00050051,0x00000027,
19790x000020c9,0x00005f40,0x00000000,0x0004007c, 21800x00002392,0x00006364,0x00000001,0x0004007c,
19800x00000006,0x0000228c,0x000020c9,0x00050095, 21810x00000006,0x0000250d,0x00002392,0x00050095,
19810x0000013d,0x000022a7,0x0000222a,0x000006d9, 21820x00000145,0x00002528,0x000024fd,0x000002a1,
19820x00050051,0x00000006,0x000022a8,0x000022a7, 21830x00050051,0x00000006,0x00002529,0x00002528,
19830x00000001,0x00050051,0x00000006,0x000022a9, 21840x00000001,0x00050051,0x00000006,0x0000252a,
19840x000022a7,0x00000000,0x00050080,0x00000006, 21850x00002528,0x00000000,0x00050080,0x00000006,
19850x000022ae,0x00002231,0x000022a8,0x00050050, 21860x0000252f,0x00002504,0x00002529,0x00050050,
19860x00000007,0x000022af,0x000022a9,0x000022ae, 21870x00000007,0x00002530,0x0000252a,0x0000252f,
19870x0004007c,0x00000014,0x0000229f,0x000022af, 21880x0004007c,0x00000014,0x00002520,0x00002530,
19880x00060041,0x0000016c,0x00002297,0x0000229f, 21890x00060041,0x00000174,0x00002518,0x00002520,
19890x0000016b,0x0000016b,0x0005003e,0x00002297, 21900x00000173,0x00000173,0x0005003e,0x00002518,
19900x0000228c,0x00000002,0x00000004,0x00050051, 21910x0000250d,0x00000002,0x00000004,0x00050051,
19910x00000027,0x000020ce,0x00005f40,0x00000001, 21920x00000027,0x00002397,0x00006364,0x00000002,
19920x0004007c,0x00000006,0x000022b5,0x000020ce, 21930x0004007c,0x00000006,0x00002536,0x00002397,
19930x00050095,0x0000013d,0x000022d0,0x0000222a, 21940x00050095,0x00000145,0x00002551,0x000024fd,
19940x00000205,0x00050051,0x00000006,0x000022d1, 21950x000001f7,0x00050051,0x00000006,0x00002552,
19950x000022d0,0x00000001,0x00050051,0x00000006, 21960x00002551,0x00000001,0x00050051,0x00000006,
19960x000022d2,0x000022d0,0x00000000,0x00050080, 21970x00002553,0x00002551,0x00000000,0x00050080,
19970x00000006,0x000022d7,0x00002231,0x000022d1, 21980x00000006,0x00002558,0x00002504,0x00002552,
19980x00050050,0x00000007,0x000022d8,0x000022d2, 21990x00050050,0x00000007,0x00002559,0x00002553,
19990x000022d7,0x0004007c,0x00000014,0x000022c8, 22000x00002558,0x0004007c,0x00000014,0x00002549,
20000x000022d8,0x00060041,0x0000016c,0x000022c0, 22010x00002559,0x00060041,0x00000174,0x00002541,
20010x000022c8,0x0000016b,0x0000016b,0x0005003e, 22020x00002549,0x00000173,0x00000173,0x0005003e,
20020x000022c0,0x000022b5,0x00000002,0x00000004, 22030x00002541,0x00002536,0x00000002,0x00000004,
20030x00050051,0x00000027,0x000020d3,0x00005f40, 22040x00050051,0x00000027,0x0000239c,0x00006368,
20040x00000002,0x0004007c,0x00000006,0x000022de, 22050x00000000,0x0004007c,0x00000006,0x0000255f,
20050x000020d3,0x00050095,0x0000013d,0x000022f9, 22060x0000239c,0x00050095,0x00000145,0x0000257a,
20060x0000222a,0x00000500,0x00050051,0x00000006, 22070x000024fd,0x0000073f,0x00050051,0x00000006,
20070x000022fa,0x000022f9,0x00000001,0x00050051, 22080x0000257b,0x0000257a,0x00000001,0x00050051,
20080x00000006,0x000022fb,0x000022f9,0x00000000, 22090x00000006,0x0000257c,0x0000257a,0x00000000,
20090x00050080,0x00000006,0x00002300,0x00002231, 22100x00050080,0x00000006,0x00002581,0x00002504,
20100x000022fa,0x00050050,0x00000007,0x00002301, 22110x0000257b,0x00050050,0x00000007,0x00002582,
20110x000022fb,0x00002300,0x0004007c,0x00000014, 22120x0000257c,0x00002581,0x0004007c,0x00000014,
20120x000022f1,0x00002301,0x00060041,0x0000016c, 22130x00002572,0x00002582,0x00060041,0x00000174,
20130x000022e9,0x000022f1,0x0000016b,0x0000016b, 22140x0000256a,0x00002572,0x00000173,0x00000173,
20140x0005003e,0x000022e9,0x000022de,0x00000002, 22150x0005003e,0x0000256a,0x0000255f,0x00000002,
20150x00000004,0x00050041,0x000001bb,0x000020d5, 22160x00000004,0x00050051,0x00000027,0x000023a1,
20160x000001b9,0x00000434,0x0004003d,0x00000006, 22170x00006368,0x00000001,0x0004007c,0x00000006,
20170x000020d6,0x000020d5,0x000500aa,0x0000002f, 22180x00002588,0x000023a1,0x00050095,0x00000145,
20180x000020d7,0x000020d6,0x00000142,0x000300f7, 22190x000025a3,0x000024fd,0x0000020d,0x00050051,
20190x000020d9,0x00000000,0x000400fa,0x000020d7, 22200x00000006,0x000025a4,0x000025a3,0x00000001,
20200x000020d8,0x000020d9,0x000200f8,0x000020d8, 22210x00050051,0x00000006,0x000025a5,0x000025a3,
20210x000200f9,0x0000212c,0x000200f8,0x000020d9, 22220x00000000,0x00050080,0x00000006,0x000025aa,
20220x000500b2,0x0000002f,0x000020dc,0x00002177, 22230x00002504,0x000025a4,0x00050050,0x00000007,
20230x00000142,0x000300f7,0x000020e2,0x00000000, 22240x000025ab,0x000025a5,0x000025aa,0x0004007c,
20240x000400fa,0x000020dc,0x000020dd,0x000020de, 22250x00000014,0x0000259b,0x000025ab,0x00060041,
20250x000200f8,0x000020de,0x00050095,0x0000013d, 22260x00000174,0x00002593,0x0000259b,0x00000173,
20260x0000231a,0x000021a7,0x000001ef,0x00050051, 22270x00000173,0x0005003e,0x00002593,0x00002588,
20270x00000006,0x0000231b,0x0000231a,0x00000001, 22280x00000002,0x00000004,0x00050051,0x00000027,
20280x00050051,0x00000006,0x0000231c,0x0000231a, 22290x000023a6,0x00006368,0x00000002,0x0004007c,
20290x00000000,0x00050080,0x00000006,0x00002321, 22300x00000006,0x000025b1,0x000023a6,0x00050095,
20300x000021ae,0x0000231b,0x00050050,0x00000007, 22310x00000145,0x000025cc,0x000024fd,0x00000567,
20310x00002322,0x0000231c,0x00002321,0x0004007c, 22320x00050051,0x00000006,0x000025cd,0x000025cc,
20320x00000014,0x00002312,0x00002322,0x00060041, 22330x00000001,0x00050051,0x00000006,0x000025ce,
20330x0000016c,0x00002309,0x00002312,0x0000016b, 22340x000025cc,0x00000000,0x00050080,0x00000006,
20340x0000016b,0x0006003d,0x00000006,0x0000230a, 22350x000025d3,0x00002504,0x000025cd,0x00050050,
20350x00002309,0x00000002,0x00000004,0x000200f9, 22360x00000007,0x000025d4,0x000025ce,0x000025d3,
20360x000020e2,0x000200f8,0x000020dd,0x000200f9, 22370x0004007c,0x00000014,0x000025c4,0x000025d4,
20370x000020e2,0x000200f8,0x000020e2,0x000700f5, 22380x00060041,0x00000174,0x000025bc,0x000025c4,
20380x00000006,0x00005f41,0x00000142,0x000020dd, 22390x00000173,0x00000173,0x0005003e,0x000025bc,
20390x0000230a,0x000020de,0x00050041,0x000001bb, 22400x000025b1,0x00000002,0x00000004,0x00050041,
20400x000020e4,0x000001b9,0x0000035a,0x0004003d, 22410x000001c3,0x000023a8,0x000001c1,0x0000049b,
20410x00000006,0x000020e5,0x000020e4,0x00050041, 22420x0004003d,0x00000006,0x000023a9,0x000023a8,
20420x000001bb,0x00002329,0x000001b9,0x00000334, 22430x000500aa,0x0000002f,0x000023aa,0x000023a9,
20430x0004003d,0x00000006,0x0000232a,0x00002329, 22440x0000014a,0x000300f7,0x000023ac,0x00000000,
20440x000500c7,0x00000006,0x0000232b,0x0000232a, 22450x000400fa,0x000023aa,0x000023ab,0x000023ac,
20450x00000280,0x000500ab,0x0000002f,0x0000232c, 22460x000200f8,0x000023ab,0x000200f9,0x000023ff,
20460x0000232b,0x00000138,0x000600a9,0x00000006, 22470x000200f8,0x000023ac,0x000500b2,0x0000002f,
20470x00002326,0x0000232c,0x000001c4,0x00000342, 22480x000023af,0x0000244a,0x0000014a,0x000300f7,
20480x00050084,0x00000006,0x000020e8,0x00002326, 22490x000023b5,0x00000000,0x000400fa,0x000023af,
20490x00005f41,0x00050080,0x00000006,0x000020e9, 22500x000023b0,0x000023b1,0x000200f8,0x000023b1,
20500x000020e5,0x000020e8,0x000300f7,0x000020fe, 22510x00050095,0x00000145,0x000025ed,0x0000247a,
20510x00000000,0x000400fa,0x0000232c,0x000020eb, 22520x000001f7,0x00050051,0x00000006,0x000025ee,
20520x000020fe,0x000200f8,0x000020eb,0x000200f9, 22530x000025ed,0x00000001,0x00050051,0x00000006,
20530x000020ec,0x000200f8,0x000020ec,0x000700f5, 22540x000025ef,0x000025ed,0x00000000,0x00050080,
20540x00000006,0x00005f42,0x00000138,0x000020eb, 22550x00000006,0x000025f4,0x00002481,0x000025ee,
20550x000020fa,0x000020f0,0x000500b0,0x0000002f, 22560x00050050,0x00000007,0x000025f5,0x000025ef,
20560x000020ef,0x00005f42,0x000001db,0x000400f6, 22570x000025f4,0x0004007c,0x00000014,0x000025e5,
20570x000020fb,0x000020f0,0x00000000,0x000400fa, 22580x000025f5,0x00060041,0x00000174,0x000025dc,
20580x000020ef,0x000020f0,0x000020fb,0x000200f8, 22590x000025e5,0x00000173,0x00000173,0x0006003d,
20590x000020f0,0x00050084,0x00000006,0x000020f3, 22600x00000006,0x000025dd,0x000025dc,0x00000002,
20600x000000ec,0x00005f42,0x00050080,0x00000006, 22610x00000004,0x000200f9,0x000023b5,0x000200f8,
20610x000020f4,0x000020e9,0x000020f3,0x00050095, 22620x000023b0,0x000200f9,0x000023b5,0x000200f8,
20620x0000013d,0x0000234a,0x0000222a,0x000020f4, 22630x000023b5,0x000700f5,0x00000006,0x00006369,
20630x00050051,0x00000006,0x0000234b,0x0000234a, 22640x0000014a,0x000023b0,0x000025dd,0x000023b1,
20640x00000001,0x00050051,0x00000006,0x0000234c, 22650x00050041,0x000001c3,0x000023b7,0x000001c1,
20650x0000234a,0x00000000,0x00050080,0x00000006, 22660x00000362,0x0004003d,0x00000006,0x000023b8,
20660x00002351,0x00002231,0x0000234b,0x00050050, 22670x000023b7,0x000500c7,0x00000006,0x000025fe,
20670x00000007,0x00002352,0x0000234c,0x00002351, 22680x000013a9,0x00000288,0x000500ab,0x0000002f,
20680x0004007c,0x00000014,0x00002342,0x00002352, 22690x000025ff,0x000025fe,0x00000140,0x000600a9,
20690x00060041,0x0000016c,0x0000233a,0x00002342, 22700x00000006,0x000025f9,0x000025ff,0x000001cc,
20700x0000016b,0x0000016b,0x0005003e,0x0000233a, 22710x0000034a,0x00050084,0x00000006,0x000023bb,
20710x00000138,0x00000002,0x00000004,0x00050080, 22720x000025f9,0x00006369,0x00050080,0x00000006,
20720x00000006,0x000020fa,0x00005f42,0x00000264, 22730x000023bc,0x000023b8,0x000023bb,0x000300f7,
20730x000200f9,0x000020ec,0x000200f8,0x000020fb, 22740x000023d1,0x00000000,0x000400fa,0x000025ff,
20740x00050080,0x00000006,0x000020fd,0x000020e9, 22750x000023be,0x000023d1,0x000200f8,0x000023be,
20750x000001c4,0x000200f9,0x000020fe,0x000200f8, 22760x000200f9,0x000023bf,0x000200f8,0x000023bf,
20760x000020fe,0x000700f5,0x00000006,0x00005f44, 22770x000700f5,0x00000006,0x0000636a,0x00000140,
20770x000020e9,0x000020e2,0x000020fd,0x000020fb, 22780x000023be,0x000023cd,0x000023c3,0x000500b0,
20780x000500c7,0x00000006,0x00002357,0x0000232a, 22790x0000002f,0x000023c2,0x0000636a,0x000001e3,
20790x00000142,0x000500ab,0x0000002f,0x00002358, 22800x000400f6,0x000023ce,0x000023c3,0x00000000,
20800x00002357,0x00000138,0x000600a9,0x00000006, 22810x000400fa,0x000023c2,0x000023c3,0x000023ce,
20810x00002101,0x00002358,0x00000355,0x0000610e, 22820x000200f8,0x000023c3,0x00050084,0x00000006,
20820x00050095,0x0000013d,0x00002370,0x0000222a, 22830x000023c6,0x000000f3,0x0000636a,0x00050080,
20830x00000138,0x00050051,0x00000006,0x00002371, 22840x00000006,0x000023c7,0x000023bc,0x000023c6,
20840x00002370,0x00000001,0x00050051,0x00000006, 22850x00050095,0x00000145,0x0000261d,0x000024fd,
20850x00002372,0x00002370,0x00000000,0x00050080, 22860x000023c7,0x00050051,0x00000006,0x0000261e,
20860x00000006,0x00002377,0x00002231,0x00002371, 22870x0000261d,0x00000001,0x00050051,0x00000006,
20870x00050050,0x00000007,0x00002378,0x00002372, 22880x0000261f,0x0000261d,0x00000000,0x00050080,
20880x00002377,0x0004007c,0x00000014,0x00002368, 22890x00000006,0x00002624,0x00002504,0x0000261e,
20890x00002378,0x00060041,0x0000016c,0x00002360, 22900x00050050,0x00000007,0x00002625,0x0000261f,
20900x00002368,0x0000016b,0x0000016b,0x0005003e, 22910x00002624,0x0004007c,0x00000014,0x00002615,
20910x00002360,0x00002101,0x00000002,0x00000004, 22920x00002625,0x00060041,0x00000174,0x0000260d,
20920x00050086,0x00000006,0x00002106,0x00005f44, 22930x00002615,0x00000173,0x00000173,0x0005003e,
20930x000001c4,0x00050082,0x00000006,0x00002107, 22940x0000260d,0x00000140,0x00000002,0x00000004,
20940x00002106,0x00000142,0x00050095,0x0000013d, 22950x00050080,0x00000006,0x000023cd,0x0000636a,
20950x00002390,0x0000222a,0x000000ec,0x00050051, 22960x0000026c,0x000200f9,0x000023bf,0x000200f8,
20960x00000006,0x00002391,0x00002390,0x00000001, 22970x000023ce,0x00050080,0x00000006,0x000023d0,
20970x00050051,0x00000006,0x00002392,0x00002390, 22980x000023bc,0x000001cc,0x000200f9,0x000023d1,
20980x00000000,0x00050080,0x00000006,0x00002397, 22990x000200f8,0x000023d1,0x000700f5,0x00000006,
20990x00002231,0x00002391,0x00050050,0x00000007, 23000x0000636c,0x000023bc,0x000023b5,0x000023d0,
21000x00002398,0x00002392,0x00002397,0x0004007c, 23010x000023ce,0x000500c7,0x00000006,0x0000262a,
21010x00000014,0x00002388,0x00002398,0x00060041, 23020x000013a9,0x0000014a,0x000500ab,0x0000002f,
21020x0000016c,0x00002380,0x00002388,0x0000016b, 23030x0000262b,0x0000262a,0x00000140,0x000600a9,
21030x0000016b,0x0005003e,0x00002380,0x00002107, 23040x00000006,0x000023d4,0x0000262b,0x0000035d,
21040x00000002,0x00000004,0x00050095,0x0000013d, 23050x00006542,0x00050095,0x00000145,0x00002643,
21050x000023b0,0x0000222a,0x000001cd,0x00050051, 23060x000024fd,0x00000140,0x00050051,0x00000006,
21060x00000006,0x000023b1,0x000023b0,0x00000001, 23070x00002644,0x00002643,0x00000001,0x00050051,
21070x00050051,0x00000006,0x000023b2,0x000023b0, 23080x00000006,0x00002645,0x00002643,0x00000000,
21080x00000000,0x00050080,0x00000006,0x000023b7, 23090x00050080,0x00000006,0x0000264a,0x00002504,
21090x00002231,0x000023b1,0x00050050,0x00000007, 23100x00002644,0x00050050,0x00000007,0x0000264b,
21100x000023b8,0x000023b2,0x000023b7,0x0004007c, 23110x00002645,0x0000264a,0x0004007c,0x00000014,
21110x00000014,0x000023a8,0x000023b8,0x00060041, 23120x0000263b,0x0000264b,0x00060041,0x00000174,
21120x0000016c,0x000023a0,0x000023a8,0x0000016b, 23130x00002633,0x0000263b,0x00000173,0x00000173,
21130x0000016b,0x0005003e,0x000023a0,0x00000138, 23140x0005003e,0x00002633,0x000023d4,0x00000002,
21140x00000002,0x00000004,0x00050095,0x0000013d, 23150x00000004,0x00050086,0x00000006,0x000023d9,
21150x000023d0,0x0000222a,0x000001d4,0x00050051, 23160x0000636c,0x000001cc,0x00050082,0x00000006,
21160x00000006,0x000023d1,0x000023d0,0x00000001, 23170x000023da,0x000023d9,0x0000014a,0x00050095,
21170x00050051,0x00000006,0x000023d2,0x000023d0, 23180x00000145,0x00002663,0x000024fd,0x000000f3,
21180x00000000,0x00050080,0x00000006,0x000023d7, 23190x00050051,0x00000006,0x00002664,0x00002663,
21190x00002231,0x000023d1,0x00050050,0x00000007, 23200x00000001,0x00050051,0x00000006,0x00002665,
21200x000023d8,0x000023d2,0x000023d7,0x0004007c, 23210x00002663,0x00000000,0x00050080,0x00000006,
21210x00000014,0x000023c8,0x000023d8,0x00060041, 23220x0000266a,0x00002504,0x00002664,0x00050050,
21220x0000016c,0x000023c0,0x000023c8,0x0000016b, 23230x00000007,0x0000266b,0x00002665,0x0000266a,
21230x0000016b,0x0005003e,0x000023c0,0x00002177, 23240x0004007c,0x00000014,0x0000265b,0x0000266b,
21240x00000002,0x00000004,0x00050095,0x0000013d, 23250x00060041,0x00000174,0x00002653,0x0000265b,
21250x000023f0,0x0000222a,0x0000050b,0x00050051, 23260x00000173,0x00000173,0x0005003e,0x00002653,
21260x00000006,0x000023f1,0x000023f0,0x00000001, 23270x000023da,0x00000002,0x00000004,0x00050095,
21270x00050051,0x00000006,0x000023f2,0x000023f0, 23280x00000145,0x00002683,0x000024fd,0x000001d5,
21280x00000000,0x00050080,0x00000006,0x000023f7, 23290x00050051,0x00000006,0x00002684,0x00002683,
21290x00002231,0x000023f1,0x00050050,0x00000007, 23300x00000001,0x00050051,0x00000006,0x00002685,
21300x000023f8,0x000023f2,0x000023f7,0x0004007c, 23310x00002683,0x00000000,0x00050080,0x00000006,
21310x00000014,0x000023e8,0x000023f8,0x00060041, 23320x0000268a,0x00002504,0x00002684,0x00050050,
21320x0000016c,0x000023e0,0x000023e8,0x0000016b, 23330x00000007,0x0000268b,0x00002685,0x0000268a,
21330x0000016b,0x0005003e,0x000023e0,0x000020e5, 23340x0004007c,0x00000014,0x0000267b,0x0000268b,
21340x00000002,0x00000004,0x00050095,0x0000013d, 23350x00060041,0x00000174,0x00002673,0x0000267b,
21350x00002410,0x0000222a,0x00000516,0x00050051, 23360x00000173,0x00000173,0x0005003e,0x00002673,
21360x00000006,0x00002411,0x00002410,0x00000001, 23370x00000140,0x00000002,0x00000004,0x00050095,
21370x00050051,0x00000006,0x00002412,0x00002410, 23380x00000145,0x000026a3,0x000024fd,0x000001dc,
21380x00000000,0x00050080,0x00000006,0x00002417, 23390x00050051,0x00000006,0x000026a4,0x000026a3,
21390x00002231,0x00002411,0x00050050,0x00000007, 23400x00000001,0x00050051,0x00000006,0x000026a5,
21400x00002418,0x00002412,0x00002417,0x0004007c, 23410x000026a3,0x00000000,0x00050080,0x00000006,
21410x00000014,0x00002408,0x00002418,0x00060041, 23420x000026aa,0x00002504,0x000026a4,0x00050050,
21420x0000016c,0x00002400,0x00002408,0x0000016b, 23430x00000007,0x000026ab,0x000026a5,0x000026aa,
21430x0000016b,0x0005003e,0x00002400,0x00000138, 23440x0004007c,0x00000014,0x0000269b,0x000026ab,
21440x00000002,0x00000004,0x000500c2,0x00000006, 23450x00060041,0x00000174,0x00002693,0x0000269b,
21450x00002421,0x000020e5,0x00000351,0x000500c4, 23460x00000173,0x00000173,0x0005003e,0x00002693,
21460x00000006,0x00002422,0x00002421,0x0000031d, 23470x0000244a,0x00000002,0x00000004,0x00050095,
21470x000600a9,0x00000006,0x00002424,0x0000232c, 23480x00000145,0x000026c3,0x000024fd,0x00000572,
21480x000000ec,0x00000364,0x000500c5,0x00000006, 23490x00050051,0x00000006,0x000026c4,0x000026c3,
21490x00002425,0x00002422,0x00002424,0x00050095, 23500x00000001,0x00050051,0x00000006,0x000026c5,
21500x0000013d,0x0000244d,0x0000222a,0x00000521, 23510x000026c3,0x00000000,0x00050080,0x00000006,
21510x00050051,0x00000006,0x0000244e,0x0000244d, 23520x000026ca,0x00002504,0x000026c4,0x00050050,
21520x00000001,0x00050051,0x00000006,0x0000244f, 23530x00000007,0x000026cb,0x000026c5,0x000026ca,
21530x0000244d,0x00000000,0x00050080,0x00000006, 23540x0004007c,0x00000014,0x000026bb,0x000026cb,
21540x00002454,0x00002231,0x0000244e,0x00050050, 23550x00060041,0x00000174,0x000026b3,0x000026bb,
21550x00000007,0x00002455,0x0000244f,0x00002454, 23560x00000173,0x00000173,0x0005003e,0x000026b3,
21560x0004007c,0x00000014,0x00002445,0x00002455, 23570x000023b8,0x00000002,0x00000004,0x00050095,
21570x00060041,0x0000016c,0x0000243d,0x00002445, 23580x00000145,0x000026e3,0x000024fd,0x0000057d,
21580x0000016b,0x0000016b,0x0005003e,0x0000243d, 23590x00050051,0x00000006,0x000026e4,0x000026e3,
21590x00002425,0x00000002,0x00000004,0x00050041, 23600x00000001,0x00050051,0x00000006,0x000026e5,
21600x000001bb,0x00002121,0x000001b9,0x0000034a, 23610x000026e3,0x00000000,0x00050080,0x00000006,
21610x0004003d,0x00000006,0x00002122,0x00002121, 23620x000026ea,0x00002504,0x000026e4,0x00050050,
21620x00050095,0x0000013d,0x0000246d,0x0000222a, 23630x00000007,0x000026eb,0x000026e5,0x000026ea,
21630x0000052d,0x00050051,0x00000006,0x0000246e, 23640x0004007c,0x00000014,0x000026db,0x000026eb,
21640x0000246d,0x00000001,0x00050051,0x00000006, 23650x00060041,0x00000174,0x000026d3,0x000026db,
21650x0000246f,0x0000246d,0x00000000,0x00050080, 23660x00000173,0x00000173,0x0005003e,0x000026d3,
21660x00000006,0x00002474,0x00002231,0x0000246e, 23670x00000140,0x00000002,0x00000004,0x000500c2,
21670x00050050,0x00000007,0x00002475,0x0000246f, 23680x00000006,0x000026f4,0x000023b8,0x00000359,
21680x00002474,0x0004007c,0x00000014,0x00002465, 23690x000500c4,0x00000006,0x000026f5,0x000026f4,
21690x00002475,0x00060041,0x0000016c,0x0000245d, 23700x00000325,0x000600a9,0x00000006,0x000026f7,
21700x00002465,0x0000016b,0x0000016b,0x0005003e, 23710x000025ff,0x000000f3,0x0000036c,0x000500c5,
21710x0000245d,0x00002122,0x00000002,0x00000004, 23720x00000006,0x000026f8,0x000026f5,0x000026f7,
21720x00050041,0x000001bb,0x00002126,0x000001b9, 23730x00050095,0x00000145,0x00002720,0x000024fd,
21730x000010be,0x0004003d,0x00000006,0x00002127, 23740x00000588,0x00050051,0x00000006,0x00002721,
21740x00002126,0x00050095,0x0000013d,0x0000248d, 23750x00002720,0x00000001,0x00050051,0x00000006,
21750x0000222a,0x00000537,0x00050051,0x00000006, 23760x00002722,0x00002720,0x00000000,0x00050080,
21760x0000248e,0x0000248d,0x00000001,0x00050051, 23770x00000006,0x00002727,0x00002504,0x00002721,
21770x00000006,0x0000248f,0x0000248d,0x00000000, 23780x00050050,0x00000007,0x00002728,0x00002722,
21780x00050080,0x00000006,0x00002494,0x00002231, 23790x00002727,0x0004007c,0x00000014,0x00002718,
21790x0000248e,0x00050050,0x00000007,0x00002495, 23800x00002728,0x00060041,0x00000174,0x00002710,
21800x0000248f,0x00002494,0x0004007c,0x00000014, 23810x00002718,0x00000173,0x00000173,0x0005003e,
21810x00002485,0x00002495,0x00060041,0x0000016c, 23820x00002710,0x000026f8,0x00000002,0x00000004,
21820x0000247d,0x00002485,0x0000016b,0x0000016b, 23830x00050041,0x000001c3,0x000023f4,0x000001c1,
21830x0005003e,0x0000247d,0x00002127,0x00000002, 23840x00000352,0x0004003d,0x00000006,0x000023f5,
21840x00000004,0x00050095,0x0000013d,0x000024ad, 23850x000023f4,0x00050095,0x00000145,0x00002740,
21850x0000222a,0x00000541,0x00050051,0x00000006, 23860x000024fd,0x00000594,0x00050051,0x00000006,
21860x000024ae,0x000024ad,0x00000001,0x00050051, 23870x00002741,0x00002740,0x00000001,0x00050051,
21870x00000006,0x000024af,0x000024ad,0x00000000, 23880x00000006,0x00002742,0x00002740,0x00000000,
21880x00050080,0x00000006,0x000024b4,0x00002231, 23890x00050080,0x00000006,0x00002747,0x00002504,
21890x000024ae,0x00050050,0x00000007,0x000024b5, 23900x00002741,0x00050050,0x00000007,0x00002748,
21900x000024af,0x000024b4,0x0004007c,0x00000014, 23910x00002742,0x00002747,0x0004007c,0x00000014,
21910x000024a5,0x000024b5,0x00060041,0x0000016c, 23920x00002738,0x00002748,0x00060041,0x00000174,
21920x0000249d,0x000024a5,0x0000016b,0x0000016b, 23930x00002730,0x00002738,0x00000173,0x00000173,
21930x0005003e,0x0000249d,0x00000138,0x00000002, 23940x0005003e,0x00002730,0x000023f5,0x00000002,
21940x00000004,0x000200f9,0x0000212c,0x000200f8, 23950x00000004,0x00050041,0x000001c3,0x000023f9,
21950x0000212c,0x000200f9,0x0000134b,0x000200f8, 23960x000001c1,0x000003c1,0x0004003d,0x00000006,
21960x0000134b,0x000200f9,0x000013fd,0x000200f8, 23970x000023fa,0x000023f9,0x00050095,0x00000145,
21970x00001347,0x00050041,0x000001bb,0x0000134f, 23980x00002760,0x000024fd,0x0000059e,0x00050051,
21980x000001b9,0x0000074d,0x0004003d,0x00000006, 23990x00000006,0x00002761,0x00002760,0x00000001,
21990x00001350,0x0000134f,0x000500ae,0x0000002f, 24000x00050051,0x00000006,0x00002762,0x00002760,
22000x00001351,0x000012dd,0x00001350,0x000300f7, 24010x00000000,0x00050080,0x00000006,0x00002767,
22010x00001353,0x00000000,0x000400fa,0x00001351, 24020x00002504,0x00002761,0x00050050,0x00000007,
22020x00001352,0x00001353,0x000200f8,0x00001352, 24030x00002768,0x00002762,0x00002767,0x0004007c,
22030x000200f9,0x000013fd,0x000200f8,0x00001353, 24040x00000014,0x00002758,0x00002768,0x00060041,
22040x000500aa,0x0000002f,0x00001358,0x000012df, 24050x00000174,0x00002750,0x00002758,0x00000173,
22050x00001357,0x000300f7,0x0000135a,0x00000000, 24060x00000173,0x0005003e,0x00002750,0x000023fa,
22060x000400fa,0x00001358,0x00001359,0x0000135a, 24070x00000002,0x00000004,0x00050095,0x00000145,
22070x000200f8,0x00001359,0x000500aa,0x0000002f, 24080x00002780,0x000024fd,0x000005a7,0x00050051,
22080x0000135c,0x000012dd,0x00000138,0x000300f7, 24090x00000006,0x00002781,0x00002780,0x00000001,
22090x0000135e,0x00000000,0x000400fa,0x0000135c, 24100x00050051,0x00000006,0x00002782,0x00002780,
22100x0000135d,0x0000135e,0x000200f8,0x0000135d, 24110x00000000,0x00050080,0x00000006,0x00002787,
22110x00050041,0x00000266,0x00001360,0x000001b9, 24120x00002504,0x00002781,0x00050050,0x00000007,
22120x00000315,0x0004003d,0x00000007,0x00001361, 24130x00002788,0x00002782,0x00002787,0x0004007c,
22130x00001360,0x00050051,0x00000006,0x000024cc, 24140x00000014,0x00002778,0x00002788,0x00060041,
22140x00001361,0x00000000,0x00050095,0x0000013d, 24150x00000174,0x00002770,0x00002778,0x00000173,
22150x000024ce,0x000024cc,0x000000ec,0x00050051, 24160x00000173,0x0005003e,0x00002770,0x00000140,
22160x00000006,0x000024cf,0x000024ce,0x00000001, 24170x00000002,0x00000004,0x000200f9,0x000023ff,
22170x00050051,0x00000006,0x000024d0,0x000024ce, 24180x000200f8,0x000023ff,0x000200f9,0x0000143d,
22180x00000000,0x00050051,0x00000006,0x000024d3, 24190x000200f8,0x0000143d,0x000200f9,0x000014ef,
22190x00001361,0x00000001,0x00050080,0x00000006, 24200x000200f8,0x00001439,0x00050041,0x000001c3,
22200x000024d5,0x000024d3,0x000024cf,0x00050050, 24210x00001441,0x000001c1,0x000007b3,0x0004003d,
22210x00000007,0x000024d6,0x000024d0,0x000024d5, 24220x00000006,0x00001442,0x00001441,0x000500ae,
22220x0004007c,0x00000014,0x000024c6,0x000024d6, 24230x0000002f,0x00001443,0x000013a7,0x00001442,
22230x00060041,0x0000016c,0x000024bd,0x000024c6, 24240x000300f7,0x00001445,0x00000000,0x000400fa,
22240x0000016b,0x0000016b,0x0006003d,0x00000006, 24250x00001443,0x00001444,0x00001445,0x000200f8,
22250x000024be,0x000024bd,0x00000002,0x00000004, 24260x00001444,0x000200f9,0x000014ef,0x000200f8,
22260x00050080,0x00000006,0x00001364,0x000024be, 24270x00001445,0x000500aa,0x0000002f,0x0000144a,
22270x00000142,0x00050084,0x00000006,0x00001365, 24280x000013be,0x00001449,0x000300f7,0x0000144c,
22280x00001364,0x000001c4,0x00050041,0x00000266, 24290x00000000,0x000400fa,0x0000144a,0x0000144b,
22290x00001367,0x000001b9,0x0000016b,0x0004003d, 24300x0000144c,0x000200f8,0x0000144b,0x000500aa,
22300x00000007,0x00001368,0x00001367,0x00050051, 24310x0000002f,0x0000144e,0x000013a7,0x00000140,
22310x00000006,0x000024ec,0x00001368,0x00000000, 24320x000300f7,0x00001450,0x00000000,0x000400fa,
22320x00050095,0x0000013d,0x000024ee,0x000024ec, 24330x0000144e,0x0000144f,0x00001450,0x000200f8,
22330x00000138,0x00050051,0x00000006,0x000024ef, 24340x0000144f,0x00050041,0x0000026e,0x00001452,
22340x000024ee,0x00000001,0x00050051,0x00000006, 24350x000001c1,0x0000031d,0x0004003d,0x00000007,
22350x000024f0,0x000024ee,0x00000000,0x00050051, 24360x00001453,0x00001452,0x00050051,0x00000006,
22360x00000006,0x000024f3,0x00001368,0x00000001, 24370x0000279f,0x00001453,0x00000000,0x00050095,
22370x00050080,0x00000006,0x000024f5,0x000024f3, 24380x00000145,0x000027a1,0x0000279f,0x000000f3,
22380x000024ef,0x00050050,0x00000007,0x000024f6, 24390x00050051,0x00000006,0x000027a2,0x000027a1,
22390x000024f0,0x000024f5,0x0004007c,0x00000014, 24400x00000001,0x00050051,0x00000006,0x000027a3,
22400x000024e6,0x000024f6,0x00060041,0x0000016c, 24410x000027a1,0x00000000,0x00050051,0x00000006,
22410x000024de,0x000024e6,0x0000016b,0x0000016b, 24420x000027a6,0x00001453,0x00000001,0x00050080,
22420x0005003e,0x000024de,0x00001365,0x00000002, 24430x00000006,0x000027a8,0x000027a6,0x000027a2,
22430x00000004,0x00050095,0x0000013d,0x0000250e, 24440x00050050,0x00000007,0x000027a9,0x000027a3,
22440x000024ec,0x000000ec,0x00050051,0x00000006, 24450x000027a8,0x0004007c,0x00000014,0x00002799,
22450x0000250f,0x0000250e,0x00000001,0x00050051, 24460x000027a9,0x00060041,0x00000174,0x00002790,
22460x00000006,0x00002510,0x0000250e,0x00000000, 24470x00002799,0x00000173,0x00000173,0x0006003d,
22470x00050080,0x00000006,0x00002515,0x000024f3, 24480x00000006,0x00002791,0x00002790,0x00000002,
22480x0000250f,0x00050050,0x00000007,0x00002516, 24490x00000004,0x00050080,0x00000006,0x00001456,
22490x00002510,0x00002515,0x0004007c,0x00000014, 24500x00002791,0x0000014a,0x00050084,0x00000006,
22500x00002506,0x00002516,0x00060041,0x0000016c, 24510x00001457,0x00001456,0x000001cc,0x00050041,
22510x000024fe,0x00002506,0x0000016b,0x0000016b, 24520x0000026e,0x00001459,0x000001c1,0x00000173,
22520x0005003e,0x000024fe,0x00000138,0x00000002, 24530x0004003d,0x00000007,0x0000145a,0x00001459,
22530x00000004,0x000200f9,0x0000135e,0x000200f8, 24540x00050051,0x00000006,0x000027bf,0x0000145a,
22540x0000135e,0x000200f9,0x000013fd,0x000200f8, 24550x00000000,0x00050095,0x00000145,0x000027c1,
22550x0000135a,0x000500aa,0x0000002f,0x00001375, 24560x000027bf,0x00000140,0x00050051,0x00000006,
22560x000012df,0x000001d4,0x000300f7,0x00001377, 24570x000027c2,0x000027c1,0x00000001,0x00050051,
22570x00000000,0x000400fa,0x00001375,0x00001376, 24580x00000006,0x000027c3,0x000027c1,0x00000000,
22580x00001377,0x000200f8,0x00001376,0x00050084, 24590x00050051,0x00000006,0x000027c6,0x0000145a,
22590x00000006,0x00001379,0x000000ec,0x000012dd, 24600x00000001,0x00050080,0x00000006,0x000027c8,
22600x00050041,0x00000266,0x0000137b,0x000001b9, 24610x000027c6,0x000027c2,0x00050050,0x00000007,
22610x00000315,0x0004003d,0x00000007,0x0000137c, 24620x000027c9,0x000027c3,0x000027c8,0x0004007c,
22620x0000137b,0x00050051,0x00000006,0x0000252d, 24630x00000014,0x000027b9,0x000027c9,0x00060041,
22630x0000137c,0x00000000,0x00050095,0x0000013d, 24640x00000174,0x000027b1,0x000027b9,0x00000173,
22640x0000252f,0x0000252d,0x000000ec,0x00050051, 24650x00000173,0x0005003e,0x000027b1,0x00001457,
22650x00000006,0x00002530,0x0000252f,0x00000001, 24660x00000002,0x00000004,0x00050095,0x00000145,
22660x00050051,0x00000006,0x00002531,0x0000252f, 24670x000027e1,0x000027bf,0x000000f3,0x00050051,
22670x00000000,0x00050051,0x00000006,0x00002534, 24680x00000006,0x000027e2,0x000027e1,0x00000001,
22680x0000137c,0x00000001,0x00050080,0x00000006, 24690x00050051,0x00000006,0x000027e3,0x000027e1,
22690x00002536,0x00002534,0x00002530,0x00050050, 24700x00000000,0x00050080,0x00000006,0x000027e8,
22700x00000007,0x00002537,0x00002531,0x00002536, 24710x000027c6,0x000027e2,0x00050050,0x00000007,
22710x0004007c,0x00000014,0x00002527,0x00002537, 24720x000027e9,0x000027e3,0x000027e8,0x0004007c,
22720x00060041,0x0000016c,0x0000251e,0x00002527, 24730x00000014,0x000027d9,0x000027e9,0x00060041,
22730x0000016b,0x0000016b,0x0006003d,0x00000006, 24740x00000174,0x000027d1,0x000027d9,0x00000173,
22740x0000251f,0x0000251e,0x00000002,0x00000004, 24750x00000173,0x0005003e,0x000027d1,0x00000140,
22750x00050080,0x00000006,0x0000137f,0x0000251f, 24760x00000002,0x00000004,0x000200f9,0x00001450,
22760x00000142,0x00050084,0x00000006,0x00001380, 24770x000200f8,0x00001450,0x000200f9,0x000014ef,
22770x0000137f,0x000001c4,0x000500b0,0x0000002f, 24780x000200f8,0x0000144c,0x000500aa,0x0000002f,
22780x00001381,0x00001379,0x00001380,0x000300f7, 24790x00001467,0x000013be,0x000001dc,0x000300f7,
22790x00001383,0x00000000,0x000400fa,0x00001381, 24800x00001469,0x00000000,0x000400fa,0x00001467,
22800x00001382,0x00001383,0x000200f8,0x00001382, 24810x00001468,0x00001469,0x000200f8,0x00001468,
22810x00050095,0x0000013d,0x00002550,0x0000252d, 24820x00050084,0x00000006,0x0000146b,0x000000f3,
22820x00001379,0x00050051,0x00000006,0x00002551, 24830x000013a7,0x00050041,0x0000026e,0x0000146d,
22830x00002550,0x00000001,0x00050051,0x00000006, 24840x000001c1,0x0000031d,0x0004003d,0x00000007,
22840x00002552,0x00002550,0x00000000,0x00050080, 24850x0000146e,0x0000146d,0x00050051,0x00000006,
22850x00000006,0x00002557,0x00002534,0x00002551, 24860x00002800,0x0000146e,0x00000000,0x00050095,
22860x00050050,0x00000007,0x00002558,0x00002552, 24870x00000145,0x00002802,0x00002800,0x000000f3,
22870x00002557,0x0004007c,0x00000014,0x00002548, 24880x00050051,0x00000006,0x00002803,0x00002802,
22880x00002558,0x00060041,0x0000016c,0x0000253f, 24890x00000001,0x00050051,0x00000006,0x00002804,
22890x00002548,0x0000016b,0x0000016b,0x0006003d, 24900x00002802,0x00000000,0x00050051,0x00000006,
22900x00000006,0x00002540,0x0000253f,0x00000002, 24910x00002807,0x0000146e,0x00000001,0x00050080,
22910x00000004,0x00050041,0x00000266,0x0000138e, 24920x00000006,0x00002809,0x00002807,0x00002803,
22920x000001b9,0x0000016b,0x0004003d,0x00000007, 24930x00050050,0x00000007,0x0000280a,0x00002804,
22930x0000138f,0x0000138e,0x00050051,0x00000006, 24940x00002809,0x0004007c,0x00000014,0x000027fa,
22940x0000256e,0x0000138f,0x00000000,0x00050095, 24950x0000280a,0x00060041,0x00000174,0x000027f1,
22950x0000013d,0x00002570,0x0000256e,0x00001379, 24960x000027fa,0x00000173,0x00000173,0x0006003d,
22960x00050051,0x00000006,0x00002571,0x00002570, 24970x00000006,0x000027f2,0x000027f1,0x00000002,
22970x00000001,0x00050051,0x00000006,0x00002572, 24980x00000004,0x00050080,0x00000006,0x00001471,
22980x00002570,0x00000000,0x00050051,0x00000006, 24990x000027f2,0x0000014a,0x00050084,0x00000006,
22990x00002575,0x0000138f,0x00000001,0x00050080, 25000x00001472,0x00001471,0x000001cc,0x000500b0,
23000x00000006,0x00002577,0x00002575,0x00002571, 25010x0000002f,0x00001473,0x0000146b,0x00001472,
23010x00050050,0x00000007,0x00002578,0x00002572, 25020x000300f7,0x00001475,0x00000000,0x000400fa,
23020x00002577,0x0004007c,0x00000014,0x00002568, 25030x00001473,0x00001474,0x00001475,0x000200f8,
23030x00002578,0x00060041,0x0000016c,0x00002560, 25040x00001474,0x00050095,0x00000145,0x00002823,
23040x00002568,0x0000016b,0x0000016b,0x0005003e, 25050x00002800,0x0000146b,0x00050051,0x00000006,
23050x00002560,0x00002540,0x00000002,0x00000004, 25060x00002824,0x00002823,0x00000001,0x00050051,
23060x000200f9,0x00001383,0x000200f8,0x00001383, 25070x00000006,0x00002825,0x00002823,0x00000000,
23070x000200f9,0x000013fd,0x000200f8,0x00001377, 25080x00050080,0x00000006,0x0000282a,0x00002807,
23080x000500aa,0x0000002f,0x00001396,0x000012df, 25090x00002824,0x00050050,0x00000007,0x0000282b,
23090x00000138,0x000300f7,0x00001398,0x00000000, 25100x00002825,0x0000282a,0x0004007c,0x00000014,
23100x000400fa,0x00001396,0x00001397,0x000013b9, 25110x0000281b,0x0000282b,0x00060041,0x00000174,
23110x000200f8,0x000013b9,0x000500aa,0x0000002f, 25120x00002812,0x0000281b,0x00000173,0x00000173,
23120x000013bc,0x000012df,0x00000142,0x000300f7, 25130x0006003d,0x00000006,0x00002813,0x00002812,
23130x000013be,0x00000000,0x000400fa,0x000013bc, 25140x00000002,0x00000004,0x00050041,0x0000026e,
23140x000013bd,0x000013c2,0x000200f8,0x000013c2, 25150x00001480,0x000001c1,0x00000173,0x0004003d,
23150x000500aa,0x0000002f,0x000013c5,0x000012df, 25160x00000007,0x00001481,0x00001480,0x00050051,
23160x00000280,0x000300f7,0x000013c7,0x00000000, 25170x00000006,0x00002841,0x00001481,0x00000000,
23170x000400fa,0x000013c5,0x000013c6,0x000013cb, 25180x00050095,0x00000145,0x00002843,0x00002841,
23180x000200f8,0x000013cb,0x000500aa,0x0000002f, 25190x0000146b,0x00050051,0x00000006,0x00002844,
23190x000013ce,0x000012df,0x00000470,0x000300f7, 25200x00002843,0x00000001,0x00050051,0x00000006,
23200x000013d0,0x00000000,0x000400fa,0x000013ce, 25210x00002845,0x00002843,0x00000000,0x00050051,
23210x000013cf,0x000013d4,0x000200f8,0x000013d4, 25220x00000006,0x00002848,0x00001481,0x00000001,
23220x000500aa,0x0000002f,0x000013d7,0x000012df, 25230x00050080,0x00000006,0x0000284a,0x00002848,
23230x000000ec,0x000300f7,0x000013d9,0x00000000, 25240x00002844,0x00050050,0x00000007,0x0000284b,
23240x000400fa,0x000013d7,0x000013d8,0x000013de, 25250x00002845,0x0000284a,0x0004007c,0x00000014,
23250x000200f8,0x000013de,0x000500aa,0x0000002f, 25260x0000283b,0x0000284b,0x00060041,0x00000174,
23260x000013e1,0x000012df,0x00000364,0x000300f7, 25270x00002833,0x0000283b,0x00000173,0x00000173,
23270x000013e3,0x00000000,0x000400fa,0x000013e1, 25280x0005003e,0x00002833,0x00002813,0x00000002,
23280x000013e2,0x000013e7,0x000200f8,0x000013e7, 25290x00000004,0x000200f9,0x00001475,0x000200f8,
23290x000500aa,0x0000002f,0x000013eb,0x000012df, 25300x00001475,0x000200f9,0x000014ef,0x000200f8,
23300x000013ea,0x000300f7,0x000013ed,0x00000000, 25310x00001469,0x000500aa,0x0000002f,0x00001488,
23310x000400fa,0x000013eb,0x000013ec,0x000013f1, 25320x000013be,0x00000140,0x000300f7,0x0000148a,
23320x000200f8,0x000013f1,0x000500aa,0x0000002f, 25330x00000000,0x000400fa,0x00001488,0x00001489,
23330x000013f5,0x000012df,0x000013f4,0x000300f7, 25340x000014ab,0x000200f8,0x000014ab,0x000500aa,
23340x000013f7,0x00000000,0x000400fa,0x000013f5, 25350x0000002f,0x000014ae,0x000013be,0x0000014a,
23350x000013f6,0x000013f7,0x000200f8,0x000013f6, 25360x000300f7,0x000014b0,0x00000000,0x000400fa,
23360x00050041,0x000001bb,0x00005a4a,0x000001b9, 25370x000014ae,0x000014af,0x000014b4,0x000200f8,
23370x000001ba,0x0004003d,0x00000006,0x00005a4b, 25380x000014b4,0x000500aa,0x0000002f,0x000014b7,
23380x00005a4a,0x00050084,0x00000006,0x00005a4c, 25390x000013be,0x00000288,0x000300f7,0x000014b9,
23390x000001db,0x00005a4b,0x00050080,0x00000006, 25400x00000000,0x000400fa,0x000014b7,0x000014b8,
23400x00005a4d,0x000001c4,0x00005a4c,0x00050080, 25410x000014bd,0x000200f8,0x000014bd,0x000500aa,
23410x00000006,0x00005a53,0x00005a4b,0x0000062f, 25420x0000002f,0x000014c0,0x000013be,0x000004d7,
23420x00050086,0x00000006,0x00005a54,0x00005a53, 25430x000300f7,0x000014c2,0x00000000,0x000400fa,
23430x000001be,0x00050084,0x00000006,0x00005a46, 25440x000014c0,0x000014c1,0x000014c6,0x000200f8,
23440x000001c4,0x00005a54,0x00050080,0x00000006, 25450x000014c6,0x000500aa,0x0000002f,0x000014c9,
23450x00005a47,0x00005a4d,0x00005a46,0x00050080, 25460x000013be,0x000000f3,0x000300f7,0x000014cb,
23460x00000006,0x00005a41,0x00005a47,0x00005a46, 25470x00000000,0x000400fa,0x000014c9,0x000014ca,
23470x00050041,0x000001bb,0x00005a38,0x000001b9, 25480x000014d0,0x000200f8,0x000014d0,0x000500aa,
23480x000001f0,0x0004003d,0x00000006,0x00005a39, 25490x0000002f,0x000014d3,0x000013be,0x0000036c,
23490x00005a38,0x00050084,0x00000006,0x00005a3a, 25500x000300f7,0x000014d5,0x00000000,0x000400fa,
23500x000001ef,0x00005a39,0x00050080,0x00000006, 25510x000014d3,0x000014d4,0x000014d9,0x000200f8,
23510x00005a3b,0x00005a41,0x00005a3a,0x00050084, 25520x000014d9,0x000500aa,0x0000002f,0x000014dd,
23520x00000006,0x00005a30,0x00000205,0x000012dd, 25530x000013be,0x000014dc,0x000300f7,0x000014df,
23530x00050080,0x00000006,0x00005a31,0x00005a3b, 25540x00000000,0x000400fa,0x000014dd,0x000014de,
23540x00005a30,0x00050041,0x00000266,0x00005a32, 25550x000014e3,0x000200f8,0x000014e3,0x000500aa,
23550x000001b9,0x00000264,0x0004003d,0x00000007, 25560x0000002f,0x000014e7,0x000013be,0x000014e6,
23560x00005a33,0x00005a32,0x00050051,0x00000006, 25570x000300f7,0x000014e9,0x00000000,0x000400fa,
23570x00005a69,0x00005a33,0x00000000,0x00050095, 25580x000014e7,0x000014e8,0x000014e9,0x000200f8,
23580x0000013d,0x00005a6b,0x00005a69,0x00005a31, 25590x000014e8,0x00050041,0x000001c3,0x00005e2c,
23590x00050051,0x00000006,0x00005a6c,0x00005a6b, 25600x000001c1,0x000001c2,0x0004003d,0x00000006,
23600x00000001,0x00050051,0x00000006,0x00005a6d, 25610x00005e2d,0x00005e2c,0x00050084,0x00000006,
23610x00005a6b,0x00000000,0x00050051,0x00000006, 25620x00005e2e,0x000001e3,0x00005e2d,0x00050080,
23620x00005a70,0x00005a33,0x00000001,0x00050080, 25630x00000006,0x00005e2f,0x000001cc,0x00005e2e,
23630x00000006,0x00005a72,0x00005a70,0x00005a6c, 25640x00050080,0x00000006,0x00005e35,0x00005e2d,
23640x00050050,0x00000007,0x00005a73,0x00005a6d, 25650x00000695,0x00050086,0x00000006,0x00005e36,
23650x00005a72,0x0004007c,0x00000014,0x00005a63, 25660x00005e35,0x000001c6,0x00050084,0x00000006,
23660x00005a73,0x00060041,0x0000016c,0x00005a1d, 25670x00005e28,0x000001cc,0x00005e36,0x00050080,
23670x00005a63,0x0000016b,0x0000016b,0x0005003e, 25680x00000006,0x00005e29,0x00005e2f,0x00005e28,
23680x00005a1d,0x00000138,0x00000002,0x00000004, 25690x00050080,0x00000006,0x00005e23,0x00005e29,
23690x00060041,0x0000016c,0x00005a1f,0x00005a63, 25700x00005e28,0x00050041,0x000001c3,0x00005e1a,
23700x0000016b,0x00000264,0x0005003e,0x00005a1f, 25710x000001c1,0x000001f8,0x0004003d,0x00000006,
23710x00000539,0x00000002,0x00000004,0x00060041, 25720x00005e1b,0x00005e1a,0x00050084,0x00000006,
23720x0000016c,0x00005a21,0x00005a63,0x0000016b, 25730x00005e1c,0x000001f7,0x00005e1b,0x00050080,
23730x00000315,0x0005003e,0x00005a21,0x00000539, 25740x00000006,0x00005e1d,0x00005e23,0x00005e1c,
23740x00000002,0x00000004,0x00060041,0x0000016c, 25750x00050084,0x00000006,0x00005e12,0x0000020d,
23750x00005a23,0x00005a63,0x0000016b,0x0000031d, 25760x000013a7,0x00050080,0x00000006,0x00005e13,
23760x0005003e,0x00005a23,0x00000539,0x00000002, 25770x00005e1d,0x00005e12,0x00050041,0x0000026e,
23770x00000004,0x00060041,0x0000016c,0x00005a25, 25780x00005e14,0x000001c1,0x0000026c,0x0004003d,
23780x00005a63,0x0000016b,0x00000325,0x0005003e, 25790x00000007,0x00005e15,0x00005e14,0x00050051,
23790x00005a25,0x00000138,0x00000002,0x00000004, 25800x00000006,0x00005e4b,0x00005e15,0x00000000,
23800x00060041,0x0000016c,0x00005a27,0x00005a63, 25810x00050095,0x00000145,0x00005e4d,0x00005e4b,
23810x0000016b,0x0000032d,0x0005003e,0x00005a27, 25820x00005e13,0x00050051,0x00000006,0x00005e4e,
23820x00000138,0x00000002,0x00000004,0x00060041, 25830x00005e4d,0x00000001,0x00050051,0x00000006,
23830x0000016c,0x00005a29,0x00005a63,0x0000016b, 25840x00005e4f,0x00005e4d,0x00000000,0x00050051,
23840x00000351,0x0005003e,0x00005a29,0x00000138, 25850x00000006,0x00005e52,0x00005e15,0x00000001,
23850x00000002,0x00000004,0x000200f9,0x000013f7, 25860x00050080,0x00000006,0x00005e54,0x00005e52,
23860x000200f8,0x000013f7,0x000200f9,0x000013ed, 25870x00005e4e,0x00050050,0x00000007,0x00005e55,
23870x000200f8,0x000013ec,0x000300f7,0x000051a3, 25880x00005e4f,0x00005e54,0x0004007c,0x00000014,
23880x00000000,0x000300fb,0x00000138,0x0000510e, 25890x00005e45,0x00005e55,0x00060041,0x00000174,
23890x000200f8,0x0000510e,0x00050041,0x000001bb, 25900x00005dff,0x00005e45,0x00000173,0x00000173,
23900x0000510f,0x000001b9,0x00000434,0x0004003d, 25910x0005003e,0x00005dff,0x00000140,0x00000002,
23910x00000006,0x00005110,0x0000510f,0x000500aa, 25920x00000004,0x00060041,0x00000174,0x00005e01,
23920x0000002f,0x00005111,0x00005110,0x00000142, 25930x00005e45,0x00000173,0x0000026c,0x0005003e,
23930x000300f7,0x0000511d,0x00000000,0x000400fa, 25940x00005e01,0x000003bf,0x00000002,0x00000004,
23940x00005111,0x00005112,0x00005115,0x000200f8, 25950x00060041,0x00000174,0x00005e03,0x00005e45,
23950x00005115,0x00050041,0x000001bb,0x00005207, 25960x00000173,0x0000031d,0x0005003e,0x00005e03,
23960x000001b9,0x000001ba,0x0004003d,0x00000006, 25970x000003bf,0x00000002,0x00000004,0x00060041,
23970x00005208,0x00005207,0x00050084,0x00000006, 25980x00000174,0x00005e05,0x00005e45,0x00000173,
23980x00005209,0x000001db,0x00005208,0x00050080, 25990x00000325,0x0005003e,0x00005e05,0x000003bf,
23990x00000006,0x0000520a,0x000001c4,0x00005209, 26000x00000002,0x00000004,0x00060041,0x00000174,
24000x00050080,0x00000006,0x00005210,0x00005208, 26010x00005e07,0x00005e45,0x00000173,0x0000032d,
24010x0000062f,0x00050086,0x00000006,0x00005211, 26020x0005003e,0x00005e07,0x00000140,0x00000002,
24020x00005210,0x000001be,0x00050084,0x00000006, 26030x00000004,0x00060041,0x00000174,0x00005e09,
24030x00005203,0x000001c4,0x00005211,0x00050080, 26040x00005e45,0x00000173,0x00000335,0x0005003e,
24040x00000006,0x00005204,0x0000520a,0x00005203, 26050x00005e09,0x00000140,0x00000002,0x00000004,
24050x00050080,0x00000006,0x000051fe,0x00005204, 26060x00060041,0x00000174,0x00005e0b,0x00005e45,
24060x00005203,0x00050041,0x000001bb,0x000051f5, 26070x00000173,0x00000359,0x0005003e,0x00005e0b,
24070x000001b9,0x000001f0,0x0004003d,0x00000006, 26080x00000140,0x00000002,0x00000004,0x000200f9,
24080x000051f6,0x000051f5,0x00050084,0x00000006, 26090x000014e9,0x000200f8,0x000014e9,0x000200f9,
24090x000051f7,0x000001ef,0x000051f6,0x00050080, 26100x000014df,0x000200f8,0x000014de,0x000300f7,
24100x00000006,0x000051f8,0x000051fe,0x000051f7, 26110x00005481,0x00000000,0x000300fb,0x00000140,
24110x00050041,0x000001bb,0x000051ee,0x000001b9, 26120x000053ec,0x000200f8,0x000053ec,0x00050041,
24120x00000206,0x0004003d,0x00000006,0x000051ef, 26130x000001c3,0x000053ed,0x000001c1,0x0000049b,
24130x000051ee,0x00050084,0x00000006,0x000051f0, 26140x0004003d,0x00000006,0x000053ee,0x000053ed,
24140x00000205,0x000051ef,0x00050080,0x00000006, 26150x000500aa,0x0000002f,0x000053ef,0x000053ee,
24150x000051f1,0x000051f8,0x000051f0,0x000500ac, 26160x0000014a,0x000300f7,0x000053fb,0x00000000,
24160x0000002f,0x0000521e,0x000051f6,0x00000142, 26170x000400fa,0x000053ef,0x000053f0,0x000053f3,
24170x000300f7,0x00005224,0x00000000,0x000400fa, 26180x000200f8,0x000053f3,0x00050041,0x000001c3,
24180x0000521e,0x0000521f,0x00005223,0x000200f8, 26190x000054e5,0x000001c1,0x000001c2,0x0004003d,
24190x00005223,0x000200f9,0x00005224,0x000200f8, 26200x00000006,0x000054e6,0x000054e5,0x00050084,
24200x0000521f,0x00050082,0x00000006,0x00005222, 26210x00000006,0x000054e7,0x000001e3,0x000054e6,
24210x000051f6,0x00000142,0x000200f9,0x00005224, 26220x00050080,0x00000006,0x000054e8,0x000001cc,
24220x000200f8,0x00005224,0x000700f5,0x00000006, 26230x000054e7,0x00050080,0x00000006,0x000054ee,
24230x00005ce3,0x00005222,0x0000521f,0x00000138, 26240x000054e6,0x00000695,0x00050086,0x00000006,
24240x00005223,0x00050084,0x00000006,0x000051e9, 26250x000054ef,0x000054ee,0x000001c6,0x00050084,
24250x000000ec,0x00005ce3,0x00050080,0x00000006, 26260x00000006,0x000054e1,0x000001cc,0x000054ef,
24260x000051ea,0x000051f1,0x000051e9,0x000300f7, 26270x00050080,0x00000006,0x000054e2,0x000054e8,
24270x00005231,0x00000000,0x000400fa,0x0000521e, 26280x000054e1,0x00050080,0x00000006,0x000054dc,
24280x0000522c,0x00005230,0x000200f8,0x00005230, 26290x000054e2,0x000054e1,0x00050041,0x000001c3,
24290x000200f9,0x00005231,0x000200f8,0x0000522c, 26300x000054d3,0x000001c1,0x000001f8,0x0004003d,
24300x00050082,0x00000006,0x0000522f,0x000051f6, 26310x00000006,0x000054d4,0x000054d3,0x00050084,
24310x00000142,0x000200f9,0x00005231,0x000200f8, 26320x00000006,0x000054d5,0x000001f7,0x000054d4,
24320x00005231,0x000700f5,0x00000006,0x00005ce4, 26330x00050080,0x00000006,0x000054d6,0x000054dc,
24330x0000522f,0x0000522c,0x00000138,0x00005230, 26340x000054d5,0x00050041,0x000001c3,0x000054cc,
24340x00050084,0x00000006,0x000051e3,0x000000ec, 26350x000001c1,0x0000020e,0x0004003d,0x00000006,
24350x00005ce4,0x00050080,0x00000006,0x000051e4, 26360x000054cd,0x000054cc,0x00050084,0x00000006,
24360x000051ea,0x000051e3,0x000300f7,0x0000523e, 26370x000054ce,0x0000020d,0x000054cd,0x00050080,
24370x00000000,0x000400fa,0x0000521e,0x00005239, 26380x00000006,0x000054cf,0x000054d6,0x000054ce,
24380x0000523d,0x000200f8,0x0000523d,0x000200f9, 26390x000500ac,0x0000002f,0x000054fc,0x000054d4,
24390x0000523e,0x000200f8,0x00005239,0x00050082, 26400x0000014a,0x000300f7,0x00005502,0x00000000,
24400x00000006,0x0000523c,0x000051f6,0x00000142, 26410x000400fa,0x000054fc,0x000054fd,0x00005501,
24410x000200f9,0x0000523e,0x000200f8,0x0000523e, 26420x000200f8,0x00005501,0x000200f9,0x00005502,
24420x000700f5,0x00000006,0x00005ce5,0x0000523c, 26430x000200f8,0x000054fd,0x00050082,0x00000006,
24430x00005239,0x00000138,0x0000523d,0x00050084, 26440x00005500,0x000054d4,0x0000014a,0x000200f9,
24440x00000006,0x000051dd,0x000000ec,0x00005ce5, 26450x00005502,0x000200f8,0x00005502,0x000700f5,
24450x00050080,0x00000006,0x000051de,0x000051e4, 26460x00000006,0x000060d9,0x00005500,0x000054fd,
24460x000051dd,0x000300f7,0x0000524b,0x00000000, 26470x00000140,0x00005501,0x00050084,0x00000006,
24470x000400fa,0x0000521e,0x00005246,0x0000524a, 26480x000054c7,0x000000f3,0x000060d9,0x00050080,
24480x000200f8,0x0000524a,0x000200f9,0x0000524b, 26490x00000006,0x000054c8,0x000054cf,0x000054c7,
24490x000200f8,0x00005246,0x00050082,0x00000006, 26500x000300f7,0x0000550f,0x00000000,0x000400fa,
24500x00005249,0x000051f6,0x00000142,0x000200f9, 26510x000054fc,0x0000550a,0x0000550e,0x000200f8,
24510x0000524b,0x000200f8,0x0000524b,0x000700f5, 26520x0000550e,0x000200f9,0x0000550f,0x000200f8,
24520x00000006,0x00005ce6,0x00005249,0x00005246, 26530x0000550a,0x00050082,0x00000006,0x0000550d,
24530x00000138,0x0000524a,0x00050084,0x00000006, 26540x000054d4,0x0000014a,0x000200f9,0x0000550f,
24540x000051d7,0x000000ec,0x00005ce6,0x00050080, 26550x000200f8,0x0000550f,0x000700f5,0x00000006,
24550x00000006,0x000051d8,0x000051de,0x000051d7, 26560x000060da,0x0000550d,0x0000550a,0x00000140,
24560x000300f7,0x00005258,0x00000000,0x000400fa, 26570x0000550e,0x00050084,0x00000006,0x000054c1,
24570x0000521e,0x00005253,0x00005257,0x000200f8, 26580x000000f3,0x000060da,0x00050080,0x00000006,
24580x00005257,0x000200f9,0x00005258,0x000200f8, 26590x000054c2,0x000054c8,0x000054c1,0x000300f7,
24590x00005253,0x00050082,0x00000006,0x00005256, 26600x0000551c,0x00000000,0x000400fa,0x000054fc,
24600x000051f6,0x00000142,0x000200f9,0x00005258, 26610x00005517,0x0000551b,0x000200f8,0x0000551b,
24610x000200f8,0x00005258,0x000700f5,0x00000006, 26620x000200f9,0x0000551c,0x000200f8,0x00005517,
24620x00005ce7,0x00005256,0x00005253,0x00000138, 26630x00050082,0x00000006,0x0000551a,0x000054d4,
24630x00005257,0x00050084,0x00000006,0x000051d1, 26640x0000014a,0x000200f9,0x0000551c,0x000200f8,
24640x000000ec,0x00005ce7,0x00050080,0x00000006, 26650x0000551c,0x000700f5,0x00000006,0x000060db,
24650x000051d2,0x000051d8,0x000051d1,0x000300f7, 26660x0000551a,0x00005517,0x00000140,0x0000551b,
24660x0000526b,0x00000000,0x000400fa,0x0000521e, 26670x00050084,0x00000006,0x000054bb,0x000000f3,
24670x00005266,0x0000526a,0x000200f8,0x0000526a, 26680x000060db,0x00050080,0x00000006,0x000054bc,
24680x000200f9,0x0000526b,0x000200f8,0x00005266, 26690x000054c2,0x000054bb,0x000300f7,0x00005529,
24690x00050082,0x00000006,0x00005269,0x000051f6, 26700x00000000,0x000400fa,0x000054fc,0x00005524,
24700x00000142,0x000200f9,0x0000526b,0x000200f8, 26710x00005528,0x000200f8,0x00005528,0x000200f9,
24710x0000526b,0x000700f5,0x00000006,0x00005ce8, 26720x00005529,0x000200f8,0x00005524,0x00050082,
24720x00005269,0x00005266,0x00000138,0x0000526a, 26730x00000006,0x00005527,0x000054d4,0x0000014a,
24730x00050080,0x00000006,0x0000525e,0x00005ce8, 26740x000200f9,0x00005529,0x000200f8,0x00005529,
24740x0000062f,0x00050086,0x00000006,0x0000525f, 26750x000700f5,0x00000006,0x000060dc,0x00005527,
24750x0000525e,0x000001be,0x00050084,0x00000006, 26760x00005524,0x00000140,0x00005528,0x00050084,
24760x000051cb,0x000000ec,0x0000525f,0x00050080, 26770x00000006,0x000054b5,0x000000f3,0x000060dc,
24770x00000006,0x000051cc,0x000051d2,0x000051cb, 26780x00050080,0x00000006,0x000054b6,0x000054bc,
24780x000300f7,0x0000527e,0x00000000,0x000400fa, 26790x000054b5,0x000300f7,0x00005536,0x00000000,
24790x0000521e,0x00005279,0x0000527d,0x000200f8, 26800x000400fa,0x000054fc,0x00005531,0x00005535,
24800x0000527d,0x000200f9,0x0000527e,0x000200f8, 26810x000200f8,0x00005535,0x000200f9,0x00005536,
24810x00005279,0x00050082,0x00000006,0x0000527c, 26820x000200f8,0x00005531,0x00050082,0x00000006,
24820x000051f6,0x00000142,0x000200f9,0x0000527e, 26830x00005534,0x000054d4,0x0000014a,0x000200f9,
24830x000200f8,0x0000527e,0x000700f5,0x00000006, 26840x00005536,0x000200f8,0x00005536,0x000700f5,
24840x00005ce9,0x0000527c,0x00005279,0x00000138, 26850x00000006,0x000060dd,0x00005534,0x00005531,
24850x0000527d,0x00050080,0x00000006,0x00005271, 26860x00000140,0x00005535,0x00050084,0x00000006,
24860x00005ce9,0x0000062f,0x00050086,0x00000006, 26870x000054af,0x000000f3,0x000060dd,0x00050080,
24870x00005272,0x00005271,0x000001be,0x00050084, 26880x00000006,0x000054b0,0x000054b6,0x000054af,
24880x00000006,0x000051c5,0x000000ec,0x00005272, 26890x000300f7,0x00005549,0x00000000,0x000400fa,
24890x00050080,0x00000006,0x000051c6,0x000051cc, 26900x000054fc,0x00005544,0x00005548,0x000200f8,
24900x000051c5,0x00050084,0x00000006,0x00005118, 26910x00005548,0x000200f9,0x00005549,0x000200f8,
24910x000000ec,0x000012dd,0x00050080,0x00000006, 26920x00005544,0x00050082,0x00000006,0x00005547,
24920x00005119,0x000051c6,0x00005118,0x00050041, 26930x000054d4,0x0000014a,0x000200f9,0x00005549,
24930x00000266,0x0000511a,0x000001b9,0x00000264, 26940x000200f8,0x00005549,0x000700f5,0x00000006,
24940x0004003d,0x00000007,0x0000511b,0x0000511a, 26950x000060de,0x00005547,0x00005544,0x00000140,
24950x00050051,0x00000006,0x00005296,0x0000511b, 26960x00005548,0x00050080,0x00000006,0x0000553c,
24960x00000000,0x00050095,0x0000013d,0x00005298, 26970x000060de,0x00000695,0x00050086,0x00000006,
24970x00005296,0x00005119,0x00050051,0x00000006, 26980x0000553d,0x0000553c,0x000001c6,0x00050084,
24980x00005299,0x00005298,0x00000001,0x00050051, 26990x00000006,0x000054a9,0x000000f3,0x0000553d,
24990x00000006,0x0000529a,0x00005298,0x00000000, 27000x00050080,0x00000006,0x000054aa,0x000054b0,
25000x00050051,0x00000006,0x0000529d,0x0000511b, 27010x000054a9,0x000300f7,0x0000555c,0x00000000,
25010x00000001,0x00050080,0x00000006,0x0000529f, 27020x000400fa,0x000054fc,0x00005557,0x0000555b,
25020x0000529d,0x00005299,0x00050050,0x00000007, 27030x000200f8,0x0000555b,0x000200f9,0x0000555c,
25030x000052a0,0x0000529a,0x0000529f,0x0004007c, 27040x000200f8,0x00005557,0x00050082,0x00000006,
25040x00000014,0x00005290,0x000052a0,0x00060041, 27050x0000555a,0x000054d4,0x0000014a,0x000200f9,
25050x0000016c,0x00005287,0x00005290,0x0000016b, 27060x0000555c,0x000200f8,0x0000555c,0x000700f5,
25060x0000016b,0x0006003d,0x00000006,0x00005288, 27070x00000006,0x000060df,0x0000555a,0x00005557,
25070x00005287,0x00000002,0x00000004,0x000200f9, 27080x00000140,0x0000555b,0x00050080,0x00000006,
25080x0000511d,0x000200f8,0x00005112,0x00050041, 27090x0000554f,0x000060df,0x00000695,0x00050086,
25090x000001bb,0x000051a6,0x000001b9,0x0000034a, 27100x00000006,0x00005550,0x0000554f,0x000001c6,
25100x0004003d,0x00000006,0x000051a7,0x000051a6, 27110x00050084,0x00000006,0x000054a3,0x000000f3,
25110x00050041,0x000001bb,0x000051b7,0x000001b9, 27120x00005550,0x00050080,0x00000006,0x000054a4,
25120x00000334,0x0004003d,0x00000006,0x000051b8, 27130x000054aa,0x000054a3,0x00050084,0x00000006,
25130x000051b7,0x000500c7,0x00000006,0x000051b9, 27140x000053f6,0x000000f3,0x000013a7,0x00050080,
25140x000051b8,0x00000142,0x000500ab,0x0000002f, 27150x00000006,0x000053f7,0x000054a4,0x000053f6,
25150x000051ba,0x000051b9,0x00000138,0x000600a9, 27160x00050041,0x0000026e,0x000053f8,0x000001c1,
25160x00000006,0x000051b4,0x000051ba,0x00000342, 27170x0000026c,0x0004003d,0x00000007,0x000053f9,
25170x000001c4,0x00050084,0x00000006,0x000051aa, 27180x000053f8,0x00050051,0x00000006,0x00005574,
25180x000012dd,0x000051b4,0x00050080,0x00000006, 27190x000053f9,0x00000000,0x00050095,0x00000145,
25190x000051ab,0x000051a7,0x000051aa,0x000500c2, 27200x00005576,0x00005574,0x000053f7,0x00050051,
25200x00000006,0x000051ac,0x000051ab,0x00000351, 27210x00000006,0x00005577,0x00005576,0x00000001,
25210x000500c4,0x00000006,0x000051ad,0x000051ac, 27220x00050051,0x00000006,0x00005578,0x00005576,
25220x0000031d,0x000600a9,0x00000006,0x000051af, 27230x00000000,0x00050051,0x00000006,0x0000557b,
25230x000051ba,0x00000355,0x00000138,0x000500c5, 27240x000053f9,0x00000001,0x00050080,0x00000006,
25240x00000006,0x000051b0,0x000051ad,0x000051af, 27250x0000557d,0x0000557b,0x00005577,0x00050050,
25250x000200f9,0x0000511d,0x000200f8,0x0000511d, 27260x00000007,0x0000557e,0x00005578,0x0000557d,
25260x000700f5,0x00000006,0x00005cea,0x000051b0, 27270x0004007c,0x00000014,0x0000556e,0x0000557e,
25270x00005112,0x00005288,0x0000527e,0x00050041, 27280x00060041,0x00000174,0x00005565,0x0000556e,
25280x000001bb,0x000052e6,0x000001b9,0x000001ba, 27290x00000173,0x00000173,0x0006003d,0x00000006,
25290x0004003d,0x00000006,0x000052e7,0x000052e6, 27300x00005566,0x00005565,0x00000002,0x00000004,
25300x00050084,0x00000006,0x000052e8,0x000001db, 27310x000200f9,0x000053fb,0x000200f8,0x000053f0,
25310x000052e7,0x00050080,0x00000006,0x000052e9, 27320x00050041,0x000001c3,0x00005484,0x000001c1,
25320x000001c4,0x000052e8,0x00050080,0x00000006, 27330x00000352,0x0004003d,0x00000006,0x00005485,
25330x000052ef,0x000052e7,0x0000062f,0x00050086, 27340x00005484,0x000500c7,0x00000006,0x00005497,
25340x00000006,0x000052f0,0x000052ef,0x000001be, 27350x000013a9,0x0000014a,0x000500ab,0x0000002f,
25350x00050084,0x00000006,0x000052e2,0x000001c4, 27360x00005498,0x00005497,0x00000140,0x000600a9,
25360x000052f0,0x00050080,0x00000006,0x000052e3, 27370x00000006,0x00005492,0x00005498,0x0000034a,
25370x000052e9,0x000052e2,0x00050080,0x00000006, 27380x000001cc,0x00050084,0x00000006,0x00005488,
25380x000052dd,0x000052e3,0x000052e2,0x00050084, 27390x000013a7,0x00005492,0x00050080,0x00000006,
25390x00000006,0x000052b1,0x000001ef,0x000012dd, 27400x00005489,0x00005485,0x00005488,0x000500c2,
25400x00050080,0x00000006,0x000052b2,0x000052dd, 27410x00000006,0x0000548a,0x00005489,0x00000359,
25410x000052b1,0x00050041,0x00000266,0x000052b3, 27420x000500c4,0x00000006,0x0000548b,0x0000548a,
25420x000001b9,0x00000264,0x0004003d,0x00000007, 27430x00000325,0x000600a9,0x00000006,0x0000548d,
25430x000052b4,0x000052b3,0x00050051,0x00000006, 27440x00005498,0x0000035d,0x00000140,0x000500c5,
25440x0000530e,0x000052b4,0x00000000,0x00050095, 27450x00000006,0x0000548e,0x0000548b,0x0000548d,
25450x0000013d,0x00005310,0x0000530e,0x000052b2, 27460x000200f9,0x000053fb,0x000200f8,0x000053fb,
25460x00050051,0x00000006,0x00005311,0x00005310, 27470x000700f5,0x00000006,0x000060e0,0x0000548e,
25470x00000001,0x00050051,0x00000006,0x00005312, 27480x000053f0,0x00005566,0x0000555c,0x00050041,
25480x00005310,0x00000000,0x00050051,0x00000006, 27490x000001c3,0x000055c4,0x000001c1,0x000001c2,
25490x00005315,0x000052b4,0x00000001,0x00050080, 27500x0004003d,0x00000006,0x000055c5,0x000055c4,
25500x00000006,0x00005317,0x00005315,0x00005311, 27510x00050084,0x00000006,0x000055c6,0x000001e3,
25510x00050050,0x00000007,0x00005318,0x00005312, 27520x000055c5,0x00050080,0x00000006,0x000055c7,
25520x00005317,0x0004007c,0x00000014,0x00005308, 27530x000001cc,0x000055c6,0x00050080,0x00000006,
25530x00005318,0x00060041,0x0000016c,0x000052ff, 27540x000055cd,0x000055c5,0x00000695,0x00050086,
25540x00005308,0x0000016b,0x0000016b,0x0006003d, 27550x00000006,0x000055ce,0x000055cd,0x000001c6,
25550x00000006,0x00005300,0x000052ff,0x00000002, 27560x00050084,0x00000006,0x000055c0,0x000001cc,
25560x00000004,0x0004007c,0x00000027,0x000052b7, 27570x000055ce,0x00050080,0x00000006,0x000055c1,
25570x00005300,0x00050080,0x00000006,0x000052b9, 27580x000055c7,0x000055c0,0x00050080,0x00000006,
25580x000052b2,0x000000ec,0x00050095,0x0000013d, 27590x000055bb,0x000055c1,0x000055c0,0x00050084,
25590x00005331,0x0000530e,0x000052b9,0x00050051, 27600x00000006,0x0000558f,0x000001f7,0x000013a7,
25600x00000006,0x00005332,0x00005331,0x00000001, 27610x00050080,0x00000006,0x00005590,0x000055bb,
25610x00050051,0x00000006,0x00005333,0x00005331, 27620x0000558f,0x00050041,0x0000026e,0x00005591,
25620x00000000,0x00050080,0x00000006,0x00005338, 27630x000001c1,0x0000026c,0x0004003d,0x00000007,
25630x00005315,0x00005332,0x00050050,0x00000007, 27640x00005592,0x00005591,0x00050051,0x00000006,
25640x00005339,0x00005333,0x00005338,0x0004007c, 27650x000055ec,0x00005592,0x00000000,0x00050095,
25650x00000014,0x00005329,0x00005339,0x00060041, 27660x00000145,0x000055ee,0x000055ec,0x00005590,
25660x0000016c,0x00005320,0x00005329,0x0000016b, 27670x00050051,0x00000006,0x000055ef,0x000055ee,
25670x0000016b,0x0006003d,0x00000006,0x00005321, 27680x00000001,0x00050051,0x00000006,0x000055f0,
25680x00005320,0x00000002,0x00000004,0x0004007c, 27690x000055ee,0x00000000,0x00050051,0x00000006,
25690x00000027,0x000052bd,0x00005321,0x00050080, 27700x000055f3,0x00005592,0x00000001,0x00050080,
25700x00000006,0x000052bf,0x000052b2,0x000001cd, 27710x00000006,0x000055f5,0x000055f3,0x000055ef,
25710x00050095,0x0000013d,0x00005352,0x0000530e, 27720x00050050,0x00000007,0x000055f6,0x000055f0,
25720x000052bf,0x00050051,0x00000006,0x00005353, 27730x000055f5,0x0004007c,0x00000014,0x000055e6,
25730x00005352,0x00000001,0x00050051,0x00000006, 27740x000055f6,0x00060041,0x00000174,0x000055dd,
25740x00005354,0x00005352,0x00000000,0x00050080, 27750x000055e6,0x00000173,0x00000173,0x0006003d,
25750x00000006,0x00005359,0x00005315,0x00005353, 27760x00000006,0x000055de,0x000055dd,0x00000002,
25760x00050050,0x00000007,0x0000535a,0x00005354, 27770x00000004,0x0004007c,0x00000027,0x00005595,
25770x00005359,0x0004007c,0x00000014,0x0000534a, 27780x000055de,0x00050080,0x00000006,0x00005597,
25780x0000535a,0x00060041,0x0000016c,0x00005341, 27790x00005590,0x000000f3,0x00050095,0x00000145,
25790x0000534a,0x0000016b,0x0000016b,0x0006003d, 27800x0000560f,0x000055ec,0x00005597,0x00050051,
25800x00000006,0x00005342,0x00005341,0x00000002, 27810x00000006,0x00005610,0x0000560f,0x00000001,
25810x00000004,0x0004007c,0x00000027,0x000052c3, 27820x00050051,0x00000006,0x00005611,0x0000560f,
25820x00005342,0x00060050,0x0000006c,0x000052c4, 27830x00000000,0x00050080,0x00000006,0x00005616,
25830x000052b7,0x000052bd,0x000052c3,0x00050080, 27840x000055f3,0x00005610,0x00050050,0x00000007,
25840x00000006,0x000052c6,0x000052b2,0x000001d4, 27850x00005617,0x00005611,0x00005616,0x0004007c,
25850x00050095,0x0000013d,0x00005373,0x0000530e, 27860x00000014,0x00005607,0x00005617,0x00060041,
25860x000052c6,0x00050051,0x00000006,0x00005374, 27870x00000174,0x000055fe,0x00005607,0x00000173,
25870x00005373,0x00000001,0x00050051,0x00000006, 27880x00000173,0x0006003d,0x00000006,0x000055ff,
25880x00005375,0x00005373,0x00000000,0x00050080, 27890x000055fe,0x00000002,0x00000004,0x0004007c,
25890x00000006,0x0000537a,0x00005315,0x00005374, 27900x00000027,0x0000559b,0x000055ff,0x00050080,
25900x00050050,0x00000007,0x0000537b,0x00005375, 27910x00000006,0x0000559d,0x00005590,0x000001d5,
25910x0000537a,0x0004007c,0x00000014,0x0000536b, 27920x00050095,0x00000145,0x00005630,0x000055ec,
25920x0000537b,0x00060041,0x0000016c,0x00005362, 27930x0000559d,0x00050051,0x00000006,0x00005631,
25930x0000536b,0x0000016b,0x0000016b,0x0006003d, 27940x00005630,0x00000001,0x00050051,0x00000006,
25940x00000006,0x00005363,0x00005362,0x00000002, 27950x00005632,0x00005630,0x00000000,0x00050080,
25950x00000004,0x0004007c,0x00000027,0x000052ca, 27960x00000006,0x00005637,0x000055f3,0x00005631,
25960x00005363,0x00050080,0x00000006,0x000052cc, 27970x00050050,0x00000007,0x00005638,0x00005632,
25970x000052b2,0x000001db,0x00050095,0x0000013d, 27980x00005637,0x0004007c,0x00000014,0x00005628,
25980x00005394,0x0000530e,0x000052cc,0x00050051, 27990x00005638,0x00060041,0x00000174,0x0000561f,
25990x00000006,0x00005395,0x00005394,0x00000001, 28000x00005628,0x00000173,0x00000173,0x0006003d,
26000x00050051,0x00000006,0x00005396,0x00005394, 28010x00000006,0x00005620,0x0000561f,0x00000002,
26010x00000000,0x00050080,0x00000006,0x0000539b, 28020x00000004,0x0004007c,0x00000027,0x000055a1,
26020x00005315,0x00005395,0x00050050,0x00000007, 28030x00005620,0x00060050,0x0000006c,0x000055a2,
26030x0000539c,0x00005396,0x0000539b,0x0004007c, 28040x00005595,0x0000559b,0x000055a1,0x00050080,
26040x00000014,0x0000538c,0x0000539c,0x00060041, 28050x00000006,0x000055a4,0x00005590,0x000001dc,
26050x0000016c,0x00005383,0x0000538c,0x0000016b, 28060x00050095,0x00000145,0x00005651,0x000055ec,
26060x0000016b,0x0006003d,0x00000006,0x00005384, 28070x000055a4,0x00050051,0x00000006,0x00005652,
26070x00005383,0x00000002,0x00000004,0x0004007c, 28080x00005651,0x00000001,0x00050051,0x00000006,
26080x00000027,0x000052d0,0x00005384,0x00050080, 28090x00005653,0x00005651,0x00000000,0x00050080,
26090x00000006,0x000052d2,0x000052b2,0x00000299, 28100x00000006,0x00005658,0x000055f3,0x00005652,
26100x00050095,0x0000013d,0x000053b5,0x0000530e, 28110x00050050,0x00000007,0x00005659,0x00005653,
26110x000052d2,0x00050051,0x00000006,0x000053b6, 28120x00005658,0x0004007c,0x00000014,0x00005649,
26120x000053b5,0x00000001,0x00050051,0x00000006, 28130x00005659,0x00060041,0x00000174,0x00005640,
26130x000053b7,0x000053b5,0x00000000,0x00050080, 28140x00005649,0x00000173,0x00000173,0x0006003d,
26140x00000006,0x000053bc,0x00005315,0x000053b6, 28150x00000006,0x00005641,0x00005640,0x00000002,
26150x00050050,0x00000007,0x000053bd,0x000053b7, 28160x00000004,0x0004007c,0x00000027,0x000055a8,
26160x000053bc,0x0004007c,0x00000014,0x000053ad, 28170x00005641,0x00050080,0x00000006,0x000055aa,
26170x000053bd,0x00060041,0x0000016c,0x000053a4, 28180x00005590,0x000001e3,0x00050095,0x00000145,
26180x000053ad,0x0000016b,0x0000016b,0x0006003d, 28190x00005672,0x000055ec,0x000055aa,0x00050051,
26190x00000006,0x000053a5,0x000053a4,0x00000002, 28200x00000006,0x00005673,0x00005672,0x00000001,
26200x00000004,0x0004007c,0x00000027,0x000052d6, 28210x00050051,0x00000006,0x00005674,0x00005672,
26210x000053a5,0x00060050,0x0000006c,0x000052d7, 28220x00000000,0x00050080,0x00000006,0x00005679,
26220x000052ca,0x000052d0,0x000052d6,0x00050041, 28230x000055f3,0x00005673,0x00050050,0x00000007,
26230x000001bb,0x000053c3,0x000001b9,0x000010be, 28240x0000567a,0x00005674,0x00005679,0x0004007c,
26240x0004003d,0x00000006,0x000053c4,0x000053c3, 28250x00000014,0x0000566a,0x0000567a,0x00060041,
26250x000500c2,0x00000006,0x000053d3,0x00005cea, 28260x00000174,0x00005661,0x0000566a,0x00000173,
26260x0000031d,0x00050041,0x000001bb,0x000053c7, 28270x00000173,0x0006003d,0x00000006,0x00005662,
26270x000001b9,0x0000034a,0x0004003d,0x00000006, 28280x00005661,0x00000002,0x00000004,0x0004007c,
26280x000053c8,0x000053c7,0x00050086,0x00000006, 28290x00000027,0x000055ae,0x00005662,0x00050080,
26290x000053c9,0x000053c8,0x000001c4,0x00050082, 28300x00000006,0x000055b0,0x00005590,0x000002a1,
26300x00000006,0x000053ca,0x000053d3,0x000053c9, 28310x00050095,0x00000145,0x00005693,0x000055ec,
26310x00050084,0x00000006,0x000053cb,0x000000ec, 28320x000055b0,0x00050051,0x00000006,0x00005694,
26320x000053ca,0x00050080,0x00000006,0x000053cc, 28330x00005693,0x00000001,0x00050051,0x00000006,
26330x000053c4,0x000053cb,0x00050041,0x00000266, 28340x00005695,0x00005693,0x00000000,0x00050080,
26340x000053cd,0x000001b9,0x0000016b,0x0004003d, 28350x00000006,0x0000569a,0x000055f3,0x00005694,
26350x00000007,0x000053ce,0x000053cd,0x00050051, 28360x00050050,0x00000007,0x0000569b,0x00005695,
26360x00000006,0x000053ea,0x000053ce,0x00000000, 28370x0000569a,0x0004007c,0x00000014,0x0000568b,
26370x00050095,0x0000013d,0x000053ec,0x000053ea, 28380x0000569b,0x00060041,0x00000174,0x00005682,
26380x000053cc,0x00050051,0x00000006,0x000053ed, 28390x0000568b,0x00000173,0x00000173,0x0006003d,
26390x000053ec,0x00000001,0x00050051,0x00000006, 28400x00000006,0x00005683,0x00005682,0x00000002,
26400x000053ee,0x000053ec,0x00000000,0x00050051, 28410x00000004,0x0004007c,0x00000027,0x000055b4,
26410x00000006,0x000053f1,0x000053ce,0x00000001, 28420x00005683,0x00060050,0x0000006c,0x000055b5,
26420x00050080,0x00000006,0x000053f3,0x000053f1, 28430x000055a8,0x000055ae,0x000055b4,0x000300f7,
26430x000053ed,0x00050050,0x00000007,0x000053f4, 28440x000056b5,0x00000000,0x000300fb,0x00000140,
26440x000053ee,0x000053f3,0x0004007c,0x00000014, 28450x000056a6,0x000200f8,0x000056a6,0x000300f7,
26450x000053e4,0x000053f4,0x00060041,0x0000016c, 28460x000056d9,0x00000000,0x000300fb,0x00000140,
26460x000053db,0x000053e4,0x0000016b,0x0000016b, 28470x000056be,0x000200f8,0x000056be,0x00050041,
26470x0006003d,0x00000006,0x000053dc,0x000053db, 28480x000001c3,0x000056bf,0x000001c1,0x00000352,
26480x00000002,0x00000004,0x00050041,0x000001bb, 28490x0004003d,0x00000006,0x000056c0,0x000056bf,
26490x000053f7,0x000001b9,0x00000334,0x0004003d, 28500x00050086,0x00000006,0x000056c1,0x000056c0,
26500x00000006,0x000053f8,0x000053f7,0x000500c7, 28510x000001cc,0x000500c2,0x00000006,0x000056de,
26510x00000006,0x000053f9,0x000053f8,0x00000142, 28520x000060e0,0x00000325,0x000500b0,0x0000002f,
26520x000500ab,0x0000002f,0x000053fa,0x000053f9, 28530x000056c6,0x000056de,0x000056c1,0x000400a8,
26530x00000138,0x000300f7,0x00005131,0x00000000, 28540x0000002f,0x000056c7,0x000056c6,0x000300f7,
26540x000400fa,0x000053fa,0x00005126,0x00005131, 28550x000056ce,0x00000000,0x000400fa,0x000056c7,
26550x000200f8,0x00005126,0x00050084,0x00000006, 28560x000056c8,0x000056ce,0x000200f8,0x000056c8,
26560x0000512a,0x00000342,0x000012dd,0x00050080, 28570x00050041,0x000001c3,0x000056ca,0x000001c1,
26570x00000006,0x0000512b,0x000053c8,0x0000512a, 28580x000003b7,0x0004003d,0x00000006,0x000056cb,
26580x00050080,0x00000006,0x0000512c,0x0000512b, 28590x000056ca,0x00050086,0x00000006,0x000056cc,
26590x0000084a,0x00050095,0x0000013d,0x00005412, 28600x000056cb,0x000001cc,0x000500ae,0x0000002f,
26600x000053ea,0x0000512c,0x00050051,0x00000006, 28610x000056cd,0x000056de,0x000056cc,0x000200f9,
26610x00005413,0x00005412,0x00000001,0x00050051, 28620x000056ce,0x000200f8,0x000056ce,0x000700f5,
26620x00000006,0x00005414,0x00005412,0x00000000, 28630x0000002f,0x000056cf,0x000056c6,0x000056be,
26630x00050080,0x00000006,0x00005419,0x000053f1, 28640x000056cd,0x000056c8,0x000300f7,0x000056d1,
26640x00005413,0x00050050,0x00000007,0x0000541a, 28650x00000000,0x000400fa,0x000056cf,0x000056d0,
26650x00005414,0x00005419,0x0004007c,0x00000014, 28660x000056d1,0x000200f8,0x000056d0,0x000200f9,
26660x0000540a,0x0000541a,0x00060041,0x0000016c, 28670x000056d9,0x000200f8,0x000056d1,0x00050041,
26670x00005402,0x0000540a,0x0000016b,0x0000016b, 28680x000001c3,0x000056d2,0x000001c1,0x000003c1,
26680x0005003e,0x00005402,0x000053dc,0x00000002, 28690x0004003d,0x00000006,0x000056d3,0x000056d2,
26690x00000004,0x000200f9,0x00005131,0x000200f8, 28700x00050082,0x00000006,0x000056d6,0x000056de,
26700x00005131,0x000200f9,0x00005132,0x000200f8, 28710x000056c1,0x00050084,0x00000006,0x000056d7,
26710x00005132,0x000700f5,0x0000006c,0x00005cf4, 28720x000000f3,0x000056d6,0x00050080,0x00000006,
26720x000052d7,0x00005131,0x00005d1c,0x0000519d, 28730x000056d8,0x000056d3,0x000056d7,0x000200f9,
26730x000700f5,0x0000006c,0x00005cf1,0x000052c4, 28740x000056d9,0x000200f8,0x000056d9,0x000700f5,
26740x00005131,0x00005d18,0x0000519d,0x000700f5, 28750x00000006,0x000060e1,0x000003bf,0x000056d0,
26750x00000006,0x00005ced,0x00000138,0x00005131, 28760x000056d8,0x000056d1,0x000500aa,0x0000002f,
26760x0000519f,0x0000519d,0x000700f5,0x00000006, 28770x000056aa,0x000060e1,0x000003bf,0x000300f7,
26770x00005ceb,0x000053dc,0x00005131,0x000059fe, 28780x000056ac,0x00000000,0x000400fa,0x000056aa,
26780x0000519d,0x000700f5,0x00000006,0x00005d5e, 28790x000056ab,0x000056ac,0x000200f8,0x000056ab,
26790x00005cea,0x00005131,0x00005ceb,0x0000519d, 28800x000200f9,0x000056b5,0x000200f8,0x000056ac,
26800x000500ab,0x0000002f,0x00005135,0x00005ceb, 28810x00050041,0x0000026e,0x000056ad,0x000001c1,
26810x00000539,0x000500b0,0x0000002f,0x00005137, 28820x00000173,0x0004003d,0x00000007,0x000056ae,
26820x00005ced,0x00000342,0x000500a7,0x0000002f, 28830x000056ad,0x00050051,0x00000006,0x000056f5,
26830x00005138,0x00005135,0x00005137,0x000400f6, 28840x000056ae,0x00000000,0x00050095,0x00000145,
26840x000051a0,0x0000519d,0x00000000,0x000400fa, 28850x000056f7,0x000056f5,0x000060e1,0x00050051,
26850x00005138,0x00005139,0x000051a0,0x000200f8, 28860x00000006,0x000056f8,0x000056f7,0x00000001,
26860x00005139,0x000500c2,0x00000006,0x0000541e, 28870x00050051,0x00000006,0x000056f9,0x000056f7,
26870x00005ceb,0x0000031d,0x00050084,0x00000006, 28880x00000000,0x00050051,0x00000006,0x000056fc,
26880x0000513c,0x0000541e,0x000001c4,0x000200f9, 28890x000056ae,0x00000001,0x00050080,0x00000006,
26890x0000513d,0x000200f8,0x0000513d,0x000700f5, 28900x000056fe,0x000056fc,0x000056f8,0x00050050,
26900x00000006,0x00005d0a,0x00000138,0x00005139, 28910x00000007,0x000056ff,0x000056f9,0x000056fe,
26910x00006026,0x0000515b,0x000700f5,0x00000006, 28920x0004007c,0x00000014,0x000056ef,0x000056ff,
26920x00005cee,0x00000138,0x00005139,0x0000515d, 28930x00060041,0x00000174,0x000056e6,0x000056ef,
26930x0000515b,0x000500b0,0x0000002f,0x00005140, 28940x00000173,0x00000173,0x0006003d,0x00000006,
26940x00005cee,0x000000ec,0x000400f6,0x0000515e, 28950x000056e7,0x000056e6,0x00000002,0x00000004,
26950x0000515b,0x00000000,0x000400fa,0x00005140, 28960x000300f7,0x00005731,0x00000000,0x000300fb,
26960x00005141,0x0000515e,0x000200f8,0x00005141, 28970x00000140,0x00005708,0x000200f8,0x00005708,
26970x00050084,0x00000006,0x00005144,0x000000ec, 28980x000500c7,0x00000006,0x0000570a,0x000056e7,
26980x00005cee,0x00050080,0x00000006,0x00005145, 28990x00000376,0x000500c7,0x00000006,0x00005737,
26990x0000513c,0x00005144,0x00050095,0x0000013d, 29000x000013a9,0x00000288,0x000500ab,0x0000002f,
27000x00005437,0x000053ea,0x00005145,0x00050051, 29010x00005738,0x00005737,0x00000140,0x000600a9,
27010x00000006,0x00005438,0x00005437,0x00000001, 29020x00000006,0x0000570c,0x00005738,0x000000f3,
27020x00050051,0x00000006,0x00005439,0x00005437, 29030x0000036c,0x000500ab,0x0000002f,0x0000570d,
27030x00000000,0x00050080,0x00000006,0x0000543e, 29040x0000570a,0x0000570c,0x000300f7,0x0000570f,
27040x000053f1,0x00005438,0x00050050,0x00000007, 29050x00000000,0x000400fa,0x0000570d,0x0000570e,
27050x0000543f,0x00005439,0x0000543e,0x0004007c, 29060x0000570f,0x000200f8,0x0000570e,0x000200f9,
27060x00000014,0x0000542f,0x0000543f,0x00060041, 29070x00005731,0x000200f8,0x0000570f,0x000500c2,
27070x0000016c,0x00005426,0x0000542f,0x0000016b, 29080x00000006,0x0000573c,0x000056e7,0x00000325,
27080x0000016b,0x0006003d,0x00000006,0x00005427, 29090x00050084,0x00000006,0x00005712,0x0000573c,
27090x00005426,0x00000002,0x00000004,0x000500aa, 29100x000001cc,0x000500ae,0x0000002f,0x00005715,
27100x0000002f,0x0000514a,0x00005427,0x00000539, 29110x0000573c,0x00000387,0x000400a8,0x0000002f,
27110x000300f7,0x0000514c,0x00000000,0x000400fa, 29120x00005716,0x00005715,0x000300f7,0x0000571c,
27120x0000514a,0x0000514b,0x0000514c,0x000200f8, 29130x00000000,0x000400fa,0x00005716,0x00005717,
27130x0000514b,0x000200f9,0x0000515b,0x000200f8, 29140x0000571c,0x000200f8,0x00005717,0x00050041,
27140x0000514c,0x00050080,0x00000006,0x0000514e, 29150x000001c3,0x00005719,0x000001c1,0x00000362,
27150x00005d0a,0x00000264,0x000500aa,0x0000002f, 29160x0004003d,0x00000006,0x0000571a,0x00005719,
27160x00005151,0x00005427,0x00005d5e,0x000300f7, 29170x000500b0,0x0000002f,0x0000571b,0x00005712,
27170x0000515a,0x00000000,0x000400fa,0x00005151, 29180x0000571a,0x000200f9,0x0000571c,0x000200f8,
27180x00005152,0x0000515a,0x000200f8,0x00005152, 29190x0000571c,0x000700f5,0x0000002f,0x0000571d,
27190x000500c7,0x00000006,0x00005443,0x00005ceb, 29200x00005715,0x0000570f,0x0000571b,0x00005717,
27200x00000d2b,0x000500aa,0x0000002f,0x00005444, 29210x000300f7,0x0000571f,0x00000000,0x000400fa,
27210x00005443,0x000000ec,0x000300f7,0x00005497, 29220x0000571d,0x0000571e,0x0000571f,0x000200f8,
27220x00000000,0x000300fb,0x00000138,0x0000545d, 29230x0000571e,0x000200f9,0x00005731,0x000200f8,
27230x000200f8,0x0000545d,0x000300f7,0x00005468, 29240x0000571f,0x00050041,0x000001c3,0x00005721,
27240x00000000,0x000400fa,0x00005444,0x0000545f, 29250x000001c1,0x00000362,0x0004003d,0x00000006,
27250x00005468,0x000200f8,0x0000545f,0x00050080, 29260x00005722,0x00005721,0x00050082,0x00000006,
27260x00000006,0x00005461,0x0000513c,0x000001db, 29270x00005723,0x00005712,0x00005722,0x000600a9,
27270x00050084,0x00000006,0x00005463,0x000001d4, 29280x00000006,0x00005744,0x00005738,0x000001cc,
27280x00005cee,0x00050080,0x00000006,0x00005464, 29290x0000034a,0x00050089,0x00000006,0x00005726,
27290x00005461,0x00005463,0x00050051,0x00000027, 29300x00005723,0x00005744,0x000500aa,0x0000002f,
27300x000054af,0x00005cf1,0x00000000,0x000300f7, 29310x00005727,0x00005726,0x00000140,0x000300f7,
27310x00005526,0x00000000,0x000300fb,0x00000138, 29320x0000572f,0x00000000,0x000400fa,0x00005727,
27320x000054e0,0x000200f8,0x000054e0,0x0004007c, 29330x00005728,0x0000572f,0x000200f8,0x00005728,
27330x00000006,0x000054e2,0x000054af,0x000500c2, 29340x00050086,0x00000006,0x0000572b,0x00005723,
27340x00000006,0x000054e4,0x000054e2,0x0000035a, 29350x00005744,0x00050041,0x000001c3,0x0000572c,
27350x000500c7,0x00000006,0x000054e5,0x000054e4, 29360x000001c1,0x0000020e,0x0004003d,0x00000006,
27360x00000373,0x000500c7,0x00000006,0x000054e7, 29370x0000572d,0x0000572c,0x000500b0,0x0000002f,
27370x000054e2,0x00000256,0x000500ab,0x0000002f, 29380x0000572e,0x0000572b,0x0000572d,0x000200f9,
27380x000054ea,0x000054e5,0x00000138,0x000500ac, 29390x0000572f,0x000200f8,0x0000572f,0x000700f5,
27390x0000002f,0x000054ed,0x000054e7,0x0000037e, 29400x0000002f,0x00005730,0x00005727,0x0000571f,
27400x000300f7,0x000054f1,0x00000000,0x000400fa, 29410x0000572e,0x00005728,0x000200f9,0x00005731,
27410x000054ed,0x000054ee,0x000054f1,0x000200f8, 29420x000200f8,0x00005731,0x000900f5,0x0000002f,
27420x000054ee,0x000500c5,0x00000006,0x000054f0, 29430x000060e2,0x0000037d,0x0000570e,0x0000037d,
27430x000054e5,0x00000383,0x000200f9,0x00005526, 29440x0000571e,0x00005730,0x0000572f,0x000600a9,
27440x000200f8,0x000054f1,0x000500aa,0x0000002f, 29450x00000006,0x000056b4,0x000060e2,0x000056e7,
27450x000054f3,0x000054e7,0x00000138,0x000300f7, 29460x000003bf,0x000200f9,0x000056b5,0x000200f8,
27460x000054f6,0x00000000,0x000400fa,0x000054f3, 29470x000056b5,0x000700f5,0x00000006,0x000060e3,
27470x000054f4,0x000054f6,0x000200f8,0x000054f4, 29480x000003bf,0x000056ab,0x000056b4,0x00005731,
27480x000200f9,0x00005526,0x000200f8,0x000054f6, 29490x000500c7,0x00000006,0x00005759,0x000013a9,
27490x000500c2,0x00000006,0x000054f8,0x000054e7, 29500x0000014a,0x000500ab,0x0000002f,0x0000575a,
27500x0000038e,0x0004007c,0x000000f4,0x000054f9, 29510x00005759,0x00000140,0x000300f7,0x0000540f,
27510x000054f8,0x00050082,0x000000f4,0x000054fa, 29520x00000000,0x000400fa,0x0000575a,0x00005404,
27520x000054f9,0x00000391,0x000500af,0x0000002f, 29530x0000540f,0x000200f8,0x00005404,0x00050084,
27530x000054fc,0x000054fa,0x0000035a,0x000300f7, 29540x00000006,0x00005408,0x0000034a,0x000013a7,
27540x00005502,0x00000000,0x000400fa,0x000054fc, 29550x00050080,0x00000006,0x00005409,0x000056c0,
27550x000054fd,0x00005502,0x000200f8,0x000054fd, 29560x00005408,0x00050080,0x00000006,0x0000540a,
27560x000600a9,0x00000006,0x00005500,0x000054ea, 29570x00005409,0x000008b0,0x00050041,0x0000026e,
27570x00000399,0x0000039a,0x000500c5,0x00000006, 29580x0000540b,0x000001c1,0x00000173,0x0004003d,
27580x00005501,0x000054e5,0x00005500,0x000200f9, 29590x00000007,0x0000540c,0x0000540b,0x00050051,
27590x00005526,0x000200f8,0x00005502,0x000500b1, 29600x00000006,0x00005770,0x0000540c,0x00000000,
27600x0000002f,0x00005504,0x000054fa,0x0000039f, 29610x00050095,0x00000145,0x00005772,0x00005770,
27610x000300f7,0x0000550e,0x00000000,0x000400fa, 29620x0000540a,0x00050051,0x00000006,0x00005773,
27620x00005504,0x00005505,0x0000550e,0x000200f8, 29630x00005772,0x00000001,0x00050051,0x00000006,
27630x00005505,0x000300f7,0x0000550c,0x00000000, 29640x00005774,0x00005772,0x00000000,0x00050051,
27640x000400fa,0x000054ea,0x00005507,0x0000550a, 29650x00000006,0x00005777,0x0000540c,0x00000001,
27650x000200f8,0x0000550a,0x000200f9,0x0000550c, 29660x00050080,0x00000006,0x00005779,0x00005777,
27660x000200f8,0x00005507,0x000500c5,0x00000006, 29670x00005773,0x00050050,0x00000007,0x0000577a,
27670x00005509,0x000054e5,0x000003a8,0x000200f9, 29680x00005774,0x00005779,0x0004007c,0x00000014,
27680x0000550c,0x000200f8,0x0000550c,0x000700f5, 29690x0000576a,0x0000577a,0x00060041,0x00000174,
27690x00000006,0x00005d62,0x00005509,0x00005507, 29700x00005762,0x0000576a,0x00000173,0x00000173,
27700x000054e5,0x0000550a,0x000200f9,0x00005526, 29710x0005003e,0x00005762,0x000060e3,0x00000002,
27710x000200f8,0x0000550e,0x000500c7,0x00000006, 29720x00000004,0x000200f9,0x0000540f,0x000200f8,
27720x00005510,0x000054e2,0x000003b0,0x00050080, 29730x0000540f,0x000200f9,0x00005410,0x000200f8,
27730x000000f4,0x00005512,0x000054f9,0x000060ff, 29740x00005410,0x000700f5,0x0000006c,0x000060f3,
27740x0004007c,0x00000006,0x00005513,0x00005512, 29750x000055b5,0x0000540f,0x00006121,0x0000547b,
27750x000500c4,0x00000006,0x00005514,0x00005513, 29760x000700f5,0x0000006c,0x000060ea,0x000055a2,
27760x000003b6,0x000500c2,0x00000006,0x00005516, 29770x0000540f,0x0000611d,0x0000547b,0x000700f5,
27770x00005510,0x000001f0,0x000500c5,0x00000006, 29780x00000006,0x000060e6,0x00000140,0x0000540f,
27780x00005517,0x00005514,0x00005516,0x000300f7, 29790x0000547d,0x0000547b,0x000700f5,0x00000006,
27790x0000551d,0x00000000,0x000400fa,0x000054ea, 29800x000060e4,0x000060e3,0x0000540f,0x00006135,
27800x00005519,0x0000551d,0x000200f8,0x00005519, 29810x0000547b,0x000700f5,0x00000006,0x00006178,
27810x000500c7,0x00000006,0x0000551b,0x000054e2, 29820x000060e0,0x0000540f,0x000060e4,0x0000547b,
27820x000003bf,0x000500ab,0x0000002f,0x0000551c, 29830x000500ab,0x0000002f,0x00005413,0x000060e4,
27830x0000551b,0x00000138,0x000200f9,0x0000551d, 29840x000003bf,0x000500b0,0x0000002f,0x00005415,
27840x000200f8,0x0000551d,0x000700f5,0x0000002f, 29850x000060e6,0x0000034a,0x000500a7,0x0000002f,
27850x0000551e,0x000054ea,0x0000550e,0x0000551c, 29860x00005416,0x00005413,0x00005415,0x000400f6,
27860x00005519,0x000300f7,0x00005522,0x00000000, 29870x0000547e,0x0000547b,0x00000000,0x000400fa,
27870x000400fa,0x0000551e,0x0000551f,0x00005522, 29880x00005416,0x00005417,0x0000547e,0x000200f8,
27880x000200f8,0x0000551f,0x00050080,0x00000006, 29890x00005417,0x000500c2,0x00000006,0x0000577e,
27890x00005521,0x00005517,0x00000142,0x000200f9, 29900x000060e4,0x00000325,0x00050084,0x00000006,
27900x00005522,0x000200f8,0x00005522,0x000700f5, 29910x0000541a,0x0000577e,0x000001cc,0x000200f9,
27910x00000006,0x00005d61,0x00005517,0x0000551d, 29920x0000541b,0x000200f8,0x0000541b,0x000700f5,
27920x00005521,0x0000551f,0x000500c5,0x00000006, 29930x00000006,0x0000610f,0x00000140,0x00005417,
27930x00005525,0x000054e5,0x00005d61,0x000200f9, 29940x0000645a,0x00005439,0x000700f5,0x00000006,
27940x00005526,0x000200f8,0x00005526,0x000d00f5, 29950x000060e7,0x00000140,0x00005417,0x0000543b,
27950x00000006,0x00005d63,0x000054f0,0x000054ee, 29960x00005439,0x000500b0,0x0000002f,0x0000541e,
27960x000054e5,0x000054f4,0x00005501,0x000054fd, 29970x000060e7,0x000000f3,0x000400f6,0x0000543c,
27970x00005d62,0x0000550c,0x00005525,0x00005522, 29980x00005439,0x00000000,0x000400fa,0x0000541e,
27980x00050051,0x00000027,0x000054b2,0x00005cf1, 29990x0000541f,0x0000543c,0x000200f8,0x0000541f,
27990x00000001,0x000300f7,0x0000557a,0x00000000, 30000x00050084,0x00000006,0x00005422,0x000000f3,
28000x000300fb,0x00000138,0x00005534,0x000200f8, 30010x000060e7,0x00050080,0x00000006,0x00005423,
28010x00005534,0x0004007c,0x00000006,0x00005536, 30020x0000541a,0x00005422,0x00050041,0x0000026e,
28020x000054b2,0x000500c2,0x00000006,0x00005538, 30030x00005424,0x000001c1,0x00000173,0x0004003d,
28030x00005536,0x0000035a,0x000500c7,0x00000006, 30040x00000007,0x00005425,0x00005424,0x00050051,
28040x00005539,0x00005538,0x00000373,0x000500c7, 30050x00000006,0x00005795,0x00005425,0x00000000,
28050x00000006,0x0000553b,0x00005536,0x00000256, 30060x00050095,0x00000145,0x00005797,0x00005795,
28060x000500ab,0x0000002f,0x0000553e,0x00005539, 30070x00005423,0x00050051,0x00000006,0x00005798,
28070x00000138,0x000500ac,0x0000002f,0x00005541, 30080x00005797,0x00000001,0x00050051,0x00000006,
28080x0000553b,0x0000037e,0x000300f7,0x00005545, 30090x00005799,0x00005797,0x00000000,0x00050051,
28090x00000000,0x000400fa,0x00005541,0x00005542, 30100x00000006,0x0000579c,0x00005425,0x00000001,
28100x00005545,0x000200f8,0x00005542,0x000500c5, 30110x00050080,0x00000006,0x0000579e,0x0000579c,
28110x00000006,0x00005544,0x00005539,0x00000383, 30120x00005798,0x00050050,0x00000007,0x0000579f,
28120x000200f9,0x0000557a,0x000200f8,0x00005545, 30130x00005799,0x0000579e,0x0004007c,0x00000014,
28130x000500aa,0x0000002f,0x00005547,0x0000553b, 30140x0000578f,0x0000579f,0x00060041,0x00000174,
28140x00000138,0x000300f7,0x0000554a,0x00000000, 30150x00005786,0x0000578f,0x00000173,0x00000173,
28150x000400fa,0x00005547,0x00005548,0x0000554a, 30160x0006003d,0x00000006,0x00005787,0x00005786,
28160x000200f8,0x00005548,0x000200f9,0x0000557a, 30170x00000002,0x00000004,0x000500aa,0x0000002f,
28170x000200f8,0x0000554a,0x000500c2,0x00000006, 30180x00005428,0x00005787,0x000003bf,0x000300f7,
28180x0000554c,0x0000553b,0x0000038e,0x0004007c, 30190x0000542a,0x00000000,0x000400fa,0x00005428,
28190x000000f4,0x0000554d,0x0000554c,0x00050082, 30200x00005429,0x0000542a,0x000200f8,0x00005429,
28200x000000f4,0x0000554e,0x0000554d,0x00000391, 30210x000200f9,0x00005439,0x000200f8,0x0000542a,
28210x000500af,0x0000002f,0x00005550,0x0000554e, 30220x00050080,0x00000006,0x0000542c,0x0000610f,
28220x0000035a,0x000300f7,0x00005556,0x00000000, 30230x0000026c,0x000500aa,0x0000002f,0x0000542f,
28230x000400fa,0x00005550,0x00005551,0x00005556, 30240x00005787,0x00006178,0x000300f7,0x00005438,
28240x000200f8,0x00005551,0x000600a9,0x00000006, 30250x00000000,0x000400fa,0x0000542f,0x00005430,
28250x00005554,0x0000553e,0x00000399,0x0000039a, 30260x00005438,0x000200f8,0x00005430,0x000500c7,
28260x000500c5,0x00000006,0x00005555,0x00005539, 30270x00000006,0x000057a3,0x000060e4,0x00000376,
28270x00005554,0x000200f9,0x0000557a,0x000200f8, 30280x000500aa,0x0000002f,0x000057a4,0x000057a3,
28280x00005556,0x000500b1,0x0000002f,0x00005558, 30290x000000f3,0x000300f7,0x000057f7,0x00000000,
28290x0000554e,0x0000039f,0x000300f7,0x00005562, 30300x000300fb,0x00000140,0x000057bd,0x000200f8,
28300x00000000,0x000400fa,0x00005558,0x00005559, 30310x000057bd,0x000300f7,0x000057c8,0x00000000,
28310x00005562,0x000200f8,0x00005559,0x000300f7, 30320x000400fa,0x000057a4,0x000057bf,0x000057c8,
28320x00005560,0x00000000,0x000400fa,0x0000553e, 30330x000200f8,0x000057bf,0x00050080,0x00000006,
28330x0000555b,0x0000555e,0x000200f8,0x0000555e, 30340x000057c1,0x0000541a,0x000001e3,0x00050084,
28340x000200f9,0x00005560,0x000200f8,0x0000555b, 30350x00000006,0x000057c3,0x000001dc,0x000060e7,
28350x000500c5,0x00000006,0x0000555d,0x00005539, 30360x00050080,0x00000006,0x000057c4,0x000057c1,
28360x000003a8,0x000200f9,0x00005560,0x000200f8, 30370x000057c3,0x00050051,0x00000027,0x0000580f,
28370x00005560,0x000700f5,0x00000006,0x00005d66, 30380x000060ea,0x00000000,0x000300f7,0x00005886,
28380x0000555d,0x0000555b,0x00005539,0x0000555e, 30390x00000000,0x000300fb,0x00000140,0x00005840,
28390x000200f9,0x0000557a,0x000200f8,0x00005562, 30400x000200f8,0x00005840,0x0004007c,0x00000006,
28400x000500c7,0x00000006,0x00005564,0x00005536, 30410x00005842,0x0000580f,0x000500c2,0x00000006,
28410x000003b0,0x00050080,0x000000f4,0x00005566, 30420x00005844,0x00005842,0x00000362,0x000500c7,
28420x0000554d,0x000060ff,0x0004007c,0x00000006, 30430x00000006,0x00005845,0x00005844,0x000003d1,
28430x00005567,0x00005566,0x000500c4,0x00000006, 30440x000500c7,0x00000006,0x00005847,0x00005842,
28440x00005568,0x00005567,0x000003b6,0x000500c2, 30450x0000025e,0x000500ab,0x0000002f,0x0000584a,
28450x00000006,0x0000556a,0x00005564,0x000001f0, 30460x00005845,0x00000140,0x000500ac,0x0000002f,
28460x000500c5,0x00000006,0x0000556b,0x00005568, 30470x0000584d,0x00005847,0x000003dc,0x000300f7,
28470x0000556a,0x000300f7,0x00005571,0x00000000, 30480x00005851,0x00000000,0x000400fa,0x0000584d,
28480x000400fa,0x0000553e,0x0000556d,0x00005571, 30490x0000584e,0x00005851,0x000200f8,0x0000584e,
28490x000200f8,0x0000556d,0x000500c7,0x00000006, 30500x000500c5,0x00000006,0x00005850,0x00005845,
28500x0000556f,0x00005536,0x000003bf,0x000500ab, 30510x000003e1,0x000200f9,0x00005886,0x000200f8,
28510x0000002f,0x00005570,0x0000556f,0x00000138, 30520x00005851,0x000500aa,0x0000002f,0x00005853,
28520x000200f9,0x00005571,0x000200f8,0x00005571, 30530x00005847,0x00000140,0x000300f7,0x00005856,
28530x000700f5,0x0000002f,0x00005572,0x0000553e, 30540x00000000,0x000400fa,0x00005853,0x00005854,
28540x00005562,0x00005570,0x0000556d,0x000300f7, 30550x00005856,0x000200f8,0x00005854,0x000200f9,
28550x00005576,0x00000000,0x000400fa,0x00005572, 30560x00005886,0x000200f8,0x00005856,0x000500c2,
28560x00005573,0x00005576,0x000200f8,0x00005573, 30570x00000006,0x00005858,0x00005847,0x000003ec,
28570x00050080,0x00000006,0x00005575,0x0000556b, 30580x0004007c,0x000000fb,0x00005859,0x00005858,
28580x00000142,0x000200f9,0x00005576,0x000200f8, 30590x00050082,0x000000fb,0x0000585a,0x00005859,
28590x00005576,0x000700f5,0x00000006,0x00005d65, 30600x000003ef,0x000500af,0x0000002f,0x0000585c,
28600x0000556b,0x00005571,0x00005575,0x00005573, 30610x0000585a,0x00000362,0x000300f7,0x00005862,
28610x000500c5,0x00000006,0x00005579,0x00005539, 30620x00000000,0x000400fa,0x0000585c,0x0000585d,
28620x00005d65,0x000200f9,0x0000557a,0x000200f8, 30630x00005862,0x000200f8,0x0000585d,0x000600a9,
28630x0000557a,0x000d00f5,0x00000006,0x00005d67, 30640x00000006,0x00005860,0x0000584a,0x000003f7,
28640x00005544,0x00005542,0x00005539,0x00005548, 30650x000003f8,0x000500c5,0x00000006,0x00005861,
28650x00005555,0x00005551,0x00005d66,0x00005560, 30660x00005845,0x00005860,0x000200f9,0x00005886,
28660x00005579,0x00005576,0x000500c4,0x00000006, 30670x000200f8,0x00005862,0x000500b1,0x0000002f,
28670x000054b4,0x00005d67,0x0000035a,0x000500c5, 30680x00005864,0x0000585a,0x000003fd,0x000300f7,
28680x00000006,0x000054b5,0x00005d63,0x000054b4, 30690x0000586e,0x00000000,0x000400fa,0x00005864,
28690x00050095,0x0000013d,0x00005593,0x000053ea, 30700x00005865,0x0000586e,0x000200f8,0x00005865,
28700x00005464,0x00050051,0x00000006,0x00005594, 30710x000300f7,0x0000586c,0x00000000,0x000400fa,
28710x00005593,0x00000001,0x00050051,0x00000006, 30720x0000584a,0x00005867,0x0000586a,0x000200f8,
28720x00005595,0x00005593,0x00000000,0x00050080, 30730x0000586a,0x000200f9,0x0000586c,0x000200f8,
28730x00000006,0x0000559a,0x000053f1,0x00005594, 30740x00005867,0x000500c5,0x00000006,0x00005869,
28740x00050050,0x00000007,0x0000559b,0x00005595, 30750x00005845,0x00000406,0x000200f9,0x0000586c,
28750x0000559a,0x0004007c,0x00000014,0x0000558b, 30760x000200f8,0x0000586c,0x000700f5,0x00000006,
28760x0000559b,0x00060041,0x0000016c,0x00005583, 30770x00006188,0x00005869,0x00005867,0x00005845,
28770x0000558b,0x0000016b,0x0000016b,0x0005003e, 30780x0000586a,0x000200f9,0x00005886,0x000200f8,
28780x00005583,0x000054b5,0x00000002,0x00000004, 30790x0000586e,0x000500c7,0x00000006,0x00005870,
28790x00050080,0x00000006,0x000054bb,0x00005464, 30800x00005842,0x0000040e,0x00050080,0x000000fb,
28800x000000ec,0x00050051,0x00000027,0x000054bd, 30810x00005872,0x00005859,0x00006533,0x0004007c,
28810x00005cf1,0x00000002,0x000300f7,0x000055ee, 30820x00000006,0x00005873,0x00005872,0x000500c4,
28820x00000000,0x000300fb,0x00000138,0x000055a8, 30830x00000006,0x00005874,0x00005873,0x00000414,
28830x000200f8,0x000055a8,0x0004007c,0x00000006, 30840x000500c2,0x00000006,0x00005876,0x00005870,
28840x000055aa,0x000054bd,0x000500c2,0x00000006, 30850x000001f8,0x000500c5,0x00000006,0x00005877,
28850x000055ac,0x000055aa,0x0000035a,0x000500c7, 30860x00005874,0x00005876,0x000300f7,0x0000587d,
28860x00000006,0x000055ad,0x000055ac,0x00000373, 30870x00000000,0x000400fa,0x0000584a,0x00005879,
28870x000500c7,0x00000006,0x000055af,0x000055aa, 30880x0000587d,0x000200f8,0x00005879,0x000500c7,
28880x00000256,0x000500ab,0x0000002f,0x000055b2, 30890x00000006,0x0000587b,0x00005842,0x0000041d,
28890x000055ad,0x00000138,0x000500ac,0x0000002f, 30900x000500ab,0x0000002f,0x0000587c,0x0000587b,
28900x000055b5,0x000055af,0x0000037e,0x000300f7, 30910x00000140,0x000200f9,0x0000587d,0x000200f8,
28910x000055b9,0x00000000,0x000400fa,0x000055b5, 30920x0000587d,0x000700f5,0x0000002f,0x0000587e,
28920x000055b6,0x000055b9,0x000200f8,0x000055b6, 30930x0000584a,0x0000586e,0x0000587c,0x00005879,
28930x000500c5,0x00000006,0x000055b8,0x000055ad, 30940x000300f7,0x00005882,0x00000000,0x000400fa,
28940x00000383,0x000200f9,0x000055ee,0x000200f8, 30950x0000587e,0x0000587f,0x00005882,0x000200f8,
28950x000055b9,0x000500aa,0x0000002f,0x000055bb, 30960x0000587f,0x00050080,0x00000006,0x00005881,
28960x000055af,0x00000138,0x000300f7,0x000055be, 30970x00005877,0x0000014a,0x000200f9,0x00005882,
28970x00000000,0x000400fa,0x000055bb,0x000055bc, 30980x000200f8,0x00005882,0x000700f5,0x00000006,
28980x000055be,0x000200f8,0x000055bc,0x000200f9, 30990x00006187,0x00005877,0x0000587d,0x00005881,
28990x000055ee,0x000200f8,0x000055be,0x000500c2, 31000x0000587f,0x000500c5,0x00000006,0x00005885,
29000x00000006,0x000055c0,0x000055af,0x0000038e, 31010x00005845,0x00006187,0x000200f9,0x00005886,
29010x0004007c,0x000000f4,0x000055c1,0x000055c0, 31020x000200f8,0x00005886,0x000d00f5,0x00000006,
29020x00050082,0x000000f4,0x000055c2,0x000055c1, 31030x00006189,0x00005850,0x0000584e,0x00005845,
29030x00000391,0x000500af,0x0000002f,0x000055c4, 31040x00005854,0x00005861,0x0000585d,0x00006188,
29040x000055c2,0x0000035a,0x000300f7,0x000055ca, 31050x0000586c,0x00005885,0x00005882,0x00050051,
29050x00000000,0x000400fa,0x000055c4,0x000055c5, 31060x00000027,0x00005812,0x000060ea,0x00000001,
29060x000055ca,0x000200f8,0x000055c5,0x000600a9, 31070x000300f7,0x000058da,0x00000000,0x000300fb,
29070x00000006,0x000055c8,0x000055b2,0x00000399, 31080x00000140,0x00005894,0x000200f8,0x00005894,
29080x0000039a,0x000500c5,0x00000006,0x000055c9, 31090x0004007c,0x00000006,0x00005896,0x00005812,
29090x000055ad,0x000055c8,0x000200f9,0x000055ee, 31100x000500c2,0x00000006,0x00005898,0x00005896,
29100x000200f8,0x000055ca,0x000500b1,0x0000002f, 31110x00000362,0x000500c7,0x00000006,0x00005899,
29110x000055cc,0x000055c2,0x0000039f,0x000300f7, 31120x00005898,0x000003d1,0x000500c7,0x00000006,
29120x000055d6,0x00000000,0x000400fa,0x000055cc, 31130x0000589b,0x00005896,0x0000025e,0x000500ab,
29130x000055cd,0x000055d6,0x000200f8,0x000055cd, 31140x0000002f,0x0000589e,0x00005899,0x00000140,
29140x000300f7,0x000055d4,0x00000000,0x000400fa, 31150x000500ac,0x0000002f,0x000058a1,0x0000589b,
29150x000055b2,0x000055cf,0x000055d2,0x000200f8, 31160x000003dc,0x000300f7,0x000058a5,0x00000000,
29160x000055d2,0x000200f9,0x000055d4,0x000200f8, 31170x000400fa,0x000058a1,0x000058a2,0x000058a5,
29170x000055cf,0x000500c5,0x00000006,0x000055d1, 31180x000200f8,0x000058a2,0x000500c5,0x00000006,
29180x000055ad,0x000003a8,0x000200f9,0x000055d4, 31190x000058a4,0x00005899,0x000003e1,0x000200f9,
29190x000200f8,0x000055d4,0x000700f5,0x00000006, 31200x000058da,0x000200f8,0x000058a5,0x000500aa,
29200x00005d6a,0x000055d1,0x000055cf,0x000055ad, 31210x0000002f,0x000058a7,0x0000589b,0x00000140,
29210x000055d2,0x000200f9,0x000055ee,0x000200f8, 31220x000300f7,0x000058aa,0x00000000,0x000400fa,
29220x000055d6,0x000500c7,0x00000006,0x000055d8, 31230x000058a7,0x000058a8,0x000058aa,0x000200f8,
29230x000055aa,0x000003b0,0x00050080,0x000000f4, 31240x000058a8,0x000200f9,0x000058da,0x000200f8,
29240x000055da,0x000055c1,0x000060ff,0x0004007c, 31250x000058aa,0x000500c2,0x00000006,0x000058ac,
29250x00000006,0x000055db,0x000055da,0x000500c4, 31260x0000589b,0x000003ec,0x0004007c,0x000000fb,
29260x00000006,0x000055dc,0x000055db,0x000003b6, 31270x000058ad,0x000058ac,0x00050082,0x000000fb,
29270x000500c2,0x00000006,0x000055de,0x000055d8, 31280x000058ae,0x000058ad,0x000003ef,0x000500af,
29280x000001f0,0x000500c5,0x00000006,0x000055df, 31290x0000002f,0x000058b0,0x000058ae,0x00000362,
29290x000055dc,0x000055de,0x000300f7,0x000055e5, 31300x000300f7,0x000058b6,0x00000000,0x000400fa,
29300x00000000,0x000400fa,0x000055b2,0x000055e1, 31310x000058b0,0x000058b1,0x000058b6,0x000200f8,
29310x000055e5,0x000200f8,0x000055e1,0x000500c7, 31320x000058b1,0x000600a9,0x00000006,0x000058b4,
29320x00000006,0x000055e3,0x000055aa,0x000003bf, 31330x0000589e,0x000003f7,0x000003f8,0x000500c5,
29330x000500ab,0x0000002f,0x000055e4,0x000055e3, 31340x00000006,0x000058b5,0x00005899,0x000058b4,
29340x00000138,0x000200f9,0x000055e5,0x000200f8, 31350x000200f9,0x000058da,0x000200f8,0x000058b6,
29350x000055e5,0x000700f5,0x0000002f,0x000055e6, 31360x000500b1,0x0000002f,0x000058b8,0x000058ae,
29360x000055b2,0x000055d6,0x000055e4,0x000055e1, 31370x000003fd,0x000300f7,0x000058c2,0x00000000,
29370x000300f7,0x000055ea,0x00000000,0x000400fa, 31380x000400fa,0x000058b8,0x000058b9,0x000058c2,
29380x000055e6,0x000055e7,0x000055ea,0x000200f8, 31390x000200f8,0x000058b9,0x000300f7,0x000058c0,
29390x000055e7,0x00050080,0x00000006,0x000055e9, 31400x00000000,0x000400fa,0x0000589e,0x000058bb,
29400x000055df,0x00000142,0x000200f9,0x000055ea, 31410x000058be,0x000200f8,0x000058be,0x000200f9,
29410x000200f8,0x000055ea,0x000700f5,0x00000006, 31420x000058c0,0x000200f8,0x000058bb,0x000500c5,
29420x00005d69,0x000055df,0x000055e5,0x000055e9, 31430x00000006,0x000058bd,0x00005899,0x00000406,
29430x000055e7,0x000500c5,0x00000006,0x000055ed, 31440x000200f9,0x000058c0,0x000200f8,0x000058c0,
29440x000055ad,0x00005d69,0x000200f9,0x000055ee, 31450x000700f5,0x00000006,0x0000618c,0x000058bd,
29450x000200f8,0x000055ee,0x000d00f5,0x00000006, 31460x000058bb,0x00005899,0x000058be,0x000200f9,
29460x00005d6b,0x000055b8,0x000055b6,0x000055ad, 31470x000058da,0x000200f8,0x000058c2,0x000500c7,
29470x000055bc,0x000055c9,0x000055c5,0x00005d6a, 31480x00000006,0x000058c4,0x00005896,0x0000040e,
29480x000055d4,0x000055ed,0x000055ea,0x00050051, 31490x00050080,0x000000fb,0x000058c6,0x000058ad,
29490x00000027,0x000054c0,0x00005cf4,0x00000000, 31500x00006533,0x0004007c,0x00000006,0x000058c7,
29500x000300f7,0x00005642,0x00000000,0x000300fb, 31510x000058c6,0x000500c4,0x00000006,0x000058c8,
29510x00000138,0x000055fc,0x000200f8,0x000055fc, 31520x000058c7,0x00000414,0x000500c2,0x00000006,
29520x0004007c,0x00000006,0x000055fe,0x000054c0, 31530x000058ca,0x000058c4,0x000001f8,0x000500c5,
29530x000500c2,0x00000006,0x00005600,0x000055fe, 31540x00000006,0x000058cb,0x000058c8,0x000058ca,
29540x0000035a,0x000500c7,0x00000006,0x00005601, 31550x000300f7,0x000058d1,0x00000000,0x000400fa,
29550x00005600,0x00000373,0x000500c7,0x00000006, 31560x0000589e,0x000058cd,0x000058d1,0x000200f8,
29560x00005603,0x000055fe,0x00000256,0x000500aa, 31570x000058cd,0x000500c7,0x00000006,0x000058cf,
29570x0000002f,0x00005607,0x00005601,0x00000138, 31580x00005896,0x0000041d,0x000500ab,0x0000002f,
29580x000500ac,0x0000002f,0x00005609,0x00005603, 31590x000058d0,0x000058cf,0x00000140,0x000200f9,
29590x0000037e,0x000300f7,0x0000560d,0x00000000, 31600x000058d1,0x000200f8,0x000058d1,0x000700f5,
29600x000400fa,0x00005609,0x0000560a,0x0000560d, 31610x0000002f,0x000058d2,0x0000589e,0x000058c2,
29610x000200f8,0x0000560a,0x000500c5,0x00000006, 31620x000058d0,0x000058cd,0x000300f7,0x000058d6,
29620x0000560c,0x00005601,0x00000383,0x000200f9, 31630x00000000,0x000400fa,0x000058d2,0x000058d3,
29630x00005642,0x000200f8,0x0000560d,0x000500aa, 31640x000058d6,0x000200f8,0x000058d3,0x00050080,
29640x0000002f,0x0000560f,0x00005603,0x00000138, 31650x00000006,0x000058d5,0x000058cb,0x0000014a,
29650x000300f7,0x00005612,0x00000000,0x000400fa, 31660x000200f9,0x000058d6,0x000200f8,0x000058d6,
29660x0000560f,0x00005610,0x00005612,0x000200f8, 31670x000700f5,0x00000006,0x0000618b,0x000058cb,
29670x00005610,0x000200f9,0x00005642,0x000200f8, 31680x000058d1,0x000058d5,0x000058d3,0x000500c5,
29680x00005612,0x000500c2,0x00000006,0x00005614, 31690x00000006,0x000058d9,0x00005899,0x0000618b,
29690x00005603,0x0000038e,0x0004007c,0x000000f4, 31700x000200f9,0x000058da,0x000200f8,0x000058da,
29700x00005615,0x00005614,0x00050082,0x000000f4, 31710x000d00f5,0x00000006,0x0000618d,0x000058a4,
29710x00005616,0x00005615,0x00000391,0x000500af, 31720x000058a2,0x00005899,0x000058a8,0x000058b5,
29720x0000002f,0x00005618,0x00005616,0x0000035a, 31730x000058b1,0x0000618c,0x000058c0,0x000058d9,
29730x000300f7,0x0000561e,0x00000000,0x000400fa, 31740x000058d6,0x000500c4,0x00000006,0x00005814,
29740x00005618,0x00005619,0x0000561e,0x000200f8, 31750x0000618d,0x00000362,0x000500c5,0x00000006,
29750x00005619,0x000600a9,0x00000006,0x0000561c, 31760x00005815,0x00006189,0x00005814,0x00050095,
29760x00005607,0x00000399,0x0000039a,0x000500c5, 31770x00000145,0x000058f3,0x00005795,0x000057c4,
29770x00000006,0x0000561d,0x00005601,0x0000561c, 31780x00050051,0x00000006,0x000058f4,0x000058f3,
29780x000200f9,0x00005642,0x000200f8,0x0000561e, 31790x00000001,0x00050051,0x00000006,0x000058f5,
29790x000500b1,0x0000002f,0x00005620,0x00005616, 31800x000058f3,0x00000000,0x00050080,0x00000006,
29800x0000039f,0x000300f7,0x0000562a,0x00000000, 31810x000058fa,0x0000579c,0x000058f4,0x00050050,
29810x000400fa,0x00005620,0x00005621,0x0000562a, 31820x00000007,0x000058fb,0x000058f5,0x000058fa,
29820x000200f8,0x00005621,0x000300f7,0x00005628, 31830x0004007c,0x00000014,0x000058eb,0x000058fb,
29830x00000000,0x000400fa,0x00005607,0x00005623, 31840x00060041,0x00000174,0x000058e3,0x000058eb,
29840x00005626,0x000200f8,0x00005626,0x000200f9, 31850x00000173,0x00000173,0x0005003e,0x000058e3,
29850x00005628,0x000200f8,0x00005623,0x000500c5, 31860x00005815,0x00000002,0x00000004,0x00050080,
29860x00000006,0x00005625,0x00005601,0x000003a8, 31870x00000006,0x0000581b,0x000057c4,0x000000f3,
29870x000200f9,0x00005628,0x000200f8,0x00005628, 31880x00050051,0x00000027,0x0000581d,0x000060ea,
29880x000700f5,0x00000006,0x00005d6e,0x00005625, 31890x00000002,0x000300f7,0x0000594e,0x00000000,
29890x00005623,0x00005601,0x00005626,0x000200f9, 31900x000300fb,0x00000140,0x00005908,0x000200f8,
29900x00005642,0x000200f8,0x0000562a,0x000500c7, 31910x00005908,0x0004007c,0x00000006,0x0000590a,
29910x00000006,0x0000562c,0x000055fe,0x000003b0, 31920x0000581d,0x000500c2,0x00000006,0x0000590c,
29920x00050080,0x000000f4,0x0000562e,0x00005615, 31930x0000590a,0x00000362,0x000500c7,0x00000006,
29930x000060ff,0x0004007c,0x00000006,0x0000562f, 31940x0000590d,0x0000590c,0x000003d1,0x000500c7,
29940x0000562e,0x000500c4,0x00000006,0x00005630, 31950x00000006,0x0000590f,0x0000590a,0x0000025e,
29950x0000562f,0x000003b6,0x000500c2,0x00000006, 31960x000500ab,0x0000002f,0x00005912,0x0000590d,
29960x00005632,0x0000562c,0x000001f0,0x000500c5, 31970x00000140,0x000500ac,0x0000002f,0x00005915,
29970x00000006,0x00005633,0x00005630,0x00005632, 31980x0000590f,0x000003dc,0x000300f7,0x00005919,
29980x000300f7,0x00005639,0x00000000,0x000400fa, 31990x00000000,0x000400fa,0x00005915,0x00005916,
29990x00005607,0x00005635,0x00005639,0x000200f8, 32000x00005919,0x000200f8,0x00005916,0x000500c5,
30000x00005635,0x000500c7,0x00000006,0x00005637, 32010x00000006,0x00005918,0x0000590d,0x000003e1,
30010x000055fe,0x000003bf,0x000500ab,0x0000002f, 32020x000200f9,0x0000594e,0x000200f8,0x00005919,
30020x00005638,0x00005637,0x00000138,0x000200f9, 32030x000500aa,0x0000002f,0x0000591b,0x0000590f,
30030x00005639,0x000200f8,0x00005639,0x000700f5, 32040x00000140,0x000300f7,0x0000591e,0x00000000,
30040x0000002f,0x0000563a,0x00005607,0x0000562a, 32050x000400fa,0x0000591b,0x0000591c,0x0000591e,
30050x00005638,0x00005635,0x000300f7,0x0000563e, 32060x000200f8,0x0000591c,0x000200f9,0x0000594e,
30060x00000000,0x000400fa,0x0000563a,0x0000563b, 32070x000200f8,0x0000591e,0x000500c2,0x00000006,
30070x0000563e,0x000200f8,0x0000563b,0x00050080, 32080x00005920,0x0000590f,0x000003ec,0x0004007c,
30080x00000006,0x0000563d,0x00005633,0x00000142, 32090x000000fb,0x00005921,0x00005920,0x00050082,
30090x000200f9,0x0000563e,0x000200f8,0x0000563e, 32100x000000fb,0x00005922,0x00005921,0x000003ef,
30100x000700f5,0x00000006,0x00005d6d,0x00005633, 32110x000500af,0x0000002f,0x00005924,0x00005922,
30110x00005639,0x0000563d,0x0000563b,0x000500c5, 32120x00000362,0x000300f7,0x0000592a,0x00000000,
30120x00000006,0x00005641,0x00005601,0x00005d6d, 32130x000400fa,0x00005924,0x00005925,0x0000592a,
30130x000200f9,0x00005642,0x000200f8,0x00005642, 32140x000200f8,0x00005925,0x000600a9,0x00000006,
30140x000d00f5,0x00000006,0x00005d6f,0x0000560c, 32150x00005928,0x00005912,0x000003f7,0x000003f8,
30150x0000560a,0x00005601,0x00005610,0x0000561d, 32160x000500c5,0x00000006,0x00005929,0x0000590d,
30160x00005619,0x00005d6e,0x00005628,0x00005641, 32170x00005928,0x000200f9,0x0000594e,0x000200f8,
30170x0000563e,0x000500c4,0x00000006,0x000054c2, 32180x0000592a,0x000500b1,0x0000002f,0x0000592c,
30180x00005d6f,0x0000035a,0x000500c5,0x00000006, 32190x00005922,0x000003fd,0x000300f7,0x00005936,
30190x000054c3,0x00005d6b,0x000054c2,0x00050095, 32200x00000000,0x000400fa,0x0000592c,0x0000592d,
30200x0000013d,0x0000565b,0x000053ea,0x000054bb, 32210x00005936,0x000200f8,0x0000592d,0x000300f7,
30210x00050051,0x00000006,0x0000565c,0x0000565b, 32220x00005934,0x00000000,0x000400fa,0x00005912,
30220x00000001,0x00050051,0x00000006,0x0000565d, 32230x0000592f,0x00005932,0x000200f8,0x00005932,
30230x0000565b,0x00000000,0x00050080,0x00000006, 32240x000200f9,0x00005934,0x000200f8,0x0000592f,
30240x00005662,0x000053f1,0x0000565c,0x00050050, 32250x000500c5,0x00000006,0x00005931,0x0000590d,
30250x00000007,0x00005663,0x0000565d,0x00005662, 32260x00000406,0x000200f9,0x00005934,0x000200f8,
30260x0004007c,0x00000014,0x00005653,0x00005663, 32270x00005934,0x000700f5,0x00000006,0x00006190,
30270x00060041,0x0000016c,0x0000564b,0x00005653, 32280x00005931,0x0000592f,0x0000590d,0x00005932,
30280x0000016b,0x0000016b,0x0005003e,0x0000564b, 32290x000200f9,0x0000594e,0x000200f8,0x00005936,
30290x000054c3,0x00000002,0x00000004,0x00050080, 32300x000500c7,0x00000006,0x00005938,0x0000590a,
30300x00000006,0x000054c8,0x00005464,0x000001cd, 32310x0000040e,0x00050080,0x000000fb,0x0000593a,
30310x00050051,0x00000027,0x000054ca,0x00005cf4, 32320x00005921,0x00006533,0x0004007c,0x00000006,
30320x00000001,0x000300f7,0x000056b6,0x00000000, 32330x0000593b,0x0000593a,0x000500c4,0x00000006,
30330x000300fb,0x00000138,0x00005670,0x000200f8, 32340x0000593c,0x0000593b,0x00000414,0x000500c2,
30340x00005670,0x0004007c,0x00000006,0x00005672, 32350x00000006,0x0000593e,0x00005938,0x000001f8,
30350x000054ca,0x000500c2,0x00000006,0x00005674, 32360x000500c5,0x00000006,0x0000593f,0x0000593c,
30360x00005672,0x0000035a,0x000500c7,0x00000006, 32370x0000593e,0x000300f7,0x00005945,0x00000000,
30370x00005675,0x00005674,0x00000373,0x000500c7, 32380x000400fa,0x00005912,0x00005941,0x00005945,
30380x00000006,0x00005677,0x00005672,0x00000256, 32390x000200f8,0x00005941,0x000500c7,0x00000006,
30390x000500aa,0x0000002f,0x0000567b,0x00005675, 32400x00005943,0x0000590a,0x0000041d,0x000500ab,
30400x00000138,0x000500ac,0x0000002f,0x0000567d, 32410x0000002f,0x00005944,0x00005943,0x00000140,
30410x00005677,0x0000037e,0x000300f7,0x00005681, 32420x000200f9,0x00005945,0x000200f8,0x00005945,
30420x00000000,0x000400fa,0x0000567d,0x0000567e, 32430x000700f5,0x0000002f,0x00005946,0x00005912,
30430x00005681,0x000200f8,0x0000567e,0x000500c5, 32440x00005936,0x00005944,0x00005941,0x000300f7,
30440x00000006,0x00005680,0x00005675,0x00000383, 32450x0000594a,0x00000000,0x000400fa,0x00005946,
30450x000200f9,0x000056b6,0x000200f8,0x00005681, 32460x00005947,0x0000594a,0x000200f8,0x00005947,
30460x000500aa,0x0000002f,0x00005683,0x00005677, 32470x00050080,0x00000006,0x00005949,0x0000593f,
30470x00000138,0x000300f7,0x00005686,0x00000000, 32480x0000014a,0x000200f9,0x0000594a,0x000200f8,
30480x000400fa,0x00005683,0x00005684,0x00005686, 32490x0000594a,0x000700f5,0x00000006,0x0000618f,
30490x000200f8,0x00005684,0x000200f9,0x000056b6, 32500x0000593f,0x00005945,0x00005949,0x00005947,
30500x000200f8,0x00005686,0x000500c2,0x00000006, 32510x000500c5,0x00000006,0x0000594d,0x0000590d,
30510x00005688,0x00005677,0x0000038e,0x0004007c, 32520x0000618f,0x000200f9,0x0000594e,0x000200f8,
30520x000000f4,0x00005689,0x00005688,0x00050082, 32530x0000594e,0x000d00f5,0x00000006,0x00006191,
30530x000000f4,0x0000568a,0x00005689,0x00000391, 32540x00005918,0x00005916,0x0000590d,0x0000591c,
30540x000500af,0x0000002f,0x0000568c,0x0000568a, 32550x00005929,0x00005925,0x00006190,0x00005934,
30550x0000035a,0x000300f7,0x00005692,0x00000000, 32560x0000594d,0x0000594a,0x00050051,0x00000027,
30560x000400fa,0x0000568c,0x0000568d,0x00005692, 32570x00005820,0x000060f3,0x00000000,0x000300f7,
30570x000200f8,0x0000568d,0x000600a9,0x00000006, 32580x000059a2,0x00000000,0x000300fb,0x00000140,
30580x00005690,0x0000567b,0x00000399,0x0000039a, 32590x0000595c,0x000200f8,0x0000595c,0x0004007c,
30590x000500c5,0x00000006,0x00005691,0x00005675, 32600x00000006,0x0000595e,0x00005820,0x000500c2,
30600x00005690,0x000200f9,0x000056b6,0x000200f8, 32610x00000006,0x00005960,0x0000595e,0x00000362,
30610x00005692,0x000500b1,0x0000002f,0x00005694, 32620x000500c7,0x00000006,0x00005961,0x00005960,
30620x0000568a,0x0000039f,0x000300f7,0x0000569e, 32630x000003d1,0x000500c7,0x00000006,0x00005963,
30630x00000000,0x000400fa,0x00005694,0x00005695, 32640x0000595e,0x0000025e,0x000500aa,0x0000002f,
30640x0000569e,0x000200f8,0x00005695,0x000300f7, 32650x00005967,0x00005961,0x00000140,0x000500ac,
30650x0000569c,0x00000000,0x000400fa,0x0000567b, 32660x0000002f,0x00005969,0x00005963,0x000003dc,
30660x00005697,0x0000569a,0x000200f8,0x0000569a, 32670x000300f7,0x0000596d,0x00000000,0x000400fa,
30670x000200f9,0x0000569c,0x000200f8,0x00005697, 32680x00005969,0x0000596a,0x0000596d,0x000200f8,
30680x000500c5,0x00000006,0x00005699,0x00005675, 32690x0000596a,0x000500c5,0x00000006,0x0000596c,
30690x000003a8,0x000200f9,0x0000569c,0x000200f8, 32700x00005961,0x000003e1,0x000200f9,0x000059a2,
30700x0000569c,0x000700f5,0x00000006,0x00005d72, 32710x000200f8,0x0000596d,0x000500aa,0x0000002f,
30710x00005699,0x00005697,0x00005675,0x0000569a, 32720x0000596f,0x00005963,0x00000140,0x000300f7,
30720x000200f9,0x000056b6,0x000200f8,0x0000569e, 32730x00005972,0x00000000,0x000400fa,0x0000596f,
30730x000500c7,0x00000006,0x000056a0,0x00005672, 32740x00005970,0x00005972,0x000200f8,0x00005970,
30740x000003b0,0x00050080,0x000000f4,0x000056a2, 32750x000200f9,0x000059a2,0x000200f8,0x00005972,
30750x00005689,0x000060ff,0x0004007c,0x00000006, 32760x000500c2,0x00000006,0x00005974,0x00005963,
30760x000056a3,0x000056a2,0x000500c4,0x00000006, 32770x000003ec,0x0004007c,0x000000fb,0x00005975,
30770x000056a4,0x000056a3,0x000003b6,0x000500c2, 32780x00005974,0x00050082,0x000000fb,0x00005976,
30780x00000006,0x000056a6,0x000056a0,0x000001f0, 32790x00005975,0x000003ef,0x000500af,0x0000002f,
30790x000500c5,0x00000006,0x000056a7,0x000056a4, 32800x00005978,0x00005976,0x00000362,0x000300f7,
30800x000056a6,0x000300f7,0x000056ad,0x00000000, 32810x0000597e,0x00000000,0x000400fa,0x00005978,
30810x000400fa,0x0000567b,0x000056a9,0x000056ad, 32820x00005979,0x0000597e,0x000200f8,0x00005979,
30820x000200f8,0x000056a9,0x000500c7,0x00000006, 32830x000600a9,0x00000006,0x0000597c,0x00005967,
30830x000056ab,0x00005672,0x000003bf,0x000500ab, 32840x000003f7,0x000003f8,0x000500c5,0x00000006,
30840x0000002f,0x000056ac,0x000056ab,0x00000138, 32850x0000597d,0x00005961,0x0000597c,0x000200f9,
30850x000200f9,0x000056ad,0x000200f8,0x000056ad, 32860x000059a2,0x000200f8,0x0000597e,0x000500b1,
30860x000700f5,0x0000002f,0x000056ae,0x0000567b, 32870x0000002f,0x00005980,0x00005976,0x000003fd,
30870x0000569e,0x000056ac,0x000056a9,0x000300f7, 32880x000300f7,0x0000598a,0x00000000,0x000400fa,
30880x000056b2,0x00000000,0x000400fa,0x000056ae, 32890x00005980,0x00005981,0x0000598a,0x000200f8,
30890x000056af,0x000056b2,0x000200f8,0x000056af, 32900x00005981,0x000300f7,0x00005988,0x00000000,
30900x00050080,0x00000006,0x000056b1,0x000056a7, 32910x000400fa,0x00005967,0x00005983,0x00005986,
30910x00000142,0x000200f9,0x000056b2,0x000200f8, 32920x000200f8,0x00005986,0x000200f9,0x00005988,
30920x000056b2,0x000700f5,0x00000006,0x00005d71, 32930x000200f8,0x00005983,0x000500c5,0x00000006,
30930x000056a7,0x000056ad,0x000056b1,0x000056af, 32940x00005985,0x00005961,0x00000406,0x000200f9,
30940x000500c5,0x00000006,0x000056b5,0x00005675, 32950x00005988,0x000200f8,0x00005988,0x000700f5,
30950x00005d71,0x000200f9,0x000056b6,0x000200f8, 32960x00000006,0x00006194,0x00005985,0x00005983,
30960x000056b6,0x000d00f5,0x00000006,0x00005d73, 32970x00005961,0x00005986,0x000200f9,0x000059a2,
30970x00005680,0x0000567e,0x00005675,0x00005684, 32980x000200f8,0x0000598a,0x000500c7,0x00000006,
30980x00005691,0x0000568d,0x00005d72,0x0000569c, 32990x0000598c,0x0000595e,0x0000040e,0x00050080,
30990x000056b5,0x000056b2,0x00050051,0x00000027, 33000x000000fb,0x0000598e,0x00005975,0x00006533,
31000x000054cd,0x00005cf4,0x00000002,0x000300f7, 33010x0004007c,0x00000006,0x0000598f,0x0000598e,
31010x0000570a,0x00000000,0x000300fb,0x00000138, 33020x000500c4,0x00000006,0x00005990,0x0000598f,
31020x000056c4,0x000200f8,0x000056c4,0x0004007c, 33030x00000414,0x000500c2,0x00000006,0x00005992,
31030x00000006,0x000056c6,0x000054cd,0x000500c2, 33040x0000598c,0x000001f8,0x000500c5,0x00000006,
31040x00000006,0x000056c8,0x000056c6,0x0000035a, 33050x00005993,0x00005990,0x00005992,0x000300f7,
31050x000500c7,0x00000006,0x000056c9,0x000056c8, 33060x00005999,0x00000000,0x000400fa,0x00005967,
31060x00000373,0x000500c7,0x00000006,0x000056cb, 33070x00005995,0x00005999,0x000200f8,0x00005995,
31070x000056c6,0x00000256,0x000500aa,0x0000002f, 33080x000500c7,0x00000006,0x00005997,0x0000595e,
31080x000056cf,0x000056c9,0x00000138,0x000500ac, 33090x0000041d,0x000500ab,0x0000002f,0x00005998,
31090x0000002f,0x000056d1,0x000056cb,0x0000037e, 33100x00005997,0x00000140,0x000200f9,0x00005999,
31100x000300f7,0x000056d5,0x00000000,0x000400fa, 33110x000200f8,0x00005999,0x000700f5,0x0000002f,
31110x000056d1,0x000056d2,0x000056d5,0x000200f8, 33120x0000599a,0x00005967,0x0000598a,0x00005998,
31120x000056d2,0x000500c5,0x00000006,0x000056d4, 33130x00005995,0x000300f7,0x0000599e,0x00000000,
31130x000056c9,0x00000383,0x000200f9,0x0000570a,
31140x000200f8,0x000056d5,0x000500aa,0x0000002f,
31150x000056d7,0x000056cb,0x00000138,0x000300f7,
31160x000056da,0x00000000,0x000400fa,0x000056d7,
31170x000056d8,0x000056da,0x000200f8,0x000056d8,
31180x000200f9,0x0000570a,0x000200f8,0x000056da,
31190x000500c2,0x00000006,0x000056dc,0x000056cb,
31200x0000038e,0x0004007c,0x000000f4,0x000056dd,
31210x000056dc,0x00050082,0x000000f4,0x000056de,
31220x000056dd,0x00000391,0x000500af,0x0000002f,
31230x000056e0,0x000056de,0x0000035a,0x000300f7,
31240x000056e6,0x00000000,0x000400fa,0x000056e0,
31250x000056e1,0x000056e6,0x000200f8,0x000056e1,
31260x000600a9,0x00000006,0x000056e4,0x000056cf,
31270x00000399,0x0000039a,0x000500c5,0x00000006,
31280x000056e5,0x000056c9,0x000056e4,0x000200f9,
31290x0000570a,0x000200f8,0x000056e6,0x000500b1,
31300x0000002f,0x000056e8,0x000056de,0x0000039f,
31310x000300f7,0x000056f2,0x00000000,0x000400fa,
31320x000056e8,0x000056e9,0x000056f2,0x000200f8,
31330x000056e9,0x000300f7,0x000056f0,0x00000000,
31340x000400fa,0x000056cf,0x000056eb,0x000056ee,
31350x000200f8,0x000056ee,0x000200f9,0x000056f0,
31360x000200f8,0x000056eb,0x000500c5,0x00000006,
31370x000056ed,0x000056c9,0x000003a8,0x000200f9,
31380x000056f0,0x000200f8,0x000056f0,0x000700f5,
31390x00000006,0x00005d76,0x000056ed,0x000056eb,
31400x000056c9,0x000056ee,0x000200f9,0x0000570a,
31410x000200f8,0x000056f2,0x000500c7,0x00000006,
31420x000056f4,0x000056c6,0x000003b0,0x00050080,
31430x000000f4,0x000056f6,0x000056dd,0x000060ff,
31440x0004007c,0x00000006,0x000056f7,0x000056f6,
31450x000500c4,0x00000006,0x000056f8,0x000056f7,
31460x000003b6,0x000500c2,0x00000006,0x000056fa,
31470x000056f4,0x000001f0,0x000500c5,0x00000006,
31480x000056fb,0x000056f8,0x000056fa,0x000300f7,
31490x00005701,0x00000000,0x000400fa,0x000056cf,
31500x000056fd,0x00005701,0x000200f8,0x000056fd,
31510x000500c7,0x00000006,0x000056ff,0x000056c6,
31520x000003bf,0x000500ab,0x0000002f,0x00005700,
31530x000056ff,0x00000138,0x000200f9,0x00005701,
31540x000200f8,0x00005701,0x000700f5,0x0000002f,
31550x00005702,0x000056cf,0x000056f2,0x00005700,
31560x000056fd,0x000300f7,0x00005706,0x00000000,
31570x000400fa,0x00005702,0x00005703,0x00005706,
31580x000200f8,0x00005703,0x00050080,0x00000006,
31590x00005705,0x000056fb,0x00000142,0x000200f9,
31600x00005706,0x000200f8,0x00005706,0x000700f5,
31610x00000006,0x00005d75,0x000056fb,0x00005701,
31620x00005705,0x00005703,0x000500c5,0x00000006,
31630x00005709,0x000056c9,0x00005d75,0x000200f9,
31640x0000570a,0x000200f8,0x0000570a,0x000d00f5,
31650x00000006,0x00005d77,0x000056d4,0x000056d2,
31660x000056c9,0x000056d8,0x000056e5,0x000056e1,
31670x00005d76,0x000056f0,0x00005709,0x00005706,
31680x000500c4,0x00000006,0x000054cf,0x00005d77,
31690x0000035a,0x000500c5,0x00000006,0x000054d0,
31700x00005d73,0x000054cf,0x00050095,0x0000013d,
31710x00005723,0x000053ea,0x000054c8,0x00050051,
31720x00000006,0x00005724,0x00005723,0x00000001,
31730x00050051,0x00000006,0x00005725,0x00005723,
31740x00000000,0x00050080,0x00000006,0x0000572a,
31750x000053f1,0x00005724,0x00050050,0x00000007,
31760x0000572b,0x00005725,0x0000572a,0x0004007c,
31770x00000014,0x0000571b,0x0000572b,0x00060041,
31780x0000016c,0x00005713,0x0000571b,0x0000016b,
31790x0000016b,0x0005003e,0x00005713,0x000054d0,
31800x00000002,0x00000004,0x000200f9,0x00005497,
31810x000200f8,0x00005468,0x00050080,0x00000006,
31820x0000546a,0x0000513c,0x000001db,0x00050084,
31830x00000006,0x0000546c,0x000001ef,0x00005cee,
31840x00050080,0x00000006,0x0000546d,0x0000546a,
31850x0000546c,0x00050051,0x00000027,0x00005472,
31860x00005cf1,0x00000000,0x0004007c,0x00000006,
31870x00005731,0x00005472,0x00050095,0x0000013d,
31880x0000574c,0x000053ea,0x0000546d,0x00050051,
31890x00000006,0x0000574d,0x0000574c,0x00000001,
31900x00050051,0x00000006,0x0000574e,0x0000574c,
31910x00000000,0x00050080,0x00000006,0x00005753,
31920x000053f1,0x0000574d,0x00050050,0x00000007,
31930x00005754,0x0000574e,0x00005753,0x0004007c,
31940x00000014,0x00005744,0x00005754,0x00060041,
31950x0000016c,0x0000573c,0x00005744,0x0000016b,
31960x0000016b,0x0005003e,0x0000573c,0x00005731,
31970x00000002,0x00000004,0x00050080,0x00000006,
31980x00005475,0x0000546d,0x000000ec,0x00050051,
31990x00000027,0x00005479,0x00005cf1,0x00000001,
32000x0004007c,0x00000006,0x0000575a,0x00005479,
32010x00050095,0x0000013d,0x00005775,0x000053ea,
32020x00005475,0x00050051,0x00000006,0x00005776,
32030x00005775,0x00000001,0x00050051,0x00000006,
32040x00005777,0x00005775,0x00000000,0x00050080,
32050x00000006,0x0000577c,0x000053f1,0x00005776,
32060x00050050,0x00000007,0x0000577d,0x00005777,
32070x0000577c,0x0004007c,0x00000014,0x0000576d,
32080x0000577d,0x00060041,0x0000016c,0x00005765,
32090x0000576d,0x0000016b,0x0000016b,0x0005003e,
32100x00005765,0x0000575a,0x00000002,0x00000004,
32110x00050080,0x00000006,0x0000547c,0x0000546d,
32120x000001cd,0x00050051,0x00000027,0x00005480,
32130x00005cf1,0x00000002,0x0004007c,0x00000006,
32140x00005783,0x00005480,0x00050095,0x0000013d,
32150x0000579e,0x000053ea,0x0000547c,0x00050051,
32160x00000006,0x0000579f,0x0000579e,0x00000001,
32170x00050051,0x00000006,0x000057a0,0x0000579e,
32180x00000000,0x00050080,0x00000006,0x000057a5,
32190x000053f1,0x0000579f,0x00050050,0x00000007,
32200x000057a6,0x000057a0,0x000057a5,0x0004007c,
32210x00000014,0x00005796,0x000057a6,0x00060041,
32220x0000016c,0x0000578e,0x00005796,0x0000016b,
32230x0000016b,0x0005003e,0x0000578e,0x00005783,
32240x00000002,0x00000004,0x00050080,0x00000006,
32250x00005483,0x0000546d,0x000001d4,0x00050051,
32260x00000027,0x00005487,0x00005cf4,0x00000000,
32270x0004007c,0x00000006,0x000057ac,0x00005487,
32280x00050095,0x0000013d,0x000057c7,0x000053ea,
32290x00005483,0x00050051,0x00000006,0x000057c8,
32300x000057c7,0x00000001,0x00050051,0x00000006,
32310x000057c9,0x000057c7,0x00000000,0x00050080,
32320x00000006,0x000057ce,0x000053f1,0x000057c8,
32330x00050050,0x00000007,0x000057cf,0x000057c9,
32340x000057ce,0x0004007c,0x00000014,0x000057bf,
32350x000057cf,0x00060041,0x0000016c,0x000057b7,
32360x000057bf,0x0000016b,0x0000016b,0x0005003e,
32370x000057b7,0x000057ac,0x00000002,0x00000004,
32380x00050080,0x00000006,0x0000548a,0x0000546d,
32390x000001db,0x00050051,0x00000027,0x0000548e,
32400x00005cf4,0x00000001,0x0004007c,0x00000006,
32410x000057d5,0x0000548e,0x00050095,0x0000013d,
32420x000057f0,0x000053ea,0x0000548a,0x00050051,
32430x00000006,0x000057f1,0x000057f0,0x00000001,
32440x00050051,0x00000006,0x000057f2,0x000057f0,
32450x00000000,0x00050080,0x00000006,0x000057f7,
32460x000053f1,0x000057f1,0x00050050,0x00000007,
32470x000057f8,0x000057f2,0x000057f7,0x0004007c,
32480x00000014,0x000057e8,0x000057f8,0x00060041,
32490x0000016c,0x000057e0,0x000057e8,0x0000016b,
32500x0000016b,0x0005003e,0x000057e0,0x000057d5,
32510x00000002,0x00000004,0x00050080,0x00000006,
32520x00005491,0x0000546d,0x00000299,0x00050051,
32530x00000027,0x00005495,0x00005cf4,0x00000002,
32540x0004007c,0x00000006,0x000057fe,0x00005495,
32550x00050095,0x0000013d,0x00005819,0x000053ea,
32560x00005491,0x00050051,0x00000006,0x0000581a,
32570x00005819,0x00000001,0x00050051,0x00000006,
32580x0000581b,0x00005819,0x00000000,0x00050080,
32590x00000006,0x00005820,0x000053f1,0x0000581a,
32600x00050050,0x00000007,0x00005821,0x0000581b,
32610x00005820,0x0004007c,0x00000014,0x00005811,
32620x00005821,0x00060041,0x0000016c,0x00005809,
32630x00005811,0x0000016b,0x0000016b,0x0005003e,
32640x00005809,0x000057fe,0x00000002,0x00000004,
32650x000200f9,0x00005497,0x000200f8,0x00005497,
32660x000200f9,0x0000515a,0x000200f8,0x0000515a,
32670x000200f9,0x0000515b,0x000200f8,0x0000515b,
32680x000700f5,0x00000006,0x00006026,0x00005d0a,
32690x0000514b,0x0000514e,0x0000515a,0x00050080,
32700x00000006,0x0000515d,0x00005cee,0x00000264,
32710x000200f9,0x0000513d,0x000200f8,0x0000515e,
32720x00050041,0x000001bb,0x00005829,0x000001b9,
32730x0000035a,0x0004003d,0x00000006,0x0000582a,
32740x00005829,0x00050082,0x00000006,0x0000582b,
32750x0000513c,0x0000582a,0x000500c7,0x00000006,
32760x00005837,0x00005ceb,0x00000d2b,0x000500aa,
32770x0000002f,0x00005838,0x00005837,0x000000ec,
32780x000600a9,0x00000006,0x0000582e,0x00005838,
32790x000001c4,0x00000342,0x00050086,0x00000006,
32800x0000582f,0x0000582b,0x0000582e,0x00050041,
32810x000001bb,0x00005847,0x000001b9,0x000001f0,
32820x0004003d,0x00000006,0x00005848,0x00005847,
32830x00050084,0x00000006,0x00005849,0x000001ef,
32840x00005848,0x00050080,0x00000006,0x0000584a,
32850x000052dd,0x00005849,0x00050084,0x00000006,
32860x0000583f,0x00000205,0x0000582f,0x00050080,
32870x00000006,0x00005840,0x0000584a,0x0000583f,
32880x00050095,0x0000013d,0x0000587a,0x0000530e,
32890x00005840,0x00050051,0x00000006,0x0000587b,
32900x0000587a,0x00000001,0x00050051,0x00000006,
32910x0000587c,0x0000587a,0x00000000,0x00050080,
32920x00000006,0x00005881,0x00005315,0x0000587b,
32930x00050050,0x00000007,0x00005882,0x0000587c,
32940x00005881,0x0004007c,0x00000014,0x00005872,
32950x00005882,0x00050051,0x00000027,0x00005886,
32960x00005cf1,0x00000000,0x00050051,0x00000027,
32970x00005888,0x00005cf4,0x00000000,0x000500bc,
32980x0000002f,0x00005889,0x00005886,0x00005888,
32990x000300f7,0x00005890,0x00000000,0x000400fa,
33000x00005889,0x0000588a,0x00005890,0x000200f8,
33010x0000588a,0x00050051,0x00000027,0x0000588c,
33020x00005cf1,0x00000001,0x00050051,0x00000027,
33030x0000588e,0x00005cf4,0x00000001,0x000500bc,
33040x0000002f,0x0000588f,0x0000588c,0x0000588e,
33050x000200f9,0x00005890,0x000200f8,0x00005890,
33060x000700f5,0x0000002f,0x00005891,0x00005889,
33070x0000515e,0x0000588f,0x0000588a,0x000300f7,
33080x00005898,0x00000000,0x000400fa,0x00005891,
33090x00005892,0x00005898,0x000200f8,0x00005892,
33100x00050051,0x00000027,0x00005894,0x00005cf1,
33110x00000002,0x00050051,0x00000027,0x00005896,
33120x00005cf4,0x00000002,0x000500bc,0x0000002f,
33130x00005897,0x00005894,0x00005896,0x000200f9,
33140x00005898,0x000200f8,0x00005898,0x000700f5,
33150x0000002f,0x00005899,0x00005891,0x00005890,
33160x00005897,0x00005892,0x000300f7,0x0000518c,
33170x00000000,0x000400fa,0x00005899,0x00005167,
33180x0000518c,0x000200f8,0x00005167,0x00060041,
33190x0000016c,0x00005169,0x00005872,0x0000016b,
33200x00000264,0x0004007c,0x00000006,0x000058a0,
33210x00005886,0x000500c7,0x00000006,0x000058a2,
33220x000058a0,0x00000241,0x000500ab,0x0000002f,
33230x000058a3,0x000058a2,0x00000138,0x000300f7,
33240x000058aa,0x00000000,0x000400fa,0x000058a3,
33250x000058a4,0x000058a7,0x000200f8,0x000058a7,
33260x000500c5,0x00000006,0x000058a9,0x000058a0,
33270x00000241,0x000200f9,0x000058aa,0x000200f8,
33280x000058a4,0x000400c8,0x00000006,0x000058a6,
33290x000058a0,0x000200f9,0x000058aa,0x000200f8,
33300x000058aa,0x000700f5,0x00000006,0x00005cf8,
33310x000058a6,0x000058a4,0x000058a9,0x000058a7,
33320x000700ed,0x00000006,0x0000516d,0x00005169,
33330x00000142,0x00000138,0x00005cf8,0x00060041,
33340x0000016c,0x0000516f,0x00005872,0x0000016b,
33350x00000315,0x00050051,0x00000027,0x00005171,
33360x00005cf1,0x00000001,0x0004007c,0x00000006,
33370x000058b1,0x00005171,0x000500c7,0x00000006,
33380x000058b3,0x000058b1,0x00000241,0x000500ab,
33390x0000002f,0x000058b4,0x000058b3,0x00000138,
33400x000300f7,0x000058bb,0x00000000,0x000400fa,
33410x000058b4,0x000058b5,0x000058b8,0x000200f8,
33420x000058b8,0x000500c5,0x00000006,0x000058ba,
33430x000058b1,0x00000241,0x000200f9,0x000058bb,
33440x000200f8,0x000058b5,0x000400c8,0x00000006,
33450x000058b7,0x000058b1,0x000200f9,0x000058bb,
33460x000200f8,0x000058bb,0x000700f5,0x00000006,
33470x00005cfa,0x000058b7,0x000058b5,0x000058ba,
33480x000058b8,0x000700ed,0x00000006,0x00005173,
33490x0000516f,0x00000142,0x00000138,0x00005cfa,
33500x00060041,0x0000016c,0x00005175,0x00005872,
33510x0000016b,0x0000031d,0x00050051,0x00000027,
33520x00005177,0x00005cf1,0x00000002,0x0004007c,
33530x00000006,0x000058c2,0x00005177,0x000500c7,
33540x00000006,0x000058c4,0x000058c2,0x00000241,
33550x000500ab,0x0000002f,0x000058c5,0x000058c4,
33560x00000138,0x000300f7,0x000058cc,0x00000000,
33570x000400fa,0x000058c5,0x000058c6,0x000058c9,
33580x000200f8,0x000058c9,0x000500c5,0x00000006,
33590x000058cb,0x000058c2,0x00000241,0x000200f9,
33600x000058cc,0x000200f8,0x000058c6,0x000400c8,
33610x00000006,0x000058c8,0x000058c2,0x000200f9,
33620x000058cc,0x000200f8,0x000058cc,0x000700f5,
33630x00000006,0x00005cfc,0x000058c8,0x000058c6,
33640x000058cb,0x000058c9,0x000700ed,0x00000006,
33650x00005179,0x00005175,0x00000142,0x00000138,
33660x00005cfc,0x00060041,0x0000016c,0x0000517b,
33670x00005872,0x0000016b,0x00000325,0x0004007c,
33680x00000006,0x000058d3,0x00005888,0x000500c7,
33690x00000006,0x000058d5,0x000058d3,0x00000241,
33700x000500ab,0x0000002f,0x000058d6,0x000058d5,
33710x00000138,0x000300f7,0x000058dd,0x00000000,
33720x000400fa,0x000058d6,0x000058d7,0x000058da,
33730x000200f8,0x000058da,0x000500c5,0x00000006,
33740x000058dc,0x000058d3,0x00000241,0x000200f9,
33750x000058dd,0x000200f8,0x000058d7,0x000400c8,
33760x00000006,0x000058d9,0x000058d3,0x000200f9,
33770x000058dd,0x000200f8,0x000058dd,0x000700f5,
33780x00000006,0x00005d02,0x000058d9,0x000058d7,
33790x000058dc,0x000058da,0x000700ef,0x00000006,
33800x0000517f,0x0000517b,0x00000142,0x00000138,
33810x00005d02,0x00060041,0x0000016c,0x00005181,
33820x00005872,0x0000016b,0x0000032d,0x00050051,
33830x00000027,0x00005183,0x00005cf4,0x00000001,
33840x0004007c,0x00000006,0x000058e4,0x00005183,
33850x000500c7,0x00000006,0x000058e6,0x000058e4,
33860x00000241,0x000500ab,0x0000002f,0x000058e7,
33870x000058e6,0x00000138,0x000300f7,0x000058ee,
33880x00000000,0x000400fa,0x000058e7,0x000058e8,
33890x000058eb,0x000200f8,0x000058eb,0x000500c5,
33900x00000006,0x000058ed,0x000058e4,0x00000241,
33910x000200f9,0x000058ee,0x000200f8,0x000058e8,
33920x000400c8,0x00000006,0x000058ea,0x000058e4,
33930x000200f9,0x000058ee,0x000200f8,0x000058ee,
33940x000700f5,0x00000006,0x00005d04,0x000058ea,
33950x000058e8,0x000058ed,0x000058eb,0x000700ef,
33960x00000006,0x00005185,0x00005181,0x00000142,
33970x00000138,0x00005d04,0x00060041,0x0000016c,
33980x00005187,0x00005872,0x0000016b,0x00000351,
33990x00050051,0x00000027,0x00005189,0x00005cf4,
34000x00000002,0x0004007c,0x00000006,0x000058f5,
34010x00005189,0x000500c7,0x00000006,0x000058f7,
34020x000058f5,0x00000241,0x000500ab,0x0000002f,
34030x000058f8,0x000058f7,0x00000138,0x000300f7,
34040x000058ff,0x00000000,0x000400fa,0x000058f8,
34050x000058f9,0x000058fc,0x000200f8,0x000058fc,
34060x000500c5,0x00000006,0x000058fe,0x000058f5,
34070x00000241,0x000200f9,0x000058ff,0x000200f8,
34080x000058f9,0x000400c8,0x00000006,0x000058fb,
34090x000058f5,0x000200f9,0x000058ff,0x000200f8,
34100x000058ff,0x000700f5,0x00000006,0x00005d06,
34110x000058fb,0x000058f9,0x000058fe,0x000058fc,
34120x000700ef,0x00000006,0x0000518b,0x00005187,
34130x00000142,0x00000138,0x00005d06,0x000200f9,
34140x0000518c,0x000200f8,0x0000518c,0x00060041,
34150x0000016c,0x0000518e,0x00005872,0x0000016b,
34160x0000016b,0x000700ea,0x00000006,0x0000518f,
34170x0000518e,0x00000264,0x00000820,0x00000142,
34180x00050080,0x00000006,0x00005191,0x0000518f,
34190x00000142,0x000500ab,0x0000002f,0x00005193,
34200x00005191,0x00005d0a,0x000300f7,0x00005195,
34210x00000000,0x000400fa,0x00005193,0x00005194,
34220x00005195,0x000200f8,0x00005194,0x000200f9,
34230x000051a0,0x000200f8,0x00005195,0x000300f7,
34240x0000593b,0x00000000,0x000300fb,0x00000138,
34250x0000590d,0x000200f8,0x0000590d,0x000200f9,
34260x00005910,0x000200f8,0x00005910,0x000700f5,
34270x00000006,0x00005d11,0x00000138,0x0000590d,
34280x0000591e,0x00005914,0x000500b0,0x0000002f,
34290x00005913,0x00005d11,0x00000355,0x000400f6,
34300x0000591f,0x00005914,0x00000000,0x000400fa,
34310x00005913,0x00005914,0x0000591f,0x000200f8,
34320x00005914,0x00050080,0x00000006,0x00005918,
34330x00000142,0x00005d11,0x00060041,0x0000016c,
34340x00005919,0x00005872,0x0000016b,0x00005918,
34350x000700f1,0x00000006,0x0000591a,0x00005919,
34360x00000142,0x00000138,0x00000138,0x00050041,
34370x00000009,0x0000591b,0x00005905,0x00005d11,
34380x0003003e,0x0000591b,0x0000591a,0x00050080,
34390x00000006,0x0000591e,0x00005d11,0x00000264,
34400x000200f9,0x00005910,0x000200f8,0x0000591f,
34410x00050041,0x00000009,0x00005920,0x00005905,
34420x0000016b,0x0004003d,0x00000006,0x00005921,
34430x00005920,0x000500aa,0x0000002f,0x00005922,
34440x00005921,0x00000539,0x000300f7,0x00005926,
34450x00000000,0x000400fa,0x00005922,0x00005923,
34460x00005926,0x000200f8,0x00005923,0x000200f9,
34470x0000593b,0x000200f8,0x00005926,0x0004003d,
34480x00000006,0x00005928,0x00005920,0x000500c7,
34490x00000006,0x0000598a,0x00005928,0x00000241,
34500x000500ab,0x0000002f,0x0000598b,0x0000598a,
34510x00000138,0x000300f7,0x00005992,0x00000000,
34520x000400fa,0x0000598b,0x0000598c,0x0000598f,
34530x000200f8,0x0000598f,0x000400c8,0x00000006,
34540x00005991,0x00005928,0x000200f9,0x00005992,
34550x000200f8,0x0000598c,0x000500c7,0x00000006,
34560x0000598e,0x00005928,0x00000256,0x000200f9,
34570x00005992,0x000200f8,0x00005992,0x000700f5,
34580x00000006,0x00005d12,0x0000598e,0x0000598c,
34590x00005991,0x0000598f,0x0004007c,0x00000027,
34600x00005994,0x00005d12,0x00050041,0x00000009,
34610x0000592a,0x00005905,0x00000264,0x0004003d,
34620x00000006,0x0000592b,0x0000592a,0x000500c7,
34630x00000006,0x00005999,0x0000592b,0x00000241,
34640x000500ab,0x0000002f,0x0000599a,0x00005999,
34650x00000138,0x000300f7,0x000059a1,0x00000000,
34660x000400fa,0x0000599a,0x0000599b,0x0000599e, 33140x000400fa,0x0000599a,0x0000599b,0x0000599e,
34670x000200f8,0x0000599e,0x000400c8,0x00000006, 33150x000200f8,0x0000599b,0x00050080,0x00000006,
34680x000059a0,0x0000592b,0x000200f9,0x000059a1, 33160x0000599d,0x00005993,0x0000014a,0x000200f9,
34690x000200f8,0x0000599b,0x000500c7,0x00000006, 33170x0000599e,0x000200f8,0x0000599e,0x000700f5,
34700x0000599d,0x0000592b,0x00000256,0x000200f9, 33180x00000006,0x00006193,0x00005993,0x00005999,
34710x000059a1,0x000200f8,0x000059a1,0x000700f5, 33190x0000599d,0x0000599b,0x000500c5,0x00000006,
34720x00000006,0x00005d13,0x0000599d,0x0000599b, 33200x000059a1,0x00005961,0x00006193,0x000200f9,
34730x000059a0,0x0000599e,0x0004007c,0x00000027, 33210x000059a2,0x000200f8,0x000059a2,0x000d00f5,
34740x000059a3,0x00005d13,0x00050041,0x00000009, 33220x00000006,0x00006195,0x0000596c,0x0000596a,
34750x0000592d,0x00005905,0x00000315,0x0004003d, 33230x00005961,0x00005970,0x0000597d,0x00005979,
34760x00000006,0x0000592e,0x0000592d,0x000500c7, 33240x00006194,0x00005988,0x000059a1,0x0000599e,
34770x00000006,0x000059a8,0x0000592e,0x00000241, 33250x000500c4,0x00000006,0x00005822,0x00006195,
34780x000500ab,0x0000002f,0x000059a9,0x000059a8, 33260x00000362,0x000500c5,0x00000006,0x00005823,
34790x00000138,0x000300f7,0x000059b0,0x00000000, 33270x00006191,0x00005822,0x00050095,0x00000145,
34800x000400fa,0x000059a9,0x000059aa,0x000059ad, 33280x000059bb,0x00005795,0x0000581b,0x00050051,
34810x000200f8,0x000059ad,0x000400c8,0x00000006, 33290x00000006,0x000059bc,0x000059bb,0x00000001,
34820x000059af,0x0000592e,0x000200f9,0x000059b0, 33300x00050051,0x00000006,0x000059bd,0x000059bb,
34830x000200f8,0x000059aa,0x000500c7,0x00000006, 33310x00000000,0x00050080,0x00000006,0x000059c2,
34840x000059ac,0x0000592e,0x00000256,0x000200f9, 33320x0000579c,0x000059bc,0x00050050,0x00000007,
34850x000059b0,0x000200f8,0x000059b0,0x000700f5, 33330x000059c3,0x000059bd,0x000059c2,0x0004007c,
34860x00000006,0x00005d14,0x000059ac,0x000059aa, 33340x00000014,0x000059b3,0x000059c3,0x00060041,
34870x000059af,0x000059ad,0x0004007c,0x00000027, 33350x00000174,0x000059ab,0x000059b3,0x00000173,
34880x000059b2,0x00005d14,0x00060050,0x0000006c, 33360x00000173,0x0005003e,0x000059ab,0x00005823,
34890x00005930,0x00005994,0x000059a3,0x000059b2, 33370x00000002,0x00000004,0x00050080,0x00000006,
34900x00050041,0x00000009,0x00005931,0x00005905, 33380x00005828,0x000057c4,0x000001d5,0x00050051,
34910x0000031d,0x0004003d,0x00000006,0x00005932, 33390x00000027,0x0000582a,0x000060f3,0x00000001,
34920x00005931,0x000500c7,0x00000006,0x000059b7, 33400x000300f7,0x00005a16,0x00000000,0x000300fb,
34930x00005932,0x00000241,0x000500ab,0x0000002f, 33410x00000140,0x000059d0,0x000200f8,0x000059d0,
34940x000059b8,0x000059b7,0x00000138,0x000300f7, 33420x0004007c,0x00000006,0x000059d2,0x0000582a,
34950x000059bf,0x00000000,0x000400fa,0x000059b8, 33430x000500c2,0x00000006,0x000059d4,0x000059d2,
34960x000059b9,0x000059bc,0x000200f8,0x000059bc, 33440x00000362,0x000500c7,0x00000006,0x000059d5,
34970x000400c8,0x00000006,0x000059be,0x00005932, 33450x000059d4,0x000003d1,0x000500c7,0x00000006,
34980x000200f9,0x000059bf,0x000200f8,0x000059b9, 33460x000059d7,0x000059d2,0x0000025e,0x000500aa,
34990x000500c7,0x00000006,0x000059bb,0x00005932, 33470x0000002f,0x000059db,0x000059d5,0x00000140,
35000x00000256,0x000200f9,0x000059bf,0x000200f8, 33480x000500ac,0x0000002f,0x000059dd,0x000059d7,
35010x000059bf,0x000700f5,0x00000006,0x00005d15, 33490x000003dc,0x000300f7,0x000059e1,0x00000000,
35020x000059bb,0x000059b9,0x000059be,0x000059bc, 33500x000400fa,0x000059dd,0x000059de,0x000059e1,
35030x0004007c,0x00000027,0x000059c1,0x00005d15, 33510x000200f8,0x000059de,0x000500c5,0x00000006,
35040x00050041,0x00000009,0x00005934,0x00005905, 33520x000059e0,0x000059d5,0x000003e1,0x000200f9,
35050x00000325,0x0004003d,0x00000006,0x00005935, 33530x00005a16,0x000200f8,0x000059e1,0x000500aa,
35060x00005934,0x000500c7,0x00000006,0x000059c6, 33540x0000002f,0x000059e3,0x000059d7,0x00000140,
35070x00005935,0x00000241,0x000500ab,0x0000002f, 33550x000300f7,0x000059e6,0x00000000,0x000400fa,
35080x000059c7,0x000059c6,0x00000138,0x000300f7, 33560x000059e3,0x000059e4,0x000059e6,0x000200f8,
35090x000059ce,0x00000000,0x000400fa,0x000059c7, 33570x000059e4,0x000200f9,0x00005a16,0x000200f8,
35100x000059c8,0x000059cb,0x000200f8,0x000059cb, 33580x000059e6,0x000500c2,0x00000006,0x000059e8,
35110x000400c8,0x00000006,0x000059cd,0x00005935, 33590x000059d7,0x000003ec,0x0004007c,0x000000fb,
35120x000200f9,0x000059ce,0x000200f8,0x000059c8, 33600x000059e9,0x000059e8,0x00050082,0x000000fb,
35130x000500c7,0x00000006,0x000059ca,0x00005935, 33610x000059ea,0x000059e9,0x000003ef,0x000500af,
35140x00000256,0x000200f9,0x000059ce,0x000200f8, 33620x0000002f,0x000059ec,0x000059ea,0x00000362,
35150x000059ce,0x000700f5,0x00000006,0x00005d16, 33630x000300f7,0x000059f2,0x00000000,0x000400fa,
35160x000059ca,0x000059c8,0x000059cd,0x000059cb, 33640x000059ec,0x000059ed,0x000059f2,0x000200f8,
35170x0004007c,0x00000027,0x000059d0,0x00005d16, 33650x000059ed,0x000600a9,0x00000006,0x000059f0,
35180x00050041,0x00000009,0x00005937,0x00005905, 33660x000059db,0x000003f7,0x000003f8,0x000500c5,
35190x0000032d,0x0004003d,0x00000006,0x00005938, 33670x00000006,0x000059f1,0x000059d5,0x000059f0,
35200x00005937,0x000500c7,0x00000006,0x000059d5, 33680x000200f9,0x00005a16,0x000200f8,0x000059f2,
35210x00005938,0x00000241,0x000500ab,0x0000002f, 33690x000500b1,0x0000002f,0x000059f4,0x000059ea,
35220x000059d6,0x000059d5,0x00000138,0x000300f7, 33700x000003fd,0x000300f7,0x000059fe,0x00000000,
35230x000059dd,0x00000000,0x000400fa,0x000059d6, 33710x000400fa,0x000059f4,0x000059f5,0x000059fe,
35240x000059d7,0x000059da,0x000200f8,0x000059da, 33720x000200f8,0x000059f5,0x000300f7,0x000059fc,
35250x000400c8,0x00000006,0x000059dc,0x00005938, 33730x00000000,0x000400fa,0x000059db,0x000059f7,
35260x000200f9,0x000059dd,0x000200f8,0x000059d7, 33740x000059fa,0x000200f8,0x000059fa,0x000200f9,
35270x000500c7,0x00000006,0x000059d9,0x00005938, 33750x000059fc,0x000200f8,0x000059f7,0x000500c5,
35280x00000256,0x000200f9,0x000059dd,0x000200f8, 33760x00000006,0x000059f9,0x000059d5,0x00000406,
35290x000059dd,0x000700f5,0x00000006,0x00005d17, 33770x000200f9,0x000059fc,0x000200f8,0x000059fc,
35300x000059d9,0x000059d7,0x000059dc,0x000059da, 33780x000700f5,0x00000006,0x00006198,0x000059f9,
35310x0004007c,0x00000027,0x000059df,0x00005d17, 33790x000059f7,0x000059d5,0x000059fa,0x000200f9,
35320x00060050,0x0000006c,0x0000593a,0x000059c1, 33800x00005a16,0x000200f8,0x000059fe,0x000500c7,
35330x000059d0,0x000059df,0x000200f9,0x0000593b, 33810x00000006,0x00005a00,0x000059d2,0x0000040e,
35340x000200f8,0x0000593b,0x000700f5,0x0000006c, 33820x00050080,0x000000fb,0x00005a02,0x000059e9,
35350x00005d1c,0x000060fe,0x00005923,0x0000593a, 33830x00006533,0x0004007c,0x00000006,0x00005a03,
35360x000059dd,0x000700f5,0x0000006c,0x00005d18, 33840x00005a02,0x000500c4,0x00000006,0x00005a04,
35370x00000576,0x00005923,0x00005930,0x000059dd, 33850x00005a03,0x00000414,0x000500c2,0x00000006,
35380x00050082,0x00000006,0x000059ec,0x0000541e, 33860x00005a06,0x00005a00,0x000001f8,0x000500c5,
35390x000053c9,0x00050084,0x00000006,0x000059ed, 33870x00000006,0x00005a07,0x00005a04,0x00005a06,
35400x000000ec,0x000059ec,0x00050080,0x00000006, 33880x000300f7,0x00005a0d,0x00000000,0x000400fa,
35410x000059ee,0x000053c4,0x000059ed,0x00050095, 33890x000059db,0x00005a09,0x00005a0d,0x000200f8,
35420x0000013d,0x00005a0e,0x000053ea,0x000059ee, 33900x00005a09,0x000500c7,0x00000006,0x00005a0b,
35430x00050051,0x00000006,0x00005a0f,0x00005a0e, 33910x000059d2,0x0000041d,0x000500ab,0x0000002f,
35440x00000001,0x00050051,0x00000006,0x00005a10, 33920x00005a0c,0x00005a0b,0x00000140,0x000200f9,
35450x00005a0e,0x00000000,0x00050080,0x00000006, 33930x00005a0d,0x000200f8,0x00005a0d,0x000700f5,
35460x00005a15,0x000053f1,0x00005a0f,0x00050050, 33940x0000002f,0x00005a0e,0x000059db,0x000059fe,
35470x00000007,0x00005a16,0x00005a10,0x00005a15, 33950x00005a0c,0x00005a09,0x000300f7,0x00005a12,
35480x0004007c,0x00000014,0x00005a06,0x00005a16, 33960x00000000,0x000400fa,0x00005a0e,0x00005a0f,
35490x00060041,0x0000016c,0x000059fd,0x00005a06, 33970x00005a12,0x000200f8,0x00005a0f,0x00050080,
35500x0000016b,0x0000016b,0x0006003d,0x00000006, 33980x00000006,0x00005a11,0x00005a07,0x0000014a,
35510x000059fe,0x000059fd,0x00000002,0x00000004, 33990x000200f9,0x00005a12,0x000200f8,0x00005a12,
35520x000200f9,0x0000519d,0x000200f8,0x0000519d, 34000x000700f5,0x00000006,0x00006197,0x00005a07,
35530x00050080,0x00000006,0x0000519f,0x00005ced, 34010x00005a0d,0x00005a11,0x00005a0f,0x000500c5,
35540x00000264,0x000200f9,0x00005132,0x000200f8, 34020x00000006,0x00005a15,0x000059d5,0x00006197,
35550x000051a0,0x000700f5,0x0000002f,0x00005d40, 34030x000200f9,0x00005a16,0x000200f8,0x00005a16,
35560x000003cc,0x00005132,0x000003e7,0x00005194, 34040x000d00f5,0x00000006,0x00006199,0x000059e0,
35570x000300f7,0x000051a2,0x00000000,0x000400fa, 34050x000059de,0x000059d5,0x000059e4,0x000059f1,
35580x00005d40,0x000051a3,0x000051a2,0x000200f8, 34060x000059ed,0x00006198,0x000059fc,0x00005a15,
35590x000051a2,0x000200f9,0x000051a3,0x000200f8, 34070x00005a12,0x00050051,0x00000027,0x0000582d,
35600x000051a3,0x000200f9,0x000013ed,0x000200f8, 34080x000060f3,0x00000002,0x000300f7,0x00005a6a,
35610x000013ed,0x000200f9,0x000013e3,0x000200f8, 34090x00000000,0x000300fb,0x00000140,0x00005a24,
35620x000013e2,0x000300f7,0x00004119,0x00000000, 34100x000200f8,0x00005a24,0x0004007c,0x00000006,
35630x000300fb,0x00000138,0x0000402b,0x000200f8, 34110x00005a26,0x0000582d,0x000500c2,0x00000006,
35640x0000402b,0x0003003e,0x00003ff3,0x00000fd5, 34120x00005a28,0x00005a26,0x00000362,0x000500c7,
35650x0003003e,0x00003ff4,0x00000fd5,0x00050041, 34130x00000006,0x00005a29,0x00005a28,0x000003d1,
35660x000001bb,0x0000402c,0x000001b9,0x000001f0, 34140x000500c7,0x00000006,0x00005a2b,0x00005a26,
35670x0004003d,0x00000006,0x0000402d,0x0000402c, 34150x0000025e,0x000500aa,0x0000002f,0x00005a2f,
35680x000500b2,0x0000002f,0x0000402e,0x0000402d, 34160x00005a29,0x00000140,0x000500ac,0x0000002f,
35690x00000142,0x000300f7,0x000040ae,0x00000000, 34170x00005a31,0x00005a2b,0x000003dc,0x000300f7,
35700x000400fa,0x0000402e,0x0000402f,0x0000403e, 34180x00005a35,0x00000000,0x000400fa,0x00005a31,
35710x000200f8,0x0000403e,0x00050041,0x000001bb, 34190x00005a32,0x00005a35,0x000200f8,0x00005a32,
35720x0000418c,0x000001b9,0x000001ba,0x0004003d, 34200x000500c5,0x00000006,0x00005a34,0x00005a29,
35730x00000006,0x0000418d,0x0000418c,0x00050084, 34210x000003e1,0x000200f9,0x00005a6a,0x000200f8,
35740x00000006,0x0000418e,0x000001db,0x0000418d, 34220x00005a35,0x000500aa,0x0000002f,0x00005a37,
35750x00050080,0x00000006,0x0000418f,0x000001c4, 34230x00005a2b,0x00000140,0x000300f7,0x00005a3a,
35760x0000418e,0x00050080,0x00000006,0x00004195, 34240x00000000,0x000400fa,0x00005a37,0x00005a38,
35770x0000418d,0x0000062f,0x00050086,0x00000006, 34250x00005a3a,0x000200f8,0x00005a38,0x000200f9,
35780x00004196,0x00004195,0x000001be,0x00050084, 34260x00005a6a,0x000200f8,0x00005a3a,0x000500c2,
35790x00000006,0x00004188,0x000001c4,0x00004196, 34270x00000006,0x00005a3c,0x00005a2b,0x000003ec,
35800x00050080,0x00000006,0x00004189,0x0000418f, 34280x0004007c,0x000000fb,0x00005a3d,0x00005a3c,
35810x00004188,0x00050080,0x00000006,0x00004183, 34290x00050082,0x000000fb,0x00005a3e,0x00005a3d,
35820x00004189,0x00004188,0x00050084,0x00000006, 34300x000003ef,0x000500af,0x0000002f,0x00005a40,
35830x0000417c,0x000001ef,0x0000402d,0x00050080, 34310x00005a3e,0x00000362,0x000300f7,0x00005a46,
35840x00000006,0x0000417d,0x00004183,0x0000417c, 34320x00000000,0x000400fa,0x00005a40,0x00005a41,
35850x00050041,0x000001bb,0x00004173,0x000001b9, 34330x00005a46,0x000200f8,0x00005a41,0x000600a9,
35860x00000206,0x0004003d,0x00000006,0x00004174, 34340x00000006,0x00005a44,0x00005a2f,0x000003f7,
35870x00004173,0x00050084,0x00000006,0x00004175, 34350x000003f8,0x000500c5,0x00000006,0x00005a45,
35880x00000205,0x00004174,0x00050080,0x00000006, 34360x00005a29,0x00005a44,0x000200f9,0x00005a6a,
35890x00004176,0x0000417d,0x00004175,0x000500ac, 34370x000200f8,0x00005a46,0x000500b1,0x0000002f,
35900x0000002f,0x000041a3,0x0000402d,0x00000142, 34380x00005a48,0x00005a3e,0x000003fd,0x000300f7,
35910x000300f7,0x000041a9,0x00000000,0x000400fa, 34390x00005a52,0x00000000,0x000400fa,0x00005a48,
35920x000041a3,0x000041a4,0x000041a8,0x000200f8, 34400x00005a49,0x00005a52,0x000200f8,0x00005a49,
35930x000041a8,0x000200f9,0x000041a9,0x000200f8, 34410x000300f7,0x00005a50,0x00000000,0x000400fa,
35940x000041a4,0x00050082,0x00000006,0x000041a7, 34420x00005a2f,0x00005a4b,0x00005a4e,0x000200f8,
35950x0000402d,0x00000142,0x000200f9,0x000041a9, 34430x00005a4e,0x000200f9,0x00005a50,0x000200f8,
35960x000200f8,0x000041a9,0x000700f5,0x00000006, 34440x00005a4b,0x000500c5,0x00000006,0x00005a4d,
35970x00005d93,0x000041a7,0x000041a4,0x00000138, 34450x00005a29,0x00000406,0x000200f9,0x00005a50,
35980x000041a8,0x00050084,0x00000006,0x0000416e, 34460x000200f8,0x00005a50,0x000700f5,0x00000006,
35990x000000ec,0x00005d93,0x00050080,0x00000006, 34470x0000619c,0x00005a4d,0x00005a4b,0x00005a29,
36000x0000416f,0x00004176,0x0000416e,0x000300f7, 34480x00005a4e,0x000200f9,0x00005a6a,0x000200f8,
36010x000041b6,0x00000000,0x000400fa,0x000041a3, 34490x00005a52,0x000500c7,0x00000006,0x00005a54,
36020x000041b1,0x000041b5,0x000200f8,0x000041b5, 34500x00005a26,0x0000040e,0x00050080,0x000000fb,
36030x000200f9,0x000041b6,0x000200f8,0x000041b1, 34510x00005a56,0x00005a3d,0x00006533,0x0004007c,
36040x00050082,0x00000006,0x000041b4,0x0000402d, 34520x00000006,0x00005a57,0x00005a56,0x000500c4,
36050x00000142,0x000200f9,0x000041b6,0x000200f8, 34530x00000006,0x00005a58,0x00005a57,0x00000414,
36060x000041b6,0x000700f5,0x00000006,0x00005d94, 34540x000500c2,0x00000006,0x00005a5a,0x00005a54,
36070x000041b4,0x000041b1,0x00000138,0x000041b5, 34550x000001f8,0x000500c5,0x00000006,0x00005a5b,
36080x00050084,0x00000006,0x00004168,0x000000ec, 34560x00005a58,0x00005a5a,0x000300f7,0x00005a61,
36090x00005d94,0x00050080,0x00000006,0x00004169, 34570x00000000,0x000400fa,0x00005a2f,0x00005a5d,
36100x0000416f,0x00004168,0x000300f7,0x000041c3, 34580x00005a61,0x000200f8,0x00005a5d,0x000500c7,
36110x00000000,0x000400fa,0x000041a3,0x000041be, 34590x00000006,0x00005a5f,0x00005a26,0x0000041d,
36120x000041c2,0x000200f8,0x000041c2,0x000200f9, 34600x000500ab,0x0000002f,0x00005a60,0x00005a5f,
36130x000041c3,0x000200f8,0x000041be,0x00050082, 34610x00000140,0x000200f9,0x00005a61,0x000200f8,
36140x00000006,0x000041c1,0x0000402d,0x00000142, 34620x00005a61,0x000700f5,0x0000002f,0x00005a62,
36150x000200f9,0x000041c3,0x000200f8,0x000041c3, 34630x00005a2f,0x00005a52,0x00005a60,0x00005a5d,
36160x000700f5,0x00000006,0x00005d95,0x000041c1, 34640x000300f7,0x00005a66,0x00000000,0x000400fa,
36170x000041be,0x00000138,0x000041c2,0x00050084, 34650x00005a62,0x00005a63,0x00005a66,0x000200f8,
36180x00000006,0x00004162,0x000000ec,0x00005d95, 34660x00005a63,0x00050080,0x00000006,0x00005a65,
36190x00050080,0x00000006,0x00004163,0x00004169, 34670x00005a5b,0x0000014a,0x000200f9,0x00005a66,
36200x00004162,0x00050084,0x00000006,0x00004041, 34680x000200f8,0x00005a66,0x000700f5,0x00000006,
36210x000000ec,0x000012dd,0x00050080,0x00000006, 34690x0000619b,0x00005a5b,0x00005a61,0x00005a65,
36220x00004042,0x00004163,0x00004041,0x00050041, 34700x00005a63,0x000500c5,0x00000006,0x00005a69,
36230x00000266,0x00004043,0x000001b9,0x00000264, 34710x00005a29,0x0000619b,0x000200f9,0x00005a6a,
36240x0004003d,0x00000007,0x00004044,0x00004043, 34720x000200f8,0x00005a6a,0x000d00f5,0x00000006,
36250x00050051,0x00000006,0x000041db,0x00004044, 34730x0000619d,0x00005a34,0x00005a32,0x00005a29,
36260x00000000,0x00050095,0x0000013d,0x000041dd, 34740x00005a38,0x00005a45,0x00005a41,0x0000619c,
36270x000041db,0x00004042,0x00050051,0x00000006, 34750x00005a50,0x00005a69,0x00005a66,0x000500c4,
36280x000041de,0x000041dd,0x00000001,0x00050051, 34760x00000006,0x0000582f,0x0000619d,0x00000362,
36290x00000006,0x000041df,0x000041dd,0x00000000, 34770x000500c5,0x00000006,0x00005830,0x00006199,
36300x00050051,0x00000006,0x000041e2,0x00004044, 34780x0000582f,0x00050095,0x00000145,0x00005a83,
36310x00000001,0x00050080,0x00000006,0x000041e4, 34790x00005795,0x00005828,0x00050051,0x00000006,
36320x000041e2,0x000041de,0x00050050,0x00000007, 34800x00005a84,0x00005a83,0x00000001,0x00050051,
36330x000041e5,0x000041df,0x000041e4,0x0004007c, 34810x00000006,0x00005a85,0x00005a83,0x00000000,
36340x00000014,0x000041d5,0x000041e5,0x00060041, 34820x00050080,0x00000006,0x00005a8a,0x0000579c,
36350x0000016c,0x000041cc,0x000041d5,0x0000016b, 34830x00005a84,0x00050050,0x00000007,0x00005a8b,
36360x0000016b,0x0006003d,0x00000006,0x000041cd, 34840x00005a85,0x00005a8a,0x0004007c,0x00000014,
36370x000041cc,0x00000002,0x00000004,0x000500aa, 34850x00005a7b,0x00005a8b,0x00060041,0x00000174,
36380x0000002f,0x00004046,0x000041cd,0x00000138, 34860x00005a73,0x00005a7b,0x00000173,0x00000173,
36390x000300f7,0x00004048,0x00000000,0x000400fa, 34870x0005003e,0x00005a73,0x00005830,0x00000002,
36400x00004046,0x00004047,0x00004048,0x000200f8, 34880x00000004,0x000200f9,0x000057f7,0x000200f8,
36410x00004047,0x000200f9,0x00004119,0x000200f8, 34890x000057c8,0x00050080,0x00000006,0x000057ca,
36420x00004048,0x000300f7,0x00004237,0x00000000, 34900x0000541a,0x000001e3,0x00050084,0x00000006,
36430x000400fa,0x000041a3,0x00004232,0x00004236, 34910x000057cc,0x000001f7,0x000060e7,0x00050080,
36440x000200f8,0x00004236,0x000200f9,0x00004237, 34920x00000006,0x000057cd,0x000057ca,0x000057cc,
36450x000200f8,0x00004232,0x00050082,0x00000006, 34930x00050051,0x00000027,0x000057d2,0x000060ea,
36460x00004235,0x0000402d,0x00000142,0x000200f9, 34940x00000000,0x0004007c,0x00000006,0x00005a91,
36470x00004237,0x000200f8,0x00004237,0x000700f5, 34950x000057d2,0x00050095,0x00000145,0x00005aac,
36480x00000006,0x00005d96,0x00004235,0x00004232, 34960x00005795,0x000057cd,0x00050051,0x00000006,
36490x00000138,0x00004236,0x00050084,0x00000006, 34970x00005aad,0x00005aac,0x00000001,0x00050051,
36500x000041fc,0x000000ec,0x00005d96,0x00050080, 34980x00000006,0x00005aae,0x00005aac,0x00000000,
36510x00000006,0x000041fd,0x00004176,0x000041fc, 34990x00050080,0x00000006,0x00005ab3,0x0000579c,
36520x000300f7,0x00004244,0x00000000,0x000400fa, 35000x00005aad,0x00050050,0x00000007,0x00005ab4,
36530x000041a3,0x0000423f,0x00004243,0x000200f8, 35010x00005aae,0x00005ab3,0x0004007c,0x00000014,
36540x00004243,0x000200f9,0x00004244,0x000200f8, 35020x00005aa4,0x00005ab4,0x00060041,0x00000174,
36550x0000423f,0x00050082,0x00000006,0x00004242, 35030x00005a9c,0x00005aa4,0x00000173,0x00000173,
36560x0000402d,0x00000142,0x000200f9,0x00004244, 35040x0005003e,0x00005a9c,0x00005a91,0x00000002,
36570x000200f8,0x00004244,0x000700f5,0x00000006, 35050x00000004,0x00050080,0x00000006,0x000057d5,
36580x00005d97,0x00004242,0x0000423f,0x00000138, 35060x000057cd,0x000000f3,0x00050051,0x00000027,
36590x00004243,0x00050084,0x00000006,0x000041f6, 35070x000057d9,0x000060ea,0x00000001,0x0004007c,
36600x000000ec,0x00005d97,0x00050080,0x00000006, 35080x00000006,0x00005aba,0x000057d9,0x00050095,
36610x000041f7,0x000041fd,0x000041f6,0x000300f7, 35090x00000145,0x00005ad5,0x00005795,0x000057d5,
36620x00004251,0x00000000,0x000400fa,0x000041a3, 35100x00050051,0x00000006,0x00005ad6,0x00005ad5,
36630x0000424c,0x00004250,0x000200f8,0x00004250, 35110x00000001,0x00050051,0x00000006,0x00005ad7,
36640x000200f9,0x00004251,0x000200f8,0x0000424c, 35120x00005ad5,0x00000000,0x00050080,0x00000006,
36650x00050082,0x00000006,0x0000424f,0x0000402d, 35130x00005adc,0x0000579c,0x00005ad6,0x00050050,
36660x00000142,0x000200f9,0x00004251,0x000200f8, 35140x00000007,0x00005add,0x00005ad7,0x00005adc,
36670x00004251,0x000700f5,0x00000006,0x00005d98, 35150x0004007c,0x00000014,0x00005acd,0x00005add,
36680x0000424f,0x0000424c,0x00000138,0x00004250, 35160x00060041,0x00000174,0x00005ac5,0x00005acd,
36690x00050084,0x00000006,0x000041f0,0x000000ec, 35170x00000173,0x00000173,0x0005003e,0x00005ac5,
36700x00005d98,0x00050080,0x00000006,0x000041f1, 35180x00005aba,0x00000002,0x00000004,0x00050080,
36710x000041f7,0x000041f0,0x000300f7,0x0000425e, 35190x00000006,0x000057dc,0x000057cd,0x000001d5,
36720x00000000,0x000400fa,0x000041a3,0x00004259, 35200x00050051,0x00000027,0x000057e0,0x000060ea,
36730x0000425d,0x000200f8,0x0000425d,0x000200f9, 35210x00000002,0x0004007c,0x00000006,0x00005ae3,
36740x0000425e,0x000200f8,0x00004259,0x00050082, 35220x000057e0,0x00050095,0x00000145,0x00005afe,
36750x00000006,0x0000425c,0x0000402d,0x00000142, 35230x00005795,0x000057dc,0x00050051,0x00000006,
36760x000200f9,0x0000425e,0x000200f8,0x0000425e, 35240x00005aff,0x00005afe,0x00000001,0x00050051,
36770x000700f5,0x00000006,0x00005d99,0x0000425c, 35250x00000006,0x00005b00,0x00005afe,0x00000000,
36780x00004259,0x00000138,0x0000425d,0x00050084, 35260x00050080,0x00000006,0x00005b05,0x0000579c,
36790x00000006,0x000041ea,0x000000ec,0x00005d99, 35270x00005aff,0x00050050,0x00000007,0x00005b06,
36800x00050080,0x00000006,0x000041eb,0x000041f1, 35280x00005b00,0x00005b05,0x0004007c,0x00000014,
36810x000041ea,0x00050080,0x00000006,0x0000404c, 35290x00005af6,0x00005b06,0x00060041,0x00000174,
36820x000041eb,0x00004041,0x00050095,0x0000013d, 35300x00005aee,0x00005af6,0x00000173,0x00000173,
36830x00004278,0x000041db,0x0000404c,0x00050051, 35310x0005003e,0x00005aee,0x00005ae3,0x00000002,
36840x00000006,0x00004279,0x00004278,0x00000001, 35320x00000004,0x00050080,0x00000006,0x000057e3,
36850x00050051,0x00000006,0x0000427a,0x00004278, 35330x000057cd,0x000001dc,0x00050051,0x00000027,
36860x00000000,0x00050080,0x00000006,0x0000427f, 35340x000057e7,0x000060f3,0x00000000,0x0004007c,
36870x000041e2,0x00004279,0x00050050,0x00000007, 35350x00000006,0x00005b0c,0x000057e7,0x00050095,
36880x00004280,0x0000427a,0x0000427f,0x0004007c, 35360x00000145,0x00005b27,0x00005795,0x000057e3,
36890x00000014,0x00004270,0x00004280,0x00060041, 35370x00050051,0x00000006,0x00005b28,0x00005b27,
36900x0000016c,0x00004267,0x00004270,0x0000016b, 35380x00000001,0x00050051,0x00000006,0x00005b29,
36910x0000016b,0x0006003d,0x00000006,0x00004268, 35390x00005b27,0x00000000,0x00050080,0x00000006,
36920x00004267,0x00000002,0x00000004,0x000500ae, 35400x00005b2e,0x0000579c,0x00005b28,0x00050050,
36930x0000002f,0x00004053,0x00004268,0x00004174, 35410x00000007,0x00005b2f,0x00005b29,0x00005b2e,
36940x000300f7,0x00004055,0x00000000,0x000400fa, 35420x0004007c,0x00000014,0x00005b1f,0x00005b2f,
36950x00004053,0x00004054,0x00004055,0x000200f8, 35430x00060041,0x00000174,0x00005b17,0x00005b1f,
36960x00004054,0x000200f9,0x00004119,0x000200f8, 35440x00000173,0x00000173,0x0005003e,0x00005b17,
36970x00004055,0x00050080,0x00000006,0x00004059, 35450x00005b0c,0x00000002,0x00000004,0x00050080,
36980x00004176,0x00004041,0x00050095,0x0000013d, 35460x00000006,0x000057ea,0x000057cd,0x000001e3,
36990x000042c7,0x000041db,0x00004059,0x00050051, 35470x00050051,0x00000027,0x000057ee,0x000060f3,
37000x00000006,0x000042c8,0x000042c7,0x00000001, 35480x00000001,0x0004007c,0x00000006,0x00005b35,
37010x00050051,0x00000006,0x000042c9,0x000042c7, 35490x000057ee,0x00050095,0x00000145,0x00005b50,
37020x00000000,0x00050080,0x00000006,0x000042ce, 35500x00005795,0x000057ea,0x00050051,0x00000006,
37030x000041e2,0x000042c8,0x00050050,0x00000007, 35510x00005b51,0x00005b50,0x00000001,0x00050051,
37040x000042cf,0x000042c9,0x000042ce,0x0004007c, 35520x00000006,0x00005b52,0x00005b50,0x00000000,
37050x00000014,0x000042bf,0x000042cf,0x00060041, 35530x00050080,0x00000006,0x00005b57,0x0000579c,
37060x0000016c,0x000042b6,0x000042bf,0x0000016b, 35540x00005b51,0x00050050,0x00000007,0x00005b58,
37070x0000016b,0x0006003d,0x00000006,0x000042b7, 35550x00005b52,0x00005b57,0x0004007c,0x00000014,
37080x000042b6,0x00000002,0x00000004,0x000300f7, 35560x00005b48,0x00005b58,0x00060041,0x00000174,
37090x0000430f,0x00000000,0x000400fa,0x000041a3, 35570x00005b40,0x00005b48,0x00000173,0x00000173,
37100x0000430a,0x0000430e,0x000200f8,0x0000430e, 35580x0005003e,0x00005b40,0x00005b35,0x00000002,
37110x000200f9,0x0000430f,0x000200f8,0x0000430a, 35590x00000004,0x00050080,0x00000006,0x000057f1,
37120x00050082,0x00000006,0x0000430d,0x0000402d, 35600x000057cd,0x000002a1,0x00050051,0x00000027,
37130x00000142,0x000200f9,0x0000430f,0x000200f8, 35610x000057f5,0x000060f3,0x00000002,0x0004007c,
37140x0000430f,0x000700f5,0x00000006,0x00005d9a, 35620x00000006,0x00005b5e,0x000057f5,0x00050095,
37150x0000430d,0x0000430a,0x00000138,0x0000430e, 35630x00000145,0x00005b79,0x00005795,0x000057f1,
37160x00050084,0x00000006,0x000042d4,0x000000ec, 35640x00050051,0x00000006,0x00005b7a,0x00005b79,
37170x00005d9a,0x00050080,0x00000006,0x000042d5, 35650x00000001,0x00050051,0x00000006,0x00005b7b,
37180x00004176,0x000042d4,0x00050080,0x00000006, 35660x00005b79,0x00000000,0x00050080,0x00000006,
37190x00004060,0x000042d5,0x00004041,0x00050095, 35670x00005b80,0x0000579c,0x00005b7a,0x00050050,
37200x0000013d,0x00004329,0x000041db,0x00004060, 35680x00000007,0x00005b81,0x00005b7b,0x00005b80,
37210x00050051,0x00000006,0x0000432a,0x00004329, 35690x0004007c,0x00000014,0x00005b71,0x00005b81,
37220x00000001,0x00050051,0x00000006,0x0000432b, 35700x00060041,0x00000174,0x00005b69,0x00005b71,
37230x00004329,0x00000000,0x00050080,0x00000006, 35710x00000173,0x00000173,0x0005003e,0x00005b69,
37240x00004330,0x000041e2,0x0000432a,0x00050050, 35720x00005b5e,0x00000002,0x00000004,0x000200f9,
37250x00000007,0x00004331,0x0000432b,0x00004330, 35730x000057f7,0x000200f8,0x000057f7,0x000200f9,
37260x0004007c,0x00000014,0x00004321,0x00004331, 35740x00005438,0x000200f8,0x00005438,0x000200f9,
37270x00060041,0x0000016c,0x00004318,0x00004321, 35750x00005439,0x000200f8,0x00005439,0x000700f5,
37280x0000016b,0x0000016b,0x0006003d,0x00000006, 35760x00000006,0x0000645a,0x0000610f,0x00005429,
37290x00004319,0x00004318,0x00000002,0x00000004, 35770x0000542c,0x00005438,0x00050080,0x00000006,
37300x00050050,0x0000100d,0x00004064,0x000042b7, 35780x0000543b,0x000060e7,0x0000026c,0x000200f9,
37310x00004319,0x0003003e,0x00003ffe,0x00004064, 35790x0000541b,0x000200f8,0x0000543c,0x00050041,
37320x000200f9,0x00004065,0x000200f8,0x00004065, 35800x000001c3,0x00005b89,0x000001c1,0x00000362,
37330x000700f5,0x00000006,0x00005d9b,0x00000138, 35810x0004003d,0x00000006,0x00005b8a,0x00005b89,
37340x0000430f,0x0000409d,0x0000409b,0x000700f5, 35820x00050082,0x00000006,0x00005b8b,0x0000541a,
37350x00000006,0x00005dc4,0x00000138,0x0000430f, 35830x00005b8a,0x000500c7,0x00000006,0x00005b97,
37360x00005dc2,0x0000409b,0x000500b0,0x0000002f, 35840x000060e4,0x00000376,0x000500aa,0x0000002f,
37370x00004068,0x00005d9b,0x00000280,0x000400f6, 35850x00005b98,0x00005b97,0x000000f3,0x000600a9,
37380x0000409e,0x0000409b,0x00000000,0x000400fa, 35860x00000006,0x00005b8e,0x00005b98,0x000001cc,
37390x00004068,0x00004069,0x0000409e,0x000200f8, 35870x0000034a,0x00050086,0x00000006,0x00005b8f,
37400x00004069,0x00050041,0x00000009,0x0000406b, 35880x00005b8b,0x00005b8e,0x00050041,0x000001c3,
37410x00003ffe,0x00005d9b,0x0004003d,0x00000006, 35890x00005ba7,0x000001c1,0x000001f8,0x0004003d,
37420x0000406c,0x0000406b,0x00050050,0x0000100d, 35900x00000006,0x00005ba8,0x00005ba7,0x00050084,
37430x0000406e,0x0000406c,0x0000406c,0x0003003e, 35910x00000006,0x00005ba9,0x000001f7,0x00005ba8,
37440x00004005,0x0000406e,0x000500c7,0x00000006, 35920x00050080,0x00000006,0x00005baa,0x000055bb,
37450x00004070,0x0000406c,0x00000241,0x000500aa, 35930x00005ba9,0x00050084,0x00000006,0x00005b9f,
37460x0000002f,0x00004071,0x00004070,0x00000138, 35940x0000020d,0x00005b8f,0x00050080,0x00000006,
37470x000300f7,0x00004083,0x00000000,0x000400fa, 35950x00005ba0,0x00005baa,0x00005b9f,0x00050095,
37480x00004071,0x00004072,0x00004083,0x000200f8, 35960x00000145,0x00005bda,0x000055ec,0x00005ba0,
37490x00004072,0x00050084,0x00000006,0x00004075, 35970x00050051,0x00000006,0x00005bdb,0x00005bda,
37500x000000ec,0x0000406c,0x00050080,0x00000006, 35980x00000001,0x00050051,0x00000006,0x00005bdc,
37510x00004076,0x00004176,0x00004075,0x00050095, 35990x00005bda,0x00000000,0x00050080,0x00000006,
37520x0000013d,0x00004378,0x000041db,0x00004076, 36000x00005be1,0x000055f3,0x00005bdb,0x00050050,
37530x00050051,0x00000006,0x00004379,0x00004378, 36010x00000007,0x00005be2,0x00005bdc,0x00005be1,
37540x00000001,0x00050051,0x00000006,0x0000437a, 36020x0004007c,0x00000014,0x00005bd2,0x00005be2,
37550x00004378,0x00000000,0x00050080,0x00000006, 36030x00050051,0x00000027,0x00005be6,0x000060ea,
37560x0000437f,0x000041e2,0x00004379,0x00050050, 36040x00000000,0x00050051,0x00000027,0x00005be8,
37570x00000007,0x00004380,0x0000437a,0x0000437f, 36050x000060f3,0x00000000,0x000500bc,0x0000002f,
37580x0004007c,0x00000014,0x00004370,0x00004380, 36060x00005be9,0x00005be6,0x00005be8,0x000300f7,
37590x00060041,0x0000016c,0x00004367,0x00004370, 36070x00005bf0,0x00000000,0x000400fa,0x00005be9,
37600x0000016b,0x0000016b,0x0006003d,0x00000006, 36080x00005bea,0x00005bf0,0x000200f8,0x00005bea,
37610x00004368,0x00004367,0x00000002,0x00000004, 36090x00050051,0x00000027,0x00005bec,0x000060ea,
37620x00050041,0x00000009,0x0000407a,0x00004005, 36100x00000001,0x00050051,0x00000027,0x00005bee,
37630x0000016b,0x0003003e,0x0000407a,0x00004368, 36110x000060f3,0x00000001,0x000500bc,0x0000002f,
37640x000300f7,0x000043c0,0x00000000,0x000400fa, 36120x00005bef,0x00005bec,0x00005bee,0x000200f9,
37650x000041a3,0x000043bb,0x000043bf,0x000200f8, 36130x00005bf0,0x000200f8,0x00005bf0,0x000700f5,
37660x000043bf,0x000200f9,0x000043c0,0x000200f8, 36140x0000002f,0x00005bf1,0x00005be9,0x0000543c,
37670x000043bb,0x00050082,0x00000006,0x000043be, 36150x00005bef,0x00005bea,0x000300f7,0x00005bf8,
37680x0000402d,0x00000142,0x000200f9,0x000043c0, 36160x00000000,0x000400fa,0x00005bf1,0x00005bf2,
37690x000200f8,0x000043c0,0x000700f5,0x00000006, 36170x00005bf8,0x000200f8,0x00005bf2,0x00050051,
37700x00005dbb,0x000043be,0x000043bb,0x00000138, 36180x00000027,0x00005bf4,0x000060ea,0x00000002,
37710x000043bf,0x00050084,0x00000006,0x00004385, 36190x00050051,0x00000027,0x00005bf6,0x000060f3,
37720x000000ec,0x00005dbb,0x00050080,0x00000006, 36200x00000002,0x000500bc,0x0000002f,0x00005bf7,
37730x00004386,0x00004176,0x00004385,0x00050080, 36210x00005bf4,0x00005bf6,0x000200f9,0x00005bf8,
37740x00000006,0x0000407e,0x00004386,0x00004075, 36220x000200f8,0x00005bf8,0x000700f5,0x0000002f,
37750x00050095,0x0000013d,0x000043da,0x000041db, 36230x00005bf9,0x00005bf1,0x00005bf0,0x00005bf7,
37760x0000407e,0x00050051,0x00000006,0x000043db, 36240x00005bf2,0x000300f7,0x0000546a,0x00000000,
37770x000043da,0x00000001,0x00050051,0x00000006, 36250x000400fa,0x00005bf9,0x00005445,0x0000546a,
37780x000043dc,0x000043da,0x00000000,0x00050080, 36260x000200f8,0x00005445,0x00060041,0x00000174,
37790x00000006,0x000043e1,0x000041e2,0x000043db, 36270x00005447,0x00005bd2,0x00000173,0x0000026c,
37800x00050050,0x00000007,0x000043e2,0x000043dc, 36280x0004007c,0x00000006,0x00005c00,0x00005be6,
37810x000043e1,0x0004007c,0x00000014,0x000043d2, 36290x000500c7,0x00000006,0x00005c02,0x00005c00,
37820x000043e2,0x00060041,0x0000016c,0x000043c9, 36300x00000249,0x000500ab,0x0000002f,0x00005c03,
37830x000043d2,0x0000016b,0x0000016b,0x0006003d, 36310x00005c02,0x00000140,0x000300f7,0x00005c0a,
37840x00000006,0x000043ca,0x000043c9,0x00000002, 36320x00000000,0x000400fa,0x00005c03,0x00005c04,
37850x00000004,0x00050041,0x00000009,0x00004082, 36330x00005c07,0x000200f8,0x00005c07,0x000500c5,
37860x00004005,0x00000264,0x0003003e,0x00004082, 36340x00000006,0x00005c09,0x00005c00,0x00000249,
37870x000043ca,0x000200f9,0x00004083,0x000200f8, 36350x000200f9,0x00005c0a,0x000200f8,0x00005c04,
37880x00004083,0x000600a9,0x00000006,0x00006116, 36360x000400c8,0x00000006,0x00005c06,0x00005c00,
37890x00004071,0x00000280,0x00000142,0x000200f9, 36370x000200f9,0x00005c0a,0x000200f8,0x00005c0a,
37900x00004084,0x000200f8,0x00004084,0x000700f5, 36380x000700f5,0x00000006,0x000060fd,0x00005c06,
37910x00000006,0x00005dc2,0x00005dc4,0x00004083, 36390x00005c04,0x00005c09,0x00005c07,0x000700ed,
37920x00004091,0x00004097,0x000700f5,0x00000006, 36400x00000006,0x0000544b,0x00005447,0x0000014a,
37930x00005dbc,0x00000138,0x00004083,0x00004099, 36410x00000140,0x000060fd,0x00060041,0x00000174,
37940x00004097,0x000500b0,0x0000002f,0x00004088, 36420x0000544d,0x00005bd2,0x00000173,0x0000031d,
37950x00005dbc,0x00006116,0x000400f6,0x0000409a, 36430x00050051,0x00000027,0x0000544f,0x000060ea,
37960x00004097,0x00000000,0x000400fa,0x00004088, 36440x00000001,0x0004007c,0x00000006,0x00005c11,
37970x00004089,0x0000409a,0x000200f8,0x00004089, 36450x0000544f,0x000500c7,0x00000006,0x00005c13,
37980x00050041,0x00000009,0x0000408c,0x00004005, 36460x00005c11,0x00000249,0x000500ab,0x0000002f,
37990x00005dbc,0x0004003d,0x00000006,0x0000408d, 36470x00005c14,0x00005c13,0x00000140,0x000300f7,
38000x0000408c,0x000500c7,0x00000006,0x000043e9, 36480x00005c1b,0x00000000,0x000400fa,0x00005c14,
38010x0000408d,0x00000241,0x000500ab,0x0000002f, 36490x00005c15,0x00005c18,0x000200f8,0x00005c18,
38020x000043ea,0x000043e9,0x00000138,0x000300f7, 36500x000500c5,0x00000006,0x00005c1a,0x00005c11,
38030x000043f5,0x00000000,0x000400fa,0x000043ea, 36510x00000249,0x000200f9,0x00005c1b,0x000200f8,
38040x000043eb,0x000043f4,0x000200f8,0x000043f4, 36520x00005c15,0x000400c8,0x00000006,0x00005c17,
38050x000200f9,0x000043f5,0x000200f8,0x000043eb, 36530x00005c11,0x000200f9,0x00005c1b,0x000200f8,
38060x00050084,0x00000006,0x000043fb,0x000000ec, 36540x00005c1b,0x000700f5,0x00000006,0x000060ff,
38070x0000418d,0x00050080,0x00000006,0x000043fc, 36550x00005c17,0x00005c15,0x00005c1a,0x00005c18,
38080x000001c4,0x000043fb,0x000500c7,0x00000006, 36560x000700ed,0x00000006,0x00005451,0x0000544d,
38090x000043ee,0x0000408d,0x00000256,0x00050084, 36570x0000014a,0x00000140,0x000060ff,0x00060041,
38100x00000006,0x000043ef,0x000000ec,0x000043ee, 36580x00000174,0x00005453,0x00005bd2,0x00000173,
38110x00050080,0x00000006,0x000043f0,0x000043fc, 36590x00000325,0x00050051,0x00000027,0x00005455,
38120x000043ef,0x00050095,0x0000013d,0x00004415, 36600x000060ea,0x00000002,0x0004007c,0x00000006,
38130x000041db,0x000043f0,0x00050051,0x00000006, 36610x00005c22,0x00005455,0x000500c7,0x00000006,
38140x00004416,0x00004415,0x00000001,0x00050051, 36620x00005c24,0x00005c22,0x00000249,0x000500ab,
38150x00000006,0x00004417,0x00004415,0x00000000, 36630x0000002f,0x00005c25,0x00005c24,0x00000140,
38160x00050080,0x00000006,0x0000441c,0x000041e2, 36640x000300f7,0x00005c2c,0x00000000,0x000400fa,
38170x00004416,0x00050050,0x00000007,0x0000441d, 36650x00005c25,0x00005c26,0x00005c29,0x000200f8,
38180x00004417,0x0000441c,0x0004007c,0x00000014, 36660x00005c29,0x000500c5,0x00000006,0x00005c2b,
38190x0000440d,0x0000441d,0x00060041,0x0000016c, 36670x00005c22,0x00000249,0x000200f9,0x00005c2c,
38200x00004404,0x0000440d,0x0000016b,0x0000016b, 36680x000200f8,0x00005c26,0x000400c8,0x00000006,
38210x0006003d,0x00000006,0x00004405,0x00004404, 36690x00005c28,0x00005c22,0x000200f9,0x00005c2c,
38220x00000002,0x00000004,0x000200f9,0x000043f5, 36700x000200f8,0x00005c2c,0x000700f5,0x00000006,
38230x000200f8,0x000043f5,0x000700f5,0x00000006, 36710x00006101,0x00005c28,0x00005c26,0x00005c2b,
38240x00005dc7,0x00004405,0x000043eb,0x00000539, 36720x00005c29,0x000700ed,0x00000006,0x00005457,
38250x000043f4,0x00050041,0x00000009,0x0000408f, 36730x00005453,0x0000014a,0x00000140,0x00006101,
38260x00003ff4,0x00005dc2,0x0003003e,0x0000408f, 36740x00060041,0x00000174,0x00005459,0x00005bd2,
38270x00005dc7,0x00050080,0x00000006,0x00004091, 36750x00000173,0x0000032d,0x0004007c,0x00000006,
38280x00005dc2,0x00000264,0x0004003d,0x00000006, 36760x00005c33,0x00005be8,0x000500c7,0x00000006,
38290x00004094,0x0000408c,0x000300f7,0x00004438, 36770x00005c35,0x00005c33,0x00000249,0x000500ab,
38300x00000000,0x000300fb,0x00000138,0x00004427, 36780x0000002f,0x00005c36,0x00005c35,0x00000140,
38310x000200f8,0x00004427,0x000500c7,0x00000006, 36790x000300f7,0x00005c3d,0x00000000,0x000400fa,
38320x00004429,0x00004094,0x00000241,0x000500ab, 36800x00005c36,0x00005c37,0x00005c3a,0x000200f8,
38330x0000002f,0x0000442a,0x00004429,0x00000138, 36810x00005c3a,0x000500c5,0x00000006,0x00005c3c,
38340x000300f7,0x0000442f,0x00000000,0x000400fa, 36820x00005c33,0x00000249,0x000200f9,0x00005c3d,
38350x0000442a,0x0000442b,0x0000442f,0x000200f8, 36830x000200f8,0x00005c37,0x000400c8,0x00000006,
38360x0000442b,0x000300f7,0x0000444c,0x00000000, 36840x00005c39,0x00005c33,0x000200f9,0x00005c3d,
38370x000400fa,0x0000442a,0x00004442,0x0000444b, 36850x000200f8,0x00005c3d,0x000700f5,0x00000006,
38380x000200f8,0x0000444b,0x000200f9,0x0000444c, 36860x00006107,0x00005c39,0x00005c37,0x00005c3c,
38390x000200f8,0x00004442,0x00050084,0x00000006, 36870x00005c3a,0x000700ef,0x00000006,0x0000545d,
38400x00004452,0x000000ec,0x0000418d,0x00050080, 36880x00005459,0x0000014a,0x00000140,0x00006107,
38410x00000006,0x00004453,0x000001c4,0x00004452, 36890x00060041,0x00000174,0x0000545f,0x00005bd2,
38420x000500c7,0x00000006,0x00004445,0x00004094, 36900x00000173,0x00000335,0x00050051,0x00000027,
38430x00000256,0x00050084,0x00000006,0x00004446, 36910x00005461,0x000060f3,0x00000001,0x0004007c,
38440x000000ec,0x00004445,0x00050080,0x00000006, 36920x00000006,0x00005c44,0x00005461,0x000500c7,
38450x00004447,0x00004453,0x00004446,0x00050095, 36930x00000006,0x00005c46,0x00005c44,0x00000249,
38460x0000013d,0x0000446c,0x000041db,0x00004447, 36940x000500ab,0x0000002f,0x00005c47,0x00005c46,
38470x00050051,0x00000006,0x0000446d,0x0000446c, 36950x00000140,0x000300f7,0x00005c4e,0x00000000,
38480x00000001,0x00050051,0x00000006,0x0000446e, 36960x000400fa,0x00005c47,0x00005c48,0x00005c4b,
38490x0000446c,0x00000000,0x00050080,0x00000006, 36970x000200f8,0x00005c4b,0x000500c5,0x00000006,
38500x00004473,0x000041e2,0x0000446d,0x00050050, 36980x00005c4d,0x00005c44,0x00000249,0x000200f9,
38510x00000007,0x00004474,0x0000446e,0x00004473, 36990x00005c4e,0x000200f8,0x00005c48,0x000400c8,
38520x0004007c,0x00000014,0x00004464,0x00004474, 37000x00000006,0x00005c4a,0x00005c44,0x000200f9,
38530x00060041,0x0000016c,0x0000445b,0x00004464, 37010x00005c4e,0x000200f8,0x00005c4e,0x000700f5,
38540x0000016b,0x0000016b,0x0006003d,0x00000006, 37020x00000006,0x00006109,0x00005c4a,0x00005c48,
38550x0000445c,0x0000445b,0x00000002,0x00000004, 37030x00005c4d,0x00005c4b,0x000700ef,0x00000006,
38560x000200f9,0x0000444c,0x000200f8,0x0000444c, 37040x00005463,0x0000545f,0x0000014a,0x00000140,
38570x000700f5,0x00000006,0x00005dce,0x0000445c, 37050x00006109,0x00060041,0x00000174,0x00005465,
38580x00004442,0x00000539,0x0000444b,0x00050041, 37060x00005bd2,0x00000173,0x00000359,0x00050051,
38590x000001bb,0x00004477,0x000001b9,0x0000034a, 37070x00000027,0x00005467,0x000060f3,0x00000002,
38600x0004003d,0x00000006,0x00004478,0x00004477, 37080x0004007c,0x00000006,0x00005c55,0x00005467,
38610x00050041,0x000001bb,0x00004488,0x000001b9, 37090x000500c7,0x00000006,0x00005c57,0x00005c55,
38620x00000334,0x0004003d,0x00000006,0x00004489, 37100x00000249,0x000500ab,0x0000002f,0x00005c58,
38630x00004488,0x000500c7,0x00000006,0x0000448a, 37110x00005c57,0x00000140,0x000300f7,0x00005c5f,
38640x00004489,0x00000142,0x000500ab,0x0000002f, 37120x00000000,0x000400fa,0x00005c58,0x00005c59,
38650x0000448b,0x0000448a,0x00000138,0x000600a9, 37130x00005c5c,0x000200f8,0x00005c5c,0x000500c5,
38660x00000006,0x00004485,0x0000448b,0x00000342, 37140x00000006,0x00005c5e,0x00005c55,0x00000249,
38670x000001c4,0x00050084,0x00000006,0x0000447b, 37150x000200f9,0x00005c5f,0x000200f8,0x00005c59,
38680x00005dce,0x00004485,0x00050080,0x00000006, 37160x000400c8,0x00000006,0x00005c5b,0x00005c55,
38690x0000447c,0x00004478,0x0000447b,0x000500c2, 37170x000200f9,0x00005c5f,0x000200f8,0x00005c5f,
38700x00000006,0x0000447d,0x0000447c,0x00000351, 37180x000700f5,0x00000006,0x0000610b,0x00005c5b,
38710x000500c4,0x00000006,0x0000447e,0x0000447d, 37190x00005c59,0x00005c5e,0x00005c5c,0x000700ef,
38720x0000031d,0x000600a9,0x00000006,0x00004480, 37200x00000006,0x00005469,0x00005465,0x0000014a,
38730x0000448b,0x00000355,0x00000138,0x000500c5, 37210x00000140,0x0000610b,0x000200f9,0x0000546a,
38740x00000006,0x00004481,0x0000447e,0x00004480, 37220x000200f8,0x0000546a,0x00060041,0x00000174,
38750x000200f9,0x00004438,0x000200f8,0x0000442f, 37230x0000546c,0x00005bd2,0x00000173,0x00000173,
38760x000300f7,0x000044e3,0x00000000,0x000400fa, 37240x000700ea,0x00000006,0x0000546d,0x0000546c,
38770x000041a3,0x000044de,0x000044e2,0x000200f8, 37250x0000026c,0x00000886,0x0000014a,0x00050080,
38780x000044e2,0x000200f9,0x000044e3,0x000200f8, 37260x00000006,0x0000546f,0x0000546d,0x0000014a,
38790x000044de,0x00050082,0x00000006,0x000044e1, 37270x000500ab,0x0000002f,0x00005471,0x0000546f,
38800x0000402d,0x00000142,0x000200f9,0x000044e3, 37280x0000610f,0x000300f7,0x00005473,0x00000000,
38810x000200f8,0x000044e3,0x000700f5,0x00000006, 37290x000400fa,0x00005471,0x00005472,0x00005473,
38820x00005dca,0x000044e1,0x000044de,0x00000138, 37300x000200f8,0x00005472,0x000200f9,0x0000547e,
38830x000044e2,0x00050084,0x00000006,0x000044a8, 37310x000200f8,0x00005473,0x000300f7,0x00005c9b,
38840x000000ec,0x00005dca,0x00050080,0x00000006, 37320x00000000,0x000300fb,0x00000140,0x00005c6d,
38850x000044a9,0x00004176,0x000044a8,0x000300f7, 37330x000200f8,0x00005c6d,0x000200f9,0x00005c70,
38860x000044f0,0x00000000,0x000400fa,0x000041a3, 37340x000200f8,0x00005c70,0x000700f5,0x00000006,
38870x000044eb,0x000044ef,0x000200f8,0x000044ef, 37350x00006116,0x00000140,0x00005c6d,0x00005c7e,
38880x000200f9,0x000044f0,0x000200f8,0x000044eb, 37360x00005c74,0x000500b0,0x0000002f,0x00005c73,
38890x00050082,0x00000006,0x000044ee,0x0000402d, 37370x00006116,0x0000035d,0x000400f6,0x00005c7f,
38900x00000142,0x000200f9,0x000044f0,0x000200f8, 37380x00005c74,0x00000000,0x000400fa,0x00005c73,
38910x000044f0,0x000700f5,0x00000006,0x00005dcb, 37390x00005c74,0x00005c7f,0x000200f8,0x00005c74,
38920x000044ee,0x000044eb,0x00000138,0x000044ef, 37400x00050080,0x00000006,0x00005c78,0x0000014a,
38930x00050084,0x00000006,0x000044a2,0x000000ec, 37410x00006116,0x00060041,0x00000174,0x00005c79,
38940x00005dcb,0x00050080,0x00000006,0x000044a3, 37420x00005bd2,0x00000173,0x00005c78,0x000700f1,
38950x000044a9,0x000044a2,0x000300f7,0x000044fd, 37430x00000006,0x00005c7a,0x00005c79,0x0000014a,
38960x00000000,0x000400fa,0x000041a3,0x000044f8, 37440x00000140,0x00000140,0x00050041,0x00000009,
38970x000044fc,0x000200f8,0x000044fc,0x000200f9, 37450x00005c7b,0x00005c65,0x00006116,0x0003003e,
38980x000044fd,0x000200f8,0x000044f8,0x00050082, 37460x00005c7b,0x00005c7a,0x00050080,0x00000006,
38990x00000006,0x000044fb,0x0000402d,0x00000142, 37470x00005c7e,0x00006116,0x0000026c,0x000200f9,
39000x000200f9,0x000044fd,0x000200f8,0x000044fd, 37480x00005c70,0x000200f8,0x00005c7f,0x00050041,
39010x000700f5,0x00000006,0x00005dcc,0x000044fb, 37490x00000009,0x00005c80,0x00005c65,0x00000173,
39020x000044f8,0x00000138,0x000044fc,0x00050084, 37500x0004003d,0x00000006,0x00005c81,0x00005c80,
39030x00000006,0x0000449c,0x000000ec,0x00005dcc, 37510x000500aa,0x0000002f,0x00005c82,0x00005c81,
39040x00050080,0x00000006,0x0000449d,0x000044a3, 37520x000003bf,0x000300f7,0x00005c86,0x00000000,
39050x0000449c,0x000300f7,0x0000450a,0x00000000, 37530x000400fa,0x00005c82,0x00005c83,0x00005c86,
39060x000400fa,0x000041a3,0x00004505,0x00004509, 37540x000200f8,0x00005c83,0x000200f9,0x00005c9b,
39070x000200f8,0x00004509,0x000200f9,0x0000450a, 37550x000200f8,0x00005c86,0x0004003d,0x00000006,
39080x000200f8,0x00004505,0x00050082,0x00000006, 37560x00005c88,0x00005c80,0x000500c7,0x00000006,
39090x00004508,0x0000402d,0x00000142,0x000200f9, 37570x00005cea,0x00005c88,0x00000249,0x000500ab,
39100x0000450a,0x000200f8,0x0000450a,0x000700f5, 37580x0000002f,0x00005ceb,0x00005cea,0x00000140,
39110x00000006,0x00005dcd,0x00004508,0x00004505, 37590x000300f7,0x00005cf2,0x00000000,0x000400fa,
39120x00000138,0x00004509,0x00050084,0x00000006, 37600x00005ceb,0x00005cec,0x00005cef,0x000200f8,
39130x00004496,0x000000ec,0x00005dcd,0x00050080, 37610x00005cef,0x000400c8,0x00000006,0x00005cf1,
39140x00000006,0x00004497,0x0000449d,0x00004496, 37620x00005c88,0x000200f9,0x00005cf2,0x000200f8,
39150x00050084,0x00000006,0x00004432,0x000000ec, 37630x00005cec,0x000500c7,0x00000006,0x00005cee,
39160x00004094,0x00050080,0x00000006,0x00004433, 37640x00005c88,0x0000025e,0x000200f9,0x00005cf2,
39170x00004497,0x00004432,0x00050095,0x0000013d, 37650x000200f8,0x00005cf2,0x000700f5,0x00000006,
39180x00004524,0x000041db,0x00004433,0x00050051, 37660x00006117,0x00005cee,0x00005cec,0x00005cf1,
39190x00000006,0x00004525,0x00004524,0x00000001, 37670x00005cef,0x0004007c,0x00000027,0x00005cf4,
39200x00050051,0x00000006,0x00004526,0x00004524, 37680x00006117,0x00050041,0x00000009,0x00005c8a,
39210x00000000,0x00050080,0x00000006,0x0000452b, 37690x00005c65,0x0000026c,0x0004003d,0x00000006,
39220x000041e2,0x00004525,0x00050050,0x00000007, 37700x00005c8b,0x00005c8a,0x000500c7,0x00000006,
39230x0000452c,0x00004526,0x0000452b,0x0004007c, 37710x00005cf9,0x00005c8b,0x00000249,0x000500ab,
39240x00000014,0x0000451c,0x0000452c,0x00060041, 37720x0000002f,0x00005cfa,0x00005cf9,0x00000140,
39250x0000016c,0x00004513,0x0000451c,0x0000016b, 37730x000300f7,0x00005d01,0x00000000,0x000400fa,
39260x0000016b,0x0006003d,0x00000006,0x00004514, 37740x00005cfa,0x00005cfb,0x00005cfe,0x000200f8,
39270x00004513,0x00000002,0x00000004,0x00050041, 37750x00005cfe,0x000400c8,0x00000006,0x00005d00,
39280x000001bb,0x0000452f,0x000001b9,0x0000035a, 37760x00005c8b,0x000200f9,0x00005d01,0x000200f8,
39290x0004003d,0x00000006,0x00004530,0x0000452f, 37770x00005cfb,0x000500c7,0x00000006,0x00005cfd,
39300x00050041,0x000001bb,0x00004540,0x000001b9, 37780x00005c8b,0x0000025e,0x000200f9,0x00005d01,
39310x00000334,0x0004003d,0x00000006,0x00004541, 37790x000200f8,0x00005d01,0x000700f5,0x00000006,
39320x00004540,0x000500c7,0x00000006,0x00004542, 37800x00006118,0x00005cfd,0x00005cfb,0x00005d00,
39330x00004541,0x00000280,0x000500ab,0x0000002f, 37810x00005cfe,0x0004007c,0x00000027,0x00005d03,
39340x00004543,0x00004542,0x00000138,0x000600a9, 37820x00006118,0x00050041,0x00000009,0x00005c8d,
39350x00000006,0x0000453d,0x00004543,0x000001c4, 37830x00005c65,0x0000031d,0x0004003d,0x00000006,
39360x00000342,0x00050084,0x00000006,0x00004533, 37840x00005c8e,0x00005c8d,0x000500c7,0x00000006,
39370x00004514,0x0000453d,0x00050080,0x00000006, 37850x00005d08,0x00005c8e,0x00000249,0x000500ab,
39380x00004534,0x00004530,0x00004533,0x000500c2, 37860x0000002f,0x00005d09,0x00005d08,0x00000140,
39390x00000006,0x00004535,0x00004534,0x00000351, 37870x000300f7,0x00005d10,0x00000000,0x000400fa,
39400x000500c4,0x00000006,0x00004536,0x00004535, 37880x00005d09,0x00005d0a,0x00005d0d,0x000200f8,
39410x0000031d,0x000600a9,0x00000006,0x00004538, 37890x00005d0d,0x000400c8,0x00000006,0x00005d0f,
39420x00004543,0x000000ec,0x00000364,0x000500c5, 37900x00005c8e,0x000200f9,0x00005d10,0x000200f8,
39430x00000006,0x00004539,0x00004536,0x00004538, 37910x00005d0a,0x000500c7,0x00000006,0x00005d0c,
39440x000200f9,0x00004438,0x000200f8,0x00004438, 37920x00005c8e,0x0000025e,0x000200f9,0x00005d10,
39450x000700f5,0x00000006,0x00005dcf,0x00004481, 37930x000200f8,0x00005d10,0x000700f5,0x00000006,
39460x0000444c,0x00004539,0x0000450a,0x00050041, 37940x00006119,0x00005d0c,0x00005d0a,0x00005d0f,
39470x00000009,0x00004096,0x00003ff3,0x00005dc2, 37950x00005d0d,0x0004007c,0x00000027,0x00005d12,
39480x0003003e,0x00004096,0x00005dcf,0x000200f9, 37960x00006119,0x00060050,0x0000006c,0x00005c90,
39490x00004097,0x000200f8,0x00004097,0x00050080, 37970x00005cf4,0x00005d03,0x00005d12,0x00050041,
39500x00000006,0x00004099,0x00005dbc,0x00000264, 37980x00000009,0x00005c91,0x00005c65,0x00000325,
39510x000200f9,0x00004084,0x000200f8,0x0000409a, 37990x0004003d,0x00000006,0x00005c92,0x00005c91,
39520x000200f9,0x0000409b,0x000200f8,0x0000409b, 38000x000500c7,0x00000006,0x00005d17,0x00005c92,
39530x00050080,0x00000006,0x0000409d,0x00005d9b, 38010x00000249,0x000500ab,0x0000002f,0x00005d18,
39540x00000264,0x000200f9,0x00004065,0x000200f8, 38020x00005d17,0x00000140,0x000300f7,0x00005d1f,
39550x0000409e,0x00050041,0x000001bb,0x0000454c, 38030x00000000,0x000400fa,0x00005d18,0x00005d19,
39560x000001b9,0x00000334,0x0004003d,0x00000006, 38040x00005d1c,0x000200f8,0x00005d1c,0x000400c8,
39570x0000454d,0x0000454c,0x000500c7,0x00000006, 38050x00000006,0x00005d1e,0x00005c92,0x000200f9,
39580x0000454e,0x0000454d,0x00000142,0x000500aa, 38060x00005d1f,0x000200f8,0x00005d19,0x000500c7,
39590x0000002f,0x000040a0,0x0000454e,0x00000138, 38070x00000006,0x00005d1b,0x00005c92,0x0000025e,
39600x000300f7,0x000040a6,0x00000000,0x000400fa, 38080x000200f9,0x00005d1f,0x000200f8,0x00005d1f,
39610x000040a0,0x000040a1,0x000040a6,0x000200f8, 38090x000700f5,0x00000006,0x0000611a,0x00005d1b,
39620x000040a1,0x000500c7,0x00000006,0x000040a4, 38100x00005d19,0x00005d1e,0x00005d1c,0x0004007c,
39630x0000454d,0x000000ec,0x000500ab,0x0000002f, 38110x00000027,0x00005d21,0x0000611a,0x00050041,
39640x000040a5,0x000040a4,0x00000138,0x000200f9, 38120x00000009,0x00005c94,0x00005c65,0x0000032d,
39650x000040a6,0x000200f8,0x000040a6,0x000700f5, 38130x0004003d,0x00000006,0x00005c95,0x00005c94,
39660x0000002f,0x000040a7,0x000040a0,0x0000409e, 38140x000500c7,0x00000006,0x00005d26,0x00005c95,
39670x000040a5,0x000040a1,0x000300f7,0x000040ad, 38150x00000249,0x000500ab,0x0000002f,0x00005d27,
39680x00000000,0x000400fa,0x000040a7,0x000040a8, 38160x00005d26,0x00000140,0x000300f7,0x00005d2e,
39690x000040ad,0x000200f8,0x000040a8,0x0004003d, 38170x00000000,0x000400fa,0x00005d27,0x00005d28,
39700x000000ed,0x000040a9,0x00003ff4,0x0003003e, 38180x00005d2b,0x000200f8,0x00005d2b,0x000400c8,
39710x0000400e,0x000040a9,0x0004003d,0x000000ed, 38190x00000006,0x00005d2d,0x00005c95,0x000200f9,
39720x000040aa,0x00003ff3,0x0003003e,0x0000400f, 38200x00005d2e,0x000200f8,0x00005d28,0x000500c7,
39730x000040aa,0x000200f9,0x00004585,0x000200f8, 38210x00000006,0x00005d2a,0x00005c95,0x0000025e,
39740x00004585,0x000700f5,0x00000006,0x00005d9c, 38220x000200f9,0x00005d2e,0x000200f8,0x00005d2e,
39750x00000138,0x000040a8,0x000045cb,0x000045c9, 38230x000700f5,0x00000006,0x0000611b,0x00005d2a,
39760x000500b0,0x0000002f,0x00004588,0x00005d9c, 38240x00005d28,0x00005d2d,0x00005d2b,0x0004007c,
39770x000000ec,0x000400f6,0x000045cc,0x000045c9, 38250x00000027,0x00005d30,0x0000611b,0x00050041,
39780x00000000,0x000400fa,0x00004588,0x00004589, 38260x00000009,0x00005c97,0x00005c65,0x00000335,
39790x000045cc,0x000200f8,0x00004589,0x00050041, 38270x0004003d,0x00000006,0x00005c98,0x00005c97,
39800x00000096,0x0000458b,0x00004551,0x00005d9c, 38280x000500c7,0x00000006,0x00005d35,0x00005c98,
39810x0003003e,0x0000458b,0x000003cc,0x00050041, 38290x00000249,0x000500ab,0x0000002f,0x00005d36,
39820x00000096,0x0000458d,0x00004552,0x00005d9c, 38300x00005d35,0x00000140,0x000300f7,0x00005d3d,
39830x0003003e,0x0000458d,0x000003cc,0x00050041, 38310x00000000,0x000400fa,0x00005d36,0x00005d37,
39840x00000009,0x0000458f,0x00004553,0x00005d9c, 38320x00005d3a,0x000200f8,0x00005d3a,0x000400c8,
39850x0003003e,0x0000458f,0x00000138,0x000200f9, 38330x00000006,0x00005d3c,0x00005c98,0x000200f9,
39860x00004590,0x000200f8,0x00004590,0x000700f5, 38340x00005d3d,0x000200f8,0x00005d37,0x000500c7,
39870x00000006,0x00005db4,0x00000138,0x00004589, 38350x00000006,0x00005d39,0x00005c98,0x0000025e,
39880x0000459a,0x00004594,0x000500b0,0x0000002f, 38360x000200f9,0x00005d3d,0x000200f8,0x00005d3d,
39890x00004593,0x00005db4,0x00000470,0x000400f6, 38370x000700f5,0x00000006,0x0000611c,0x00005d39,
39900x0000459b,0x00004594,0x00000000,0x000400fa, 38380x00005d37,0x00005d3c,0x00005d3a,0x0004007c,
39910x00004593,0x00004594,0x0000459b,0x000200f8, 38390x00000027,0x00005d3f,0x0000611c,0x00060050,
39920x00004594,0x00060041,0x000000e5,0x00004597, 38400x0000006c,0x00005c9a,0x00005d21,0x00005d30,
39930x00004555,0x00005d9c,0x00005db4,0x0003003e, 38410x00005d3f,0x000200f9,0x00005c9b,0x000200f8,
39940x00004597,0x00000c0e,0x00050080,0x00000006, 38420x00005c9b,0x000700f5,0x0000006c,0x00006121,
39950x0000459a,0x00005db4,0x00000264,0x000200f9, 38430x00006532,0x00005c83,0x00005c9a,0x00005d3d,
39960x00004590,0x000200f8,0x0000459b,0x00050041, 38440x000700f5,0x0000006c,0x0000611d,0x000005dc,
39970x00000009,0x0000459d,0x0000400e,0x00005d9c, 38450x00005c83,0x00005c90,0x00005d3d,0x000300f7,
39980x0004003d,0x00000006,0x0000459e,0x0000459d, 38460x00005d59,0x00000000,0x000300fb,0x00000140,
39990x000500aa,0x0000002f,0x0000459f,0x0000459e, 38470x00005d4a,0x000200f8,0x00005d4a,0x000300f7,
40000x00000539,0x000300f7,0x000045a1,0x00000000, 38480x00005d7d,0x00000000,0x000300fb,0x00000140,
40010x000400fa,0x0000459f,0x000045a0,0x000045a1, 38490x00005d62,0x000200f8,0x00005d62,0x000500b0,
40020x000200f8,0x000045a0,0x000200f9,0x000045c9, 38500x0000002f,0x00005d6a,0x0000577e,0x000056c1,
40030x000200f8,0x000045a1,0x0004003d,0x00000006, 38510x000400a8,0x0000002f,0x00005d6b,0x00005d6a,
40040x000045a5,0x0000459d,0x00050041,0x000001bb, 38520x000300f7,0x00005d72,0x00000000,0x000400fa,
40050x000046a5,0x000001b9,0x0000034a,0x0004003d, 38530x00005d6b,0x00005d6c,0x00005d72,0x000200f8,
40060x00000006,0x000046a6,0x000046a5,0x00050084, 38540x00005d6c,0x00050041,0x000001c3,0x00005d6e,
40070x00000006,0x000046a8,0x000001c4,0x000045a5, 38550x000001c1,0x000003b7,0x0004003d,0x00000006,
40080x00050080,0x00000006,0x000046a9,0x000046a6, 38560x00005d6f,0x00005d6e,0x00050086,0x00000006,
40090x000046a8,0x00050080,0x00000006,0x000045a7, 38570x00005d70,0x00005d6f,0x000001cc,0x000500ae,
40100x000046a9,0x00000521,0x00050041,0x00000266, 38580x0000002f,0x00005d71,0x0000577e,0x00005d70,
40110x000045a8,0x000001b9,0x0000016b,0x0004003d, 38590x000200f9,0x00005d72,0x000200f8,0x00005d72,
40120x00000007,0x000045a9,0x000045a8,0x00050051, 38600x000700f5,0x0000002f,0x00005d73,0x00005d6a,
40130x00000006,0x000046c0,0x000045a9,0x00000000, 38610x00005d62,0x00005d71,0x00005d6c,0x000300f7,
40140x00050095,0x0000013d,0x000046c2,0x000046c0, 38620x00005d75,0x00000000,0x000400fa,0x00005d73,
40150x000045a7,0x00050051,0x00000006,0x000046c3, 38630x00005d74,0x00005d75,0x000200f8,0x00005d74,
40160x000046c2,0x00000001,0x00050051,0x00000006, 38640x000200f9,0x00005d7d,0x000200f8,0x00005d75,
40170x000046c4,0x000046c2,0x00000000,0x00050051, 38650x00050041,0x000001c3,0x00005d76,0x000001c1,
40180x00000006,0x000046c7,0x000045a9,0x00000001, 38660x000003c1,0x0004003d,0x00000006,0x00005d77,
40190x00050080,0x00000006,0x000046c9,0x000046c7, 38670x00005d76,0x00050082,0x00000006,0x00005d7a,
40200x000046c3,0x00050050,0x00000007,0x000046ca, 38680x0000577e,0x000056c1,0x00050084,0x00000006,
40210x000046c4,0x000046c9,0x0004007c,0x00000014, 38690x00005d7b,0x000000f3,0x00005d7a,0x00050080,
40220x000046ba,0x000046ca,0x00060041,0x0000016c, 38700x00000006,0x00005d7c,0x00005d77,0x00005d7b,
40230x000046b1,0x000046ba,0x0000016b,0x0000016b, 38710x000200f9,0x00005d7d,0x000200f8,0x00005d7d,
40240x0006003d,0x00000006,0x000046b2,0x000046b1, 38720x000700f5,0x00000006,0x00006133,0x000003bf,
40250x00000002,0x00000004,0x0003003e,0x0000458f, 38730x00005d74,0x00005d7c,0x00005d75,0x000500aa,
40260x000046b2,0x000200f9,0x000045ac,0x000200f8, 38740x0000002f,0x00005d4e,0x00006133,0x000003bf,
40270x000045ac,0x000700f5,0x00000006,0x00005db6, 38750x000300f7,0x00005d50,0x00000000,0x000400fa,
40280x00000138,0x000045a1,0x000045bb,0x000045b0, 38760x00005d4e,0x00005d4f,0x00005d50,0x000200f8,
40290x000500b0,0x0000002f,0x000045af,0x00005db6, 38770x00005d4f,0x000200f9,0x00005d59,0x000200f8,
40300x00000470,0x000400f6,0x000045bc,0x000045b0, 38780x00005d50,0x00050041,0x0000026e,0x00005d51,
40310x00000000,0x000400fa,0x000045af,0x000045b0, 38790x000001c1,0x00000173,0x0004003d,0x00000007,
40320x000045bc,0x000200f8,0x000045b0,0x0004003d, 38800x00005d52,0x00005d51,0x00050051,0x00000006,
40330x00000006,0x000045b5,0x0000459d,0x00050084, 38810x00005d99,0x00005d52,0x00000000,0x00050095,
40340x00000006,0x000046ee,0x000001c4,0x000045b5, 38820x00000145,0x00005d9b,0x00005d99,0x00006133,
40350x00050080,0x00000006,0x000046ef,0x000046a6, 38830x00050051,0x00000006,0x00005d9c,0x00005d9b,
40360x000046ee,0x00050084,0x00000006,0x000046d8, 38840x00000001,0x00050051,0x00000006,0x00005d9d,
40370x000001d4,0x00005db6,0x00050080,0x00000006, 38850x00005d9b,0x00000000,0x00050051,0x00000006,
40380x000046d9,0x000046ef,0x000046d8,0x00050095, 38860x00005da0,0x00005d52,0x00000001,0x00050080,
40390x0000013d,0x00004708,0x000046c0,0x000046d9, 38870x00000006,0x00005da2,0x00005da0,0x00005d9c,
40400x00050051,0x00000006,0x00004709,0x00004708, 38880x00050050,0x00000007,0x00005da3,0x00005d9d,
40410x00000001,0x00050051,0x00000006,0x0000470a, 38890x00005da2,0x0004007c,0x00000014,0x00005d93,
40420x00004708,0x00000000,0x00050080,0x00000006, 38900x00005da3,0x00060041,0x00000174,0x00005d8a,
40430x0000470f,0x000046c7,0x00004709,0x00050050, 38910x00005d93,0x00000173,0x00000173,0x0006003d,
40440x00000007,0x00004710,0x0000470a,0x0000470f, 38920x00000006,0x00005d8b,0x00005d8a,0x00000002,
40450x0004007c,0x00000014,0x00004700,0x00004710, 38930x00000004,0x000300f7,0x00005dd5,0x00000000,
40460x00060041,0x0000016c,0x000046f7,0x00004700, 38940x000300fb,0x00000140,0x00005dac,0x000200f8,
40470x0000016b,0x0000016b,0x0006003d,0x00000006, 38950x00005dac,0x000500c7,0x00000006,0x00005dae,
40480x000046f8,0x000046f7,0x00000002,0x00000004, 38960x00005d8b,0x00000376,0x000500c7,0x00000006,
40490x00050080,0x00000006,0x000046df,0x000046d9, 38970x00005ddb,0x000013a9,0x00000288,0x000500ab,
40500x000000ec,0x00050095,0x0000013d,0x00004729, 38980x0000002f,0x00005ddc,0x00005ddb,0x00000140,
40510x000046c0,0x000046df,0x00050051,0x00000006, 38990x000600a9,0x00000006,0x00005db0,0x00005ddc,
40520x0000472a,0x00004729,0x00000001,0x00050051, 39000x000000f3,0x0000036c,0x000500ab,0x0000002f,
40530x00000006,0x0000472b,0x00004729,0x00000000, 39010x00005db1,0x00005dae,0x00005db0,0x000300f7,
40540x00050080,0x00000006,0x00004730,0x000046c7, 39020x00005db3,0x00000000,0x000400fa,0x00005db1,
40550x0000472a,0x00050050,0x00000007,0x00004731, 39030x00005db2,0x00005db3,0x000200f8,0x00005db2,
40560x0000472b,0x00004730,0x0004007c,0x00000014, 39040x000200f9,0x00005dd5,0x000200f8,0x00005db3,
40570x00004721,0x00004731,0x00060041,0x0000016c, 39050x000500c2,0x00000006,0x00005de0,0x00005d8b,
40580x00004718,0x00004721,0x0000016b,0x0000016b, 39060x00000325,0x00050084,0x00000006,0x00005db6,
40590x0006003d,0x00000006,0x00004719,0x00004718, 39070x00005de0,0x000001cc,0x000500ae,0x0000002f,
39080x00005db9,0x00005de0,0x00000387,0x000400a8,
39090x0000002f,0x00005dba,0x00005db9,0x000300f7,
39100x00005dc0,0x00000000,0x000400fa,0x00005dba,
39110x00005dbb,0x00005dc0,0x000200f8,0x00005dbb,
39120x000500b0,0x0000002f,0x00005dbf,0x00005db6,
39130x00005b8a,0x000200f9,0x00005dc0,0x000200f8,
39140x00005dc0,0x000700f5,0x0000002f,0x00005dc1,
39150x00005db9,0x00005db3,0x00005dbf,0x00005dbb,
39160x000300f7,0x00005dc3,0x00000000,0x000400fa,
39170x00005dc1,0x00005dc2,0x00005dc3,0x000200f8,
39180x00005dc2,0x000200f9,0x00005dd5,0x000200f8,
39190x00005dc3,0x00050082,0x00000006,0x00005dc7,
39200x00005db6,0x00005b8a,0x000600a9,0x00000006,
39210x00005de8,0x00005ddc,0x000001cc,0x0000034a,
39220x00050089,0x00000006,0x00005dca,0x00005dc7,
39230x00005de8,0x000500aa,0x0000002f,0x00005dcb,
39240x00005dca,0x00000140,0x000300f7,0x00005dd3,
39250x00000000,0x000400fa,0x00005dcb,0x00005dcc,
39260x00005dd3,0x000200f8,0x00005dcc,0x00050086,
39270x00000006,0x00005dcf,0x00005dc7,0x00005de8,
39280x00050041,0x000001c3,0x00005dd0,0x000001c1,
39290x0000020e,0x0004003d,0x00000006,0x00005dd1,
39300x00005dd0,0x000500b0,0x0000002f,0x00005dd2,
39310x00005dcf,0x00005dd1,0x000200f9,0x00005dd3,
39320x000200f8,0x00005dd3,0x000700f5,0x0000002f,
39330x00005dd4,0x00005dcb,0x00005dc3,0x00005dd2,
39340x00005dcc,0x000200f9,0x00005dd5,0x000200f8,
39350x00005dd5,0x000900f5,0x0000002f,0x00006134,
39360x0000037d,0x00005db2,0x0000037d,0x00005dc2,
39370x00005dd4,0x00005dd3,0x000600a9,0x00000006,
39380x00005d58,0x00006134,0x00005d8b,0x000003bf,
39390x000200f9,0x00005d59,0x000200f8,0x00005d59,
39400x000700f5,0x00000006,0x00006135,0x000003bf,
39410x00005d4f,0x00005d58,0x00005dd5,0x000200f9,
39420x0000547b,0x000200f8,0x0000547b,0x00050080,
39430x00000006,0x0000547d,0x000060e6,0x0000026c,
39440x000200f9,0x00005410,0x000200f8,0x0000547e,
39450x000700f5,0x0000002f,0x0000614e,0x0000037d,
39460x00005410,0x00000444,0x00005472,0x000300f7,
39470x00005480,0x00000000,0x000400fa,0x0000614e,
39480x00005481,0x00005480,0x000200f8,0x00005480,
39490x000200f9,0x00005481,0x000200f8,0x00005481,
39500x000200f9,0x000014df,0x000200f8,0x000014df,
39510x000200f9,0x000014d5,0x000200f8,0x000014d4,
39520x000300f7,0x000043f7,0x00000000,0x000300fb,
39530x00000140,0x00004309,0x000200f8,0x00004309,
39540x0003003e,0x000042d1,0x0000103a,0x0003003e,
39550x000042d2,0x0000103a,0x00050041,0x000001c3,
39560x0000430a,0x000001c1,0x000001f8,0x0004003d,
39570x00000006,0x0000430b,0x0000430a,0x000500b2,
39580x0000002f,0x0000430c,0x0000430b,0x0000014a,
39590x000300f7,0x0000438c,0x00000000,0x000400fa,
39600x0000430c,0x0000430d,0x0000431c,0x000200f8,
39610x0000431c,0x00050041,0x000001c3,0x0000446a,
39620x000001c1,0x000001c2,0x0004003d,0x00000006,
39630x0000446b,0x0000446a,0x00050084,0x00000006,
39640x0000446c,0x000001e3,0x0000446b,0x00050080,
39650x00000006,0x0000446d,0x000001cc,0x0000446c,
39660x00050080,0x00000006,0x00004473,0x0000446b,
39670x00000695,0x00050086,0x00000006,0x00004474,
39680x00004473,0x000001c6,0x00050084,0x00000006,
39690x00004466,0x000001cc,0x00004474,0x00050080,
39700x00000006,0x00004467,0x0000446d,0x00004466,
39710x00050080,0x00000006,0x00004461,0x00004467,
39720x00004466,0x00050084,0x00000006,0x0000445a,
39730x000001f7,0x0000430b,0x00050080,0x00000006,
39740x0000445b,0x00004461,0x0000445a,0x00050041,
39750x000001c3,0x00004451,0x000001c1,0x0000020e,
39760x0004003d,0x00000006,0x00004452,0x00004451,
39770x00050084,0x00000006,0x00004453,0x0000020d,
39780x00004452,0x00050080,0x00000006,0x00004454,
39790x0000445b,0x00004453,0x000500ac,0x0000002f,
39800x00004481,0x0000430b,0x0000014a,0x000300f7,
39810x00004487,0x00000000,0x000400fa,0x00004481,
39820x00004482,0x00004486,0x000200f8,0x00004486,
39830x000200f9,0x00004487,0x000200f8,0x00004482,
39840x00050082,0x00000006,0x00004485,0x0000430b,
39850x0000014a,0x000200f9,0x00004487,0x000200f8,
39860x00004487,0x000700f5,0x00000006,0x000061b9,
39870x00004485,0x00004482,0x00000140,0x00004486,
39880x00050084,0x00000006,0x0000444c,0x000000f3,
39890x000061b9,0x00050080,0x00000006,0x0000444d,
39900x00004454,0x0000444c,0x000300f7,0x00004494,
39910x00000000,0x000400fa,0x00004481,0x0000448f,
39920x00004493,0x000200f8,0x00004493,0x000200f9,
39930x00004494,0x000200f8,0x0000448f,0x00050082,
39940x00000006,0x00004492,0x0000430b,0x0000014a,
39950x000200f9,0x00004494,0x000200f8,0x00004494,
39960x000700f5,0x00000006,0x000061ba,0x00004492,
39970x0000448f,0x00000140,0x00004493,0x00050084,
39980x00000006,0x00004446,0x000000f3,0x000061ba,
39990x00050080,0x00000006,0x00004447,0x0000444d,
40000x00004446,0x000300f7,0x000044a1,0x00000000,
40010x000400fa,0x00004481,0x0000449c,0x000044a0,
40020x000200f8,0x000044a0,0x000200f9,0x000044a1,
40030x000200f8,0x0000449c,0x00050082,0x00000006,
40040x0000449f,0x0000430b,0x0000014a,0x000200f9,
40050x000044a1,0x000200f8,0x000044a1,0x000700f5,
40060x00000006,0x000061bb,0x0000449f,0x0000449c,
40070x00000140,0x000044a0,0x00050084,0x00000006,
40080x00004440,0x000000f3,0x000061bb,0x00050080,
40090x00000006,0x00004441,0x00004447,0x00004440,
40100x00050084,0x00000006,0x0000431f,0x000000f3,
40110x000013a7,0x00050080,0x00000006,0x00004320,
40120x00004441,0x0000431f,0x00050041,0x0000026e,
40130x00004321,0x000001c1,0x0000026c,0x0004003d,
40140x00000007,0x00004322,0x00004321,0x00050051,
40150x00000006,0x000044b9,0x00004322,0x00000000,
40160x00050095,0x00000145,0x000044bb,0x000044b9,
40170x00004320,0x00050051,0x00000006,0x000044bc,
40180x000044bb,0x00000001,0x00050051,0x00000006,
40190x000044bd,0x000044bb,0x00000000,0x00050051,
40200x00000006,0x000044c0,0x00004322,0x00000001,
40210x00050080,0x00000006,0x000044c2,0x000044c0,
40220x000044bc,0x00050050,0x00000007,0x000044c3,
40230x000044bd,0x000044c2,0x0004007c,0x00000014,
40240x000044b3,0x000044c3,0x00060041,0x00000174,
40250x000044aa,0x000044b3,0x00000173,0x00000173,
40260x0006003d,0x00000006,0x000044ab,0x000044aa,
40270x00000002,0x00000004,0x000500aa,0x0000002f,
40280x00004324,0x000044ab,0x00000140,0x000300f7,
40290x00004326,0x00000000,0x000400fa,0x00004324,
40300x00004325,0x00004326,0x000200f8,0x00004325,
40310x000200f9,0x000043f7,0x000200f8,0x00004326,
40320x000300f7,0x00004515,0x00000000,0x000400fa,
40330x00004481,0x00004510,0x00004514,0x000200f8,
40340x00004514,0x000200f9,0x00004515,0x000200f8,
40350x00004510,0x00050082,0x00000006,0x00004513,
40360x0000430b,0x0000014a,0x000200f9,0x00004515,
40370x000200f8,0x00004515,0x000700f5,0x00000006,
40380x000061bc,0x00004513,0x00004510,0x00000140,
40390x00004514,0x00050084,0x00000006,0x000044da,
40400x000000f3,0x000061bc,0x00050080,0x00000006,
40410x000044db,0x00004454,0x000044da,0x000300f7,
40420x00004522,0x00000000,0x000400fa,0x00004481,
40430x0000451d,0x00004521,0x000200f8,0x00004521,
40440x000200f9,0x00004522,0x000200f8,0x0000451d,
40450x00050082,0x00000006,0x00004520,0x0000430b,
40460x0000014a,0x000200f9,0x00004522,0x000200f8,
40470x00004522,0x000700f5,0x00000006,0x000061bd,
40480x00004520,0x0000451d,0x00000140,0x00004521,
40490x00050084,0x00000006,0x000044d4,0x000000f3,
40500x000061bd,0x00050080,0x00000006,0x000044d5,
40510x000044db,0x000044d4,0x000300f7,0x0000452f,
40520x00000000,0x000400fa,0x00004481,0x0000452a,
40530x0000452e,0x000200f8,0x0000452e,0x000200f9,
40540x0000452f,0x000200f8,0x0000452a,0x00050082,
40550x00000006,0x0000452d,0x0000430b,0x0000014a,
40560x000200f9,0x0000452f,0x000200f8,0x0000452f,
40570x000700f5,0x00000006,0x000061be,0x0000452d,
40580x0000452a,0x00000140,0x0000452e,0x00050084,
40590x00000006,0x000044ce,0x000000f3,0x000061be,
40600x00050080,0x00000006,0x000044cf,0x000044d5,
40610x000044ce,0x000300f7,0x0000453c,0x00000000,
40620x000400fa,0x00004481,0x00004537,0x0000453b,
40630x000200f8,0x0000453b,0x000200f9,0x0000453c,
40640x000200f8,0x00004537,0x00050082,0x00000006,
40650x0000453a,0x0000430b,0x0000014a,0x000200f9,
40660x0000453c,0x000200f8,0x0000453c,0x000700f5,
40670x00000006,0x000061bf,0x0000453a,0x00004537,
40680x00000140,0x0000453b,0x00050084,0x00000006,
40690x000044c8,0x000000f3,0x000061bf,0x00050080,
40700x00000006,0x000044c9,0x000044cf,0x000044c8,
40710x00050080,0x00000006,0x0000432a,0x000044c9,
40720x0000431f,0x00050095,0x00000145,0x00004556,
40730x000044b9,0x0000432a,0x00050051,0x00000006,
40740x00004557,0x00004556,0x00000001,0x00050051,
40750x00000006,0x00004558,0x00004556,0x00000000,
40760x00050080,0x00000006,0x0000455d,0x000044c0,
40770x00004557,0x00050050,0x00000007,0x0000455e,
40780x00004558,0x0000455d,0x0004007c,0x00000014,
40790x0000454e,0x0000455e,0x00060041,0x00000174,
40800x00004545,0x0000454e,0x00000173,0x00000173,
40810x0006003d,0x00000006,0x00004546,0x00004545,
40820x00000002,0x00000004,0x000500ae,0x0000002f,
40830x00004331,0x00004546,0x00004452,0x000300f7,
40840x00004333,0x00000000,0x000400fa,0x00004331,
40850x00004332,0x00004333,0x000200f8,0x00004332,
40860x000200f9,0x000043f7,0x000200f8,0x00004333,
40870x00050080,0x00000006,0x00004337,0x00004454,
40880x0000431f,0x00050095,0x00000145,0x000045a5,
40890x000044b9,0x00004337,0x00050051,0x00000006,
40900x000045a6,0x000045a5,0x00000001,0x00050051,
40910x00000006,0x000045a7,0x000045a5,0x00000000,
40920x00050080,0x00000006,0x000045ac,0x000044c0,
40930x000045a6,0x00050050,0x00000007,0x000045ad,
40940x000045a7,0x000045ac,0x0004007c,0x00000014,
40950x0000459d,0x000045ad,0x00060041,0x00000174,
40960x00004594,0x0000459d,0x00000173,0x00000173,
40970x0006003d,0x00000006,0x00004595,0x00004594,
40980x00000002,0x00000004,0x000300f7,0x000045ed,
40990x00000000,0x000400fa,0x00004481,0x000045e8,
41000x000045ec,0x000200f8,0x000045ec,0x000200f9,
41010x000045ed,0x000200f8,0x000045e8,0x00050082,
41020x00000006,0x000045eb,0x0000430b,0x0000014a,
41030x000200f9,0x000045ed,0x000200f8,0x000045ed,
41040x000700f5,0x00000006,0x000061c0,0x000045eb,
41050x000045e8,0x00000140,0x000045ec,0x00050084,
41060x00000006,0x000045b2,0x000000f3,0x000061c0,
41070x00050080,0x00000006,0x000045b3,0x00004454,
41080x000045b2,0x00050080,0x00000006,0x0000433e,
41090x000045b3,0x0000431f,0x00050095,0x00000145,
41100x00004607,0x000044b9,0x0000433e,0x00050051,
41110x00000006,0x00004608,0x00004607,0x00000001,
41120x00050051,0x00000006,0x00004609,0x00004607,
41130x00000000,0x00050080,0x00000006,0x0000460e,
41140x000044c0,0x00004608,0x00050050,0x00000007,
41150x0000460f,0x00004609,0x0000460e,0x0004007c,
41160x00000014,0x000045ff,0x0000460f,0x00060041,
41170x00000174,0x000045f6,0x000045ff,0x00000173,
41180x00000173,0x0006003d,0x00000006,0x000045f7,
41190x000045f6,0x00000002,0x00000004,0x00050050,
41200x00001072,0x00004342,0x00004595,0x000045f7,
41210x0003003e,0x000042dc,0x00004342,0x000200f9,
41220x00004343,0x000200f8,0x00004343,0x000700f5,
41230x00000006,0x000061c1,0x00000140,0x000045ed,
41240x0000437b,0x00004379,0x000700f5,0x00000006,
41250x000061ea,0x00000140,0x000045ed,0x000061e8,
41260x00004379,0x000500b0,0x0000002f,0x00004346,
41270x000061c1,0x00000288,0x000400f6,0x0000437c,
41280x00004379,0x00000000,0x000400fa,0x00004346,
41290x00004347,0x0000437c,0x000200f8,0x00004347,
41300x00050041,0x00000009,0x00004349,0x000042dc,
41310x000061c1,0x0004003d,0x00000006,0x0000434a,
41320x00004349,0x00050050,0x00001072,0x0000434c,
41330x0000434a,0x0000434a,0x0003003e,0x000042e3,
41340x0000434c,0x000500c7,0x00000006,0x0000434e,
41350x0000434a,0x00000249,0x000500aa,0x0000002f,
41360x0000434f,0x0000434e,0x00000140,0x000300f7,
41370x00004361,0x00000000,0x000400fa,0x0000434f,
41380x00004350,0x00004361,0x000200f8,0x00004350,
41390x00050084,0x00000006,0x00004353,0x000000f3,
41400x0000434a,0x00050080,0x00000006,0x00004354,
41410x00004454,0x00004353,0x00050095,0x00000145,
41420x00004656,0x000044b9,0x00004354,0x00050051,
41430x00000006,0x00004657,0x00004656,0x00000001,
41440x00050051,0x00000006,0x00004658,0x00004656,
41450x00000000,0x00050080,0x00000006,0x0000465d,
41460x000044c0,0x00004657,0x00050050,0x00000007,
41470x0000465e,0x00004658,0x0000465d,0x0004007c,
41480x00000014,0x0000464e,0x0000465e,0x00060041,
41490x00000174,0x00004645,0x0000464e,0x00000173,
41500x00000173,0x0006003d,0x00000006,0x00004646,
41510x00004645,0x00000002,0x00000004,0x00050041,
41520x00000009,0x00004358,0x000042e3,0x00000173,
41530x0003003e,0x00004358,0x00004646,0x000300f7,
41540x0000469e,0x00000000,0x000400fa,0x00004481,
41550x00004699,0x0000469d,0x000200f8,0x0000469d,
41560x000200f9,0x0000469e,0x000200f8,0x00004699,
41570x00050082,0x00000006,0x0000469c,0x0000430b,
41580x0000014a,0x000200f9,0x0000469e,0x000200f8,
41590x0000469e,0x000700f5,0x00000006,0x000061e1,
41600x0000469c,0x00004699,0x00000140,0x0000469d,
41610x00050084,0x00000006,0x00004663,0x000000f3,
41620x000061e1,0x00050080,0x00000006,0x00004664,
41630x00004454,0x00004663,0x00050080,0x00000006,
41640x0000435c,0x00004664,0x00004353,0x00050095,
41650x00000145,0x000046b8,0x000044b9,0x0000435c,
41660x00050051,0x00000006,0x000046b9,0x000046b8,
41670x00000001,0x00050051,0x00000006,0x000046ba,
41680x000046b8,0x00000000,0x00050080,0x00000006,
41690x000046bf,0x000044c0,0x000046b9,0x00050050,
41700x00000007,0x000046c0,0x000046ba,0x000046bf,
41710x0004007c,0x00000014,0x000046b0,0x000046c0,
41720x00060041,0x00000174,0x000046a7,0x000046b0,
41730x00000173,0x00000173,0x0006003d,0x00000006,
41740x000046a8,0x000046a7,0x00000002,0x00000004,
41750x00050041,0x00000009,0x00004360,0x000042e3,
41760x0000026c,0x0003003e,0x00004360,0x000046a8,
41770x000200f9,0x00004361,0x000200f8,0x00004361,
41780x000600a9,0x00000006,0x0000654c,0x0000434f,
41790x00000288,0x0000014a,0x000200f9,0x00004362,
41800x000200f8,0x00004362,0x000700f5,0x00000006,
41810x000061e8,0x000061ea,0x00004361,0x0000436f,
41820x00004375,0x000700f5,0x00000006,0x000061e2,
41830x00000140,0x00004361,0x00004377,0x00004375,
41840x000500b0,0x0000002f,0x00004366,0x000061e2,
41850x0000654c,0x000400f6,0x00004378,0x00004375,
41860x00000000,0x000400fa,0x00004366,0x00004367,
41870x00004378,0x000200f8,0x00004367,0x00050041,
41880x00000009,0x0000436a,0x000042e3,0x000061e2,
41890x0004003d,0x00000006,0x0000436b,0x0000436a,
41900x000500c7,0x00000006,0x000046c7,0x0000436b,
41910x00000249,0x000500ab,0x0000002f,0x000046c8,
41920x000046c7,0x00000140,0x000300f7,0x000046d3,
41930x00000000,0x000400fa,0x000046c8,0x000046c9,
41940x000046d2,0x000200f8,0x000046d2,0x000200f9,
41950x000046d3,0x000200f8,0x000046c9,0x00050084,
41960x00000006,0x000046d9,0x000000f3,0x0000446b,
41970x00050080,0x00000006,0x000046da,0x000001cc,
41980x000046d9,0x000500c7,0x00000006,0x000046cc,
41990x0000436b,0x0000025e,0x00050084,0x00000006,
42000x000046cd,0x000000f3,0x000046cc,0x00050080,
42010x00000006,0x000046ce,0x000046da,0x000046cd,
42020x00050095,0x00000145,0x000046f3,0x000044b9,
42030x000046ce,0x00050051,0x00000006,0x000046f4,
42040x000046f3,0x00000001,0x00050051,0x00000006,
42050x000046f5,0x000046f3,0x00000000,0x00050080,
42060x00000006,0x000046fa,0x000044c0,0x000046f4,
42070x00050050,0x00000007,0x000046fb,0x000046f5,
42080x000046fa,0x0004007c,0x00000014,0x000046eb,
42090x000046fb,0x00060041,0x00000174,0x000046e2,
42100x000046eb,0x00000173,0x00000173,0x0006003d,
42110x00000006,0x000046e3,0x000046e2,0x00000002,
42120x00000004,0x000200f9,0x000046d3,0x000200f8,
42130x000046d3,0x000700f5,0x00000006,0x000061ed,
42140x000046e3,0x000046c9,0x000003bf,0x000046d2,
42150x00050041,0x00000009,0x0000436d,0x000042d2,
42160x000061e8,0x0003003e,0x0000436d,0x000061ed,
42170x00050080,0x00000006,0x0000436f,0x000061e8,
42180x0000026c,0x0004003d,0x00000006,0x00004372,
42190x0000436a,0x000300f7,0x00004716,0x00000000,
42200x000300fb,0x00000140,0x00004705,0x000200f8,
42210x00004705,0x000500c7,0x00000006,0x00004707,
42220x00004372,0x00000249,0x000500ab,0x0000002f,
42230x00004708,0x00004707,0x00000140,0x000300f7,
42240x0000470d,0x00000000,0x000400fa,0x00004708,
42250x00004709,0x0000470d,0x000200f8,0x00004709,
42260x000300f7,0x0000472a,0x00000000,0x000400fa,
42270x00004708,0x00004720,0x00004729,0x000200f8,
42280x00004729,0x000200f9,0x0000472a,0x000200f8,
42290x00004720,0x00050084,0x00000006,0x00004730,
42300x000000f3,0x0000446b,0x00050080,0x00000006,
42310x00004731,0x000001cc,0x00004730,0x000500c7,
42320x00000006,0x00004723,0x00004372,0x0000025e,
42330x00050084,0x00000006,0x00004724,0x000000f3,
42340x00004723,0x00050080,0x00000006,0x00004725,
42350x00004731,0x00004724,0x00050095,0x00000145,
42360x0000474a,0x000044b9,0x00004725,0x00050051,
42370x00000006,0x0000474b,0x0000474a,0x00000001,
42380x00050051,0x00000006,0x0000474c,0x0000474a,
42390x00000000,0x00050080,0x00000006,0x00004751,
42400x000044c0,0x0000474b,0x00050050,0x00000007,
42410x00004752,0x0000474c,0x00004751,0x0004007c,
42420x00000014,0x00004742,0x00004752,0x00060041,
42430x00000174,0x00004739,0x00004742,0x00000173,
42440x00000173,0x0006003d,0x00000006,0x0000473a,
42450x00004739,0x00000002,0x00000004,0x000200f9,
42460x0000472a,0x000200f8,0x0000472a,0x000700f5,
42470x00000006,0x000061f4,0x0000473a,0x00004720,
42480x000003bf,0x00004729,0x00050041,0x000001c3,
42490x00004755,0x000001c1,0x00000352,0x0004003d,
42500x00000006,0x00004756,0x00004755,0x000500c7,
42510x00000006,0x00004768,0x000013a9,0x0000014a,
42520x000500ab,0x0000002f,0x00004769,0x00004768,
42530x00000140,0x000600a9,0x00000006,0x00004763,
42540x00004769,0x0000034a,0x000001cc,0x00050084,
42550x00000006,0x00004759,0x000061f4,0x00004763,
42560x00050080,0x00000006,0x0000475a,0x00004756,
42570x00004759,0x000500c2,0x00000006,0x0000475b,
42580x0000475a,0x00000359,0x000500c4,0x00000006,
42590x0000475c,0x0000475b,0x00000325,0x000600a9,
42600x00000006,0x0000475e,0x00004769,0x0000035d,
42610x00000140,0x000500c5,0x00000006,0x0000475f,
42620x0000475c,0x0000475e,0x000200f9,0x00004716,
42630x000200f8,0x0000470d,0x000300f7,0x000047c1,
42640x00000000,0x000400fa,0x00004481,0x000047bc,
42650x000047c0,0x000200f8,0x000047c0,0x000200f9,
42660x000047c1,0x000200f8,0x000047bc,0x00050082,
42670x00000006,0x000047bf,0x0000430b,0x0000014a,
42680x000200f9,0x000047c1,0x000200f8,0x000047c1,
42690x000700f5,0x00000006,0x000061f0,0x000047bf,
42700x000047bc,0x00000140,0x000047c0,0x00050084,
42710x00000006,0x00004786,0x000000f3,0x000061f0,
42720x00050080,0x00000006,0x00004787,0x00004454,
42730x00004786,0x000300f7,0x000047ce,0x00000000,
42740x000400fa,0x00004481,0x000047c9,0x000047cd,
42750x000200f8,0x000047cd,0x000200f9,0x000047ce,
42760x000200f8,0x000047c9,0x00050082,0x00000006,
42770x000047cc,0x0000430b,0x0000014a,0x000200f9,
42780x000047ce,0x000200f8,0x000047ce,0x000700f5,
42790x00000006,0x000061f1,0x000047cc,0x000047c9,
42800x00000140,0x000047cd,0x00050084,0x00000006,
42810x00004780,0x000000f3,0x000061f1,0x00050080,
42820x00000006,0x00004781,0x00004787,0x00004780,
42830x000300f7,0x000047db,0x00000000,0x000400fa,
42840x00004481,0x000047d6,0x000047da,0x000200f8,
42850x000047da,0x000200f9,0x000047db,0x000200f8,
42860x000047d6,0x00050082,0x00000006,0x000047d9,
42870x0000430b,0x0000014a,0x000200f9,0x000047db,
42880x000200f8,0x000047db,0x000700f5,0x00000006,
42890x000061f2,0x000047d9,0x000047d6,0x00000140,
42900x000047da,0x00050084,0x00000006,0x0000477a,
42910x000000f3,0x000061f2,0x00050080,0x00000006,
42920x0000477b,0x00004781,0x0000477a,0x000300f7,
42930x000047e8,0x00000000,0x000400fa,0x00004481,
42940x000047e3,0x000047e7,0x000200f8,0x000047e7,
42950x000200f9,0x000047e8,0x000200f8,0x000047e3,
42960x00050082,0x00000006,0x000047e6,0x0000430b,
42970x0000014a,0x000200f9,0x000047e8,0x000200f8,
42980x000047e8,0x000700f5,0x00000006,0x000061f3,
42990x000047e6,0x000047e3,0x00000140,0x000047e7,
43000x00050084,0x00000006,0x00004774,0x000000f3,
43010x000061f3,0x00050080,0x00000006,0x00004775,
43020x0000477b,0x00004774,0x00050084,0x00000006,
43030x00004710,0x000000f3,0x00004372,0x00050080,
43040x00000006,0x00004711,0x00004775,0x00004710,
43050x00050095,0x00000145,0x00004802,0x000044b9,
43060x00004711,0x00050051,0x00000006,0x00004803,
43070x00004802,0x00000001,0x00050051,0x00000006,
43080x00004804,0x00004802,0x00000000,0x00050080,
43090x00000006,0x00004809,0x000044c0,0x00004803,
43100x00050050,0x00000007,0x0000480a,0x00004804,
43110x00004809,0x0004007c,0x00000014,0x000047fa,
43120x0000480a,0x00060041,0x00000174,0x000047f1,
43130x000047fa,0x00000173,0x00000173,0x0006003d,
43140x00000006,0x000047f2,0x000047f1,0x00000002,
43150x00000004,0x00050041,0x000001c3,0x0000480d,
43160x000001c1,0x00000362,0x0004003d,0x00000006,
43170x0000480e,0x0000480d,0x000500c7,0x00000006,
43180x00004820,0x000013a9,0x00000288,0x000500ab,
43190x0000002f,0x00004821,0x00004820,0x00000140,
43200x000600a9,0x00000006,0x0000481b,0x00004821,
43210x000001cc,0x0000034a,0x00050084,0x00000006,
43220x00004811,0x000047f2,0x0000481b,0x00050080,
43230x00000006,0x00004812,0x0000480e,0x00004811,
43240x000500c2,0x00000006,0x00004813,0x00004812,
43250x00000359,0x000500c4,0x00000006,0x00004814,
43260x00004813,0x00000325,0x000600a9,0x00000006,
43270x00004816,0x00004821,0x000000f3,0x0000036c,
43280x000500c5,0x00000006,0x00004817,0x00004814,
43290x00004816,0x000200f9,0x00004716,0x000200f8,
43300x00004716,0x000700f5,0x00000006,0x000061f5,
43310x0000475f,0x0000472a,0x00004817,0x000047e8,
43320x00050041,0x00000009,0x00004374,0x000042d1,
43330x000061e8,0x0003003e,0x00004374,0x000061f5,
43340x000200f9,0x00004375,0x000200f8,0x00004375,
43350x00050080,0x00000006,0x00004377,0x000061e2,
43360x0000026c,0x000200f9,0x00004362,0x000200f8,
43370x00004378,0x000200f9,0x00004379,0x000200f8,
43380x00004379,0x00050080,0x00000006,0x0000437b,
43390x000061c1,0x0000026c,0x000200f9,0x00004343,
43400x000200f8,0x0000437c,0x000500c7,0x00000006,
43410x0000482c,0x000013a9,0x0000014a,0x000500aa,
43420x0000002f,0x0000437e,0x0000482c,0x00000140,
43430x000300f7,0x00004384,0x00000000,0x000400fa,
43440x0000437e,0x0000437f,0x00004384,0x000200f8,
43450x0000437f,0x000500c7,0x00000006,0x00004382,
43460x000013a9,0x000000f3,0x000500ab,0x0000002f,
43470x00004383,0x00004382,0x00000140,0x000200f9,
43480x00004384,0x000200f8,0x00004384,0x000700f5,
43490x0000002f,0x00004385,0x0000437e,0x0000437c,
43500x00004383,0x0000437f,0x000300f7,0x0000438b,
43510x00000000,0x000400fa,0x00004385,0x00004386,
43520x0000438b,0x000200f8,0x00004386,0x0004003d,
43530x000000f4,0x00004387,0x000042d2,0x0003003e,
43540x000042ec,0x00004387,0x0004003d,0x000000f4,
43550x00004388,0x000042d1,0x0003003e,0x000042ed,
43560x00004388,0x000200f9,0x00004863,0x000200f8,
43570x00004863,0x000700f5,0x00000006,0x000061c2,
43580x00000140,0x00004386,0x000048a9,0x000048a7,
43590x000500b0,0x0000002f,0x00004866,0x000061c2,
43600x000000f3,0x000400f6,0x000048aa,0x000048a7,
43610x00000000,0x000400fa,0x00004866,0x00004867,
43620x000048aa,0x000200f8,0x00004867,0x00050041,
43630x0000009d,0x00004869,0x0000482f,0x000061c2,
43640x0003003e,0x00004869,0x0000037d,0x00050041,
43650x0000009d,0x0000486b,0x00004830,0x000061c2,
43660x0003003e,0x0000486b,0x0000037d,0x00050041,
43670x00000009,0x0000486d,0x00004831,0x000061c2,
43680x0003003e,0x0000486d,0x00000140,0x000200f9,
43690x0000486e,0x000200f8,0x0000486e,0x000700f5,
43700x00000006,0x000061da,0x00000140,0x00004867,
43710x00004878,0x00004872,0x000500b0,0x0000002f,
43720x00004871,0x000061da,0x000004d7,0x000400f6,
43730x00004879,0x00004872,0x00000000,0x000400fa,
43740x00004871,0x00004872,0x00004879,0x000200f8,
43750x00004872,0x00060041,0x000000ec,0x00004875,
43760x00004833,0x000061c2,0x000061da,0x0003003e,
43770x00004875,0x00000c74,0x00050080,0x00000006,
43780x00004878,0x000061da,0x0000026c,0x000200f9,
43790x0000486e,0x000200f8,0x00004879,0x00050041,
43800x00000009,0x0000487b,0x000042ec,0x000061c2,
43810x0004003d,0x00000006,0x0000487c,0x0000487b,
43820x000500aa,0x0000002f,0x0000487d,0x0000487c,
43830x000003bf,0x000300f7,0x0000487f,0x00000000,
43840x000400fa,0x0000487d,0x0000487e,0x0000487f,
43850x000200f8,0x0000487e,0x000200f9,0x000048a7,
43860x000200f8,0x0000487f,0x0004003d,0x00000006,
43870x00004883,0x0000487b,0x00050041,0x000001c3,
43880x00004983,0x000001c1,0x00000352,0x0004003d,
43890x00000006,0x00004984,0x00004983,0x00050084,
43900x00000006,0x00004986,0x000001cc,0x00004883,
43910x00050080,0x00000006,0x00004987,0x00004984,
43920x00004986,0x00050080,0x00000006,0x00004885,
43930x00004987,0x00000588,0x00050041,0x0000026e,
43940x00004886,0x000001c1,0x00000173,0x0004003d,
43950x00000007,0x00004887,0x00004886,0x00050051,
43960x00000006,0x0000499e,0x00004887,0x00000000,
43970x00050095,0x00000145,0x000049a0,0x0000499e,
43980x00004885,0x00050051,0x00000006,0x000049a1,
43990x000049a0,0x00000001,0x00050051,0x00000006,
44000x000049a2,0x000049a0,0x00000000,0x00050051,
44010x00000006,0x000049a5,0x00004887,0x00000001,
44020x00050080,0x00000006,0x000049a7,0x000049a5,
44030x000049a1,0x00050050,0x00000007,0x000049a8,
44040x000049a2,0x000049a7,0x0004007c,0x00000014,
44050x00004998,0x000049a8,0x00060041,0x00000174,
44060x0000498f,0x00004998,0x00000173,0x00000173,
44070x0006003d,0x00000006,0x00004990,0x0000498f,
44080x00000002,0x00000004,0x0003003e,0x0000486d,
44090x00004990,0x000200f9,0x0000488a,0x000200f8,
44100x0000488a,0x000700f5,0x00000006,0x000061dc,
44110x00000140,0x0000487f,0x00004899,0x0000488e,
44120x000500b0,0x0000002f,0x0000488d,0x000061dc,
44130x000004d7,0x000400f6,0x0000489a,0x0000488e,
44140x00000000,0x000400fa,0x0000488d,0x0000488e,
44150x0000489a,0x000200f8,0x0000488e,0x0004003d,
44160x00000006,0x00004893,0x0000487b,0x00050084,
44170x00000006,0x000049cc,0x000001cc,0x00004893,
44180x00050080,0x00000006,0x000049cd,0x00004984,
44190x000049cc,0x00050084,0x00000006,0x000049b6,
44200x000001dc,0x000061dc,0x00050080,0x00000006,
44210x000049b7,0x000049cd,0x000049b6,0x00050095,
44220x00000145,0x000049e6,0x0000499e,0x000049b7,
44230x00050051,0x00000006,0x000049e7,0x000049e6,
44240x00000001,0x00050051,0x00000006,0x000049e8,
44250x000049e6,0x00000000,0x00050080,0x00000006,
44260x000049ed,0x000049a5,0x000049e7,0x00050050,
44270x00000007,0x000049ee,0x000049e8,0x000049ed,
44280x0004007c,0x00000014,0x000049de,0x000049ee,
44290x00060041,0x00000174,0x000049d5,0x000049de,
44300x00000173,0x00000173,0x0006003d,0x00000006,
44310x000049d6,0x000049d5,0x00000002,0x00000004,
44320x00050080,0x00000006,0x000049bd,0x000049b7,
44330x000000f3,0x00050095,0x00000145,0x00004a07,
44340x0000499e,0x000049bd,0x00050051,0x00000006,
44350x00004a08,0x00004a07,0x00000001,0x00050051,
44360x00000006,0x00004a09,0x00004a07,0x00000000,
44370x00050080,0x00000006,0x00004a0e,0x000049a5,
44380x00004a08,0x00050050,0x00000007,0x00004a0f,
44390x00004a09,0x00004a0e,0x0004007c,0x00000014,
44400x000049ff,0x00004a0f,0x00060041,0x00000174,
44410x000049f6,0x000049ff,0x00000173,0x00000173,
44420x0006003d,0x00000006,0x000049f7,0x000049f6,
40600x00000002,0x00000004,0x00050080,0x00000006, 44430x00000002,0x00000004,0x00050080,0x00000006,
40610x000046e4,0x000046d9,0x000001cd,0x00050095, 44440x000049c2,0x000049b7,0x000001d5,0x00050095,
40620x0000013d,0x0000474a,0x000046c0,0x000046e4, 44450x00000145,0x00004a28,0x0000499e,0x000049c2,
40630x00050051,0x00000006,0x0000474b,0x0000474a, 44460x00050051,0x00000006,0x00004a29,0x00004a28,
40640x00000001,0x00050051,0x00000006,0x0000474c, 44470x00000001,0x00050051,0x00000006,0x00004a2a,
40650x0000474a,0x00000000,0x00050080,0x00000006, 44480x00004a28,0x00000000,0x00050080,0x00000006,
40660x00004751,0x000046c7,0x0000474b,0x00050050, 44490x00004a2f,0x000049a5,0x00004a29,0x00050050,
40670x00000007,0x00004752,0x0000474c,0x00004751, 44500x00000007,0x00004a30,0x00004a2a,0x00004a2f,
40680x0004007c,0x00000014,0x00004742,0x00004752, 44510x0004007c,0x00000014,0x00004a20,0x00004a30,
40690x00060041,0x0000016c,0x00004739,0x00004742, 44520x00060041,0x00000174,0x00004a17,0x00004a20,
40700x0000016b,0x0000016b,0x0006003d,0x00000006, 44530x00000173,0x00000173,0x0006003d,0x00000006,
40710x0000473a,0x00004739,0x00000002,0x00000004, 44540x00004a18,0x00004a17,0x00000002,0x00000004,
40720x00060050,0x000000df,0x000046e8,0x000046f8, 44550x00060050,0x000000e6,0x000049c6,0x000049d6,
40730x00004719,0x0000473a,0x00060041,0x000000e5, 44560x000049f7,0x00004a18,0x00060041,0x000000ec,
40740x000045b8,0x00004555,0x00005d9c,0x00005db6, 44570x00004896,0x00004833,0x000061c2,0x000061dc,
40750x0003003e,0x000045b8,0x000046e8,0x00050080, 44580x0003003e,0x00004896,0x000049c6,0x00050080,
40760x00000006,0x000045bb,0x00005db6,0x00000264, 44590x00000006,0x00004899,0x000061dc,0x0000026c,
40770x000200f9,0x000045ac,0x000200f8,0x000045bc, 44600x000200f9,0x0000488a,0x000200f8,0x0000489a,
40780x0004003d,0x00000006,0x000045bf,0x0000459d, 44610x0004003d,0x00000006,0x0000489d,0x0000487b,
40790x00050084,0x00000006,0x00004763,0x000001ef, 44620x00050084,0x00000006,0x00004a41,0x000001f7,
40800x000045bf,0x00050080,0x00000006,0x00004764, 44630x0000489d,0x00050080,0x00000006,0x00004a42,
40810x00004183,0x00004763,0x00050095,0x0000013d, 44640x00004461,0x00004a41,0x00050095,0x00000145,
40820x000047c2,0x000041db,0x00004764,0x00050051, 44650x00004aa0,0x000044b9,0x00004a42,0x00050051,
40830x00000006,0x000047c3,0x000047c2,0x00000001, 44660x00000006,0x00004aa1,0x00004aa0,0x00000001,
40840x00050051,0x00000006,0x000047c4,0x000047c2, 44670x00050051,0x00000006,0x00004aa2,0x00004aa0,
40850x00000000,0x00050080,0x00000006,0x000047c9, 44680x00000000,0x00050080,0x00000006,0x00004aa7,
40860x000041e2,0x000047c3,0x00050050,0x00000007, 44690x000044c0,0x00004aa1,0x00050050,0x00000007,
40870x000047ca,0x000047c4,0x000047c9,0x0004007c, 44700x00004aa8,0x00004aa2,0x00004aa7,0x0004007c,
40880x00000014,0x000047ba,0x000047ca,0x00060041, 44710x00000014,0x00004a98,0x00004aa8,0x00060041,
40890x0000016c,0x000047b1,0x000047ba,0x0000016b, 44720x00000174,0x00004a8f,0x00004a98,0x00000173,
40900x0000016b,0x0006003d,0x00000006,0x000047b2, 44730x00000173,0x0006003d,0x00000006,0x00004a90,
40910x000047b1,0x00000002,0x00000004,0x0004007c, 44740x00004a8f,0x00000002,0x00000004,0x0004007c,
40920x00000027,0x00004769,0x000047b2,0x00050080, 44750x00000027,0x00004a47,0x00004a90,0x00050080,
40930x00000006,0x0000476b,0x00004764,0x000000ec, 44760x00000006,0x00004a49,0x00004a42,0x000000f3,
40940x00050095,0x0000013d,0x000047e3,0x000041db, 44770x00050095,0x00000145,0x00004ac1,0x000044b9,
40950x0000476b,0x00050051,0x00000006,0x000047e4, 44780x00004a49,0x00050051,0x00000006,0x00004ac2,
40960x000047e3,0x00000001,0x00050051,0x00000006, 44790x00004ac1,0x00000001,0x00050051,0x00000006,
40970x000047e5,0x000047e3,0x00000000,0x00050080, 44800x00004ac3,0x00004ac1,0x00000000,0x00050080,
40980x00000006,0x000047ea,0x000041e2,0x000047e4, 44810x00000006,0x00004ac8,0x000044c0,0x00004ac2,
40990x00050050,0x00000007,0x000047eb,0x000047e5, 44820x00050050,0x00000007,0x00004ac9,0x00004ac3,
41000x000047ea,0x0004007c,0x00000014,0x000047db, 44830x00004ac8,0x0004007c,0x00000014,0x00004ab9,
41010x000047eb,0x00060041,0x0000016c,0x000047d2, 44840x00004ac9,0x00060041,0x00000174,0x00004ab0,
41020x000047db,0x0000016b,0x0000016b,0x0006003d, 44850x00004ab9,0x00000173,0x00000173,0x0006003d,
41030x00000006,0x000047d3,0x000047d2,0x00000002, 44860x00000006,0x00004ab1,0x00004ab0,0x00000002,
41040x00000004,0x0004007c,0x00000027,0x0000476f, 44870x00000004,0x0004007c,0x00000027,0x00004a4d,
41050x000047d3,0x00050080,0x00000006,0x00004771, 44880x00004ab1,0x00050080,0x00000006,0x00004a4f,
41060x00004764,0x000001cd,0x00050095,0x0000013d, 44890x00004a42,0x000001d5,0x00050095,0x00000145,
41070x00004804,0x000041db,0x00004771,0x00050051, 44900x00004ae2,0x000044b9,0x00004a4f,0x00050051,
41080x00000006,0x00004805,0x00004804,0x00000001, 44910x00000006,0x00004ae3,0x00004ae2,0x00000001,
41090x00050051,0x00000006,0x00004806,0x00004804, 44920x00050051,0x00000006,0x00004ae4,0x00004ae2,
41100x00000000,0x00050080,0x00000006,0x0000480b, 44930x00000000,0x00050080,0x00000006,0x00004ae9,
41110x000041e2,0x00004805,0x00050050,0x00000007, 44940x000044c0,0x00004ae3,0x00050050,0x00000007,
41120x0000480c,0x00004806,0x0000480b,0x0004007c, 44950x00004aea,0x00004ae4,0x00004ae9,0x0004007c,
41130x00000014,0x000047fc,0x0000480c,0x00060041, 44960x00000014,0x00004ada,0x00004aea,0x00060041,
41140x0000016c,0x000047f3,0x000047fc,0x0000016b, 44970x00000174,0x00004ad1,0x00004ada,0x00000173,
41150x0000016b,0x0006003d,0x00000006,0x000047f4, 44980x00000173,0x0006003d,0x00000006,0x00004ad2,
41160x000047f3,0x00000002,0x00000004,0x0004007c, 44990x00004ad1,0x00000002,0x00000004,0x0004007c,
41170x00000027,0x00004775,0x000047f4,0x00050080, 45000x00000027,0x00004a53,0x00004ad2,0x00050080,
41180x00000006,0x00004778,0x00004764,0x000001d4, 45010x00000006,0x00004a56,0x00004a42,0x000001dc,
41190x00050095,0x0000013d,0x00004825,0x000041db, 45020x00050095,0x00000145,0x00004b03,0x000044b9,
41200x00004778,0x00050051,0x00000006,0x00004826, 45030x00004a56,0x00050051,0x00000006,0x00004b04,
41210x00004825,0x00000001,0x00050051,0x00000006, 45040x00004b03,0x00000001,0x00050051,0x00000006,
41220x00004827,0x00004825,0x00000000,0x00050080, 45050x00004b05,0x00004b03,0x00000000,0x00050080,
41230x00000006,0x0000482c,0x000041e2,0x00004826, 45060x00000006,0x00004b0a,0x000044c0,0x00004b04,
41240x00050050,0x00000007,0x0000482d,0x00004827, 45070x00050050,0x00000007,0x00004b0b,0x00004b05,
41250x0000482c,0x0004007c,0x00000014,0x0000481d, 45080x00004b0a,0x0004007c,0x00000014,0x00004afb,
41260x0000482d,0x00060041,0x0000016c,0x00004814, 45090x00004b0b,0x00060041,0x00000174,0x00004af2,
41270x0000481d,0x0000016b,0x0000016b,0x0006003d, 45100x00004afb,0x00000173,0x00000173,0x0006003d,
41280x00000006,0x00004815,0x00004814,0x00000002, 45110x00000006,0x00004af3,0x00004af2,0x00000002,
41290x00000004,0x0004007c,0x00000027,0x0000477c, 45120x00000004,0x0004007c,0x00000027,0x00004a5a,
41300x00004815,0x00050080,0x00000006,0x0000477e, 45130x00004af3,0x00050080,0x00000006,0x00004a5c,
41310x00004764,0x000001db,0x00050095,0x0000013d, 45140x00004a42,0x000001e3,0x00050095,0x00000145,
41320x00004846,0x000041db,0x0000477e,0x00050051, 45150x00004b24,0x000044b9,0x00004a5c,0x00050051,
41330x00000006,0x00004847,0x00004846,0x00000001, 45160x00000006,0x00004b25,0x00004b24,0x00000001,
41340x00050051,0x00000006,0x00004848,0x00004846, 45170x00050051,0x00000006,0x00004b26,0x00004b24,
41350x00000000,0x00050080,0x00000006,0x0000484d, 45180x00000000,0x00050080,0x00000006,0x00004b2b,
41360x000041e2,0x00004847,0x00050050,0x00000007, 45190x000044c0,0x00004b25,0x00050050,0x00000007,
41370x0000484e,0x00004848,0x0000484d,0x0004007c, 45200x00004b2c,0x00004b26,0x00004b2b,0x0004007c,
41380x00000014,0x0000483e,0x0000484e,0x00060041, 45210x00000014,0x00004b1c,0x00004b2c,0x00060041,
41390x0000016c,0x00004835,0x0000483e,0x0000016b, 45220x00000174,0x00004b13,0x00004b1c,0x00000173,
41400x0000016b,0x0006003d,0x00000006,0x00004836, 45230x00000173,0x0006003d,0x00000006,0x00004b14,
41410x00004835,0x00000002,0x00000004,0x0004007c, 45240x00004b13,0x00000002,0x00000004,0x0004007c,
41420x00000027,0x00004782,0x00004836,0x00050080, 45250x00000027,0x00004a60,0x00004b14,0x00050080,
41430x00000006,0x00004784,0x00004764,0x00000299, 45260x00000006,0x00004a62,0x00004a42,0x000002a1,
41440x00050095,0x0000013d,0x00004867,0x000041db, 45270x00050095,0x00000145,0x00004b45,0x000044b9,
41450x00004784,0x00050051,0x00000006,0x00004868, 45280x00004a62,0x00050051,0x00000006,0x00004b46,
41460x00004867,0x00000001,0x00050051,0x00000006, 45290x00004b45,0x00000001,0x00050051,0x00000006,
41470x00004869,0x00004867,0x00000000,0x00050080, 45300x00004b47,0x00004b45,0x00000000,0x00050080,
41480x00000006,0x0000486e,0x000041e2,0x00004868, 45310x00000006,0x00004b4c,0x000044c0,0x00004b46,
41490x00050050,0x00000007,0x0000486f,0x00004869, 45320x00050050,0x00000007,0x00004b4d,0x00004b47,
41500x0000486e,0x0004007c,0x00000014,0x0000485f, 45330x00004b4c,0x0004007c,0x00000014,0x00004b3d,
41510x0000486f,0x00060041,0x0000016c,0x00004856, 45340x00004b4d,0x00060041,0x00000174,0x00004b34,
41520x0000485f,0x0000016b,0x0000016b,0x0006003d, 45350x00004b3d,0x00000173,0x00000173,0x0006003d,
41530x00000006,0x00004857,0x00004856,0x00000002, 45360x00000006,0x00004b35,0x00004b34,0x00000002,
41540x00000004,0x0004007c,0x00000027,0x00004788, 45370x00000004,0x0004007c,0x00000027,0x00004a66,
41550x00004857,0x000500bc,0x0000002f,0x00004876, 45380x00004b35,0x000500bc,0x0000002f,0x00004b54,
41560x00004769,0x0000477c,0x000300f7,0x0000487d, 45390x00004a47,0x00004a5a,0x000300f7,0x00004b5b,
41570x00000000,0x000400fa,0x00004876,0x00004877, 45400x00000000,0x000400fa,0x00004b54,0x00004b55,
41580x0000487d,0x000200f8,0x00004877,0x000500bc, 45410x00004b5b,0x000200f8,0x00004b55,0x000500bc,
41590x0000002f,0x0000487c,0x0000476f,0x00004782, 45420x0000002f,0x00004b5a,0x00004a4d,0x00004a60,
41600x000200f9,0x0000487d,0x000200f8,0x0000487d, 45430x000200f9,0x00004b5b,0x000200f8,0x00004b5b,
41610x000700f5,0x0000002f,0x0000487e,0x00004876, 45440x000700f5,0x0000002f,0x00004b5c,0x00004b54,
41620x000045bc,0x0000487c,0x00004877,0x000300f7, 45450x0000489a,0x00004b5a,0x00004b55,0x000300f7,
41630x00004885,0x00000000,0x000400fa,0x0000487e, 45460x00004b63,0x00000000,0x000400fa,0x00004b5c,
41640x0000487f,0x00004885,0x000200f8,0x0000487f, 45470x00004b5d,0x00004b63,0x000200f8,0x00004b5d,
41650x000500bc,0x0000002f,0x00004884,0x00004775, 45480x000500bc,0x0000002f,0x00004b62,0x00004a53,
41660x00004788,0x000200f9,0x00004885,0x000200f8, 45490x00004a66,0x000200f9,0x00004b63,0x000200f8,
41670x00004885,0x000700f5,0x0000002f,0x00004886, 45500x00004b63,0x000700f5,0x0000002f,0x00004b64,
41680x0000487e,0x0000487d,0x00004884,0x0000487f, 45510x00004b5c,0x00004b5b,0x00004b62,0x00004b5d,
41690x0003003e,0x0000458b,0x00004886,0x000200f9, 45520x0003003e,0x00004869,0x00004b64,0x000200f9,
41700x000045c9,0x000200f8,0x000045c9,0x00050080, 45530x000048a7,0x000200f8,0x000048a7,0x00050080,
41710x00000006,0x000045cb,0x00005d9c,0x00000264, 45540x00000006,0x000048a9,0x000061c2,0x0000026c,
41720x000200f9,0x00004585,0x000200f8,0x000045cc, 45550x000200f9,0x00004863,0x000200f8,0x000048aa,
41730x000200f9,0x000045cd,0x000200f8,0x000045cd, 45560x000200f9,0x000048ab,0x000200f8,0x000048ab,
41740x000700f5,0x00000006,0x00005d9d,0x00000138, 45570x000700f5,0x00000006,0x000061c3,0x00000140,
41750x000045cc,0x000046a1,0x0000469f,0x000500b0, 45580x000048aa,0x0000497f,0x0000497d,0x000500b0,
41760x0000002f,0x000045d0,0x00005d9d,0x000000ec, 45590x0000002f,0x000048ae,0x000061c3,0x000000f3,
41770x000400f6,0x000046a2,0x0000469f,0x00000000, 45600x000400f6,0x00004980,0x0000497d,0x00000000,
41780x000400fa,0x000045d0,0x000045d1,0x000046a2, 45610x000400fa,0x000048ae,0x000048af,0x00004980,
41790x000200f8,0x000045d1,0x00050041,0x00000096, 45620x000200f8,0x000048af,0x00050041,0x0000009d,
41800x000045d3,0x00004552,0x00005d9d,0x0004003d, 45630x000048b1,0x00004830,0x000061c3,0x0004003d,
41810x0000002f,0x000045d4,0x000045d3,0x000400a8, 45640x0000002f,0x000048b2,0x000048b1,0x000400a8,
41820x0000002f,0x000045d5,0x000045d4,0x000300f7, 45650x0000002f,0x000048b3,0x000048b2,0x000300f7,
41830x000045db,0x00000000,0x000400fa,0x000045d5, 45660x000048b9,0x00000000,0x000400fa,0x000048b3,
41840x000045d6,0x000045db,0x000200f8,0x000045d6, 45670x000048b4,0x000048b9,0x000200f8,0x000048b4,
41850x00050041,0x00000096,0x000045d8,0x00004551, 45680x00050041,0x0000009d,0x000048b6,0x0000482f,
41860x00005d9d,0x0004003d,0x0000002f,0x000045d9, 45690x000061c3,0x0004003d,0x0000002f,0x000048b7,
41870x000045d8,0x000400a8,0x0000002f,0x000045da, 45700x000048b6,0x000400a8,0x0000002f,0x000048b8,
41880x000045d9,0x000200f9,0x000045db,0x000200f8, 45710x000048b7,0x000200f9,0x000048b9,0x000200f8,
41890x000045db,0x000700f5,0x0000002f,0x000045dc, 45720x000048b9,0x000700f5,0x0000002f,0x000048ba,
41900x000045d4,0x000045d1,0x000045da,0x000045d6, 45730x000048b2,0x000048af,0x000048b8,0x000048b4,
41910x000300f7,0x000045de,0x00000000,0x000400fa, 45740x000300f7,0x000048bc,0x00000000,0x000400fa,
41920x000045dc,0x000045dd,0x000045de,0x000200f8, 45750x000048ba,0x000048bb,0x000048bc,0x000200f8,
41930x000045dd,0x000200f9,0x0000469f,0x000200f8, 45760x000048bb,0x000200f9,0x0000497d,0x000200f8,
41940x000045de,0x0003003e,0x000045d3,0x000003e7, 45770x000048bc,0x0003003e,0x000048b1,0x00000444,
41950x00050080,0x00000006,0x000045e2,0x00005d9d, 45780x00050080,0x00000006,0x000048c0,0x000061c3,
41960x00000142,0x000200f9,0x000045e3,0x000200f8, 45790x0000014a,0x000200f9,0x000048c1,0x000200f8,
41970x000045e3,0x000700f5,0x00000006,0x00005d9f, 45800x000048c1,0x000700f5,0x00000006,0x000061c5,
41980x000045e2,0x000045de,0x0000469d,0x0000469b, 45810x000048c0,0x000048bc,0x0000497b,0x00004979,
41990x000500b0,0x0000002f,0x000045e6,0x00005d9f, 45820x000500b0,0x0000002f,0x000048c4,0x000061c5,
42000x000000ec,0x000400f6,0x0000469e,0x0000469b, 45830x000000f3,0x000400f6,0x0000497c,0x00004979,
42010x00000000,0x000400fa,0x000045e6,0x000045e7, 45840x00000000,0x000400fa,0x000048c4,0x000048c5,
42020x0000469e,0x000200f8,0x000045e7,0x00050041, 45850x0000497c,0x000200f8,0x000048c5,0x00050041,
42030x00000096,0x000045e9,0x00004552,0x00005d9f, 45860x0000009d,0x000048c7,0x00004830,0x000061c5,
42040x0004003d,0x0000002f,0x000045ea,0x000045e9, 45870x0004003d,0x0000002f,0x000048c8,0x000048c7,
42050x000400a8,0x0000002f,0x000045eb,0x000045ea, 45880x000400a8,0x0000002f,0x000048c9,0x000048c8,
42060x000300f7,0x000045f1,0x00000000,0x000400fa, 45890x000300f7,0x000048cf,0x00000000,0x000400fa,
42070x000045eb,0x000045ec,0x000045f1,0x000200f8, 45900x000048c9,0x000048ca,0x000048cf,0x000200f8,
42080x000045ec,0x00050041,0x00000096,0x000045ee, 45910x000048ca,0x00050041,0x0000009d,0x000048cc,
42090x00004551,0x00005d9f,0x0004003d,0x0000002f, 45920x0000482f,0x000061c5,0x0004003d,0x0000002f,
42100x000045ef,0x000045ee,0x000400a8,0x0000002f, 45930x000048cd,0x000048cc,0x000400a8,0x0000002f,
42110x000045f0,0x000045ef,0x000200f9,0x000045f1, 45940x000048ce,0x000048cd,0x000200f9,0x000048cf,
42120x000200f8,0x000045f1,0x000700f5,0x0000002f, 45950x000200f8,0x000048cf,0x000700f5,0x0000002f,
42130x000045f2,0x000045ea,0x000045e7,0x000045f0, 45960x000048d0,0x000048c8,0x000048c5,0x000048ce,
42140x000045ec,0x000400a8,0x0000002f,0x000045f3, 45970x000048ca,0x000400a8,0x0000002f,0x000048d1,
42150x000045f2,0x000300f7,0x000045fc,0x00000000, 45980x000048d0,0x000300f7,0x000048da,0x00000000,
42160x000400fa,0x000045f3,0x000045f4,0x000045fc, 45990x000400fa,0x000048d1,0x000048d2,0x000048da,
42170x000200f8,0x000045f4,0x00050041,0x00000009, 46000x000200f8,0x000048d2,0x00050041,0x00000009,
42180x000045f6,0x00004553,0x00005d9f,0x0004003d, 46010x000048d4,0x00004831,0x000061c5,0x0004003d,
42190x00000006,0x000045f7,0x000045f6,0x00050041, 46020x00000006,0x000048d5,0x000048d4,0x00050041,
42200x00000009,0x000045f9,0x00004553,0x00005d9d, 46030x00000009,0x000048d7,0x00004831,0x000061c3,
42210x0004003d,0x00000006,0x000045fa,0x000045f9, 46040x0004003d,0x00000006,0x000048d8,0x000048d7,
42220x000500ab,0x0000002f,0x000045fb,0x000045f7, 46050x000500ab,0x0000002f,0x000048d9,0x000048d5,
42230x000045fa,0x000200f9,0x000045fc,0x000200f8, 46060x000048d8,0x000200f9,0x000048da,0x000200f8,
42240x000045fc,0x000700f5,0x0000002f,0x000045fd, 46070x000048da,0x000700f5,0x0000002f,0x000048db,
42250x000045f2,0x000045f1,0x000045fb,0x000045f4, 46080x000048d0,0x000048cf,0x000048d9,0x000048d2,
42260x000300f7,0x000045ff,0x00000000,0x000400fa, 46090x000300f7,0x000048dd,0x00000000,0x000400fa,
42270x000045fd,0x000045fe,0x000045ff,0x000200f8, 46100x000048db,0x000048dc,0x000048dd,0x000200f8,
42280x000045fe,0x000200f9,0x0000469b,0x000200f8, 46110x000048dc,0x000200f9,0x00004979,0x000200f8,
42290x000045ff,0x000200f9,0x00004600,0x000200f8, 46120x000048dd,0x000200f9,0x000048de,0x000200f8,
42300x00004600,0x000700f5,0x00000006,0x00005da9, 46130x000048de,0x000700f5,0x00000006,0x000061cf,
42310x00000470,0x000045ff,0x0000609e,0x00004638, 46140x000004d7,0x000048dd,0x000064d2,0x00004916,
42320x000700f5,0x00000006,0x00005da4,0x00000470, 46150x000700f5,0x00000006,0x000061ca,0x000004d7,
42330x000045ff,0x00006093,0x00004638,0x000700f5, 46160x000048dd,0x000064c7,0x00004916,0x000700f5,
42340x00000006,0x00005da3,0x00000138,0x000045ff, 46170x00000006,0x000061c9,0x00000140,0x000048dd,
42350x0000463a,0x00004638,0x000500b0,0x0000002f, 46180x00004918,0x00004916,0x000500b0,0x0000002f,
42360x00004603,0x00005da3,0x00000470,0x000500aa, 46190x000048e1,0x000061c9,0x000004d7,0x000500aa,
42370x0000002f,0x00004605,0x00005da4,0x00000470, 46200x0000002f,0x000048e3,0x000061ca,0x000004d7,
42380x000500a7,0x0000002f,0x00004606,0x00004603, 46210x000500a7,0x0000002f,0x000048e4,0x000048e1,
42390x00004605,0x000400f6,0x0000463b,0x00004638, 46220x000048e3,0x000400f6,0x00004919,0x00004916,
42400x00000000,0x000400fa,0x00004606,0x00004607, 46230x00000000,0x000400fa,0x000048e4,0x000048e5,
42410x0000463b,0x000200f8,0x00004607,0x00060041, 46240x00004919,0x000200f8,0x000048e5,0x00060041,
42420x000000e5,0x0000460a,0x00004555,0x00005d9d, 46250x000000ec,0x000048e8,0x00004833,0x000061c3,
42430x00005da3,0x0004003d,0x000000df,0x0000460b, 46260x000061c9,0x0004003d,0x000000e6,0x000048e9,
42440x0000460a,0x00050080,0x00000006,0x0000460e, 46270x000048e8,0x00050080,0x00000006,0x000048ec,
42450x00005da3,0x00000142,0x00050089,0x00000006, 46280x000061c9,0x0000014a,0x00050089,0x00000006,
42460x0000460f,0x0000460e,0x00000470,0x00060041, 46290x000048ed,0x000048ec,0x000004d7,0x00060041,
42470x000000e5,0x00004610,0x00004555,0x00005d9d, 46300x000000ec,0x000048ee,0x00004833,0x000061c3,
42480x0000460f,0x0004003d,0x000000df,0x00004611, 46310x000048ed,0x0004003d,0x000000e6,0x000048ef,
42490x00004610,0x000500aa,0x0000054d,0x00004614, 46320x000048ee,0x000500aa,0x000005b3,0x000048f2,
42500x0000460b,0x00004611,0x0004009b,0x0000002f, 46330x000048e9,0x000048ef,0x0004009b,0x0000002f,
42510x00004615,0x00004614,0x000300f7,0x00004617, 46340x000048f3,0x000048f2,0x000300f7,0x000048f5,
42520x00000000,0x000400fa,0x00004615,0x00004616, 46350x00000000,0x000400fa,0x000048f3,0x000048f4,
42530x00004617,0x000200f8,0x00004616,0x000200f9, 46360x000048f5,0x000200f8,0x000048f4,0x000200f9,
42540x00004638,0x000200f8,0x00004617,0x000200f9, 46370x00004916,0x000200f8,0x000048f5,0x000200f9,
42550x00004618,0x000200f8,0x00004618,0x000700f5, 46380x000048f6,0x000200f8,0x000048f6,0x000700f5,
42560x00000006,0x00005daa,0x00000138,0x00004617, 46390x00000006,0x000061d0,0x00000140,0x000048f5,
42570x00004636,0x00004634,0x000500b0,0x0000002f, 46400x00004914,0x00004912,0x000500b0,0x0000002f,
42580x0000461b,0x00005daa,0x00000470,0x000400f6, 46410x000048f9,0x000061d0,0x000004d7,0x000400f6,
42590x00004637,0x00004634,0x00000000,0x000400fa, 46420x00004915,0x00004912,0x00000000,0x000400fa,
42600x0000461b,0x0000461c,0x00004637,0x000200f8, 46430x000048f9,0x000048fa,0x00004915,0x000200f8,
42610x0000461c,0x00060041,0x000000e5,0x0000461f, 46440x000048fa,0x00060041,0x000000ec,0x000048fd,
42620x00004555,0x00005d9f,0x00005daa,0x0004003d, 46450x00004833,0x000061c5,0x000061d0,0x0004003d,
42630x000000df,0x00004620,0x0000461f,0x000500aa, 46460x000000e6,0x000048fe,0x000048fd,0x000500aa,
42640x0000054d,0x00004622,0x00004620,0x00004611, 46470x000005b3,0x00004900,0x000048fe,0x000048ef,
42650x0004009b,0x0000002f,0x00004623,0x00004622, 46480x0004009b,0x0000002f,0x00004901,0x00004900,
42660x000300f7,0x0000462e,0x00000000,0x000400fa, 46490x000300f7,0x0000490c,0x00000000,0x000400fa,
42670x00004623,0x00004624,0x0000462e,0x000200f8, 46500x00004901,0x00004902,0x0000490c,0x000200f8,
42680x00004624,0x00050080,0x00000006,0x00004627, 46510x00004902,0x00050080,0x00000006,0x00004905,
42690x00005daa,0x00000142,0x00050089,0x00000006, 46520x000061d0,0x0000014a,0x00050089,0x00000006,
42700x00004628,0x00004627,0x00000470,0x00060041, 46530x00004906,0x00004905,0x000004d7,0x00060041,
42710x000000e5,0x00004629,0x00004555,0x00005d9f, 46540x000000ec,0x00004907,0x00004833,0x000061c5,
42720x00004628,0x0004003d,0x000000df,0x0000462a, 46550x00004906,0x0004003d,0x000000e6,0x00004908,
42730x00004629,0x000500aa,0x0000054d,0x0000462c, 46560x00004907,0x000500aa,0x000005b3,0x0000490a,
42740x0000462a,0x0000460b,0x0004009b,0x0000002f, 46570x00004908,0x000048e9,0x0004009b,0x0000002f,
42750x0000462d,0x0000462c,0x000200f9,0x0000462e, 46580x0000490b,0x0000490a,0x000200f9,0x0000490c,
42760x000200f8,0x0000462e,0x000700f5,0x0000002f, 46590x000200f8,0x0000490c,0x000700f5,0x0000002f,
42770x0000462f,0x00004623,0x0000461c,0x0000462d, 46600x0000490d,0x00004901,0x000048fa,0x0000490b,
42780x00004624,0x000300f7,0x00004633,0x00000000, 46610x00004902,0x000300f7,0x00004911,0x00000000,
42790x000400fa,0x0000462f,0x00004630,0x00004633, 46620x000400fa,0x0000490d,0x0000490e,0x00004911,
42800x000200f8,0x00004630,0x000200f9,0x00004637, 46630x000200f8,0x0000490e,0x000200f9,0x00004915,
42810x000200f8,0x00004633,0x000200f9,0x00004634, 46640x000200f8,0x00004911,0x000200f9,0x00004912,
42820x000200f8,0x00004634,0x00050080,0x00000006, 46650x000200f8,0x00004912,0x00050080,0x00000006,
42830x00004636,0x00005daa,0x00000264,0x000200f9, 46660x00004914,0x000061d0,0x0000026c,0x000200f9,
42840x00004618,0x000200f8,0x00004637,0x000700f5, 46670x000048f6,0x000200f8,0x00004915,0x000700f5,
42850x00000006,0x0000609f,0x00005da9,0x00004618, 46680x00000006,0x000064d3,0x000061cf,0x000048f6,
42860x00005daa,0x00004630,0x000700f5,0x00000006, 46690x000061d0,0x0000490e,0x000700f5,0x00000006,
42870x00006094,0x00005da4,0x00004618,0x00005da3, 46700x000064c8,0x000061ca,0x000048f6,0x000061c9,
42880x00004630,0x000200f9,0x00004638,0x000200f8, 46710x0000490e,0x000200f9,0x00004916,0x000200f8,
42890x00004638,0x000700f5,0x00000006,0x0000609e, 46720x00004916,0x000700f5,0x00000006,0x000064d2,
42900x00005da9,0x00004616,0x0000609f,0x00004637, 46730x000061cf,0x000048f4,0x000064d3,0x00004915,
42910x000700f5,0x00000006,0x00006093,0x00005da4, 46740x000700f5,0x00000006,0x000064c7,0x000061ca,
42920x00004616,0x00006094,0x00004637,0x00050080, 46750x000048f4,0x000064c8,0x00004915,0x00050080,
42930x00000006,0x0000463a,0x00005da3,0x00000264, 46760x00000006,0x00004918,0x000061c9,0x0000026c,
42940x000200f9,0x00004600,0x000200f8,0x0000463b, 46770x000200f9,0x000048de,0x000200f8,0x00004919,
42950x000300f7,0x0000463f,0x00000000,0x000400fa, 46780x000300f7,0x0000491d,0x00000000,0x000400fa,
42960x00004605,0x0000463e,0x0000463f,0x000200f8, 46790x000048e3,0x0000491c,0x0000491d,0x000200f8,
42970x0000463e,0x000200f9,0x0000469b,0x000200f8, 46800x0000491c,0x000200f9,0x00004979,0x000200f8,
42980x0000463f,0x0003003e,0x000045e9,0x000003e7, 46810x0000491d,0x0003003e,0x000048c7,0x00000444,
42990x00050080,0x00000006,0x00004645,0x00005da4, 46820x00050080,0x00000006,0x00004923,0x000061ca,
43000x00000280,0x00050089,0x00000006,0x00004646, 46830x00000288,0x00050089,0x00000006,0x00004924,
43010x00004645,0x00000470,0x00050041,0x00000009, 46840x00004923,0x000004d7,0x00050041,0x00000009,
43020x00004647,0x0000400e,0x00005d9d,0x0004003d, 46850x00004925,0x000042ec,0x000061c3,0x0004003d,
43030x00000006,0x00004648,0x00004647,0x00060041, 46860x00000006,0x00004926,0x00004925,0x00060041,
43040x000000e5,0x00004649,0x00004555,0x00005d9d, 46870x000000ec,0x00004927,0x00004833,0x000061c3,
43050x00004646,0x0004003d,0x000000df,0x0000464a, 46880x00004924,0x0004003d,0x000000e6,0x00004928,
43060x00004649,0x00050041,0x000001bb,0x000048af, 46890x00004927,0x00050041,0x000001c3,0x00004b8d,
43070x000001b9,0x0000034a,0x0004003d,0x00000006, 46900x000001c1,0x00000352,0x0004003d,0x00000006,
43080x000048b0,0x000048af,0x00050084,0x00000006, 46910x00004b8e,0x00004b8d,0x00050084,0x00000006,
43090x000048b2,0x000001c4,0x00004648,0x00050080, 46920x00004b90,0x000001cc,0x00004926,0x00050080,
43100x00000006,0x000048b3,0x000048b0,0x000048b2, 46930x00000006,0x00004b91,0x00004b8e,0x00004b90,
43110x00050041,0x00000266,0x00004899,0x000001b9, 46940x00050041,0x0000026e,0x00004b77,0x000001c1,
43120x0000016b,0x0004003d,0x00000007,0x0000489a, 46950x00000173,0x0004003d,0x00000007,0x00004b78,
43130x00004899,0x00050051,0x00000006,0x0000489d, 46960x00004b77,0x00050051,0x00000006,0x00004b7b,
43140x0000464a,0x00000000,0x00050051,0x00000006, 46970x00004928,0x00000000,0x00050051,0x00000006,
43150x000048c9,0x0000489a,0x00000000,0x00050095, 46980x00004ba7,0x00004b78,0x00000000,0x00050095,
43160x0000013d,0x000048cb,0x000048c9,0x000048b3, 46990x00000145,0x00004ba9,0x00004ba7,0x00004b91,
43170x00050051,0x00000006,0x000048cc,0x000048cb, 47000x00050051,0x00000006,0x00004baa,0x00004ba9,
43180x00000001,0x00050051,0x00000006,0x000048cd, 47010x00000001,0x00050051,0x00000006,0x00004bab,
43190x000048cb,0x00000000,0x00050051,0x00000006, 47020x00004ba9,0x00000000,0x00050051,0x00000006,
43200x000048d0,0x0000489a,0x00000001,0x00050080, 47030x00004bae,0x00004b78,0x00000001,0x00050080,
43210x00000006,0x000048d2,0x000048d0,0x000048cc, 47040x00000006,0x00004bb0,0x00004bae,0x00004baa,
43220x00050050,0x00000007,0x000048d3,0x000048cd, 47050x00050050,0x00000007,0x00004bb1,0x00004bab,
43230x000048d2,0x0004007c,0x00000014,0x000048c3, 47060x00004bb0,0x0004007c,0x00000014,0x00004ba1,
43240x000048d3,0x00060041,0x0000016c,0x000048bb, 47070x00004bb1,0x00060041,0x00000174,0x00004b99,
43250x000048c3,0x0000016b,0x0000016b,0x0005003e, 47080x00004ba1,0x00000173,0x00000173,0x0005003e,
43260x000048bb,0x0000489d,0x00000002,0x00000004, 47090x00004b99,0x00004b7b,0x00000002,0x00000004,
43270x00050080,0x00000006,0x000048a0,0x000048b3, 47100x00050080,0x00000006,0x00004b7e,0x00004b91,
43280x000000ec,0x00050051,0x00000006,0x000048a4, 47110x000000f3,0x00050051,0x00000006,0x00004b82,
43290x0000464a,0x00000001,0x00050095,0x0000013d, 47120x00004928,0x00000001,0x00050095,0x00000145,
43300x000048eb,0x000048c9,0x000048a0,0x00050051, 47130x00004bc9,0x00004ba7,0x00004b7e,0x00050051,
43310x00000006,0x000048ec,0x000048eb,0x00000001, 47140x00000006,0x00004bca,0x00004bc9,0x00000001,
43320x00050051,0x00000006,0x000048ed,0x000048eb, 47150x00050051,0x00000006,0x00004bcb,0x00004bc9,
43330x00000000,0x00050080,0x00000006,0x000048f2, 47160x00000000,0x00050080,0x00000006,0x00004bd0,
43340x000048d0,0x000048ec,0x00050050,0x00000007, 47170x00004bae,0x00004bca,0x00050050,0x00000007,
43350x000048f3,0x000048ed,0x000048f2,0x0004007c, 47180x00004bd1,0x00004bcb,0x00004bd0,0x0004007c,
43360x00000014,0x000048e3,0x000048f3,0x00060041, 47190x00000014,0x00004bc1,0x00004bd1,0x00060041,
43370x0000016c,0x000048db,0x000048e3,0x0000016b, 47200x00000174,0x00004bb9,0x00004bc1,0x00000173,
43380x0000016b,0x0005003e,0x000048db,0x000048a4, 47210x00000173,0x0005003e,0x00004bb9,0x00004b82,
43390x00000002,0x00000004,0x00050080,0x00000006, 47220x00000002,0x00000004,0x00050080,0x00000006,
43400x000048a7,0x000048b3,0x000001cd,0x00050051, 47230x00004b85,0x00004b91,0x000001d5,0x00050051,
43410x00000006,0x000048ab,0x0000464a,0x00000002, 47240x00000006,0x00004b89,0x00004928,0x00000002,
43420x00050095,0x0000013d,0x0000490b,0x000048c9, 47250x00050095,0x00000145,0x00004be9,0x00004ba7,
43430x000048a7,0x00050051,0x00000006,0x0000490c, 47260x00004b85,0x00050051,0x00000006,0x00004bea,
43440x0000490b,0x00000001,0x00050051,0x00000006, 47270x00004be9,0x00000001,0x00050051,0x00000006,
43450x0000490d,0x0000490b,0x00000000,0x00050080, 47280x00004beb,0x00004be9,0x00000000,0x00050080,
43460x00000006,0x00004912,0x000048d0,0x0000490c, 47290x00000006,0x00004bf0,0x00004bae,0x00004bea,
43470x00050050,0x00000007,0x00004913,0x0000490d, 47300x00050050,0x00000007,0x00004bf1,0x00004beb,
43480x00004912,0x0004007c,0x00000014,0x00004903, 47310x00004bf0,0x0004007c,0x00000014,0x00004be1,
43490x00004913,0x00060041,0x0000016c,0x000048fb, 47320x00004bf1,0x00060041,0x00000174,0x00004bd9,
43500x00004903,0x0000016b,0x0000016b,0x0005003e, 47330x00004be1,0x00000173,0x00000173,0x0005003e,
43510x000048fb,0x000048ab,0x00000002,0x00000004, 47340x00004bd9,0x00004b89,0x00000002,0x00000004,
43520x0004003d,0x00000006,0x00004650,0x00004647, 47350x0004003d,0x00000006,0x0000492e,0x00004925,
43530x00060041,0x000000e5,0x00004651,0x00004555, 47360x00060041,0x000000ec,0x0000492f,0x00004833,
43540x00005d9d,0x00005da4,0x0004003d,0x000000df, 47370x000061c3,0x000061ca,0x0004003d,0x000000e6,
43550x00004652,0x00004651,0x00050084,0x00000006, 47380x00004930,0x0000492f,0x00050084,0x00000006,
43560x0000493e,0x000001c4,0x00004650,0x00050080, 47390x00004c1c,0x000001cc,0x0000492e,0x00050080,
43570x00000006,0x0000493f,0x000048b0,0x0000493e, 47400x00000006,0x00004c1d,0x00004b8e,0x00004c1c,
43580x00050080,0x00000006,0x00004924,0x0000493f, 47410x00050080,0x00000006,0x00004c02,0x00004c1d,
43590x000001d4,0x00050051,0x00000006,0x00004929, 47420x000001dc,0x00050051,0x00000006,0x00004c07,
43600x00004652,0x00000000,0x00050095,0x0000013d, 47430x00004930,0x00000000,0x00050095,0x00000145,
43610x00004957,0x000048c9,0x00004924,0x00050051, 47440x00004c35,0x00004ba7,0x00004c02,0x00050051,
43620x00000006,0x00004958,0x00004957,0x00000001, 47450x00000006,0x00004c36,0x00004c35,0x00000001,
43630x00050051,0x00000006,0x00004959,0x00004957, 47460x00050051,0x00000006,0x00004c37,0x00004c35,
43640x00000000,0x00050080,0x00000006,0x0000495e, 47470x00000000,0x00050080,0x00000006,0x00004c3c,
43650x000048d0,0x00004958,0x00050050,0x00000007, 47480x00004bae,0x00004c36,0x00050050,0x00000007,
43660x0000495f,0x00004959,0x0000495e,0x0004007c, 47490x00004c3d,0x00004c37,0x00004c3c,0x0004007c,
43670x00000014,0x0000494f,0x0000495f,0x00060041, 47500x00000014,0x00004c2d,0x00004c3d,0x00060041,
43680x0000016c,0x00004947,0x0000494f,0x0000016b, 47510x00000174,0x00004c25,0x00004c2d,0x00000173,
43690x0000016b,0x0005003e,0x00004947,0x00004929, 47520x00000173,0x0005003e,0x00004c25,0x00004c07,
43700x00000002,0x00000004,0x00050080,0x00000006, 47530x00000002,0x00000004,0x00050080,0x00000006,
43710x0000492c,0x0000493f,0x000001db,0x00050051, 47540x00004c0a,0x00004c1d,0x000001e3,0x00050051,
43720x00000006,0x00004930,0x00004652,0x00000001, 47550x00000006,0x00004c0e,0x00004930,0x00000001,
43730x00050095,0x0000013d,0x00004977,0x000048c9, 47560x00050095,0x00000145,0x00004c55,0x00004ba7,
43740x0000492c,0x00050051,0x00000006,0x00004978, 47570x00004c0a,0x00050051,0x00000006,0x00004c56,
43750x00004977,0x00000001,0x00050051,0x00000006, 47580x00004c55,0x00000001,0x00050051,0x00000006,
43760x00004979,0x00004977,0x00000000,0x00050080, 47590x00004c57,0x00004c55,0x00000000,0x00050080,
43770x00000006,0x0000497e,0x000048d0,0x00004978, 47600x00000006,0x00004c5c,0x00004bae,0x00004c56,
43780x00050050,0x00000007,0x0000497f,0x00004979, 47610x00050050,0x00000007,0x00004c5d,0x00004c57,
43790x0000497e,0x0004007c,0x00000014,0x0000496f, 47620x00004c5c,0x0004007c,0x00000014,0x00004c4d,
43800x0000497f,0x00060041,0x0000016c,0x00004967, 47630x00004c5d,0x00060041,0x00000174,0x00004c45,
43810x0000496f,0x0000016b,0x0000016b,0x0005003e, 47640x00004c4d,0x00000173,0x00000173,0x0005003e,
43820x00004967,0x00004930,0x00000002,0x00000004, 47650x00004c45,0x00004c0e,0x00000002,0x00000004,
43830x00050080,0x00000006,0x00004933,0x0000493f, 47660x00050080,0x00000006,0x00004c11,0x00004c1d,
43840x00000299,0x00050051,0x00000006,0x00004937, 47670x000002a1,0x00050051,0x00000006,0x00004c15,
43850x00004652,0x00000002,0x00050095,0x0000013d, 47680x00004930,0x00000002,0x00050095,0x00000145,
43860x00004997,0x000048c9,0x00004933,0x00050051, 47690x00004c75,0x00004ba7,0x00004c11,0x00050051,
43870x00000006,0x00004998,0x00004997,0x00000001, 47700x00000006,0x00004c76,0x00004c75,0x00000001,
43880x00050051,0x00000006,0x00004999,0x00004997, 47710x00050051,0x00000006,0x00004c77,0x00004c75,
43890x00000000,0x00050080,0x00000006,0x0000499e, 47720x00000000,0x00050080,0x00000006,0x00004c7c,
43900x000048d0,0x00004998,0x00050050,0x00000007, 47730x00004bae,0x00004c76,0x00050050,0x00000007,
43910x0000499f,0x00004999,0x0000499e,0x0004007c, 47740x00004c7d,0x00004c77,0x00004c7c,0x0004007c,
43920x00000014,0x0000498f,0x0000499f,0x00060041, 47750x00000014,0x00004c6d,0x00004c7d,0x00060041,
43930x0000016c,0x00004987,0x0000498f,0x0000016b, 47760x00000174,0x00004c65,0x00004c6d,0x00000173,
43940x0000016b,0x0005003e,0x00004987,0x00004937, 47770x00000173,0x0005003e,0x00004c65,0x00004c15,
43950x00000002,0x00000004,0x00050080,0x00000006, 47780x00000002,0x00000004,0x00050080,0x00000006,
43960x00004657,0x00005da4,0x00000142,0x00050089, 47790x00004935,0x000061ca,0x0000014a,0x00050089,
43970x00000006,0x00004658,0x00004657,0x00000470, 47800x00000006,0x00004936,0x00004935,0x000004d7,
43980x0004003d,0x00000006,0x0000465a,0x00004647, 47810x0004003d,0x00000006,0x00004938,0x00004925,
43990x00060041,0x000000e5,0x0000465b,0x00004555, 47820x00060041,0x000000ec,0x00004939,0x00004833,
44000x00005d9d,0x00004658,0x0004003d,0x000000df, 47830x000061c3,0x00004936,0x0004003d,0x000000e6,
44010x0000465c,0x0000465b,0x00050084,0x00000006, 47840x0000493a,0x00004939,0x00050084,0x00000006,
44020x000049ca,0x000001c4,0x0000465a,0x00050080, 47850x00004ca8,0x000001cc,0x00004938,0x00050080,
44030x00000006,0x000049cb,0x000048b0,0x000049ca, 47860x00000006,0x00004ca9,0x00004b8e,0x00004ca8,
44040x00050080,0x00000006,0x000049b0,0x000049cb, 47870x00050080,0x00000006,0x00004c8e,0x00004ca9,
44050x000001ef,0x00050051,0x00000006,0x000049b5, 47880x000001f7,0x00050051,0x00000006,0x00004c93,
44060x0000465c,0x00000000,0x00050095,0x0000013d, 47890x0000493a,0x00000000,0x00050095,0x00000145,
44070x000049e3,0x000048c9,0x000049b0,0x00050051, 47900x00004cc1,0x00004ba7,0x00004c8e,0x00050051,
44080x00000006,0x000049e4,0x000049e3,0x00000001, 47910x00000006,0x00004cc2,0x00004cc1,0x00000001,
44090x00050051,0x00000006,0x000049e5,0x000049e3, 47920x00050051,0x00000006,0x00004cc3,0x00004cc1,
44100x00000000,0x00050080,0x00000006,0x000049ea, 47930x00000000,0x00050080,0x00000006,0x00004cc8,
44110x000048d0,0x000049e4,0x00050050,0x00000007, 47940x00004bae,0x00004cc2,0x00050050,0x00000007,
44120x000049eb,0x000049e5,0x000049ea,0x0004007c, 47950x00004cc9,0x00004cc3,0x00004cc8,0x0004007c,
44130x00000014,0x000049db,0x000049eb,0x00060041, 47960x00000014,0x00004cb9,0x00004cc9,0x00060041,
44140x0000016c,0x000049d3,0x000049db,0x0000016b, 47970x00000174,0x00004cb1,0x00004cb9,0x00000173,
44150x0000016b,0x0005003e,0x000049d3,0x000049b5, 47980x00000173,0x0005003e,0x00004cb1,0x00004c93,
44160x00000002,0x00000004,0x00050080,0x00000006, 47990x00000002,0x00000004,0x00050080,0x00000006,
44170x000049b8,0x000049cb,0x000006d9,0x00050051, 48000x00004c96,0x00004ca9,0x0000073f,0x00050051,
44180x00000006,0x000049bc,0x0000465c,0x00000001, 48010x00000006,0x00004c9a,0x0000493a,0x00000001,
44190x00050095,0x0000013d,0x00004a03,0x000048c9, 48020x00050095,0x00000145,0x00004ce1,0x00004ba7,
44200x000049b8,0x00050051,0x00000006,0x00004a04, 48030x00004c96,0x00050051,0x00000006,0x00004ce2,
44210x00004a03,0x00000001,0x00050051,0x00000006, 48040x00004ce1,0x00000001,0x00050051,0x00000006,
44220x00004a05,0x00004a03,0x00000000,0x00050080, 48050x00004ce3,0x00004ce1,0x00000000,0x00050080,
44230x00000006,0x00004a0a,0x000048d0,0x00004a04, 48060x00000006,0x00004ce8,0x00004bae,0x00004ce2,
44240x00050050,0x00000007,0x00004a0b,0x00004a05, 48070x00050050,0x00000007,0x00004ce9,0x00004ce3,
44250x00004a0a,0x0004007c,0x00000014,0x000049fb, 48080x00004ce8,0x0004007c,0x00000014,0x00004cd9,
44260x00004a0b,0x00060041,0x0000016c,0x000049f3, 48090x00004ce9,0x00060041,0x00000174,0x00004cd1,
44270x000049fb,0x0000016b,0x0000016b,0x0005003e, 48100x00004cd9,0x00000173,0x00000173,0x0005003e,
44280x000049f3,0x000049bc,0x00000002,0x00000004, 48110x00004cd1,0x00004c9a,0x00000002,0x00000004,
44290x00050080,0x00000006,0x000049bf,0x000049cb, 48120x00050080,0x00000006,0x00004c9d,0x00004ca9,
44300x00000205,0x00050051,0x00000006,0x000049c3, 48130x0000020d,0x00050051,0x00000006,0x00004ca1,
44310x0000465c,0x00000002,0x00050095,0x0000013d, 48140x0000493a,0x00000002,0x00050095,0x00000145,
44320x00004a23,0x000048c9,0x000049bf,0x00050051, 48150x00004d01,0x00004ba7,0x00004c9d,0x00050051,
44330x00000006,0x00004a24,0x00004a23,0x00000001, 48160x00000006,0x00004d02,0x00004d01,0x00000001,
44340x00050051,0x00000006,0x00004a25,0x00004a23, 48170x00050051,0x00000006,0x00004d03,0x00004d01,
44350x00000000,0x00050080,0x00000006,0x00004a2a, 48180x00000000,0x00050080,0x00000006,0x00004d08,
44360x000048d0,0x00004a24,0x00050050,0x00000007, 48190x00004bae,0x00004d02,0x00050050,0x00000007,
44370x00004a2b,0x00004a25,0x00004a2a,0x0004007c, 48200x00004d09,0x00004d03,0x00004d08,0x0004007c,
44380x00000014,0x00004a1b,0x00004a2b,0x00060041, 48210x00000014,0x00004cf9,0x00004d09,0x00060041,
44390x0000016c,0x00004a13,0x00004a1b,0x0000016b, 48220x00000174,0x00004cf1,0x00004cf9,0x00000173,
44400x0000016b,0x0005003e,0x00004a13,0x000049c3, 48230x00000173,0x0005003e,0x00004cf1,0x00004ca1,
44410x00000002,0x00000004,0x00050080,0x00000006, 48240x00000002,0x00000004,0x00050080,0x00000006,
44420x00004661,0x00005da9,0x00000280,0x00050089, 48250x0000493f,0x000061cf,0x00000288,0x00050089,
44430x00000006,0x00004662,0x00004661,0x00000470, 48260x00000006,0x00004940,0x0000493f,0x000004d7,
44440x0004003d,0x00000006,0x00004664,0x00004647, 48270x0004003d,0x00000006,0x00004942,0x00004925,
44450x00060041,0x000000e5,0x00004665,0x00004555, 48280x00060041,0x000000ec,0x00004943,0x00004833,
44460x00005d9f,0x00004662,0x0004003d,0x000000df, 48290x000061c5,0x00004940,0x0004003d,0x000000e6,
44470x00004666,0x00004665,0x00050084,0x00000006, 48300x00004944,0x00004943,0x00050084,0x00000006,
44480x00004a56,0x000001c4,0x00004664,0x00050080, 48310x00004d34,0x000001cc,0x00004942,0x00050080,
44490x00000006,0x00004a57,0x000048b0,0x00004a56, 48320x00000006,0x00004d35,0x00004b8e,0x00004d34,
44500x00050080,0x00000006,0x00004a3c,0x00004a57, 48330x00050080,0x00000006,0x00004d1a,0x00004d35,
44510x00000500,0x00050051,0x00000006,0x00004a41, 48340x00000567,0x00050051,0x00000006,0x00004d1f,
44520x00004666,0x00000000,0x00050095,0x0000013d, 48350x00004944,0x00000000,0x00050095,0x00000145,
44530x00004a6f,0x000048c9,0x00004a3c,0x00050051, 48360x00004d4d,0x00004ba7,0x00004d1a,0x00050051,
44540x00000006,0x00004a70,0x00004a6f,0x00000001, 48370x00000006,0x00004d4e,0x00004d4d,0x00000001,
44550x00050051,0x00000006,0x00004a71,0x00004a6f, 48380x00050051,0x00000006,0x00004d4f,0x00004d4d,
44560x00000000,0x00050080,0x00000006,0x00004a76, 48390x00000000,0x00050080,0x00000006,0x00004d54,
44570x000048d0,0x00004a70,0x00050050,0x00000007, 48400x00004bae,0x00004d4e,0x00050050,0x00000007,
44580x00004a77,0x00004a71,0x00004a76,0x0004007c, 48410x00004d55,0x00004d4f,0x00004d54,0x0004007c,
44590x00000014,0x00004a67,0x00004a77,0x00060041, 48420x00000014,0x00004d45,0x00004d55,0x00060041,
44600x0000016c,0x00004a5f,0x00004a67,0x0000016b, 48430x00000174,0x00004d3d,0x00004d45,0x00000173,
44610x0000016b,0x0005003e,0x00004a5f,0x00004a41, 48440x00000173,0x0005003e,0x00004d3d,0x00004d1f,
44620x00000002,0x00000004,0x00050080,0x00000006, 48450x00000002,0x00000004,0x00050080,0x00000006,
44630x00004a44,0x00004a57,0x0000050b,0x00050051, 48460x00004d22,0x00004d35,0x00000572,0x00050051,
44640x00000006,0x00004a48,0x00004666,0x00000001, 48470x00000006,0x00004d26,0x00004944,0x00000001,
44650x00050095,0x0000013d,0x00004a8f,0x000048c9, 48480x00050095,0x00000145,0x00004d6d,0x00004ba7,
44660x00004a44,0x00050051,0x00000006,0x00004a90, 48490x00004d22,0x00050051,0x00000006,0x00004d6e,
44670x00004a8f,0x00000001,0x00050051,0x00000006, 48500x00004d6d,0x00000001,0x00050051,0x00000006,
44680x00004a91,0x00004a8f,0x00000000,0x00050080, 48510x00004d6f,0x00004d6d,0x00000000,0x00050080,
44690x00000006,0x00004a96,0x000048d0,0x00004a90, 48520x00000006,0x00004d74,0x00004bae,0x00004d6e,
44700x00050050,0x00000007,0x00004a97,0x00004a91, 48530x00050050,0x00000007,0x00004d75,0x00004d6f,
44710x00004a96,0x0004007c,0x00000014,0x00004a87, 48540x00004d74,0x0004007c,0x00000014,0x00004d65,
44720x00004a97,0x00060041,0x0000016c,0x00004a7f, 48550x00004d75,0x00060041,0x00000174,0x00004d5d,
44730x00004a87,0x0000016b,0x0000016b,0x0005003e, 48560x00004d65,0x00000173,0x00000173,0x0005003e,
44740x00004a7f,0x00004a48,0x00000002,0x00000004, 48570x00004d5d,0x00004d26,0x00000002,0x00000004,
44750x00050080,0x00000006,0x00004a4b,0x00004a57, 48580x00050080,0x00000006,0x00004d29,0x00004d35,
44760x00000516,0x00050051,0x00000006,0x00004a4f, 48590x0000057d,0x00050051,0x00000006,0x00004d2d,
44770x00004666,0x00000002,0x00050095,0x0000013d, 48600x00004944,0x00000002,0x00050095,0x00000145,
44780x00004aaf,0x000048c9,0x00004a4b,0x00050051, 48610x00004d8d,0x00004ba7,0x00004d29,0x00050051,
44790x00000006,0x00004ab0,0x00004aaf,0x00000001, 48620x00000006,0x00004d8e,0x00004d8d,0x00000001,
44800x00050051,0x00000006,0x00004ab1,0x00004aaf, 48630x00050051,0x00000006,0x00004d8f,0x00004d8d,
44810x00000000,0x00050080,0x00000006,0x00004ab6, 48640x00000000,0x00050080,0x00000006,0x00004d94,
44820x000048d0,0x00004ab0,0x00050050,0x00000007, 48650x00004bae,0x00004d8e,0x00050050,0x00000007,
44830x00004ab7,0x00004ab1,0x00004ab6,0x0004007c, 48660x00004d95,0x00004d8f,0x00004d94,0x0004007c,
44840x00000014,0x00004aa7,0x00004ab7,0x00060041, 48670x00000014,0x00004d85,0x00004d95,0x00060041,
44850x0000016c,0x00004a9f,0x00004aa7,0x0000016b, 48680x00000174,0x00004d7d,0x00004d85,0x00000173,
44860x0000016b,0x0005003e,0x00004a9f,0x00004a4f, 48690x00000173,0x0005003e,0x00004d7d,0x00004d2d,
44870x00000002,0x00000004,0x0004003d,0x00000006, 48700x00000002,0x00000004,0x0004003d,0x00000006,
44880x0000466a,0x00004647,0x00050084,0x00000006, 48710x00004948,0x00004925,0x00050084,0x00000006,
44890x00004abd,0x000001c4,0x0000466a,0x00050080, 48720x00004d9b,0x000001cc,0x00004948,0x00050080,
44900x00000006,0x00004abe,0x000048b0,0x00004abd, 48730x00000006,0x00004d9c,0x00004b8e,0x00004d9b,
44910x00050080,0x00000006,0x0000466c,0x00004abe, 48740x00050080,0x00000006,0x0000494a,0x00004d9c,
44920x00000537,0x00050041,0x00000009,0x0000466e, 48750x0000059e,0x00050041,0x00000009,0x0000494c,
44930x0000400e,0x00005d9f,0x0004003d,0x00000006, 48760x000042ec,0x000061c5,0x0004003d,0x00000006,
44940x0000466f,0x0000466e,0x00050084,0x00000006, 48770x0000494d,0x0000494c,0x00050084,0x00000006,
44950x00004ac4,0x000001c4,0x0000466f,0x00050080, 48780x00004da2,0x000001cc,0x0000494d,0x00050080,
44960x00000006,0x00004ac5,0x000048b0,0x00004ac4, 48790x00000006,0x00004da3,0x00004b8e,0x00004da2,
44970x00050080,0x00000006,0x00004671,0x00004ac5, 48800x00050080,0x00000006,0x0000494f,0x00004da3,
44980x0000052d,0x00050095,0x0000013d,0x00004ade, 48810x00000594,0x00050095,0x00000145,0x00004dbc,
44990x000048c9,0x00004671,0x00050051,0x00000006, 48820x00004ba7,0x0000494f,0x00050051,0x00000006,
45000x00004adf,0x00004ade,0x00000001,0x00050051, 48830x00004dbd,0x00004dbc,0x00000001,0x00050051,
45010x00000006,0x00004ae0,0x00004ade,0x00000000, 48840x00000006,0x00004dbe,0x00004dbc,0x00000000,
45020x00050080,0x00000006,0x00004ae5,0x000048d0, 48850x00050080,0x00000006,0x00004dc3,0x00004bae,
45030x00004adf,0x00050050,0x00000007,0x00004ae6, 48860x00004dbd,0x00050050,0x00000007,0x00004dc4,
45040x00004ae0,0x00004ae5,0x0004007c,0x00000014, 48870x00004dbe,0x00004dc3,0x0004007c,0x00000014,
45050x00004ad6,0x00004ae6,0x00060041,0x0000016c, 48880x00004db4,0x00004dc4,0x00060041,0x00000174,
45060x00004acd,0x00004ad6,0x0000016b,0x0000016b, 48890x00004dab,0x00004db4,0x00000173,0x00000173,
45070x0006003d,0x00000006,0x00004ace,0x00004acd, 48900x0006003d,0x00000006,0x00004dac,0x00004dab,
45080x00000002,0x00000004,0x00050095,0x0000013d, 48910x00000002,0x00000004,0x00050095,0x00000145,
45090x00004afe,0x000048c9,0x0000466c,0x00050051, 48920x00004ddc,0x00004ba7,0x0000494a,0x00050051,
45100x00000006,0x00004aff,0x00004afe,0x00000001, 48930x00000006,0x00004ddd,0x00004ddc,0x00000001,
45110x00050051,0x00000006,0x00004b00,0x00004afe, 48940x00050051,0x00000006,0x00004dde,0x00004ddc,
45120x00000000,0x00050080,0x00000006,0x00004b05, 48950x00000000,0x00050080,0x00000006,0x00004de3,
45130x000048d0,0x00004aff,0x00050050,0x00000007, 48960x00004bae,0x00004ddd,0x00050050,0x00000007,
45140x00004b06,0x00004b00,0x00004b05,0x0004007c, 48970x00004de4,0x00004dde,0x00004de3,0x0004007c,
45150x00000014,0x00004af6,0x00004b06,0x00060041, 48980x00000014,0x00004dd4,0x00004de4,0x00060041,
45160x0000016c,0x00004aee,0x00004af6,0x0000016b, 48990x00000174,0x00004dcc,0x00004dd4,0x00000173,
45170x0000016b,0x0005003e,0x00004aee,0x00004ace, 49000x00000173,0x0005003e,0x00004dcc,0x00004dac,
45180x00000002,0x00000004,0x00050082,0x00000006, 49010x00000002,0x00000004,0x00050082,0x00000006,
45190x00004679,0x00000364,0x00005da4,0x00050089, 49020x00004957,0x0000036c,0x000061ca,0x00050089,
45200x00000006,0x0000467a,0x00004679,0x00000470, 49030x00000006,0x00004958,0x00004957,0x000004d7,
45210x00050082,0x00000006,0x0000467c,0x00000355, 49040x00050082,0x00000006,0x0000495a,0x0000035d,
45220x00005da4,0x00050089,0x00000006,0x0000467d, 49050x000061ca,0x00050089,0x00000006,0x0000495b,
45230x0000467c,0x00000470,0x000500c4,0x00000006, 49060x0000495a,0x000004d7,0x000500c4,0x00000006,
45240x0000467e,0x0000467d,0x00000315,0x000500c5, 49070x0000495c,0x0000495b,0x0000031d,0x000500c5,
45250x00000006,0x0000467f,0x0000467a,0x0000467e, 49080x00000006,0x0000495d,0x00004958,0x0000495c,
45260x00050082,0x00000006,0x00004681,0x00000355, 49090x00050082,0x00000006,0x0000495f,0x0000035d,
45270x00005da9,0x00050089,0x00000006,0x00004682, 49100x000061cf,0x00050089,0x00000006,0x00004960,
45280x00004681,0x00000470,0x00050082,0x00000006, 49110x0000495f,0x000004d7,0x00050082,0x00000006,
45290x00004684,0x00000d2b,0x00005da9,0x00050089, 49120x00004962,0x00000376,0x000061cf,0x00050089,
45300x00000006,0x00004685,0x00004684,0x00000470, 49130x00000006,0x00004963,0x00004962,0x000004d7,
45310x000500c4,0x00000006,0x00004686,0x00004685, 49140x000500c4,0x00000006,0x00004964,0x00004963,
45320x00000315,0x000500c5,0x00000006,0x00004687, 49150x0000031d,0x000500c5,0x00000006,0x00004965,
45330x00004682,0x00004686,0x0004003d,0x00000006, 49160x00004960,0x00004964,0x0004003d,0x00000006,
45340x0000468a,0x00004647,0x00050084,0x00000006, 49170x00004968,0x00004925,0x00050084,0x00000006,
45350x00004b0c,0x000001c4,0x0000468a,0x00050080, 49180x00004dea,0x000001cc,0x00004968,0x00050080,
45360x00000006,0x00004b0d,0x000048b0,0x00004b0c, 49190x00000006,0x00004deb,0x00004b8e,0x00004dea,
45370x00050080,0x00000006,0x0000468c,0x00004b0d, 49200x00050080,0x00000006,0x0000496a,0x00004deb,
45380x00000541,0x000500c4,0x00000006,0x0000468f, 49210x000005a7,0x000500c4,0x00000006,0x0000496d,
45390x00004687,0x000004c1,0x000500c5,0x00000006, 49220x00004965,0x00000528,0x000500c5,0x00000006,
45400x00004690,0x0000467f,0x0000468f,0x00050095, 49230x0000496e,0x0000495d,0x0000496d,0x00050095,
45410x0000013d,0x00004b25,0x000048c9,0x0000468c, 49240x00000145,0x00004e03,0x00004ba7,0x0000496a,
45420x00050051,0x00000006,0x00004b26,0x00004b25, 49250x00050051,0x00000006,0x00004e04,0x00004e03,
45430x00000001,0x00050051,0x00000006,0x00004b27, 49260x00000001,0x00050051,0x00000006,0x00004e05,
45440x00004b25,0x00000000,0x00050080,0x00000006, 49270x00004e03,0x00000000,0x00050080,0x00000006,
45450x00004b2c,0x000048d0,0x00004b26,0x00050050, 49280x00004e0a,0x00004bae,0x00004e04,0x00050050,
45460x00000007,0x00004b2d,0x00004b27,0x00004b2c, 49290x00000007,0x00004e0b,0x00004e05,0x00004e0a,
45470x0004007c,0x00000014,0x00004b1d,0x00004b2d, 49300x0004007c,0x00000014,0x00004dfb,0x00004e0b,
45480x00060041,0x0000016c,0x00004b15,0x00004b1d, 49310x00060041,0x00000174,0x00004df3,0x00004dfb,
45490x0000016b,0x0000016b,0x0005003e,0x00004b15, 49320x00000173,0x00000173,0x0005003e,0x00004df3,
45500x00004690,0x00000002,0x00000004,0x00050041, 49330x0000496e,0x00000002,0x00000004,0x00050041,
45510x00000009,0x00004696,0x0000400f,0x00005d9d, 49340x00000009,0x00004974,0x000042ed,0x000061c3,
45520x0004003d,0x00000006,0x00004697,0x00004696, 49350x0004003d,0x00000006,0x00004975,0x00004974,
45530x000500c7,0x00000006,0x00004698,0x00004697, 49360x000500c7,0x00000006,0x00004976,0x00004975,
45540x00000d45,0x000500c5,0x00000006,0x00004699, 49370x00000daa,0x000500c5,0x00000006,0x00004977,
45550x00004698,0x00000142,0x00050041,0x00000009, 49380x00004976,0x0000014a,0x00050041,0x00000009,
45560x0000469a,0x0000400f,0x00005d9f,0x0003003e, 49390x00004978,0x000042ed,0x000061c5,0x0003003e,
45570x0000469a,0x00004699,0x000200f9,0x0000469e, 49400x00004978,0x00004977,0x000200f9,0x0000497c,
45580x000200f8,0x0000469b,0x00050080,0x00000006, 49410x000200f8,0x00004979,0x00050080,0x00000006,
45590x0000469d,0x00005d9f,0x00000264,0x000200f9, 49420x0000497b,0x000061c5,0x0000026c,0x000200f9,
45600x000045e3,0x000200f8,0x0000469e,0x000200f9, 49430x000048c1,0x000200f8,0x0000497c,0x000200f9,
45610x0000469f,0x000200f8,0x0000469f,0x00050080, 49440x0000497d,0x000200f8,0x0000497d,0x00050080,
45620x00000006,0x000046a1,0x00005d9d,0x00000264, 49450x00000006,0x0000497f,0x000061c3,0x0000026c,
45630x000200f9,0x000045cd,0x000200f8,0x000046a2, 49460x000200f9,0x000048ab,0x000200f8,0x00004980,
45640x0004003d,0x000000ed,0x000040ac,0x0000400f, 49470x0004003d,0x000000f4,0x0000438a,0x000042ed,
45650x0003003e,0x00003ff3,0x000040ac,0x000200f9, 49480x0003003e,0x000042d1,0x0000438a,0x000200f9,
45660x000040ad,0x000200f8,0x000040ad,0x000200f9, 49490x0000438b,0x000200f8,0x0000438b,0x000200f9,
45670x000040ae,0x000200f8,0x0000402f,0x000500aa, 49500x0000438c,0x000200f8,0x0000430d,0x000500aa,
45680x0000002f,0x00004032,0x0000402d,0x00000142, 49510x0000002f,0x00004310,0x0000430b,0x0000014a,
45690x000300f7,0x0000403d,0x00000000,0x000400fa, 49520x000300f7,0x0000431b,0x00000000,0x000400fa,
45700x00004032,0x00004033,0x0000403d,0x000200f8, 49530x00004310,0x00004311,0x0000431b,0x000200f8,
45710x00004033,0x00050041,0x000001bb,0x0000411c, 49540x00004311,0x00050041,0x000001c3,0x000043fa,
45720x000001b9,0x000001ba,0x0004003d,0x00000006, 49550x000001c1,0x000001c2,0x0004003d,0x00000006,
45730x0000411d,0x0000411c,0x00050084,0x00000006, 49560x000043fb,0x000043fa,0x00050084,0x00000006,
45740x0000411e,0x000000ec,0x0000411d,0x00050080, 49570x000043fc,0x000000f3,0x000043fb,0x00050080,
45750x00000006,0x0000411f,0x000001c4,0x0000411e, 49580x00000006,0x000043fd,0x000001cc,0x000043fc,
45760x00050041,0x00000266,0x00004035,0x000001b9, 49590x00050041,0x0000026e,0x00004313,0x000001c1,
45770x00000264,0x0004003d,0x00000007,0x00004036, 49600x0000026c,0x0004003d,0x00000007,0x00004314,
45780x00004035,0x00050051,0x00000006,0x00004136, 49610x00004313,0x00050051,0x00000006,0x00004414,
45790x00004036,0x00000000,0x00050095,0x0000013d, 49620x00004314,0x00000000,0x00050095,0x00000145,
45800x00004138,0x00004136,0x0000411f,0x00050051, 49630x00004416,0x00004414,0x000043fd,0x00050051,
45810x00000006,0x00004139,0x00004138,0x00000001, 49640x00000006,0x00004417,0x00004416,0x00000001,
45820x00050051,0x00000006,0x0000413a,0x00004138, 49650x00050051,0x00000006,0x00004418,0x00004416,
45830x00000000,0x00050051,0x00000006,0x0000413d, 49660x00000000,0x00050051,0x00000006,0x0000441b,
45840x00004036,0x00000001,0x00050080,0x00000006, 49670x00004314,0x00000001,0x00050080,0x00000006,
45850x0000413f,0x0000413d,0x00004139,0x00050050, 49680x0000441d,0x0000441b,0x00004417,0x00050050,
45860x00000007,0x00004140,0x0000413a,0x0000413f, 49690x00000007,0x0000441e,0x00004418,0x0000441d,
45870x0004007c,0x00000014,0x00004130,0x00004140, 49700x0004007c,0x00000014,0x0000440e,0x0000441e,
45880x00060041,0x0000016c,0x00004127,0x00004130, 49710x00060041,0x00000174,0x00004405,0x0000440e,
45890x0000016b,0x0000016b,0x0006003d,0x00000006, 49720x00000173,0x00000173,0x0006003d,0x00000006,
45900x00004128,0x00004127,0x00000002,0x00000004, 49730x00004406,0x00004405,0x00000002,0x00000004,
45910x00050041,0x00000009,0x00004038,0x00003ff4, 49740x00050041,0x00000009,0x00004316,0x000042d2,
45920x0000016b,0x0003003e,0x00004038,0x00004128, 49750x00000173,0x0003003e,0x00004316,0x00004406,
45930x0004003d,0x00000006,0x0000403a,0x00004038, 49760x0004003d,0x00000006,0x00004318,0x00004316,
45940x00050041,0x000001bb,0x00004143,0x000001b9, 49770x00050041,0x000001c3,0x00004421,0x000001c1,
45950x0000034a,0x0004003d,0x00000006,0x00004144, 49780x00000352,0x0004003d,0x00000006,0x00004422,
45960x00004143,0x00050041,0x000001bb,0x00004154, 49790x00004421,0x000500c7,0x00000006,0x00004434,
45970x000001b9,0x00000334,0x0004003d,0x00000006, 49800x000013a9,0x0000014a,0x000500ab,0x0000002f,
45980x00004155,0x00004154,0x000500c7,0x00000006, 49810x00004435,0x00004434,0x00000140,0x000600a9,
45990x00004156,0x00004155,0x00000142,0x000500ab, 49820x00000006,0x0000442f,0x00004435,0x0000034a,
46000x0000002f,0x00004157,0x00004156,0x00000138, 49830x000001cc,0x00050084,0x00000006,0x00004425,
46010x000600a9,0x00000006,0x00004151,0x00004157, 49840x00004318,0x0000442f,0x00050080,0x00000006,
46020x00000342,0x000001c4,0x00050084,0x00000006, 49850x00004426,0x00004422,0x00004425,0x000500c2,
46030x00004147,0x0000403a,0x00004151,0x00050080, 49860x00000006,0x00004427,0x00004426,0x00000359,
46040x00000006,0x00004148,0x00004144,0x00004147, 49870x000500c4,0x00000006,0x00004428,0x00004427,
46050x000500c2,0x00000006,0x00004149,0x00004148, 49880x00000325,0x000600a9,0x00000006,0x0000442a,
46060x00000351,0x000500c4,0x00000006,0x0000414a, 49890x00004435,0x0000035d,0x00000140,0x000500c5,
46070x00004149,0x0000031d,0x000600a9,0x00000006, 49900x00000006,0x0000442b,0x00004428,0x0000442a,
46080x0000414c,0x00004157,0x00000355,0x00000138, 49910x00050041,0x00000009,0x0000431a,0x000042d1,
46090x000500c5,0x00000006,0x0000414d,0x0000414a, 49920x00000173,0x0003003e,0x0000431a,0x0000442b,
46100x0000414c,0x00050041,0x00000009,0x0000403c, 49930x000200f9,0x0000431b,0x000200f8,0x0000431b,
46110x00003ff3,0x0000016b,0x0003003e,0x0000403c, 49940x000200f9,0x0000438c,0x000200f8,0x0000438c,
46120x0000414d,0x000200f9,0x0000403d,0x000200f8, 49950x000700f5,0x00000006,0x000061fe,0x00000140,
46130x0000403d,0x000200f9,0x000040ae,0x000200f8, 49960x0000431b,0x00004546,0x0000438b,0x000200f9,
46140x000040ae,0x000700f5,0x00000006,0x00005dd8, 49970x0000438d,0x000200f8,0x0000438d,0x000700f5,
46150x00000138,0x0000403d,0x00004268,0x000040ad, 49980x00000006,0x000061fc,0x00000140,0x0000438c,
46160x000200f9,0x000040af,0x000200f8,0x000040af, 49990x000043a6,0x000043a4,0x000500b0,0x0000002f,
46170x000700f5,0x00000006,0x00005dd6,0x00000138, 50000x00004390,0x000061fc,0x000000f3,0x000400f6,
46180x000040ae,0x000040c8,0x000040c6,0x000500b0, 50010x000043a7,0x000043a4,0x00000000,0x000400fa,
46190x0000002f,0x000040b2,0x00005dd6,0x000000ec, 50020x00004390,0x00004391,0x000043a7,0x000200f8,
46200x000400f6,0x000040c9,0x000040c6,0x00000000, 50030x00004391,0x00050041,0x00000009,0x00004393,
46210x000400fa,0x000040b2,0x000040b3,0x000040c9, 50040x000042d2,0x000061fc,0x0004003d,0x00000006,
46220x000200f8,0x000040b3,0x00050041,0x00000009, 50050x00004394,0x00004393,0x000500ab,0x0000002f,
46230x000040b5,0x00003ff4,0x00005dd6,0x0004003d, 50060x00004395,0x00004394,0x000003bf,0x000300f7,
46240x00000006,0x000040b6,0x000040b5,0x000500ab, 50070x000043a3,0x00000000,0x000400fa,0x00004395,
46250x0000002f,0x000040b7,0x000040b6,0x00000539, 50080x00004396,0x000043a3,0x000200f8,0x00004396,
46260x000300f7,0x000040c5,0x00000000,0x000400fa, 50090x00050041,0x000001c3,0x00004e52,0x000001c1,
46270x000040b7,0x000040b8,0x000040c5,0x000200f8, 50100x000001c2,0x0004003d,0x00000006,0x00004e53,
46280x000040b8,0x00050041,0x000001bb,0x00004b74, 50110x00004e52,0x00050084,0x00000006,0x00004e54,
46290x000001b9,0x000001ba,0x0004003d,0x00000006, 50120x000001e3,0x00004e53,0x00050080,0x00000006,
46300x00004b75,0x00004b74,0x00050084,0x00000006, 50130x00004e55,0x000001cc,0x00004e54,0x00050080,
46310x00004b76,0x000001db,0x00004b75,0x00050080, 50140x00000006,0x00004e5b,0x00004e53,0x00000695,
46320x00000006,0x00004b77,0x000001c4,0x00004b76, 50150x00050086,0x00000006,0x00004e5c,0x00004e5b,
46330x00050080,0x00000006,0x00004b7d,0x00004b75, 50160x000001c6,0x00050084,0x00000006,0x00004e4e,
46340x0000062f,0x00050086,0x00000006,0x00004b7e, 50170x000001cc,0x00004e5c,0x00050080,0x00000006,
46350x00004b7d,0x000001be,0x00050084,0x00000006, 50180x00004e4f,0x00004e55,0x00004e4e,0x00050080,
46360x00004b70,0x000001c4,0x00004b7e,0x00050080, 50190x00000006,0x00004e49,0x00004e4f,0x00004e4e,
46370x00000006,0x00004b71,0x00004b77,0x00004b70, 50200x00050084,0x00000006,0x00004e42,0x000001f7,
46380x00050080,0x00000006,0x00004b6b,0x00004b71, 50210x0000430b,0x00050080,0x00000006,0x00004e43,
46390x00004b70,0x00050084,0x00000006,0x00004b64, 50220x00004e49,0x00004e42,0x00050041,0x000001c3,
46400x000001ef,0x0000402d,0x00050080,0x00000006, 50230x00004e39,0x000001c1,0x0000020e,0x0004003d,
46410x00004b65,0x00004b6b,0x00004b64,0x00050041, 50240x00000006,0x00004e3a,0x00004e39,0x00050084,
46420x000001bb,0x00004b5b,0x000001b9,0x00000206, 50250x00000006,0x00004e3b,0x0000020d,0x00004e3a,
46430x0004003d,0x00000006,0x00004b5c,0x00004b5b, 50260x00050080,0x00000006,0x00004e3c,0x00004e43,
46440x00050084,0x00000006,0x00004b5d,0x00000205, 50270x00004e3b,0x000500ac,0x0000002f,0x00004e69,
46450x00004b5c,0x00050080,0x00000006,0x00004b5e, 50280x0000430b,0x0000014a,0x000300f7,0x00004e6f,
46460x00004b65,0x00004b5d,0x000500ac,0x0000002f, 50290x00000000,0x000400fa,0x00004e69,0x00004e6a,
46470x00004b8b,0x0000402d,0x00000142,0x000300f7, 50300x00004e6e,0x000200f8,0x00004e6e,0x000200f9,
46480x00004b91,0x00000000,0x000400fa,0x00004b8b, 50310x00004e6f,0x000200f8,0x00004e6a,0x00050082,
46490x00004b8c,0x00004b90,0x000200f8,0x00004b90, 50320x00000006,0x00004e6d,0x0000430b,0x0000014a,
46500x000200f9,0x00004b91,0x000200f8,0x00004b8c, 50330x000200f9,0x00004e6f,0x000200f8,0x00004e6f,
46510x00050082,0x00000006,0x00004b8f,0x0000402d, 50340x000700f5,0x00000006,0x00006258,0x00004e6d,
46520x00000142,0x000200f9,0x00004b91,0x000200f8, 50350x00004e6a,0x00000140,0x00004e6e,0x00050084,
46530x00004b91,0x000700f5,0x00000006,0x00005e32, 50360x00000006,0x00004e34,0x000000f3,0x00006258,
46540x00004b8f,0x00004b8c,0x00000138,0x00004b90, 50370x00050080,0x00000006,0x00004e35,0x00004e3c,
46550x00050084,0x00000006,0x00004b56,0x000000ec, 50380x00004e34,0x000300f7,0x00004e7c,0x00000000,
46560x00005e32,0x00050080,0x00000006,0x00004b57, 50390x000400fa,0x00004e69,0x00004e77,0x00004e7b,
46570x00004b5e,0x00004b56,0x000300f7,0x00004b9e, 50400x000200f8,0x00004e7b,0x000200f9,0x00004e7c,
46580x00000000,0x000400fa,0x00004b8b,0x00004b99, 50410x000200f8,0x00004e77,0x00050082,0x00000006,
46590x00004b9d,0x000200f8,0x00004b9d,0x000200f9, 50420x00004e7a,0x0000430b,0x0000014a,0x000200f9,
46600x00004b9e,0x000200f8,0x00004b99,0x00050082, 50430x00004e7c,0x000200f8,0x00004e7c,0x000700f5,
46610x00000006,0x00004b9c,0x0000402d,0x00000142, 50440x00000006,0x00006259,0x00004e7a,0x00004e77,
46620x000200f9,0x00004b9e,0x000200f8,0x00004b9e, 50450x00000140,0x00004e7b,0x00050084,0x00000006,
46630x000700f5,0x00000006,0x00005e33,0x00004b9c, 50460x00004e2e,0x000000f3,0x00006259,0x00050080,
46640x00004b99,0x00000138,0x00004b9d,0x00050084, 50470x00000006,0x00004e2f,0x00004e35,0x00004e2e,
46650x00000006,0x00004b50,0x000000ec,0x00005e33, 50480x000300f7,0x00004e89,0x00000000,0x000400fa,
46660x00050080,0x00000006,0x00004b51,0x00004b57, 50490x00004e69,0x00004e84,0x00004e88,0x000200f8,
46670x00004b50,0x000300f7,0x00004bab,0x00000000, 50500x00004e88,0x000200f9,0x00004e89,0x000200f8,
46680x000400fa,0x00004b8b,0x00004ba6,0x00004baa, 50510x00004e84,0x00050082,0x00000006,0x00004e87,
46690x000200f8,0x00004baa,0x000200f9,0x00004bab, 50520x0000430b,0x0000014a,0x000200f9,0x00004e89,
46700x000200f8,0x00004ba6,0x00050082,0x00000006, 50530x000200f8,0x00004e89,0x000700f5,0x00000006,
46710x00004ba9,0x0000402d,0x00000142,0x000200f9, 50540x0000625a,0x00004e87,0x00004e84,0x00000140,
46720x00004bab,0x000200f8,0x00004bab,0x000700f5, 50550x00004e88,0x00050084,0x00000006,0x00004e28,
46730x00000006,0x00005e34,0x00004ba9,0x00004ba6, 50560x000000f3,0x0000625a,0x00050080,0x00000006,
46740x00000138,0x00004baa,0x00050084,0x00000006, 50570x00004e29,0x00004e2f,0x00004e28,0x000300f7,
46750x00004b4a,0x000000ec,0x00005e34,0x00050080, 50580x00004e96,0x00000000,0x000400fa,0x00004e69,
46760x00000006,0x00004b4b,0x00004b51,0x00004b4a, 50590x00004e91,0x00004e95,0x000200f8,0x00004e95,
46770x000300f7,0x00004bb8,0x00000000,0x000400fa, 50600x000200f9,0x00004e96,0x000200f8,0x00004e91,
46780x00004b8b,0x00004bb3,0x00004bb7,0x000200f8, 50610x00050082,0x00000006,0x00004e94,0x0000430b,
46790x00004bb7,0x000200f9,0x00004bb8,0x000200f8, 50620x0000014a,0x000200f9,0x00004e96,0x000200f8,
46800x00004bb3,0x00050082,0x00000006,0x00004bb6, 50630x00004e96,0x000700f5,0x00000006,0x0000625b,
46810x0000402d,0x00000142,0x000200f9,0x00004bb8, 50640x00004e94,0x00004e91,0x00000140,0x00004e95,
46820x000200f8,0x00004bb8,0x000700f5,0x00000006, 50650x00050084,0x00000006,0x00004e22,0x000000f3,
46830x00005e35,0x00004bb6,0x00004bb3,0x00000138, 50660x0000625b,0x00050080,0x00000006,0x00004e23,
46840x00004bb7,0x00050084,0x00000006,0x00004b44, 50670x00004e29,0x00004e22,0x000300f7,0x00004ea3,
46850x000000ec,0x00005e35,0x00050080,0x00000006, 50680x00000000,0x000400fa,0x00004e69,0x00004e9e,
46860x00004b45,0x00004b4b,0x00004b44,0x000300f7, 50690x00004ea2,0x000200f8,0x00004ea2,0x000200f9,
46870x00004bc5,0x00000000,0x000400fa,0x00004b8b, 50700x00004ea3,0x000200f8,0x00004e9e,0x00050082,
46880x00004bc0,0x00004bc4,0x000200f8,0x00004bc4, 50710x00000006,0x00004ea1,0x0000430b,0x0000014a,
46890x000200f9,0x00004bc5,0x000200f8,0x00004bc0, 50720x000200f9,0x00004ea3,0x000200f8,0x00004ea3,
46900x00050082,0x00000006,0x00004bc3,0x0000402d, 50730x000700f5,0x00000006,0x0000625c,0x00004ea1,
46910x00000142,0x000200f9,0x00004bc5,0x000200f8, 50740x00004e9e,0x00000140,0x00004ea2,0x00050084,
46920x00004bc5,0x000700f5,0x00000006,0x00005e36, 50750x00000006,0x00004e1c,0x000000f3,0x0000625c,
46930x00004bc3,0x00004bc0,0x00000138,0x00004bc4, 50760x00050080,0x00000006,0x00004e1d,0x00004e23,
46940x00050084,0x00000006,0x00004b3e,0x000000ec, 50770x00004e1c,0x000300f7,0x00004eb6,0x00000000,
46950x00005e36,0x00050080,0x00000006,0x00004b3f, 50780x000400fa,0x00004e69,0x00004eb1,0x00004eb5,
46960x00004b45,0x00004b3e,0x000300f7,0x00004bd8, 50790x000200f8,0x00004eb5,0x000200f9,0x00004eb6,
46970x00000000,0x000400fa,0x00004b8b,0x00004bd3, 50800x000200f8,0x00004eb1,0x00050082,0x00000006,
46980x00004bd7,0x000200f8,0x00004bd7,0x000200f9, 50810x00004eb4,0x0000430b,0x0000014a,0x000200f9,
46990x00004bd8,0x000200f8,0x00004bd3,0x00050082, 50820x00004eb6,0x000200f8,0x00004eb6,0x000700f5,
47000x00000006,0x00004bd6,0x0000402d,0x00000142, 50830x00000006,0x0000625d,0x00004eb4,0x00004eb1,
47010x000200f9,0x00004bd8,0x000200f8,0x00004bd8, 50840x00000140,0x00004eb5,0x00050080,0x00000006,
47020x000700f5,0x00000006,0x00005e37,0x00004bd6, 50850x00004ea9,0x0000625d,0x00000695,0x00050086,
47030x00004bd3,0x00000138,0x00004bd7,0x00050080, 50860x00000006,0x00004eaa,0x00004ea9,0x000001c6,
47040x00000006,0x00004bcb,0x00005e37,0x0000062f, 50870x00050084,0x00000006,0x00004e16,0x000000f3,
47050x00050086,0x00000006,0x00004bcc,0x00004bcb, 50880x00004eaa,0x00050080,0x00000006,0x00004e17,
47060x000001be,0x00050084,0x00000006,0x00004b38, 50890x00004e1d,0x00004e16,0x000300f7,0x00004ec9,
47070x000000ec,0x00004bcc,0x00050080,0x00000006, 50900x00000000,0x000400fa,0x00004e69,0x00004ec4,
47080x00004b39,0x00004b3f,0x00004b38,0x000300f7, 50910x00004ec8,0x000200f8,0x00004ec8,0x000200f9,
47090x00004beb,0x00000000,0x000400fa,0x00004b8b, 50920x00004ec9,0x000200f8,0x00004ec4,0x00050082,
47100x00004be6,0x00004bea,0x000200f8,0x00004bea, 50930x00000006,0x00004ec7,0x0000430b,0x0000014a,
47110x000200f9,0x00004beb,0x000200f8,0x00004be6, 50940x000200f9,0x00004ec9,0x000200f8,0x00004ec9,
47120x00050082,0x00000006,0x00004be9,0x0000402d, 50950x000700f5,0x00000006,0x0000625e,0x00004ec7,
47130x00000142,0x000200f9,0x00004beb,0x000200f8, 50960x00004ec4,0x00000140,0x00004ec8,0x00050080,
47140x00004beb,0x000700f5,0x00000006,0x00005e38, 50970x00000006,0x00004ebc,0x0000625e,0x00000695,
47150x00004be9,0x00004be6,0x00000138,0x00004bea, 50980x00050086,0x00000006,0x00004ebd,0x00004ebc,
47160x00050080,0x00000006,0x00004bde,0x00005e38, 50990x000001c6,0x00050084,0x00000006,0x00004e10,
47170x0000062f,0x00050086,0x00000006,0x00004bdf, 51000x000000f3,0x00004ebd,0x00050080,0x00000006,
47180x00004bde,0x000001be,0x00050084,0x00000006, 51010x00004e11,0x00004e17,0x00004e10,0x0004003d,
47190x00004b32,0x000000ec,0x00004bdf,0x00050080, 51020x00000006,0x0000439a,0x00004393,0x00050084,
47200x00000006,0x00004b33,0x00004b39,0x00004b32, 51030x00000006,0x0000439b,0x000000f3,0x0000439a,
47210x0004003d,0x00000006,0x000040bc,0x000040b5, 51040x00050080,0x00000006,0x0000439c,0x00004e11,
47220x00050084,0x00000006,0x000040bd,0x000000ec, 51050x0000439b,0x00050041,0x0000026e,0x0000439e,
47230x000040bc,0x00050080,0x00000006,0x000040be, 51060x000001c1,0x0000026c,0x0004003d,0x00000007,
47240x00004b33,0x000040bd,0x00050041,0x00000266, 51070x0000439f,0x0000439e,0x00050041,0x00000009,
47250x000040c0,0x000001b9,0x00000264,0x0004003d, 51080x000043a0,0x000042d1,0x000061fc,0x0004003d,
47260x00000007,0x000040c1,0x000040c0,0x00050041, 51090x00000006,0x000043a1,0x000043a0,0x00050051,
47270x00000009,0x000040c2,0x00003ff3,0x00005dd6, 51100x00000006,0x00004ee0,0x0000439f,0x00000000,
47280x0004003d,0x00000006,0x000040c3,0x000040c2, 51110x00050095,0x00000145,0x00004ee2,0x00004ee0,
47290x00050051,0x00000006,0x00004c02,0x000040c1, 51120x0000439c,0x00050051,0x00000006,0x00004ee3,
47300x00000000,0x00050095,0x0000013d,0x00004c04, 51130x00004ee2,0x00000001,0x00050051,0x00000006,
47310x00004c02,0x000040be,0x00050051,0x00000006, 51140x00004ee4,0x00004ee2,0x00000000,0x00050051,
47320x00004c05,0x00004c04,0x00000001,0x00050051, 51150x00000006,0x00004ee7,0x0000439f,0x00000001,
47330x00000006,0x00004c06,0x00004c04,0x00000000, 51160x00050080,0x00000006,0x00004ee9,0x00004ee7,
47340x00050051,0x00000006,0x00004c09,0x000040c1, 51170x00004ee3,0x00050050,0x00000007,0x00004eea,
47350x00000001,0x00050080,0x00000006,0x00004c0b, 51180x00004ee4,0x00004ee9,0x0004007c,0x00000014,
47360x00004c09,0x00004c05,0x00050050,0x00000007, 51190x00004eda,0x00004eea,0x00060041,0x00000174,
47370x00004c0c,0x00004c06,0x00004c0b,0x0004007c, 51200x00004ed2,0x00004eda,0x00000173,0x00000173,
47380x00000014,0x00004bfc,0x00004c0c,0x00060041, 51210x0005003e,0x00004ed2,0x000043a1,0x00000002,
47390x0000016c,0x00004bf4,0x00004bfc,0x0000016b, 51220x00000004,0x000200f9,0x000043a3,0x000200f8,
47400x0000016b,0x0005003e,0x00004bf4,0x000040c3, 51230x000043a3,0x000200f9,0x000043a4,0x000200f8,
47410x00000002,0x00000004,0x000200f9,0x000040c5, 51240x000043a4,0x00050080,0x00000006,0x000043a6,
47420x000200f8,0x000040c5,0x000200f9,0x000040c6, 51250x000061fc,0x0000026c,0x000200f9,0x0000438d,
47430x000200f8,0x000040c6,0x00050080,0x00000006, 51260x000200f8,0x000043a7,0x00050041,0x000001c3,
47440x000040c8,0x00005dd6,0x00000264,0x000200f9, 51270x00004eed,0x000001c1,0x00000362,0x0004003d,
47450x000040af,0x000200f8,0x000040c9,0x00050041, 51280x00000006,0x00004eee,0x00004eed,0x000500c7,
47460x000001bb,0x00004c0f,0x000001b9,0x0000035a, 51290x00000006,0x00004f00,0x000013a9,0x00000288,
47470x0004003d,0x00000006,0x00004c10,0x00004c0f, 51300x000500ab,0x0000002f,0x00004f01,0x00004f00,
47480x00050041,0x000001bb,0x00004c20,0x000001b9, 51310x00000140,0x000600a9,0x00000006,0x00004efb,
47490x00000334,0x0004003d,0x00000006,0x00004c21, 51320x00004f01,0x000001cc,0x0000034a,0x00050084,
47500x00004c20,0x000500c7,0x00000006,0x00004c22, 51330x00000006,0x00004ef1,0x000061fe,0x00004efb,
47510x00004c21,0x00000280,0x000500ab,0x0000002f, 51340x00050080,0x00000006,0x00004ef2,0x00004eee,
47520x00004c23,0x00004c22,0x00000138,0x000600a9, 51350x00004ef1,0x000500c2,0x00000006,0x00004ef3,
47530x00000006,0x00004c1d,0x00004c23,0x000001c4, 51360x00004ef2,0x00000359,0x000500c4,0x00000006,
47540x00000342,0x00050084,0x00000006,0x00004c13, 51370x00004ef4,0x00004ef3,0x00000325,0x000600a9,
47550x00005dd8,0x00004c1d,0x00050080,0x00000006, 51380x00000006,0x00004ef6,0x00004f01,0x000000f3,
47560x00004c14,0x00004c10,0x00004c13,0x000500c2, 51390x0000036c,0x000500c5,0x00000006,0x00004ef7,
47570x00000006,0x00004c15,0x00004c14,0x00000351, 51400x00004ef4,0x00004ef6,0x000200f9,0x000043b0,
47580x000500c4,0x00000006,0x00004c16,0x00004c15, 51410x000200f8,0x000043b0,0x000700f5,0x00000006,
47590x0000031d,0x000600a9,0x00000006,0x00004c18, 51420x00006221,0x00000140,0x000043a7,0x000043de,
47600x00004c23,0x000000ec,0x00000364,0x000500c5, 51430x000043dc,0x000500b0,0x0000002f,0x000043b3,
47610x00000006,0x00004c19,0x00004c16,0x00004c18, 51440x00006221,0x000000f3,0x000400f6,0x000043df,
47620x000200f9,0x000040d2,0x000200f8,0x000040d2, 51450x000043dc,0x00000000,0x000400fa,0x000043b3,
47630x000700f5,0x00000006,0x00005dfb,0x00000138, 51460x000043b4,0x000043df,0x000200f8,0x000043b4,
47640x000040c9,0x00004100,0x000040fe,0x000500b0, 51470x00050084,0x00000006,0x000043b7,0x000000f3,
47650x0000002f,0x000040d5,0x00005dfb,0x000000ec, 51480x00006221,0x00050080,0x00000006,0x000043b8,
47660x000400f6,0x00004101,0x000040fe,0x00000000, 51490x00004ef2,0x000043b7,0x00050041,0x0000026e,
47670x000400fa,0x000040d5,0x000040d6,0x00004101, 51500x000043ba,0x000001c1,0x00000173,0x0004003d,
47680x000200f8,0x000040d6,0x00050084,0x00000006, 51510x00000007,0x000043bb,0x000043ba,0x00050041,
47690x000040d9,0x000000ec,0x00005dfb,0x00050080, 51520x00000009,0x000043bc,0x000042d1,0x00006221,
47700x00000006,0x000040da,0x00004c14,0x000040d9, 51530x0004003d,0x00000006,0x000043bd,0x000043bc,
47710x00050041,0x00000266,0x000040dc,0x000001b9, 51540x00050051,0x00000006,0x00004f27,0x000043bb,
47720x0000016b,0x0004003d,0x00000007,0x000040dd, 51550x00000000,0x00050095,0x00000145,0x00004f29,
47730x000040dc,0x00050041,0x00000009,0x000040de, 51560x00004f27,0x000043b8,0x00050051,0x00000006,
47740x00003ff3,0x00005dfb,0x0004003d,0x00000006, 51570x00004f2a,0x00004f29,0x00000001,0x00050051,
47750x000040df,0x000040de,0x00050051,0x00000006, 51580x00000006,0x00004f2b,0x00004f29,0x00000000,
47760x00004c49,0x000040dd,0x00000000,0x00050095, 51590x00050051,0x00000006,0x00004f2e,0x000043bb,
47770x0000013d,0x00004c4b,0x00004c49,0x000040da, 51600x00000001,0x00050080,0x00000006,0x00004f30,
47780x00050051,0x00000006,0x00004c4c,0x00004c4b, 51610x00004f2e,0x00004f2a,0x00050050,0x00000007,
47790x00000001,0x00050051,0x00000006,0x00004c4d, 51620x00004f31,0x00004f2b,0x00004f30,0x0004007c,
47800x00004c4b,0x00000000,0x00050051,0x00000006, 51630x00000014,0x00004f21,0x00004f31,0x00060041,
47810x00004c50,0x000040dd,0x00000001,0x00050080, 51640x00000174,0x00004f19,0x00004f21,0x00000173,
47820x00000006,0x00004c52,0x00004c50,0x00004c4c, 51650x00000173,0x0005003e,0x00004f19,0x000043bd,
47830x00050050,0x00000007,0x00004c53,0x00004c4d, 51660x00000002,0x00000004,0x0004003d,0x00000006,
47840x00004c52,0x0004007c,0x00000014,0x00004c43, 51670x000043c1,0x000043bc,0x000500ab,0x0000002f,
47850x00004c53,0x00060041,0x0000016c,0x00004c3b, 51680x000043c2,0x000043c1,0x000003bf,0x000300f7,
47860x00004c43,0x0000016b,0x0000016b,0x0005003e, 51690x000043d4,0x00000000,0x000400fa,0x000043c2,
47870x00004c3b,0x000040df,0x00000002,0x00000004, 51700x000043c3,0x000043d4,0x000200f8,0x000043c3,
47880x0004003d,0x00000006,0x000040e3,0x000040de, 51710x00050041,0x000001c3,0x000043c4,0x000001c1,
47890x000500ab,0x0000002f,0x000040e4,0x000040e3, 51720x000003c1,0x0004003d,0x00000006,0x000043c5,
47900x00000539,0x000300f7,0x000040f6,0x00000000, 51730x000043c4,0x0004003d,0x00000006,0x000043c8,
47910x000400fa,0x000040e4,0x000040e5,0x000040f6, 51740x000043bc,0x000500c2,0x00000006,0x00004f35,
47920x000200f8,0x000040e5,0x00050041,0x000001bb, 51750x000043c8,0x00000325,0x00050041,0x000001c3,
47930x000040e6,0x000001b9,0x000010be,0x0004003d, 51760x000043ca,0x000001c1,0x00000352,0x0004003d,
47940x00000006,0x000040e7,0x000040e6,0x0004003d, 51770x00000006,0x000043cb,0x000043ca,0x00050086,
47950x00000006,0x000040ea,0x000040de,0x000500c2, 51780x00000006,0x000043cc,0x000043cb,0x000001cc,
47960x00000006,0x00004c57,0x000040ea,0x0000031d, 51790x00050082,0x00000006,0x000043cd,0x00004f35,
47970x00050041,0x000001bb,0x000040ec,0x000001b9, 51800x000043cc,0x00050084,0x00000006,0x000043ce,
47980x0000034a,0x0004003d,0x00000006,0x000040ed, 51810x000000f3,0x000043cd,0x00050080,0x00000006,
47990x000040ec,0x00050086,0x00000006,0x000040ee, 51820x000043cf,0x000043c5,0x000043ce,0x00050095,
48000x000040ed,0x000001c4,0x00050082,0x00000006, 51830x00000145,0x00004f4d,0x00004f27,0x000043cf,
48010x000040ef,0x00004c57,0x000040ee,0x00050084, 51840x00050051,0x00000006,0x00004f4e,0x00004f4d,
48020x00000006,0x000040f0,0x000000ec,0x000040ef, 51850x00000001,0x00050051,0x00000006,0x00004f4f,
48030x00050080,0x00000006,0x000040f1,0x000040e7, 51860x00004f4d,0x00000000,0x00050080,0x00000006,
48040x000040f0,0x00050095,0x0000013d,0x00004c6f, 51870x00004f54,0x00004f2e,0x00004f4e,0x00050050,
48050x00004c49,0x000040f1,0x00050051,0x00000006, 51880x00000007,0x00004f55,0x00004f4f,0x00004f54,
48060x00004c70,0x00004c6f,0x00000001,0x00050051, 51890x0004007c,0x00000014,0x00004f45,0x00004f55,
48070x00000006,0x00004c71,0x00004c6f,0x00000000, 51900x00060041,0x00000174,0x00004f3d,0x00004f45,
48080x00050080,0x00000006,0x00004c76,0x00004c50, 51910x00000173,0x00000173,0x0005003e,0x00004f3d,
48090x00004c70,0x00050050,0x00000007,0x00004c77, 51920x00004ef7,0x00000002,0x00000004,0x000200f9,
48100x00004c71,0x00004c76,0x0004007c,0x00000014, 51930x000043dc,0x000200f8,0x000043d4,0x000300f7,
48110x00004c67,0x00004c77,0x00060041,0x0000016c, 51940x00004fae,0x00000000,0x000300fb,0x00000140,
48120x00004c5f,0x00004c67,0x0000016b,0x0000016b, 51950x00004f74,0x000200f8,0x00004f74,0x000300f7,
48130x0005003e,0x00004c5f,0x00004c19,0x00000002, 51960x00004f7f,0x00000000,0x000400fa,0x00004f01,
48140x00000004,0x000200f9,0x000040fe,0x000200f8, 51970x00004f76,0x00004f7f,0x000200f8,0x00004f76,
48150x000040f6,0x000300f7,0x00004cd0,0x00000000, 51980x00050080,0x00000006,0x00004f78,0x00004ef2,
48160x000300fb,0x00000138,0x00004c96,0x000200f8, 51990x000001e3,0x00050084,0x00000006,0x00004f7a,
48170x00004c96,0x000300f7,0x00004ca1,0x00000000, 52000x000001dc,0x00006221,0x00050080,0x00000006,
48180x000400fa,0x00004c23,0x00004c98,0x00004ca1, 52010x00004f7b,0x00004f78,0x00004f7a,0x00050095,
48190x000200f8,0x00004c98,0x00050080,0x00000006, 52020x00000145,0x000050aa,0x00004f27,0x00004f7b,
48200x00004c9a,0x00004c14,0x000001db,0x00050084, 52030x00050051,0x00000006,0x000050ab,0x000050aa,
48210x00000006,0x00004c9c,0x000001d4,0x00005dfb, 52040x00000001,0x00050051,0x00000006,0x000050ac,
48220x00050080,0x00000006,0x00004c9d,0x00004c9a, 52050x000050aa,0x00000000,0x00050080,0x00000006,
48230x00004c9c,0x00050095,0x0000013d,0x00004dcc, 52060x000050b1,0x00004f2e,0x000050ab,0x00050050,
48240x00004c49,0x00004c9d,0x00050051,0x00000006, 52070x00000007,0x000050b2,0x000050ac,0x000050b1,
48250x00004dcd,0x00004dcc,0x00000001,0x00050051, 52080x0004007c,0x00000014,0x000050a2,0x000050b2,
48260x00000006,0x00004dce,0x00004dcc,0x00000000, 52090x00060041,0x00000174,0x0000509a,0x000050a2,
48270x00050080,0x00000006,0x00004dd3,0x00004c50, 52100x00000173,0x00000173,0x0005003e,0x0000509a,
48280x00004dcd,0x00050050,0x00000007,0x00004dd4, 52110x00006548,0x00000002,0x00000004,0x00050080,
48290x00004dce,0x00004dd3,0x0004007c,0x00000014, 52120x00000006,0x00004fd2,0x00004f7b,0x000000f3,
48300x00004dc4,0x00004dd4,0x00060041,0x0000016c, 52130x00050095,0x00000145,0x00005172,0x00004f27,
48310x00004dbc,0x00004dc4,0x0000016b,0x0000016b, 52140x00004fd2,0x00050051,0x00000006,0x00005173,
48320x0005003e,0x00004dbc,0x00006112,0x00000002, 52150x00005172,0x00000001,0x00050051,0x00000006,
48330x00000004,0x00050080,0x00000006,0x00004cf4, 52160x00005174,0x00005172,0x00000000,0x00050080,
48340x00004c9d,0x000000ec,0x00050095,0x0000013d, 52170x00000006,0x00005179,0x00004f2e,0x00005173,
48350x00004e94,0x00004c49,0x00004cf4,0x00050051, 52180x00050050,0x00000007,0x0000517a,0x00005174,
48360x00000006,0x00004e95,0x00004e94,0x00000001, 52190x00005179,0x0004007c,0x00000014,0x0000516a,
48370x00050051,0x00000006,0x00004e96,0x00004e94, 52200x0000517a,0x00060041,0x00000174,0x00005162,
48380x00000000,0x00050080,0x00000006,0x00004e9b, 52210x0000516a,0x00000173,0x00000173,0x0005003e,
48390x00004c50,0x00004e95,0x00050050,0x00000007, 52220x00005162,0x0000654a,0x00000002,0x00000004,
48400x00004e9c,0x00004e96,0x00004e9b,0x0004007c, 52230x00050080,0x00000006,0x00004fdf,0x00004f7b,
48410x00000014,0x00004e8c,0x00004e9c,0x00060041, 52240x000001d5,0x00050095,0x00000145,0x0000523a,
48420x0000016c,0x00004e84,0x00004e8c,0x0000016b, 52250x00004f27,0x00004fdf,0x00050051,0x00000006,
48430x0000016b,0x0005003e,0x00004e84,0x00006114, 52260x0000523b,0x0000523a,0x00000001,0x00050051,
48440x00000002,0x00000004,0x00050080,0x00000006, 52270x00000006,0x0000523c,0x0000523a,0x00000000,
48450x00004d01,0x00004c9d,0x000001cd,0x00050095, 52280x00050080,0x00000006,0x00005241,0x00004f2e,
48460x0000013d,0x00004f5c,0x00004c49,0x00004d01, 52290x0000523b,0x00050050,0x00000007,0x00005242,
48470x00050051,0x00000006,0x00004f5d,0x00004f5c, 52300x0000523c,0x00005241,0x0004007c,0x00000014,
48480x00000001,0x00050051,0x00000006,0x00004f5e, 52310x00005232,0x00005242,0x00060041,0x00000174,
48490x00004f5c,0x00000000,0x00050080,0x00000006, 52320x0000522a,0x00005232,0x00000173,0x00000173,
48500x00004f63,0x00004c50,0x00004f5d,0x00050050, 52330x0005003e,0x0000522a,0x0000654b,0x00000002,
48510x00000007,0x00004f64,0x00004f5e,0x00004f63, 52340x00000004,0x000200f9,0x00004fae,0x000200f8,
48520x0004007c,0x00000014,0x00004f54,0x00004f64, 52350x00004f7f,0x00050080,0x00000006,0x00004f81,
48530x00060041,0x0000016c,0x00004f4c,0x00004f54, 52360x00004ef2,0x000001e3,0x00050084,0x00000006,
48540x0000016b,0x0000016b,0x0005003e,0x00004f4c, 52370x00004f83,0x000001f7,0x00006221,0x00050080,
48550x00006115,0x00000002,0x00000004,0x000200f9, 52380x00000006,0x00004f84,0x00004f81,0x00004f83,
48560x00004cd0,0x000200f8,0x00004ca1,0x00050080, 52390x00050095,0x00000145,0x00005263,0x00004f27,
48570x00000006,0x00004ca3,0x00004c14,0x000001db, 52400x00004f84,0x00050051,0x00000006,0x00005264,
48580x00050084,0x00000006,0x00004ca5,0x000001ef, 52410x00005263,0x00000001,0x00050051,0x00000006,
48590x00005dfb,0x00050080,0x00000006,0x00004ca6, 52420x00005265,0x00005263,0x00000000,0x00050080,
48600x00004ca3,0x00004ca5,0x00050095,0x0000013d, 52430x00000006,0x0000526a,0x00004f2e,0x00005264,
48610x00004f85,0x00004c49,0x00004ca6,0x00050051, 52440x00050050,0x00000007,0x0000526b,0x00005265,
48620x00000006,0x00004f86,0x00004f85,0x00000001, 52450x0000526a,0x0004007c,0x00000014,0x0000525b,
48630x00050051,0x00000006,0x00004f87,0x00004f85, 52460x0000526b,0x00060041,0x00000174,0x00005253,
48640x00000000,0x00050080,0x00000006,0x00004f8c, 52470x0000525b,0x00000173,0x00000173,0x0005003e,
48650x00004c50,0x00004f86,0x00050050,0x00000007, 52480x00005253,0x000003dc,0x00000002,0x00000004,
48660x00004f8d,0x00004f87,0x00004f8c,0x0004007c, 52490x00050080,0x00000006,0x00004f8c,0x00004f84,
48670x00000014,0x00004f7d,0x00004f8d,0x00060041, 52500x000000f3,0x00050095,0x00000145,0x0000528c,
48680x0000016c,0x00004f75,0x00004f7d,0x0000016b, 52510x00004f27,0x00004f8c,0x00050051,0x00000006,
48690x0000016b,0x0005003e,0x00004f75,0x0000037e, 52520x0000528d,0x0000528c,0x00000001,0x00050051,
48700x00000002,0x00000004,0x00050080,0x00000006, 52530x00000006,0x0000528e,0x0000528c,0x00000000,
48710x00004cae,0x00004ca6,0x000000ec,0x00050095, 52540x00050080,0x00000006,0x00005293,0x00004f2e,
48720x0000013d,0x00004fae,0x00004c49,0x00004cae, 52550x0000528d,0x00050050,0x00000007,0x00005294,
48730x00050051,0x00000006,0x00004faf,0x00004fae, 52560x0000528e,0x00005293,0x0004007c,0x00000014,
48740x00000001,0x00050051,0x00000006,0x00004fb0, 52570x00005284,0x00005294,0x00060041,0x00000174,
48750x00004fae,0x00000000,0x00050080,0x00000006, 52580x0000527c,0x00005284,0x00000173,0x00000173,
48760x00004fb5,0x00004c50,0x00004faf,0x00050050, 52590x0005003e,0x0000527c,0x000003dc,0x00000002,
48770x00000007,0x00004fb6,0x00004fb0,0x00004fb5, 52600x00000004,0x00050080,0x00000006,0x00004f93,
48780x0004007c,0x00000014,0x00004fa6,0x00004fb6, 52610x00004f84,0x000001d5,0x00050095,0x00000145,
48790x00060041,0x0000016c,0x00004f9e,0x00004fa6, 52620x000052b5,0x00004f27,0x00004f93,0x00050051,
48800x0000016b,0x0000016b,0x0005003e,0x00004f9e, 52630x00000006,0x000052b6,0x000052b5,0x00000001,
48810x0000037e,0x00000002,0x00000004,0x00050080, 52640x00050051,0x00000006,0x000052b7,0x000052b5,
48820x00000006,0x00004cb5,0x00004ca6,0x000001cd, 52650x00000000,0x00050080,0x00000006,0x000052bc,
48830x00050095,0x0000013d,0x00004fd7,0x00004c49, 52660x00004f2e,0x000052b6,0x00050050,0x00000007,
48840x00004cb5,0x00050051,0x00000006,0x00004fd8, 52670x000052bd,0x000052b7,0x000052bc,0x0004007c,
48850x00004fd7,0x00000001,0x00050051,0x00000006, 52680x00000014,0x000052ad,0x000052bd,0x00060041,
48860x00004fd9,0x00004fd7,0x00000000,0x00050080, 52690x00000174,0x000052a5,0x000052ad,0x00000173,
48870x00000006,0x00004fde,0x00004c50,0x00004fd8, 52700x00000173,0x0005003e,0x000052a5,0x000003dc,
48880x00050050,0x00000007,0x00004fdf,0x00004fd9,
48890x00004fde,0x0004007c,0x00000014,0x00004fcf,
48900x00004fdf,0x00060041,0x0000016c,0x00004fc7,
48910x00004fcf,0x0000016b,0x0000016b,0x0005003e,
48920x00004fc7,0x0000037e,0x00000002,0x00000004,
48930x00050080,0x00000006,0x00004cbc,0x00004ca6,
48940x000001d4,0x00050095,0x0000013d,0x00005000,
48950x00004c49,0x00004cbc,0x00050051,0x00000006,
48960x00005001,0x00005000,0x00000001,0x00050051,
48970x00000006,0x00005002,0x00005000,0x00000000,
48980x00050080,0x00000006,0x00005007,0x00004c50,
48990x00005001,0x00050050,0x00000007,0x00005008,
49000x00005002,0x00005007,0x0004007c,0x00000014,
49010x00004ff8,0x00005008,0x00060041,0x0000016c,
49020x00004ff0,0x00004ff8,0x0000016b,0x0000016b,
49030x0005003e,0x00004ff0,0x00006100,0x00000002,
49040x00000004,0x00050080,0x00000006,0x00004cc3,
49050x00004ca6,0x000001db,0x00050095,0x0000013d,
49060x00005029,0x00004c49,0x00004cc3,0x00050051,
49070x00000006,0x0000502a,0x00005029,0x00000001,
49080x00050051,0x00000006,0x0000502b,0x00005029,
49090x00000000,0x00050080,0x00000006,0x00005030,
49100x00004c50,0x0000502a,0x00050050,0x00000007,
49110x00005031,0x0000502b,0x00005030,0x0004007c,
49120x00000014,0x00005021,0x00005031,0x00060041,
49130x0000016c,0x00005019,0x00005021,0x0000016b,
49140x0000016b,0x0005003e,0x00005019,0x00006100,
49150x00000002,0x00000004,0x00050080,0x00000006, 52710x00000002,0x00000004,0x00050080,0x00000006,
49160x00004cca,0x00004ca6,0x00000299,0x00050095, 52720x00004f9a,0x00004f84,0x000001dc,0x00050095,
49170x0000013d,0x00005052,0x00004c49,0x00004cca, 52730x00000145,0x000052de,0x00004f27,0x00004f9a,
49180x00050051,0x00000006,0x00005053,0x00005052, 52740x00050051,0x00000006,0x000052df,0x000052de,
49190x00000001,0x00050051,0x00000006,0x00005054, 52750x00000001,0x00050051,0x00000006,0x000052e0,
49200x00005052,0x00000000,0x00050080,0x00000006, 52760x000052de,0x00000000,0x00050080,0x00000006,
49210x00005059,0x00004c50,0x00005053,0x00050050, 52770x000052e5,0x00004f2e,0x000052df,0x00050050,
49220x00000007,0x0000505a,0x00005054,0x00005059, 52780x00000007,0x000052e6,0x000052e0,0x000052e5,
49230x0004007c,0x00000014,0x0000504a,0x0000505a, 52790x0004007c,0x00000014,0x000052d6,0x000052e6,
49240x00060041,0x0000016c,0x00005042,0x0000504a, 52800x00060041,0x00000174,0x000052ce,0x000052d6,
49250x0000016b,0x0000016b,0x0005003e,0x00005042, 52810x00000173,0x00000173,0x0005003e,0x000052ce,
49260x00006100,0x00000002,0x00000004,0x000200f9, 52820x00006534,0x00000002,0x00000004,0x00050080,
49270x00004cd0,0x000200f8,0x00004cd0,0x000200f9, 52830x00000006,0x00004fa1,0x00004f84,0x000001e3,
49280x000040fe,0x000200f8,0x000040fe,0x00050080, 52840x00050095,0x00000145,0x00005307,0x00004f27,
49290x00000006,0x00004100,0x00005dfb,0x00000264, 52850x00004fa1,0x00050051,0x00000006,0x00005308,
49300x000200f9,0x000040d2,0x000200f8,0x00004101, 52860x00005307,0x00000001,0x00050051,0x00000006,
49310x000400a8,0x0000002f,0x00004103,0x00004c23, 52870x00005309,0x00005307,0x00000000,0x00050080,
49320x000300f7,0x00004116,0x00000000,0x000400fa, 52880x00000006,0x0000530e,0x00004f2e,0x00005308,
49330x00004103,0x00004104,0x00004116,0x000200f8, 52890x00050050,0x00000007,0x0000530f,0x00005309,
49340x00004104,0x000200f9,0x00004105,0x000200f8, 52900x0000530e,0x0004007c,0x00000014,0x000052ff,
49350x00004105,0x000700f5,0x00000006,0x00005dfc, 52910x0000530f,0x00060041,0x00000174,0x000052f7,
49360x00000138,0x00004104,0x00004114,0x00004109, 52920x000052ff,0x00000173,0x00000173,0x0005003e,
49370x000500b0,0x0000002f,0x00004108,0x00005dfc, 52930x000052f7,0x00006534,0x00000002,0x00000004,
49380x000000ec,0x000400f6,0x00004115,0x00004109, 52940x00050080,0x00000006,0x00004fa8,0x00004f84,
49390x00000000,0x000400fa,0x00004108,0x00004109, 52950x000002a1,0x00050095,0x00000145,0x00005330,
49400x00004115,0x000200f8,0x00004109,0x00050080, 52960x00004f27,0x00004fa8,0x00050051,0x00000006,
49410x00000006,0x0000410b,0x00004c14,0x00000840, 52970x00005331,0x00005330,0x00000001,0x00050051,
49420x00050084,0x00000006,0x0000410d,0x000000ec, 52980x00000006,0x00005332,0x00005330,0x00000000,
49430x00005dfc,0x00050080,0x00000006,0x0000410e, 52990x00050080,0x00000006,0x00005337,0x00004f2e,
49440x0000410b,0x0000410d,0x00050041,0x00000266, 53000x00005331,0x00050050,0x00000007,0x00005338,
49450x0000410f,0x000001b9,0x0000016b,0x0004003d, 53010x00005332,0x00005337,0x0004007c,0x00000014,
49460x00000007,0x00004110,0x0000410f,0x00050051, 53020x00005328,0x00005338,0x00060041,0x00000174,
49470x00000006,0x00005076,0x00004110,0x00000000, 53030x00005320,0x00005328,0x00000173,0x00000173,
49480x00050095,0x0000013d,0x00005078,0x00005076, 53040x0005003e,0x00005320,0x00006534,0x00000002,
49490x0000410e,0x00050051,0x00000006,0x00005079, 53050x00000004,0x000200f9,0x00004fae,0x000200f8,
49500x00005078,0x00000001,0x00050051,0x00000006, 53060x00004fae,0x000200f9,0x000043dc,0x000200f8,
49510x0000507a,0x00005078,0x00000000,0x00050051, 53070x000043dc,0x00050080,0x00000006,0x000043de,
49520x00000006,0x0000507d,0x00004110,0x00000001, 53080x00006221,0x0000026c,0x000200f9,0x000043b0,
49530x00050080,0x00000006,0x0000507f,0x0000507d, 53090x000200f8,0x000043df,0x000400a8,0x0000002f,
49540x00005079,0x00050050,0x00000007,0x00005080, 53100x000043e1,0x00004f01,0x000300f7,0x000043f4,
49550x0000507a,0x0000507f,0x0004007c,0x00000014, 53110x00000000,0x000400fa,0x000043e1,0x000043e2,
49560x00005070,0x00005080,0x00060041,0x0000016c, 53120x000043f4,0x000200f8,0x000043e2,0x000200f9,
49570x00005068,0x00005070,0x0000016b,0x0000016b, 53130x000043e3,0x000200f8,0x000043e3,0x000700f5,
49580x0005003e,0x00005068,0x00000138,0x00000002, 53140x00000006,0x00006222,0x00000140,0x000043e2,
49590x00000004,0x00050080,0x00000006,0x00004114, 53150x000043f2,0x000043e7,0x000500b0,0x0000002f,
49600x00005dfc,0x00000264,0x000200f9,0x00004105, 53160x000043e6,0x00006222,0x000000f3,0x000400f6,
49610x000200f8,0x00004115,0x000200f9,0x00004116, 53170x000043f3,0x000043e7,0x00000000,0x000400fa,
49620x000200f8,0x00004116,0x00050041,0x000001bb, 53180x000043e6,0x000043e7,0x000043f3,0x000200f8,
49630x000050b4,0x000001b9,0x000001ba,0x0004003d, 53190x000043e7,0x00050080,0x00000006,0x000043e9,
49640x00000006,0x000050b5,0x000050b4,0x00050084, 53200x00004ef2,0x000008a6,0x00050084,0x00000006,
49650x00000006,0x000050b6,0x000001db,0x000050b5, 53210x000043eb,0x000000f3,0x00006222,0x00050080,
49660x00050080,0x00000006,0x000050b7,0x000001c4, 53220x00000006,0x000043ec,0x000043e9,0x000043eb,
49670x000050b6,0x00050080,0x00000006,0x000050bd, 53230x00050041,0x0000026e,0x000043ed,0x000001c1,
49680x000050b5,0x0000062f,0x00050086,0x00000006, 53240x00000173,0x0004003d,0x00000007,0x000043ee,
49690x000050be,0x000050bd,0x000001be,0x00050084, 53250x000043ed,0x00050051,0x00000006,0x00005354,
49700x00000006,0x000050b0,0x000001c4,0x000050be, 53260x000043ee,0x00000000,0x00050095,0x00000145,
49710x00050080,0x00000006,0x000050b1,0x000050b7, 53270x00005356,0x00005354,0x000043ec,0x00050051,
49720x000050b0,0x00050080,0x00000006,0x000050ab, 53280x00000006,0x00005357,0x00005356,0x00000001,
49730x000050b1,0x000050b0,0x00050084,0x00000006, 53290x00050051,0x00000006,0x00005358,0x00005356,
49740x000050a4,0x000001ef,0x0000402d,0x00050080, 53300x00000000,0x00050051,0x00000006,0x0000535b,
49750x00000006,0x000050a5,0x000050ab,0x000050a4, 53310x000043ee,0x00000001,0x00050080,0x00000006,
49760x00050084,0x00000006,0x0000509a,0x00000205, 53320x0000535d,0x0000535b,0x00005357,0x00050050,
49770x00005dd8,0x00050080,0x00000006,0x0000509b, 53330x00000007,0x0000535e,0x00005358,0x0000535d,
49780x000050a5,0x0000509a,0x00050041,0x00000266, 53340x0004007c,0x00000014,0x0000534e,0x0000535e,
49790x0000509c,0x000001b9,0x00000264,0x0004003d, 53350x00060041,0x00000174,0x00005346,0x0000534e,
49800x00000007,0x0000509d,0x0000509c,0x00050051, 53360x00000173,0x00000173,0x0005003e,0x00005346,
49810x00000006,0x000050d3,0x0000509d,0x00000000, 53370x00000140,0x00000002,0x00000004,0x00050080,
49820x00050095,0x0000013d,0x000050d5,0x000050d3, 53380x00000006,0x000043f2,0x00006222,0x0000026c,
49830x0000509b,0x00050051,0x00000006,0x000050d6, 53390x000200f9,0x000043e3,0x000200f8,0x000043f3,
49840x000050d5,0x00000001,0x00050051,0x00000006, 53400x000200f9,0x000043f4,0x000200f8,0x000043f4,
49850x000050d7,0x000050d5,0x00000000,0x00050051, 53410x00050041,0x000001c3,0x00005392,0x000001c1,
49860x00000006,0x000050da,0x0000509d,0x00000001, 53420x000001c2,0x0004003d,0x00000006,0x00005393,
49870x00050080,0x00000006,0x000050dc,0x000050da, 53430x00005392,0x00050084,0x00000006,0x00005394,
49880x000050d6,0x00050050,0x00000007,0x000050dd, 53440x000001e3,0x00005393,0x00050080,0x00000006,
49890x000050d7,0x000050dc,0x0004007c,0x00000014, 53450x00005395,0x000001cc,0x00005394,0x00050080,
49900x000050cd,0x000050dd,0x00060041,0x0000016c, 53460x00000006,0x0000539b,0x00005393,0x00000695,
49910x00005087,0x000050cd,0x0000016b,0x0000016b, 53470x00050086,0x00000006,0x0000539c,0x0000539b,
49920x0005003e,0x00005087,0x00000138,0x00000002, 53480x000001c6,0x00050084,0x00000006,0x0000538e,
49930x00000004,0x00060041,0x0000016c,0x00005089, 53490x000001cc,0x0000539c,0x00050080,0x00000006,
49940x000050cd,0x0000016b,0x00000264,0x0005003e, 53500x0000538f,0x00005395,0x0000538e,0x00050080,
49950x00005089,0x00000539,0x00000002,0x00000004, 53510x00000006,0x00005389,0x0000538f,0x0000538e,
49960x00060041,0x0000016c,0x0000508b,0x000050cd, 53520x00050084,0x00000006,0x00005382,0x000001f7,
49970x0000016b,0x00000315,0x0005003e,0x0000508b, 53530x0000430b,0x00050080,0x00000006,0x00005383,
49980x00000539,0x00000002,0x00000004,0x00060041, 53540x00005389,0x00005382,0x00050084,0x00000006,
49990x0000016c,0x0000508d,0x000050cd,0x0000016b, 53550x00005378,0x0000020d,0x000061fe,0x00050080,
50000x0000031d,0x0005003e,0x0000508d,0x00000539, 53560x00000006,0x00005379,0x00005383,0x00005378,
50010x00000002,0x00000004,0x00060041,0x0000016c, 53570x00050041,0x0000026e,0x0000537a,0x000001c1,
50020x0000508f,0x000050cd,0x0000016b,0x00000325, 53580x0000026c,0x0004003d,0x00000007,0x0000537b,
50030x0005003e,0x0000508f,0x00000138,0x00000002, 53590x0000537a,0x00050051,0x00000006,0x000053b1,
50040x00000004,0x00060041,0x0000016c,0x00005091, 53600x0000537b,0x00000000,0x00050095,0x00000145,
50050x000050cd,0x0000016b,0x0000032d,0x0005003e, 53610x000053b3,0x000053b1,0x00005379,0x00050051,
50060x00005091,0x00000138,0x00000002,0x00000004, 53620x00000006,0x000053b4,0x000053b3,0x00000001,
50070x00060041,0x0000016c,0x00005093,0x000050cd, 53630x00050051,0x00000006,0x000053b5,0x000053b3,
50080x0000016b,0x00000351,0x0005003e,0x00005093, 53640x00000000,0x00050051,0x00000006,0x000053b8,
50090x00000138,0x00000002,0x00000004,0x000200f9, 53650x0000537b,0x00000001,0x00050080,0x00000006,
50100x00004119,0x000200f8,0x00004119,0x000200f9, 53660x000053ba,0x000053b8,0x000053b4,0x00050050,
50110x000013e3,0x000200f8,0x000013e3,0x000200f9, 53670x00000007,0x000053bb,0x000053b5,0x000053ba,
50120x000013d9,0x000200f8,0x000013d8,0x0004007c, 53680x0004007c,0x00000014,0x000053ab,0x000053bb,
50130x000000f4,0x000013db,0x000012dd,0x00050080, 53690x00060041,0x00000174,0x00005365,0x000053ab,
50140x000000f4,0x00003968,0x000013db,0x00000264, 53700x00000173,0x00000173,0x0005003e,0x00005365,
50150x000300f7,0x00003a4b,0x00000000,0x000300fb, 53710x00000140,0x00000002,0x00000004,0x00060041,
50160x00000138,0x00003a29,0x000200f8,0x00003a29, 53720x00000174,0x00005367,0x000053ab,0x00000173,
50170x000500b1,0x0000002f,0x00003a2b,0x00003968, 53730x0000026c,0x0005003e,0x00005367,0x000003bf,
50180x0000016b,0x000400a8,0x0000002f,0x00003a2c, 53740x00000002,0x00000004,0x00060041,0x00000174,
50190x00003a2b,0x000300f7,0x00003a33,0x00000000, 53750x00005369,0x000053ab,0x00000173,0x0000031d,
50200x000400fa,0x00003a2c,0x00003a2d,0x00003a33, 53760x0005003e,0x00005369,0x000003bf,0x00000002,
50210x000200f8,0x00003a2d,0x00050041,0x000001bb, 53770x00000004,0x00060041,0x00000174,0x0000536b,
50220x00003a2f,0x000001b9,0x000001f0,0x0004003d, 53780x000053ab,0x00000173,0x00000325,0x0005003e,
50230x00000006,0x00003a30,0x00003a2f,0x0004007c, 53790x0000536b,0x000003bf,0x00000002,0x00000004,
50240x000000f4,0x00003a31,0x00003a30,0x000500af, 53800x00060041,0x00000174,0x0000536d,0x000053ab,
50250x0000002f,0x00003a32,0x00003968,0x00003a31, 53810x00000173,0x0000032d,0x0005003e,0x0000536d,
50260x000200f9,0x00003a33,0x000200f8,0x00003a33, 53820x00000140,0x00000002,0x00000004,0x00060041,
50270x000700f5,0x0000002f,0x00003a34,0x00003a2b, 53830x00000174,0x0000536f,0x000053ab,0x00000173,
50280x00003a29,0x00003a32,0x00003a2d,0x000300f7, 53840x00000335,0x0005003e,0x0000536f,0x00000140,
50290x00003a36,0x00000000,0x000400fa,0x00003a34, 53850x00000002,0x00000004,0x00060041,0x00000174,
50300x00003a35,0x00003a36,0x000200f8,0x00003a35, 53860x00005371,0x000053ab,0x00000173,0x00000359,
50310x000200f9,0x00003a4b,0x000200f8,0x00003a36, 53870x0005003e,0x00005371,0x00000140,0x00000002,
50320x00050084,0x00000006,0x00003a54,0x000000ec, 53880x00000004,0x000200f9,0x000043f7,0x000200f8,
50330x000012dd,0x00050080,0x00000006,0x00003a55, 53890x000043f7,0x000200f9,0x000014d5,0x000200f8,
50340x000001c4,0x00003a54,0x00050041,0x00000266, 53900x000014d5,0x000200f9,0x000014cb,0x000200f8,
50350x00003a56,0x000001b9,0x00000264,0x0004003d, 53910x000014ca,0x0004007c,0x000000fb,0x000014cd,
50360x00000007,0x00003a57,0x00003a56,0x00050051, 53920x000013a7,0x00050080,0x000000fb,0x00003c46,
50370x00000006,0x00003a71,0x00003a57,0x00000000, 53930x000014cd,0x0000026c,0x000300f7,0x00003d29,
50380x00050095,0x0000013d,0x00003a73,0x00003a71, 53940x00000000,0x000300fb,0x00000140,0x00003d07,
50390x00003a55,0x00050051,0x00000006,0x00003a74, 53950x000200f8,0x00003d07,0x000500b1,0x0000002f,
50400x00003a73,0x00000001,0x00050051,0x00000006, 53960x00003d09,0x00003c46,0x00000173,0x000400a8,
50410x00003a75,0x00003a73,0x00000000,0x00050051, 53970x0000002f,0x00003d0a,0x00003d09,0x000300f7,
50420x00000006,0x00003a78,0x00003a57,0x00000001, 53980x00003d11,0x00000000,0x000400fa,0x00003d0a,
50430x00050080,0x00000006,0x00003a7a,0x00003a78, 53990x00003d0b,0x00003d11,0x000200f8,0x00003d0b,
50440x00003a74,0x00050050,0x00000007,0x00003a7b, 54000x00050041,0x000001c3,0x00003d0d,0x000001c1,
50450x00003a75,0x00003a7a,0x0004007c,0x00000014, 54010x000001f8,0x0004003d,0x00000006,0x00003d0e,
50460x00003a6b,0x00003a7b,0x00060041,0x0000016c, 54020x00003d0d,0x0004007c,0x000000fb,0x00003d0f,
50470x00003a62,0x00003a6b,0x0000016b,0x0000016b, 54030x00003d0e,0x000500af,0x0000002f,0x00003d10,
50480x0006003d,0x00000006,0x00003a63,0x00003a62, 54040x00003c46,0x00003d0f,0x000200f9,0x00003d11,
54050x000200f8,0x00003d11,0x000700f5,0x0000002f,
54060x00003d12,0x00003d09,0x00003d07,0x00003d10,
54070x00003d0b,0x000300f7,0x00003d14,0x00000000,
54080x000400fa,0x00003d12,0x00003d13,0x00003d14,
54090x000200f8,0x00003d13,0x000200f9,0x00003d29,
54100x000200f8,0x00003d14,0x00050084,0x00000006,
54110x00003d32,0x000000f3,0x000013a7,0x00050080,
54120x00000006,0x00003d33,0x000001cc,0x00003d32,
54130x00050041,0x0000026e,0x00003d34,0x000001c1,
54140x0000026c,0x0004003d,0x00000007,0x00003d35,
54150x00003d34,0x00050051,0x00000006,0x00003d4f,
54160x00003d35,0x00000000,0x00050095,0x00000145,
54170x00003d51,0x00003d4f,0x00003d33,0x00050051,
54180x00000006,0x00003d52,0x00003d51,0x00000001,
54190x00050051,0x00000006,0x00003d53,0x00003d51,
54200x00000000,0x00050051,0x00000006,0x00003d56,
54210x00003d35,0x00000001,0x00050080,0x00000006,
54220x00003d58,0x00003d56,0x00003d52,0x00050050,
54230x00000007,0x00003d59,0x00003d53,0x00003d58,
54240x0004007c,0x00000014,0x00003d49,0x00003d59,
54250x00060041,0x00000174,0x00003d40,0x00003d49,
54260x00000173,0x00000173,0x0006003d,0x00000006,
54270x00003d41,0x00003d40,0x00000002,0x00000004,
54280x0004007c,0x00000006,0x00003d60,0x00003c46,
54290x00050084,0x00000006,0x00003d61,0x000000f3,
54300x00003d60,0x00050080,0x00000006,0x00003d62,
54310x000001cc,0x00003d61,0x00050095,0x00000145,
54320x00003d80,0x00003d4f,0x00003d62,0x00050051,
54330x00000006,0x00003d81,0x00003d80,0x00000001,
54340x00050051,0x00000006,0x00003d82,0x00003d80,
54350x00000000,0x00050080,0x00000006,0x00003d87,
54360x00003d56,0x00003d81,0x00050050,0x00000007,
54370x00003d88,0x00003d82,0x00003d87,0x0004007c,
54380x00000014,0x00003d78,0x00003d88,0x00060041,
54390x00000174,0x00003d6f,0x00003d78,0x00000173,
54400x00000173,0x0006003d,0x00000006,0x00003d70,
54410x00003d6f,0x00000002,0x00000004,0x000500aa,
54420x0000002f,0x00003d1b,0x00003d41,0x00003d70,
54430x000300f7,0x00003d23,0x00000000,0x000400fa,
54440x00003d1b,0x00003d1c,0x00003d23,0x000200f8,
54450x00003d1c,0x000500c6,0x000000fb,0x00003d1f,
54460x000014cd,0x00003c46,0x0004007c,0x00000006,
54470x00003d20,0x00003d1f,0x0006000c,0x000000fb,
54480x00003d21,0x00000001,0x0000004b,0x00003d20,
54490x00050082,0x000000fb,0x00003d22,0x00000ddb,
54500x00003d21,0x000200f9,0x00003d29,0x000200f8,
54510x00003d23,0x000500c6,0x00000006,0x00003d26,
54520x00003d41,0x00003d70,0x0006000c,0x000000fb,
54530x00003d27,0x00000001,0x0000004b,0x00003d26,
54540x00050082,0x000000fb,0x00003d28,0x00000de3,
54550x00003d27,0x000200f9,0x00003d29,0x000200f8,
54560x00003d29,0x000900f5,0x000000fb,0x00006267,
54570x00000dcc,0x00003d13,0x00003d22,0x00003d1c,
54580x00003d28,0x00003d23,0x00050082,0x000000fb,
54590x00003c4a,0x000014cd,0x0000026c,0x000300f7,
54600x00003db3,0x00000000,0x000300fb,0x00000140,
54610x00003d91,0x000200f8,0x00003d91,0x000500b1,
54620x0000002f,0x00003d93,0x00003c4a,0x00000173,
54630x000400a8,0x0000002f,0x00003d94,0x00003d93,
54640x000300f7,0x00003d9b,0x00000000,0x000400fa,
54650x00003d94,0x00003d95,0x00003d9b,0x000200f8,
54660x00003d95,0x00050041,0x000001c3,0x00003d97,
54670x000001c1,0x000001f8,0x0004003d,0x00000006,
54680x00003d98,0x00003d97,0x0004007c,0x000000fb,
54690x00003d99,0x00003d98,0x000500af,0x0000002f,
54700x00003d9a,0x00003c4a,0x00003d99,0x000200f9,
54710x00003d9b,0x000200f8,0x00003d9b,0x000700f5,
54720x0000002f,0x00003d9c,0x00003d93,0x00003d91,
54730x00003d9a,0x00003d95,0x000300f7,0x00003d9e,
54740x00000000,0x000400fa,0x00003d9c,0x00003d9d,
54750x00003d9e,0x000200f8,0x00003d9d,0x000200f9,
54760x00003db3,0x000200f8,0x00003d9e,0x00050084,
54770x00000006,0x00003dbc,0x000000f3,0x000013a7,
54780x00050080,0x00000006,0x00003dbd,0x000001cc,
54790x00003dbc,0x00050041,0x0000026e,0x00003dbe,
54800x000001c1,0x0000026c,0x0004003d,0x00000007,
54810x00003dbf,0x00003dbe,0x00050051,0x00000006,
54820x00003dd9,0x00003dbf,0x00000000,0x00050095,
54830x00000145,0x00003ddb,0x00003dd9,0x00003dbd,
54840x00050051,0x00000006,0x00003ddc,0x00003ddb,
54850x00000001,0x00050051,0x00000006,0x00003ddd,
54860x00003ddb,0x00000000,0x00050051,0x00000006,
54870x00003de0,0x00003dbf,0x00000001,0x00050080,
54880x00000006,0x00003de2,0x00003de0,0x00003ddc,
54890x00050050,0x00000007,0x00003de3,0x00003ddd,
54900x00003de2,0x0004007c,0x00000014,0x00003dd3,
54910x00003de3,0x00060041,0x00000174,0x00003dca,
54920x00003dd3,0x00000173,0x00000173,0x0006003d,
54930x00000006,0x00003dcb,0x00003dca,0x00000002,
54940x00000004,0x0004007c,0x00000006,0x00003dea,
54950x00003c4a,0x00050084,0x00000006,0x00003deb,
54960x000000f3,0x00003dea,0x00050080,0x00000006,
54970x00003dec,0x000001cc,0x00003deb,0x00050095,
54980x00000145,0x00003e0a,0x00003dd9,0x00003dec,
54990x00050051,0x00000006,0x00003e0b,0x00003e0a,
55000x00000001,0x00050051,0x00000006,0x00003e0c,
55010x00003e0a,0x00000000,0x00050080,0x00000006,
55020x00003e11,0x00003de0,0x00003e0b,0x00050050,
55030x00000007,0x00003e12,0x00003e0c,0x00003e11,
55040x0004007c,0x00000014,0x00003e02,0x00003e12,
55050x00060041,0x00000174,0x00003df9,0x00003e02,
55060x00000173,0x00000173,0x0006003d,0x00000006,
55070x00003dfa,0x00003df9,0x00000002,0x00000004,
55080x000500aa,0x0000002f,0x00003da5,0x00003dcb,
55090x00003dfa,0x000300f7,0x00003dad,0x00000000,
55100x000400fa,0x00003da5,0x00003da6,0x00003dad,
55110x000200f8,0x00003da6,0x000500c6,0x000000fb,
55120x00003da9,0x000014cd,0x00003c4a,0x0004007c,
55130x00000006,0x00003daa,0x00003da9,0x0006000c,
55140x000000fb,0x00003dab,0x00000001,0x0000004b,
55150x00003daa,0x00050082,0x000000fb,0x00003dac,
55160x00000ddb,0x00003dab,0x000200f9,0x00003db3,
55170x000200f8,0x00003dad,0x000500c6,0x00000006,
55180x00003db0,0x00003dcb,0x00003dfa,0x0006000c,
55190x000000fb,0x00003db1,0x00000001,0x0000004b,
55200x00003db0,0x00050082,0x000000fb,0x00003db2,
55210x00000de3,0x00003db1,0x000200f9,0x00003db3,
55220x000200f8,0x00003db3,0x000900f5,0x000000fb,
55230x00006268,0x00000dcc,0x00003d9d,0x00003dac,
55240x00003da6,0x00003db2,0x00003dad,0x00050082,
55250x000000fb,0x00003c4d,0x00006267,0x00006268,
55260x000500ad,0x0000002f,0x00003c4e,0x00003c4d,
55270x00000173,0x000600a9,0x000000fb,0x00003c4f,
55280x00003c4e,0x0000026c,0x00000dcc,0x00050082,
55290x000000fb,0x00003c52,0x000014cd,0x00003c4f,
55300x000300f7,0x00003e3d,0x00000000,0x000300fb,
55310x00000140,0x00003e1b,0x000200f8,0x00003e1b,
55320x000500b1,0x0000002f,0x00003e1d,0x00003c52,
55330x00000173,0x000400a8,0x0000002f,0x00003e1e,
55340x00003e1d,0x000300f7,0x00003e25,0x00000000,
55350x000400fa,0x00003e1e,0x00003e1f,0x00003e25,
55360x000200f8,0x00003e1f,0x00050041,0x000001c3,
55370x00003e21,0x000001c1,0x000001f8,0x0004003d,
55380x00000006,0x00003e22,0x00003e21,0x0004007c,
55390x000000fb,0x00003e23,0x00003e22,0x000500af,
55400x0000002f,0x00003e24,0x00003c52,0x00003e23,
55410x000200f9,0x00003e25,0x000200f8,0x00003e25,
55420x000700f5,0x0000002f,0x00003e26,0x00003e1d,
55430x00003e1b,0x00003e24,0x00003e1f,0x000300f7,
55440x00003e28,0x00000000,0x000400fa,0x00003e26,
55450x00003e27,0x00003e28,0x000200f8,0x00003e27,
55460x000200f9,0x00003e3d,0x000200f8,0x00003e28,
55470x00050084,0x00000006,0x00003e46,0x000000f3,
55480x000013a7,0x00050080,0x00000006,0x00003e47,
55490x000001cc,0x00003e46,0x00050041,0x0000026e,
55500x00003e48,0x000001c1,0x0000026c,0x0004003d,
55510x00000007,0x00003e49,0x00003e48,0x00050051,
55520x00000006,0x00003e63,0x00003e49,0x00000000,
55530x00050095,0x00000145,0x00003e65,0x00003e63,
55540x00003e47,0x00050051,0x00000006,0x00003e66,
55550x00003e65,0x00000001,0x00050051,0x00000006,
55560x00003e67,0x00003e65,0x00000000,0x00050051,
55570x00000006,0x00003e6a,0x00003e49,0x00000001,
55580x00050080,0x00000006,0x00003e6c,0x00003e6a,
55590x00003e66,0x00050050,0x00000007,0x00003e6d,
55600x00003e67,0x00003e6c,0x0004007c,0x00000014,
55610x00003e5d,0x00003e6d,0x00060041,0x00000174,
55620x00003e54,0x00003e5d,0x00000173,0x00000173,
55630x0006003d,0x00000006,0x00003e55,0x00003e54,
50490x00000002,0x00000004,0x0004007c,0x00000006, 55640x00000002,0x00000004,0x0004007c,0x00000006,
50500x00003a82,0x00003968,0x00050084,0x00000006, 55650x00003e74,0x00003c52,0x00050084,0x00000006,
50510x00003a83,0x000000ec,0x00003a82,0x00050080, 55660x00003e75,0x000000f3,0x00003e74,0x00050080,
50520x00000006,0x00003a84,0x000001c4,0x00003a83, 55670x00000006,0x00003e76,0x000001cc,0x00003e75,
50530x00050095,0x0000013d,0x00003aa2,0x00003a71, 55680x00050095,0x00000145,0x00003e94,0x00003e63,
50540x00003a84,0x00050051,0x00000006,0x00003aa3, 55690x00003e76,0x00050051,0x00000006,0x00003e95,
50550x00003aa2,0x00000001,0x00050051,0x00000006, 55700x00003e94,0x00000001,0x00050051,0x00000006,
50560x00003aa4,0x00003aa2,0x00000000,0x00050080, 55710x00003e96,0x00003e94,0x00000000,0x00050080,
50570x00000006,0x00003aa9,0x00003a78,0x00003aa3, 55720x00000006,0x00003e9b,0x00003e6a,0x00003e95,
50580x00050050,0x00000007,0x00003aaa,0x00003aa4, 55730x00050050,0x00000007,0x00003e9c,0x00003e96,
50590x00003aa9,0x0004007c,0x00000014,0x00003a9a, 55740x00003e9b,0x0004007c,0x00000014,0x00003e8c,
50600x00003aaa,0x00060041,0x0000016c,0x00003a91, 55750x00003e9c,0x00060041,0x00000174,0x00003e83,
50610x00003a9a,0x0000016b,0x0000016b,0x0006003d, 55760x00003e8c,0x00000173,0x00000173,0x0006003d,
50620x00000006,0x00003a92,0x00003a91,0x00000002, 55770x00000006,0x00003e84,0x00003e83,0x00000002,
50630x00000004,0x000500aa,0x0000002f,0x00003a3d, 55780x00000004,0x000500aa,0x0000002f,0x00003e2f,
50640x00003a63,0x00003a92,0x000300f7,0x00003a45, 55790x00003e55,0x00003e84,0x000300f7,0x00003e37,
50650x00000000,0x000400fa,0x00003a3d,0x00003a3e, 55800x00000000,0x000400fa,0x00003e2f,0x00003e30,
50660x00003a45,0x000200f8,0x00003a3e,0x000500c6, 55810x00003e37,0x000200f8,0x00003e30,0x000500c6,
50670x000000f4,0x00003a41,0x000013db,0x00003968, 55820x000000fb,0x00003e33,0x000014cd,0x00003c52,
50680x0004007c,0x00000006,0x00003a42,0x00003a41, 55830x0004007c,0x00000006,0x00003e34,0x00003e33,
50690x0006000c,0x000000f4,0x00003a43,0x00000001, 55840x0006000c,0x000000fb,0x00003e35,0x00000001,
50700x0000004b,0x00003a42,0x00050082,0x000000f4, 55850x0000004b,0x00003e34,0x00050082,0x000000fb,
50710x00003a44,0x00000d76,0x00003a43,0x000200f9, 55860x00003e36,0x00000ddb,0x00003e35,0x000200f9,
50720x00003a4b,0x000200f8,0x00003a45,0x000500c6, 55870x00003e3d,0x000200f8,0x00003e37,0x000500c6,
50730x00000006,0x00003a48,0x00003a63,0x00003a92, 55880x00000006,0x00003e3a,0x00003e55,0x00003e84,
50740x0006000c,0x000000f4,0x00003a49,0x00000001, 55890x0006000c,0x000000fb,0x00003e3b,0x00000001,
50750x0000004b,0x00003a48,0x00050082,0x000000f4, 55900x0000004b,0x00003e3a,0x00050082,0x000000fb,
50760x00003a4a,0x00000d7e,0x00003a49,0x000200f9, 55910x00003e3c,0x00000de3,0x00003e3b,0x000200f9,
50770x00003a4b,0x000200f8,0x00003a4b,0x000900f5, 55920x00003e3d,0x000200f8,0x00003e3d,0x000900f5,
50780x000000f4,0x00005e41,0x00000d67,0x00003a35, 55930x000000fb,0x00006269,0x00000dcc,0x00003e27,
50790x00003a44,0x00003a3e,0x00003a4a,0x00003a45, 55940x00003e36,0x00003e30,0x00003e3c,0x00003e37,
50800x00050082,0x000000f4,0x0000396c,0x000013db, 55950x000200f9,0x00003c55,0x000200f8,0x00003c55,
50810x00000264,0x000300f7,0x00003ad5,0x00000000, 55960x000700f5,0x000000fb,0x0000626a,0x0000031d,
50820x000300fb,0x00000138,0x00003ab3,0x000200f8, 55970x00003e3d,0x00003c62,0x00003c60,0x000400f6,
50830x00003ab3,0x000500b1,0x0000002f,0x00003ab5, 55980x00003c64,0x00003c60,0x00000000,0x000200f9,
50840x0000396c,0x0000016b,0x000400a8,0x0000002f, 55990x00003c56,0x000200f8,0x00003c56,0x00050084,
50850x00003ab6,0x00003ab5,0x000300f7,0x00003abd, 56000x000000fb,0x00003c5a,0x0000626a,0x00003c4f,
50860x00000000,0x000400fa,0x00003ab6,0x00003ab7, 56010x00050080,0x000000fb,0x00003c5b,0x000014cd,
50870x00003abd,0x000200f8,0x00003ab7,0x00050041, 56020x00003c5a,0x000300f7,0x00003ec7,0x00000000,
50880x000001bb,0x00003ab9,0x000001b9,0x000001f0, 56030x000300fb,0x00000140,0x00003ea5,0x000200f8,
50890x0004003d,0x00000006,0x00003aba,0x00003ab9, 56040x00003ea5,0x000500b1,0x0000002f,0x00003ea7,
50900x0004007c,0x000000f4,0x00003abb,0x00003aba, 56050x00003c5b,0x00000173,0x000400a8,0x0000002f,
50910x000500af,0x0000002f,0x00003abc,0x0000396c, 56060x00003ea8,0x00003ea7,0x000300f7,0x00003eaf,
50920x00003abb,0x000200f9,0x00003abd,0x000200f8, 56070x00000000,0x000400fa,0x00003ea8,0x00003ea9,
50930x00003abd,0x000700f5,0x0000002f,0x00003abe, 56080x00003eaf,0x000200f8,0x00003ea9,0x00050041,
50940x00003ab5,0x00003ab3,0x00003abc,0x00003ab7, 56090x000001c3,0x00003eab,0x000001c1,0x000001f8,
50950x000300f7,0x00003ac0,0x00000000,0x000400fa, 56100x0004003d,0x00000006,0x00003eac,0x00003eab,
50960x00003abe,0x00003abf,0x00003ac0,0x000200f8, 56110x0004007c,0x000000fb,0x00003ead,0x00003eac,
50970x00003abf,0x000200f9,0x00003ad5,0x000200f8, 56120x000500af,0x0000002f,0x00003eae,0x00003c5b,
50980x00003ac0,0x00050084,0x00000006,0x00003ade, 56130x00003ead,0x000200f9,0x00003eaf,0x000200f8,
50990x000000ec,0x000012dd,0x00050080,0x00000006, 56140x00003eaf,0x000700f5,0x0000002f,0x00003eb0,
51000x00003adf,0x000001c4,0x00003ade,0x00050041, 56150x00003ea7,0x00003ea5,0x00003eae,0x00003ea9,
51010x00000266,0x00003ae0,0x000001b9,0x00000264, 56160x000300f7,0x00003eb2,0x00000000,0x000400fa,
51020x0004003d,0x00000007,0x00003ae1,0x00003ae0, 56170x00003eb0,0x00003eb1,0x00003eb2,0x000200f8,
51030x00050051,0x00000006,0x00003afb,0x00003ae1, 56180x00003eb1,0x000200f9,0x00003ec7,0x000200f8,
51040x00000000,0x00050095,0x0000013d,0x00003afd, 56190x00003eb2,0x00050084,0x00000006,0x00003ed0,
51050x00003afb,0x00003adf,0x00050051,0x00000006, 56200x000000f3,0x000013a7,0x00050080,0x00000006,
51060x00003afe,0x00003afd,0x00000001,0x00050051, 56210x00003ed1,0x000001cc,0x00003ed0,0x00050041,
51070x00000006,0x00003aff,0x00003afd,0x00000000, 56220x0000026e,0x00003ed2,0x000001c1,0x0000026c,
51080x00050051,0x00000006,0x00003b02,0x00003ae1, 56230x0004003d,0x00000007,0x00003ed3,0x00003ed2,
51090x00000001,0x00050080,0x00000006,0x00003b04, 56240x00050051,0x00000006,0x00003eed,0x00003ed3,
51100x00003b02,0x00003afe,0x00050050,0x00000007, 56250x00000000,0x00050095,0x00000145,0x00003eef,
51110x00003b05,0x00003aff,0x00003b04,0x0004007c, 56260x00003eed,0x00003ed1,0x00050051,0x00000006,
51120x00000014,0x00003af5,0x00003b05,0x00060041, 56270x00003ef0,0x00003eef,0x00000001,0x00050051,
51130x0000016c,0x00003aec,0x00003af5,0x0000016b, 56280x00000006,0x00003ef1,0x00003eef,0x00000000,
51140x0000016b,0x0006003d,0x00000006,0x00003aed, 56290x00050051,0x00000006,0x00003ef4,0x00003ed3,
51150x00003aec,0x00000002,0x00000004,0x0004007c, 56300x00000001,0x00050080,0x00000006,0x00003ef6,
51160x00000006,0x00003b0c,0x0000396c,0x00050084, 56310x00003ef4,0x00003ef0,0x00050050,0x00000007,
51170x00000006,0x00003b0d,0x000000ec,0x00003b0c, 56320x00003ef7,0x00003ef1,0x00003ef6,0x0004007c,
51180x00050080,0x00000006,0x00003b0e,0x000001c4, 56330x00000014,0x00003ee7,0x00003ef7,0x00060041,
51190x00003b0d,0x00050095,0x0000013d,0x00003b2c, 56340x00000174,0x00003ede,0x00003ee7,0x00000173,
51200x00003afb,0x00003b0e,0x00050051,0x00000006, 56350x00000173,0x0006003d,0x00000006,0x00003edf,
51210x00003b2d,0x00003b2c,0x00000001,0x00050051, 56360x00003ede,0x00000002,0x00000004,0x0004007c,
51220x00000006,0x00003b2e,0x00003b2c,0x00000000, 56370x00000006,0x00003efe,0x00003c5b,0x00050084,
51230x00050080,0x00000006,0x00003b33,0x00003b02, 56380x00000006,0x00003eff,0x000000f3,0x00003efe,
51240x00003b2d,0x00050050,0x00000007,0x00003b34, 56390x00050080,0x00000006,0x00003f00,0x000001cc,
51250x00003b2e,0x00003b33,0x0004007c,0x00000014, 56400x00003eff,0x00050095,0x00000145,0x00003f1e,
51260x00003b24,0x00003b34,0x00060041,0x0000016c, 56410x00003eed,0x00003f00,0x00050051,0x00000006,
51270x00003b1b,0x00003b24,0x0000016b,0x0000016b, 56420x00003f1f,0x00003f1e,0x00000001,0x00050051,
51280x0006003d,0x00000006,0x00003b1c,0x00003b1b, 56430x00000006,0x00003f20,0x00003f1e,0x00000000,
56440x00050080,0x00000006,0x00003f25,0x00003ef4,
56450x00003f1f,0x00050050,0x00000007,0x00003f26,
56460x00003f20,0x00003f25,0x0004007c,0x00000014,
56470x00003f16,0x00003f26,0x00060041,0x00000174,
56480x00003f0d,0x00003f16,0x00000173,0x00000173,
56490x0006003d,0x00000006,0x00003f0e,0x00003f0d,
51290x00000002,0x00000004,0x000500aa,0x0000002f, 56500x00000002,0x00000004,0x000500aa,0x0000002f,
51300x00003ac7,0x00003aed,0x00003b1c,0x000300f7, 56510x00003eb9,0x00003edf,0x00003f0e,0x000300f7,
51310x00003acf,0x00000000,0x000400fa,0x00003ac7, 56520x00003ec1,0x00000000,0x000400fa,0x00003eb9,
51320x00003ac8,0x00003acf,0x000200f8,0x00003ac8, 56530x00003eba,0x00003ec1,0x000200f8,0x00003eba,
51330x000500c6,0x000000f4,0x00003acb,0x000013db, 56540x000500c6,0x000000fb,0x00003ebd,0x000014cd,
51340x0000396c,0x0004007c,0x00000006,0x00003acc, 56550x00003c5b,0x0004007c,0x00000006,0x00003ebe,
51350x00003acb,0x0006000c,0x000000f4,0x00003acd, 56560x00003ebd,0x0006000c,0x000000fb,0x00003ebf,
51360x00000001,0x0000004b,0x00003acc,0x00050082, 56570x00000001,0x0000004b,0x00003ebe,0x00050082,
51370x000000f4,0x00003ace,0x00000d76,0x00003acd, 56580x000000fb,0x00003ec0,0x00000ddb,0x00003ebf,
51380x000200f9,0x00003ad5,0x000200f8,0x00003acf, 56590x000200f9,0x00003ec7,0x000200f8,0x00003ec1,
51390x000500c6,0x00000006,0x00003ad2,0x00003aed, 56600x000500c6,0x00000006,0x00003ec4,0x00003edf,
51400x00003b1c,0x0006000c,0x000000f4,0x00003ad3, 56610x00003f0e,0x0006000c,0x000000fb,0x00003ec5,
51410x00000001,0x0000004b,0x00003ad2,0x00050082, 56620x00000001,0x0000004b,0x00003ec4,0x00050082,
51420x000000f4,0x00003ad4,0x00000d7e,0x00003ad3, 56630x000000fb,0x00003ec6,0x00000de3,0x00003ec5,
51430x000200f9,0x00003ad5,0x000200f8,0x00003ad5, 56640x000200f9,0x00003ec7,0x000200f8,0x00003ec7,
51440x000900f5,0x000000f4,0x00005e42,0x00000d67, 56650x000900f5,0x000000fb,0x0000626b,0x00000dcc,
51450x00003abf,0x00003ace,0x00003ac8,0x00003ad4, 56660x00003eb1,0x00003ec0,0x00003eba,0x00003ec6,
51460x00003acf,0x00050082,0x000000f4,0x0000396f, 56670x00003ec1,0x000500ad,0x0000002f,0x00003c5f,
51470x00005e41,0x00005e42,0x000500ad,0x0000002f, 56680x0000626b,0x00006269,0x000400fa,0x00003c5f,
51480x00003970,0x0000396f,0x0000016b,0x000600a9, 56690x00003c60,0x00003c64,0x000200f8,0x00003c60,
51490x000000f4,0x00003971,0x00003970,0x00000264, 56700x000500c4,0x000000fb,0x00003c62,0x0000626a,
51500x00000d67,0x00050082,0x000000f4,0x00003974, 56710x0000026c,0x000200f9,0x00003c55,0x000200f8,
51510x000013db,0x00003971,0x000300f7,0x00003b5f, 56720x00003c64,0x000500c3,0x000000fb,0x00003c66,
51520x00000000,0x000300fb,0x00000138,0x00003b3d, 56730x0000626a,0x0000026c,0x000200f9,0x00003c67,
51530x000200f8,0x00003b3d,0x000500b1,0x0000002f, 56740x000200f8,0x00003c67,0x000700f5,0x000000fb,
51540x00003b3f,0x00003974,0x0000016b,0x000400a8, 56750x0000626f,0x00000173,0x00003c64,0x0000654d,
51550x0000002f,0x00003b40,0x00003b3f,0x000300f7, 56760x00003c7c,0x000700f5,0x000000fb,0x0000626e,
51560x00003b47,0x00000000,0x000400fa,0x00003b40, 56770x00003c66,0x00003c64,0x00003c7e,0x00003c7c,
51570x00003b41,0x00003b47,0x000200f8,0x00003b41, 56780x000500af,0x0000002f,0x00003c6a,0x0000626e,
51580x00050041,0x000001bb,0x00003b43,0x000001b9, 56790x0000026c,0x000400f6,0x00003c7f,0x00003c7c,
51590x000001f0,0x0004003d,0x00000006,0x00003b44, 56800x00000000,0x000400fa,0x00003c6a,0x00003c6b,
51600x00003b43,0x0004007c,0x000000f4,0x00003b45, 56810x00003c7f,0x000200f8,0x00003c6b,0x00050080,
51610x00003b44,0x000500af,0x0000002f,0x00003b46, 56820x000000fb,0x00003c6f,0x0000626f,0x0000626e,
51620x00003974,0x00003b45,0x000200f9,0x00003b47, 56830x00050084,0x000000fb,0x00003c71,0x00003c6f,
51630x000200f8,0x00003b47,0x000700f5,0x0000002f, 56840x00003c4f,0x00050080,0x000000fb,0x00003c72,
51640x00003b48,0x00003b3f,0x00003b3d,0x00003b46, 56850x000014cd,0x00003c71,0x000300f7,0x00003f51,
51650x00003b41,0x000300f7,0x00003b4a,0x00000000, 56860x00000000,0x000300fb,0x00000140,0x00003f2f,
51660x000400fa,0x00003b48,0x00003b49,0x00003b4a, 56870x000200f8,0x00003f2f,0x000500b1,0x0000002f,
51670x000200f8,0x00003b49,0x000200f9,0x00003b5f, 56880x00003f31,0x00003c72,0x00000173,0x000400a8,
51680x000200f8,0x00003b4a,0x00050084,0x00000006, 56890x0000002f,0x00003f32,0x00003f31,0x000300f7,
51690x00003b68,0x000000ec,0x000012dd,0x00050080, 56900x00003f39,0x00000000,0x000400fa,0x00003f32,
51700x00000006,0x00003b69,0x000001c4,0x00003b68, 56910x00003f33,0x00003f39,0x000200f8,0x00003f33,
51710x00050041,0x00000266,0x00003b6a,0x000001b9, 56920x00050041,0x000001c3,0x00003f35,0x000001c1,
51720x00000264,0x0004003d,0x00000007,0x00003b6b, 56930x000001f8,0x0004003d,0x00000006,0x00003f36,
51730x00003b6a,0x00050051,0x00000006,0x00003b85, 56940x00003f35,0x0004007c,0x000000fb,0x00003f37,
51740x00003b6b,0x00000000,0x00050095,0x0000013d, 56950x00003f36,0x000500af,0x0000002f,0x00003f38,
51750x00003b87,0x00003b85,0x00003b69,0x00050051, 56960x00003c72,0x00003f37,0x000200f9,0x00003f39,
51760x00000006,0x00003b88,0x00003b87,0x00000001, 56970x000200f8,0x00003f39,0x000700f5,0x0000002f,
51770x00050051,0x00000006,0x00003b89,0x00003b87, 56980x00003f3a,0x00003f31,0x00003f2f,0x00003f38,
51780x00000000,0x00050051,0x00000006,0x00003b8c, 56990x00003f33,0x000300f7,0x00003f3c,0x00000000,
51790x00003b6b,0x00000001,0x00050080,0x00000006, 57000x000400fa,0x00003f3a,0x00003f3b,0x00003f3c,
51800x00003b8e,0x00003b8c,0x00003b88,0x00050050, 57010x000200f8,0x00003f3b,0x000200f9,0x00003f51,
51810x00000007,0x00003b8f,0x00003b89,0x00003b8e, 57020x000200f8,0x00003f3c,0x00050084,0x00000006,
51820x0004007c,0x00000014,0x00003b7f,0x00003b8f, 57030x00003f5a,0x000000f3,0x000013a7,0x00050080,
51830x00060041,0x0000016c,0x00003b76,0x00003b7f, 57040x00000006,0x00003f5b,0x000001cc,0x00003f5a,
51840x0000016b,0x0000016b,0x0006003d,0x00000006, 57050x00050041,0x0000026e,0x00003f5c,0x000001c1,
51850x00003b77,0x00003b76,0x00000002,0x00000004, 57060x0000026c,0x0004003d,0x00000007,0x00003f5d,
51860x0004007c,0x00000006,0x00003b96,0x00003974, 57070x00003f5c,0x00050051,0x00000006,0x00003f77,
51870x00050084,0x00000006,0x00003b97,0x000000ec, 57080x00003f5d,0x00000000,0x00050095,0x00000145,
51880x00003b96,0x00050080,0x00000006,0x00003b98, 57090x00003f79,0x00003f77,0x00003f5b,0x00050051,
51890x000001c4,0x00003b97,0x00050095,0x0000013d, 57100x00000006,0x00003f7a,0x00003f79,0x00000001,
51900x00003bb6,0x00003b85,0x00003b98,0x00050051, 57110x00050051,0x00000006,0x00003f7b,0x00003f79,
51910x00000006,0x00003bb7,0x00003bb6,0x00000001, 57120x00000000,0x00050051,0x00000006,0x00003f7e,
51920x00050051,0x00000006,0x00003bb8,0x00003bb6, 57130x00003f5d,0x00000001,0x00050080,0x00000006,
51930x00000000,0x00050080,0x00000006,0x00003bbd, 57140x00003f80,0x00003f7e,0x00003f7a,0x00050050,
51940x00003b8c,0x00003bb7,0x00050050,0x00000007, 57150x00000007,0x00003f81,0x00003f7b,0x00003f80,
51950x00003bbe,0x00003bb8,0x00003bbd,0x0004007c, 57160x0004007c,0x00000014,0x00003f71,0x00003f81,
51960x00000014,0x00003bae,0x00003bbe,0x00060041, 57170x00060041,0x00000174,0x00003f68,0x00003f71,
51970x0000016c,0x00003ba5,0x00003bae,0x0000016b, 57180x00000173,0x00000173,0x0006003d,0x00000006,
51980x0000016b,0x0006003d,0x00000006,0x00003ba6, 57190x00003f69,0x00003f68,0x00000002,0x00000004,
51990x00003ba5,0x00000002,0x00000004,0x000500aa, 57200x0004007c,0x00000006,0x00003f88,0x00003c72,
52000x0000002f,0x00003b51,0x00003b77,0x00003ba6, 57210x00050084,0x00000006,0x00003f89,0x000000f3,
52010x000300f7,0x00003b59,0x00000000,0x000400fa, 57220x00003f88,0x00050080,0x00000006,0x00003f8a,
52020x00003b51,0x00003b52,0x00003b59,0x000200f8, 57230x000001cc,0x00003f89,0x00050095,0x00000145,
52030x00003b52,0x000500c6,0x000000f4,0x00003b55, 57240x00003fa8,0x00003f77,0x00003f8a,0x00050051,
52040x000013db,0x00003974,0x0004007c,0x00000006, 57250x00000006,0x00003fa9,0x00003fa8,0x00000001,
52050x00003b56,0x00003b55,0x0006000c,0x000000f4, 57260x00050051,0x00000006,0x00003faa,0x00003fa8,
52060x00003b57,0x00000001,0x0000004b,0x00003b56, 57270x00000000,0x00050080,0x00000006,0x00003faf,
52070x00050082,0x000000f4,0x00003b58,0x00000d76, 57280x00003f7e,0x00003fa9,0x00050050,0x00000007,
52080x00003b57,0x000200f9,0x00003b5f,0x000200f8, 57290x00003fb0,0x00003faa,0x00003faf,0x0004007c,
52090x00003b59,0x000500c6,0x00000006,0x00003b5c, 57300x00000014,0x00003fa0,0x00003fb0,0x00060041,
52100x00003b77,0x00003ba6,0x0006000c,0x000000f4, 57310x00000174,0x00003f97,0x00003fa0,0x00000173,
52110x00003b5d,0x00000001,0x0000004b,0x00003b5c, 57320x00000173,0x0006003d,0x00000006,0x00003f98,
52120x00050082,0x000000f4,0x00003b5e,0x00000d7e, 57330x00003f97,0x00000002,0x00000004,0x000500aa,
52130x00003b5d,0x000200f9,0x00003b5f,0x000200f8, 57340x0000002f,0x00003f43,0x00003f69,0x00003f98,
52140x00003b5f,0x000900f5,0x000000f4,0x00005e43, 57350x000300f7,0x00003f4b,0x00000000,0x000400fa,
52150x00000d67,0x00003b49,0x00003b58,0x00003b52, 57360x00003f43,0x00003f44,0x00003f4b,0x000200f8,
52160x00003b5e,0x00003b59,0x000200f9,0x00003977, 57370x00003f44,0x000500c6,0x000000fb,0x00003f47,
52170x000200f8,0x00003977,0x000700f5,0x000000f4, 57380x000014cd,0x00003c72,0x0004007c,0x00000006,
52180x00005e44,0x00000315,0x00003b5f,0x00003984, 57390x00003f48,0x00003f47,0x0006000c,0x000000fb,
52190x00003982,0x000400f6,0x00003986,0x00003982, 57400x00003f49,0x00000001,0x0000004b,0x00003f48,
52200x00000000,0x000200f9,0x00003978,0x000200f8, 57410x00050082,0x000000fb,0x00003f4a,0x00000ddb,
52210x00003978,0x00050084,0x000000f4,0x0000397c, 57420x00003f49,0x000200f9,0x00003f51,0x000200f8,
52220x00005e44,0x00003971,0x00050080,0x000000f4, 57430x00003f4b,0x000500c6,0x00000006,0x00003f4e,
52230x0000397d,0x000013db,0x0000397c,0x000300f7, 57440x00003f69,0x00003f98,0x0006000c,0x000000fb,
52240x00003be9,0x00000000,0x000300fb,0x00000138, 57450x00003f4f,0x00000001,0x0000004b,0x00003f4e,
52250x00003bc7,0x000200f8,0x00003bc7,0x000500b1, 57460x00050082,0x000000fb,0x00003f50,0x00000de3,
52260x0000002f,0x00003bc9,0x0000397d,0x0000016b, 57470x00003f4f,0x000200f9,0x00003f51,0x000200f8,
52270x000400a8,0x0000002f,0x00003bca,0x00003bc9, 57480x00003f51,0x000900f5,0x000000fb,0x00006285,
52280x000300f7,0x00003bd1,0x00000000,0x000400fa, 57490x00000dcc,0x00003f3b,0x00003f4a,0x00003f44,
52290x00003bca,0x00003bcb,0x00003bd1,0x000200f8, 57500x00003f50,0x00003f4b,0x000500ad,0x0000002f,
52300x00003bcb,0x00050041,0x000001bb,0x00003bcd, 57510x00003c76,0x00006285,0x00006269,0x000600a9,
52310x000001b9,0x000001f0,0x0004003d,0x00000006, 57520x000000fb,0x0000654d,0x00003c76,0x00003c6f,
52320x00003bce,0x00003bcd,0x0004007c,0x000000f4, 57530x0000626f,0x000200f9,0x00003c7c,0x000200f8,
52330x00003bcf,0x00003bce,0x000500af,0x0000002f, 57540x00003c7c,0x000500c3,0x000000fb,0x00003c7e,
52340x00003bd0,0x0000397d,0x00003bcf,0x000200f9, 57550x0000626e,0x0000026c,0x000200f9,0x00003c67,
52350x00003bd1,0x000200f8,0x00003bd1,0x000700f5, 57560x000200f8,0x00003c7f,0x00050084,0x000000fb,
52360x0000002f,0x00003bd2,0x00003bc9,0x00003bc7, 57570x00003c83,0x0000626f,0x00003c4f,0x00050080,
52370x00003bd0,0x00003bcb,0x000300f7,0x00003bd4, 57580x000000fb,0x00003c84,0x000014cd,0x00003c83,
52380x00000000,0x000400fa,0x00003bd2,0x00003bd3, 57590x000300f7,0x00003fdb,0x00000000,0x000300fb,
52390x00003bd4,0x000200f8,0x00003bd3,0x000200f9, 57600x00000140,0x00003fb9,0x000200f8,0x00003fb9,
52400x00003be9,0x000200f8,0x00003bd4,0x00050084, 57610x000500b1,0x0000002f,0x00003fbb,0x00003c84,
52410x00000006,0x00003bf2,0x000000ec,0x000012dd, 57620x00000173,0x000400a8,0x0000002f,0x00003fbc,
52420x00050080,0x00000006,0x00003bf3,0x000001c4, 57630x00003fbb,0x000300f7,0x00003fc3,0x00000000,
52430x00003bf2,0x00050041,0x00000266,0x00003bf4, 57640x000400fa,0x00003fbc,0x00003fbd,0x00003fc3,
52440x000001b9,0x00000264,0x0004003d,0x00000007, 57650x000200f8,0x00003fbd,0x00050041,0x000001c3,
52450x00003bf5,0x00003bf4,0x00050051,0x00000006, 57660x00003fbf,0x000001c1,0x000001f8,0x0004003d,
52460x00003c0f,0x00003bf5,0x00000000,0x00050095, 57670x00000006,0x00003fc0,0x00003fbf,0x0004007c,
52470x0000013d,0x00003c11,0x00003c0f,0x00003bf3, 57680x000000fb,0x00003fc1,0x00003fc0,0x000500af,
52480x00050051,0x00000006,0x00003c12,0x00003c11, 57690x0000002f,0x00003fc2,0x00003c84,0x00003fc1,
52490x00000001,0x00050051,0x00000006,0x00003c13, 57700x000200f9,0x00003fc3,0x000200f8,0x00003fc3,
52500x00003c11,0x00000000,0x00050051,0x00000006, 57710x000700f5,0x0000002f,0x00003fc4,0x00003fbb,
52510x00003c16,0x00003bf5,0x00000001,0x00050080, 57720x00003fb9,0x00003fc2,0x00003fbd,0x000300f7,
52520x00000006,0x00003c18,0x00003c16,0x00003c12, 57730x00003fc6,0x00000000,0x000400fa,0x00003fc4,
52530x00050050,0x00000007,0x00003c19,0x00003c13, 57740x00003fc5,0x00003fc6,0x000200f8,0x00003fc5,
52540x00003c18,0x0004007c,0x00000014,0x00003c09, 57750x000200f9,0x00003fdb,0x000200f8,0x00003fc6,
52550x00003c19,0x00060041,0x0000016c,0x00003c00, 57760x00050084,0x00000006,0x00003fe4,0x000000f3,
52560x00003c09,0x0000016b,0x0000016b,0x0006003d, 57770x000013a7,0x00050080,0x00000006,0x00003fe5,
52570x00000006,0x00003c01,0x00003c00,0x00000002, 57780x000001cc,0x00003fe4,0x00050041,0x0000026e,
52580x00000004,0x0004007c,0x00000006,0x00003c20, 57790x00003fe6,0x000001c1,0x0000026c,0x0004003d,
52590x0000397d,0x00050084,0x00000006,0x00003c21, 57800x00000007,0x00003fe7,0x00003fe6,0x00050051,
52600x000000ec,0x00003c20,0x00050080,0x00000006, 57810x00000006,0x00004001,0x00003fe7,0x00000000,
52610x00003c22,0x000001c4,0x00003c21,0x00050095, 57820x00050095,0x00000145,0x00004003,0x00004001,
52620x0000013d,0x00003c40,0x00003c0f,0x00003c22, 57830x00003fe5,0x00050051,0x00000006,0x00004004,
52630x00050051,0x00000006,0x00003c41,0x00003c40, 57840x00004003,0x00000001,0x00050051,0x00000006,
52640x00000001,0x00050051,0x00000006,0x00003c42, 57850x00004005,0x00004003,0x00000000,0x00050051,
52650x00003c40,0x00000000,0x00050080,0x00000006, 57860x00000006,0x00004008,0x00003fe7,0x00000001,
52660x00003c47,0x00003c16,0x00003c41,0x00050050, 57870x00050080,0x00000006,0x0000400a,0x00004008,
52670x00000007,0x00003c48,0x00003c42,0x00003c47, 57880x00004004,0x00050050,0x00000007,0x0000400b,
52680x0004007c,0x00000014,0x00003c38,0x00003c48, 57890x00004005,0x0000400a,0x0004007c,0x00000014,
52690x00060041,0x0000016c,0x00003c2f,0x00003c38, 57900x00003ffb,0x0000400b,0x00060041,0x00000174,
52700x0000016b,0x0000016b,0x0006003d,0x00000006, 57910x00003ff2,0x00003ffb,0x00000173,0x00000173,
52710x00003c30,0x00003c2f,0x00000002,0x00000004, 57920x0006003d,0x00000006,0x00003ff3,0x00003ff2,
52720x000500aa,0x0000002f,0x00003bdb,0x00003c01,
52730x00003c30,0x000300f7,0x00003be3,0x00000000,
52740x000400fa,0x00003bdb,0x00003bdc,0x00003be3,
52750x000200f8,0x00003bdc,0x000500c6,0x000000f4,
52760x00003bdf,0x000013db,0x0000397d,0x0004007c,
52770x00000006,0x00003be0,0x00003bdf,0x0006000c,
52780x000000f4,0x00003be1,0x00000001,0x0000004b,
52790x00003be0,0x00050082,0x000000f4,0x00003be2,
52800x00000d76,0x00003be1,0x000200f9,0x00003be9,
52810x000200f8,0x00003be3,0x000500c6,0x00000006,
52820x00003be6,0x00003c01,0x00003c30,0x0006000c,
52830x000000f4,0x00003be7,0x00000001,0x0000004b,
52840x00003be6,0x00050082,0x000000f4,0x00003be8,
52850x00000d7e,0x00003be7,0x000200f9,0x00003be9,
52860x000200f8,0x00003be9,0x000900f5,0x000000f4,
52870x00005e45,0x00000d67,0x00003bd3,0x00003be2,
52880x00003bdc,0x00003be8,0x00003be3,0x000500ad,
52890x0000002f,0x00003981,0x00005e45,0x00005e43,
52900x000400fa,0x00003981,0x00003982,0x00003986,
52910x000200f8,0x00003982,0x000500c4,0x000000f4,
52920x00003984,0x00005e44,0x00000264,0x000200f9,
52930x00003977,0x000200f8,0x00003986,0x000500c3,
52940x000000f4,0x00003988,0x00005e44,0x00000264,
52950x000200f9,0x00003989,0x000200f8,0x00003989,
52960x000700f5,0x000000f4,0x00005e49,0x0000016b,
52970x00003986,0x00006117,0x0000399e,0x000700f5,
52980x000000f4,0x00005e48,0x00003988,0x00003986,
52990x000039a0,0x0000399e,0x000500af,0x0000002f,
53000x0000398c,0x00005e48,0x00000264,0x000400f6,
53010x000039a1,0x0000399e,0x00000000,0x000400fa,
53020x0000398c,0x0000398d,0x000039a1,0x000200f8,
53030x0000398d,0x00050080,0x000000f4,0x00003991,
53040x00005e49,0x00005e48,0x00050084,0x000000f4,
53050x00003993,0x00003991,0x00003971,0x00050080,
53060x000000f4,0x00003994,0x000013db,0x00003993,
53070x000300f7,0x00003c73,0x00000000,0x000300fb,
53080x00000138,0x00003c51,0x000200f8,0x00003c51,
53090x000500b1,0x0000002f,0x00003c53,0x00003994,
53100x0000016b,0x000400a8,0x0000002f,0x00003c54,
53110x00003c53,0x000300f7,0x00003c5b,0x00000000,
53120x000400fa,0x00003c54,0x00003c55,0x00003c5b,
53130x000200f8,0x00003c55,0x00050041,0x000001bb,
53140x00003c57,0x000001b9,0x000001f0,0x0004003d,
53150x00000006,0x00003c58,0x00003c57,0x0004007c,
53160x000000f4,0x00003c59,0x00003c58,0x000500af,
53170x0000002f,0x00003c5a,0x00003994,0x00003c59,
53180x000200f9,0x00003c5b,0x000200f8,0x00003c5b,
53190x000700f5,0x0000002f,0x00003c5c,0x00003c53,
53200x00003c51,0x00003c5a,0x00003c55,0x000300f7,
53210x00003c5e,0x00000000,0x000400fa,0x00003c5c,
53220x00003c5d,0x00003c5e,0x000200f8,0x00003c5d,
53230x000200f9,0x00003c73,0x000200f8,0x00003c5e,
53240x00050084,0x00000006,0x00003c7c,0x000000ec,
53250x000012dd,0x00050080,0x00000006,0x00003c7d,
53260x000001c4,0x00003c7c,0x00050041,0x00000266,
53270x00003c7e,0x000001b9,0x00000264,0x0004003d,
53280x00000007,0x00003c7f,0x00003c7e,0x00050051,
53290x00000006,0x00003c99,0x00003c7f,0x00000000,
53300x00050095,0x0000013d,0x00003c9b,0x00003c99,
53310x00003c7d,0x00050051,0x00000006,0x00003c9c,
53320x00003c9b,0x00000001,0x00050051,0x00000006,
53330x00003c9d,0x00003c9b,0x00000000,0x00050051,
53340x00000006,0x00003ca0,0x00003c7f,0x00000001,
53350x00050080,0x00000006,0x00003ca2,0x00003ca0,
53360x00003c9c,0x00050050,0x00000007,0x00003ca3,
53370x00003c9d,0x00003ca2,0x0004007c,0x00000014,
53380x00003c93,0x00003ca3,0x00060041,0x0000016c,
53390x00003c8a,0x00003c93,0x0000016b,0x0000016b,
53400x0006003d,0x00000006,0x00003c8b,0x00003c8a,
53410x00000002,0x00000004,0x0004007c,0x00000006, 57930x00000002,0x00000004,0x0004007c,0x00000006,
53420x00003caa,0x00003994,0x00050084,0x00000006, 57940x00004012,0x00003c84,0x00050084,0x00000006,
53430x00003cab,0x000000ec,0x00003caa,0x00050080, 57950x00004013,0x000000f3,0x00004012,0x00050080,
53440x00000006,0x00003cac,0x000001c4,0x00003cab, 57960x00000006,0x00004014,0x000001cc,0x00004013,
53450x00050095,0x0000013d,0x00003cca,0x00003c99, 57970x00050095,0x00000145,0x00004032,0x00004001,
53460x00003cac,0x00050051,0x00000006,0x00003ccb, 57980x00004014,0x00050051,0x00000006,0x00004033,
53470x00003cca,0x00000001,0x00050051,0x00000006, 57990x00004032,0x00000001,0x00050051,0x00000006,
53480x00003ccc,0x00003cca,0x00000000,0x00050080, 58000x00004034,0x00004032,0x00000000,0x00050080,
53490x00000006,0x00003cd1,0x00003ca0,0x00003ccb, 58010x00000006,0x00004039,0x00004008,0x00004033,
53500x00050050,0x00000007,0x00003cd2,0x00003ccc, 58020x00050050,0x00000007,0x0000403a,0x00004034,
53510x00003cd1,0x0004007c,0x00000014,0x00003cc2, 58030x00004039,0x0004007c,0x00000014,0x0000402a,
53520x00003cd2,0x00060041,0x0000016c,0x00003cb9, 58040x0000403a,0x00060041,0x00000174,0x00004021,
53530x00003cc2,0x0000016b,0x0000016b,0x0006003d, 58050x0000402a,0x00000173,0x00000173,0x0006003d,
53540x00000006,0x00003cba,0x00003cb9,0x00000002, 58060x00000006,0x00004022,0x00004021,0x00000002,
53550x00000004,0x000500aa,0x0000002f,0x00003c65, 58070x00000004,0x000500aa,0x0000002f,0x00003fcd,
53560x00003c8b,0x00003cba,0x000300f7,0x00003c6d, 58080x00003ff3,0x00004022,0x000300f7,0x00003fd5,
53570x00000000,0x000400fa,0x00003c65,0x00003c66, 58090x00000000,0x000400fa,0x00003fcd,0x00003fce,
53580x00003c6d,0x000200f8,0x00003c66,0x000500c6, 58100x00003fd5,0x000200f8,0x00003fce,0x000500c6,
53590x000000f4,0x00003c69,0x000013db,0x00003994, 58110x000000fb,0x00003fd1,0x000014cd,0x00003c84,
53600x0004007c,0x00000006,0x00003c6a,0x00003c69, 58120x0004007c,0x00000006,0x00003fd2,0x00003fd1,
53610x0006000c,0x000000f4,0x00003c6b,0x00000001, 58130x0006000c,0x000000fb,0x00003fd3,0x00000001,
53620x0000004b,0x00003c6a,0x00050082,0x000000f4, 58140x0000004b,0x00003fd2,0x00050082,0x000000fb,
53630x00003c6c,0x00000d76,0x00003c6b,0x000200f9, 58150x00003fd4,0x00000ddb,0x00003fd3,0x000200f9,
53640x00003c73,0x000200f8,0x00003c6d,0x000500c6, 58160x00003fdb,0x000200f8,0x00003fd5,0x000500c6,
53650x00000006,0x00003c70,0x00003c8b,0x00003cba, 58170x00000006,0x00003fd8,0x00003ff3,0x00004022,
53660x0006000c,0x000000f4,0x00003c71,0x00000001, 58180x0006000c,0x000000fb,0x00003fd9,0x00000001,
53670x0000004b,0x00003c70,0x00050082,0x000000f4, 58190x0000004b,0x00003fd8,0x00050082,0x000000fb,
53680x00003c72,0x00000d7e,0x00003c71,0x000200f9, 58200x00003fda,0x00000de3,0x00003fd9,0x000200f9,
53690x00003c73,0x000200f8,0x00003c73,0x000900f5, 58210x00003fdb,0x000200f8,0x00003fdb,0x000900f5,
53700x000000f4,0x00005e5f,0x00000d67,0x00003c5d, 58220x000000fb,0x00006270,0x00000dcc,0x00003fc5,
53710x00003c6c,0x00003c66,0x00003c72,0x00003c6d, 58230x00003fd4,0x00003fce,0x00003fda,0x00003fd5,
53720x000500ad,0x0000002f,0x00003998,0x00005e5f, 58240x000200f9,0x00003c89,0x000200f8,0x00003c89,
53730x00005e43,0x000600a9,0x000000f4,0x00006117, 58250x000700f5,0x000000fb,0x00006274,0x00000173,
53740x00003998,0x00003991,0x00005e49,0x000200f9, 58260x00003fdb,0x0000654e,0x00003c9e,0x000700f5,
53750x0000399e,0x000200f8,0x0000399e,0x000500c3, 58270x000000fb,0x00006273,0x0000626f,0x00003fdb,
53760x000000f4,0x000039a0,0x00005e48,0x00000264, 58280x00003c8d,0x00003c9e,0x000400f6,0x00003ca1,
53770x000200f9,0x00003989,0x000200f8,0x000039a1, 58290x00003c9e,0x00000000,0x000200f9,0x00003c8a,
53780x00050084,0x000000f4,0x000039a5,0x00005e49, 58300x000200f8,0x00003c8a,0x00050080,0x000000fb,
53790x00003971,0x00050080,0x000000f4,0x000039a6, 58310x00003c8c,0x00006273,0x0000026c,0x000500c3,
53800x000013db,0x000039a5,0x000300f7,0x00003cfd, 58320x000000fb,0x00003c8d,0x00003c8c,0x0000026c,
53810x00000000,0x000300fb,0x00000138,0x00003cdb, 58330x00050080,0x000000fb,0x00003c91,0x00006274,
53820x000200f8,0x00003cdb,0x000500b1,0x0000002f, 58340x00003c8d,0x00050084,0x000000fb,0x00003c93,
53830x00003cdd,0x000039a6,0x0000016b,0x000400a8, 58350x00003c91,0x00003c4f,0x00050080,0x000000fb,
53840x0000002f,0x00003cde,0x00003cdd,0x000300f7, 58360x00003c94,0x000014cd,0x00003c93,0x000300f7,
53850x00003ce5,0x00000000,0x000400fa,0x00003cde, 58370x00004065,0x00000000,0x000300fb,0x00000140,
53860x00003cdf,0x00003ce5,0x000200f8,0x00003cdf, 58380x00004043,0x000200f8,0x00004043,0x000500b1,
53870x00050041,0x000001bb,0x00003ce1,0x000001b9, 58390x0000002f,0x00004045,0x00003c94,0x00000173,
53880x000001f0,0x0004003d,0x00000006,0x00003ce2, 58400x000400a8,0x0000002f,0x00004046,0x00004045,
53890x00003ce1,0x0004007c,0x000000f4,0x00003ce3, 58410x000300f7,0x0000404d,0x00000000,0x000400fa,
53900x00003ce2,0x000500af,0x0000002f,0x00003ce4, 58420x00004046,0x00004047,0x0000404d,0x000200f8,
53910x000039a6,0x00003ce3,0x000200f9,0x00003ce5, 58430x00004047,0x00050041,0x000001c3,0x00004049,
53920x000200f8,0x00003ce5,0x000700f5,0x0000002f, 58440x000001c1,0x000001f8,0x0004003d,0x00000006,
53930x00003ce6,0x00003cdd,0x00003cdb,0x00003ce4, 58450x0000404a,0x00004049,0x0004007c,0x000000fb,
53940x00003cdf,0x000300f7,0x00003ce8,0x00000000, 58460x0000404b,0x0000404a,0x000500af,0x0000002f,
53950x000400fa,0x00003ce6,0x00003ce7,0x00003ce8, 58470x0000404c,0x00003c94,0x0000404b,0x000200f9,
53960x000200f8,0x00003ce7,0x000200f9,0x00003cfd, 58480x0000404d,0x000200f8,0x0000404d,0x000700f5,
53970x000200f8,0x00003ce8,0x00050084,0x00000006, 58490x0000002f,0x0000404e,0x00004045,0x00004043,
53980x00003d06,0x000000ec,0x000012dd,0x00050080, 58500x0000404c,0x00004047,0x000300f7,0x00004050,
53990x00000006,0x00003d07,0x000001c4,0x00003d06, 58510x00000000,0x000400fa,0x0000404e,0x0000404f,
54000x00050041,0x00000266,0x00003d08,0x000001b9, 58520x00004050,0x000200f8,0x0000404f,0x000200f9,
54010x00000264,0x0004003d,0x00000007,0x00003d09, 58530x00004065,0x000200f8,0x00004050,0x00050084,
54020x00003d08,0x00050051,0x00000006,0x00003d23, 58540x00000006,0x0000406e,0x000000f3,0x000013a7,
54030x00003d09,0x00000000,0x00050095,0x0000013d, 58550x00050080,0x00000006,0x0000406f,0x000001cc,
54040x00003d25,0x00003d23,0x00003d07,0x00050051, 58560x0000406e,0x00050041,0x0000026e,0x00004070,
54050x00000006,0x00003d26,0x00003d25,0x00000001, 58570x000001c1,0x0000026c,0x0004003d,0x00000007,
54060x00050051,0x00000006,0x00003d27,0x00003d25, 58580x00004071,0x00004070,0x00050051,0x00000006,
54070x00000000,0x00050051,0x00000006,0x00003d2a, 58590x0000408b,0x00004071,0x00000000,0x00050095,
54080x00003d09,0x00000001,0x00050080,0x00000006, 58600x00000145,0x0000408d,0x0000408b,0x0000406f,
54090x00003d2c,0x00003d2a,0x00003d26,0x00050050, 58610x00050051,0x00000006,0x0000408e,0x0000408d,
54100x00000007,0x00003d2d,0x00003d27,0x00003d2c, 58620x00000001,0x00050051,0x00000006,0x0000408f,
54110x0004007c,0x00000014,0x00003d1d,0x00003d2d, 58630x0000408d,0x00000000,0x00050051,0x00000006,
54120x00060041,0x0000016c,0x00003d14,0x00003d1d, 58640x00004092,0x00004071,0x00000001,0x00050080,
54130x0000016b,0x0000016b,0x0006003d,0x00000006, 58650x00000006,0x00004094,0x00004092,0x0000408e,
54140x00003d15,0x00003d14,0x00000002,0x00000004, 58660x00050050,0x00000007,0x00004095,0x0000408f,
54150x0004007c,0x00000006,0x00003d34,0x000039a6, 58670x00004094,0x0004007c,0x00000014,0x00004085,
54160x00050084,0x00000006,0x00003d35,0x000000ec, 58680x00004095,0x00060041,0x00000174,0x0000407c,
54170x00003d34,0x00050080,0x00000006,0x00003d36, 58690x00004085,0x00000173,0x00000173,0x0006003d,
54180x000001c4,0x00003d35,0x00050095,0x0000013d, 58700x00000006,0x0000407d,0x0000407c,0x00000002,
54190x00003d54,0x00003d23,0x00003d36,0x00050051, 58710x00000004,0x0004007c,0x00000006,0x0000409c,
54200x00000006,0x00003d55,0x00003d54,0x00000001, 58720x00003c94,0x00050084,0x00000006,0x0000409d,
54210x00050051,0x00000006,0x00003d56,0x00003d54, 58730x000000f3,0x0000409c,0x00050080,0x00000006,
54220x00000000,0x00050080,0x00000006,0x00003d5b, 58740x0000409e,0x000001cc,0x0000409d,0x00050095,
54230x00003d2a,0x00003d55,0x00050050,0x00000007, 58750x00000145,0x000040bc,0x0000408b,0x0000409e,
54240x00003d5c,0x00003d56,0x00003d5b,0x0004007c, 58760x00050051,0x00000006,0x000040bd,0x000040bc,
54250x00000014,0x00003d4c,0x00003d5c,0x00060041, 58770x00000001,0x00050051,0x00000006,0x000040be,
54260x0000016c,0x00003d43,0x00003d4c,0x0000016b, 58780x000040bc,0x00000000,0x00050080,0x00000006,
54270x0000016b,0x0006003d,0x00000006,0x00003d44, 58790x000040c3,0x00004092,0x000040bd,0x00050050,
54280x00003d43,0x00000002,0x00000004,0x000500aa, 58800x00000007,0x000040c4,0x000040be,0x000040c3,
54290x0000002f,0x00003cef,0x00003d15,0x00003d44, 58810x0004007c,0x00000014,0x000040b4,0x000040c4,
54300x000300f7,0x00003cf7,0x00000000,0x000400fa, 58820x00060041,0x00000174,0x000040ab,0x000040b4,
54310x00003cef,0x00003cf0,0x00003cf7,0x000200f8, 58830x00000173,0x00000173,0x0006003d,0x00000006,
54320x00003cf0,0x000500c6,0x000000f4,0x00003cf3, 58840x000040ac,0x000040ab,0x00000002,0x00000004,
54330x000013db,0x000039a6,0x0004007c,0x00000006, 58850x000500aa,0x0000002f,0x00004057,0x0000407d,
54340x00003cf4,0x00003cf3,0x0006000c,0x000000f4, 58860x000040ac,0x000300f7,0x0000405f,0x00000000,
54350x00003cf5,0x00000001,0x0000004b,0x00003cf4, 58870x000400fa,0x00004057,0x00004058,0x0000405f,
54360x00050082,0x000000f4,0x00003cf6,0x00000d76, 58880x000200f8,0x00004058,0x000500c6,0x000000fb,
54370x00003cf5,0x000200f9,0x00003cfd,0x000200f8, 58890x0000405b,0x000014cd,0x00003c94,0x0004007c,
54380x00003cf7,0x000500c6,0x00000006,0x00003cfa, 58900x00000006,0x0000405c,0x0000405b,0x0006000c,
54390x00003d15,0x00003d44,0x0006000c,0x000000f4, 58910x000000fb,0x0000405d,0x00000001,0x0000004b,
54400x00003cfb,0x00000001,0x0000004b,0x00003cfa, 58920x0000405c,0x00050082,0x000000fb,0x0000405e,
54410x00050082,0x000000f4,0x00003cfc,0x00000d7e, 58930x00000ddb,0x0000405d,0x000200f9,0x00004065,
54420x00003cfb,0x000200f9,0x00003cfd,0x000200f8, 58940x000200f8,0x0000405f,0x000500c6,0x00000006,
54430x00003cfd,0x000900f5,0x000000f4,0x00005e4a, 58950x00004062,0x0000407d,0x000040ac,0x0006000c,
54440x00000d67,0x00003ce7,0x00003cf6,0x00003cf0, 58960x000000fb,0x00004063,0x00000001,0x0000004b,
54450x00003cfc,0x00003cf7,0x000200f9,0x000039ab, 58970x00004062,0x00050082,0x000000fb,0x00004064,
54460x000200f8,0x000039ab,0x000700f5,0x000000f4, 58980x00000de3,0x00004063,0x000200f9,0x00004065,
54470x00005e4e,0x0000016b,0x00003cfd,0x00006118, 58990x000200f8,0x00004065,0x000900f5,0x000000fb,
54480x000039c0,0x000700f5,0x000000f4,0x00005e4d, 59000x00006275,0x00000dcc,0x0000404f,0x0000405e,
54490x00005e49,0x00003cfd,0x000039af,0x000039c0, 59010x00004058,0x00004064,0x0000405f,0x000500ad,
54500x000400f6,0x000039c3,0x000039c0,0x00000000, 59020x0000002f,0x00003c98,0x00006275,0x00006270,
54510x000200f9,0x000039ac,0x000200f8,0x000039ac, 59030x000600a9,0x000000fb,0x0000654e,0x00003c98,
54520x00050080,0x000000f4,0x000039ae,0x00005e4d, 59040x00003c91,0x00006274,0x000200f9,0x00003c9e,
54530x00000264,0x000500c3,0x000000f4,0x000039af, 59050x000200f8,0x00003c9e,0x000500ad,0x0000002f,
54540x000039ae,0x00000264,0x00050080,0x000000f4, 59060x00003ca0,0x00003c8d,0x0000026c,0x000400fa,
54550x000039b3,0x00005e4e,0x000039af,0x00050084, 59070x00003ca0,0x00003c89,0x00003ca1,0x000200f8,
54560x000000f4,0x000039b5,0x000039b3,0x00003971, 59080x00003ca1,0x00050084,0x000000fb,0x00003ca5,
54570x00050080,0x000000f4,0x000039b6,0x000013db, 59090x0000654e,0x00003c4f,0x00050080,0x000000fb,
54580x000039b5,0x000300f7,0x00003d87,0x00000000, 59100x00003ca6,0x000014cd,0x00003ca5,0x0007000c,
54590x000300fb,0x00000138,0x00003d65,0x000200f8, 59110x000000fb,0x00003ca8,0x00000001,0x00000027,
54600x00003d65,0x000500b1,0x0000002f,0x00003d67, 59120x00003c4f,0x00000173,0x00050080,0x000000fb,
54610x000039b6,0x0000016b,0x000400a8,0x0000002f, 59130x00003ca9,0x00003ca6,0x00003ca8,0x0007000c,
54620x00003d68,0x00003d67,0x000300f7,0x00003d6f, 59140x000000fb,0x00003cac,0x00000001,0x00000027,
54630x00000000,0x000400fa,0x00003d68,0x00003d69, 59150x000014cd,0x00003c84,0x000500aa,0x0000002f,
54640x00003d6f,0x000200f8,0x00003d69,0x00050041, 59160x00003cae,0x00003cac,0x00003ca9,0x000300f7,
54650x000001bb,0x00003d6b,0x000001b9,0x000001f0, 59170x00003cb6,0x00000000,0x000400fa,0x00003cae,
54660x0004003d,0x00000006,0x00003d6c,0x00003d6b, 59180x00003caf,0x00003cb3,0x000200f8,0x00003cb3,
54670x0004007c,0x000000f4,0x00003d6d,0x00003d6c, 59190x0004007c,0x00000006,0x00003cb5,0x00003ca9,
54680x000500af,0x0000002f,0x00003d6e,0x000039b6, 59200x000200f9,0x00003cb6,0x000200f8,0x00003caf,
54690x00003d6d,0x000200f9,0x00003d6f,0x000200f8, 59210x0004007c,0x00000006,0x00003cb1,0x00003ca9,
54700x00003d6f,0x000700f5,0x0000002f,0x00003d70, 59220x000500c5,0x00000006,0x00003cb2,0x00000249,
54710x00003d67,0x00003d65,0x00003d6e,0x00003d69, 59230x00003cb1,0x000200f9,0x00003cb6,0x000200f8,
54720x000300f7,0x00003d72,0x00000000,0x000400fa, 59240x00003cb6,0x000700f5,0x00000006,0x0000627c,
54730x00003d70,0x00003d71,0x00003d72,0x000200f8, 59250x00003cb2,0x00003caf,0x00003cb5,0x00003cb3,
54740x00003d71,0x000200f9,0x00003d87,0x000200f8, 59260x0007000c,0x000000fb,0x00003cba,0x00000001,
54750x00003d72,0x00050084,0x00000006,0x00003d90, 59270x0000002a,0x000014cd,0x00003c84,0x00050080,
54760x000000ec,0x000012dd,0x00050080,0x00000006, 59280x000000fb,0x00003cbc,0x00003ca9,0x0000026c,
54770x00003d91,0x000001c4,0x00003d90,0x00050041, 59290x000500aa,0x0000002f,0x00003cbd,0x00003cba,
54780x00000266,0x00003d92,0x000001b9,0x00000264, 59300x00003cbc,0x000300f7,0x00003cc7,0x00000000,
54790x0004003d,0x00000007,0x00003d93,0x00003d92, 59310x000400fa,0x00003cbd,0x00003cbe,0x00003cc3,
54800x00050051,0x00000006,0x00003dad,0x00003d93, 59320x000200f8,0x00003cc3,0x0004007c,0x00000006,
54810x00000000,0x00050095,0x0000013d,0x00003daf, 59330x00003cc6,0x00003cbc,0x000200f9,0x00003cc7,
54820x00003dad,0x00003d91,0x00050051,0x00000006, 59340x000200f8,0x00003cbe,0x0004007c,0x00000006,
54830x00003db0,0x00003daf,0x00000001,0x00050051, 59350x00003cc1,0x00003cbc,0x000500c5,0x00000006,
54840x00000006,0x00003db1,0x00003daf,0x00000000, 59360x00003cc2,0x00000249,0x00003cc1,0x000200f9,
54850x00050051,0x00000006,0x00003db4,0x00003d93, 59370x00003cc7,0x000200f8,0x00003cc7,0x000700f5,
54860x00000001,0x00050080,0x00000006,0x00003db6, 59380x00000006,0x0000627d,0x00003cc2,0x00003cbe,
54870x00003db4,0x00003db0,0x00050050,0x00000007, 59390x00003cc6,0x00003cc3,0x00050041,0x000001c3,
54880x00003db7,0x00003db1,0x00003db6,0x0004007c, 59400x000040e1,0x000001c1,0x000001c2,0x0004003d,
54890x00000014,0x00003da7,0x00003db7,0x00060041, 59410x00000006,0x000040e2,0x000040e1,0x00050084,
54900x0000016c,0x00003d9e,0x00003da7,0x0000016b, 59420x00000006,0x000040e3,0x000001e3,0x000040e2,
54910x0000016b,0x0006003d,0x00000006,0x00003d9f, 59430x00050080,0x00000006,0x000040e4,0x000001cc,
54920x00003d9e,0x00000002,0x00000004,0x0004007c, 59440x000040e3,0x00050080,0x00000006,0x000040ea,
54930x00000006,0x00003dbe,0x000039b6,0x00050084, 59450x000040e2,0x00000695,0x00050086,0x00000006,
54940x00000006,0x00003dbf,0x000000ec,0x00003dbe, 59460x000040eb,0x000040ea,0x000001c6,0x00050084,
54950x00050080,0x00000006,0x00003dc0,0x000001c4, 59470x00000006,0x000040dd,0x000001cc,0x000040eb,
54960x00003dbf,0x00050095,0x0000013d,0x00003dde, 59480x00050080,0x00000006,0x000040de,0x000040e4,
54970x00003dad,0x00003dc0,0x00050051,0x00000006, 59490x000040dd,0x00050080,0x00000006,0x000040d8,
54980x00003ddf,0x00003dde,0x00000001,0x00050051, 59500x000040de,0x000040dd,0x00050041,0x000001c3,
54990x00000006,0x00003de0,0x00003dde,0x00000000, 59510x000040cf,0x000001c1,0x000001f8,0x0004003d,
55000x00050080,0x00000006,0x00003de5,0x00003db4, 59520x00000006,0x000040d0,0x000040cf,0x00050084,
55010x00003ddf,0x00050050,0x00000007,0x00003de6, 59530x00000006,0x000040d1,0x000001f7,0x000040d0,
55020x00003de0,0x00003de5,0x0004007c,0x00000014, 59540x00050080,0x00000006,0x000040d2,0x000040d8,
55030x00003dd6,0x00003de6,0x00060041,0x0000016c, 59550x000040d1,0x00050041,0x000001c3,0x000040c8,
55040x00003dcd,0x00003dd6,0x0000016b,0x0000016b, 59560x000001c1,0x0000020e,0x0004003d,0x00000006,
55050x0006003d,0x00000006,0x00003dce,0x00003dcd, 59570x000040c9,0x000040c8,0x00050084,0x00000006,
55060x00000002,0x00000004,0x000500aa,0x0000002f, 59580x000040ca,0x0000020d,0x000040c9,0x00050080,
55070x00003d79,0x00003d9f,0x00003dce,0x000300f7, 59590x00000006,0x000040cb,0x000040d2,0x000040ca,
55080x00003d81,0x00000000,0x000400fa,0x00003d79, 59600x00050084,0x00000006,0x00003ccc,0x000000f3,
55090x00003d7a,0x00003d81,0x000200f8,0x00003d7a, 59610x000013a7,0x00050080,0x00000006,0x00003ccd,
55100x000500c6,0x000000f4,0x00003d7d,0x000013db, 59620x000040cb,0x00003ccc,0x00050041,0x0000026e,
55110x000039b6,0x0004007c,0x00000006,0x00003d7e, 59630x00003cce,0x000001c1,0x0000026c,0x0004003d,
55120x00003d7d,0x0006000c,0x000000f4,0x00003d7f, 59640x00000007,0x00003ccf,0x00003cce,0x00050051,
55130x00000001,0x0000004b,0x00003d7e,0x00050082, 59650x00000006,0x00004108,0x00003ccf,0x00000000,
55140x000000f4,0x00003d80,0x00000d76,0x00003d7f, 59660x00050095,0x00000145,0x0000410a,0x00004108,
55150x000200f9,0x00003d87,0x000200f8,0x00003d81, 59670x00003ccd,0x00050051,0x00000006,0x0000410b,
55160x000500c6,0x00000006,0x00003d84,0x00003d9f, 59680x0000410a,0x00000001,0x00050051,0x00000006,
55170x00003dce,0x0006000c,0x000000f4,0x00003d85, 59690x0000410c,0x0000410a,0x00000000,0x00050051,
55180x00000001,0x0000004b,0x00003d84,0x00050082, 59700x00000006,0x0000410f,0x00003ccf,0x00000001,
55190x000000f4,0x00003d86,0x00000d7e,0x00003d85, 59710x00050080,0x00000006,0x00004111,0x0000410f,
55200x000200f9,0x00003d87,0x000200f8,0x00003d87, 59720x0000410b,0x00050050,0x00000007,0x00004112,
55210x000900f5,0x000000f4,0x00005e4f,0x00000d67, 59730x0000410c,0x00004111,0x0004007c,0x00000014,
55220x00003d71,0x00003d80,0x00003d7a,0x00003d86, 59740x00004102,0x00004112,0x00060041,0x00000174,
55230x00003d81,0x000500ad,0x0000002f,0x000039ba, 59750x000040fa,0x00004102,0x00000173,0x00000173,
55240x00005e4f,0x00005e4a,0x000600a9,0x000000f4, 59760x0005003e,0x000040fa,0x0000627c,0x00000002,
55250x00006118,0x000039ba,0x000039b3,0x00005e4e, 59770x00000004,0x000500ac,0x0000002f,0x0000414c,
55260x000200f9,0x000039c0,0x000200f8,0x000039c0, 59780x000040d0,0x0000014a,0x000300f7,0x00004152,
55270x000500ad,0x0000002f,0x000039c2,0x000039af, 59790x00000000,0x000400fa,0x0000414c,0x0000414d,
55280x00000264,0x000400fa,0x000039c2,0x000039ab, 59800x00004151,0x000200f8,0x00004151,0x000200f9,
55290x000039c3,0x000200f8,0x000039c3,0x00050084, 59810x00004152,0x000200f8,0x0000414d,0x00050082,
55300x000000f4,0x000039c7,0x00006118,0x00003971, 59820x00000006,0x00004150,0x000040d0,0x0000014a,
55310x00050080,0x000000f4,0x000039c8,0x000013db, 59830x000200f9,0x00004152,0x000200f8,0x00004152,
55320x000039c7,0x0007000c,0x000000f4,0x000039ca, 59840x000700f5,0x00000006,0x0000627e,0x00004150,
55330x00000001,0x00000027,0x00003971,0x0000016b, 59850x0000414d,0x00000140,0x00004151,0x00050084,
55340x00050080,0x000000f4,0x000039cb,0x000039c8, 59860x00000006,0x00004117,0x000000f3,0x0000627e,
55350x000039ca,0x0007000c,0x000000f4,0x000039ce, 59870x00050080,0x00000006,0x00004118,0x000040cb,
55360x00000001,0x00000027,0x000013db,0x000039a6, 59880x00004117,0x00050080,0x00000006,0x00003cd6,
55370x000500aa,0x0000002f,0x000039d0,0x000039ce, 59890x00004118,0x00003ccc,0x00050095,0x00000145,
55380x000039cb,0x000300f7,0x000039d8,0x00000000, 59900x0000416b,0x00004108,0x00003cd6,0x00050051,
55390x000400fa,0x000039d0,0x000039d1,0x000039d5, 59910x00000006,0x0000416c,0x0000416b,0x00000001,
55400x000200f8,0x000039d5,0x0004007c,0x00000006, 59920x00050051,0x00000006,0x0000416d,0x0000416b,
55410x000039d7,0x000039cb,0x000200f9,0x000039d8, 59930x00000000,0x00050080,0x00000006,0x00004172,
55420x000200f8,0x000039d1,0x0004007c,0x00000006, 59940x0000410f,0x0000416c,0x00050050,0x00000007,
55430x000039d3,0x000039cb,0x000500c5,0x00000006, 59950x00004173,0x0000416d,0x00004172,0x0004007c,
55440x000039d4,0x00000241,0x000039d3,0x000200f9, 59960x00000014,0x00004163,0x00004173,0x00060041,
55450x000039d8,0x000200f8,0x000039d8,0x000700f5, 59970x00000174,0x0000415b,0x00004163,0x00000173,
55460x00000006,0x00005e56,0x000039d4,0x000039d1, 59980x00000173,0x0005003e,0x0000415b,0x0000627d,
55470x000039d7,0x000039d5,0x0007000c,0x000000f4, 59990x00000002,0x00000004,0x000500c7,0x00000006,
55480x000039dc,0x00000001,0x0000002a,0x000013db, 60000x00003cdc,0x0000627c,0x00000249,0x000500aa,
55490x000039a6,0x00050080,0x000000f4,0x000039de, 60010x0000002f,0x00003cdd,0x00003cdc,0x00000140,
55500x000039cb,0x00000264,0x000500aa,0x0000002f, 60020x000300f7,0x00003ce8,0x00000000,0x000400fa,
55510x000039df,0x000039dc,0x000039de,0x000300f7, 60030x00003cdd,0x00003cde,0x00003ce8,0x000200f8,
55520x000039e9,0x00000000,0x000400fa,0x000039df, 60040x00003cde,0x000300f7,0x000041b9,0x00000000,
55530x000039e0,0x000039e5,0x000200f8,0x000039e5, 60050x000400fa,0x0000414c,0x000041b4,0x000041b8,
55540x0004007c,0x00000006,0x000039e8,0x000039de, 60060x000200f8,0x000041b8,0x000200f9,0x000041b9,
55550x000200f9,0x000039e9,0x000200f8,0x000039e0, 60070x000200f8,0x000041b4,0x00050082,0x00000006,
55560x0004007c,0x00000006,0x000039e3,0x000039de, 60080x000041b7,0x000040d0,0x0000014a,0x000200f9,
55570x000500c5,0x00000006,0x000039e4,0x00000241, 60090x000041b9,0x000200f8,0x000041b9,0x000700f5,
55580x000039e3,0x000200f9,0x000039e9,0x000200f8, 60100x00000006,0x0000627f,0x000041b7,0x000041b4,
55590x000039e9,0x000700f5,0x00000006,0x00005e57, 60110x00000140,0x000041b8,0x00050084,0x00000006,
55600x000039e4,0x000039e0,0x000039e8,0x000039e5, 60120x0000417e,0x000000f3,0x0000627f,0x00050080,
55610x00050041,0x000001bb,0x00003e03,0x000001b9, 60130x00000006,0x0000417f,0x000040cb,0x0000417e,
55620x000001ba,0x0004003d,0x00000006,0x00003e04, 60140x000300f7,0x000041c6,0x00000000,0x000400fa,
55630x00003e03,0x00050084,0x00000006,0x00003e05, 60150x0000414c,0x000041c1,0x000041c5,0x000200f8,
55640x000001db,0x00003e04,0x00050080,0x00000006, 60160x000041c5,0x000200f9,0x000041c6,0x000200f8,
55650x00003e06,0x000001c4,0x00003e05,0x00050080, 60170x000041c1,0x00050082,0x00000006,0x000041c4,
55660x00000006,0x00003e0c,0x00003e04,0x0000062f, 60180x000040d0,0x0000014a,0x000200f9,0x000041c6,
55670x00050086,0x00000006,0x00003e0d,0x00003e0c, 60190x000200f8,0x000041c6,0x000700f5,0x00000006,
55680x000001be,0x00050084,0x00000006,0x00003dff, 60200x00006280,0x000041c4,0x000041c1,0x00000140,
55690x000001c4,0x00003e0d,0x00050080,0x00000006, 60210x000041c5,0x00050084,0x00000006,0x00004178,
55700x00003e00,0x00003e06,0x00003dff,0x00050080, 60220x000000f3,0x00006280,0x00050080,0x00000006,
55710x00000006,0x00003dfa,0x00003e00,0x00003dff, 60230x00004179,0x0000417f,0x00004178,0x00050084,
55720x00050041,0x000001bb,0x00003df1,0x000001b9, 60240x00000006,0x00003ce1,0x000000f3,0x0000627c,
55730x000001f0,0x0004003d,0x00000006,0x00003df2, 60250x00050080,0x00000006,0x00003ce2,0x00004179,
55740x00003df1,0x00050084,0x00000006,0x00003df3, 60260x00003ce1,0x00050095,0x00000145,0x000041df,
55750x000001ef,0x00003df2,0x00050080,0x00000006, 60270x00004108,0x00003ce2,0x00050051,0x00000006,
55760x00003df4,0x00003dfa,0x00003df3,0x00050041, 60280x000041e0,0x000041df,0x00000001,0x00050051,
55770x000001bb,0x00003dea,0x000001b9,0x00000206, 60290x00000006,0x000041e1,0x000041df,0x00000000,
55780x0004003d,0x00000006,0x00003deb,0x00003dea, 60300x00050080,0x00000006,0x000041e6,0x0000410f,
55790x00050084,0x00000006,0x00003dec,0x00000205, 60310x000041e0,0x00050050,0x00000007,0x000041e7,
55800x00003deb,0x00050080,0x00000006,0x00003ded, 60320x000041e1,0x000041e6,0x0004007c,0x00000014,
55810x00003df4,0x00003dec,0x00050084,0x00000006, 60330x000041d7,0x000041e7,0x00060041,0x00000174,
55820x000039ee,0x000000ec,0x000012dd,0x00050080, 60340x000041cf,0x000041d7,0x00000173,0x00000173,
55830x00000006,0x000039ef,0x00003ded,0x000039ee, 60350x0005003e,0x000041cf,0x000013a7,0x00000002,
55840x00050041,0x00000266,0x000039f0,0x000001b9, 60360x00000004,0x000200f9,0x00003ce8,0x000200f8,
55850x00000264,0x0004003d,0x00000007,0x000039f1, 60370x00003ce8,0x000500c7,0x00000006,0x00003cea,
55860x000039f0,0x00050051,0x00000006,0x00003e2a, 60380x0000627d,0x00000249,0x000500aa,0x0000002f,
55870x000039f1,0x00000000,0x00050095,0x0000013d, 60390x00003ceb,0x00003cea,0x00000140,0x000300f7,
55880x00003e2c,0x00003e2a,0x000039ef,0x00050051, 60400x00003cf6,0x00000000,0x000400fa,0x00003ceb,
55890x00000006,0x00003e2d,0x00003e2c,0x00000001, 60410x00003cec,0x00003cf6,0x000200f8,0x00003cec,
55900x00050051,0x00000006,0x00003e2e,0x00003e2c, 60420x000300f7,0x0000422d,0x00000000,0x000400fa,
55910x00000000,0x00050051,0x00000006,0x00003e31, 60430x0000414c,0x00004228,0x0000422c,0x000200f8,
55920x000039f1,0x00000001,0x00050080,0x00000006, 60440x0000422c,0x000200f9,0x0000422d,0x000200f8,
55930x00003e33,0x00003e31,0x00003e2d,0x00050050, 60450x00004228,0x00050082,0x00000006,0x0000422b,
55940x00000007,0x00003e34,0x00003e2e,0x00003e33, 60460x000040d0,0x0000014a,0x000200f9,0x0000422d,
55950x0004007c,0x00000014,0x00003e24,0x00003e34, 60470x000200f8,0x0000422d,0x000700f5,0x00000006,
55960x00060041,0x0000016c,0x00003e1c,0x00003e24, 60480x00006281,0x0000422b,0x00004228,0x00000140,
55970x0000016b,0x0000016b,0x0005003e,0x00003e1c, 60490x0000422c,0x00050084,0x00000006,0x000041f2,
55980x00005e56,0x00000002,0x00000004,0x000500ac, 60500x000000f3,0x00006281,0x00050080,0x00000006,
55990x0000002f,0x00003e6e,0x00003df2,0x00000142, 60510x000041f3,0x000040cb,0x000041f2,0x000300f7,
56000x000300f7,0x00003e74,0x00000000,0x000400fa, 60520x0000423a,0x00000000,0x000400fa,0x0000414c,
56010x00003e6e,0x00003e6f,0x00003e73,0x000200f8, 60530x00004235,0x00004239,0x000200f8,0x00004239,
56020x00003e73,0x000200f9,0x00003e74,0x000200f8, 60540x000200f9,0x0000423a,0x000200f8,0x00004235,
56030x00003e6f,0x00050082,0x00000006,0x00003e72, 60550x00050082,0x00000006,0x00004238,0x000040d0,
56040x00003df2,0x00000142,0x000200f9,0x00003e74, 60560x0000014a,0x000200f9,0x0000423a,0x000200f8,
56050x000200f8,0x00003e74,0x000700f5,0x00000006, 60570x0000423a,0x000700f5,0x00000006,0x00006282,
56060x00005e58,0x00003e72,0x00003e6f,0x00000138, 60580x00004238,0x00004235,0x00000140,0x00004239,
56070x00003e73,0x00050084,0x00000006,0x00003e39, 60590x00050084,0x00000006,0x000041ec,0x000000f3,
56080x000000ec,0x00005e58,0x00050080,0x00000006, 60600x00006282,0x00050080,0x00000006,0x000041ed,
56090x00003e3a,0x00003ded,0x00003e39,0x00050080, 60610x000041f3,0x000041ec,0x00050084,0x00000006,
56100x00000006,0x000039f8,0x00003e3a,0x000039ee, 60620x00003cef,0x000000f3,0x0000627d,0x00050080,
56110x00050095,0x0000013d,0x00003e8d,0x00003e2a, 60630x00000006,0x00003cf0,0x000041ed,0x00003cef,
56120x000039f8,0x00050051,0x00000006,0x00003e8e, 60640x00050095,0x00000145,0x00004253,0x00004108,
56130x00003e8d,0x00000001,0x00050051,0x00000006, 60650x00003cf0,0x00050051,0x00000006,0x00004254,
56140x00003e8f,0x00003e8d,0x00000000,0x00050080, 60660x00004253,0x00000001,0x00050051,0x00000006,
56150x00000006,0x00003e94,0x00003e31,0x00003e8e, 60670x00004255,0x00004253,0x00000000,0x00050080,
56160x00050050,0x00000007,0x00003e95,0x00003e8f, 60680x00000006,0x0000425a,0x0000410f,0x00004254,
56170x00003e94,0x0004007c,0x00000014,0x00003e85, 60690x00050050,0x00000007,0x0000425b,0x00004255,
56180x00003e95,0x00060041,0x0000016c,0x00003e7d, 60700x0000425a,0x0004007c,0x00000014,0x0000424b,
56190x00003e85,0x0000016b,0x0000016b,0x0005003e, 60710x0000425b,0x00060041,0x00000174,0x00004243,
56200x00003e7d,0x00005e57,0x00000002,0x00000004, 60720x0000424b,0x00000173,0x00000173,0x0005003e,
56210x000500c7,0x00000006,0x000039fe,0x00005e56, 60730x00004243,0x000013a7,0x00000002,0x00000004,
56220x00000241,0x000500aa,0x0000002f,0x000039ff, 60740x000200f9,0x00003cf6,0x000200f8,0x00003cf6,
56230x000039fe,0x00000138,0x000300f7,0x00003a0a, 60750x000500aa,0x0000002f,0x00003cf8,0x000014cd,
56240x00000000,0x000400fa,0x000039ff,0x00003a00, 60760x00000173,0x000300f7,0x00003cfe,0x00000000,
56250x00003a0a,0x000200f8,0x00003a00,0x000300f7, 60770x000400fa,0x00003cf8,0x00003cf9,0x00003cfe,
56260x00003edb,0x00000000,0x000400fa,0x00003e6e, 60780x000200f8,0x00003cf9,0x000300f7,0x000042a1,
56270x00003ed6,0x00003eda,0x000200f8,0x00003eda, 60790x00000000,0x000400fa,0x0000414c,0x0000429c,
56280x000200f9,0x00003edb,0x000200f8,0x00003ed6, 60800x000042a0,0x000200f8,0x000042a0,0x000200f9,
56290x00050082,0x00000006,0x00003ed9,0x00003df2, 60810x000042a1,0x000200f8,0x0000429c,0x00050082,
56300x00000142,0x000200f9,0x00003edb,0x000200f8, 60820x00000006,0x0000429f,0x000040d0,0x0000014a,
56310x00003edb,0x000700f5,0x00000006,0x00005e59, 60830x000200f9,0x000042a1,0x000200f8,0x000042a1,
56320x00003ed9,0x00003ed6,0x00000138,0x00003eda, 60840x000700f5,0x00000006,0x00006283,0x0000429f,
56330x00050084,0x00000006,0x00003ea0,0x000000ec, 60850x0000429c,0x00000140,0x000042a0,0x00050084,
56340x00005e59,0x00050080,0x00000006,0x00003ea1, 60860x00000006,0x00004266,0x000000f3,0x00006283,
56350x00003ded,0x00003ea0,0x000300f7,0x00003ee8, 60870x00050080,0x00000006,0x00004267,0x000040cb,
56360x00000000,0x000400fa,0x00003e6e,0x00003ee3, 60880x00004266,0x000300f7,0x000042ae,0x00000000,
56370x00003ee7,0x000200f8,0x00003ee7,0x000200f9, 60890x000400fa,0x0000414c,0x000042a9,0x000042ad,
56380x00003ee8,0x000200f8,0x00003ee3,0x00050082, 60900x000200f8,0x000042ad,0x000200f9,0x000042ae,
56390x00000006,0x00003ee6,0x00003df2,0x00000142, 60910x000200f8,0x000042a9,0x00050082,0x00000006,
56400x000200f9,0x00003ee8,0x000200f8,0x00003ee8, 60920x000042ac,0x000040d0,0x0000014a,0x000200f9,
56410x000700f5,0x00000006,0x00005e5a,0x00003ee6, 60930x000042ae,0x000200f8,0x000042ae,0x000700f5,
56420x00003ee3,0x00000138,0x00003ee7,0x00050084, 60940x00000006,0x00006284,0x000042ac,0x000042a9,
56430x00000006,0x00003e9a,0x000000ec,0x00005e5a, 60950x00000140,0x000042ad,0x00050084,0x00000006,
56440x00050080,0x00000006,0x00003e9b,0x00003ea1, 60960x00004260,0x000000f3,0x00006284,0x00050080,
56450x00003e9a,0x00050084,0x00000006,0x00003a03, 60970x00000006,0x00004261,0x00004267,0x00004260,
56460x000000ec,0x00005e56,0x00050080,0x00000006, 60980x00050095,0x00000145,0x000042c7,0x00004108,
56470x00003a04,0x00003e9b,0x00003a03,0x00050095, 60990x00004261,0x00050051,0x00000006,0x000042c8,
56480x0000013d,0x00003f01,0x00003e2a,0x00003a04, 61000x000042c7,0x00000001,0x00050051,0x00000006,
56490x00050051,0x00000006,0x00003f02,0x00003f01, 61010x000042c9,0x000042c7,0x00000000,0x00050080,
56500x00000001,0x00050051,0x00000006,0x00003f03, 61020x00000006,0x000042ce,0x0000410f,0x000042c8,
56510x00003f01,0x00000000,0x00050080,0x00000006, 61030x00050050,0x00000007,0x000042cf,0x000042c9,
56520x00003f08,0x00003e31,0x00003f02,0x00050050, 61040x000042ce,0x0004007c,0x00000014,0x000042bf,
56530x00000007,0x00003f09,0x00003f03,0x00003f08, 61050x000042cf,0x00060041,0x00000174,0x000042b7,
56540x0004007c,0x00000014,0x00003ef9,0x00003f09, 61060x000042bf,0x00000173,0x00000173,0x0005003e,
56550x00060041,0x0000016c,0x00003ef1,0x00003ef9, 61070x000042b7,0x000003bf,0x00000002,0x00000004,
56560x0000016b,0x0000016b,0x0005003e,0x00003ef1, 61080x000200f9,0x00003cfe,0x000200f8,0x00003cfe,
56570x000012dd,0x00000002,0x00000004,0x000200f9, 61090x000200f9,0x000014cb,0x000200f8,0x000014cb,
56580x00003a0a,0x000200f8,0x00003a0a,0x000500c7, 61100x000200f9,0x000014c2,0x000200f8,0x000014c1,
56590x00000006,0x00003a0c,0x00005e57,0x00000241, 61110x00050041,0x000001c3,0x00003a24,0x000001c1,
56600x000500aa,0x0000002f,0x00003a0d,0x00003a0c, 61120x000001c2,0x0004003d,0x00000006,0x00003a25,
56610x00000138,0x000300f7,0x00003a18,0x00000000, 61130x00003a24,0x00050084,0x00000006,0x00003a26,
56620x000400fa,0x00003a0d,0x00003a0e,0x00003a18, 61140x000001e3,0x00003a25,0x00050080,0x00000006,
56630x000200f8,0x00003a0e,0x000300f7,0x00003f4f, 61150x00003a27,0x000001cc,0x00003a26,0x00050080,
56640x00000000,0x000400fa,0x00003e6e,0x00003f4a, 61160x00000006,0x00003a2d,0x00003a25,0x00000695,
56650x00003f4e,0x000200f8,0x00003f4e,0x000200f9, 61170x00050086,0x00000006,0x00003a2e,0x00003a2d,
56660x00003f4f,0x000200f8,0x00003f4a,0x00050082, 61180x000001c6,0x00050084,0x00000006,0x00003a20,
56670x00000006,0x00003f4d,0x00003df2,0x00000142, 61190x000001cc,0x00003a2e,0x00050080,0x00000006,
56680x000200f9,0x00003f4f,0x000200f8,0x00003f4f, 61200x00003a21,0x00003a27,0x00003a20,0x00050080,
56690x000700f5,0x00000006,0x00005e5b,0x00003f4d, 61210x00000006,0x00003a1b,0x00003a21,0x00003a20,
56700x00003f4a,0x00000138,0x00003f4e,0x00050084, 61220x00050084,0x00000006,0x000039ef,0x000001f7,
56710x00000006,0x00003f14,0x000000ec,0x00005e5b, 61230x000013a7,0x00050080,0x00000006,0x000039f0,
56720x00050080,0x00000006,0x00003f15,0x00003ded, 61240x00003a1b,0x000039ef,0x00050041,0x0000026e,
56730x00003f14,0x000300f7,0x00003f5c,0x00000000, 61250x000039f1,0x000001c1,0x0000026c,0x0004003d,
56740x000400fa,0x00003e6e,0x00003f57,0x00003f5b, 61260x00000007,0x000039f2,0x000039f1,0x00050051,
56750x000200f8,0x00003f5b,0x000200f9,0x00003f5c, 61270x00000006,0x00003a4c,0x000039f2,0x00000000,
56760x000200f8,0x00003f57,0x00050082,0x00000006, 61280x00050095,0x00000145,0x00003a4e,0x00003a4c,
56770x00003f5a,0x00003df2,0x00000142,0x000200f9, 61290x000039f0,0x00050051,0x00000006,0x00003a4f,
56780x00003f5c,0x000200f8,0x00003f5c,0x000700f5, 61300x00003a4e,0x00000001,0x00050051,0x00000006,
56790x00000006,0x00005e5c,0x00003f5a,0x00003f57, 61310x00003a50,0x00003a4e,0x00000000,0x00050051,
56800x00000138,0x00003f5b,0x00050084,0x00000006, 61320x00000006,0x00003a53,0x000039f2,0x00000001,
56810x00003f0e,0x000000ec,0x00005e5c,0x00050080, 61330x00050080,0x00000006,0x00003a55,0x00003a53,
56820x00000006,0x00003f0f,0x00003f15,0x00003f0e, 61340x00003a4f,0x00050050,0x00000007,0x00003a56,
56830x00050084,0x00000006,0x00003a11,0x000000ec, 61350x00003a50,0x00003a55,0x0004007c,0x00000014,
56840x00005e57,0x00050080,0x00000006,0x00003a12, 61360x00003a46,0x00003a56,0x00060041,0x00000174,
56850x00003f0f,0x00003a11,0x00050095,0x0000013d, 61370x00003a3d,0x00003a46,0x00000173,0x00000173,
56860x00003f75,0x00003e2a,0x00003a12,0x00050051, 61380x0006003d,0x00000006,0x00003a3e,0x00003a3d,
56870x00000006,0x00003f76,0x00003f75,0x00000001,
56880x00050051,0x00000006,0x00003f77,0x00003f75,
56890x00000000,0x00050080,0x00000006,0x00003f7c,
56900x00003e31,0x00003f76,0x00050050,0x00000007,
56910x00003f7d,0x00003f77,0x00003f7c,0x0004007c,
56920x00000014,0x00003f6d,0x00003f7d,0x00060041,
56930x0000016c,0x00003f65,0x00003f6d,0x0000016b,
56940x0000016b,0x0005003e,0x00003f65,0x000012dd,
56950x00000002,0x00000004,0x000200f9,0x00003a18,
56960x000200f8,0x00003a18,0x000500aa,0x0000002f,
56970x00003a1a,0x000013db,0x0000016b,0x000300f7,
56980x00003a20,0x00000000,0x000400fa,0x00003a1a,
56990x00003a1b,0x00003a20,0x000200f8,0x00003a1b,
57000x000300f7,0x00003fc3,0x00000000,0x000400fa,
57010x00003e6e,0x00003fbe,0x00003fc2,0x000200f8,
57020x00003fc2,0x000200f9,0x00003fc3,0x000200f8,
57030x00003fbe,0x00050082,0x00000006,0x00003fc1,
57040x00003df2,0x00000142,0x000200f9,0x00003fc3,
57050x000200f8,0x00003fc3,0x000700f5,0x00000006,
57060x00005e5d,0x00003fc1,0x00003fbe,0x00000138,
57070x00003fc2,0x00050084,0x00000006,0x00003f88,
57080x000000ec,0x00005e5d,0x00050080,0x00000006,
57090x00003f89,0x00003ded,0x00003f88,0x000300f7,
57100x00003fd0,0x00000000,0x000400fa,0x00003e6e,
57110x00003fcb,0x00003fcf,0x000200f8,0x00003fcf,
57120x000200f9,0x00003fd0,0x000200f8,0x00003fcb,
57130x00050082,0x00000006,0x00003fce,0x00003df2,
57140x00000142,0x000200f9,0x00003fd0,0x000200f8,
57150x00003fd0,0x000700f5,0x00000006,0x00005e5e,
57160x00003fce,0x00003fcb,0x00000138,0x00003fcf,
57170x00050084,0x00000006,0x00003f82,0x000000ec,
57180x00005e5e,0x00050080,0x00000006,0x00003f83,
57190x00003f89,0x00003f82,0x00050095,0x0000013d,
57200x00003fe9,0x00003e2a,0x00003f83,0x00050051,
57210x00000006,0x00003fea,0x00003fe9,0x00000001,
57220x00050051,0x00000006,0x00003feb,0x00003fe9,
57230x00000000,0x00050080,0x00000006,0x00003ff0,
57240x00003e31,0x00003fea,0x00050050,0x00000007,
57250x00003ff1,0x00003feb,0x00003ff0,0x0004007c,
57260x00000014,0x00003fe1,0x00003ff1,0x00060041,
57270x0000016c,0x00003fd9,0x00003fe1,0x0000016b,
57280x0000016b,0x0005003e,0x00003fd9,0x00000539,
57290x00000002,0x00000004,0x000200f9,0x00003a20,
57300x000200f8,0x00003a20,0x000200f9,0x000013d9,
57310x000200f8,0x000013d9,0x000200f9,0x000013d0,
57320x000200f8,0x000013cf,0x00050041,0x000001bb,
57330x00003746,0x000001b9,0x000001ba,0x0004003d,
57340x00000006,0x00003747,0x00003746,0x00050084,
57350x00000006,0x00003748,0x000001db,0x00003747,
57360x00050080,0x00000006,0x00003749,0x000001c4,
57370x00003748,0x00050080,0x00000006,0x0000374f,
57380x00003747,0x0000062f,0x00050086,0x00000006,
57390x00003750,0x0000374f,0x000001be,0x00050084,
57400x00000006,0x00003742,0x000001c4,0x00003750,
57410x00050080,0x00000006,0x00003743,0x00003749,
57420x00003742,0x00050080,0x00000006,0x0000373d,
57430x00003743,0x00003742,0x00050084,0x00000006,
57440x00003711,0x000001ef,0x000012dd,0x00050080,
57450x00000006,0x00003712,0x0000373d,0x00003711,
57460x00050041,0x00000266,0x00003713,0x000001b9,
57470x00000264,0x0004003d,0x00000007,0x00003714,
57480x00003713,0x00050051,0x00000006,0x0000376e,
57490x00003714,0x00000000,0x00050095,0x0000013d,
57500x00003770,0x0000376e,0x00003712,0x00050051,
57510x00000006,0x00003771,0x00003770,0x00000001,
57520x00050051,0x00000006,0x00003772,0x00003770,
57530x00000000,0x00050051,0x00000006,0x00003775,
57540x00003714,0x00000001,0x00050080,0x00000006,
57550x00003777,0x00003775,0x00003771,0x00050050,
57560x00000007,0x00003778,0x00003772,0x00003777,
57570x0004007c,0x00000014,0x00003768,0x00003778,
57580x00060041,0x0000016c,0x0000375f,0x00003768,
57590x0000016b,0x0000016b,0x0006003d,0x00000006,
57600x00003760,0x0000375f,0x00000002,0x00000004,
57610x0004007c,0x00000027,0x00003717,0x00003760,
57620x00050080,0x00000006,0x00003719,0x00003712,
57630x000000ec,0x00050095,0x0000013d,0x00003791,
57640x0000376e,0x00003719,0x00050051,0x00000006,
57650x00003792,0x00003791,0x00000001,0x00050051,
57660x00000006,0x00003793,0x00003791,0x00000000,
57670x00050080,0x00000006,0x00003798,0x00003775,
57680x00003792,0x00050050,0x00000007,0x00003799,
57690x00003793,0x00003798,0x0004007c,0x00000014,
57700x00003789,0x00003799,0x00060041,0x0000016c,
57710x00003780,0x00003789,0x0000016b,0x0000016b,
57720x0006003d,0x00000006,0x00003781,0x00003780,
57730x00000002,0x00000004,0x0004007c,0x00000027, 61390x00000002,0x00000004,0x0004007c,0x00000027,
57740x0000371d,0x00003781,0x00050080,0x00000006, 61400x000039f5,0x00003a3e,0x00050080,0x00000006,
57750x0000371f,0x00003712,0x000001cd,0x00050095, 61410x000039f7,0x000039f0,0x000000f3,0x00050095,
57760x0000013d,0x000037b2,0x0000376e,0x0000371f, 61420x00000145,0x00003a6f,0x00003a4c,0x000039f7,
57770x00050051,0x00000006,0x000037b3,0x000037b2, 61430x00050051,0x00000006,0x00003a70,0x00003a6f,
57780x00000001,0x00050051,0x00000006,0x000037b4, 61440x00000001,0x00050051,0x00000006,0x00003a71,
57790x000037b2,0x00000000,0x00050080,0x00000006, 61450x00003a6f,0x00000000,0x00050080,0x00000006,
57800x000037b9,0x00003775,0x000037b3,0x00050050, 61460x00003a76,0x00003a53,0x00003a70,0x00050050,
57810x00000007,0x000037ba,0x000037b4,0x000037b9, 61470x00000007,0x00003a77,0x00003a71,0x00003a76,
57820x0004007c,0x00000014,0x000037aa,0x000037ba, 61480x0004007c,0x00000014,0x00003a67,0x00003a77,
57830x00060041,0x0000016c,0x000037a1,0x000037aa, 61490x00060041,0x00000174,0x00003a5e,0x00003a67,
57840x0000016b,0x0000016b,0x0006003d,0x00000006, 61500x00000173,0x00000173,0x0006003d,0x00000006,
57850x000037a2,0x000037a1,0x00000002,0x00000004, 61510x00003a5f,0x00003a5e,0x00000002,0x00000004,
57860x0004007c,0x00000027,0x00003723,0x000037a2, 61520x0004007c,0x00000027,0x000039fb,0x00003a5f,
57870x00060050,0x0000006c,0x00003724,0x00003717, 61530x00050080,0x00000006,0x000039fd,0x000039f0,
57880x0000371d,0x00003723,0x00050080,0x00000006, 61540x000001d5,0x00050095,0x00000145,0x00003a90,
57890x00003726,0x00003712,0x000001d4,0x00050095, 61550x00003a4c,0x000039fd,0x00050051,0x00000006,
57900x0000013d,0x000037d3,0x0000376e,0x00003726, 61560x00003a91,0x00003a90,0x00000001,0x00050051,
57910x00050051,0x00000006,0x000037d4,0x000037d3, 61570x00000006,0x00003a92,0x00003a90,0x00000000,
57920x00000001,0x00050051,0x00000006,0x000037d5, 61580x00050080,0x00000006,0x00003a97,0x00003a53,
57930x000037d3,0x00000000,0x00050080,0x00000006, 61590x00003a91,0x00050050,0x00000007,0x00003a98,
57940x000037da,0x00003775,0x000037d4,0x00050050, 61600x00003a92,0x00003a97,0x0004007c,0x00000014,
57950x00000007,0x000037db,0x000037d5,0x000037da, 61610x00003a88,0x00003a98,0x00060041,0x00000174,
57960x0004007c,0x00000014,0x000037cb,0x000037db, 61620x00003a7f,0x00003a88,0x00000173,0x00000173,
57970x00060041,0x0000016c,0x000037c2,0x000037cb, 61630x0006003d,0x00000006,0x00003a80,0x00003a7f,
57980x0000016b,0x0000016b,0x0006003d,0x00000006,
57990x000037c3,0x000037c2,0x00000002,0x00000004,
58000x0004007c,0x00000027,0x0000372a,0x000037c3,
58010x00050080,0x00000006,0x0000372c,0x00003712,
58020x000001db,0x00050095,0x0000013d,0x000037f4,
58030x0000376e,0x0000372c,0x00050051,0x00000006,
58040x000037f5,0x000037f4,0x00000001,0x00050051,
58050x00000006,0x000037f6,0x000037f4,0x00000000,
58060x00050080,0x00000006,0x000037fb,0x00003775,
58070x000037f5,0x00050050,0x00000007,0x000037fc,
58080x000037f6,0x000037fb,0x0004007c,0x00000014,
58090x000037ec,0x000037fc,0x00060041,0x0000016c,
58100x000037e3,0x000037ec,0x0000016b,0x0000016b,
58110x0006003d,0x00000006,0x000037e4,0x000037e3,
58120x00000002,0x00000004,0x0004007c,0x00000027, 61640x00000002,0x00000004,0x0004007c,0x00000027,
58130x00003730,0x000037e4,0x00050080,0x00000006, 61650x00003a01,0x00003a80,0x00060050,0x0000006c,
58140x00003732,0x00003712,0x00000299,0x00050095, 61660x00003a02,0x000039f5,0x000039fb,0x00003a01,
58150x0000013d,0x00003815,0x0000376e,0x00003732, 61670x00050080,0x00000006,0x00003a04,0x000039f0,
58160x00050051,0x00000006,0x00003816,0x00003815, 61680x000001dc,0x00050095,0x00000145,0x00003ab1,
58170x00000001,0x00050051,0x00000006,0x00003817, 61690x00003a4c,0x00003a04,0x00050051,0x00000006,
58180x00003815,0x00000000,0x00050080,0x00000006, 61700x00003ab2,0x00003ab1,0x00000001,0x00050051,
58190x0000381c,0x00003775,0x00003816,0x00050050, 61710x00000006,0x00003ab3,0x00003ab1,0x00000000,
58200x00000007,0x0000381d,0x00003817,0x0000381c, 61720x00050080,0x00000006,0x00003ab8,0x00003a53,
58210x0004007c,0x00000014,0x0000380d,0x0000381d, 61730x00003ab2,0x00050050,0x00000007,0x00003ab9,
58220x00060041,0x0000016c,0x00003804,0x0000380d, 61740x00003ab3,0x00003ab8,0x0004007c,0x00000014,
58230x0000016b,0x0000016b,0x0006003d,0x00000006, 61750x00003aa9,0x00003ab9,0x00060041,0x00000174,
58240x00003805,0x00003804,0x00000002,0x00000004, 61760x00003aa0,0x00003aa9,0x00000173,0x00000173,
58250x0004007c,0x00000027,0x00003736,0x00003805, 61770x0006003d,0x00000006,0x00003aa1,0x00003aa0,
58260x00060050,0x0000006c,0x00003737,0x0000372a, 61780x00000002,0x00000004,0x0004007c,0x00000027,
58270x00003730,0x00003736,0x000500bc,0x0000002f, 61790x00003a08,0x00003aa1,0x00050080,0x00000006,
58280x00003824,0x00003717,0x0000372a,0x000300f7, 61800x00003a0a,0x000039f0,0x000001e3,0x00050095,
58290x0000382b,0x00000000,0x000400fa,0x00003824, 61810x00000145,0x00003ad2,0x00003a4c,0x00003a0a,
58300x00003825,0x0000382b,0x000200f8,0x00003825, 61820x00050051,0x00000006,0x00003ad3,0x00003ad2,
58310x000500bc,0x0000002f,0x0000382a,0x0000371d, 61830x00000001,0x00050051,0x00000006,0x00003ad4,
58320x00003730,0x000200f9,0x0000382b,0x000200f8, 61840x00003ad2,0x00000000,0x00050080,0x00000006,
58330x0000382b,0x000700f5,0x0000002f,0x0000382c, 61850x00003ad9,0x00003a53,0x00003ad3,0x00050050,
58340x00003824,0x000013cf,0x0000382a,0x00003825, 61860x00000007,0x00003ada,0x00003ad4,0x00003ad9,
58350x000300f7,0x00003833,0x00000000,0x000400fa, 61870x0004007c,0x00000014,0x00003aca,0x00003ada,
58360x0000382c,0x0000382d,0x00003833,0x000200f8, 61880x00060041,0x00000174,0x00003ac1,0x00003aca,
58370x0000382d,0x000500bc,0x0000002f,0x00003832, 61890x00000173,0x00000173,0x0006003d,0x00000006,
58380x00003723,0x00003736,0x000200f9,0x00003833, 61900x00003ac2,0x00003ac1,0x00000002,0x00000004,
58390x000200f8,0x00003833,0x000700f5,0x0000002f, 61910x0004007c,0x00000027,0x00003a0e,0x00003ac2,
58400x00003834,0x0000382c,0x0000382b,0x00003832, 61920x00050080,0x00000006,0x00003a10,0x000039f0,
58410x0000382d,0x000300f7,0x000036f0,0x00000000, 61930x000002a1,0x00050095,0x00000145,0x00003af3,
58420x000400fa,0x00003834,0x000036b4,0x000036f0, 61940x00003a4c,0x00003a10,0x00050051,0x00000006,
58430x000200f8,0x000036b4,0x00050095,0x0000013d, 61950x00003af4,0x00003af3,0x00000001,0x00050051,
58440x00003845,0x0000376e,0x00000138,0x00050051, 61960x00000006,0x00003af5,0x00003af3,0x00000000,
58450x00000006,0x00003846,0x00003845,0x00000001, 61970x00050080,0x00000006,0x00003afa,0x00003a53,
58460x00050051,0x00000006,0x00003847,0x00003845, 61980x00003af4,0x00050050,0x00000007,0x00003afb,
58470x00000000,0x00050080,0x00000006,0x0000384c, 61990x00003af5,0x00003afa,0x0004007c,0x00000014,
58480x00003775,0x00003846,0x00050050,0x00000007, 62000x00003aeb,0x00003afb,0x00060041,0x00000174,
58490x0000384d,0x00003847,0x0000384c,0x0004007c, 62010x00003ae2,0x00003aeb,0x00000173,0x00000173,
58500x00000014,0x0000383d,0x0000384d,0x00060041, 62020x0006003d,0x00000006,0x00003ae3,0x00003ae2,
58510x0000016c,0x000036b9,0x0000383d,0x0000016b, 62030x00000002,0x00000004,0x0004007c,0x00000027,
58520x0000016b,0x0006003d,0x00000006,0x000036ba, 62040x00003a14,0x00003ae3,0x00060050,0x0000006c,
58530x000036b9,0x00000002,0x00000004,0x000500c7, 62050x00003a15,0x00003a08,0x00003a0e,0x00003a14,
58540x00000006,0x00003852,0x000036ba,0x00000241, 62060x000500bc,0x0000002f,0x00003b02,0x000039f5,
58550x000500ab,0x0000002f,0x00003853,0x00003852, 62070x00003a08,0x000300f7,0x00003b09,0x00000000,
58560x00000138,0x000300f7,0x0000385a,0x00000000, 62080x000400fa,0x00003b02,0x00003b03,0x00003b09,
58570x000400fa,0x00003853,0x00003854,0x00003857, 62090x000200f8,0x00003b03,0x000500bc,0x0000002f,
58580x000200f8,0x00003857,0x000400c8,0x00000006, 62100x00003b08,0x000039fb,0x00003a0e,0x000200f9,
58590x00003859,0x000036ba,0x000200f9,0x0000385a, 62110x00003b09,0x000200f8,0x00003b09,0x000700f5,
58600x000200f8,0x00003854,0x000500c7,0x00000006, 62120x0000002f,0x00003b0a,0x00003b02,0x000014c1,
58610x00003856,0x000036ba,0x00000256,0x000200f9, 62130x00003b08,0x00003b03,0x000300f7,0x00003b11,
58620x0000385a,0x000200f8,0x0000385a,0x000700f5, 62140x00000000,0x000400fa,0x00003b0a,0x00003b0b,
58630x00000006,0x00005e65,0x00003856,0x00003854, 62150x00003b11,0x000200f8,0x00003b0b,0x000500bc,
58640x00003859,0x00003857,0x0004007c,0x00000027, 62160x0000002f,0x00003b10,0x00003a01,0x00003a14,
58650x0000385c,0x00005e65,0x00060041,0x0000016c, 62170x000200f9,0x00003b11,0x000200f8,0x00003b11,
58660x000036bd,0x0000383d,0x0000016b,0x00000264, 62180x000700f5,0x0000002f,0x00003b12,0x00003b0a,
58670x0006003d,0x00000006,0x000036be,0x000036bd, 62190x00003b09,0x00003b10,0x00003b0b,0x000300f7,
58680x00000002,0x00000004,0x000500c7,0x00000006, 62200x000039ce,0x00000000,0x000400fa,0x00003b12,
58690x00003861,0x000036be,0x00000241,0x000500ab, 62210x00003992,0x000039ce,0x000200f8,0x00003992,
58700x0000002f,0x00003862,0x00003861,0x00000138, 62220x00050095,0x00000145,0x00003b23,0x00003a4c,
58710x000300f7,0x00003869,0x00000000,0x000400fa, 62230x00000140,0x00050051,0x00000006,0x00003b24,
58720x00003862,0x00003863,0x00003866,0x000200f8, 62240x00003b23,0x00000001,0x00050051,0x00000006,
58730x00003866,0x000400c8,0x00000006,0x00003868, 62250x00003b25,0x00003b23,0x00000000,0x00050080,
58740x000036be,0x000200f9,0x00003869,0x000200f8, 62260x00000006,0x00003b2a,0x00003a53,0x00003b24,
58750x00003863,0x000500c7,0x00000006,0x00003865, 62270x00050050,0x00000007,0x00003b2b,0x00003b25,
58760x000036be,0x00000256,0x000200f9,0x00003869, 62280x00003b2a,0x0004007c,0x00000014,0x00003b1b,
58770x000200f8,0x00003869,0x000700f5,0x00000006, 62290x00003b2b,0x00060041,0x00000174,0x00003997,
58780x00005e66,0x00003865,0x00003863,0x00003868, 62300x00003b1b,0x00000173,0x00000173,0x0006003d,
58790x00003866,0x0004007c,0x00000027,0x0000386b, 62310x00000006,0x00003998,0x00003997,0x00000002,
58800x00005e66,0x00060041,0x0000016c,0x000036c1, 62320x00000004,0x000500c7,0x00000006,0x00003b30,
58810x0000383d,0x0000016b,0x00000315,0x0006003d, 62330x00003998,0x00000249,0x000500ab,0x0000002f,
58820x00000006,0x000036c2,0x000036c1,0x00000002, 62340x00003b31,0x00003b30,0x00000140,0x000300f7,
58830x00000004,0x000500c7,0x00000006,0x00003870, 62350x00003b38,0x00000000,0x000400fa,0x00003b31,
58840x000036c2,0x00000241,0x000500ab,0x0000002f, 62360x00003b32,0x00003b35,0x000200f8,0x00003b35,
58850x00003871,0x00003870,0x00000138,0x000300f7, 62370x000400c8,0x00000006,0x00003b37,0x00003998,
58860x00003878,0x00000000,0x000400fa,0x00003871, 62380x000200f9,0x00003b38,0x000200f8,0x00003b32,
58870x00003872,0x00003875,0x000200f8,0x00003875, 62390x000500c7,0x00000006,0x00003b34,0x00003998,
58880x000400c8,0x00000006,0x00003877,0x000036c2, 62400x0000025e,0x000200f9,0x00003b38,0x000200f8,
58890x000200f9,0x00003878,0x000200f8,0x00003872, 62410x00003b38,0x000700f5,0x00000006,0x0000628b,
58900x000500c7,0x00000006,0x00003874,0x000036c2, 62420x00003b34,0x00003b32,0x00003b37,0x00003b35,
58910x00000256,0x000200f9,0x00003878,0x000200f8, 62430x0004007c,0x00000027,0x00003b3a,0x0000628b,
58920x00003878,0x000700f5,0x00000006,0x00005e67, 62440x00060041,0x00000174,0x0000399b,0x00003b1b,
58930x00003874,0x00003872,0x00003877,0x00003875, 62450x00000173,0x0000026c,0x0006003d,0x00000006,
58940x0004007c,0x00000027,0x0000387a,0x00005e67, 62460x0000399c,0x0000399b,0x00000002,0x00000004,
58950x00060050,0x0000006c,0x000036c4,0x0000385c, 62470x000500c7,0x00000006,0x00003b3f,0x0000399c,
58960x0000386b,0x0000387a,0x00060041,0x0000016c, 62480x00000249,0x000500ab,0x0000002f,0x00003b40,
58970x000036c6,0x0000383d,0x0000016b,0x0000031d, 62490x00003b3f,0x00000140,0x000300f7,0x00003b47,
58980x0006003d,0x00000006,0x000036c7,0x000036c6, 62500x00000000,0x000400fa,0x00003b40,0x00003b41,
62510x00003b44,0x000200f8,0x00003b44,0x000400c8,
62520x00000006,0x00003b46,0x0000399c,0x000200f9,
62530x00003b47,0x000200f8,0x00003b41,0x000500c7,
62540x00000006,0x00003b43,0x0000399c,0x0000025e,
62550x000200f9,0x00003b47,0x000200f8,0x00003b47,
62560x000700f5,0x00000006,0x0000628c,0x00003b43,
62570x00003b41,0x00003b46,0x00003b44,0x0004007c,
62580x00000027,0x00003b49,0x0000628c,0x00060041,
62590x00000174,0x0000399f,0x00003b1b,0x00000173,
62600x0000031d,0x0006003d,0x00000006,0x000039a0,
62610x0000399f,0x00000002,0x00000004,0x000500c7,
62620x00000006,0x00003b4e,0x000039a0,0x00000249,
62630x000500ab,0x0000002f,0x00003b4f,0x00003b4e,
62640x00000140,0x000300f7,0x00003b56,0x00000000,
62650x000400fa,0x00003b4f,0x00003b50,0x00003b53,
62660x000200f8,0x00003b53,0x000400c8,0x00000006,
62670x00003b55,0x000039a0,0x000200f9,0x00003b56,
62680x000200f8,0x00003b50,0x000500c7,0x00000006,
62690x00003b52,0x000039a0,0x0000025e,0x000200f9,
62700x00003b56,0x000200f8,0x00003b56,0x000700f5,
62710x00000006,0x0000628d,0x00003b52,0x00003b50,
62720x00003b55,0x00003b53,0x0004007c,0x00000027,
62730x00003b58,0x0000628d,0x00060050,0x0000006c,
62740x000039a2,0x00003b3a,0x00003b49,0x00003b58,
62750x00060041,0x00000174,0x000039a4,0x00003b1b,
62760x00000173,0x00000325,0x0006003d,0x00000006,
62770x000039a5,0x000039a4,0x00000002,0x00000004,
62780x000500c7,0x00000006,0x00003b5d,0x000039a5,
62790x00000249,0x000500ab,0x0000002f,0x00003b5e,
62800x00003b5d,0x00000140,0x000300f7,0x00003b65,
62810x00000000,0x000400fa,0x00003b5e,0x00003b5f,
62820x00003b62,0x000200f8,0x00003b62,0x000400c8,
62830x00000006,0x00003b64,0x000039a5,0x000200f9,
62840x00003b65,0x000200f8,0x00003b5f,0x000500c7,
62850x00000006,0x00003b61,0x000039a5,0x0000025e,
62860x000200f9,0x00003b65,0x000200f8,0x00003b65,
62870x000700f5,0x00000006,0x0000628e,0x00003b61,
62880x00003b5f,0x00003b64,0x00003b62,0x0004007c,
62890x00000027,0x00003b67,0x0000628e,0x00060041,
62900x00000174,0x000039a8,0x00003b1b,0x00000173,
62910x0000032d,0x0006003d,0x00000006,0x000039a9,
62920x000039a8,0x00000002,0x00000004,0x000500c7,
62930x00000006,0x00003b6c,0x000039a9,0x00000249,
62940x000500ab,0x0000002f,0x00003b6d,0x00003b6c,
62950x00000140,0x000300f7,0x00003b74,0x00000000,
62960x000400fa,0x00003b6d,0x00003b6e,0x00003b71,
62970x000200f8,0x00003b71,0x000400c8,0x00000006,
62980x00003b73,0x000039a9,0x000200f9,0x00003b74,
62990x000200f8,0x00003b6e,0x000500c7,0x00000006,
63000x00003b70,0x000039a9,0x0000025e,0x000200f9,
63010x00003b74,0x000200f8,0x00003b74,0x000700f5,
63020x00000006,0x0000628f,0x00003b70,0x00003b6e,
63030x00003b73,0x00003b71,0x0004007c,0x00000027,
63040x00003b76,0x0000628f,0x00060041,0x00000174,
63050x000039ac,0x00003b1b,0x00000173,0x00000335,
63060x0006003d,0x00000006,0x000039ad,0x000039ac,
58990x00000002,0x00000004,0x000500c7,0x00000006, 63070x00000002,0x00000004,0x000500c7,0x00000006,
59000x0000387f,0x000036c7,0x00000241,0x000500ab, 63080x00003b7b,0x000039ad,0x00000249,0x000500ab,
59010x0000002f,0x00003880,0x0000387f,0x00000138, 63090x0000002f,0x00003b7c,0x00003b7b,0x00000140,
59020x000300f7,0x00003887,0x00000000,0x000400fa, 63100x000300f7,0x00003b83,0x00000000,0x000400fa,
59030x00003880,0x00003881,0x00003884,0x000200f8, 63110x00003b7c,0x00003b7d,0x00003b80,0x000200f8,
59040x00003884,0x000400c8,0x00000006,0x00003886, 63120x00003b80,0x000400c8,0x00000006,0x00003b82,
59050x000036c7,0x000200f9,0x00003887,0x000200f8, 63130x000039ad,0x000200f9,0x00003b83,0x000200f8,
59060x00003881,0x000500c7,0x00000006,0x00003883, 63140x00003b7d,0x000500c7,0x00000006,0x00003b7f,
59070x000036c7,0x00000256,0x000200f9,0x00003887, 63150x000039ad,0x0000025e,0x000200f9,0x00003b83,
59080x000200f8,0x00003887,0x000700f5,0x00000006, 63160x000200f8,0x00003b83,0x000700f5,0x00000006,
59090x00005e68,0x00003883,0x00003881,0x00003886, 63170x00006290,0x00003b7f,0x00003b7d,0x00003b82,
59100x00003884,0x0004007c,0x00000027,0x00003889, 63180x00003b80,0x0004007c,0x00000027,0x00003b85,
59110x00005e68,0x00060041,0x0000016c,0x000036ca, 63190x00006290,0x00060050,0x0000006c,0x000039af,
59120x0000383d,0x0000016b,0x00000325,0x0006003d, 63200x00003b67,0x00003b76,0x00003b85,0x00050083,
59130x00000006,0x000036cb,0x000036ca,0x00000002, 63210x0000006c,0x000039b2,0x000039af,0x000039a2,
59140x00000004,0x000500c7,0x00000006,0x0000388e, 63220x0007000c,0x0000006c,0x000039b3,0x00000001,
59150x000036cb,0x00000241,0x000500ab,0x0000002f, 63230x00000028,0x000039b2,0x00000939,0x00050081,
59160x0000388f,0x0000388e,0x00000138,0x000300f7, 63240x0000006c,0x000039b6,0x00003a02,0x00003a15,
59170x00003896,0x00000000,0x000400fa,0x0000388f, 63250x0005008e,0x0000006c,0x000039b7,0x000039b6,
59180x00003890,0x00003893,0x000200f8,0x00003893, 63260x00000305,0x00050083,0x0000006c,0x000039b9,
59190x000400c8,0x00000006,0x00003895,0x000036cb, 63270x000039b7,0x000039a2,0x00050088,0x0000006c,
59200x000200f9,0x00003896,0x000200f8,0x00003890, 63280x000039bb,0x000039b9,0x000039b3,0x0008000c,
59210x000500c7,0x00000006,0x00003892,0x000036cb, 63290x0000006c,0x000039be,0x00000001,0x0000002b,
59220x00000256,0x000200f9,0x00003896,0x000200f8, 63300x000039bb,0x00000850,0x00006530,0x0005008e,
59230x00003896,0x000700f5,0x00000006,0x00005e69, 63310x0000006c,0x000039bf,0x000039be,0x00000947,
59240x00003892,0x00003890,0x00003895,0x00003893, 63320x0004006d,0x000000e6,0x000039c0,0x000039bf,
59250x0004007c,0x00000027,0x00003898,0x00005e69, 63330x00050051,0x00000006,0x000039c2,0x000039c0,
59260x00060041,0x0000016c,0x000036ce,0x0000383d, 63340x00000000,0x000500c7,0x00000006,0x00003b89,
59270x0000016b,0x0000032d,0x0006003d,0x00000006, 63350x000039c2,0x000008dc,0x000500c4,0x00000006,
59280x000036cf,0x000036ce,0x00000002,0x00000004, 63360x00003b8c,0x00003b89,0x00000362,0x000500c5,
59290x000500c7,0x00000006,0x0000389d,0x000036cf, 63370x00000006,0x00003b8d,0x00003b89,0x00003b8c,
59300x00000241,0x000500ab,0x0000002f,0x0000389e, 63380x000500c7,0x00000006,0x00003b8e,0x00003b8d,
59310x0000389d,0x00000138,0x000300f7,0x000038a5, 63390x000008e3,0x000500c4,0x00000006,0x00003b91,
59320x00000000,0x000400fa,0x0000389e,0x0000389f, 63400x00003b8e,0x00000528,0x000500c5,0x00000006,
59330x000038a2,0x000200f8,0x000038a2,0x000400c8, 63410x00003b92,0x00003b8e,0x00003b91,0x000500c7,
59340x00000006,0x000038a4,0x000036cf,0x000200f9, 63420x00000006,0x00003b93,0x00003b92,0x000008e9,
59350x000038a5,0x000200f8,0x0000389f,0x000500c7, 63430x000500c4,0x00000006,0x00003b96,0x00003b93,
59360x00000006,0x000038a1,0x000036cf,0x00000256, 63440x0000032d,0x000500c5,0x00000006,0x00003b97,
59370x000200f9,0x000038a5,0x000200f8,0x000038a5, 63450x00003b93,0x00003b96,0x000500c7,0x00000006,
59380x000700f5,0x00000006,0x00005e6a,0x000038a1, 63460x00003b98,0x00003b97,0x000008ef,0x000500c4,
59390x0000389f,0x000038a4,0x000038a2,0x0004007c, 63470x00000006,0x00003b9b,0x00003b98,0x0000031d,
59400x00000027,0x000038a7,0x00005e6a,0x00060050, 63480x000500c5,0x00000006,0x00003b9c,0x00003b98,
59410x0000006c,0x000036d1,0x00003889,0x00003898, 63490x00003b9b,0x000500c7,0x00000006,0x00003b9d,
59420x000038a7,0x00050083,0x0000006c,0x000036d4, 63500x00003b9c,0x000008f5,0x000500c4,0x00000006,
59430x000036d1,0x000036c4,0x0007000c,0x0000006c, 63510x000039c4,0x00003b9d,0x0000031d,0x00050051,
59440x000036d5,0x00000001,0x00000028,0x000036d4, 63520x00000006,0x000039c6,0x000039c0,0x00000001,
59450x000008d3,0x00050081,0x0000006c,0x000036d8, 63530x000500c7,0x00000006,0x00003ba2,0x000039c6,
59460x00003724,0x00003737,0x0005008e,0x0000006c, 63540x000008dc,0x000500c4,0x00000006,0x00003ba5,
59470x000036d9,0x000036d8,0x000002fd,0x00050083, 63550x00003ba2,0x00000362,0x000500c5,0x00000006,
59480x0000006c,0x000036db,0x000036d9,0x000036c4, 63560x00003ba6,0x00003ba2,0x00003ba5,0x000500c7,
59490x00050088,0x0000006c,0x000036dd,0x000036db, 63570x00000006,0x00003ba7,0x00003ba6,0x000008e3,
59500x000036d5,0x0008000c,0x0000006c,0x000036e0, 63580x000500c4,0x00000006,0x00003baa,0x00003ba7,
59510x00000001,0x0000002b,0x000036dd,0x000007ea, 63590x00000528,0x000500c5,0x00000006,0x00003bab,
59520x000060fc,0x0005008e,0x0000006c,0x000036e1, 63600x00003ba7,0x00003baa,0x000500c7,0x00000006,
59530x000036e0,0x000008e1,0x0004006d,0x000000df, 63610x00003bac,0x00003bab,0x000008e9,0x000500c4,
59540x000036e2,0x000036e1,0x00050051,0x00000006, 63620x00000006,0x00003baf,0x00003bac,0x0000032d,
59550x000036e4,0x000036e2,0x00000000,0x000500c7, 63630x000500c5,0x00000006,0x00003bb0,0x00003bac,
59560x00000006,0x000038ab,0x000036e4,0x00000876, 63640x00003baf,0x000500c7,0x00000006,0x00003bb1,
59570x000500c4,0x00000006,0x000038ae,0x000038ab, 63650x00003bb0,0x000008ef,0x000500c4,0x00000006,
59580x0000035a,0x000500c5,0x00000006,0x000038af, 63660x00003bb4,0x00003bb1,0x0000031d,0x000500c5,
59590x000038ab,0x000038ae,0x000500c7,0x00000006, 63670x00000006,0x00003bb5,0x00003bb1,0x00003bb4,
59600x000038b0,0x000038af,0x0000087d,0x000500c4, 63680x000500c7,0x00000006,0x00003bb6,0x00003bb5,
59610x00000006,0x000038b3,0x000038b0,0x000004c1, 63690x000008f5,0x000500c4,0x00000006,0x000039c8,
59620x000500c5,0x00000006,0x000038b4,0x000038b0, 63700x00003bb6,0x0000026c,0x000500c5,0x00000006,
59630x000038b3,0x000500c7,0x00000006,0x000038b5, 63710x000039c9,0x000039c4,0x000039c8,0x00050051,
59640x000038b4,0x00000883,0x000500c4,0x00000006, 63720x00000006,0x000039cb,0x000039c0,0x00000002,
59650x000038b8,0x000038b5,0x00000325,0x000500c5, 63730x000500c7,0x00000006,0x00003bbb,0x000039cb,
59660x00000006,0x000038b9,0x000038b5,0x000038b8, 63740x000008dc,0x000500c4,0x00000006,0x00003bbe,
59670x000500c7,0x00000006,0x000038ba,0x000038b9, 63750x00003bbb,0x00000362,0x000500c5,0x00000006,
59680x00000889,0x000500c4,0x00000006,0x000038bd, 63760x00003bbf,0x00003bbb,0x00003bbe,0x000500c7,
59690x000038ba,0x00000315,0x000500c5,0x00000006, 63770x00000006,0x00003bc0,0x00003bbf,0x000008e3,
59700x000038be,0x000038ba,0x000038bd,0x000500c7, 63780x000500c4,0x00000006,0x00003bc3,0x00003bc0,
59710x00000006,0x000038bf,0x000038be,0x0000088f, 63790x00000528,0x000500c5,0x00000006,0x00003bc4,
59720x000500c4,0x00000006,0x000036e6,0x000038bf, 63800x00003bc0,0x00003bc3,0x000500c7,0x00000006,
59730x00000315,0x00050051,0x00000006,0x000036e8, 63810x00003bc5,0x00003bc4,0x000008e9,0x000500c4,
59740x000036e2,0x00000001,0x000500c7,0x00000006, 63820x00000006,0x00003bc8,0x00003bc5,0x0000032d,
59750x000038c4,0x000036e8,0x00000876,0x000500c4, 63830x000500c5,0x00000006,0x00003bc9,0x00003bc5,
59760x00000006,0x000038c7,0x000038c4,0x0000035a, 63840x00003bc8,0x000500c7,0x00000006,0x00003bca,
59770x000500c5,0x00000006,0x000038c8,0x000038c4, 63850x00003bc9,0x000008ef,0x000500c4,0x00000006,
59780x000038c7,0x000500c7,0x00000006,0x000038c9, 63860x00003bcd,0x00003bca,0x0000031d,0x000500c5,
59790x000038c8,0x0000087d,0x000500c4,0x00000006, 63870x00000006,0x00003bce,0x00003bca,0x00003bcd,
59800x000038cc,0x000038c9,0x000004c1,0x000500c5, 63880x000500c7,0x00000006,0x00003bcf,0x00003bce,
59810x00000006,0x000038cd,0x000038c9,0x000038cc, 63890x000008f5,0x000500c5,0x00000006,0x000039cd,
59820x000500c7,0x00000006,0x000038ce,0x000038cd, 63900x000039c9,0x00003bcf,0x000200f9,0x000039ce,
59830x00000883,0x000500c4,0x00000006,0x000038d1, 63910x000200f8,0x000039ce,0x000700f5,0x00000006,
59840x000038ce,0x00000325,0x000500c5,0x00000006, 63920x00006291,0x0000080c,0x00003b11,0x000039cd,
59850x000038d2,0x000038ce,0x000038d1,0x000500c7, 63930x00003b83,0x00050084,0x00000006,0x000039d1,
59860x00000006,0x000038d3,0x000038d2,0x00000889, 63940x000000f3,0x000013a7,0x00050080,0x00000006,
59870x000500c4,0x00000006,0x000038d6,0x000038d3, 63950x000039d2,0x000001cc,0x000039d1,0x00050095,
59880x00000315,0x000500c5,0x00000006,0x000038d7, 63960x00000145,0x00003bea,0x00003a4c,0x000039d2,
59890x000038d3,0x000038d6,0x000500c7,0x00000006, 63970x00050051,0x00000006,0x00003beb,0x00003bea,
59900x000038d8,0x000038d7,0x0000088f,0x000500c4, 63980x00000001,0x00050051,0x00000006,0x00003bec,
59910x00000006,0x000036ea,0x000038d8,0x00000264, 63990x00003bea,0x00000000,0x00050080,0x00000006,
59920x000500c5,0x00000006,0x000036eb,0x000036e6, 64000x00003bf1,0x00003a53,0x00003beb,0x00050050,
59930x000036ea,0x00050051,0x00000006,0x000036ed, 64010x00000007,0x00003bf2,0x00003bec,0x00003bf1,
59940x000036e2,0x00000002,0x000500c7,0x00000006, 64020x0004007c,0x00000014,0x00003be2,0x00003bf2,
59950x000038dd,0x000036ed,0x00000876,0x000500c4, 64030x00060041,0x00000174,0x00003bda,0x00003be2,
59960x00000006,0x000038e0,0x000038dd,0x0000035a, 64040x00000173,0x00000173,0x0005003e,0x00003bda,
59970x000500c5,0x00000006,0x000038e1,0x000038dd, 64050x00006291,0x00000002,0x00000004,0x00050084,
59980x000038e0,0x000500c7,0x00000006,0x000038e2, 64060x00000006,0x00003bf7,0x000000f3,0x00003a25,
59990x000038e1,0x0000087d,0x000500c4,0x00000006, 64070x00050080,0x00000006,0x00003bf8,0x000001cc,
60000x000038e5,0x000038e2,0x000004c1,0x000500c5, 64080x00003bf7,0x00050080,0x00000006,0x000039da,
60010x00000006,0x000038e6,0x000038e2,0x000038e5, 64090x00003bf8,0x000039d1,0x00050095,0x00000145,
60020x000500c7,0x00000006,0x000038e7,0x000038e6, 64100x00003c10,0x00003a4c,0x000039da,0x00050051,
60030x00000883,0x000500c4,0x00000006,0x000038ea, 64110x00000006,0x00003c11,0x00003c10,0x00000001,
60040x000038e7,0x00000325,0x000500c5,0x00000006, 64120x00050051,0x00000006,0x00003c12,0x00003c10,
60050x000038eb,0x000038e7,0x000038ea,0x000500c7, 64130x00000000,0x00050080,0x00000006,0x00003c17,
60060x00000006,0x000038ec,0x000038eb,0x00000889, 64140x00003a53,0x00003c11,0x00050050,0x00000007,
60070x000500c4,0x00000006,0x000038ef,0x000038ec, 64150x00003c18,0x00003c12,0x00003c17,0x0004007c,
60080x00000315,0x000500c5,0x00000006,0x000038f0, 64160x00000014,0x00003c08,0x00003c18,0x00060041,
60090x000038ec,0x000038ef,0x000500c7,0x00000006, 64170x00000174,0x00003c00,0x00003c08,0x00000173,
60100x000038f1,0x000038f0,0x0000088f,0x000500c5, 64180x00000173,0x0005003e,0x00003c00,0x000013a7,
60110x00000006,0x000036ef,0x000036eb,0x000038f1, 64190x00000002,0x00000004,0x000200f9,0x000014c2,
60120x000200f9,0x000036f0,0x000200f8,0x000036f0, 64200x000200f8,0x000014c2,0x000200f9,0x000014b9,
60130x000700f5,0x00000006,0x00005e6b,0x000007a6, 64210x000200f8,0x000014b8,0x00050084,0x00000006,
60140x00003833,0x000036ef,0x000038a5,0x00050084, 64220x00002f77,0x000001cc,0x000013a7,0x000200f9,
60150x00000006,0x000036f3,0x000000ec,0x000012dd, 64230x00002f78,0x000200f8,0x00002f78,0x000700f5,
60160x00050080,0x00000006,0x000036f4,0x000001c4, 64240x00000006,0x00006294,0x00000140,0x000014b8,
60170x000036f3,0x00050095,0x0000013d,0x0000390c, 64250x00002f89,0x00002f7c,0x000500b0,0x0000002f,
60180x0000376e,0x000036f4,0x00050051,0x00000006, 64260x00002f7b,0x00006294,0x000001dc,0x000400f6,
60190x0000390d,0x0000390c,0x00000001,0x00050051, 64270x00002f8a,0x00002f7c,0x00000000,0x000400fa,
60200x00000006,0x0000390e,0x0000390c,0x00000000, 64280x00002f7b,0x00002f7c,0x00002f8a,0x000200f8,
60210x00050080,0x00000006,0x00003913,0x00003775, 64290x00002f7c,0x00050084,0x00000006,0x00002f80,
60220x0000390d,0x00050050,0x00000007,0x00003914, 64300x000000f3,0x00006294,0x00050080,0x00000006,
60230x0000390e,0x00003913,0x0004007c,0x00000014, 64310x00002f81,0x00002f77,0x00002f80,0x00050041,
60240x00003904,0x00003914,0x00060041,0x0000016c, 64320x0000026e,0x00002f82,0x000001c1,0x0000031d,
60250x000038fc,0x00003904,0x0000016b,0x0000016b, 64330x0004003d,0x00000007,0x00002f83,0x00002f82,
60260x0005003e,0x000038fc,0x00005e6b,0x00000002, 64340x00050051,0x00000006,0x0000314c,0x00002f83,
60270x00000004,0x00050084,0x00000006,0x00003919, 64350x00000000,0x00050095,0x00000145,0x0000314e,
60280x000000ec,0x00003747,0x00050080,0x00000006, 64360x0000314c,0x00002f81,0x00050051,0x00000006,
60290x0000391a,0x000001c4,0x00003919,0x00050080, 64370x0000314f,0x0000314e,0x00000001,0x00050051,
60300x00000006,0x000036fc,0x0000391a,0x000036f3, 64380x00000006,0x00003150,0x0000314e,0x00000000,
60310x00050095,0x0000013d,0x00003932,0x0000376e, 64390x00050051,0x00000006,0x00003153,0x00002f83,
60320x000036fc,0x00050051,0x00000006,0x00003933, 64400x00000001,0x00050080,0x00000006,0x00003155,
60330x00003932,0x00000001,0x00050051,0x00000006, 64410x00003153,0x0000314f,0x00050050,0x00000007,
60340x00003934,0x00003932,0x00000000,0x00050080, 64420x00003156,0x00003150,0x00003155,0x0004007c,
60350x00000006,0x00003939,0x00003775,0x00003933, 64430x00000014,0x00003146,0x00003156,0x00060041,
60360x00050050,0x00000007,0x0000393a,0x00003934, 64440x00000174,0x0000313d,0x00003146,0x00000173,
60370x00003939,0x0004007c,0x00000014,0x0000392a, 64450x00000173,0x0006003d,0x00000006,0x0000313e,
60380x0000393a,0x00060041,0x0000016c,0x00003922, 64460x0000313d,0x00000002,0x00000004,0x0004007c,
60390x0000392a,0x0000016b,0x0000016b,0x0005003e, 64470x00000027,0x00002f85,0x0000313e,0x00050041,
60400x00003922,0x000012dd,0x00000002,0x00000004, 64480x00000028,0x00002f86,0x00002f0e,0x00006294,
60410x000200f9,0x000013d0,0x000200f8,0x000013d0, 64490x0003003e,0x00002f86,0x00002f85,0x00050080,
60420x000200f9,0x000013c7,0x000200f8,0x000013c6, 64500x00000006,0x00002f89,0x00006294,0x0000026c,
60430x00050084,0x00000006,0x00002c99,0x000001c4, 64510x000200f9,0x00002f78,0x000200f8,0x00002f8a,
60440x000012dd,0x000200f9,0x00002c9a,0x000200f8, 64520x00050080,0x00000006,0x00002f8c,0x00002f77,
60450x00002c9a,0x000700f5,0x00000006,0x00005e6e, 64530x00000588,0x00050041,0x0000026e,0x00002f8d,
60460x00000138,0x000013c6,0x00002cab,0x00002c9e, 64540x000001c1,0x0000031d,0x0004003d,0x00000007,
60470x000500b0,0x0000002f,0x00002c9d,0x00005e6e, 64550x00002f8e,0x00002f8d,0x00050051,0x00000006,
60480x000001d4,0x000400f6,0x00002cac,0x00002c9e, 64560x0000316d,0x00002f8e,0x00000000,0x00050095,
60490x00000000,0x000400fa,0x00002c9d,0x00002c9e, 64570x00000145,0x0000316f,0x0000316d,0x00002f8c,
60500x00002cac,0x000200f8,0x00002c9e,0x00050084, 64580x00050051,0x00000006,0x00003170,0x0000316f,
60510x00000006,0x00002ca2,0x000000ec,0x00005e6e, 64590x00000001,0x00050051,0x00000006,0x00003171,
60520x00050080,0x00000006,0x00002ca3,0x00002c99, 64600x0000316f,0x00000000,0x00050051,0x00000006,
60530x00002ca2,0x00050041,0x00000266,0x00002ca4, 64610x00003174,0x00002f8e,0x00000001,0x00050080,
60540x000001b9,0x00000315,0x0004003d,0x00000007, 64620x00000006,0x00003176,0x00003174,0x00003170,
60550x00002ca5,0x00002ca4,0x00050051,0x00000006, 64630x00050050,0x00000007,0x00003177,0x00003171,
60560x00002e6e,0x00002ca5,0x00000000,0x00050095, 64640x00003176,0x0004007c,0x00000014,0x00003167,
60570x0000013d,0x00002e70,0x00002e6e,0x00002ca3, 64650x00003177,0x00060041,0x00000174,0x0000315e,
60580x00050051,0x00000006,0x00002e71,0x00002e70, 64660x00003167,0x00000173,0x00000173,0x0006003d,
60590x00000001,0x00050051,0x00000006,0x00002e72, 64670x00000006,0x0000315f,0x0000315e,0x00000002,
60600x00002e70,0x00000000,0x00050051,0x00000006, 64680x00000004,0x00050080,0x00000006,0x00002f91,
60610x00002e75,0x00002ca5,0x00000001,0x00050080, 64690x00002f77,0x00000594,0x00050095,0x00000145,
60620x00000006,0x00002e77,0x00002e75,0x00002e71, 64700x00003190,0x0000316d,0x00002f91,0x00050051,
60630x00050050,0x00000007,0x00002e78,0x00002e72, 64710x00000006,0x00003191,0x00003190,0x00000001,
60640x00002e77,0x0004007c,0x00000014,0x00002e68, 64720x00050051,0x00000006,0x00003192,0x00003190,
60650x00002e78,0x00060041,0x0000016c,0x00002e5f, 64730x00000000,0x00050080,0x00000006,0x00003197,
60660x00002e68,0x0000016b,0x0000016b,0x0006003d, 64740x00003174,0x00003191,0x00050050,0x00000007,
60670x00000006,0x00002e60,0x00002e5f,0x00000002, 64750x00003198,0x00003192,0x00003197,0x0004007c,
60680x00000004,0x0004007c,0x00000027,0x00002ca7, 64760x00000014,0x00003188,0x00003198,0x00060041,
60690x00002e60,0x00050041,0x00000028,0x00002ca8, 64770x00000174,0x0000317f,0x00003188,0x00000173,
60700x00002c30,0x00005e6e,0x0003003e,0x00002ca8, 64780x00000173,0x0006003d,0x00000006,0x00003180,
60710x00002ca7,0x00050080,0x00000006,0x00002cab, 64790x0000317f,0x00000002,0x00000004,0x00050080,
60720x00005e6e,0x00000264,0x000200f9,0x00002c9a, 64800x00000006,0x00002f96,0x00002f77,0x0000059e,
60730x000200f8,0x00002cac,0x00050080,0x00000006, 64810x00050095,0x00000145,0x000031b1,0x0000316d,
60740x00002cae,0x00002c99,0x00000521,0x00050041, 64820x00002f96,0x00050051,0x00000006,0x000031b2,
60750x00000266,0x00002caf,0x000001b9,0x00000315, 64830x000031b1,0x00000001,0x00050051,0x00000006,
60760x0004003d,0x00000007,0x00002cb0,0x00002caf, 64840x000031b3,0x000031b1,0x00000000,0x00050080,
60770x00050051,0x00000006,0x00002e8f,0x00002cb0, 64850x00000006,0x000031b8,0x00003174,0x000031b2,
60780x00000000,0x00050095,0x0000013d,0x00002e91, 64860x00050050,0x00000007,0x000031b9,0x000031b3,
60790x00002e8f,0x00002cae,0x00050051,0x00000006, 64870x000031b8,0x0004007c,0x00000014,0x000031a9,
60800x00002e92,0x00002e91,0x00000001,0x00050051, 64880x000031b9,0x00060041,0x00000174,0x000031a0,
60810x00000006,0x00002e93,0x00002e91,0x00000000, 64890x000031a9,0x00000173,0x00000173,0x0006003d,
60820x00050051,0x00000006,0x00002e96,0x00002cb0, 64900x00000006,0x000031a1,0x000031a0,0x00000002,
60830x00000001,0x00050080,0x00000006,0x00002e98, 64910x00000004,0x00050080,0x00000006,0x00002f9b,
60840x00002e96,0x00002e92,0x00050050,0x00000007, 64920x00002f77,0x000005a7,0x00050095,0x00000145,
60850x00002e99,0x00002e93,0x00002e98,0x0004007c, 64930x000031d2,0x0000316d,0x00002f9b,0x00050051,
60860x00000014,0x00002e89,0x00002e99,0x00060041, 64940x00000006,0x000031d3,0x000031d2,0x00000001,
60870x0000016c,0x00002e80,0x00002e89,0x0000016b, 64950x00050051,0x00000006,0x000031d4,0x000031d2,
60880x0000016b,0x0006003d,0x00000006,0x00002e81, 64960x00000000,0x00050080,0x00000006,0x000031d9,
60890x00002e80,0x00000002,0x00000004,0x00050080, 64970x00003174,0x000031d3,0x00050050,0x00000007,
60900x00000006,0x00002cb3,0x00002c99,0x0000052d, 64980x000031da,0x000031d4,0x000031d9,0x0004007c,
60910x00050095,0x0000013d,0x00002eb2,0x00002e8f, 64990x00000014,0x000031ca,0x000031da,0x00060041,
60920x00002cb3,0x00050051,0x00000006,0x00002eb3, 65000x00000174,0x000031c1,0x000031ca,0x00000173,
60930x00002eb2,0x00000001,0x00050051,0x00000006, 65010x00000173,0x0006003d,0x00000006,0x000031c2,
60940x00002eb4,0x00002eb2,0x00000000,0x00050080, 65020x000031c1,0x00000002,0x00000004,0x00050050,
60950x00000006,0x00002eb9,0x00002e96,0x00002eb3, 65030x00000007,0x00002f9f,0x000031a1,0x000031c2,
60960x00050050,0x00000007,0x00002eba,0x00002eb4, 65040x00050041,0x000001c3,0x00002fa0,0x000001c1,
60970x00002eb9,0x0004007c,0x00000014,0x00002eaa, 65050x00000352,0x0004003d,0x00000006,0x00002fa1,
60980x00002eba,0x00060041,0x0000016c,0x00002ea1, 65060x00002fa0,0x00050084,0x00000006,0x00002fa3,
60990x00002eaa,0x0000016b,0x0000016b,0x0006003d, 65070x0000034a,0x000013a7,0x00050080,0x00000006,
61000x00000006,0x00002ea2,0x00002ea1,0x00000002, 65080x00002fa4,0x00002fa1,0x00002fa3,0x000200f9,
61010x00000004,0x00050080,0x00000006,0x00002cb8, 65090x00002fa5,0x000200f8,0x00002fa5,0x000700f5,
61020x00002c99,0x00000537,0x00050095,0x0000013d, 65100x00000006,0x00006295,0x00000140,0x00002f8a,
61030x00002ed3,0x00002e8f,0x00002cb8,0x00050051, 65110x00002fb6,0x00002fa9,0x000500b0,0x0000002f,
61040x00000006,0x00002ed4,0x00002ed3,0x00000001, 65120x00002fa8,0x00006295,0x000001dc,0x000400f6,
61050x00050051,0x00000006,0x00002ed5,0x00002ed3, 65130x00002fb7,0x00002fa9,0x00000000,0x000400fa,
61060x00000000,0x00050080,0x00000006,0x00002eda, 65140x00002fa8,0x00002fa9,0x00002fb7,0x000200f8,
61070x00002e96,0x00002ed4,0x00050050,0x00000007, 65150x00002fa9,0x00050084,0x00000006,0x00002fac,
61080x00002edb,0x00002ed5,0x00002eda,0x0004007c, 65160x000000f3,0x00006295,0x00050080,0x00000006,
61090x00000014,0x00002ecb,0x00002edb,0x00060041, 65170x00002fad,0x00002fa4,0x00002fac,0x00050041,
61100x0000016c,0x00002ec2,0x00002ecb,0x0000016b, 65180x0000026e,0x00002faf,0x000001c1,0x00000173,
61110x0000016b,0x0006003d,0x00000006,0x00002ec3, 65190x0004003d,0x00000007,0x00002fb0,0x00002faf,
61120x00002ec2,0x00000002,0x00000004,0x00050080, 65200x00050041,0x00000028,0x00002fb1,0x00002f0e,
61130x00000006,0x00002cbd,0x00002c99,0x00000541, 65210x00006295,0x0004003d,0x00000027,0x00002fb2,
61140x00050095,0x0000013d,0x00002ef4,0x00002e8f, 65220x00002fb1,0x0004007c,0x00000006,0x000031e0,
61150x00002cbd,0x00050051,0x00000006,0x00002ef5, 65230x00002fb2,0x00050051,0x00000006,0x000031f9,
61160x00002ef4,0x00000001,0x00050051,0x00000006, 65240x00002fb0,0x00000000,0x00050095,0x00000145,
61170x00002ef6,0x00002ef4,0x00000000,0x00050080, 65250x000031fb,0x000031f9,0x00002fad,0x00050051,
61180x00000006,0x00002efb,0x00002e96,0x00002ef5, 65260x00000006,0x000031fc,0x000031fb,0x00000001,
61190x00050050,0x00000007,0x00002efc,0x00002ef6, 65270x00050051,0x00000006,0x000031fd,0x000031fb,
61200x00002efb,0x0004007c,0x00000014,0x00002eec, 65280x00000000,0x00050051,0x00000006,0x00003200,
61210x00002efc,0x00060041,0x0000016c,0x00002ee3, 65290x00002fb0,0x00000001,0x00050080,0x00000006,
61220x00002eec,0x0000016b,0x0000016b,0x0006003d, 65300x00003202,0x00003200,0x000031fc,0x00050050,
61230x00000006,0x00002ee4,0x00002ee3,0x00000002, 65310x00000007,0x00003203,0x000031fd,0x00003202,
61240x00000004,0x00050050,0x00000007,0x00002cc1, 65320x0004007c,0x00000014,0x000031f3,0x00003203,
61250x00002ec3,0x00002ee4,0x00050041,0x000001bb, 65330x00060041,0x00000174,0x000031eb,0x000031f3,
61260x00002cc2,0x000001b9,0x0000034a,0x0004003d, 65340x00000173,0x00000173,0x0005003e,0x000031eb,
61270x00000006,0x00002cc3,0x00002cc2,0x00050084, 65350x000031e0,0x00000002,0x00000004,0x00050080,
61280x00000006,0x00002cc5,0x00000342,0x000012dd, 65360x00000006,0x00002fb6,0x00006295,0x0000026c,
61290x00050080,0x00000006,0x00002cc6,0x00002cc3, 65370x000200f9,0x00002fa5,0x000200f8,0x00002fb7,
61300x00002cc5,0x000200f9,0x00002cc7,0x000200f8, 65380x00050080,0x00000006,0x00002fb9,0x00002fa4,
61310x00002cc7,0x000700f5,0x00000006,0x00005e6f, 65390x00000588,0x00050041,0x0000026e,0x00002fba,
61320x00000138,0x00002cac,0x00002cd8,0x00002ccb, 65400x000001c1,0x00000173,0x0004003d,0x00000007,
61330x000500b0,0x0000002f,0x00002cca,0x00005e6f, 65410x00002fbb,0x00002fba,0x00050051,0x00000006,
61340x000001d4,0x000400f6,0x00002cd9,0x00002ccb, 65420x00003219,0x00002fbb,0x00000000,0x00050095,
61350x00000000,0x000400fa,0x00002cca,0x00002ccb, 65430x00000145,0x0000321b,0x00003219,0x00002fb9,
61360x00002cd9,0x000200f8,0x00002ccb,0x00050084, 65440x00050051,0x00000006,0x0000321c,0x0000321b,
61370x00000006,0x00002cce,0x000000ec,0x00005e6f, 65450x00000001,0x00050051,0x00000006,0x0000321d,
61380x00050080,0x00000006,0x00002ccf,0x00002cc6, 65460x0000321b,0x00000000,0x00050051,0x00000006,
61390x00002cce,0x00050041,0x00000266,0x00002cd1, 65470x00003220,0x00002fbb,0x00000001,0x00050080,
61400x000001b9,0x0000016b,0x0004003d,0x00000007, 65480x00000006,0x00003222,0x00003220,0x0000321c,
61410x00002cd2,0x00002cd1,0x00050041,0x00000028, 65490x00050050,0x00000007,0x00003223,0x0000321d,
61420x00002cd3,0x00002c30,0x00005e6f,0x0004003d, 65500x00003222,0x0004007c,0x00000014,0x00003213,
61430x00000027,0x00002cd4,0x00002cd3,0x0004007c, 65510x00003223,0x00060041,0x00000174,0x0000320b,
61440x00000006,0x00002f02,0x00002cd4,0x00050051, 65520x00003213,0x00000173,0x00000173,0x0005003e,
61450x00000006,0x00002f1b,0x00002cd2,0x00000000, 65530x0000320b,0x0000315f,0x00000002,0x00000004,
61460x00050095,0x0000013d,0x00002f1d,0x00002f1b, 65540x00050080,0x00000006,0x00002fbf,0x00002fa4,
61470x00002ccf,0x00050051,0x00000006,0x00002f1e, 65550x00000594,0x00050095,0x00000145,0x0000323b,
61480x00002f1d,0x00000001,0x00050051,0x00000006, 65560x00003219,0x00002fbf,0x00050051,0x00000006,
61490x00002f1f,0x00002f1d,0x00000000,0x00050051, 65570x0000323c,0x0000323b,0x00000001,0x00050051,
61500x00000006,0x00002f22,0x00002cd2,0x00000001, 65580x00000006,0x0000323d,0x0000323b,0x00000000,
61510x00050080,0x00000006,0x00002f24,0x00002f22, 65590x00050080,0x00000006,0x00003242,0x00003220,
61520x00002f1e,0x00050050,0x00000007,0x00002f25, 65600x0000323c,0x00050050,0x00000007,0x00003243,
61530x00002f1f,0x00002f24,0x0004007c,0x00000014, 65610x0000323d,0x00003242,0x0004007c,0x00000014,
61540x00002f15,0x00002f25,0x00060041,0x0000016c, 65620x00003233,0x00003243,0x00060041,0x00000174,
61550x00002f0d,0x00002f15,0x0000016b,0x0000016b, 65630x0000322b,0x00003233,0x00000173,0x00000173,
61560x0005003e,0x00002f0d,0x00002f02,0x00000002, 65640x0005003e,0x0000322b,0x00003180,0x00000002,
61570x00000004,0x00050080,0x00000006,0x00002cd8, 65650x00000004,0x000500aa,0x0000002f,0x00003248,
61580x00005e6f,0x00000264,0x000200f9,0x00002cc7, 65660x000031a1,0x00000140,0x000300f7,0x0000324d,
61590x000200f8,0x00002cd9,0x00050080,0x00000006, 65670x00000000,0x000400fa,0x00003248,0x00003249,
61600x00002cdb,0x00002cc6,0x00000521,0x00050041, 65680x0000324d,0x000200f8,0x00003249,0x000500aa,
61610x00000266,0x00002cdc,0x000001b9,0x0000016b, 65690x0000002f,0x0000324c,0x000031c2,0x00000140,
61620x0004003d,0x00000007,0x00002cdd,0x00002cdc, 65700x000200f9,0x0000324d,0x000200f8,0x0000324d,
61630x00050051,0x00000006,0x00002f3b,0x00002cdd, 65710x000700f5,0x0000002f,0x0000324e,0x00003248,
61640x00000000,0x00050095,0x0000013d,0x00002f3d, 65720x00002fb7,0x0000324c,0x00003249,0x000400a8,
61650x00002f3b,0x00002cdb,0x00050051,0x00000006, 65730x0000002f,0x00002fc9,0x0000324e,0x000300f7,
61660x00002f3e,0x00002f3d,0x00000001,0x00050051, 65740x00002fce,0x00000000,0x000400fa,0x00002fc9,
61670x00000006,0x00002f3f,0x00002f3d,0x00000000, 65750x00002fca,0x00002fce,0x000200f8,0x00002fca,
61680x00050051,0x00000006,0x00002f42,0x00002cdd, 65760x000300f7,0x00003302,0x00000000,0x000300fb,
61690x00000001,0x00050080,0x00000006,0x00002f44, 65770x00000140,0x0000327e,0x000200f8,0x0000327e,
61700x00002f42,0x00002f3e,0x00050050,0x00000007, 65780x000500c7,0x00000006,0x00003282,0x000013a9,
61710x00002f45,0x00002f3f,0x00002f44,0x0004007c, 65790x000001d5,0x000500aa,0x0000002f,0x00003283,
61720x00000014,0x00002f35,0x00002f45,0x00060041, 65800x00003282,0x00000140,0x000300f7,0x00003285,
61730x0000016c,0x00002f2d,0x00002f35,0x0000016b, 65810x00000000,0x000400fa,0x00003283,0x00003284,
61740x0000016b,0x0005003e,0x00002f2d,0x00002e81, 65820x00003285,0x000200f8,0x00003284,0x000200f9,
61750x00000002,0x00000004,0x00050080,0x00000006, 65830x00003302,0x000200f8,0x00003285,0x00050041,
61760x00002ce1,0x00002cc6,0x0000052d,0x00050095, 65840x000001c3,0x00003286,0x000001c1,0x00000414,
61770x0000013d,0x00002f5d,0x00002f3b,0x00002ce1, 65850x0004003d,0x00000006,0x00003287,0x00003286,
61780x00050051,0x00000006,0x00002f5e,0x00002f5d, 65860x000200f9,0x00003288,0x000200f8,0x00003288,
61790x00000001,0x00050051,0x00000006,0x00002f5f, 65870x000700f5,0x00000006,0x00006297,0x00003287,
61800x00002f5d,0x00000000,0x00050080,0x00000006, 65880x00003285,0x0000654f,0x000032a7,0x000700f5,
61810x00002f64,0x00002f42,0x00002f5e,0x00050050, 65890x00000006,0x00006296,0x00000140,0x00003285,
61820x00000007,0x00002f65,0x00002f5f,0x00002f64, 65900x0000650d,0x000032a7,0x000500b0,0x0000002f,
61830x0004007c,0x00000014,0x00002f55,0x00002f65, 65910x0000328c,0x00006296,0x00006297,0x000400f6,
61840x00060041,0x0000016c,0x00002f4d,0x00002f55, 65920x000032a8,0x000032a7,0x00000000,0x000400fa,
61850x0000016b,0x0000016b,0x0005003e,0x00002f4d, 65930x0000328c,0x0000328d,0x000032a8,0x000200f8,
61860x00002ea2,0x00000002,0x00000004,0x000500aa, 65940x0000328d,0x00050080,0x00000006,0x00003290,
61870x0000002f,0x00002f6a,0x00002ec3,0x00000138, 65950x00006296,0x00006297,0x000500c2,0x00000006,
61880x000300f7,0x00002f6f,0x00000000,0x000400fa, 65960x00003291,0x00003290,0x0000014a,0x00050084,
61890x00002f6a,0x00002f6b,0x00002f6f,0x000200f8, 65970x00000006,0x00003293,0x000001f7,0x00003291,
61900x00002f6b,0x000500aa,0x0000002f,0x00002f6e, 65980x00050041,0x0000026e,0x00003294,0x000001c1,
61910x00002ee4,0x00000138,0x000200f9,0x00002f6f, 65990x00000325,0x0004003d,0x00000007,0x00003295,
61920x000200f8,0x00002f6f,0x000700f5,0x0000002f, 66000x00003294,0x00050051,0x00000006,0x0000331a,
61930x00002f70,0x00002f6a,0x00002cd9,0x00002f6e, 66010x00003295,0x00000000,0x00050095,0x00000145,
61940x00002f6b,0x000400a8,0x0000002f,0x00002ceb, 66020x0000331c,0x0000331a,0x00003293,0x00050051,
61950x00002f70,0x000300f7,0x00002cf0,0x00000000, 66030x00000006,0x0000331d,0x0000331c,0x00000001,
61960x000400fa,0x00002ceb,0x00002cec,0x00002cf0, 66040x00050051,0x00000006,0x0000331e,0x0000331c,
61970x000200f8,0x00002cec,0x000300f7,0x00003024, 66050x00000000,0x00050051,0x00000006,0x00003321,
61980x00000000,0x000300fb,0x00000138,0x00002fa0, 66060x00003295,0x00000001,0x00050080,0x00000006,
61990x000200f8,0x00002fa0,0x00050041,0x000001bb, 66070x00003323,0x00003321,0x0000331d,0x00050050,
62000x00002fa2,0x000001b9,0x00000334,0x0004003d, 66080x00000007,0x00003324,0x0000331e,0x00003323,
62010x00000006,0x00002fa3,0x00002fa2,0x000500c7, 66090x0004007c,0x00000014,0x00003314,0x00003324,
62020x00000006,0x00002fa4,0x00002fa3,0x000001cd, 66100x00060041,0x00000174,0x0000330b,0x00003314,
62030x000500aa,0x0000002f,0x00002fa5,0x00002fa4, 66110x00000173,0x00000173,0x0006003d,0x00000006,
62040x00000138,0x000300f7,0x00002fa7,0x00000000, 66120x0000330c,0x0000330b,0x00000002,0x00000004,
62050x000400fa,0x00002fa5,0x00002fa6,0x00002fa7, 66130x00050080,0x00000006,0x00003299,0x00003293,
62060x000200f8,0x00002fa6,0x000200f9,0x00003024, 66140x000000f3,0x00050095,0x00000145,0x0000333d,
62070x000200f8,0x00002fa7,0x00050041,0x000001bb, 66150x0000331a,0x00003299,0x00050051,0x00000006,
62080x00002fa8,0x000001b9,0x000003b6,0x0004003d, 66160x0000333e,0x0000333d,0x00000001,0x00050051,
62090x00000006,0x00002fa9,0x00002fa8,0x000200f9, 66170x00000006,0x0000333f,0x0000333d,0x00000000,
62100x00002faa,0x000200f8,0x00002faa,0x000700f5, 66180x00050080,0x00000006,0x00003344,0x00003321,
62110x00000006,0x00005e71,0x00002fa9,0x00002fa7, 66190x0000333e,0x00050050,0x00000007,0x00003345,
62120x00006119,0x00002fc9,0x000700f5,0x00000006, 66200x0000333f,0x00003344,0x0004007c,0x00000014,
62130x00005e70,0x00000138,0x00002fa7,0x000060d9, 66210x00003335,0x00003345,0x00060041,0x00000174,
62140x00002fc9,0x000500b0,0x0000002f,0x00002fae, 66220x0000332c,0x00003335,0x00000173,0x00000173,
62150x00005e70,0x00005e71,0x000400f6,0x00002fca, 66230x0006003d,0x00000006,0x0000332d,0x0000332c,
62160x00002fc9,0x00000000,0x000400fa,0x00002fae,
62170x00002faf,0x00002fca,0x000200f8,0x00002faf,
62180x00050080,0x00000006,0x00002fb2,0x00005e70,
62190x00005e71,0x000500c2,0x00000006,0x00002fb3,
62200x00002fb2,0x00000142,0x00050084,0x00000006,
62210x00002fb5,0x000001ef,0x00002fb3,0x00050041,
62220x00000266,0x00002fb6,0x000001b9,0x0000031d,
62230x0004003d,0x00000007,0x00002fb7,0x00002fb6,
62240x00050051,0x00000006,0x0000303c,0x00002fb7,
62250x00000000,0x00050095,0x0000013d,0x0000303e,
62260x0000303c,0x00002fb5,0x00050051,0x00000006,
62270x0000303f,0x0000303e,0x00000001,0x00050051,
62280x00000006,0x00003040,0x0000303e,0x00000000,
62290x00050051,0x00000006,0x00003043,0x00002fb7,
62300x00000001,0x00050080,0x00000006,0x00003045,
62310x00003043,0x0000303f,0x00050050,0x00000007,
62320x00003046,0x00003040,0x00003045,0x0004007c,
62330x00000014,0x00003036,0x00003046,0x00060041,
62340x0000016c,0x0000302d,0x00003036,0x0000016b,
62350x0000016b,0x0006003d,0x00000006,0x0000302e,
62360x0000302d,0x00000002,0x00000004,0x00050080,
62370x00000006,0x00002fbb,0x00002fb5,0x000000ec,
62380x00050095,0x0000013d,0x0000305f,0x0000303c,
62390x00002fbb,0x00050051,0x00000006,0x00003060,
62400x0000305f,0x00000001,0x00050051,0x00000006,
62410x00003061,0x0000305f,0x00000000,0x00050080,
62420x00000006,0x00003066,0x00003043,0x00003060,
62430x00050050,0x00000007,0x00003067,0x00003061,
62440x00003066,0x0004007c,0x00000014,0x00003057,
62450x00003067,0x00060041,0x0000016c,0x0000304e,
62460x00003057,0x0000016b,0x0000016b,0x0006003d,
62470x00000006,0x0000304f,0x0000304e,0x00000002,
62480x00000004,0x000500b0,0x0000002f,0x0000306e,
62490x00002ee4,0x0000304f,0x000400a8,0x0000002f,
62500x0000306f,0x0000306e,0x000300f7,0x0000307e,
62510x00000000,0x000400fa,0x0000306f,0x00003070,
62520x0000307e,0x000200f8,0x00003070,0x000500aa,
62530x0000002f,0x00003075,0x00002ee4,0x0000304f,
62540x000300f7,0x0000307c,0x00000000,0x000400fa,
62550x00003075,0x00003076,0x0000307c,0x000200f8,
62560x00003076,0x000500b0,0x0000002f,0x0000307b,
62570x00002ec3,0x0000302e,0x000200f9,0x0000307c,
62580x000200f8,0x0000307c,0x000700f5,0x0000002f,
62590x0000307d,0x00003075,0x00003070,0x0000307b,
62600x00003076,0x000200f9,0x0000307e,0x000200f8,
62610x0000307e,0x000700f5,0x0000002f,0x0000307f,
62620x0000306e,0x00002faf,0x0000307d,0x0000307c,
62630x000300f7,0x00002fc8,0x00000000,0x000400fa,
62640x0000307f,0x00002fc3,0x00002fc5,0x000200f8,
62650x00002fc5,0x00050080,0x00000006,0x00002fc7,
62660x00002fb3,0x00000142,0x000200f9,0x00002fc8,
62670x000200f8,0x00002fc3,0x000200f9,0x00002fc8,
62680x000200f8,0x00002fc8,0x000700f5,0x00000006,
62690x000060d9,0x00005e70,0x00002fc3,0x00002fc7,
62700x00002fc5,0x000600a9,0x00000006,0x00006119,
62710x0000307f,0x00002fb3,0x00005e71,0x000200f9,
62720x00002fc9,0x000200f8,0x00002fc9,0x000200f9,
62730x00002faa,0x000200f8,0x00002fca,0x00050095,
62740x0000013d,0x00003087,0x00002ec3,0x000001c4,
62750x00050051,0x00000006,0x00003088,0x00003087,
62760x00000001,0x00050051,0x00000006,0x00003089,
62770x00003087,0x00000000,0x00050080,0x00000006,
62780x0000308e,0x00002ee4,0x00003088,0x000500b0,
62790x0000002f,0x00003096,0x0000308e,0x00002ee4,
62800x000400a8,0x0000002f,0x00003097,0x00003096,
62810x000300f7,0x000030a6,0x00000000,0x000400fa,
62820x00003097,0x00003098,0x000030a6,0x000200f8,
62830x00003098,0x000500aa,0x0000002f,0x0000309d,
62840x0000308e,0x00002ee4,0x000300f7,0x000030a4,
62850x00000000,0x000400fa,0x0000309d,0x0000309e,
62860x000030a4,0x000200f8,0x0000309e,0x000500b0,
62870x0000002f,0x000030a3,0x00003089,0x00002ec3,
62880x000200f9,0x000030a4,0x000200f8,0x000030a4,
62890x000700f5,0x0000002f,0x000030a5,0x0000309d,
62900x00003098,0x000030a3,0x0000309e,0x000200f9,
62910x000030a6,0x000200f8,0x000030a6,0x000700f5,
62920x0000002f,0x000030a7,0x00003096,0x00002fca,
62930x000030a5,0x000030a4,0x000300f7,0x00002fd1,
62940x00000000,0x000400fa,0x000030a7,0x00002fd0,
62950x00002fd1,0x000200f8,0x00002fd0,0x000200f9,
62960x00003024,0x000200f8,0x00002fd1,0x000500ac,
62970x0000002f,0x00002fd3,0x00005e70,0x00000138,
62980x000300f7,0x00003007,0x00000000,0x000400fa,
62990x00002fd3,0x00002fd4,0x00003007,0x000200f8,
63000x00002fd4,0x00050082,0x00000006,0x00002fd6,
63010x00005e70,0x00000142,0x00050084,0x00000006,
63020x00002fd7,0x000001ef,0x00002fd6,0x00050080,
63030x00000006,0x00002fd9,0x00002fd7,0x000001cd,
63040x00050041,0x00000266,0x00002fda,0x000001b9,
63050x0000031d,0x0004003d,0x00000007,0x00002fdb,
63060x00002fda,0x00050051,0x00000006,0x000030be,
63070x00002fdb,0x00000000,0x00050095,0x0000013d,
63080x000030c0,0x000030be,0x00002fd9,0x00050051,
63090x00000006,0x000030c1,0x000030c0,0x00000001,
63100x00050051,0x00000006,0x000030c2,0x000030c0,
63110x00000000,0x00050051,0x00000006,0x000030c5,
63120x00002fdb,0x00000001,0x00050080,0x00000006,
63130x000030c7,0x000030c5,0x000030c1,0x00050050,
63140x00000007,0x000030c8,0x000030c2,0x000030c7,
63150x0004007c,0x00000014,0x000030b8,0x000030c8,
63160x00060041,0x0000016c,0x000030af,0x000030b8,
63170x0000016b,0x0000016b,0x0006003d,0x00000006,
63180x000030b0,0x000030af,0x00000002,0x00000004,
63190x00050080,0x00000006,0x00002fde,0x00002fd7,
63200x000001d4,0x00050095,0x0000013d,0x000030e1,
63210x000030be,0x00002fde,0x00050051,0x00000006,
63220x000030e2,0x000030e1,0x00000001,0x00050051,
63230x00000006,0x000030e3,0x000030e1,0x00000000,
63240x00050080,0x00000006,0x000030e8,0x000030c5,
63250x000030e2,0x00050050,0x00000007,0x000030e9,
63260x000030e3,0x000030e8,0x0004007c,0x00000014,
63270x000030d9,0x000030e9,0x00060041,0x0000016c,
63280x000030d0,0x000030d9,0x0000016b,0x0000016b,
63290x0006003d,0x00000006,0x000030d1,0x000030d0,
63300x00000002,0x00000004,0x000500b0,0x0000002f, 66240x00000002,0x00000004,0x000500b0,0x0000002f,
63310x000030f0,0x00002ee4,0x000030d1,0x000400a8, 66250x0000334c,0x000031c2,0x0000332d,0x000400a8,
63320x0000002f,0x000030f1,0x000030f0,0x000300f7, 66260x0000002f,0x0000334d,0x0000334c,0x000300f7,
63330x00003100,0x00000000,0x000400fa,0x000030f1, 66270x0000335c,0x00000000,0x000400fa,0x0000334d,
63340x000030f2,0x00003100,0x000200f8,0x000030f2, 66280x0000334e,0x0000335c,0x000200f8,0x0000334e,
63350x000500aa,0x0000002f,0x000030f7,0x00002ee4, 66290x000500aa,0x0000002f,0x00003353,0x000031c2,
63360x000030d1,0x000300f7,0x000030fe,0x00000000, 66300x0000332d,0x000300f7,0x0000335a,0x00000000,
63370x000400fa,0x000030f7,0x000030f8,0x000030fe, 66310x000400fa,0x00003353,0x00003354,0x0000335a,
63380x000200f8,0x000030f8,0x000500b0,0x0000002f, 66320x000200f8,0x00003354,0x000500b0,0x0000002f,
63390x000030fd,0x00002ec3,0x000030b0,0x000200f9, 66330x00003359,0x000031a1,0x0000330c,0x000200f9,
63400x000030fe,0x000200f8,0x000030fe,0x000700f5, 66340x0000335a,0x000200f8,0x0000335a,0x000700f5,
63410x0000002f,0x000030ff,0x000030f7,0x000030f2, 66350x0000002f,0x0000335b,0x00003353,0x0000334e,
63420x000030fd,0x000030f8,0x000200f9,0x00003100, 66360x00003359,0x00003354,0x000200f9,0x0000335c,
63430x000200f8,0x00003100,0x000700f5,0x0000002f, 66370x000200f8,0x0000335c,0x000700f5,0x0000002f,
63440x00003101,0x000030f0,0x00002fd4,0x000030ff, 66380x0000335d,0x0000334c,0x0000328d,0x0000335b,
63450x000030fe,0x000300f7,0x00003006,0x00000000, 66390x0000335a,0x000300f7,0x000032a6,0x00000000,
63460x000400fa,0x00003101,0x00002fe6,0x00003006, 66400x000400fa,0x0000335d,0x000032a1,0x000032a3,
63470x000200f8,0x00002fe6,0x000500b0,0x0000002f, 66410x000200f8,0x000032a3,0x00050080,0x00000006,
63480x00003108,0x000030d1,0x0000308e,0x000400a8, 66420x000032a5,0x00003291,0x0000014a,0x000200f9,
63490x0000002f,0x00003109,0x00003108,0x000300f7, 66430x000032a6,0x000200f8,0x000032a1,0x000200f9,
63500x00003118,0x00000000,0x000400fa,0x00003109, 66440x000032a6,0x000200f8,0x000032a6,0x000700f5,
63510x0000310a,0x00003118,0x000200f8,0x0000310a, 66450x00000006,0x0000650d,0x00006296,0x000032a1,
63520x000500aa,0x0000002f,0x0000310f,0x000030d1, 66460x000032a5,0x000032a3,0x000600a9,0x00000006,
63530x0000308e,0x000300f7,0x00003116,0x00000000, 66470x0000654f,0x0000335d,0x00003291,0x00006297,
63540x000400fa,0x0000310f,0x00003110,0x00003116, 66480x000200f9,0x000032a7,0x000200f8,0x000032a7,
63550x000200f8,0x00003110,0x000500b0,0x0000002f, 66490x000200f9,0x00003288,0x000200f8,0x000032a8,
63560x00003115,0x000030b0,0x00003089,0x000200f9, 66500x00050095,0x00000145,0x00003365,0x000031a1,
63570x00003116,0x000200f8,0x00003116,0x000700f5, 66510x000001cc,0x00050051,0x00000006,0x00003366,
63580x0000002f,0x00003117,0x0000310f,0x0000310a, 66520x00003365,0x00000001,0x00050051,0x00000006,
63590x00003115,0x00003110,0x000200f9,0x00003118, 66530x00003367,0x00003365,0x00000000,0x00050080,
63600x000200f8,0x00003118,0x000700f5,0x0000002f, 66540x00000006,0x0000336c,0x000031c2,0x00003366,
63610x00003119,0x00003108,0x00002fe6,0x00003117, 66550x000500b0,0x0000002f,0x00003374,0x0000336c,
63620x00003116,0x000300f7,0x00002feb,0x00000000, 66560x000031c2,0x000400a8,0x0000002f,0x00003375,
63630x000400fa,0x00003119,0x00002fea,0x00002feb, 66570x00003374,0x000300f7,0x00003384,0x00000000,
63640x000200f8,0x00002fea,0x000200f9,0x00003024, 66580x000400fa,0x00003375,0x00003376,0x00003384,
63650x000200f8,0x00002feb,0x00050095,0x0000013d, 66590x000200f8,0x00003376,0x000500aa,0x0000002f,
63660x00003132,0x000030be,0x00002fd7,0x00050051, 66600x0000337b,0x0000336c,0x000031c2,0x000300f7,
63670x00000006,0x00003133,0x00003132,0x00000001, 66610x00003382,0x00000000,0x000400fa,0x0000337b,
63680x00050051,0x00000006,0x00003134,0x00003132, 66620x0000337c,0x00003382,0x000200f8,0x0000337c,
63690x00000000,0x00050080,0x00000006,0x00003139, 66630x000500b0,0x0000002f,0x00003381,0x00003367,
63700x000030c5,0x00003133,0x00050050,0x00000007, 66640x000031a1,0x000200f9,0x00003382,0x000200f8,
63710x0000313a,0x00003134,0x00003139,0x0004007c, 66650x00003382,0x000700f5,0x0000002f,0x00003383,
63720x00000014,0x0000312a,0x0000313a,0x00060041, 66660x0000337b,0x00003376,0x00003381,0x0000337c,
63730x0000016c,0x00003121,0x0000312a,0x0000016b, 66670x000200f9,0x00003384,0x000200f8,0x00003384,
63740x0000016b,0x0006003d,0x00000006,0x00003122, 66680x000700f5,0x0000002f,0x00003385,0x00003374,
63750x00003121,0x00000002,0x00000004,0x00050080, 66690x000032a8,0x00003383,0x00003382,0x000300f7,
63760x00000006,0x00002ff1,0x00002fd7,0x000000ec, 66700x000032af,0x00000000,0x000400fa,0x00003385,
63770x00050095,0x0000013d,0x00003153,0x000030be, 66710x000032ae,0x000032af,0x000200f8,0x000032ae,
63780x00002ff1,0x00050051,0x00000006,0x00003154, 66720x000200f9,0x00003302,0x000200f8,0x000032af,
63790x00003153,0x00000001,0x00050051,0x00000006, 66730x000500ac,0x0000002f,0x000032b1,0x00006296,
63800x00003155,0x00003153,0x00000000,0x00050080, 66740x00000140,0x000300f7,0x000032e5,0x00000000,
63810x00000006,0x0000315a,0x000030c5,0x00003154, 66750x000400fa,0x000032b1,0x000032b2,0x000032e5,
63820x00050050,0x00000007,0x0000315b,0x00003155, 66760x000200f8,0x000032b2,0x00050082,0x00000006,
63830x0000315a,0x0004007c,0x00000014,0x0000314b, 66770x000032b4,0x00006296,0x0000014a,0x00050084,
63840x0000315b,0x00060041,0x0000016c,0x00003142, 66780x00000006,0x000032b5,0x000001f7,0x000032b4,
63850x0000314b,0x0000016b,0x0000016b,0x0006003d, 66790x00050080,0x00000006,0x000032b7,0x000032b5,
63860x00000006,0x00003143,0x00003142,0x00000002, 66800x000001d5,0x00050041,0x0000026e,0x000032b8,
63870x00000004,0x00050080,0x00000006,0x00002ff7, 66810x000001c1,0x00000325,0x0004003d,0x00000007,
63880x00002fd7,0x000001db,0x00050095,0x0000013d, 66820x000032b9,0x000032b8,0x00050051,0x00000006,
63890x00003174,0x000030be,0x00002ff7,0x00050051, 66830x0000339c,0x000032b9,0x00000000,0x00050095,
63900x00000006,0x00003175,0x00003174,0x00000001, 66840x00000145,0x0000339e,0x0000339c,0x000032b7,
63910x00050051,0x00000006,0x00003176,0x00003174, 66850x00050051,0x00000006,0x0000339f,0x0000339e,
63920x00000000,0x00050080,0x00000006,0x0000317b, 66860x00000001,0x00050051,0x00000006,0x000033a0,
63930x000030c5,0x00003175,0x00050050,0x00000007, 66870x0000339e,0x00000000,0x00050051,0x00000006,
63940x0000317c,0x00003176,0x0000317b,0x0004007c, 66880x000033a3,0x000032b9,0x00000001,0x00050080,
63950x00000014,0x0000316c,0x0000317c,0x00060041, 66890x00000006,0x000033a5,0x000033a3,0x0000339f,
63960x0000016c,0x00003163,0x0000316c,0x0000016b, 66900x00050050,0x00000007,0x000033a6,0x000033a0,
63970x0000016b,0x0006003d,0x00000006,0x00003164, 66910x000033a5,0x0004007c,0x00000014,0x00003396,
63980x00003163,0x00000002,0x00000004,0x00050080, 66920x000033a6,0x00060041,0x00000174,0x0000338d,
63990x00000006,0x00002ffc,0x00002fd7,0x00000299, 66930x00003396,0x00000173,0x00000173,0x0006003d,
64000x00050095,0x0000013d,0x00003195,0x000030be, 66940x00000006,0x0000338e,0x0000338d,0x00000002,
64010x00002ffc,0x00050051,0x00000006,0x00003196, 66950x00000004,0x00050080,0x00000006,0x000032bc,
64020x00003195,0x00000001,0x00050051,0x00000006, 66960x000032b5,0x000001dc,0x00050095,0x00000145,
64030x00003197,0x00003195,0x00000000,0x00050080, 66970x000033bf,0x0000339c,0x000032bc,0x00050051,
64040x00000006,0x0000319c,0x000030c5,0x00003196, 66980x00000006,0x000033c0,0x000033bf,0x00000001,
64050x00050050,0x00000007,0x0000319d,0x00003197, 66990x00050051,0x00000006,0x000033c1,0x000033bf,
64060x0000319c,0x0004007c,0x00000014,0x0000318d, 67000x00000000,0x00050080,0x00000006,0x000033c6,
64070x0000319d,0x00060041,0x0000016c,0x00003184, 67010x000033a3,0x000033c0,0x00050050,0x00000007,
64080x0000318d,0x0000016b,0x0000016b,0x0006003d, 67020x000033c7,0x000033c1,0x000033c6,0x0004007c,
64090x00000006,0x00003185,0x00003184,0x00000002, 67030x00000014,0x000033b7,0x000033c7,0x00060041,
64100x00000004,0x00050096,0x0000013d,0x000031a6, 67040x00000174,0x000033ae,0x000033b7,0x00000173,
64110x00002ec3,0x00003122,0x00050051,0x00000006, 67050x00000173,0x0006003d,0x00000006,0x000033af,
64120x000031a7,0x000031a6,0x00000001,0x00050051, 67060x000033ae,0x00000002,0x00000004,0x000500b0,
64130x00000006,0x000031a8,0x000031a6,0x00000000, 67070x0000002f,0x000033ce,0x000031c2,0x000033af,
64140x00050082,0x00000006,0x000031ae,0x00002ee4, 67080x000400a8,0x0000002f,0x000033cf,0x000033ce,
64150x00003143,0x00050082,0x00000006,0x000031b0, 67090x000300f7,0x000033de,0x00000000,0x000400fa,
64160x000031ae,0x000031a7,0x00050095,0x0000013d, 67100x000033cf,0x000033d0,0x000033de,0x000200f8,
64170x000031ba,0x00003164,0x000031a8,0x00050051, 67110x000033d0,0x000500aa,0x0000002f,0x000033d5,
64180x00000006,0x000031bb,0x000031ba,0x00000001, 67120x000031c2,0x000033af,0x000300f7,0x000033dc,
64190x00050051,0x00000006,0x000031bc,0x000031ba, 67130x00000000,0x000400fa,0x000033d5,0x000033d6,
64200x00000000,0x00050080,0x00000006,0x000031c2, 67140x000033dc,0x000200f8,0x000033d6,0x000500b0,
64210x00003185,0x000031b0,0x00050080,0x00000006, 67150x0000002f,0x000033db,0x000031a1,0x0000338e,
64220x000031c4,0x000031c2,0x000031bb,0x00050050, 67160x000200f9,0x000033dc,0x000200f8,0x000033dc,
64230x00000007,0x000031c5,0x000031bc,0x000031c4, 67170x000700f5,0x0000002f,0x000033dd,0x000033d5,
64240x000200f9,0x00003006,0x000200f8,0x00003006, 67180x000033d0,0x000033db,0x000033d6,0x000200f9,
64250x000700f5,0x00000007,0x00005e7e,0x00002cc1, 67190x000033de,0x000200f8,0x000033de,0x000700f5,
64260x00003100,0x000031c5,0x00002feb,0x000200f9, 67200x0000002f,0x000033df,0x000033ce,0x000032b2,
64270x00003007,0x000200f8,0x00003007,0x000700f5, 67210x000033dd,0x000033dc,0x000300f7,0x000032e4,
64280x00000007,0x00005e7a,0x00002cc1,0x00002fd1, 67220x00000000,0x000400fa,0x000033df,0x000032c4,
64290x00005e7e,0x00003006,0x000700f5,0x0000002f, 67230x000032e4,0x000200f8,0x000032c4,0x000500b0,
64300x00005e74,0x000003cc,0x00002fd1,0x00003101, 67240x0000002f,0x000033e6,0x000033af,0x0000336c,
64310x00003006,0x000400a8,0x0000002f,0x00003009, 67250x000400a8,0x0000002f,0x000033e7,0x000033e6,
64320x00005e74,0x000300f7,0x0000300f,0x00000000, 67260x000300f7,0x000033f6,0x00000000,0x000400fa,
64330x000400fa,0x00003009,0x0000300a,0x0000300f, 67270x000033e7,0x000033e8,0x000033f6,0x000200f8,
64340x000200f8,0x0000300a,0x00050041,0x00000266, 67280x000033e8,0x000500aa,0x0000002f,0x000033ed,
64350x0000300b,0x000001b9,0x00000325,0x0004003d, 67290x000033af,0x0000336c,0x000300f7,0x000033f4,
64360x00000007,0x0000300c,0x0000300b,0x00050051, 67300x00000000,0x000400fa,0x000033ed,0x000033ee,
64370x00000006,0x000031c9,0x0000300c,0x00000000, 67310x000033f4,0x000200f8,0x000033ee,0x000500b0,
64380x000500aa,0x0000002f,0x000031ca,0x000031c9, 67320x0000002f,0x000033f3,0x0000338e,0x00003367,
64390x00000138,0x000300f7,0x000031cf,0x00000000, 67330x000200f9,0x000033f4,0x000200f8,0x000033f4,
64400x000400fa,0x000031ca,0x000031cb,0x000031cf, 67340x000700f5,0x0000002f,0x000033f5,0x000033ed,
64410x000200f8,0x000031cb,0x00050051,0x00000006, 67350x000033e8,0x000033f3,0x000033ee,0x000200f9,
64420x000031cd,0x0000300c,0x00000001,0x000500aa, 67360x000033f6,0x000200f8,0x000033f6,0x000700f5,
64430x0000002f,0x000031ce,0x000031cd,0x00000138, 67370x0000002f,0x000033f7,0x000033e6,0x000032c4,
64440x000200f9,0x000031cf,0x000200f8,0x000031cf, 67380x000033f5,0x000033f4,0x000300f7,0x000032c9,
64450x000700f5,0x0000002f,0x000031d0,0x000031ca, 67390x00000000,0x000400fa,0x000033f7,0x000032c8,
64460x0000300a,0x000031ce,0x000031cb,0x000400a8, 67400x000032c9,0x000200f8,0x000032c8,0x000200f9,
64470x0000002f,0x0000300e,0x000031d0,0x000200f9, 67410x00003302,0x000200f8,0x000032c9,0x00050095,
64480x0000300f,0x000200f8,0x0000300f,0x000700f5, 67420x00000145,0x00003410,0x0000339c,0x000032b5,
64490x0000002f,0x00003010,0x00003009,0x00003007, 67430x00050051,0x00000006,0x00003411,0x00003410,
64500x0000300e,0x000031cf,0x000300f7,0x00003016, 67440x00000001,0x00050051,0x00000006,0x00003412,
64510x00000000,0x000400fa,0x00003010,0x00003011, 67450x00003410,0x00000000,0x00050080,0x00000006,
64520x00003016,0x000200f8,0x00003011,0x00050041, 67460x00003417,0x000033a3,0x00003411,0x00050050,
64530x00000266,0x00003012,0x000001b9,0x00000325, 67470x00000007,0x00003418,0x00003412,0x00003417,
64540x0004003d,0x00000007,0x00003013,0x00003012, 67480x0004007c,0x00000014,0x00003408,0x00003418,
64550x00050051,0x00000006,0x000031d4,0x00003013, 67490x00060041,0x00000174,0x000033ff,0x00003408,
64560x00000001,0x000500b0,0x0000002f,0x000031d7, 67500x00000173,0x00000173,0x0006003d,0x00000006,
64570x000031d4,0x0000308e,0x000400a8,0x0000002f, 67510x00003400,0x000033ff,0x00000002,0x00000004,
64580x000031d8,0x000031d7,0x000300f7,0x000031e7, 67520x00050080,0x00000006,0x000032cf,0x000032b5,
64590x00000000,0x000400fa,0x000031d8,0x000031d9, 67530x000000f3,0x00050095,0x00000145,0x00003431,
64600x000031e7,0x000200f8,0x000031d9,0x000500aa, 67540x0000339c,0x000032cf,0x00050051,0x00000006,
64610x0000002f,0x000031de,0x000031d4,0x0000308e, 67550x00003432,0x00003431,0x00000001,0x00050051,
64620x000300f7,0x000031e5,0x00000000,0x000400fa, 67560x00000006,0x00003433,0x00003431,0x00000000,
64630x000031de,0x000031df,0x000031e5,0x000200f8, 67570x00050080,0x00000006,0x00003438,0x000033a3,
64640x000031df,0x00050051,0x00000006,0x000031e1, 67580x00003432,0x00050050,0x00000007,0x00003439,
64650x00003013,0x00000000,0x000500b0,0x0000002f, 67590x00003433,0x00003438,0x0004007c,0x00000014,
64660x000031e4,0x000031e1,0x00003089,0x000200f9, 67600x00003429,0x00003439,0x00060041,0x00000174,
64670x000031e5,0x000200f8,0x000031e5,0x000700f5, 67610x00003420,0x00003429,0x00000173,0x00000173,
64680x0000002f,0x000031e6,0x000031de,0x000031d9, 67620x0006003d,0x00000006,0x00003421,0x00003420,
64690x000031e4,0x000031df,0x000200f9,0x000031e7,
64700x000200f8,0x000031e7,0x000700f5,0x0000002f,
64710x000031e8,0x000031d7,0x00003011,0x000031e6,
64720x000031e5,0x000200f9,0x00003016,0x000200f8,
64730x00003016,0x000700f5,0x0000002f,0x00003017,
64740x00003010,0x0000300f,0x000031e8,0x000031e7,
64750x000300f7,0x00003019,0x00000000,0x000400fa,
64760x00003017,0x00003018,0x00003019,0x000200f8,
64770x00003018,0x000200f9,0x00003024,0x000200f8,
64780x00003019,0x00050051,0x00000006,0x0000301b,
64790x00005e7a,0x00000000,0x000500c7,0x00000006,
64800x0000301c,0x0000301b,0x0000062f,0x000500aa,
64810x0000002f,0x0000301d,0x0000301c,0x00000138,
64820x000300f7,0x00003022,0x00000000,0x000400fa,
64830x0000301d,0x0000301e,0x00003022,0x000200f8,
64840x0000301e,0x00050051,0x00000006,0x00003020,
64850x00005e7a,0x00000001,0x000500b0,0x0000002f,
64860x00003021,0x00003020,0x000001be,0x000200f9,
64870x00003022,0x000200f8,0x00003022,0x000700f5,
64880x0000002f,0x00003023,0x0000301d,0x00003019,
64890x00003021,0x0000301e,0x000200f9,0x00003024,
64900x000200f8,0x00003024,0x000d00f5,0x00000007,
64910x00005e85,0x00002cc1,0x00002fa6,0x00002cc1,
64920x00002fd0,0x00002cc1,0x00002fea,0x00005e7a,
64930x00003018,0x00005e7a,0x00003022,0x000d00f5,
64940x0000002f,0x00005e84,0x000003e7,0x00002fa6,
64950x000003cc,0x00002fd0,0x000003cc,0x00002fea,
64960x000003cc,0x00003018,0x00003023,0x00003022,
64970x000200f9,0x00002cf0,0x000200f8,0x00002cf0,
64980x000700f5,0x00000007,0x00005e89,0x00002cc1,
64990x00002f6f,0x00005e85,0x00003024,0x000700f5,
65000x0000002f,0x00002cf1,0x00002ceb,0x00002f6f,
65010x00005e84,0x00003024,0x000300f7,0x00002d88,
65020x00000000,0x000400fa,0x00002cf1,0x00002cf3,
65030x00002d88,0x000200f8,0x00002cf3,0x00050041,
65040x00000266,0x00002cf5,0x000001b9,0x0000032d,
65050x0004003d,0x00000007,0x00002cf6,0x00002cf5,
65060x00050051,0x00000006,0x000031ee,0x00005e89,
65070x00000000,0x00050051,0x00000006,0x000031f0,
65080x00002cf6,0x00000000,0x00050095,0x0000013d,
65090x000031f1,0x000031ee,0x000031f0,0x00050051,
65100x00000006,0x000031f2,0x000031f1,0x00000001,
65110x00050051,0x00000006,0x000031f3,0x000031f1,
65120x00000000,0x00050051,0x00000006,0x000031f6,
65130x00005e89,0x00000001,0x00050051,0x00000006,
65140x000031f8,0x00002cf6,0x00000001,0x00050080,
65150x00000006,0x000031f9,0x000031f6,0x000031f8,
65160x00050080,0x00000006,0x000031fb,0x000031f9,
65170x000031f2,0x00050095,0x0000013d,0x00003215,
65180x000031f3,0x00000521,0x00050051,0x00000006,
65190x00003216,0x00003215,0x00000001,0x00050051,
65200x00000006,0x00003217,0x00003215,0x00000000,
65210x00050080,0x00000006,0x0000321c,0x000031fb,
65220x00003216,0x00050050,0x00000007,0x0000321d,
65230x00003217,0x0000321c,0x0004007c,0x00000014,
65240x0000320d,0x0000321d,0x00060041,0x0000016c,
65250x00003204,0x0000320d,0x0000016b,0x0000016b,
65260x0006003d,0x00000006,0x00003205,0x00003204,
65270x00000002,0x00000004,0x00050095,0x0000013d,
65280x00003236,0x000031f3,0x000001db,0x00050051,
65290x00000006,0x00003237,0x00003236,0x00000001,
65300x00050051,0x00000006,0x00003238,0x00003236,
65310x00000000,0x00050080,0x00000006,0x0000323d,
65320x000031fb,0x00003237,0x00050050,0x00000007,
65330x0000323e,0x00003238,0x0000323d,0x0004007c,
65340x00000014,0x0000322e,0x0000323e,0x00060041,
65350x0000016c,0x00003225,0x0000322e,0x0000016b,
65360x0000016b,0x0006003d,0x00000006,0x00003226,
65370x00003225,0x00000002,0x00000004,0x0004007c,
65380x00000027,0x00002cfc,0x00003226,0x00050095,
65390x0000013d,0x00003257,0x000031f3,0x00000299,
65400x00050051,0x00000006,0x00003258,0x00003257,
65410x00000001,0x00050051,0x00000006,0x00003259,
65420x00003257,0x00000000,0x00050080,0x00000006,
65430x0000325e,0x000031fb,0x00003258,0x00050050,
65440x00000007,0x0000325f,0x00003259,0x0000325e,
65450x0004007c,0x00000014,0x0000324f,0x0000325f,
65460x00060041,0x0000016c,0x00003246,0x0000324f,
65470x0000016b,0x0000016b,0x0006003d,0x00000006,
65480x00003247,0x00003246,0x00000002,0x00000004,
65490x0004007c,0x00000027,0x00002cff,0x00003247,
65500x00050095,0x0000013d,0x00003278,0x000031f3,
65510x000001ef,0x00050051,0x00000006,0x00003279,
65520x00003278,0x00000001,0x00050051,0x00000006,
65530x0000327a,0x00003278,0x00000000,0x00050080,
65540x00000006,0x0000327f,0x000031fb,0x00003279,
65550x00050050,0x00000007,0x00003280,0x0000327a,
65560x0000327f,0x0004007c,0x00000014,0x00003270,
65570x00003280,0x00060041,0x0000016c,0x00003267,
65580x00003270,0x0000016b,0x0000016b,0x0006003d,
65590x00000006,0x00003268,0x00003267,0x00000002,
65600x00000004,0x0004007c,0x00000027,0x00002d02,
65610x00003268,0x00050095,0x0000013d,0x00003299,
65620x000031f3,0x000006d9,0x00050051,0x00000006,
65630x0000329a,0x00003299,0x00000001,0x00050051,
65640x00000006,0x0000329b,0x00003299,0x00000000,
65650x00050080,0x00000006,0x000032a0,0x000031fb,
65660x0000329a,0x00050050,0x00000007,0x000032a1,
65670x0000329b,0x000032a0,0x0004007c,0x00000014,
65680x00003291,0x000032a1,0x00060041,0x0000016c,
65690x00003288,0x00003291,0x0000016b,0x0000016b,
65700x0006003d,0x00000006,0x00003289,0x00003288,
65710x00000002,0x00000004,0x0004007c,0x00000027,
65720x00002d06,0x00003289,0x00050095,0x0000013d,
65730x000032ba,0x000031f3,0x00000205,0x00050051,
65740x00000006,0x000032bb,0x000032ba,0x00000001,
65750x00050051,0x00000006,0x000032bc,0x000032ba,
65760x00000000,0x00050080,0x00000006,0x000032c1,
65770x000031fb,0x000032bb,0x00050050,0x00000007,
65780x000032c2,0x000032bc,0x000032c1,0x0004007c,
65790x00000014,0x000032b2,0x000032c2,0x00060041,
65800x0000016c,0x000032a9,0x000032b2,0x0000016b,
65810x0000016b,0x0006003d,0x00000006,0x000032aa,
65820x000032a9,0x00000002,0x00000004,0x0004007c,
65830x00000027,0x00002d09,0x000032aa,0x00050095,
65840x0000013d,0x000032db,0x000031f3,0x00000500,
65850x00050051,0x00000006,0x000032dc,0x000032db,
65860x00000001,0x00050051,0x00000006,0x000032dd,
65870x000032db,0x00000000,0x00050080,0x00000006,
65880x000032e2,0x000031fb,0x000032dc,0x00050050,
65890x00000007,0x000032e3,0x000032dd,0x000032e2,
65900x0004007c,0x00000014,0x000032d3,0x000032e3,
65910x00060041,0x0000016c,0x000032ca,0x000032d3,
65920x0000016b,0x0000016b,0x0006003d,0x00000006,
65930x000032cb,0x000032ca,0x00000002,0x00000004,
65940x0004007c,0x00000027,0x00002d0c,0x000032cb,
65950x000500bc,0x0000002f,0x000032ea,0x00002cfc,
65960x00002d06,0x000300f7,0x000032f1,0x00000000,
65970x000400fa,0x000032ea,0x000032eb,0x000032f1,
65980x000200f8,0x000032eb,0x000500bc,0x0000002f,
65990x000032f0,0x00002cff,0x00002d09,0x000200f9,
66000x000032f1,0x000200f8,0x000032f1,0x000700f5,
66010x0000002f,0x000032f2,0x000032ea,0x00002cf3,
66020x000032f0,0x000032eb,0x000300f7,0x000032f9,
66030x00000000,0x000400fa,0x000032f2,0x000032f3,
66040x000032f9,0x000200f8,0x000032f3,0x000500bc,
66050x0000002f,0x000032f8,0x00002d02,0x00002d0c,
66060x000200f9,0x000032f9,0x000200f8,0x000032f9,
66070x000700f5,0x0000002f,0x000032fa,0x000032f2,
66080x000032f1,0x000032f8,0x000032f3,0x000300f7,
66090x00002d16,0x00000000,0x000400fa,0x000032fa,
66100x00002d12,0x00002d16,0x000200f8,0x00002d12,
66110x000500c2,0x00000006,0x00002d14,0x00002e81,
66120x000006f3,0x000500ab,0x0000002f,0x00002d15,
66130x00002d14,0x00000138,0x000200f9,0x00002d16,
66140x000200f8,0x00002d16,0x000700f5,0x0000002f,
66150x00002d17,0x000032fa,0x000032f9,0x00002d15,
66160x00002d12,0x000300f7,0x00002d87,0x00000000,
66170x000400fa,0x00002d17,0x00002d18,0x00002d87,
66180x000200f8,0x00002d18,0x000200f9,0x00002d19,
66190x000200f8,0x00002d19,0x000700f5,0x0000006c,
66200x00005f0d,0x000060fe,0x00002d18,0x00002d82,
66210x00002d1d,0x000700f5,0x0000006c,0x00005ee6,
66220x00000576,0x00002d18,0x00002d7f,0x00002d1d,
66230x000700f5,0x00000006,0x00005e8b,0x00000138,
66240x00002d18,0x00002d85,0x00002d1d,0x000500b0,
66250x0000002f,0x00002d1c,0x00005e8b,0x000001cd,
66260x000400f6,0x00002d86,0x00002d1d,0x00000000,
66270x000400fa,0x00002d1c,0x00002d1d,0x00002d86,
66280x000200f8,0x00002d1d,0x000500c7,0x00000006,
66290x00002d1f,0x00005e8b,0x00000142,0x000500ab,
66300x0000002f,0x00002d20,0x00002d1f,0x00000138,
66310x000600a9,0x00000027,0x0000611b,0x00002d20,
66320x00002d06,0x00002cfc,0x000500c7,0x00000006,
66330x00002d2a,0x00005e8b,0x00000280,0x000500ab,
66340x0000002f,0x00002d2b,0x00002d2a,0x00000138,
66350x000600a9,0x00000027,0x0000611c,0x00002d2b,
66360x00002d09,0x00002cff,0x000500c7,0x00000006,
66370x00002d35,0x00005e8b,0x000000ec,0x000500ab,
66380x0000002f,0x00002d36,0x00002d35,0x00000138,
66390x000600a9,0x00000027,0x0000611d,0x00002d36,
66400x00002d0c,0x00002d02,0x00050041,0x00000028,
66410x00002d40,0x00002c30,0x0000016b,0x0004003d,
66420x00000027,0x00002d41,0x00002d40,0x00050085,
66430x00000027,0x00002d44,0x00002d41,0x0000611b,
66440x00050041,0x00000028,0x00002d45,0x00002c30,
66450x00000264,0x0004003d,0x00000027,0x00002d46,
66460x00002d45,0x00050085,0x00000027,0x00002d49,
66470x00002d46,0x0000611c,0x00050081,0x00000027,
66480x00002d4a,0x00002d44,0x00002d49,0x00050041,
66490x00000028,0x00002d4b,0x00002c30,0x00000315,
66500x0004003d,0x00000027,0x00002d4c,0x00002d4b,
66510x00050085,0x00000027,0x00002d4f,0x00002d4c,
66520x0000611d,0x00050081,0x00000027,0x00002d50,
66530x00002d4a,0x00002d4f,0x00050041,0x00000028,
66540x00002d51,0x00002c30,0x0000031d,0x0004003d,
66550x00000027,0x00002d52,0x00002d51,0x00050081,
66560x00000027,0x00002d53,0x00002d50,0x00002d52,
66570x00050041,0x00000028,0x00002d54,0x00002c30,
66580x00000325,0x0004003d,0x00000027,0x00002d55,
66590x00002d54,0x00050085,0x00000027,0x00002d58,
66600x00002d55,0x0000611b,0x00050041,0x00000028,
66610x00002d59,0x00002c30,0x0000032d,0x0004003d,
66620x00000027,0x00002d5a,0x00002d59,0x00050085,
66630x00000027,0x00002d5d,0x00002d5a,0x0000611c,
66640x00050081,0x00000027,0x00002d5e,0x00002d58,
66650x00002d5d,0x00050041,0x00000028,0x00002d5f,
66660x00002c30,0x00000351,0x0004003d,0x00000027,
66670x00002d60,0x00002d5f,0x00050085,0x00000027,
66680x00002d63,0x00002d60,0x0000611d,0x00050081,
66690x00000027,0x00002d64,0x00002d5e,0x00002d63,
66700x00050041,0x00000028,0x00002d65,0x00002c30,
66710x0000074d,0x0004003d,0x00000027,0x00002d66,
66720x00002d65,0x00050081,0x00000027,0x00002d67,
66730x00002d64,0x00002d66,0x00050041,0x00000028,
66740x00002d68,0x00002c30,0x000004c1,0x0004003d,
66750x00000027,0x00002d69,0x00002d68,0x00050085,
66760x00000027,0x00002d6c,0x00002d69,0x0000611b,
66770x00050041,0x00000028,0x00002d6d,0x00002c30,
66780x00000206,0x0004003d,0x00000027,0x00002d6e,
66790x00002d6d,0x00050085,0x00000027,0x00002d71,
66800x00002d6e,0x0000611c,0x00050081,0x00000027,
66810x00002d72,0x00002d6c,0x00002d71,0x00050041,
66820x00000028,0x00002d73,0x00002c30,0x000003b6,
66830x0004003d,0x00000027,0x00002d74,0x00002d73,
66840x00050085,0x00000027,0x00002d77,0x00002d74,
66850x0000611d,0x00050081,0x00000027,0x00002d78,
66860x00002d72,0x00002d77,0x00050041,0x00000028,
66870x00002d79,0x00002c30,0x00000434,0x0004003d,
66880x00000027,0x00002d7a,0x00002d79,0x00050081,
66890x00000027,0x00002d7b,0x00002d78,0x00002d7a,
66900x00060050,0x0000006c,0x00002d7c,0x00002d53,
66910x00002d67,0x00002d7b,0x0007000c,0x0000006c,
66920x00002d7f,0x00000001,0x00000025,0x00005ee6,
66930x00002d7c,0x0007000c,0x0000006c,0x00002d82,
66940x00000001,0x00000028,0x00005f0d,0x00002d7c,
66950x00050080,0x00000006,0x00002d85,0x00005e8b,
66960x00000264,0x000200f9,0x00002d19,0x000200f8,
66970x00002d86,0x000200f9,0x00002d87,0x000200f8,
66980x00002d87,0x000700f5,0x0000006c,0x00005f09,
66990x000060fe,0x00002d16,0x00005f0d,0x00002d86,
67000x000700f5,0x0000006c,0x00005ee2,0x00000576,
67010x00002d16,0x00005ee6,0x00002d86,0x000200f9,
67020x00002d88,0x000200f8,0x00002d88,0x000700f5,
67030x0000006c,0x00005ef3,0x000060fe,0x00002cf0,
67040x00005f09,0x00002d87,0x000700f5,0x0000006c,
67050x00005ecc,0x00000576,0x00002cf0,0x00005ee2,
67060x00002d87,0x000700f5,0x00000006,0x00005e94,
67070x00000539,0x00002cf0,0x00003205,0x00002d87,
67080x00050041,0x00000028,0x00002d89,0x00002c30,
67090x0000016b,0x0004003d,0x00000027,0x00002d8a,
67100x00002d89,0x000500b4,0x0000002f,0x00002d8b,
67110x00002d8a,0x00000771,0x000300f7,0x00002d90,
67120x00000000,0x000400fa,0x00002d8b,0x00002d8c,
67130x00002d90,0x000200f8,0x00002d8c,0x00050041,
67140x00000028,0x00002d8d,0x00002c30,0x00000264,
67150x0004003d,0x00000027,0x00002d8e,0x00002d8d,
67160x000500b4,0x0000002f,0x00002d8f,0x00002d8e,
67170x00000426,0x000200f9,0x00002d90,0x000200f8,
67180x00002d90,0x000700f5,0x0000002f,0x00002d91,
67190x00002d8b,0x00002d88,0x00002d8f,0x00002d8c,
67200x000300f7,0x00002d96,0x00000000,0x000400fa,
67210x00002d91,0x00002d92,0x00002d96,0x000200f8,
67220x00002d92,0x00050041,0x00000028,0x00002d93,
67230x00002c30,0x00000315,0x0004003d,0x00000027,
67240x00002d94,0x00002d93,0x000500b4,0x0000002f,
67250x00002d95,0x00002d94,0x00000426,0x000200f9,
67260x00002d96,0x000200f8,0x00002d96,0x000700f5,
67270x0000002f,0x00002d97,0x00002d91,0x00002d90,
67280x00002d95,0x00002d92,0x000300f7,0x00002d9c,
67290x00000000,0x000400fa,0x00002d97,0x00002d98,
67300x00002d9c,0x000200f8,0x00002d98,0x00050041,
67310x00000028,0x00002d99,0x00002c30,0x00000325,
67320x0004003d,0x00000027,0x00002d9a,0x00002d99,
67330x000500b4,0x0000002f,0x00002d9b,0x00002d9a,
67340x00000426,0x000200f9,0x00002d9c,0x000200f8,
67350x00002d9c,0x000700f5,0x0000002f,0x00002d9d,
67360x00002d97,0x00002d96,0x00002d9b,0x00002d98,
67370x000300f7,0x00002da2,0x00000000,0x000400fa,
67380x00002d9d,0x00002d9e,0x00002da2,0x000200f8,
67390x00002d9e,0x00050041,0x00000028,0x00002d9f,
67400x00002c30,0x0000032d,0x0004003d,0x00000027,
67410x00002da0,0x00002d9f,0x000500b4,0x0000002f,
67420x00002da1,0x00002da0,0x00000771,0x000200f9,
67430x00002da2,0x000200f8,0x00002da2,0x000700f5,
67440x0000002f,0x00002da3,0x00002d9d,0x00002d9c,
67450x00002da1,0x00002d9e,0x000300f7,0x00002da8,
67460x00000000,0x000400fa,0x00002da3,0x00002da4,
67470x00002da8,0x000200f8,0x00002da4,0x00050041,
67480x00000028,0x00002da5,0x00002c30,0x00000351,
67490x0004003d,0x00000027,0x00002da6,0x00002da5,
67500x000500b4,0x0000002f,0x00002da7,0x00002da6,
67510x00000426,0x000200f9,0x00002da8,0x000200f8,
67520x00002da8,0x000700f5,0x0000002f,0x00002da9,
67530x00002da3,0x00002da2,0x00002da7,0x00002da4,
67540x000300f7,0x00002dae,0x00000000,0x000400fa,
67550x00002da9,0x00002daa,0x00002dae,0x000200f8,
67560x00002daa,0x00050041,0x00000028,0x00002dab,
67570x00002c30,0x000004c1,0x0004003d,0x00000027,
67580x00002dac,0x00002dab,0x000500b4,0x0000002f,
67590x00002dad,0x00002dac,0x00000426,0x000200f9,
67600x00002dae,0x000200f8,0x00002dae,0x000700f5,
67610x0000002f,0x00002daf,0x00002da9,0x00002da8,
67620x00002dad,0x00002daa,0x000300f7,0x00002db4,
67630x00000000,0x000400fa,0x00002daf,0x00002db0,
67640x00002db4,0x000200f8,0x00002db0,0x00050041,
67650x00000028,0x00002db1,0x00002c30,0x00000206,
67660x0004003d,0x00000027,0x00002db2,0x00002db1,
67670x000500b4,0x0000002f,0x00002db3,0x00002db2,
67680x00000426,0x000200f9,0x00002db4,0x000200f8,
67690x00002db4,0x000700f5,0x0000002f,0x00002db5,
67700x00002daf,0x00002dae,0x00002db3,0x00002db0,
67710x000300f7,0x00002dba,0x00000000,0x000400fa,
67720x00002db5,0x00002db6,0x00002dba,0x000200f8,
67730x00002db6,0x00050041,0x00000028,0x00002db7,
67740x00002c30,0x000003b6,0x0004003d,0x00000027,
67750x00002db8,0x00002db7,0x000500b4,0x0000002f,
67760x00002db9,0x00002db8,0x00000771,0x000200f9,
67770x00002dba,0x000200f8,0x00002dba,0x000700f5,
67780x0000002f,0x00002dbb,0x00002db5,0x00002db4,
67790x00002db9,0x00002db6,0x00050080,0x00000006,
67800x00002dbd,0x00002cc6,0x00000537,0x000500c7,
67810x00000006,0x00002dbf,0x00005e94,0x000007a6,
67820x000600a9,0x00000006,0x00002dc1,0x00002dbb,
67830x00000241,0x00000138,0x000500c5,0x00000006,
67840x00002dc2,0x00002dbf,0x00002dc1,0x00050095,
67850x0000013d,0x00003313,0x00002f3b,0x00002dbd,
67860x00050051,0x00000006,0x00003314,0x00003313,
67870x00000001,0x00050051,0x00000006,0x00003315,
67880x00003313,0x00000000,0x00050080,0x00000006,
67890x0000331a,0x00002f42,0x00003314,0x00050050,
67900x00000007,0x0000331b,0x00003315,0x0000331a,
67910x0004007c,0x00000014,0x0000330b,0x0000331b,
67920x00060041,0x0000016c,0x00003303,0x0000330b,
67930x0000016b,0x0000016b,0x0005003e,0x00003303,
67940x00002dc2,0x00000002,0x00000004,0x000400a8,
67950x0000002f,0x00002dc7,0x00002cf1,0x00050050,
67960x0000611e,0x0000611f,0x00002dc7,0x00002dc7,
67970x000600a9,0x00000007,0x00006120,0x0000611f,
67980x000007b5,0x00005e89,0x00050080,0x00000006,
67990x00002dcb,0x00002cc6,0x00000541,0x00050051,
68000x00000006,0x00002dcd,0x00006120,0x00000000,
68010x000500c2,0x00000006,0x00002dce,0x00002dcd,
68020x000004c1,0x00050051,0x00000006,0x00002dd0,
68030x00006120,0x00000001,0x000500c4,0x00000006,
68040x00002dd1,0x00002dd0,0x000006f3,0x000500c5,
68050x00000006,0x00002dd2,0x00002dce,0x00002dd1,
68060x00050095,0x0000013d,0x00003333,0x00002f3b,
68070x00002dcb,0x00050051,0x00000006,0x00003334,
68080x00003333,0x00000001,0x00050051,0x00000006,
68090x00003335,0x00003333,0x00000000,0x00050080,
68100x00000006,0x0000333a,0x00002f42,0x00003334,
68110x00050050,0x00000007,0x0000333b,0x00003335,
68120x0000333a,0x0004007c,0x00000014,0x0000332b,
68130x0000333b,0x00060041,0x0000016c,0x00003323,
68140x0000332b,0x0000016b,0x0000016b,0x0005003e,
68150x00003323,0x00002dd2,0x00000002,0x00000004,
68160x0004003d,0x00000027,0x00002dd7,0x00002d89,
68170x00050041,0x00000028,0x00002dd8,0x00002c30,
68180x00000325,0x0004003d,0x00000027,0x00002dd9,
68190x00002dd8,0x00050041,0x00000028,0x00002dda,
68200x00002c30,0x000004c1,0x0004003d,0x00000027,
68210x00002ddb,0x00002dda,0x00050041,0x00000028,
68220x00002ddc,0x00002c30,0x00000264,0x0004003d,
68230x00000027,0x00002ddd,0x00002ddc,0x00050041,
68240x00000028,0x00002dde,0x00002c30,0x0000032d,
68250x0004003d,0x00000027,0x00002ddf,0x00002dde,
68260x00050041,0x00000028,0x00002de0,0x00002c30,
68270x00000206,0x0004003d,0x00000027,0x00002de1,
68280x00002de0,0x00050041,0x00000028,0x00002de2,
68290x00002c30,0x00000315,0x0004003d,0x00000027,
68300x00002de3,0x00002de2,0x00050041,0x00000028,
68310x00002de4,0x00002c30,0x00000351,0x0004003d,
68320x00000027,0x00002de5,0x00002de4,0x00050041,
68330x00000028,0x00002de6,0x00002c30,0x000003b6,
68340x0004003d,0x00000027,0x00002de7,0x00002de6,
68350x00060050,0x0000006c,0x00002de8,0x00002dd7,
68360x00002dd9,0x00002ddb,0x00060050,0x0000006c,
68370x00002de9,0x00002ddd,0x00002ddf,0x00002de1,
68380x00060050,0x0000006c,0x00002dea,0x00002de3,
68390x00002de5,0x00002de7,0x00060050,0x000007c5,
68400x00002deb,0x00002de8,0x00002de9,0x00002dea,
68410x0006000c,0x00000027,0x00002ded,0x00000001,
68420x00000021,0x00002deb,0x000500b7,0x0000002f,
68430x00002def,0x00002ded,0x00000426,0x000300f7,
68440x00002df4,0x00000000,0x000400fa,0x00002def,
68450x00002df0,0x00002df3,0x000200f8,0x00002df3,
68460x000200f9,0x00002df4,0x000200f8,0x00002df0,
68470x0006000c,0x000007c5,0x00002df2,0x00000001,
68480x00000022,0x00002deb,0x000200f9,0x00002df4,
68490x000200f8,0x00002df4,0x000700f5,0x000007c5,
68500x00005ebe,0x00002df2,0x00002df0,0x000007eb,
68510x00002df3,0x0003003e,0x00002c75,0x00005ebe,
68520x00050041,0x00000028,0x00002df6,0x00002c30,
68530x0000031d,0x0004003d,0x00000027,0x00002df7,
68540x00002df6,0x00050041,0x00000028,0x00002df8,
68550x00002c30,0x0000074d,0x0004003d,0x00000027,
68560x00002df9,0x00002df8,0x00050041,0x00000028,
68570x00002dfa,0x00002c30,0x00000434,0x0004003d,
68580x00000027,0x00002dfb,0x00002dfa,0x00060050,
68590x0000006c,0x00002dfc,0x00002df7,0x00002df9,
68600x00002dfb,0x00050091,0x0000006c,0x00002dff,
68610x00005ebe,0x00002dfc,0x0004007f,0x0000006c,
68620x00002e00,0x00002dff,0x0003003e,0x00002c78,
68630x00002e00,0x000200f9,0x00002e01,0x000200f8,
68640x00002e01,0x000700f5,0x00000006,0x00005ebf,
68650x00000138,0x00002df4,0x00002e34,0x00002e05,
68660x000500b0,0x0000002f,0x00002e04,0x00005ebf,
68670x00000470,0x000400f6,0x00002e35,0x00002e05,
68680x00000000,0x000400fa,0x00002e04,0x00002e05,
68690x00002e35,0x000200f8,0x00002e05,0x00050080,
68700x00000006,0x00002e07,0x00002cc6,0x000001c4,
68710x00050084,0x00000006,0x00002e09,0x000001db,
68720x00005ebf,0x00050080,0x00000006,0x00002e0a,
68730x00002e07,0x00002e09,0x00060041,0x00000028,
68740x00002e0e,0x00002c75,0x0000016b,0x00005ebf,
68750x0004003d,0x00000027,0x00002e0f,0x00002e0e,
68760x0004007c,0x00000006,0x00003341,0x00002e0f,
68770x00050095,0x0000013d,0x0000335c,0x00002f3b,
68780x00002e0a,0x00050051,0x00000006,0x0000335d,
68790x0000335c,0x00000001,0x00050051,0x00000006,
68800x0000335e,0x0000335c,0x00000000,0x00050080,
68810x00000006,0x00003363,0x00002f42,0x0000335d,
68820x00050050,0x00000007,0x00003364,0x0000335e,
68830x00003363,0x0004007c,0x00000014,0x00003354,
68840x00003364,0x00060041,0x0000016c,0x0000334c,
68850x00003354,0x0000016b,0x0000016b,0x0005003e,
68860x0000334c,0x00003341,0x00000002,0x00000004,
68870x00050080,0x00000006,0x00002e12,0x00002cc6,
68880x00000811,0x00050080,0x00000006,0x00002e15,
68890x00002e12,0x00002e09,0x00060041,0x00000028,
68900x00002e19,0x00002c75,0x00000264,0x00005ebf,
68910x0004003d,0x00000027,0x00002e1a,0x00002e19,
68920x0004007c,0x00000006,0x0000336a,0x00002e1a,
68930x00050095,0x0000013d,0x00003385,0x00002f3b,
68940x00002e15,0x00050051,0x00000006,0x00003386,
68950x00003385,0x00000001,0x00050051,0x00000006,
68960x00003387,0x00003385,0x00000000,0x00050080,
68970x00000006,0x0000338c,0x00002f42,0x00003386,
68980x00050050,0x00000007,0x0000338d,0x00003387,
68990x0000338c,0x0004007c,0x00000014,0x0000337d,
69000x0000338d,0x00060041,0x0000016c,0x00003375,
69010x0000337d,0x0000016b,0x0000016b,0x0005003e,
69020x00003375,0x0000336a,0x00000002,0x00000004,
69030x00050080,0x00000006,0x00002e1d,0x00002cc6,
69040x00000820,0x00050080,0x00000006,0x00002e20,
69050x00002e1d,0x00002e09,0x00060041,0x00000028,
69060x00002e24,0x00002c75,0x00000315,0x00005ebf,
69070x0004003d,0x00000027,0x00002e25,0x00002e24,
69080x0004007c,0x00000006,0x00003393,0x00002e25,
69090x00050095,0x0000013d,0x000033ae,0x00002f3b,
69100x00002e20,0x00050051,0x00000006,0x000033af,
69110x000033ae,0x00000001,0x00050051,0x00000006,
69120x000033b0,0x000033ae,0x00000000,0x00050080,
69130x00000006,0x000033b5,0x00002f42,0x000033af,
69140x00050050,0x00000007,0x000033b6,0x000033b0,
69150x000033b5,0x0004007c,0x00000014,0x000033a6,
69160x000033b6,0x00060041,0x0000016c,0x0000339e,
69170x000033a6,0x0000016b,0x0000016b,0x0005003e,
69180x0000339e,0x00003393,0x00000002,0x00000004,
69190x00050080,0x00000006,0x00002e28,0x00002cc6,
69200x0000082f,0x00050080,0x00000006,0x00002e2b,
69210x00002e28,0x00002e09,0x00050041,0x00000028,
69220x00002e2f,0x00002c78,0x00005ebf,0x0004003d,
69230x00000027,0x00002e30,0x00002e2f,0x0004007c,
69240x00000006,0x000033bc,0x00002e30,0x00050095,
69250x0000013d,0x000033d7,0x00002f3b,0x00002e2b,
69260x00050051,0x00000006,0x000033d8,0x000033d7,
69270x00000001,0x00050051,0x00000006,0x000033d9,
69280x000033d7,0x00000000,0x00050080,0x00000006,
69290x000033de,0x00002f42,0x000033d8,0x00050050,
69300x00000007,0x000033df,0x000033d9,0x000033de,
69310x0004007c,0x00000014,0x000033cf,0x000033df,
69320x00060041,0x0000016c,0x000033c7,0x000033cf,
69330x0000016b,0x0000016b,0x0005003e,0x000033c7,
69340x000033bc,0x00000002,0x00000004,0x00050080,
69350x00000006,0x00002e34,0x00005ebf,0x00000264,
69360x000200f9,0x00002e01,0x000200f8,0x00002e35,
69370x00050080,0x00000006,0x00002e37,0x00002cc6,
69380x00000840,0x00050095,0x0000013d,0x000033f7,
69390x00002f3b,0x00002e37,0x00050051,0x00000006,
69400x000033f8,0x000033f7,0x00000001,0x00050051,
69410x00000006,0x000033f9,0x000033f7,0x00000000,
69420x00050080,0x00000006,0x000033fe,0x00002f42,
69430x000033f8,0x00050050,0x00000007,0x000033ff,
69440x000033f9,0x000033fe,0x0004007c,0x00000014,
69450x000033ef,0x000033ff,0x00060041,0x0000016c,
69460x000033e7,0x000033ef,0x0000016b,0x0000016b,
69470x0005003e,0x000033e7,0x000012dd,0x00000002,
69480x00000004,0x00050080,0x00000006,0x00002e3d,
69490x00002cc6,0x0000084a,0x00050095,0x0000013d,
69500x00003417,0x00002f3b,0x00002e3d,0x00050051,
69510x00000006,0x00003418,0x00003417,0x00000001,
69520x00050051,0x00000006,0x00003419,0x00003417,
69530x00000000,0x00050080,0x00000006,0x0000341e,
69540x00002f42,0x00003418,0x00050050,0x00000007,
69550x0000341f,0x00003419,0x0000341e,0x0004007c,
69560x00000014,0x0000340f,0x0000341f,0x00060041,
69570x0000016c,0x00003407,0x0000340f,0x0000016b,
69580x0000016b,0x0005003e,0x00003407,0x00000539,
69590x00000002,0x00000004,0x00050080,0x00000006, 67630x00000002,0x00000004,0x00050080,0x00000006,
69600x00002e42,0x00002cc6,0x00000853,0x00050095, 67640x000032d5,0x000032b5,0x000001e3,0x00050095,
69610x0000013d,0x00003437,0x00002f3b,0x00002e42, 67650x00000145,0x00003452,0x0000339c,0x000032d5,
69620x00050051,0x00000006,0x00003438,0x00003437, 67660x00050051,0x00000006,0x00003453,0x00003452,
69630x00000001,0x00050051,0x00000006,0x00003439, 67670x00000001,0x00050051,0x00000006,0x00003454,
69640x00003437,0x00000000,0x00050080,0x00000006, 67680x00003452,0x00000000,0x00050080,0x00000006,
69650x0000343e,0x00002f42,0x00003438,0x00050050, 67690x00003459,0x000033a3,0x00003453,0x00050050,
69660x00000007,0x0000343f,0x00003439,0x0000343e, 67700x00000007,0x0000345a,0x00003454,0x00003459,
69670x0004007c,0x00000014,0x0000342f,0x0000343f, 67710x0004007c,0x00000014,0x0000344a,0x0000345a,
69680x00060041,0x0000016c,0x00003427,0x0000342f, 67720x00060041,0x00000174,0x00003441,0x0000344a,
69690x0000016b,0x0000016b,0x0005003e,0x00003427, 67730x00000173,0x00000173,0x0006003d,0x00000006,
69700x00000138,0x00000002,0x00000004,0x00050080, 67740x00003442,0x00003441,0x00000002,0x00000004,
69710x00000006,0x00002e47,0x00002cc6,0x0000085c, 67750x00050080,0x00000006,0x000032da,0x000032b5,
69720x00050095,0x0000013d,0x00003457,0x00002f3b, 67760x000002a1,0x00050095,0x00000145,0x00003473,
69730x00002e47,0x00050051,0x00000006,0x00003458, 67770x0000339c,0x000032da,0x00050051,0x00000006,
69740x00003457,0x00000001,0x00050051,0x00000006, 67780x00003474,0x00003473,0x00000001,0x00050051,
69750x00003459,0x00003457,0x00000000,0x00050080, 67790x00000006,0x00003475,0x00003473,0x00000000,
69760x00000006,0x0000345e,0x00002f42,0x00003458, 67800x00050080,0x00000006,0x0000347a,0x000033a3,
69770x00050050,0x00000007,0x0000345f,0x00003459, 67810x00003474,0x00050050,0x00000007,0x0000347b,
69780x0000345e,0x0004007c,0x00000014,0x0000344f, 67820x00003475,0x0000347a,0x0004007c,0x00000014,
69790x0000345f,0x00060041,0x0000016c,0x00003447, 67830x0000346b,0x0000347b,0x00060041,0x00000174,
69800x0000344f,0x0000016b,0x0000016b,0x0005003e, 67840x00003462,0x0000346b,0x00000173,0x00000173,
69810x00003447,0x00000138,0x00000002,0x00000004, 67850x0006003d,0x00000006,0x00003463,0x00003462,
69820x000500b4,0x0000002f,0x00002e4c,0x00002ded, 67860x00000002,0x00000004,0x00050096,0x00000145,
69830x00000426,0x00060050,0x0000054d,0x00006121, 67870x00003484,0x000031a1,0x00003400,0x00050051,
69840x00002e4c,0x00002e4c,0x00002e4c,0x000600a9, 67880x00000006,0x00003485,0x00003484,0x00000001,
69850x0000006c,0x00006122,0x00006121,0x000060fe, 67890x00050051,0x00000006,0x00003486,0x00003484,
69860x00005ef3,0x000600a9,0x0000006c,0x00006124, 67900x00000000,0x00050082,0x00000006,0x0000348c,
69870x00006121,0x00000576,0x00005ecc,0x00050041, 67910x000031c2,0x00003421,0x00050082,0x00000006,
69880x000001bb,0x000034af,0x000001b9,0x000001ba, 67920x0000348e,0x0000348c,0x00003485,0x00050095,
69890x0004003d,0x00000006,0x000034b0,0x000034af, 67930x00000145,0x00003498,0x00003442,0x00003486,
69900x00050084,0x00000006,0x000034b1,0x000001db, 67940x00050051,0x00000006,0x00003499,0x00003498,
69910x000034b0,0x00050080,0x00000006,0x000034b2, 67950x00000001,0x00050051,0x00000006,0x0000349a,
69920x000001c4,0x000034b1,0x00050080,0x00000006, 67960x00003498,0x00000000,0x00050080,0x00000006,
69930x000034b8,0x000034b0,0x0000062f,0x00050086, 67970x000034a0,0x00003463,0x0000348e,0x00050080,
69940x00000006,0x000034b9,0x000034b8,0x000001be, 67980x00000006,0x000034a2,0x000034a0,0x00003499,
69950x00050084,0x00000006,0x000034ab,0x000001c4, 67990x00050050,0x00000007,0x000034a3,0x0000349a,
69960x000034b9,0x00050080,0x00000006,0x000034ac, 68000x000034a2,0x000200f9,0x000032e4,0x000200f8,
69970x000034b2,0x000034ab,0x00050080,0x00000006, 68010x000032e4,0x000700f5,0x00000007,0x000062a4,
69980x000034a6,0x000034ac,0x000034ab,0x00050084, 68020x00002f9f,0x000033de,0x000034a3,0x000032c9,
69990x00000006,0x00003476,0x000001ef,0x000012dd, 68030x000200f9,0x000032e5,0x000200f8,0x000032e5,
70000x00050080,0x00000006,0x00003477,0x000034a6, 68040x000700f5,0x00000007,0x000062a0,0x00002f9f,
70010x00003476,0x00050041,0x00000266,0x00003478, 68050x000032af,0x000062a4,0x000032e4,0x000700f5,
70020x000001b9,0x00000264,0x0004003d,0x00000007, 68060x0000002f,0x0000629a,0x0000037d,0x000032af,
70030x00003479,0x00003478,0x00050051,0x00000027, 68070x000033df,0x000032e4,0x000400a8,0x0000002f,
70040x0000347c,0x00006124,0x00000000,0x0004007c, 68080x000032e7,0x0000629a,0x000300f7,0x000032ed,
70050x00000006,0x000034c6,0x0000347c,0x00050051, 68090x00000000,0x000400fa,0x000032e7,0x000032e8,
70060x00000006,0x000034df,0x00003479,0x00000000, 68100x000032ed,0x000200f8,0x000032e8,0x00050041,
70070x00050095,0x0000013d,0x000034e1,0x000034df, 68110x0000026e,0x000032e9,0x000001c1,0x0000032d,
70080x00003477,0x00050051,0x00000006,0x000034e2, 68120x0004003d,0x00000007,0x000032ea,0x000032e9,
70090x000034e1,0x00000001,0x00050051,0x00000006, 68130x00050051,0x00000006,0x000034a7,0x000032ea,
70100x000034e3,0x000034e1,0x00000000,0x00050051, 68140x00000000,0x000500aa,0x0000002f,0x000034a8,
70110x00000006,0x000034e6,0x00003479,0x00000001, 68150x000034a7,0x00000140,0x000300f7,0x000034ad,
70120x00050080,0x00000006,0x000034e8,0x000034e6, 68160x00000000,0x000400fa,0x000034a8,0x000034a9,
70130x000034e2,0x00050050,0x00000007,0x000034e9, 68170x000034ad,0x000200f8,0x000034a9,0x00050051,
70140x000034e3,0x000034e8,0x0004007c,0x00000014, 68180x00000006,0x000034ab,0x000032ea,0x00000001,
70150x000034d9,0x000034e9,0x00060041,0x0000016c, 68190x000500aa,0x0000002f,0x000034ac,0x000034ab,
70160x000034d1,0x000034d9,0x0000016b,0x0000016b, 68200x00000140,0x000200f9,0x000034ad,0x000200f8,
70170x0005003e,0x000034d1,0x000034c6,0x00000002, 68210x000034ad,0x000700f5,0x0000002f,0x000034ae,
70180x00000004,0x00050080,0x00000006,0x0000347f, 68220x000034a8,0x000032e8,0x000034ac,0x000034a9,
70190x00003477,0x000000ec,0x00050051,0x00000027, 68230x000400a8,0x0000002f,0x000032ec,0x000034ae,
70200x00003483,0x00006124,0x00000001,0x0004007c, 68240x000200f9,0x000032ed,0x000200f8,0x000032ed,
70210x00000006,0x000034ef,0x00003483,0x00050095, 68250x000700f5,0x0000002f,0x000032ee,0x000032e7,
70220x0000013d,0x0000350a,0x000034df,0x0000347f, 68260x000032e5,0x000032ec,0x000034ad,0x000300f7,
70230x00050051,0x00000006,0x0000350b,0x0000350a, 68270x000032f4,0x00000000,0x000400fa,0x000032ee,
70240x00000001,0x00050051,0x00000006,0x0000350c, 68280x000032ef,0x000032f4,0x000200f8,0x000032ef,
70250x0000350a,0x00000000,0x00050080,0x00000006, 68290x00050041,0x0000026e,0x000032f0,0x000001c1,
70260x00003511,0x000034e6,0x0000350b,0x00050050, 68300x0000032d,0x0004003d,0x00000007,0x000032f1,
70270x00000007,0x00003512,0x0000350c,0x00003511, 68310x000032f0,0x00050051,0x00000006,0x000034b2,
70280x0004007c,0x00000014,0x00003502,0x00003512, 68320x000032f1,0x00000001,0x000500b0,0x0000002f,
70290x00060041,0x0000016c,0x000034fa,0x00003502, 68330x000034b5,0x000034b2,0x0000336c,0x000400a8,
70300x0000016b,0x0000016b,0x0005003e,0x000034fa, 68340x0000002f,0x000034b6,0x000034b5,0x000300f7,
70310x000034ef,0x00000002,0x00000004,0x00050080, 68350x000034c5,0x00000000,0x000400fa,0x000034b6,
70320x00000006,0x00003486,0x00003477,0x000001cd, 68360x000034b7,0x000034c5,0x000200f8,0x000034b7,
70330x00050051,0x00000027,0x0000348a,0x00006124, 68370x000500aa,0x0000002f,0x000034bc,0x000034b2,
70340x00000002,0x0004007c,0x00000006,0x00003518, 68380x0000336c,0x000300f7,0x000034c3,0x00000000,
70350x0000348a,0x00050095,0x0000013d,0x00003533, 68390x000400fa,0x000034bc,0x000034bd,0x000034c3,
70360x000034df,0x00003486,0x00050051,0x00000006, 68400x000200f8,0x000034bd,0x00050051,0x00000006,
70370x00003534,0x00003533,0x00000001,0x00050051, 68410x000034bf,0x000032f1,0x00000000,0x000500b0,
70380x00000006,0x00003535,0x00003533,0x00000000, 68420x0000002f,0x000034c2,0x000034bf,0x00003367,
70390x00050080,0x00000006,0x0000353a,0x000034e6, 68430x000200f9,0x000034c3,0x000200f8,0x000034c3,
70400x00003534,0x00050050,0x00000007,0x0000353b, 68440x000700f5,0x0000002f,0x000034c4,0x000034bc,
70410x00003535,0x0000353a,0x0004007c,0x00000014, 68450x000034b7,0x000034c2,0x000034bd,0x000200f9,
70420x0000352b,0x0000353b,0x00060041,0x0000016c, 68460x000034c5,0x000200f8,0x000034c5,0x000700f5,
70430x00003523,0x0000352b,0x0000016b,0x0000016b, 68470x0000002f,0x000034c6,0x000034b5,0x000032ef,
70440x0005003e,0x00003523,0x00003518,0x00000002, 68480x000034c4,0x000034c3,0x000200f9,0x000032f4,
70450x00000004,0x00050080,0x00000006,0x0000348d, 68490x000200f8,0x000032f4,0x000700f5,0x0000002f,
70460x00003477,0x000001d4,0x00050051,0x00000027, 68500x000032f5,0x000032ee,0x000032ed,0x000034c6,
70470x00003491,0x00006122,0x00000000,0x0004007c, 68510x000034c5,0x000300f7,0x000032f7,0x00000000,
70480x00000006,0x00003541,0x00003491,0x00050095, 68520x000400fa,0x000032f5,0x000032f6,0x000032f7,
70490x0000013d,0x0000355c,0x000034df,0x0000348d, 68530x000200f8,0x000032f6,0x000200f9,0x00003302,
70500x00050051,0x00000006,0x0000355d,0x0000355c, 68540x000200f8,0x000032f7,0x00050051,0x00000006,
70510x00000001,0x00050051,0x00000006,0x0000355e, 68550x000032f9,0x000062a0,0x00000000,0x000500c7,
70520x0000355c,0x00000000,0x00050080,0x00000006, 68560x00000006,0x000032fa,0x000032f9,0x00000695,
70530x00003563,0x000034e6,0x0000355d,0x00050050, 68570x000500aa,0x0000002f,0x000032fb,0x000032fa,
70540x00000007,0x00003564,0x0000355e,0x00003563, 68580x00000140,0x000300f7,0x00003300,0x00000000,
70550x0004007c,0x00000014,0x00003554,0x00003564, 68590x000400fa,0x000032fb,0x000032fc,0x00003300,
70560x00060041,0x0000016c,0x0000354c,0x00003554, 68600x000200f8,0x000032fc,0x00050051,0x00000006,
70570x0000016b,0x0000016b,0x0005003e,0x0000354c, 68610x000032fe,0x000062a0,0x00000001,0x000500b0,
70580x00003541,0x00000002,0x00000004,0x00050080, 68620x0000002f,0x000032ff,0x000032fe,0x000001c6,
70590x00000006,0x00003494,0x00003477,0x000001db, 68630x000200f9,0x00003300,0x000200f8,0x00003300,
70600x00050051,0x00000027,0x00003498,0x00006122, 68640x000700f5,0x0000002f,0x00003301,0x000032fb,
70610x00000001,0x0004007c,0x00000006,0x0000356a, 68650x000032f7,0x000032ff,0x000032fc,0x000200f9,
70620x00003498,0x00050095,0x0000013d,0x00003585, 68660x00003302,0x000200f8,0x00003302,0x000d00f5,
70630x000034df,0x00003494,0x00050051,0x00000006, 68670x00000007,0x000062ab,0x00002f9f,0x00003284,
70640x00003586,0x00003585,0x00000001,0x00050051, 68680x00002f9f,0x000032ae,0x00002f9f,0x000032c8,
70650x00000006,0x00003587,0x00003585,0x00000000, 68690x000062a0,0x000032f6,0x000062a0,0x00003300,
70660x00050080,0x00000006,0x0000358c,0x000034e6, 68700x000d00f5,0x0000002f,0x000062aa,0x00000444,
70670x00003586,0x00050050,0x00000007,0x0000358d, 68710x00003284,0x0000037d,0x000032ae,0x0000037d,
70680x00003587,0x0000358c,0x0004007c,0x00000014, 68720x000032c8,0x0000037d,0x000032f6,0x00003301,
70690x0000357d,0x0000358d,0x00060041,0x0000016c, 68730x00003300,0x000200f9,0x00002fce,0x000200f8,
70700x00003575,0x0000357d,0x0000016b,0x0000016b, 68740x00002fce,0x000700f5,0x00000007,0x000062af,
70710x0005003e,0x00003575,0x0000356a,0x00000002, 68750x00002f9f,0x0000324d,0x000062ab,0x00003302,
70720x00000004,0x00050080,0x00000006,0x0000349b, 68760x000700f5,0x0000002f,0x00002fcf,0x00002fc9,
70730x00003477,0x00000299,0x00050051,0x00000027, 68770x0000324d,0x000062aa,0x00003302,0x000300f7,
70740x0000349f,0x00006122,0x00000002,0x0004007c, 68780x00003066,0x00000000,0x000400fa,0x00002fcf,
70750x00000006,0x00003593,0x0000349f,0x00050095, 68790x00002fd1,0x00003066,0x000200f8,0x00002fd1,
70760x0000013d,0x000035ae,0x000034df,0x0000349b, 68800x00050041,0x0000026e,0x00002fd3,0x000001c1,
70770x00050051,0x00000006,0x000035af,0x000035ae, 68810x00000335,0x0004003d,0x00000007,0x00002fd4,
70780x00000001,0x00050051,0x00000006,0x000035b0, 68820x00002fd3,0x00050051,0x00000006,0x000034cc,
70790x000035ae,0x00000000,0x00050080,0x00000006, 68830x000062af,0x00000000,0x00050051,0x00000006,
70800x000035b5,0x000034e6,0x000035af,0x00050050, 68840x000034ce,0x00002fd4,0x00000000,0x00050095,
70810x00000007,0x000035b6,0x000035b0,0x000035b5, 68850x00000145,0x000034cf,0x000034cc,0x000034ce,
70820x0004007c,0x00000014,0x000035a6,0x000035b6, 68860x00050051,0x00000006,0x000034d0,0x000034cf,
70830x00060041,0x0000016c,0x0000359e,0x000035a6, 68870x00000001,0x00050051,0x00000006,0x000034d1,
70840x0000016b,0x0000016b,0x0005003e,0x0000359e, 68880x000034cf,0x00000000,0x00050051,0x00000006,
70850x00003593,0x00000002,0x00000004,0x000300f7, 68890x000034d4,0x000062af,0x00000001,0x00050051,
70860x000035f6,0x00000000,0x000300fb,0x00000138, 68900x00000006,0x000034d6,0x00002fd4,0x00000001,
70870x000035c5,0x000200f8,0x000035c5,0x000500bc, 68910x00050080,0x00000006,0x000034d7,0x000034d4,
70880x0000002f,0x000035fd,0x0000347c,0x00003491, 68920x000034d6,0x00050080,0x00000006,0x000034d9,
70890x000300f7,0x00003604,0x00000000,0x000400fa, 68930x000034d7,0x000034d0,0x00050095,0x00000145,
70900x000035fd,0x000035fe,0x00003604,0x000200f8, 68940x000034f3,0x000034d1,0x00000588,0x00050051,
70910x000035fe,0x000500bc,0x0000002f,0x00003603, 68950x00000006,0x000034f4,0x000034f3,0x00000001,
70920x00003483,0x00003498,0x000200f9,0x00003604, 68960x00050051,0x00000006,0x000034f5,0x000034f3,
70930x000200f8,0x00003604,0x000700f5,0x0000002f, 68970x00000000,0x00050080,0x00000006,0x000034fa,
70940x00003605,0x000035fd,0x000035c5,0x00003603, 68980x000034d9,0x000034f4,0x00050050,0x00000007,
70950x000035fe,0x000300f7,0x0000360c,0x00000000, 68990x000034fb,0x000034f5,0x000034fa,0x0004007c,
70960x000400fa,0x00003605,0x00003606,0x0000360c, 69000x00000014,0x000034eb,0x000034fb,0x00060041,
70970x000200f8,0x00003606,0x000500bc,0x0000002f, 69010x00000174,0x000034e2,0x000034eb,0x00000173,
70980x0000360b,0x0000348a,0x0000349f,0x000200f9, 69020x00000173,0x0006003d,0x00000006,0x000034e3,
70990x0000360c,0x000200f8,0x0000360c,0x000700f5, 69030x000034e2,0x00000002,0x00000004,0x00050095,
71000x0000002f,0x0000360d,0x00003605,0x00003604, 69040x00000145,0x00003514,0x000034d1,0x000001e3,
71010x0000360b,0x00003606,0x000400a8,0x0000002f, 69050x00050051,0x00000006,0x00003515,0x00003514,
71020x0000360e,0x0000360d,0x000300f7,0x000035ca, 69060x00000001,0x00050051,0x00000006,0x00003516,
71030x00000000,0x000400fa,0x0000360e,0x000035c9, 69070x00003514,0x00000000,0x00050080,0x00000006,
71040x000035ca,0x000200f8,0x000035c9,0x000200f9, 69080x0000351b,0x000034d9,0x00003515,0x00050050,
71050x000035f6,0x000200f8,0x000035ca,0x00050081, 69090x00000007,0x0000351c,0x00003516,0x0000351b,
71060x0000006c,0x000035cd,0x00006124,0x00006122, 69100x0004007c,0x00000014,0x0000350c,0x0000351c,
71070x0005008e,0x0000006c,0x000035ce,0x000035cd, 69110x00060041,0x00000174,0x00003503,0x0000350c,
71080x000002fd,0x00050095,0x0000013d,0x0000361e, 69120x00000173,0x00000173,0x0006003d,0x00000006,
71090x000034df,0x00000138,0x00050051,0x00000006, 69130x00003504,0x00003503,0x00000002,0x00000004,
71100x0000361f,0x0000361e,0x00000001,0x00050051, 69140x0004007c,0x00000027,0x00002fda,0x00003504,
71110x00000006,0x00003620,0x0000361e,0x00000000, 69150x00050095,0x00000145,0x00003535,0x000034d1,
71120x00050080,0x00000006,0x00003625,0x000034e6, 69160x000002a1,0x00050051,0x00000006,0x00003536,
71130x0000361f,0x00050050,0x00000007,0x00003626, 69170x00003535,0x00000001,0x00050051,0x00000006,
71140x00003620,0x00003625,0x0004007c,0x00000014, 69180x00003537,0x00003535,0x00000000,0x00050080,
71150x00003616,0x00003626,0x00060041,0x0000016c, 69190x00000006,0x0000353c,0x000034d9,0x00003536,
71160x000035d3,0x00003616,0x0000016b,0x0000016b, 69200x00050050,0x00000007,0x0000353d,0x00003537,
71170x00050051,0x00000027,0x000035d5,0x000035ce, 69210x0000353c,0x0004007c,0x00000014,0x0000352d,
71180x00000000,0x0004007c,0x00000006,0x0000362c, 69220x0000353d,0x00060041,0x00000174,0x00003524,
71190x000035d5,0x000500c7,0x00000006,0x0000362e, 69230x0000352d,0x00000173,0x00000173,0x0006003d,
71200x0000362c,0x00000241,0x000500ab,0x0000002f, 69240x00000006,0x00003525,0x00003524,0x00000002,
71210x0000362f,0x0000362e,0x00000138,0x000300f7, 69250x00000004,0x0004007c,0x00000027,0x00002fdd,
71220x00003636,0x00000000,0x000400fa,0x0000362f, 69260x00003525,0x00050095,0x00000145,0x00003556,
71230x00003630,0x00003633,0x000200f8,0x00003633, 69270x000034d1,0x000001f7,0x00050051,0x00000006,
71240x000500c5,0x00000006,0x00003635,0x0000362c, 69280x00003557,0x00003556,0x00000001,0x00050051,
71250x00000241,0x000200f9,0x00003636,0x000200f8, 69290x00000006,0x00003558,0x00003556,0x00000000,
71260x00003630,0x000400c8,0x00000006,0x00003632, 69300x00050080,0x00000006,0x0000355d,0x000034d9,
71270x0000362c,0x000200f9,0x00003636,0x000200f8, 69310x00003557,0x00050050,0x00000007,0x0000355e,
71280x00003636,0x000700f5,0x00000006,0x00005f0e, 69320x00003558,0x0000355d,0x0004007c,0x00000014,
71290x00003632,0x00003630,0x00003635,0x00003633, 69330x0000354e,0x0000355e,0x00060041,0x00000174,
71300x000700ed,0x00000006,0x000035d7,0x000035d3, 69340x00003545,0x0000354e,0x00000173,0x00000173,
71310x00000142,0x00000138,0x00005f0e,0x00060041, 69350x0006003d,0x00000006,0x00003546,0x00003545,
71320x0000016c,0x000035d9,0x00003616,0x0000016b,
71330x00000264,0x00050051,0x00000027,0x000035db,
71340x000035ce,0x00000001,0x0004007c,0x00000006,
71350x0000363d,0x000035db,0x000500c7,0x00000006,
71360x0000363f,0x0000363d,0x00000241,0x000500ab,
71370x0000002f,0x00003640,0x0000363f,0x00000138,
71380x000300f7,0x00003647,0x00000000,0x000400fa,
71390x00003640,0x00003641,0x00003644,0x000200f8,
71400x00003644,0x000500c5,0x00000006,0x00003646,
71410x0000363d,0x00000241,0x000200f9,0x00003647,
71420x000200f8,0x00003641,0x000400c8,0x00000006,
71430x00003643,0x0000363d,0x000200f9,0x00003647,
71440x000200f8,0x00003647,0x000700f5,0x00000006,
71450x00005f0f,0x00003643,0x00003641,0x00003646,
71460x00003644,0x000700ed,0x00000006,0x000035dd,
71470x000035d9,0x00000142,0x00000138,0x00005f0f,
71480x00060041,0x0000016c,0x000035df,0x00003616,
71490x0000016b,0x00000315,0x00050051,0x00000027,
71500x000035e1,0x000035ce,0x00000002,0x0004007c,
71510x00000006,0x0000364e,0x000035e1,0x000500c7,
71520x00000006,0x00003650,0x0000364e,0x00000241,
71530x000500ab,0x0000002f,0x00003651,0x00003650,
71540x00000138,0x000300f7,0x00003658,0x00000000,
71550x000400fa,0x00003651,0x00003652,0x00003655,
71560x000200f8,0x00003655,0x000500c5,0x00000006,
71570x00003657,0x0000364e,0x00000241,0x000200f9,
71580x00003658,0x000200f8,0x00003652,0x000400c8,
71590x00000006,0x00003654,0x0000364e,0x000200f9,
71600x00003658,0x000200f8,0x00003658,0x000700f5,
71610x00000006,0x00005f10,0x00003654,0x00003652,
71620x00003657,0x00003655,0x000700ed,0x00000006,
71630x000035e3,0x000035df,0x00000142,0x00000138,
71640x00005f10,0x00060041,0x0000016c,0x000035e5,
71650x00003616,0x0000016b,0x0000031d,0x000300f7,
71660x00003669,0x00000000,0x000400fa,0x0000362f,
71670x00003663,0x00003666,0x000200f8,0x00003666,
71680x000500c5,0x00000006,0x00003668,0x0000362c,
71690x00000241,0x000200f9,0x00003669,0x000200f8,
71700x00003663,0x000400c8,0x00000006,0x00003665,
71710x0000362c,0x000200f9,0x00003669,0x000200f8,
71720x00003669,0x000700f5,0x00000006,0x00005f11,
71730x00003665,0x00003663,0x00003668,0x00003666,
71740x000700ef,0x00000006,0x000035e9,0x000035e5,
71750x00000142,0x00000138,0x00005f11,0x00060041,
71760x0000016c,0x000035eb,0x00003616,0x0000016b,
71770x00000325,0x000300f7,0x0000367a,0x00000000,
71780x000400fa,0x00003640,0x00003674,0x00003677,
71790x000200f8,0x00003677,0x000500c5,0x00000006,
71800x00003679,0x0000363d,0x00000241,0x000200f9,
71810x0000367a,0x000200f8,0x00003674,0x000400c8,
71820x00000006,0x00003676,0x0000363d,0x000200f9,
71830x0000367a,0x000200f8,0x0000367a,0x000700f5,
71840x00000006,0x00005f12,0x00003676,0x00003674,
71850x00003679,0x00003677,0x000700ef,0x00000006,
71860x000035ef,0x000035eb,0x00000142,0x00000138,
71870x00005f12,0x00060041,0x0000016c,0x000035f1,
71880x00003616,0x0000016b,0x0000032d,0x000300f7,
71890x0000368b,0x00000000,0x000400fa,0x00003651,
71900x00003685,0x00003688,0x000200f8,0x00003688,
71910x000500c5,0x00000006,0x0000368a,0x0000364e,
71920x00000241,0x000200f9,0x0000368b,0x000200f8,
71930x00003685,0x000400c8,0x00000006,0x00003687,
71940x0000364e,0x000200f9,0x0000368b,0x000200f8,
71950x0000368b,0x000700f5,0x00000006,0x00005f13,
71960x00003687,0x00003685,0x0000368a,0x00003688,
71970x000700ef,0x00000006,0x000035f5,0x000035f1,
71980x00000142,0x00000138,0x00005f13,0x000200f9,
71990x000035f6,0x000200f8,0x000035f6,0x000200f9,
72000x000013c7,0x000200f8,0x000013c7,0x000200f9,
72010x000013be,0x000200f8,0x000013bd,0x000200f9,
72020x00002608,0x000200f8,0x00002608,0x000700f5,
72030x00000006,0x00005f20,0x00000138,0x000013bd,
72040x00002618,0x00002616,0x000500b0,0x0000002f,
72050x0000260b,0x00005f20,0x00000470,0x000400f6,
72060x00002619,0x00002616,0x00000000,0x000400fa,
72070x0000260b,0x0000260c,0x00002619,0x000200f8,
72080x0000260c,0x00050084,0x00000006,0x0000260f,
72090x00000470,0x000012dd,0x00050080,0x00000006,
72100x00002611,0x0000260f,0x00005f20,0x000300f7,
72110x000026d4,0x00000000,0x000300fb,0x00000138,
72120x000026b2,0x000200f8,0x000026b2,0x00050041,
72130x000001bb,0x000026b3,0x000001b9,0x00000434,
72140x0004003d,0x00000006,0x000026b4,0x000026b3,
72150x000500aa,0x0000002f,0x000026b5,0x000026b4,
72160x00000138,0x000300f7,0x000026b8,0x00000000,
72170x000400fa,0x000026b5,0x000026b6,0x000026b8,
72180x000200f8,0x000026b6,0x000200f9,0x000026d4,
72190x000200f8,0x000026b8,0x000500aa,0x0000002f,
72200x000026bb,0x000026b4,0x00000280,0x000300f7,
72210x000026c2,0x00000000,0x000400fa,0x000026bb,
72220x000026bc,0x000026c2,0x000200f8,0x000026bc,
72230x00050084,0x00000006,0x000026be,0x000000ec,
72240x00002611,0x00050041,0x00000266,0x000026bf,
72250x000001b9,0x0000031d,0x0004003d,0x00000007,
72260x000026c0,0x000026bf,0x00050051,0x00000006,
72270x000026ec,0x000026c0,0x00000000,0x00050095,
72280x0000013d,0x000026ee,0x000026ec,0x000026be,
72290x00050051,0x00000006,0x000026ef,0x000026ee,
72300x00000001,0x00050051,0x00000006,0x000026f0,
72310x000026ee,0x00000000,0x00050051,0x00000006,
72320x000026f3,0x000026c0,0x00000001,0x00050080,
72330x00000006,0x000026f5,0x000026f3,0x000026ef,
72340x00050050,0x00000007,0x000026f6,0x000026f0,
72350x000026f5,0x0004007c,0x00000014,0x000026e6,
72360x000026f6,0x00060041,0x0000016c,0x000026dd,
72370x000026e6,0x0000016b,0x0000016b,0x0006003d,
72380x00000006,0x000026de,0x000026dd,0x00000002,
72390x00000004,0x000200f9,0x000026d4,0x000200f8,
72400x000026c2,0x000500c2,0x00000006,0x000026c4,
72410x00002611,0x00000264,0x00050084,0x00000006,
72420x000026c5,0x000000ec,0x000026c4,0x00050041,
72430x00000266,0x000026c6,0x000001b9,0x0000031d,
72440x0004003d,0x00000007,0x000026c7,0x000026c6,
72450x00050051,0x00000006,0x0000270d,0x000026c7,
72460x00000000,0x00050095,0x0000013d,0x0000270f,
72470x0000270d,0x000026c5,0x00050051,0x00000006,
72480x00002710,0x0000270f,0x00000001,0x00050051,
72490x00000006,0x00002711,0x0000270f,0x00000000,
72500x00050051,0x00000006,0x00002714,0x000026c7,
72510x00000001,0x00050080,0x00000006,0x00002716,
72520x00002714,0x00002710,0x00050050,0x00000007,
72530x00002717,0x00002711,0x00002716,0x0004007c,
72540x00000014,0x00002707,0x00002717,0x00060041,
72550x0000016c,0x000026fe,0x00002707,0x0000016b,
72560x0000016b,0x0006003d,0x00000006,0x000026ff,
72570x000026fe,0x00000002,0x00000004,0x000500c7,
72580x00000006,0x000026ca,0x00002611,0x00000142,
72590x000500ab,0x0000002f,0x000026cb,0x000026ca,
72600x00000138,0x000300f7,0x000026d2,0x00000000,
72610x000400fa,0x000026cb,0x000026cc,0x000026cf,
72620x000200f8,0x000026cf,0x000500c7,0x00000006,
72630x000026d1,0x000026ff,0x0000045c,0x000200f9,
72640x000026d2,0x000200f8,0x000026cc,0x000500c2,
72650x00000006,0x000026ce,0x000026ff,0x0000035a,
72660x000200f9,0x000026d2,0x000200f8,0x000026d2,
72670x000700f5,0x00000006,0x00005f2a,0x000026ce,
72680x000026cc,0x000026d1,0x000026cf,0x000200f9,
72690x000026d4,0x000200f8,0x000026d4,0x000900f5,
72700x00000006,0x00005f2b,0x00002611,0x000026b6,
72710x000026de,0x000026bc,0x00005f2a,0x000026d2,
72720x00050041,0x000001bb,0x00002728,0x000001b9,
72730x00000206,0x0004003d,0x00000006,0x00002729,
72740x00002728,0x00050084,0x00000006,0x0000272a,
72750x00005f2b,0x00002729,0x00050041,0x00000266,
72760x0000272b,0x000001b9,0x00000315,0x0004003d,
72770x00000007,0x0000272c,0x0000272b,0x00050051,
72780x00000006,0x00002747,0x0000272c,0x00000000,
72790x00050095,0x0000013d,0x00002749,0x00002747,
72800x0000272a,0x00050051,0x00000006,0x0000274a,
72810x00002749,0x00000001,0x00050051,0x00000006,
72820x0000274b,0x00002749,0x00000000,0x00050051,
72830x00000006,0x0000274e,0x0000272c,0x00000001,
72840x00050080,0x00000006,0x00002750,0x0000274e,
72850x0000274a,0x00050095,0x0000013d,0x0000276a,
72860x0000274b,0x00000138,0x00050051,0x00000006,
72870x0000276b,0x0000276a,0x00000001,0x00050051,
72880x00000006,0x0000276c,0x0000276a,0x00000000,
72890x00050080,0x00000006,0x00002771,0x00002750,
72900x0000276b,0x00050050,0x00000007,0x00002772,
72910x0000276c,0x00002771,0x0004007c,0x00000014,
72920x00002762,0x00002772,0x00060041,0x0000016c,
72930x00002759,0x00002762,0x0000016b,0x0000016b,
72940x0006003d,0x00000006,0x0000275a,0x00002759,
72950x00000002,0x00000004,0x0004007c,0x00000027, 69360x00000002,0x00000004,0x0004007c,0x00000027,
72960x00002730,0x0000275a,0x00050095,0x0000013d, 69370x00002fe0,0x00003546,0x00050095,0x00000145,
72970x0000278b,0x0000274b,0x000000ec,0x00050051, 69380x00003577,0x000034d1,0x0000073f,0x00050051,
72980x00000006,0x0000278c,0x0000278b,0x00000001, 69390x00000006,0x00003578,0x00003577,0x00000001,
72990x00050051,0x00000006,0x0000278d,0x0000278b, 69400x00050051,0x00000006,0x00003579,0x00003577,
73000x00000000,0x00050080,0x00000006,0x00002792, 69410x00000000,0x00050080,0x00000006,0x0000357e,
73010x00002750,0x0000278c,0x00050050,0x00000007, 69420x000034d9,0x00003578,0x00050050,0x00000007,
73020x00002793,0x0000278d,0x00002792,0x0004007c, 69430x0000357f,0x00003579,0x0000357e,0x0004007c,
73030x00000014,0x00002783,0x00002793,0x00060041, 69440x00000014,0x0000356f,0x0000357f,0x00060041,
73040x0000016c,0x0000277a,0x00002783,0x0000016b, 69450x00000174,0x00003566,0x0000356f,0x00000173,
73050x0000016b,0x0006003d,0x00000006,0x0000277b, 69460x00000173,0x0006003d,0x00000006,0x00003567,
73060x0000277a,0x00000002,0x00000004,0x0004007c, 69470x00003566,0x00000002,0x00000004,0x0004007c,
73070x00000027,0x00002733,0x0000277b,0x00050041, 69480x00000027,0x00002fe4,0x00003567,0x00050095,
73080x000001bb,0x00002734,0x000001b9,0x000003b6, 69490x00000145,0x00003598,0x000034d1,0x0000020d,
73090x0004003d,0x00000006,0x00002735,0x00002734, 69500x00050051,0x00000006,0x00003599,0x00003598,
73100x000500aa,0x0000002f,0x00002736,0x00002735, 69510x00000001,0x00050051,0x00000006,0x0000359a,
73110x00000142,0x000300f7,0x0000273c,0x00000000, 69520x00003598,0x00000000,0x00050080,0x00000006,
73120x000400fa,0x00002736,0x00002737,0x00002738, 69530x0000359f,0x000034d9,0x00003599,0x00050050,
73130x000200f8,0x00002738,0x00050095,0x0000013d, 69540x00000007,0x000035a0,0x0000359a,0x0000359f,
73140x000027ac,0x0000274b,0x000001cd,0x00050051, 69550x0004007c,0x00000014,0x00003590,0x000035a0,
73150x00000006,0x000027ad,0x000027ac,0x00000001, 69560x00060041,0x00000174,0x00003587,0x00003590,
73160x00050051,0x00000006,0x000027ae,0x000027ac, 69570x00000173,0x00000173,0x0006003d,0x00000006,
73170x00000000,0x00050080,0x00000006,0x000027b3, 69580x00003588,0x00003587,0x00000002,0x00000004,
73180x00002750,0x000027ad,0x00050050,0x00000007, 69590x0004007c,0x00000027,0x00002fe7,0x00003588,
73190x000027b4,0x000027ae,0x000027b3,0x0004007c, 69600x00050095,0x00000145,0x000035b9,0x000034d1,
73200x00000014,0x000027a4,0x000027b4,0x00060041, 69610x00000567,0x00050051,0x00000006,0x000035ba,
73210x0000016c,0x0000279b,0x000027a4,0x0000016b, 69620x000035b9,0x00000001,0x00050051,0x00000006,
73220x0000016b,0x0006003d,0x00000006,0x0000279c, 69630x000035bb,0x000035b9,0x00000000,0x00050080,
73230x0000279b,0x00000002,0x00000004,0x0004007c, 69640x00000006,0x000035c0,0x000034d9,0x000035ba,
73240x00000027,0x0000273b,0x0000279c,0x000200f9, 69650x00050050,0x00000007,0x000035c1,0x000035bb,
73250x0000273c,0x000200f8,0x00002737,0x000200f9, 69660x000035c0,0x0004007c,0x00000014,0x000035b1,
73260x0000273c,0x000200f8,0x0000273c,0x000700f5, 69670x000035c1,0x00060041,0x00000174,0x000035a8,
73270x00000027,0x00005f2c,0x00000426,0x00002737, 69680x000035b1,0x00000173,0x00000173,0x0006003d,
73280x0000273b,0x00002738,0x00060050,0x0000006c, 69690x00000006,0x000035a9,0x000035a8,0x00000002,
73290x00002741,0x00002730,0x00002733,0x00005f2c, 69700x00000004,0x0004007c,0x00000027,0x00002fea,
73300x000300f7,0x000027fa,0x00000000,0x000300fb, 69710x000035a9,0x000500bc,0x0000002f,0x000035c8,
73310x00000138,0x000027c6,0x000200f8,0x000027c6, 69720x00002fda,0x00002fe4,0x000300f7,0x000035cf,
73320x00050041,0x00000266,0x000027c7,0x000001b9, 69730x00000000,0x000400fa,0x000035c8,0x000035c9,
73330x00000325,0x0004003d,0x00000007,0x000027c8, 69740x000035cf,0x000200f8,0x000035c9,0x000500bc,
73340x000027c7,0x00050051,0x00000006,0x000027ff, 69750x0000002f,0x000035ce,0x00002fdd,0x00002fe7,
73350x000027c8,0x00000000,0x000500aa,0x0000002f, 69760x000200f9,0x000035cf,0x000200f8,0x000035cf,
73360x00002800,0x000027ff,0x00000138,0x000300f7, 69770x000700f5,0x0000002f,0x000035d0,0x000035c8,
73370x00002805,0x00000000,0x000400fa,0x00002800, 69780x00002fd1,0x000035ce,0x000035c9,0x000300f7,
73380x00002801,0x00002805,0x000200f8,0x00002801, 69790x000035d7,0x00000000,0x000400fa,0x000035d0,
73390x00050051,0x00000006,0x00002803,0x000027c8, 69800x000035d1,0x000035d7,0x000200f8,0x000035d1,
73400x00000001,0x000500aa,0x0000002f,0x00002804, 69810x000500bc,0x0000002f,0x000035d6,0x00002fe0,
73410x00002803,0x00000138,0x000200f9,0x00002805, 69820x00002fea,0x000200f9,0x000035d7,0x000200f8,
73420x000200f8,0x00002805,0x000700f5,0x0000002f, 69830x000035d7,0x000700f5,0x0000002f,0x000035d8,
73430x00002806,0x00002800,0x000027c6,0x00002804, 69840x000035d0,0x000035cf,0x000035d6,0x000035d1,
73440x00002801,0x000300f7,0x000027cc,0x00000000, 69850x000300f7,0x00002ff4,0x00000000,0x000400fa,
73450x000400fa,0x00002806,0x000027ca,0x000027cc, 69860x000035d8,0x00002ff0,0x00002ff4,0x000200f8,
73460x000200f8,0x000027ca,0x000200f9,0x000027fa, 69870x00002ff0,0x000500c2,0x00000006,0x00002ff2,
73470x000200f8,0x000027cc,0x000200f9,0x000027cd, 69880x0000315f,0x00000759,0x000500ab,0x0000002f,
73480x000200f8,0x000027cd,0x000700f5,0x00000006, 69890x00002ff3,0x00002ff2,0x00000140,0x000200f9,
73490x00005f2d,0x00000138,0x000027cc,0x000027f7, 69900x00002ff4,0x000200f8,0x00002ff4,0x000700f5,
73500x000027d1,0x000500b0,0x0000002f,0x000027d0, 69910x0000002f,0x00002ff5,0x000035d8,0x000035d7,
73510x00005f2d,0x00000470,0x000400f6,0x000027f8, 69920x00002ff3,0x00002ff0,0x000300f7,0x00003065,
73520x000027d1,0x00000000,0x000400fa,0x000027d0, 69930x00000000,0x000400fa,0x00002ff5,0x00002ff6,
73530x000027d1,0x000027f8,0x000200f8,0x000027d1, 69940x00003065,0x000200f8,0x00002ff6,0x000200f9,
73540x00050084,0x00000006,0x000027d3,0x000001db, 69950x00002ff7,0x000200f8,0x00002ff7,0x000700f5,
73550x00005f2d,0x00050095,0x0000013d,0x0000281f, 69960x0000006c,0x00006333,0x00006532,0x00002ff6,
73560x000027ff,0x000027d3,0x00050051,0x00000006, 69970x00003060,0x00002ffb,0x000700f5,0x0000006c,
73570x00002820,0x0000281f,0x00000001,0x00050051, 69980x0000630c,0x000005dc,0x00002ff6,0x0000305d,
73580x00000006,0x00002821,0x0000281f,0x00000000, 69990x00002ffb,0x000700f5,0x00000006,0x000062b1,
73590x00050051,0x00000006,0x00002824,0x000027c8, 70000x00000140,0x00002ff6,0x00003063,0x00002ffb,
73600x00000001,0x00050080,0x00000006,0x00002826, 70010x000500b0,0x0000002f,0x00002ffa,0x000062b1,
73610x00002824,0x00002820,0x00050050,0x00000007, 70020x000001d5,0x000400f6,0x00003064,0x00002ffb,
73620x00002827,0x00002821,0x00002826,0x0004007c, 70030x00000000,0x000400fa,0x00002ffa,0x00002ffb,
73630x00000014,0x00002817,0x00002827,0x00060041, 70040x00003064,0x000200f8,0x00002ffb,0x000500c7,
73640x0000016c,0x0000280e,0x00002817,0x0000016b, 70050x00000006,0x00002ffd,0x000062b1,0x0000014a,
73650x0000016b,0x0006003d,0x00000006,0x0000280f, 70060x000500ab,0x0000002f,0x00002ffe,0x00002ffd,
73660x0000280e,0x00000002,0x00000004,0x0004007c, 70070x00000140,0x000600a9,0x00000027,0x00006551,
73670x00000027,0x000027d8,0x0000280f,0x00050080, 70080x00002ffe,0x00002fe4,0x00002fda,0x000500c7,
73680x00000006,0x000027da,0x000027d3,0x000000ec, 70090x00000006,0x00003008,0x000062b1,0x00000288,
73690x00050095,0x0000013d,0x00002840,0x000027ff, 70100x000500ab,0x0000002f,0x00003009,0x00003008,
73700x000027da,0x00050051,0x00000006,0x00002841, 70110x00000140,0x000600a9,0x00000027,0x00006552,
73710x00002840,0x00000001,0x00050051,0x00000006, 70120x00003009,0x00002fe7,0x00002fdd,0x000500c7,
73720x00002842,0x00002840,0x00000000,0x00050080, 70130x00000006,0x00003013,0x000062b1,0x000000f3,
73730x00000006,0x00002847,0x00002824,0x00002841, 70140x000500ab,0x0000002f,0x00003014,0x00003013,
73740x00050050,0x00000007,0x00002848,0x00002842, 70150x00000140,0x000600a9,0x00000027,0x00006553,
73750x00002847,0x0004007c,0x00000014,0x00002838, 70160x00003014,0x00002fea,0x00002fe0,0x00050041,
73760x00002848,0x00060041,0x0000016c,0x0000282f, 70170x00000028,0x0000301e,0x00002f0e,0x00000173,
73770x00002838,0x0000016b,0x0000016b,0x0006003d, 70180x0004003d,0x00000027,0x0000301f,0x0000301e,
73780x00000006,0x00002830,0x0000282f,0x00000002, 70190x00050085,0x00000027,0x00003022,0x0000301f,
73790x00000004,0x0004007c,0x00000027,0x000027de, 70200x00006551,0x00050041,0x00000028,0x00003023,
73800x00002830,0x00050080,0x00000006,0x000027e0, 70210x00002f0e,0x0000026c,0x0004003d,0x00000027,
73810x000027d3,0x000001cd,0x00050095,0x0000013d, 70220x00003024,0x00003023,0x00050085,0x00000027,
73820x00002861,0x000027ff,0x000027e0,0x00050051, 70230x00003027,0x00003024,0x00006552,0x00050081,
73830x00000006,0x00002862,0x00002861,0x00000001, 70240x00000027,0x00003028,0x00003022,0x00003027,
73840x00050051,0x00000006,0x00002863,0x00002861, 70250x00050041,0x00000028,0x00003029,0x00002f0e,
73850x00000000,0x00050080,0x00000006,0x00002868, 70260x0000031d,0x0004003d,0x00000027,0x0000302a,
73860x00002824,0x00002862,0x00050050,0x00000007, 70270x00003029,0x00050085,0x00000027,0x0000302d,
73870x00002869,0x00002863,0x00002868,0x0004007c, 70280x0000302a,0x00006553,0x00050081,0x00000027,
73880x00000014,0x00002859,0x00002869,0x00060041, 70290x0000302e,0x00003028,0x0000302d,0x00050041,
73890x0000016c,0x00002850,0x00002859,0x0000016b, 70300x00000028,0x0000302f,0x00002f0e,0x00000325,
73900x0000016b,0x0006003d,0x00000006,0x00002851, 70310x0004003d,0x00000027,0x00003030,0x0000302f,
73910x00002850,0x00000002,0x00000004,0x0004007c, 70320x00050081,0x00000027,0x00003031,0x0000302e,
73920x00000027,0x000027e4,0x00002851,0x00050080, 70330x00003030,0x00050041,0x00000028,0x00003032,
73930x00000006,0x000027e6,0x000027d3,0x000001d4, 70340x00002f0e,0x0000032d,0x0004003d,0x00000027,
73940x00050095,0x0000013d,0x00002882,0x000027ff, 70350x00003033,0x00003032,0x00050085,0x00000027,
73950x000027e6,0x00050051,0x00000006,0x00002883, 70360x00003036,0x00003033,0x00006551,0x00050041,
73960x00002882,0x00000001,0x00050051,0x00000006, 70370x00000028,0x00003037,0x00002f0e,0x00000335,
73970x00002884,0x00002882,0x00000000,0x00050080, 70380x0004003d,0x00000027,0x00003038,0x00003037,
73980x00000006,0x00002889,0x00002824,0x00002883, 70390x00050085,0x00000027,0x0000303b,0x00003038,
73990x00050050,0x00000007,0x0000288a,0x00002884, 70400x00006552,0x00050081,0x00000027,0x0000303c,
74000x00002889,0x0004007c,0x00000014,0x0000287a, 70410x00003036,0x0000303b,0x00050041,0x00000028,
74010x0000288a,0x00060041,0x0000016c,0x00002871, 70420x0000303d,0x00002f0e,0x00000359,0x0004003d,
74020x0000287a,0x0000016b,0x0000016b,0x0006003d, 70430x00000027,0x0000303e,0x0000303d,0x00050085,
74030x00000006,0x00002872,0x00002871,0x00000002, 70440x00000027,0x00003041,0x0000303e,0x00006553,
74040x00000004,0x0004007c,0x00000027,0x000027ea, 70450x00050081,0x00000027,0x00003042,0x0000303c,
74050x00002872,0x00070050,0x00000475,0x000027eb, 70460x00003041,0x00050041,0x00000028,0x00003043,
74060x000027d8,0x000027de,0x000027e4,0x000027ea, 70470x00002f0e,0x000007b3,0x0004003d,0x00000027,
74070x0008004f,0x0000006c,0x000027ee,0x000027eb, 70480x00003044,0x00003043,0x00050081,0x00000027,
74080x000027eb,0x00000000,0x00000001,0x00000002, 70490x00003045,0x00003042,0x00003044,0x00050041,
74090x00050094,0x00000027,0x000027f0,0x000027ee, 70500x00000028,0x00003046,0x00002f0e,0x00000528,
74100x00002741,0x00050081,0x00000027,0x000027f3, 70510x0004003d,0x00000027,0x00003047,0x00003046,
74110x000027f0,0x000027ea,0x00050041,0x00000028, 70520x00050085,0x00000027,0x0000304a,0x00003047,
74120x000027f4,0x000027c3,0x00005f2d,0x0003003e, 70530x00006551,0x00050041,0x00000028,0x0000304b,
74130x000027f4,0x000027f3,0x00050080,0x00000006, 70540x00002f0e,0x0000020e,0x0004003d,0x00000027,
74140x000027f7,0x00005f2d,0x00000264,0x000200f9, 70550x0000304c,0x0000304b,0x00050085,0x00000027,
74150x000027cd,0x000200f8,0x000027f8,0x0004003d, 70560x0000304f,0x0000304c,0x00006552,0x00050081,
74160x0000006c,0x000027f9,0x000027c3,0x000200f9, 70570x00000027,0x00003050,0x0000304a,0x0000304f,
74170x000027fa,0x000200f8,0x000027fa,0x000700f5, 70580x00050041,0x00000028,0x00003051,0x00002f0e,
74180x0000006c,0x00005f2e,0x00002741,0x000027ca, 70590x00000414,0x0004003d,0x00000027,0x00003052,
74190x000027f9,0x000027f8,0x00050041,0x0000006d, 70600x00003051,0x00050085,0x00000027,0x00003055,
74200x00002615,0x000025da,0x00005f20,0x0003003e, 70610x00003052,0x00006553,0x00050081,0x00000027,
74210x00002615,0x00005f2e,0x000200f9,0x00002616, 70620x00003056,0x00003050,0x00003055,0x00050041,
74220x000200f8,0x00002616,0x00050080,0x00000006, 70630x00000028,0x00003057,0x00002f0e,0x0000049b,
74230x00002618,0x00005f20,0x00000264,0x000200f9, 70640x0004003d,0x00000027,0x00003058,0x00003057,
74240x00002608,0x000200f8,0x00002619,0x00050041, 70650x00050081,0x00000027,0x00003059,0x00003056,
74250x000001bb,0x0000261a,0x000001b9,0x000004c1, 70660x00003058,0x00060050,0x0000006c,0x0000305a,
74260x0004003d,0x00000006,0x0000261b,0x0000261a, 70670x00003031,0x00003045,0x00003059,0x0007000c,
74270x00050080,0x00000006,0x0000261d,0x0000261b, 70680x0000006c,0x0000305d,0x00000001,0x00000025,
74280x000012dd,0x00050041,0x000001bb,0x0000261e, 70690x0000630c,0x0000305a,0x0007000c,0x0000006c,
74290x000001b9,0x0000034a,0x0004003d,0x00000006, 70700x00003060,0x00000001,0x00000028,0x00006333,
74300x0000261f,0x0000261e,0x00050084,0x00000006, 70710x0000305a,0x00050080,0x00000006,0x00003063,
74310x00002621,0x000001c4,0x0000261d,0x00050080, 70720x000062b1,0x0000026c,0x000200f9,0x00002ff7,
74320x00000006,0x00002622,0x0000261f,0x00002621, 70730x000200f8,0x00003064,0x000200f9,0x00003065,
74330x000200f9,0x00002623,0x000200f8,0x00002623, 70740x000200f8,0x00003065,0x000700f5,0x0000006c,
74340x000700f5,0x00000006,0x00005f21,0x00000138, 70750x0000632f,0x00006532,0x00002ff4,0x00006333,
74350x00002619,0x0000264a,0x00002627,0x000500b0, 70760x00003064,0x000700f5,0x0000006c,0x00006308,
74360x0000002f,0x00002626,0x00005f21,0x00000470, 70770x000005dc,0x00002ff4,0x0000630c,0x00003064,
74370x000400f6,0x0000264b,0x00002627,0x00000000, 70780x000200f9,0x00003066,0x000200f8,0x00003066,
74380x000400fa,0x00002626,0x00002627,0x0000264b, 70790x000700f5,0x0000006c,0x00006319,0x00006532,
74390x000200f8,0x00002627,0x00050084,0x00000006, 70800x00002fce,0x0000632f,0x00003065,0x000700f5,
74400x0000262a,0x000001d4,0x00005f21,0x00050080, 70810x0000006c,0x000062f2,0x000005dc,0x00002fce,
74410x00000006,0x0000262b,0x00002622,0x0000262a, 70820x00006308,0x00003065,0x000700f5,0x00000006,
74420x00050041,0x00000266,0x0000262d,0x000001b9, 70830x000062ba,0x000003bf,0x00002fce,0x000034e3,
74430x0000016b,0x0004003d,0x00000007,0x0000262e, 70840x00003065,0x00050041,0x00000028,0x00003067,
74440x0000262d,0x00060041,0x00000028,0x0000262f, 70850x00002f0e,0x00000173,0x0004003d,0x00000027,
74450x000025da,0x00005f21,0x00000138,0x0004003d, 70860x00003068,0x00003067,0x000500b4,0x0000002f,
74460x00000027,0x00002630,0x0000262f,0x0004007c, 70870x00003069,0x00003068,0x000007d7,0x000300f7,
74470x00000006,0x00002890,0x00002630,0x00050051, 70880x0000306e,0x00000000,0x000400fa,0x00003069,
74480x00000006,0x000028a9,0x0000262e,0x00000000, 70890x0000306a,0x0000306e,0x000200f8,0x0000306a,
74490x00050095,0x0000013d,0x000028ab,0x000028a9, 70900x00050041,0x00000028,0x0000306b,0x00002f0e,
74500x0000262b,0x00050051,0x00000006,0x000028ac, 70910x0000026c,0x0004003d,0x00000027,0x0000306c,
74510x000028ab,0x00000001,0x00050051,0x00000006, 70920x0000306b,0x000500b4,0x0000002f,0x0000306d,
74520x000028ad,0x000028ab,0x00000000,0x00050051, 70930x0000306c,0x0000048d,0x000200f9,0x0000306e,
74530x00000006,0x000028b0,0x0000262e,0x00000001, 70940x000200f8,0x0000306e,0x000700f5,0x0000002f,
74540x00050080,0x00000006,0x000028b2,0x000028b0, 70950x0000306f,0x00003069,0x00003066,0x0000306d,
74550x000028ac,0x00050050,0x00000007,0x000028b3, 70960x0000306a,0x000300f7,0x00003074,0x00000000,
74560x000028ad,0x000028b2,0x0004007c,0x00000014, 70970x000400fa,0x0000306f,0x00003070,0x00003074,
74570x000028a3,0x000028b3,0x00060041,0x0000016c, 70980x000200f8,0x00003070,0x00050041,0x00000028,
74580x0000289b,0x000028a3,0x0000016b,0x0000016b, 70990x00003071,0x00002f0e,0x0000031d,0x0004003d,
74590x0005003e,0x0000289b,0x00002890,0x00000002, 71000x00000027,0x00003072,0x00003071,0x000500b4,
74600x00000004,0x00050080,0x00000006,0x00002636, 71010x0000002f,0x00003073,0x00003072,0x0000048d,
74610x0000262b,0x000000ec,0x00060041,0x00000028, 71020x000200f9,0x00003074,0x000200f8,0x00003074,
74620x0000263a,0x000025da,0x00005f21,0x00000142, 71030x000700f5,0x0000002f,0x00003075,0x0000306f,
74630x0004003d,0x00000027,0x0000263b,0x0000263a, 71040x0000306e,0x00003073,0x00003070,0x000300f7,
74640x0004007c,0x00000006,0x000028b9,0x0000263b, 71050x0000307a,0x00000000,0x000400fa,0x00003075,
74650x00050095,0x0000013d,0x000028d4,0x000028a9, 71060x00003076,0x0000307a,0x000200f8,0x00003076,
74660x00002636,0x00050051,0x00000006,0x000028d5, 71070x00050041,0x00000028,0x00003077,0x00002f0e,
74670x000028d4,0x00000001,0x00050051,0x00000006, 71080x0000032d,0x0004003d,0x00000027,0x00003078,
74680x000028d6,0x000028d4,0x00000000,0x00050080, 71090x00003077,0x000500b4,0x0000002f,0x00003079,
74690x00000006,0x000028db,0x000028b0,0x000028d5, 71100x00003078,0x0000048d,0x000200f9,0x0000307a,
74700x00050050,0x00000007,0x000028dc,0x000028d6, 71110x000200f8,0x0000307a,0x000700f5,0x0000002f,
74710x000028db,0x0004007c,0x00000014,0x000028cc, 71120x0000307b,0x00003075,0x00003074,0x00003079,
74720x000028dc,0x00060041,0x0000016c,0x000028c4, 71130x00003076,0x000300f7,0x00003080,0x00000000,
74730x000028cc,0x0000016b,0x0000016b,0x0005003e, 71140x000400fa,0x0000307b,0x0000307c,0x00003080,
74740x000028c4,0x000028b9,0x00000002,0x00000004, 71150x000200f8,0x0000307c,0x00050041,0x00000028,
74750x00050080,0x00000006,0x00002641,0x0000262b, 71160x0000307d,0x00002f0e,0x00000335,0x0004003d,
74760x000001cd,0x00060041,0x00000028,0x00002645, 71170x00000027,0x0000307e,0x0000307d,0x000500b4,
74770x000025da,0x00005f21,0x00000280,0x0004003d, 71180x0000002f,0x0000307f,0x0000307e,0x000007d7,
74780x00000027,0x00002646,0x00002645,0x0004007c, 71190x000200f9,0x00003080,0x000200f8,0x00003080,
74790x00000006,0x000028e2,0x00002646,0x00050095, 71200x000700f5,0x0000002f,0x00003081,0x0000307b,
74800x0000013d,0x000028fd,0x000028a9,0x00002641, 71210x0000307a,0x0000307f,0x0000307c,0x000300f7,
74810x00050051,0x00000006,0x000028fe,0x000028fd, 71220x00003086,0x00000000,0x000400fa,0x00003081,
74820x00000001,0x00050051,0x00000006,0x000028ff, 71230x00003082,0x00003086,0x000200f8,0x00003082,
74830x000028fd,0x00000000,0x00050080,0x00000006, 71240x00050041,0x00000028,0x00003083,0x00002f0e,
74840x00002904,0x000028b0,0x000028fe,0x00050050, 71250x00000359,0x0004003d,0x00000027,0x00003084,
74850x00000007,0x00002905,0x000028ff,0x00002904, 71260x00003083,0x000500b4,0x0000002f,0x00003085,
74860x0004007c,0x00000014,0x000028f5,0x00002905, 71270x00003084,0x0000048d,0x000200f9,0x00003086,
74870x00060041,0x0000016c,0x000028ed,0x000028f5, 71280x000200f8,0x00003086,0x000700f5,0x0000002f,
74880x0000016b,0x0000016b,0x0005003e,0x000028ed, 71290x00003087,0x00003081,0x00003080,0x00003085,
74890x000028e2,0x00000002,0x00000004,0x00050080, 71300x00003082,0x000300f7,0x0000308c,0x00000000,
74900x00000006,0x0000264a,0x00005f21,0x00000264, 71310x000400fa,0x00003087,0x00003088,0x0000308c,
74910x000200f9,0x00002623,0x000200f8,0x0000264b, 71320x000200f8,0x00003088,0x00050041,0x00000028,
74920x00050080,0x00000006,0x0000264d,0x00002622, 71330x00003089,0x00002f0e,0x00000528,0x0004003d,
74930x00000500,0x00050041,0x00000266,0x0000264e, 71340x00000027,0x0000308a,0x00003089,0x000500b4,
74940x000001b9,0x0000016b,0x0004003d,0x00000007, 71350x0000002f,0x0000308b,0x0000308a,0x0000048d,
74950x0000264f,0x0000264e,0x00060041,0x00000028, 71360x000200f9,0x0000308c,0x000200f8,0x0000308c,
74960x00002650,0x000025da,0x00000315,0x00000138, 71370x000700f5,0x0000002f,0x0000308d,0x00003087,
74970x0004003d,0x00000027,0x00002651,0x00002650, 71380x00003086,0x0000308b,0x00003088,0x000300f7,
74980x0004007c,0x00000006,0x0000290b,0x00002651, 71390x00003092,0x00000000,0x000400fa,0x0000308d,
74990x00050051,0x00000006,0x00002924,0x0000264f, 71400x0000308e,0x00003092,0x000200f8,0x0000308e,
75000x00000000,0x00050095,0x0000013d,0x00002926, 71410x00050041,0x00000028,0x0000308f,0x00002f0e,
75010x00002924,0x0000264d,0x00050051,0x00000006, 71420x0000020e,0x0004003d,0x00000027,0x00003090,
75020x00002927,0x00002926,0x00000001,0x00050051, 71430x0000308f,0x000500b4,0x0000002f,0x00003091,
75030x00000006,0x00002928,0x00002926,0x00000000, 71440x00003090,0x0000048d,0x000200f9,0x00003092,
75040x00050051,0x00000006,0x0000292b,0x0000264f, 71450x000200f8,0x00003092,0x000700f5,0x0000002f,
75050x00000001,0x00050080,0x00000006,0x0000292d, 71460x00003093,0x0000308d,0x0000308c,0x00003091,
75060x0000292b,0x00002927,0x00050050,0x00000007, 71470x0000308e,0x000300f7,0x00003098,0x00000000,
75070x0000292e,0x00002928,0x0000292d,0x0004007c, 71480x000400fa,0x00003093,0x00003094,0x00003098,
75080x00000014,0x0000291e,0x0000292e,0x00060041, 71490x000200f8,0x00003094,0x00050041,0x00000028,
75090x0000016c,0x00002916,0x0000291e,0x0000016b, 71500x00003095,0x00002f0e,0x00000414,0x0004003d,
75100x0000016b,0x0005003e,0x00002916,0x0000290b, 71510x00000027,0x00003096,0x00003095,0x000500b4,
71520x0000002f,0x00003097,0x00003096,0x000007d7,
71530x000200f9,0x00003098,0x000200f8,0x00003098,
71540x000700f5,0x0000002f,0x00003099,0x00003093,
71550x00003092,0x00003097,0x00003094,0x00050080,
71560x00000006,0x0000309b,0x00002fa4,0x0000059e,
71570x000500c7,0x00000006,0x0000309d,0x000062ba,
71580x0000080c,0x000600a9,0x00000006,0x0000309f,
71590x00003099,0x00000249,0x00000140,0x000500c5,
71600x00000006,0x000030a0,0x0000309d,0x0000309f,
71610x00050095,0x00000145,0x000035f1,0x00003219,
71620x0000309b,0x00050051,0x00000006,0x000035f2,
71630x000035f1,0x00000001,0x00050051,0x00000006,
71640x000035f3,0x000035f1,0x00000000,0x00050080,
71650x00000006,0x000035f8,0x00003220,0x000035f2,
71660x00050050,0x00000007,0x000035f9,0x000035f3,
71670x000035f8,0x0004007c,0x00000014,0x000035e9,
71680x000035f9,0x00060041,0x00000174,0x000035e1,
71690x000035e9,0x00000173,0x00000173,0x0005003e,
71700x000035e1,0x000030a0,0x00000002,0x00000004,
71710x000400a8,0x0000002f,0x000030a5,0x00002fcf,
71720x00050050,0x00006554,0x00006555,0x000030a5,
71730x000030a5,0x000600a9,0x00000007,0x00006556,
71740x00006555,0x0000081b,0x000062af,0x00050080,
71750x00000006,0x000030a9,0x00002fa4,0x000005a7,
71760x00050051,0x00000006,0x000030ab,0x00006556,
71770x00000000,0x000500c2,0x00000006,0x000030ac,
71780x000030ab,0x00000528,0x00050051,0x00000006,
71790x000030ae,0x00006556,0x00000001,0x000500c4,
71800x00000006,0x000030af,0x000030ae,0x00000759,
71810x000500c5,0x00000006,0x000030b0,0x000030ac,
71820x000030af,0x00050095,0x00000145,0x00003611,
71830x00003219,0x000030a9,0x00050051,0x00000006,
71840x00003612,0x00003611,0x00000001,0x00050051,
71850x00000006,0x00003613,0x00003611,0x00000000,
71860x00050080,0x00000006,0x00003618,0x00003220,
71870x00003612,0x00050050,0x00000007,0x00003619,
71880x00003613,0x00003618,0x0004007c,0x00000014,
71890x00003609,0x00003619,0x00060041,0x00000174,
71900x00003601,0x00003609,0x00000173,0x00000173,
71910x0005003e,0x00003601,0x000030b0,0x00000002,
71920x00000004,0x0004003d,0x00000027,0x000030b5,
71930x00003067,0x00050041,0x00000028,0x000030b6,
71940x00002f0e,0x0000032d,0x0004003d,0x00000027,
71950x000030b7,0x000030b6,0x00050041,0x00000028,
71960x000030b8,0x00002f0e,0x00000528,0x0004003d,
71970x00000027,0x000030b9,0x000030b8,0x00050041,
71980x00000028,0x000030ba,0x00002f0e,0x0000026c,
71990x0004003d,0x00000027,0x000030bb,0x000030ba,
72000x00050041,0x00000028,0x000030bc,0x00002f0e,
72010x00000335,0x0004003d,0x00000027,0x000030bd,
72020x000030bc,0x00050041,0x00000028,0x000030be,
72030x00002f0e,0x0000020e,0x0004003d,0x00000027,
72040x000030bf,0x000030be,0x00050041,0x00000028,
72050x000030c0,0x00002f0e,0x0000031d,0x0004003d,
72060x00000027,0x000030c1,0x000030c0,0x00050041,
72070x00000028,0x000030c2,0x00002f0e,0x00000359,
72080x0004003d,0x00000027,0x000030c3,0x000030c2,
72090x00050041,0x00000028,0x000030c4,0x00002f0e,
72100x00000414,0x0004003d,0x00000027,0x000030c5,
72110x000030c4,0x00060050,0x0000006c,0x000030c6,
72120x000030b5,0x000030b7,0x000030b9,0x00060050,
72130x0000006c,0x000030c7,0x000030bb,0x000030bd,
72140x000030bf,0x00060050,0x0000006c,0x000030c8,
72150x000030c1,0x000030c3,0x000030c5,0x00060050,
72160x0000082b,0x000030c9,0x000030c6,0x000030c7,
72170x000030c8,0x0006000c,0x00000027,0x000030cb,
72180x00000001,0x00000021,0x000030c9,0x000500b7,
72190x0000002f,0x000030cd,0x000030cb,0x0000048d,
72200x000300f7,0x000030d2,0x00000000,0x000400fa,
72210x000030cd,0x000030ce,0x000030d1,0x000200f8,
72220x000030d1,0x000200f9,0x000030d2,0x000200f8,
72230x000030ce,0x0006000c,0x0000082b,0x000030d0,
72240x00000001,0x00000022,0x000030c9,0x000200f9,
72250x000030d2,0x000200f8,0x000030d2,0x000700f5,
72260x0000082b,0x000062e4,0x000030d0,0x000030ce,
72270x00000851,0x000030d1,0x0003003e,0x00002f53,
72280x000062e4,0x00050041,0x00000028,0x000030d4,
72290x00002f0e,0x00000325,0x0004003d,0x00000027,
72300x000030d5,0x000030d4,0x00050041,0x00000028,
72310x000030d6,0x00002f0e,0x000007b3,0x0004003d,
72320x00000027,0x000030d7,0x000030d6,0x00050041,
72330x00000028,0x000030d8,0x00002f0e,0x0000049b,
72340x0004003d,0x00000027,0x000030d9,0x000030d8,
72350x00060050,0x0000006c,0x000030da,0x000030d5,
72360x000030d7,0x000030d9,0x00050091,0x0000006c,
72370x000030dd,0x000062e4,0x000030da,0x0004007f,
72380x0000006c,0x000030de,0x000030dd,0x0003003e,
72390x00002f56,0x000030de,0x000200f9,0x000030df,
72400x000200f8,0x000030df,0x000700f5,0x00000006,
72410x000062e5,0x00000140,0x000030d2,0x00003112,
72420x000030e3,0x000500b0,0x0000002f,0x000030e2,
72430x000062e5,0x000004d7,0x000400f6,0x00003113,
72440x000030e3,0x00000000,0x000400fa,0x000030e2,
72450x000030e3,0x00003113,0x000200f8,0x000030e3,
72460x00050080,0x00000006,0x000030e5,0x00002fa4,
72470x000001cc,0x00050084,0x00000006,0x000030e7,
72480x000001e3,0x000062e5,0x00050080,0x00000006,
72490x000030e8,0x000030e5,0x000030e7,0x00060041,
72500x00000028,0x000030ec,0x00002f53,0x00000173,
72510x000062e5,0x0004003d,0x00000027,0x000030ed,
72520x000030ec,0x0004007c,0x00000006,0x0000361f,
72530x000030ed,0x00050095,0x00000145,0x0000363a,
72540x00003219,0x000030e8,0x00050051,0x00000006,
72550x0000363b,0x0000363a,0x00000001,0x00050051,
72560x00000006,0x0000363c,0x0000363a,0x00000000,
72570x00050080,0x00000006,0x00003641,0x00003220,
72580x0000363b,0x00050050,0x00000007,0x00003642,
72590x0000363c,0x00003641,0x0004007c,0x00000014,
72600x00003632,0x00003642,0x00060041,0x00000174,
72610x0000362a,0x00003632,0x00000173,0x00000173,
72620x0005003e,0x0000362a,0x0000361f,0x00000002,
72630x00000004,0x00050080,0x00000006,0x000030f0,
72640x00002fa4,0x00000877,0x00050080,0x00000006,
72650x000030f3,0x000030f0,0x000030e7,0x00060041,
72660x00000028,0x000030f7,0x00002f53,0x0000026c,
72670x000062e5,0x0004003d,0x00000027,0x000030f8,
72680x000030f7,0x0004007c,0x00000006,0x00003648,
72690x000030f8,0x00050095,0x00000145,0x00003663,
72700x00003219,0x000030f3,0x00050051,0x00000006,
72710x00003664,0x00003663,0x00000001,0x00050051,
72720x00000006,0x00003665,0x00003663,0x00000000,
72730x00050080,0x00000006,0x0000366a,0x00003220,
72740x00003664,0x00050050,0x00000007,0x0000366b,
72750x00003665,0x0000366a,0x0004007c,0x00000014,
72760x0000365b,0x0000366b,0x00060041,0x00000174,
72770x00003653,0x0000365b,0x00000173,0x00000173,
72780x0005003e,0x00003653,0x00003648,0x00000002,
72790x00000004,0x00050080,0x00000006,0x000030fb,
72800x00002fa4,0x00000886,0x00050080,0x00000006,
72810x000030fe,0x000030fb,0x000030e7,0x00060041,
72820x00000028,0x00003102,0x00002f53,0x0000031d,
72830x000062e5,0x0004003d,0x00000027,0x00003103,
72840x00003102,0x0004007c,0x00000006,0x00003671,
72850x00003103,0x00050095,0x00000145,0x0000368c,
72860x00003219,0x000030fe,0x00050051,0x00000006,
72870x0000368d,0x0000368c,0x00000001,0x00050051,
72880x00000006,0x0000368e,0x0000368c,0x00000000,
72890x00050080,0x00000006,0x00003693,0x00003220,
72900x0000368d,0x00050050,0x00000007,0x00003694,
72910x0000368e,0x00003693,0x0004007c,0x00000014,
72920x00003684,0x00003694,0x00060041,0x00000174,
72930x0000367c,0x00003684,0x00000173,0x00000173,
72940x0005003e,0x0000367c,0x00003671,0x00000002,
72950x00000004,0x00050080,0x00000006,0x00003106,
72960x00002fa4,0x00000895,0x00050080,0x00000006,
72970x00003109,0x00003106,0x000030e7,0x00050041,
72980x00000028,0x0000310d,0x00002f56,0x000062e5,
72990x0004003d,0x00000027,0x0000310e,0x0000310d,
73000x0004007c,0x00000006,0x0000369a,0x0000310e,
73010x00050095,0x00000145,0x000036b5,0x00003219,
73020x00003109,0x00050051,0x00000006,0x000036b6,
73030x000036b5,0x00000001,0x00050051,0x00000006,
73040x000036b7,0x000036b5,0x00000000,0x00050080,
73050x00000006,0x000036bc,0x00003220,0x000036b6,
73060x00050050,0x00000007,0x000036bd,0x000036b7,
73070x000036bc,0x0004007c,0x00000014,0x000036ad,
73080x000036bd,0x00060041,0x00000174,0x000036a5,
73090x000036ad,0x00000173,0x00000173,0x0005003e,
73100x000036a5,0x0000369a,0x00000002,0x00000004,
73110x00050080,0x00000006,0x00003112,0x000062e5,
73120x0000026c,0x000200f9,0x000030df,0x000200f8,
73130x00003113,0x00050080,0x00000006,0x00003115,
73140x00002fa4,0x000008a6,0x00050095,0x00000145,
73150x000036d5,0x00003219,0x00003115,0x00050051,
73160x00000006,0x000036d6,0x000036d5,0x00000001,
73170x00050051,0x00000006,0x000036d7,0x000036d5,
73180x00000000,0x00050080,0x00000006,0x000036dc,
73190x00003220,0x000036d6,0x00050050,0x00000007,
73200x000036dd,0x000036d7,0x000036dc,0x0004007c,
73210x00000014,0x000036cd,0x000036dd,0x00060041,
73220x00000174,0x000036c5,0x000036cd,0x00000173,
73230x00000173,0x0005003e,0x000036c5,0x000013a7,
75110x00000002,0x00000004,0x00050080,0x00000006, 73240x00000002,0x00000004,0x00050080,0x00000006,
75120x00002654,0x00002622,0x0000050b,0x00060041, 73250x0000311b,0x00002fa4,0x000008b0,0x00050095,
75130x00000028,0x00002657,0x000025da,0x00000315, 73260x00000145,0x000036f5,0x00003219,0x0000311b,
75140x00000142,0x0004003d,0x00000027,0x00002658, 73270x00050051,0x00000006,0x000036f6,0x000036f5,
75150x00002657,0x0004007c,0x00000006,0x00002934, 73280x00000001,0x00050051,0x00000006,0x000036f7,
75160x00002658,0x00050095,0x0000013d,0x0000294f, 73290x000036f5,0x00000000,0x00050080,0x00000006,
75170x00002924,0x00002654,0x00050051,0x00000006, 73300x000036fc,0x00003220,0x000036f6,0x00050050,
75180x00002950,0x0000294f,0x00000001,0x00050051, 73310x00000007,0x000036fd,0x000036f7,0x000036fc,
75190x00000006,0x00002951,0x0000294f,0x00000000, 73320x0004007c,0x00000014,0x000036ed,0x000036fd,
75200x00050080,0x00000006,0x00002956,0x0000292b, 73330x00060041,0x00000174,0x000036e5,0x000036ed,
75210x00002950,0x00050050,0x00000007,0x00002957, 73340x00000173,0x00000173,0x0005003e,0x000036e5,
75220x00002951,0x00002956,0x0004007c,0x00000014, 73350x000003bf,0x00000002,0x00000004,0x00050080,
75230x00002947,0x00002957,0x00060041,0x0000016c, 73360x00000006,0x00003120,0x00002fa4,0x000008b9,
75240x0000293f,0x00002947,0x0000016b,0x0000016b, 73370x00050095,0x00000145,0x00003715,0x00003219,
75250x0005003e,0x0000293f,0x00002934,0x00000002, 73380x00003120,0x00050051,0x00000006,0x00003716,
75260x00000004,0x00050080,0x00000006,0x0000265b, 73390x00003715,0x00000001,0x00050051,0x00000006,
75270x00002622,0x00000516,0x00060041,0x00000028, 73400x00003717,0x00003715,0x00000000,0x00050080,
75280x0000265e,0x000025da,0x00000315,0x00000280, 73410x00000006,0x0000371c,0x00003220,0x00003716,
75290x0004003d,0x00000027,0x0000265f,0x0000265e, 73420x00050050,0x00000007,0x0000371d,0x00003717,
75300x0004007c,0x00000006,0x0000295d,0x0000265f, 73430x0000371c,0x0004007c,0x00000014,0x0000370d,
75310x00050095,0x0000013d,0x00002978,0x00002924, 73440x0000371d,0x00060041,0x00000174,0x00003705,
75320x0000265b,0x00050051,0x00000006,0x00002979, 73450x0000370d,0x00000173,0x00000173,0x0005003e,
75330x00002978,0x00000001,0x00050051,0x00000006, 73460x00003705,0x00000140,0x00000002,0x00000004,
75340x0000297a,0x00002978,0x00000000,0x00050080, 73470x00050080,0x00000006,0x00003125,0x00002fa4,
75350x00000006,0x0000297f,0x0000292b,0x00002979, 73480x000008c2,0x00050095,0x00000145,0x00003735,
75360x00050050,0x00000007,0x00002980,0x0000297a, 73490x00003219,0x00003125,0x00050051,0x00000006,
75370x0000297f,0x0004007c,0x00000014,0x00002970, 73500x00003736,0x00003735,0x00000001,0x00050051,
75380x00002980,0x00060041,0x0000016c,0x00002968, 73510x00000006,0x00003737,0x00003735,0x00000000,
75390x00002970,0x0000016b,0x0000016b,0x0005003e, 73520x00050080,0x00000006,0x0000373c,0x00003220,
75400x00002968,0x0000295d,0x00000002,0x00000004, 73530x00003736,0x00050050,0x00000007,0x0000373d,
75410x00050080,0x00000006,0x00002662,0x00002622, 73540x00003737,0x0000373c,0x0004007c,0x00000014,
75420x00000521,0x00050041,0x000001bb,0x00002665, 73550x0000372d,0x0000373d,0x00060041,0x00000174,
75430x000001b9,0x00000523,0x0004003d,0x00000006, 73560x00003725,0x0000372d,0x00000173,0x00000173,
75440x00002666,0x00002665,0x00050095,0x0000013d, 73570x0005003e,0x00003725,0x00000140,0x00000002,
75450x00002998,0x00002924,0x00002662,0x00050051, 73580x00000004,0x000500b4,0x0000002f,0x0000312a,
75460x00000006,0x00002999,0x00002998,0x00000001, 73590x000030cb,0x0000048d,0x00060050,0x000005b3,
75470x00050051,0x00000006,0x0000299a,0x00002998, 73600x00006557,0x0000312a,0x0000312a,0x0000312a,
75480x00000000,0x00050080,0x00000006,0x0000299f, 73610x000600a9,0x0000006c,0x00006558,0x00006557,
75490x0000292b,0x00002999,0x00050050,0x00000007, 73620x00006532,0x00006319,0x000600a9,0x0000006c,
75500x000029a0,0x0000299a,0x0000299f,0x0004007c, 73630x0000655a,0x00006557,0x000005dc,0x000062f2,
75510x00000014,0x00002990,0x000029a0,0x00060041, 73640x00050041,0x000001c3,0x0000378d,0x000001c1,
75520x0000016c,0x00002988,0x00002990,0x0000016b, 73650x000001c2,0x0004003d,0x00000006,0x0000378e,
75530x0000016b,0x0005003e,0x00002988,0x00002666, 73660x0000378d,0x00050084,0x00000006,0x0000378f,
73670x000001e3,0x0000378e,0x00050080,0x00000006,
73680x00003790,0x000001cc,0x0000378f,0x00050080,
73690x00000006,0x00003796,0x0000378e,0x00000695,
73700x00050086,0x00000006,0x00003797,0x00003796,
73710x000001c6,0x00050084,0x00000006,0x00003789,
73720x000001cc,0x00003797,0x00050080,0x00000006,
73730x0000378a,0x00003790,0x00003789,0x00050080,
73740x00000006,0x00003784,0x0000378a,0x00003789,
73750x00050084,0x00000006,0x00003754,0x000001f7,
73760x000013a7,0x00050080,0x00000006,0x00003755,
73770x00003784,0x00003754,0x00050041,0x0000026e,
73780x00003756,0x000001c1,0x0000026c,0x0004003d,
73790x00000007,0x00003757,0x00003756,0x00050051,
73800x00000027,0x0000375a,0x0000655a,0x00000000,
73810x0004007c,0x00000006,0x000037a4,0x0000375a,
73820x00050051,0x00000006,0x000037bd,0x00003757,
73830x00000000,0x00050095,0x00000145,0x000037bf,
73840x000037bd,0x00003755,0x00050051,0x00000006,
73850x000037c0,0x000037bf,0x00000001,0x00050051,
73860x00000006,0x000037c1,0x000037bf,0x00000000,
73870x00050051,0x00000006,0x000037c4,0x00003757,
73880x00000001,0x00050080,0x00000006,0x000037c6,
73890x000037c4,0x000037c0,0x00050050,0x00000007,
73900x000037c7,0x000037c1,0x000037c6,0x0004007c,
73910x00000014,0x000037b7,0x000037c7,0x00060041,
73920x00000174,0x000037af,0x000037b7,0x00000173,
73930x00000173,0x0005003e,0x000037af,0x000037a4,
75540x00000002,0x00000004,0x00050080,0x00000006, 73940x00000002,0x00000004,0x00050080,0x00000006,
75550x00002669,0x00002622,0x0000052d,0x00050095, 73950x0000375d,0x00003755,0x000000f3,0x00050051,
75560x0000013d,0x000029b8,0x00002924,0x00002669, 73960x00000027,0x00003761,0x0000655a,0x00000001,
75570x00050051,0x00000006,0x000029b9,0x000029b8, 73970x0004007c,0x00000006,0x000037cd,0x00003761,
75580x00000001,0x00050051,0x00000006,0x000029ba, 73980x00050095,0x00000145,0x000037e8,0x000037bd,
75590x000029b8,0x00000000,0x00050080,0x00000006, 73990x0000375d,0x00050051,0x00000006,0x000037e9,
75600x000029bf,0x0000292b,0x000029b9,0x00050050, 74000x000037e8,0x00000001,0x00050051,0x00000006,
75610x00000007,0x000029c0,0x000029ba,0x000029bf, 74010x000037ea,0x000037e8,0x00000000,0x00050080,
75620x0004007c,0x00000014,0x000029b0,0x000029c0, 74020x00000006,0x000037ef,0x000037c4,0x000037e9,
75630x00060041,0x0000016c,0x000029a8,0x000029b0, 74030x00050050,0x00000007,0x000037f0,0x000037ea,
75640x0000016b,0x0000016b,0x0005003e,0x000029a8, 74040x000037ef,0x0004007c,0x00000014,0x000037e0,
75650x000012dd,0x00000002,0x00000004,0x00050080, 74050x000037f0,0x00060041,0x00000174,0x000037d8,
75660x00000006,0x0000266f,0x00002622,0x00000537, 74060x000037e0,0x00000173,0x00000173,0x0005003e,
75670x00050095,0x0000013d,0x000029d8,0x00002924, 74070x000037d8,0x000037cd,0x00000002,0x00000004,
75680x0000266f,0x00050051,0x00000006,0x000029d9, 74080x00050080,0x00000006,0x00003764,0x00003755,
75690x000029d8,0x00000001,0x00050051,0x00000006, 74090x000001d5,0x00050051,0x00000027,0x00003768,
75700x000029da,0x000029d8,0x00000000,0x00050080, 74100x0000655a,0x00000002,0x0004007c,0x00000006,
75710x00000006,0x000029df,0x0000292b,0x000029d9, 74110x000037f6,0x00003768,0x00050095,0x00000145,
75720x00050050,0x00000007,0x000029e0,0x000029da, 74120x00003811,0x000037bd,0x00003764,0x00050051,
75730x000029df,0x0004007c,0x00000014,0x000029d0, 74130x00000006,0x00003812,0x00003811,0x00000001,
75740x000029e0,0x00060041,0x0000016c,0x000029c8, 74140x00050051,0x00000006,0x00003813,0x00003811,
75750x000029d0,0x0000016b,0x0000016b,0x0005003e, 74150x00000000,0x00050080,0x00000006,0x00003818,
75760x000029c8,0x00000539,0x00000002,0x00000004, 74160x000037c4,0x00003812,0x00050050,0x00000007,
75770x00050080,0x00000006,0x00002674,0x00002622, 74170x00003819,0x00003813,0x00003818,0x0004007c,
75780x00000541,0x00050095,0x0000013d,0x000029f8, 74180x00000014,0x00003809,0x00003819,0x00060041,
75790x00002924,0x00002674,0x00050051,0x00000006, 74190x00000174,0x00003801,0x00003809,0x00000173,
75800x000029f9,0x000029f8,0x00000001,0x00050051, 74200x00000173,0x0005003e,0x00003801,0x000037f6,
75810x00000006,0x000029fa,0x000029f8,0x00000000,
75820x00050080,0x00000006,0x000029ff,0x0000292b,
75830x000029f9,0x00050050,0x00000007,0x00002a00,
75840x000029fa,0x000029ff,0x0004007c,0x00000014,
75850x000029f0,0x00002a00,0x00060041,0x0000016c,
75860x000029e8,0x000029f0,0x0000016b,0x0000016b,
75870x0005003e,0x000029e8,0x00000543,0x00000002,
75880x00000004,0x00050041,0x0000006d,0x00002678,
75890x000025da,0x0000016b,0x0004003d,0x0000006c,
75900x00002679,0x00002678,0x0004009c,0x0000054d,
75910x0000267a,0x00002679,0x0004009a,0x0000002f,
75920x0000267b,0x0000267a,0x000400a8,0x0000002f,
75930x0000267c,0x0000267b,0x000300f7,0x00002682,
75940x00000000,0x000400fa,0x0000267c,0x0000267d,
75950x00002682,0x000200f8,0x0000267d,0x00050041,
75960x0000006d,0x0000267e,0x000025da,0x00000264,
75970x0004003d,0x0000006c,0x0000267f,0x0000267e,
75980x0004009c,0x0000054d,0x00002680,0x0000267f,
75990x0004009a,0x0000002f,0x00002681,0x00002680,
76000x000200f9,0x00002682,0x000200f8,0x00002682,
76010x000700f5,0x0000002f,0x00002683,0x0000267b,
76020x0000264b,0x00002681,0x0000267d,0x000400a8,
76030x0000002f,0x00002684,0x00002683,0x000300f7,
76040x0000268a,0x00000000,0x000400fa,0x00002684,
76050x00002685,0x0000268a,0x000200f8,0x00002685,
76060x00050041,0x0000006d,0x00002686,0x000025da,
76070x00000315,0x0004003d,0x0000006c,0x00002687,
76080x00002686,0x0004009c,0x0000054d,0x00002688,
76090x00002687,0x0004009a,0x0000002f,0x00002689,
76100x00002688,0x000200f9,0x0000268a,0x000200f8,
76110x0000268a,0x000700f5,0x0000002f,0x0000268b,
76120x00002683,0x00002682,0x00002689,0x00002685,
76130x0004003d,0x0000006c,0x0000268d,0x00002678,
76140x00050041,0x0000006d,0x0000268e,0x000025da,
76150x00000264,0x0004003d,0x0000006c,0x0000268f,
76160x0000268e,0x0007000c,0x0000006c,0x00002690,
76170x00000001,0x00000025,0x0000268d,0x0000268f,
76180x00050041,0x0000006d,0x00002691,0x000025da,
76190x00000315,0x0004003d,0x0000006c,0x00002692,
76200x00002691,0x0007000c,0x0000006c,0x00002693,
76210x00000001,0x00000025,0x00002690,0x00002692,
76220x0004003d,0x0000006c,0x00002695,0x00002678,
76230x0004003d,0x0000006c,0x00002697,0x0000268e,
76240x0007000c,0x0000006c,0x00002698,0x00000001,
76250x00000028,0x00002695,0x00002697,0x0004003d,
76260x0000006c,0x0000269a,0x00002691,0x0007000c,
76270x0000006c,0x0000269b,0x00000001,0x00000028,
76280x00002698,0x0000269a,0x00060050,0x0000054d,
76290x00006125,0x0000268b,0x0000268b,0x0000268b,
76300x000600a9,0x0000006c,0x00006126,0x00006125,
76310x000060fe,0x0000269b,0x000600a9,0x0000006c,
76320x00006128,0x00006125,0x00000576,0x00002693,
76330x00050041,0x000001bb,0x00002a50,0x000001b9,
76340x000001ba,0x0004003d,0x00000006,0x00002a51,
76350x00002a50,0x00050084,0x00000006,0x00002a52,
76360x000001db,0x00002a51,0x00050080,0x00000006,
76370x00002a53,0x000001c4,0x00002a52,0x00050080,
76380x00000006,0x00002a59,0x00002a51,0x0000062f,
76390x00050086,0x00000006,0x00002a5a,0x00002a59,
76400x000001be,0x00050084,0x00000006,0x00002a4c,
76410x000001c4,0x00002a5a,0x00050080,0x00000006,
76420x00002a4d,0x00002a53,0x00002a4c,0x00050080,
76430x00000006,0x00002a47,0x00002a4d,0x00002a4c,
76440x00050084,0x00000006,0x00002a17,0x000001ef,
76450x0000261d,0x00050080,0x00000006,0x00002a18,
76460x00002a47,0x00002a17,0x00050041,0x00000266,
76470x00002a19,0x000001b9,0x00000264,0x0004003d,
76480x00000007,0x00002a1a,0x00002a19,0x00050051,
76490x00000027,0x00002a1d,0x00006128,0x00000000,
76500x0004007c,0x00000006,0x00002a67,0x00002a1d,
76510x00050051,0x00000006,0x00002a80,0x00002a1a,
76520x00000000,0x00050095,0x0000013d,0x00002a82,
76530x00002a80,0x00002a18,0x00050051,0x00000006,
76540x00002a83,0x00002a82,0x00000001,0x00050051,
76550x00000006,0x00002a84,0x00002a82,0x00000000,
76560x00050051,0x00000006,0x00002a87,0x00002a1a,
76570x00000001,0x00050080,0x00000006,0x00002a89,
76580x00002a87,0x00002a83,0x00050050,0x00000007,
76590x00002a8a,0x00002a84,0x00002a89,0x0004007c,
76600x00000014,0x00002a7a,0x00002a8a,0x00060041,
76610x0000016c,0x00002a72,0x00002a7a,0x0000016b,
76620x0000016b,0x0005003e,0x00002a72,0x00002a67,
76630x00000002,0x00000004,0x00050080,0x00000006, 74210x00000002,0x00000004,0x00050080,0x00000006,
76640x00002a20,0x00002a18,0x000000ec,0x00050051, 74220x0000376b,0x00003755,0x000001dc,0x00050051,
76650x00000027,0x00002a24,0x00006128,0x00000001, 74230x00000027,0x0000376f,0x00006558,0x00000000,
76660x0004007c,0x00000006,0x00002a90,0x00002a24, 74240x0004007c,0x00000006,0x0000381f,0x0000376f,
76670x00050095,0x0000013d,0x00002aab,0x00002a80, 74250x00050095,0x00000145,0x0000383a,0x000037bd,
76680x00002a20,0x00050051,0x00000006,0x00002aac, 74260x0000376b,0x00050051,0x00000006,0x0000383b,
76690x00002aab,0x00000001,0x00050051,0x00000006, 74270x0000383a,0x00000001,0x00050051,0x00000006,
76700x00002aad,0x00002aab,0x00000000,0x00050080, 74280x0000383c,0x0000383a,0x00000000,0x00050080,
76710x00000006,0x00002ab2,0x00002a87,0x00002aac, 74290x00000006,0x00003841,0x000037c4,0x0000383b,
76720x00050050,0x00000007,0x00002ab3,0x00002aad, 74300x00050050,0x00000007,0x00003842,0x0000383c,
76730x00002ab2,0x0004007c,0x00000014,0x00002aa3, 74310x00003841,0x0004007c,0x00000014,0x00003832,
76740x00002ab3,0x00060041,0x0000016c,0x00002a9b, 74320x00003842,0x00060041,0x00000174,0x0000382a,
76750x00002aa3,0x0000016b,0x0000016b,0x0005003e, 74330x00003832,0x00000173,0x00000173,0x0005003e,
76760x00002a9b,0x00002a90,0x00000002,0x00000004, 74340x0000382a,0x0000381f,0x00000002,0x00000004,
76770x00050080,0x00000006,0x00002a27,0x00002a18, 74350x00050080,0x00000006,0x00003772,0x00003755,
76780x000001cd,0x00050051,0x00000027,0x00002a2b, 74360x000001e3,0x00050051,0x00000027,0x00003776,
76790x00006128,0x00000002,0x0004007c,0x00000006, 74370x00006558,0x00000001,0x0004007c,0x00000006,
76800x00002ab9,0x00002a2b,0x00050095,0x0000013d, 74380x00003848,0x00003776,0x00050095,0x00000145,
76810x00002ad4,0x00002a80,0x00002a27,0x00050051, 74390x00003863,0x000037bd,0x00003772,0x00050051,
76820x00000006,0x00002ad5,0x00002ad4,0x00000001, 74400x00000006,0x00003864,0x00003863,0x00000001,
76830x00050051,0x00000006,0x00002ad6,0x00002ad4, 74410x00050051,0x00000006,0x00003865,0x00003863,
76840x00000000,0x00050080,0x00000006,0x00002adb, 74420x00000000,0x00050080,0x00000006,0x0000386a,
76850x00002a87,0x00002ad5,0x00050050,0x00000007, 74430x000037c4,0x00003864,0x00050050,0x00000007,
76860x00002adc,0x00002ad6,0x00002adb,0x0004007c, 74440x0000386b,0x00003865,0x0000386a,0x0004007c,
76870x00000014,0x00002acc,0x00002adc,0x00060041, 74450x00000014,0x0000385b,0x0000386b,0x00060041,
76880x0000016c,0x00002ac4,0x00002acc,0x0000016b, 74460x00000174,0x00003853,0x0000385b,0x00000173,
76890x0000016b,0x0005003e,0x00002ac4,0x00002ab9, 74470x00000173,0x0005003e,0x00003853,0x00003848,
76900x00000002,0x00000004,0x00050080,0x00000006, 74480x00000002,0x00000004,0x00050080,0x00000006,
76910x00002a2e,0x00002a18,0x000001d4,0x00050051, 74490x00003779,0x00003755,0x000002a1,0x00050051,
76920x00000027,0x00002a32,0x00006126,0x00000000, 74500x00000027,0x0000377d,0x00006558,0x00000002,
76930x0004007c,0x00000006,0x00002ae2,0x00002a32, 74510x0004007c,0x00000006,0x00003871,0x0000377d,
76940x00050095,0x0000013d,0x00002afd,0x00002a80, 74520x00050095,0x00000145,0x0000388c,0x000037bd,
76950x00002a2e,0x00050051,0x00000006,0x00002afe, 74530x00003779,0x00050051,0x00000006,0x0000388d,
74540x0000388c,0x00000001,0x00050051,0x00000006,
74550x0000388e,0x0000388c,0x00000000,0x00050080,
74560x00000006,0x00003893,0x000037c4,0x0000388d,
74570x00050050,0x00000007,0x00003894,0x0000388e,
74580x00003893,0x0004007c,0x00000014,0x00003884,
74590x00003894,0x00060041,0x00000174,0x0000387c,
74600x00003884,0x00000173,0x00000173,0x0005003e,
74610x0000387c,0x00003871,0x00000002,0x00000004,
74620x000300f7,0x000038d4,0x00000000,0x000300fb,
74630x00000140,0x000038a3,0x000200f8,0x000038a3,
74640x000500bc,0x0000002f,0x000038db,0x0000375a,
74650x0000376f,0x000300f7,0x000038e2,0x00000000,
74660x000400fa,0x000038db,0x000038dc,0x000038e2,
74670x000200f8,0x000038dc,0x000500bc,0x0000002f,
74680x000038e1,0x00003761,0x00003776,0x000200f9,
74690x000038e2,0x000200f8,0x000038e2,0x000700f5,
74700x0000002f,0x000038e3,0x000038db,0x000038a3,
74710x000038e1,0x000038dc,0x000300f7,0x000038ea,
74720x00000000,0x000400fa,0x000038e3,0x000038e4,
74730x000038ea,0x000200f8,0x000038e4,0x000500bc,
74740x0000002f,0x000038e9,0x00003768,0x0000377d,
74750x000200f9,0x000038ea,0x000200f8,0x000038ea,
74760x000700f5,0x0000002f,0x000038eb,0x000038e3,
74770x000038e2,0x000038e9,0x000038e4,0x000400a8,
74780x0000002f,0x000038ec,0x000038eb,0x000300f7,
74790x000038a8,0x00000000,0x000400fa,0x000038ec,
74800x000038a7,0x000038a8,0x000200f8,0x000038a7,
74810x000200f9,0x000038d4,0x000200f8,0x000038a8,
74820x00050081,0x0000006c,0x000038ab,0x0000655a,
74830x00006558,0x0005008e,0x0000006c,0x000038ac,
74840x000038ab,0x00000305,0x00050095,0x00000145,
74850x000038fc,0x000037bd,0x00000140,0x00050051,
74860x00000006,0x000038fd,0x000038fc,0x00000001,
74870x00050051,0x00000006,0x000038fe,0x000038fc,
74880x00000000,0x00050080,0x00000006,0x00003903,
74890x000037c4,0x000038fd,0x00050050,0x00000007,
74900x00003904,0x000038fe,0x00003903,0x0004007c,
74910x00000014,0x000038f4,0x00003904,0x00060041,
74920x00000174,0x000038b1,0x000038f4,0x00000173,
74930x00000173,0x00050051,0x00000027,0x000038b3,
74940x000038ac,0x00000000,0x0004007c,0x00000006,
74950x0000390a,0x000038b3,0x000500c7,0x00000006,
74960x0000390c,0x0000390a,0x00000249,0x000500ab,
74970x0000002f,0x0000390d,0x0000390c,0x00000140,
74980x000300f7,0x00003914,0x00000000,0x000400fa,
74990x0000390d,0x0000390e,0x00003911,0x000200f8,
75000x00003911,0x000500c5,0x00000006,0x00003913,
75010x0000390a,0x00000249,0x000200f9,0x00003914,
75020x000200f8,0x0000390e,0x000400c8,0x00000006,
75030x00003910,0x0000390a,0x000200f9,0x00003914,
75040x000200f8,0x00003914,0x000700f5,0x00000006,
75050x00006334,0x00003910,0x0000390e,0x00003913,
75060x00003911,0x000700ed,0x00000006,0x000038b5,
75070x000038b1,0x0000014a,0x00000140,0x00006334,
75080x00060041,0x00000174,0x000038b7,0x000038f4,
75090x00000173,0x0000026c,0x00050051,0x00000027,
75100x000038b9,0x000038ac,0x00000001,0x0004007c,
75110x00000006,0x0000391b,0x000038b9,0x000500c7,
75120x00000006,0x0000391d,0x0000391b,0x00000249,
75130x000500ab,0x0000002f,0x0000391e,0x0000391d,
75140x00000140,0x000300f7,0x00003925,0x00000000,
75150x000400fa,0x0000391e,0x0000391f,0x00003922,
75160x000200f8,0x00003922,0x000500c5,0x00000006,
75170x00003924,0x0000391b,0x00000249,0x000200f9,
75180x00003925,0x000200f8,0x0000391f,0x000400c8,
75190x00000006,0x00003921,0x0000391b,0x000200f9,
75200x00003925,0x000200f8,0x00003925,0x000700f5,
75210x00000006,0x00006335,0x00003921,0x0000391f,
75220x00003924,0x00003922,0x000700ed,0x00000006,
75230x000038bb,0x000038b7,0x0000014a,0x00000140,
75240x00006335,0x00060041,0x00000174,0x000038bd,
75250x000038f4,0x00000173,0x0000031d,0x00050051,
75260x00000027,0x000038bf,0x000038ac,0x00000002,
75270x0004007c,0x00000006,0x0000392c,0x000038bf,
75280x000500c7,0x00000006,0x0000392e,0x0000392c,
75290x00000249,0x000500ab,0x0000002f,0x0000392f,
75300x0000392e,0x00000140,0x000300f7,0x00003936,
75310x00000000,0x000400fa,0x0000392f,0x00003930,
75320x00003933,0x000200f8,0x00003933,0x000500c5,
75330x00000006,0x00003935,0x0000392c,0x00000249,
75340x000200f9,0x00003936,0x000200f8,0x00003930,
75350x000400c8,0x00000006,0x00003932,0x0000392c,
75360x000200f9,0x00003936,0x000200f8,0x00003936,
75370x000700f5,0x00000006,0x00006336,0x00003932,
75380x00003930,0x00003935,0x00003933,0x000700ed,
75390x00000006,0x000038c1,0x000038bd,0x0000014a,
75400x00000140,0x00006336,0x00060041,0x00000174,
75410x000038c3,0x000038f4,0x00000173,0x00000325,
75420x000300f7,0x00003947,0x00000000,0x000400fa,
75430x0000390d,0x00003941,0x00003944,0x000200f8,
75440x00003944,0x000500c5,0x00000006,0x00003946,
75450x0000390a,0x00000249,0x000200f9,0x00003947,
75460x000200f8,0x00003941,0x000400c8,0x00000006,
75470x00003943,0x0000390a,0x000200f9,0x00003947,
75480x000200f8,0x00003947,0x000700f5,0x00000006,
75490x00006337,0x00003943,0x00003941,0x00003946,
75500x00003944,0x000700ef,0x00000006,0x000038c7,
75510x000038c3,0x0000014a,0x00000140,0x00006337,
75520x00060041,0x00000174,0x000038c9,0x000038f4,
75530x00000173,0x0000032d,0x000300f7,0x00003958,
75540x00000000,0x000400fa,0x0000391e,0x00003952,
75550x00003955,0x000200f8,0x00003955,0x000500c5,
75560x00000006,0x00003957,0x0000391b,0x00000249,
75570x000200f9,0x00003958,0x000200f8,0x00003952,
75580x000400c8,0x00000006,0x00003954,0x0000391b,
75590x000200f9,0x00003958,0x000200f8,0x00003958,
75600x000700f5,0x00000006,0x00006338,0x00003954,
75610x00003952,0x00003957,0x00003955,0x000700ef,
75620x00000006,0x000038cd,0x000038c9,0x0000014a,
75630x00000140,0x00006338,0x00060041,0x00000174,
75640x000038cf,0x000038f4,0x00000173,0x00000335,
75650x000300f7,0x00003969,0x00000000,0x000400fa,
75660x0000392f,0x00003963,0x00003966,0x000200f8,
75670x00003966,0x000500c5,0x00000006,0x00003968,
75680x0000392c,0x00000249,0x000200f9,0x00003969,
75690x000200f8,0x00003963,0x000400c8,0x00000006,
75700x00003965,0x0000392c,0x000200f9,0x00003969,
75710x000200f8,0x00003969,0x000700f5,0x00000006,
75720x00006339,0x00003965,0x00003963,0x00003968,
75730x00003966,0x000700ef,0x00000006,0x000038d3,
75740x000038cf,0x0000014a,0x00000140,0x00006339,
75750x000200f9,0x000038d4,0x000200f8,0x000038d4,
75760x000200f9,0x000014b9,0x000200f8,0x000014b9,
75770x000200f9,0x000014b0,0x000200f8,0x000014af,
75780x000200f9,0x000028db,0x000200f8,0x000028db,
75790x000700f5,0x00000006,0x00006346,0x00000140,
75800x000014af,0x000028eb,0x000028e9,0x000500b0,
75810x0000002f,0x000028de,0x00006346,0x000004d7,
75820x000400f6,0x000028ec,0x000028e9,0x00000000,
75830x000400fa,0x000028de,0x000028df,0x000028ec,
75840x000200f8,0x000028df,0x00050084,0x00000006,
75850x000028e2,0x000004d7,0x000013a7,0x00050080,
75860x00000006,0x000028e4,0x000028e2,0x00006346,
75870x000300f7,0x000029a7,0x00000000,0x000300fb,
75880x00000140,0x00002985,0x000200f8,0x00002985,
75890x00050041,0x000001c3,0x00002986,0x000001c1,
75900x0000049b,0x0004003d,0x00000006,0x00002987,
75910x00002986,0x000500aa,0x0000002f,0x00002988,
75920x00002987,0x00000140,0x000300f7,0x0000298b,
75930x00000000,0x000400fa,0x00002988,0x00002989,
75940x0000298b,0x000200f8,0x00002989,0x000200f9,
75950x000029a7,0x000200f8,0x0000298b,0x000500aa,
75960x0000002f,0x0000298e,0x00002987,0x00000288,
75970x000300f7,0x00002995,0x00000000,0x000400fa,
75980x0000298e,0x0000298f,0x00002995,0x000200f8,
75990x0000298f,0x00050084,0x00000006,0x00002991,
76000x000000f3,0x000028e4,0x00050041,0x0000026e,
76010x00002992,0x000001c1,0x00000325,0x0004003d,
76020x00000007,0x00002993,0x00002992,0x00050051,
76030x00000006,0x000029bf,0x00002993,0x00000000,
76040x00050095,0x00000145,0x000029c1,0x000029bf,
76050x00002991,0x00050051,0x00000006,0x000029c2,
76060x000029c1,0x00000001,0x00050051,0x00000006,
76070x000029c3,0x000029c1,0x00000000,0x00050051,
76080x00000006,0x000029c6,0x00002993,0x00000001,
76090x00050080,0x00000006,0x000029c8,0x000029c6,
76100x000029c2,0x00050050,0x00000007,0x000029c9,
76110x000029c3,0x000029c8,0x0004007c,0x00000014,
76120x000029b9,0x000029c9,0x00060041,0x00000174,
76130x000029b0,0x000029b9,0x00000173,0x00000173,
76140x0006003d,0x00000006,0x000029b1,0x000029b0,
76150x00000002,0x00000004,0x000200f9,0x000029a7,
76160x000200f8,0x00002995,0x000500c2,0x00000006,
76170x00002997,0x000028e4,0x0000026c,0x00050084,
76180x00000006,0x00002998,0x000000f3,0x00002997,
76190x00050041,0x0000026e,0x00002999,0x000001c1,
76200x00000325,0x0004003d,0x00000007,0x0000299a,
76210x00002999,0x00050051,0x00000006,0x000029e0,
76220x0000299a,0x00000000,0x00050095,0x00000145,
76230x000029e2,0x000029e0,0x00002998,0x00050051,
76240x00000006,0x000029e3,0x000029e2,0x00000001,
76250x00050051,0x00000006,0x000029e4,0x000029e2,
76260x00000000,0x00050051,0x00000006,0x000029e7,
76270x0000299a,0x00000001,0x00050080,0x00000006,
76280x000029e9,0x000029e7,0x000029e3,0x00050050,
76290x00000007,0x000029ea,0x000029e4,0x000029e9,
76300x0004007c,0x00000014,0x000029da,0x000029ea,
76310x00060041,0x00000174,0x000029d1,0x000029da,
76320x00000173,0x00000173,0x0006003d,0x00000006,
76330x000029d2,0x000029d1,0x00000002,0x00000004,
76340x000500c7,0x00000006,0x0000299d,0x000028e4,
76350x0000014a,0x000500ab,0x0000002f,0x0000299e,
76360x0000299d,0x00000140,0x000300f7,0x000029a5,
76370x00000000,0x000400fa,0x0000299e,0x0000299f,
76380x000029a2,0x000200f8,0x000029a2,0x000500c7,
76390x00000006,0x000029a4,0x000029d2,0x000004c3,
76400x000200f9,0x000029a5,0x000200f8,0x0000299f,
76410x000500c2,0x00000006,0x000029a1,0x000029d2,
76420x00000362,0x000200f9,0x000029a5,0x000200f8,
76430x000029a5,0x000700f5,0x00000006,0x00006350,
76440x000029a1,0x0000299f,0x000029a4,0x000029a2,
76450x000200f9,0x000029a7,0x000200f8,0x000029a7,
76460x000900f5,0x00000006,0x00006351,0x000028e4,
76470x00002989,0x000029b1,0x0000298f,0x00006350,
76480x000029a5,0x000300f7,0x00002a1e,0x00000000,
76490x000300fb,0x00000140,0x000029fc,0x000200f8,
76500x000029fc,0x00050041,0x000001c3,0x000029fe,
76510x000001c1,0x00000467,0x0004003d,0x00000006,
76520x000029ff,0x000029fe,0x000500ae,0x0000002f,
76530x00002a00,0x00006351,0x000029ff,0x000300f7,
76540x00002a02,0x00000000,0x000400fa,0x00002a00,
76550x00002a01,0x00002a02,0x000200f8,0x00002a01,
76560x000200f9,0x00002a1e,0x000200f8,0x00002a02,
76570x00050041,0x000001c3,0x00002a04,0x000001c1,
76580x0000020e,0x0004003d,0x00000006,0x00002a05,
76590x00002a04,0x00050084,0x00000006,0x00002a06,
76600x00006351,0x00002a05,0x00050041,0x0000026e,
76610x00002a07,0x000001c1,0x0000031d,0x0004003d,
76620x00000007,0x00002a08,0x00002a07,0x00050051,
76630x00000006,0x00002a25,0x00002a08,0x00000000,
76640x00050095,0x00000145,0x00002a27,0x00002a25,
76650x00002a06,0x00050051,0x00000006,0x00002a28,
76660x00002a27,0x00000001,0x00050051,0x00000006,
76670x00002a29,0x00002a27,0x00000000,0x00050051,
76680x00000006,0x00002a2c,0x00002a08,0x00000001,
76690x00050080,0x00000006,0x00002a2e,0x00002a2c,
76700x00002a28,0x00050095,0x00000145,0x00002a48,
76710x00002a29,0x00000140,0x00050051,0x00000006,
76720x00002a49,0x00002a48,0x00000001,0x00050051,
76730x00000006,0x00002a4a,0x00002a48,0x00000000,
76740x00050080,0x00000006,0x00002a4f,0x00002a2e,
76750x00002a49,0x00050050,0x00000007,0x00002a50,
76760x00002a4a,0x00002a4f,0x0004007c,0x00000014,
76770x00002a40,0x00002a50,0x00060041,0x00000174,
76780x00002a37,0x00002a40,0x00000173,0x00000173,
76790x0006003d,0x00000006,0x00002a38,0x00002a37,
76800x00000002,0x00000004,0x0004007c,0x00000027,
76810x00002a0c,0x00002a38,0x00050095,0x00000145,
76820x00002a69,0x00002a29,0x000000f3,0x00050051,
76830x00000006,0x00002a6a,0x00002a69,0x00000001,
76840x00050051,0x00000006,0x00002a6b,0x00002a69,
76850x00000000,0x00050080,0x00000006,0x00002a70,
76860x00002a2e,0x00002a6a,0x00050050,0x00000007,
76870x00002a71,0x00002a6b,0x00002a70,0x0004007c,
76880x00000014,0x00002a61,0x00002a71,0x00060041,
76890x00000174,0x00002a58,0x00002a61,0x00000173,
76900x00000173,0x0006003d,0x00000006,0x00002a59,
76910x00002a58,0x00000002,0x00000004,0x0004007c,
76920x00000027,0x00002a0f,0x00002a59,0x00050041,
76930x000001c3,0x00002a10,0x000001c1,0x00000414,
76940x0004003d,0x00000006,0x00002a11,0x00002a10,
76950x000500aa,0x0000002f,0x00002a12,0x00002a11,
76960x0000014a,0x000300f7,0x00002a18,0x00000000,
76970x000400fa,0x00002a12,0x00002a13,0x00002a14,
76980x000200f8,0x00002a14,0x00050095,0x00000145,
76990x00002a8a,0x00002a29,0x000001d5,0x00050051,
77000x00000006,0x00002a8b,0x00002a8a,0x00000001,
77010x00050051,0x00000006,0x00002a8c,0x00002a8a,
77020x00000000,0x00050080,0x00000006,0x00002a91,
77030x00002a2e,0x00002a8b,0x00050050,0x00000007,
77040x00002a92,0x00002a8c,0x00002a91,0x0004007c,
77050x00000014,0x00002a82,0x00002a92,0x00060041,
77060x00000174,0x00002a79,0x00002a82,0x00000173,
77070x00000173,0x0006003d,0x00000006,0x00002a7a,
77080x00002a79,0x00000002,0x00000004,0x0004007c,
77090x00000027,0x00002a17,0x00002a7a,0x000200f9,
77100x00002a18,0x000200f8,0x00002a13,0x000200f9,
77110x00002a18,0x000200f8,0x00002a18,0x000700f5,
77120x00000027,0x00006352,0x0000048d,0x00002a13,
77130x00002a17,0x00002a14,0x00060050,0x0000006c,
77140x00002a1d,0x00002a0c,0x00002a0f,0x00006352,
77150x000200f9,0x00002a1e,0x000200f8,0x00002a1e,
77160x000700f5,0x0000006c,0x00006353,0x0000046e,
77170x00002a01,0x00002a1d,0x00002a18,0x000300f7,
77180x00002ad8,0x00000000,0x000300fb,0x00000140,
77190x00002aa4,0x000200f8,0x00002aa4,0x00050041,
77200x0000026e,0x00002aa5,0x000001c1,0x0000032d,
77210x0004003d,0x00000007,0x00002aa6,0x00002aa5,
77220x00050051,0x00000006,0x00002add,0x00002aa6,
77230x00000000,0x000500aa,0x0000002f,0x00002ade,
77240x00002add,0x00000140,0x000300f7,0x00002ae3,
77250x00000000,0x000400fa,0x00002ade,0x00002adf,
77260x00002ae3,0x000200f8,0x00002adf,0x00050051,
77270x00000006,0x00002ae1,0x00002aa6,0x00000001,
77280x000500aa,0x0000002f,0x00002ae2,0x00002ae1,
77290x00000140,0x000200f9,0x00002ae3,0x000200f8,
77300x00002ae3,0x000700f5,0x0000002f,0x00002ae4,
77310x00002ade,0x00002aa4,0x00002ae2,0x00002adf,
77320x000300f7,0x00002aaa,0x00000000,0x000400fa,
77330x00002ae4,0x00002aa8,0x00002aaa,0x000200f8,
77340x00002aa8,0x000200f9,0x00002ad8,0x000200f8,
77350x00002aaa,0x000200f9,0x00002aab,0x000200f8,
77360x00002aab,0x000700f5,0x00000006,0x00006354,
77370x00000140,0x00002aaa,0x00002ad5,0x00002aaf,
77380x000500b0,0x0000002f,0x00002aae,0x00006354,
77390x000004d7,0x000400f6,0x00002ad6,0x00002aaf,
77400x00000000,0x000400fa,0x00002aae,0x00002aaf,
77410x00002ad6,0x000200f8,0x00002aaf,0x00050084,
77420x00000006,0x00002ab1,0x000001e3,0x00006354,
77430x00050095,0x00000145,0x00002afd,0x00002add,
77440x00002ab1,0x00050051,0x00000006,0x00002afe,
76960x00002afd,0x00000001,0x00050051,0x00000006, 77450x00002afd,0x00000001,0x00050051,0x00000006,
76970x00002aff,0x00002afd,0x00000000,0x00050080, 77460x00002aff,0x00002afd,0x00000000,0x00050051,
76980x00000006,0x00002b04,0x00002a87,0x00002afe, 77470x00000006,0x00002b02,0x00002aa6,0x00000001,
76990x00050050,0x00000007,0x00002b05,0x00002aff, 77480x00050080,0x00000006,0x00002b04,0x00002b02,
77000x00002b04,0x0004007c,0x00000014,0x00002af5, 77490x00002afe,0x00050050,0x00000007,0x00002b05,
77010x00002b05,0x00060041,0x0000016c,0x00002aed, 77500x00002aff,0x00002b04,0x0004007c,0x00000014,
77020x00002af5,0x0000016b,0x0000016b,0x0005003e, 77510x00002af5,0x00002b05,0x00060041,0x00000174,
77030x00002aed,0x00002ae2,0x00000002,0x00000004, 77520x00002aec,0x00002af5,0x00000173,0x00000173,
77040x00050080,0x00000006,0x00002a35,0x00002a18, 77530x0006003d,0x00000006,0x00002aed,0x00002aec,
77050x000001db,0x00050051,0x00000027,0x00002a39, 77540x00000002,0x00000004,0x0004007c,0x00000027,
77060x00006126,0x00000001,0x0004007c,0x00000006, 77550x00002ab6,0x00002aed,0x00050080,0x00000006,
77070x00002b0b,0x00002a39,0x00050095,0x0000013d, 77560x00002ab8,0x00002ab1,0x000000f3,0x00050095,
77080x00002b26,0x00002a80,0x00002a35,0x00050051, 77570x00000145,0x00002b1e,0x00002add,0x00002ab8,
77090x00000006,0x00002b27,0x00002b26,0x00000001, 77580x00050051,0x00000006,0x00002b1f,0x00002b1e,
77100x00050051,0x00000006,0x00002b28,0x00002b26, 77590x00000001,0x00050051,0x00000006,0x00002b20,
77110x00000000,0x00050080,0x00000006,0x00002b2d, 77600x00002b1e,0x00000000,0x00050080,0x00000006,
77120x00002a87,0x00002b27,0x00050050,0x00000007, 77610x00002b25,0x00002b02,0x00002b1f,0x00050050,
77130x00002b2e,0x00002b28,0x00002b2d,0x0004007c, 77620x00000007,0x00002b26,0x00002b20,0x00002b25,
77140x00000014,0x00002b1e,0x00002b2e,0x00060041, 77630x0004007c,0x00000014,0x00002b16,0x00002b26,
77150x0000016c,0x00002b16,0x00002b1e,0x0000016b, 77640x00060041,0x00000174,0x00002b0d,0x00002b16,
77160x0000016b,0x0005003e,0x00002b16,0x00002b0b, 77650x00000173,0x00000173,0x0006003d,0x00000006,
77660x00002b0e,0x00002b0d,0x00000002,0x00000004,
77670x0004007c,0x00000027,0x00002abc,0x00002b0e,
77680x00050080,0x00000006,0x00002abe,0x00002ab1,
77690x000001d5,0x00050095,0x00000145,0x00002b3f,
77700x00002add,0x00002abe,0x00050051,0x00000006,
77710x00002b40,0x00002b3f,0x00000001,0x00050051,
77720x00000006,0x00002b41,0x00002b3f,0x00000000,
77730x00050080,0x00000006,0x00002b46,0x00002b02,
77740x00002b40,0x00050050,0x00000007,0x00002b47,
77750x00002b41,0x00002b46,0x0004007c,0x00000014,
77760x00002b37,0x00002b47,0x00060041,0x00000174,
77770x00002b2e,0x00002b37,0x00000173,0x00000173,
77780x0006003d,0x00000006,0x00002b2f,0x00002b2e,
77790x00000002,0x00000004,0x0004007c,0x00000027,
77800x00002ac2,0x00002b2f,0x00050080,0x00000006,
77810x00002ac4,0x00002ab1,0x000001dc,0x00050095,
77820x00000145,0x00002b60,0x00002add,0x00002ac4,
77830x00050051,0x00000006,0x00002b61,0x00002b60,
77840x00000001,0x00050051,0x00000006,0x00002b62,
77850x00002b60,0x00000000,0x00050080,0x00000006,
77860x00002b67,0x00002b02,0x00002b61,0x00050050,
77870x00000007,0x00002b68,0x00002b62,0x00002b67,
77880x0004007c,0x00000014,0x00002b58,0x00002b68,
77890x00060041,0x00000174,0x00002b4f,0x00002b58,
77900x00000173,0x00000173,0x0006003d,0x00000006,
77910x00002b50,0x00002b4f,0x00000002,0x00000004,
77920x0004007c,0x00000027,0x00002ac8,0x00002b50,
77930x00070050,0x000004dc,0x00002ac9,0x00002ab6,
77940x00002abc,0x00002ac2,0x00002ac8,0x0008004f,
77950x0000006c,0x00002acc,0x00002ac9,0x00002ac9,
77960x00000000,0x00000001,0x00000002,0x00050094,
77970x00000027,0x00002ace,0x00002acc,0x00006353,
77980x00050081,0x00000027,0x00002ad1,0x00002ace,
77990x00002ac8,0x00050041,0x00000028,0x00002ad2,
78000x00002aa1,0x00006354,0x0003003e,0x00002ad2,
78010x00002ad1,0x00050080,0x00000006,0x00002ad5,
78020x00006354,0x0000026c,0x000200f9,0x00002aab,
78030x000200f8,0x00002ad6,0x0004003d,0x0000006c,
78040x00002ad7,0x00002aa1,0x000200f9,0x00002ad8,
78050x000200f8,0x00002ad8,0x000700f5,0x0000006c,
78060x00006355,0x00006353,0x00002aa8,0x00002ad7,
78070x00002ad6,0x00050041,0x0000006d,0x000028e8,
78080x000028ad,0x00006346,0x0003003e,0x000028e8,
78090x00006355,0x000200f9,0x000028e9,0x000200f8,
78100x000028e9,0x00050080,0x00000006,0x000028eb,
78110x00006346,0x0000026c,0x000200f9,0x000028db,
78120x000200f8,0x000028ec,0x00050041,0x000001c3,
78130x000028ed,0x000001c1,0x00000528,0x0004003d,
78140x00000006,0x000028ee,0x000028ed,0x00050080,
78150x00000006,0x000028f0,0x000028ee,0x000013a7,
78160x00050041,0x000001c3,0x000028f1,0x000001c1,
78170x00000352,0x0004003d,0x00000006,0x000028f2,
78180x000028f1,0x00050084,0x00000006,0x000028f4,
78190x000001cc,0x000028f0,0x00050080,0x00000006,
78200x000028f5,0x000028f2,0x000028f4,0x000200f9,
78210x000028f6,0x000200f8,0x000028f6,0x000700f5,
78220x00000006,0x00006347,0x00000140,0x000028ec,
78230x0000291d,0x000028fa,0x000500b0,0x0000002f,
78240x000028f9,0x00006347,0x000004d7,0x000400f6,
78250x0000291e,0x000028fa,0x00000000,0x000400fa,
78260x000028f9,0x000028fa,0x0000291e,0x000200f8,
78270x000028fa,0x00050084,0x00000006,0x000028fd,
78280x000001dc,0x00006347,0x00050080,0x00000006,
78290x000028fe,0x000028f5,0x000028fd,0x00050041,
78300x0000026e,0x00002900,0x000001c1,0x00000173,
78310x0004003d,0x00000007,0x00002901,0x00002900,
78320x00060041,0x00000028,0x00002902,0x000028ad,
78330x00006347,0x00000140,0x0004003d,0x00000027,
78340x00002903,0x00002902,0x0004007c,0x00000006,
78350x00002b6e,0x00002903,0x00050051,0x00000006,
78360x00002b87,0x00002901,0x00000000,0x00050095,
78370x00000145,0x00002b89,0x00002b87,0x000028fe,
78380x00050051,0x00000006,0x00002b8a,0x00002b89,
78390x00000001,0x00050051,0x00000006,0x00002b8b,
78400x00002b89,0x00000000,0x00050051,0x00000006,
78410x00002b8e,0x00002901,0x00000001,0x00050080,
78420x00000006,0x00002b90,0x00002b8e,0x00002b8a,
78430x00050050,0x00000007,0x00002b91,0x00002b8b,
78440x00002b90,0x0004007c,0x00000014,0x00002b81,
78450x00002b91,0x00060041,0x00000174,0x00002b79,
78460x00002b81,0x00000173,0x00000173,0x0005003e,
78470x00002b79,0x00002b6e,0x00000002,0x00000004,
78480x00050080,0x00000006,0x00002909,0x000028fe,
78490x000000f3,0x00060041,0x00000028,0x0000290d,
78500x000028ad,0x00006347,0x0000014a,0x0004003d,
78510x00000027,0x0000290e,0x0000290d,0x0004007c,
78520x00000006,0x00002b97,0x0000290e,0x00050095,
78530x00000145,0x00002bb2,0x00002b87,0x00002909,
78540x00050051,0x00000006,0x00002bb3,0x00002bb2,
78550x00000001,0x00050051,0x00000006,0x00002bb4,
78560x00002bb2,0x00000000,0x00050080,0x00000006,
78570x00002bb9,0x00002b8e,0x00002bb3,0x00050050,
78580x00000007,0x00002bba,0x00002bb4,0x00002bb9,
78590x0004007c,0x00000014,0x00002baa,0x00002bba,
78600x00060041,0x00000174,0x00002ba2,0x00002baa,
78610x00000173,0x00000173,0x0005003e,0x00002ba2,
78620x00002b97,0x00000002,0x00000004,0x00050080,
78630x00000006,0x00002914,0x000028fe,0x000001d5,
78640x00060041,0x00000028,0x00002918,0x000028ad,
78650x00006347,0x00000288,0x0004003d,0x00000027,
78660x00002919,0x00002918,0x0004007c,0x00000006,
78670x00002bc0,0x00002919,0x00050095,0x00000145,
78680x00002bdb,0x00002b87,0x00002914,0x00050051,
78690x00000006,0x00002bdc,0x00002bdb,0x00000001,
78700x00050051,0x00000006,0x00002bdd,0x00002bdb,
78710x00000000,0x00050080,0x00000006,0x00002be2,
78720x00002b8e,0x00002bdc,0x00050050,0x00000007,
78730x00002be3,0x00002bdd,0x00002be2,0x0004007c,
78740x00000014,0x00002bd3,0x00002be3,0x00060041,
78750x00000174,0x00002bcb,0x00002bd3,0x00000173,
78760x00000173,0x0005003e,0x00002bcb,0x00002bc0,
77170x00000002,0x00000004,0x00050080,0x00000006, 78770x00000002,0x00000004,0x00050080,0x00000006,
77180x00002a3c,0x00002a18,0x00000299,0x00050051, 78780x0000291d,0x00006347,0x0000026c,0x000200f9,
77190x00000027,0x00002a40,0x00006126,0x00000002, 78790x000028f6,0x000200f8,0x0000291e,0x00050080,
77200x0004007c,0x00000006,0x00002b34,0x00002a40, 78800x00000006,0x00002920,0x000028f5,0x00000567,
77210x00050095,0x0000013d,0x00002b4f,0x00002a80, 78810x00050041,0x0000026e,0x00002921,0x000001c1,
77220x00002a3c,0x00050051,0x00000006,0x00002b50, 78820x00000173,0x0004003d,0x00000007,0x00002922,
77230x00002b4f,0x00000001,0x00050051,0x00000006, 78830x00002921,0x00060041,0x00000028,0x00002923,
77240x00002b51,0x00002b4f,0x00000000,0x00050080, 78840x000028ad,0x0000031d,0x00000140,0x0004003d,
77250x00000006,0x00002b56,0x00002a87,0x00002b50, 78850x00000027,0x00002924,0x00002923,0x0004007c,
77260x00050050,0x00000007,0x00002b57,0x00002b51, 78860x00000006,0x00002be9,0x00002924,0x00050051,
77270x00002b56,0x0004007c,0x00000014,0x00002b47, 78870x00000006,0x00002c02,0x00002922,0x00000000,
77280x00002b57,0x00060041,0x0000016c,0x00002b3f, 78880x00050095,0x00000145,0x00002c04,0x00002c02,
77290x00002b47,0x0000016b,0x0000016b,0x0005003e, 78890x00002920,0x00050051,0x00000006,0x00002c05,
77300x00002b3f,0x00002b34,0x00000002,0x00000004, 78900x00002c04,0x00000001,0x00050051,0x00000006,
77310x000300f7,0x00002b97,0x00000000,0x000300fb, 78910x00002c06,0x00002c04,0x00000000,0x00050051,
77320x00000138,0x00002b66,0x000200f8,0x00002b66, 78920x00000006,0x00002c09,0x00002922,0x00000001,
77330x000500bc,0x0000002f,0x00002b9e,0x00002a1d, 78930x00050080,0x00000006,0x00002c0b,0x00002c09,
77340x00002a32,0x000300f7,0x00002ba5,0x00000000, 78940x00002c05,0x00050050,0x00000007,0x00002c0c,
77350x000400fa,0x00002b9e,0x00002b9f,0x00002ba5, 78950x00002c06,0x00002c0b,0x0004007c,0x00000014,
77360x000200f8,0x00002b9f,0x000500bc,0x0000002f, 78960x00002bfc,0x00002c0c,0x00060041,0x00000174,
77370x00002ba4,0x00002a24,0x00002a39,0x000200f9, 78970x00002bf4,0x00002bfc,0x00000173,0x00000173,
77380x00002ba5,0x000200f8,0x00002ba5,0x000700f5, 78980x0005003e,0x00002bf4,0x00002be9,0x00000002,
77390x0000002f,0x00002ba6,0x00002b9e,0x00002b66, 78990x00000004,0x00050080,0x00000006,0x00002927,
77400x00002ba4,0x00002b9f,0x000300f7,0x00002bad, 79000x000028f5,0x00000572,0x00060041,0x00000028,
77410x00000000,0x000400fa,0x00002ba6,0x00002ba7, 79010x0000292a,0x000028ad,0x0000031d,0x0000014a,
77420x00002bad,0x000200f8,0x00002ba7,0x000500bc, 79020x0004003d,0x00000027,0x0000292b,0x0000292a,
77430x0000002f,0x00002bac,0x00002a2b,0x00002a40, 79030x0004007c,0x00000006,0x00002c12,0x0000292b,
77440x000200f9,0x00002bad,0x000200f8,0x00002bad, 79040x00050095,0x00000145,0x00002c2d,0x00002c02,
77450x000700f5,0x0000002f,0x00002bae,0x00002ba6, 79050x00002927,0x00050051,0x00000006,0x00002c2e,
77460x00002ba5,0x00002bac,0x00002ba7,0x000400a8, 79060x00002c2d,0x00000001,0x00050051,0x00000006,
77470x0000002f,0x00002baf,0x00002bae,0x000300f7, 79070x00002c2f,0x00002c2d,0x00000000,0x00050080,
77480x00002b6b,0x00000000,0x000400fa,0x00002baf, 79080x00000006,0x00002c34,0x00002c09,0x00002c2e,
77490x00002b6a,0x00002b6b,0x000200f8,0x00002b6a, 79090x00050050,0x00000007,0x00002c35,0x00002c2f,
77500x000200f9,0x00002b97,0x000200f8,0x00002b6b, 79100x00002c34,0x0004007c,0x00000014,0x00002c25,
77510x00050081,0x0000006c,0x00002b6e,0x00006128, 79110x00002c35,0x00060041,0x00000174,0x00002c1d,
77520x00006126,0x0005008e,0x0000006c,0x00002b6f, 79120x00002c25,0x00000173,0x00000173,0x0005003e,
77530x00002b6e,0x000002fd,0x00050095,0x0000013d, 79130x00002c1d,0x00002c12,0x00000002,0x00000004,
77540x00002bbf,0x00002a80,0x00000138,0x00050051, 79140x00050080,0x00000006,0x0000292e,0x000028f5,
77550x00000006,0x00002bc0,0x00002bbf,0x00000001, 79150x0000057d,0x00060041,0x00000028,0x00002931,
77560x00050051,0x00000006,0x00002bc1,0x00002bbf, 79160x000028ad,0x0000031d,0x00000288,0x0004003d,
77570x00000000,0x00050080,0x00000006,0x00002bc6, 79170x00000027,0x00002932,0x00002931,0x0004007c,
77580x00002a87,0x00002bc0,0x00050050,0x00000007, 79180x00000006,0x00002c3b,0x00002932,0x00050095,
77590x00002bc7,0x00002bc1,0x00002bc6,0x0004007c, 79190x00000145,0x00002c56,0x00002c02,0x0000292e,
77600x00000014,0x00002bb7,0x00002bc7,0x00060041, 79200x00050051,0x00000006,0x00002c57,0x00002c56,
77610x0000016c,0x00002b74,0x00002bb7,0x0000016b, 79210x00000001,0x00050051,0x00000006,0x00002c58,
77620x0000016b,0x00050051,0x00000027,0x00002b76, 79220x00002c56,0x00000000,0x00050080,0x00000006,
77630x00002b6f,0x00000000,0x0004007c,0x00000006, 79230x00002c5d,0x00002c09,0x00002c57,0x00050050,
77640x00002bcd,0x00002b76,0x000500c7,0x00000006, 79240x00000007,0x00002c5e,0x00002c58,0x00002c5d,
77650x00002bcf,0x00002bcd,0x00000241,0x000500ab, 79250x0004007c,0x00000014,0x00002c4e,0x00002c5e,
77660x0000002f,0x00002bd0,0x00002bcf,0x00000138, 79260x00060041,0x00000174,0x00002c46,0x00002c4e,
77670x000300f7,0x00002bd7,0x00000000,0x000400fa, 79270x00000173,0x00000173,0x0005003e,0x00002c46,
77680x00002bd0,0x00002bd1,0x00002bd4,0x000200f8, 79280x00002c3b,0x00000002,0x00000004,0x00050080,
77690x00002bd4,0x000500c5,0x00000006,0x00002bd6, 79290x00000006,0x00002935,0x000028f5,0x00000588,
77700x00002bcd,0x00000241,0x000200f9,0x00002bd7, 79300x00050041,0x000001c3,0x00002938,0x000001c1,
77710x000200f8,0x00002bd1,0x000400c8,0x00000006, 79310x0000058a,0x0004003d,0x00000006,0x00002939,
77720x00002bd3,0x00002bcd,0x000200f9,0x00002bd7, 79320x00002938,0x00050095,0x00000145,0x00002c76,
77730x000200f8,0x00002bd7,0x000700f5,0x00000006, 79330x00002c02,0x00002935,0x00050051,0x00000006,
77740x00005f24,0x00002bd3,0x00002bd1,0x00002bd6, 79340x00002c77,0x00002c76,0x00000001,0x00050051,
77750x00002bd4,0x000700ed,0x00000006,0x00002b78, 79350x00000006,0x00002c78,0x00002c76,0x00000000,
77760x00002b74,0x00000142,0x00000138,0x00005f24, 79360x00050080,0x00000006,0x00002c7d,0x00002c09,
77770x00060041,0x0000016c,0x00002b7a,0x00002bb7, 79370x00002c77,0x00050050,0x00000007,0x00002c7e,
77780x0000016b,0x00000264,0x00050051,0x00000027, 79380x00002c78,0x00002c7d,0x0004007c,0x00000014,
77790x00002b7c,0x00002b6f,0x00000001,0x0004007c, 79390x00002c6e,0x00002c7e,0x00060041,0x00000174,
77800x00000006,0x00002bde,0x00002b7c,0x000500c7, 79400x00002c66,0x00002c6e,0x00000173,0x00000173,
77810x00000006,0x00002be0,0x00002bde,0x00000241, 79410x0005003e,0x00002c66,0x00002939,0x00000002,
77820x000500ab,0x0000002f,0x00002be1,0x00002be0, 79420x00000004,0x00050080,0x00000006,0x0000293c,
77830x00000138,0x000300f7,0x00002be8,0x00000000, 79430x000028f5,0x00000594,0x00050095,0x00000145,
77840x000400fa,0x00002be1,0x00002be2,0x00002be5, 79440x00002c96,0x00002c02,0x0000293c,0x00050051,
77850x000200f8,0x00002be5,0x000500c5,0x00000006, 79450x00000006,0x00002c97,0x00002c96,0x00000001,
77860x00002be7,0x00002bde,0x00000241,0x000200f9, 79460x00050051,0x00000006,0x00002c98,0x00002c96,
77870x00002be8,0x000200f8,0x00002be2,0x000400c8, 79470x00000000,0x00050080,0x00000006,0x00002c9d,
77880x00000006,0x00002be4,0x00002bde,0x000200f9, 79480x00002c09,0x00002c97,0x00050050,0x00000007,
77890x00002be8,0x000200f8,0x00002be8,0x000700f5, 79490x00002c9e,0x00002c98,0x00002c9d,0x0004007c,
77900x00000006,0x00005f25,0x00002be4,0x00002be2, 79500x00000014,0x00002c8e,0x00002c9e,0x00060041,
77910x00002be7,0x00002be5,0x000700ed,0x00000006, 79510x00000174,0x00002c86,0x00002c8e,0x00000173,
77920x00002b7e,0x00002b7a,0x00000142,0x00000138, 79520x00000173,0x0005003e,0x00002c86,0x000013a7,
77930x00005f25,0x00060041,0x0000016c,0x00002b80, 79530x00000002,0x00000004,0x00050080,0x00000006,
77940x00002bb7,0x0000016b,0x00000315,0x00050051, 79540x00002942,0x000028f5,0x0000059e,0x00050095,
77950x00000027,0x00002b82,0x00002b6f,0x00000002, 79550x00000145,0x00002cb6,0x00002c02,0x00002942,
77960x0004007c,0x00000006,0x00002bef,0x00002b82, 79560x00050051,0x00000006,0x00002cb7,0x00002cb6,
77970x000500c7,0x00000006,0x00002bf1,0x00002bef, 79570x00000001,0x00050051,0x00000006,0x00002cb8,
77980x00000241,0x000500ab,0x0000002f,0x00002bf2, 79580x00002cb6,0x00000000,0x00050080,0x00000006,
77990x00002bf1,0x00000138,0x000300f7,0x00002bf9, 79590x00002cbd,0x00002c09,0x00002cb7,0x00050050,
78000x00000000,0x000400fa,0x00002bf2,0x00002bf3, 79600x00000007,0x00002cbe,0x00002cb8,0x00002cbd,
78010x00002bf6,0x000200f8,0x00002bf6,0x000500c5, 79610x0004007c,0x00000014,0x00002cae,0x00002cbe,
78020x00000006,0x00002bf8,0x00002bef,0x00000241, 79620x00060041,0x00000174,0x00002ca6,0x00002cae,
78030x000200f9,0x00002bf9,0x000200f8,0x00002bf3, 79630x00000173,0x00000173,0x0005003e,0x00002ca6,
78040x000400c8,0x00000006,0x00002bf5,0x00002bef, 79640x000003bf,0x00000002,0x00000004,0x00050080,
78050x000200f9,0x00002bf9,0x000200f8,0x00002bf9, 79650x00000006,0x00002947,0x000028f5,0x000005a7,
78060x000700f5,0x00000006,0x00005f26,0x00002bf5, 79660x00050095,0x00000145,0x00002cd6,0x00002c02,
78070x00002bf3,0x00002bf8,0x00002bf6,0x000700ed, 79670x00002947,0x00050051,0x00000006,0x00002cd7,
78080x00000006,0x00002b84,0x00002b80,0x00000142, 79680x00002cd6,0x00000001,0x00050051,0x00000006,
78090x00000138,0x00005f26,0x00060041,0x0000016c, 79690x00002cd8,0x00002cd6,0x00000000,0x00050080,
78100x00002b86,0x00002bb7,0x0000016b,0x0000031d, 79700x00000006,0x00002cdd,0x00002c09,0x00002cd7,
78110x000300f7,0x00002c0a,0x00000000,0x000400fa, 79710x00050050,0x00000007,0x00002cde,0x00002cd8,
78120x00002bd0,0x00002c04,0x00002c07,0x000200f8, 79720x00002cdd,0x0004007c,0x00000014,0x00002cce,
78130x00002c07,0x000500c5,0x00000006,0x00002c09, 79730x00002cde,0x00060041,0x00000174,0x00002cc6,
78140x00002bcd,0x00000241,0x000200f9,0x00002c0a, 79740x00002cce,0x00000173,0x00000173,0x0005003e,
78150x000200f8,0x00002c04,0x000400c8,0x00000006, 79750x00002cc6,0x000005a9,0x00000002,0x00000004,
78160x00002c06,0x00002bcd,0x000200f9,0x00002c0a, 79760x00050041,0x0000006d,0x0000294b,0x000028ad,
78170x000200f8,0x00002c0a,0x000700f5,0x00000006, 79770x00000173,0x0004003d,0x0000006c,0x0000294c,
78180x00005f27,0x00002c06,0x00002c04,0x00002c09, 79780x0000294b,0x0004009c,0x000005b3,0x0000294d,
78190x00002c07,0x000700ef,0x00000006,0x00002b8a, 79790x0000294c,0x0004009a,0x0000002f,0x0000294e,
78200x00002b86,0x00000142,0x00000138,0x00005f27, 79800x0000294d,0x000400a8,0x0000002f,0x0000294f,
78210x00060041,0x0000016c,0x00002b8c,0x00002bb7, 79810x0000294e,0x000300f7,0x00002955,0x00000000,
78220x0000016b,0x00000325,0x000300f7,0x00002c1b, 79820x000400fa,0x0000294f,0x00002950,0x00002955,
78230x00000000,0x000400fa,0x00002be1,0x00002c15, 79830x000200f8,0x00002950,0x00050041,0x0000006d,
78240x00002c18,0x000200f8,0x00002c18,0x000500c5, 79840x00002951,0x000028ad,0x0000026c,0x0004003d,
78250x00000006,0x00002c1a,0x00002bde,0x00000241, 79850x0000006c,0x00002952,0x00002951,0x0004009c,
78260x000200f9,0x00002c1b,0x000200f8,0x00002c15, 79860x000005b3,0x00002953,0x00002952,0x0004009a,
78270x000400c8,0x00000006,0x00002c17,0x00002bde, 79870x0000002f,0x00002954,0x00002953,0x000200f9,
78280x000200f9,0x00002c1b,0x000200f8,0x00002c1b, 79880x00002955,0x000200f8,0x00002955,0x000700f5,
78290x000700f5,0x00000006,0x00005f28,0x00002c17, 79890x0000002f,0x00002956,0x0000294e,0x0000291e,
78300x00002c15,0x00002c1a,0x00002c18,0x000700ef, 79900x00002954,0x00002950,0x000400a8,0x0000002f,
78310x00000006,0x00002b90,0x00002b8c,0x00000142, 79910x00002957,0x00002956,0x000300f7,0x0000295d,
78320x00000138,0x00005f28,0x00060041,0x0000016c, 79920x00000000,0x000400fa,0x00002957,0x00002958,
78330x00002b92,0x00002bb7,0x0000016b,0x0000032d, 79930x0000295d,0x000200f8,0x00002958,0x00050041,
78340x000300f7,0x00002c2c,0x00000000,0x000400fa, 79940x0000006d,0x00002959,0x000028ad,0x0000031d,
78350x00002bf2,0x00002c26,0x00002c29,0x000200f8, 79950x0004003d,0x0000006c,0x0000295a,0x00002959,
78360x00002c29,0x000500c5,0x00000006,0x00002c2b, 79960x0004009c,0x000005b3,0x0000295b,0x0000295a,
78370x00002bef,0x00000241,0x000200f9,0x00002c2c, 79970x0004009a,0x0000002f,0x0000295c,0x0000295b,
78380x000200f8,0x00002c26,0x000400c8,0x00000006, 79980x000200f9,0x0000295d,0x000200f8,0x0000295d,
78390x00002c28,0x00002bef,0x000200f9,0x00002c2c, 79990x000700f5,0x0000002f,0x0000295e,0x00002956,
78400x000200f8,0x00002c2c,0x000700f5,0x00000006, 80000x00002955,0x0000295c,0x00002958,0x0004003d,
78410x00005f29,0x00002c28,0x00002c26,0x00002c2b, 80010x0000006c,0x00002960,0x0000294b,0x00050041,
78420x00002c29,0x000700ef,0x00000006,0x00002b96, 80020x0000006d,0x00002961,0x000028ad,0x0000026c,
78430x00002b92,0x00000142,0x00000138,0x00005f29, 80030x0004003d,0x0000006c,0x00002962,0x00002961,
78440x000200f9,0x00002b97,0x000200f8,0x00002b97, 80040x0007000c,0x0000006c,0x00002963,0x00000001,
78450x000200f9,0x000013be,0x000200f8,0x000013be, 80050x00000025,0x00002960,0x00002962,0x00050041,
78460x000200f9,0x00001398,0x000200f8,0x00001397, 80060x0000006d,0x00002964,0x000028ad,0x0000031d,
78470x00050041,0x000001bb,0x00001399,0x000001b9, 80070x0004003d,0x0000006c,0x00002965,0x00002964,
78480x000010be,0x0004003d,0x00000006,0x0000139a, 80080x0007000c,0x0000006c,0x00002966,0x00000001,
78490x00001399,0x00050084,0x00000006,0x0000139c, 80090x00000025,0x00002963,0x00002965,0x0004003d,
78500x000000ec,0x000012dd,0x00050080,0x00000006, 80100x0000006c,0x00002968,0x0000294b,0x0004003d,
78510x0000139d,0x0000139a,0x0000139c,0x00050041, 80110x0000006c,0x0000296a,0x00002961,0x0007000c,
78520x00000266,0x0000139f,0x000001b9,0x0000016b, 80120x0000006c,0x0000296b,0x00000001,0x00000028,
78530x0004003d,0x00000007,0x000013a0,0x0000139f, 80130x00002968,0x0000296a,0x0004003d,0x0000006c,
78540x00050051,0x00000006,0x0000258e,0x000013a0, 80140x0000296d,0x00002964,0x0007000c,0x0000006c,
78550x00000000,0x00050095,0x0000013d,0x00002590, 80150x0000296e,0x00000001,0x00000028,0x0000296b,
78560x0000258e,0x0000139d,0x00050051,0x00000006, 80160x0000296d,0x00060050,0x000005b3,0x0000655b,
78570x00002591,0x00002590,0x00000001,0x00050051, 80170x0000295e,0x0000295e,0x0000295e,0x000600a9,
78580x00000006,0x00002592,0x00002590,0x00000000, 80180x0000006c,0x0000655c,0x0000655b,0x00006532,
78590x00050051,0x00000006,0x00002595,0x000013a0, 80190x0000296e,0x000600a9,0x0000006c,0x0000655e,
78600x00000001,0x00050080,0x00000006,0x00002597, 80200x0000655b,0x000005dc,0x00002966,0x00050041,
78610x00002595,0x00002591,0x00050050,0x00000007, 80210x000001c3,0x00002d2e,0x000001c1,0x000001c2,
78620x00002598,0x00002592,0x00002597,0x0004007c, 80220x0004003d,0x00000006,0x00002d2f,0x00002d2e,
78630x00000014,0x00002588,0x00002598,0x00060041, 80230x00050084,0x00000006,0x00002d30,0x000001e3,
78640x0000016c,0x00002580,0x00002588,0x0000016b, 80240x00002d2f,0x00050080,0x00000006,0x00002d31,
78650x0000016b,0x0005003e,0x00002580,0x00000539, 80250x000001cc,0x00002d30,0x00050080,0x00000006,
78660x00000002,0x00000004,0x000500b0,0x0000002f, 80260x00002d37,0x00002d2f,0x00000695,0x00050086,
78670x000013a5,0x000012dd,0x00000470,0x000300f7, 80270x00000006,0x00002d38,0x00002d37,0x000001c6,
78680x000013a7,0x00000000,0x000400fa,0x000013a5, 80280x00050084,0x00000006,0x00002d2a,0x000001cc,
78690x000013a6,0x000013a7,0x000200f8,0x000013a6, 80290x00002d38,0x00050080,0x00000006,0x00002d2b,
78700x00050041,0x00000266,0x000013ab,0x000001b9, 80300x00002d31,0x00002d2a,0x00050080,0x00000006,
78710x00000264,0x0004003d,0x00000007,0x000013ac, 80310x00002d25,0x00002d2b,0x00002d2a,0x00050084,
78720x000013ab,0x00050051,0x00000006,0x000025ae, 80320x00000006,0x00002cf5,0x000001f7,0x000028f0,
78730x000013ac,0x00000000,0x00050095,0x0000013d, 80330x00050080,0x00000006,0x00002cf6,0x00002d25,
78740x000025b0,0x000025ae,0x0000139c,0x00050051, 80340x00002cf5,0x00050041,0x0000026e,0x00002cf7,
78750x00000006,0x000025b1,0x000025b0,0x00000001, 80350x000001c1,0x0000026c,0x0004003d,0x00000007,
78760x00050051,0x00000006,0x000025b2,0x000025b0, 80360x00002cf8,0x00002cf7,0x00050051,0x00000027,
78770x00000000,0x00050051,0x00000006,0x000025b5, 80370x00002cfb,0x0000655e,0x00000000,0x0004007c,
78780x000013ac,0x00000001,0x00050080,0x00000006, 80380x00000006,0x00002d45,0x00002cfb,0x00050051,
78790x000025b7,0x000025b5,0x000025b1,0x00050050, 80390x00000006,0x00002d5e,0x00002cf8,0x00000000,
78800x00000007,0x000025b8,0x000025b2,0x000025b7, 80400x00050095,0x00000145,0x00002d60,0x00002d5e,
78810x0004007c,0x00000014,0x000025a8,0x000025b8, 80410x00002cf6,0x00050051,0x00000006,0x00002d61,
78820x00060041,0x0000016c,0x000025a0,0x000025a8, 80420x00002d60,0x00000001,0x00050051,0x00000006,
78830x0000016b,0x0000016b,0x0005003e,0x000025a0, 80430x00002d62,0x00002d60,0x00000000,0x00050051,
78840x00000539,0x00000002,0x00000004,0x00050080, 80440x00000006,0x00002d65,0x00002cf8,0x00000001,
78850x00000006,0x000013b2,0x000001d4,0x0000139c, 80450x00050080,0x00000006,0x00002d67,0x00002d65,
78860x00050095,0x0000013d,0x000025d0,0x000025ae, 80460x00002d61,0x00050050,0x00000007,0x00002d68,
78870x000013b2,0x00050051,0x00000006,0x000025d1, 80470x00002d62,0x00002d67,0x0004007c,0x00000014,
78880x000025d0,0x00000001,0x00050051,0x00000006, 80480x00002d58,0x00002d68,0x00060041,0x00000174,
78890x000025d2,0x000025d0,0x00000000,0x00050080, 80490x00002d50,0x00002d58,0x00000173,0x00000173,
78900x00000006,0x000025d7,0x000025b5,0x000025d1, 80500x0005003e,0x00002d50,0x00002d45,0x00000002,
78910x00050050,0x00000007,0x000025d8,0x000025d2, 80510x00000004,0x00050080,0x00000006,0x00002cfe,
78920x000025d7,0x0004007c,0x00000014,0x000025c8, 80520x00002cf6,0x000000f3,0x00050051,0x00000027,
78930x000025d8,0x00060041,0x0000016c,0x000025c0, 80530x00002d02,0x0000655e,0x00000001,0x0004007c,
78940x000025c8,0x0000016b,0x0000016b,0x0005003e, 80540x00000006,0x00002d6e,0x00002d02,0x00050095,
78950x000025c0,0x00000138,0x00000002,0x00000004, 80550x00000145,0x00002d89,0x00002d5e,0x00002cfe,
78960x000200f9,0x000013a7,0x000200f8,0x000013a7, 80560x00050051,0x00000006,0x00002d8a,0x00002d89,
78970x000200f9,0x00001398,0x000200f8,0x00001398, 80570x00000001,0x00050051,0x00000006,0x00002d8b,
78980x000200f9,0x000013fd,0x000200f8,0x000013fd, 80580x00002d89,0x00000000,0x00050080,0x00000006,
78990x000100fd,0x00010038} 80590x00002d90,0x00002d65,0x00002d8a,0x00050050,
80600x00000007,0x00002d91,0x00002d8b,0x00002d90,
80610x0004007c,0x00000014,0x00002d81,0x00002d91,
80620x00060041,0x00000174,0x00002d79,0x00002d81,
80630x00000173,0x00000173,0x0005003e,0x00002d79,
80640x00002d6e,0x00000002,0x00000004,0x00050080,
80650x00000006,0x00002d05,0x00002cf6,0x000001d5,
80660x00050051,0x00000027,0x00002d09,0x0000655e,
80670x00000002,0x0004007c,0x00000006,0x00002d97,
80680x00002d09,0x00050095,0x00000145,0x00002db2,
80690x00002d5e,0x00002d05,0x00050051,0x00000006,
80700x00002db3,0x00002db2,0x00000001,0x00050051,
80710x00000006,0x00002db4,0x00002db2,0x00000000,
80720x00050080,0x00000006,0x00002db9,0x00002d65,
80730x00002db3,0x00050050,0x00000007,0x00002dba,
80740x00002db4,0x00002db9,0x0004007c,0x00000014,
80750x00002daa,0x00002dba,0x00060041,0x00000174,
80760x00002da2,0x00002daa,0x00000173,0x00000173,
80770x0005003e,0x00002da2,0x00002d97,0x00000002,
80780x00000004,0x00050080,0x00000006,0x00002d0c,
80790x00002cf6,0x000001dc,0x00050051,0x00000027,
80800x00002d10,0x0000655c,0x00000000,0x0004007c,
80810x00000006,0x00002dc0,0x00002d10,0x00050095,
80820x00000145,0x00002ddb,0x00002d5e,0x00002d0c,
80830x00050051,0x00000006,0x00002ddc,0x00002ddb,
80840x00000001,0x00050051,0x00000006,0x00002ddd,
80850x00002ddb,0x00000000,0x00050080,0x00000006,
80860x00002de2,0x00002d65,0x00002ddc,0x00050050,
80870x00000007,0x00002de3,0x00002ddd,0x00002de2,
80880x0004007c,0x00000014,0x00002dd3,0x00002de3,
80890x00060041,0x00000174,0x00002dcb,0x00002dd3,
80900x00000173,0x00000173,0x0005003e,0x00002dcb,
80910x00002dc0,0x00000002,0x00000004,0x00050080,
80920x00000006,0x00002d13,0x00002cf6,0x000001e3,
80930x00050051,0x00000027,0x00002d17,0x0000655c,
80940x00000001,0x0004007c,0x00000006,0x00002de9,
80950x00002d17,0x00050095,0x00000145,0x00002e04,
80960x00002d5e,0x00002d13,0x00050051,0x00000006,
80970x00002e05,0x00002e04,0x00000001,0x00050051,
80980x00000006,0x00002e06,0x00002e04,0x00000000,
80990x00050080,0x00000006,0x00002e0b,0x00002d65,
81000x00002e05,0x00050050,0x00000007,0x00002e0c,
81010x00002e06,0x00002e0b,0x0004007c,0x00000014,
81020x00002dfc,0x00002e0c,0x00060041,0x00000174,
81030x00002df4,0x00002dfc,0x00000173,0x00000173,
81040x0005003e,0x00002df4,0x00002de9,0x00000002,
81050x00000004,0x00050080,0x00000006,0x00002d1a,
81060x00002cf6,0x000002a1,0x00050051,0x00000027,
81070x00002d1e,0x0000655c,0x00000002,0x0004007c,
81080x00000006,0x00002e12,0x00002d1e,0x00050095,
81090x00000145,0x00002e2d,0x00002d5e,0x00002d1a,
81100x00050051,0x00000006,0x00002e2e,0x00002e2d,
81110x00000001,0x00050051,0x00000006,0x00002e2f,
81120x00002e2d,0x00000000,0x00050080,0x00000006,
81130x00002e34,0x00002d65,0x00002e2e,0x00050050,
81140x00000007,0x00002e35,0x00002e2f,0x00002e34,
81150x0004007c,0x00000014,0x00002e25,0x00002e35,
81160x00060041,0x00000174,0x00002e1d,0x00002e25,
81170x00000173,0x00000173,0x0005003e,0x00002e1d,
81180x00002e12,0x00000002,0x00000004,0x000300f7,
81190x00002e75,0x00000000,0x000300fb,0x00000140,
81200x00002e44,0x000200f8,0x00002e44,0x000500bc,
81210x0000002f,0x00002e7c,0x00002cfb,0x00002d10,
81220x000300f7,0x00002e83,0x00000000,0x000400fa,
81230x00002e7c,0x00002e7d,0x00002e83,0x000200f8,
81240x00002e7d,0x000500bc,0x0000002f,0x00002e82,
81250x00002d02,0x00002d17,0x000200f9,0x00002e83,
81260x000200f8,0x00002e83,0x000700f5,0x0000002f,
81270x00002e84,0x00002e7c,0x00002e44,0x00002e82,
81280x00002e7d,0x000300f7,0x00002e8b,0x00000000,
81290x000400fa,0x00002e84,0x00002e85,0x00002e8b,
81300x000200f8,0x00002e85,0x000500bc,0x0000002f,
81310x00002e8a,0x00002d09,0x00002d1e,0x000200f9,
81320x00002e8b,0x000200f8,0x00002e8b,0x000700f5,
81330x0000002f,0x00002e8c,0x00002e84,0x00002e83,
81340x00002e8a,0x00002e85,0x000400a8,0x0000002f,
81350x00002e8d,0x00002e8c,0x000300f7,0x00002e49,
81360x00000000,0x000400fa,0x00002e8d,0x00002e48,
81370x00002e49,0x000200f8,0x00002e48,0x000200f9,
81380x00002e75,0x000200f8,0x00002e49,0x00050081,
81390x0000006c,0x00002e4c,0x0000655e,0x0000655c,
81400x0005008e,0x0000006c,0x00002e4d,0x00002e4c,
81410x00000305,0x00050095,0x00000145,0x00002e9d,
81420x00002d5e,0x00000140,0x00050051,0x00000006,
81430x00002e9e,0x00002e9d,0x00000001,0x00050051,
81440x00000006,0x00002e9f,0x00002e9d,0x00000000,
81450x00050080,0x00000006,0x00002ea4,0x00002d65,
81460x00002e9e,0x00050050,0x00000007,0x00002ea5,
81470x00002e9f,0x00002ea4,0x0004007c,0x00000014,
81480x00002e95,0x00002ea5,0x00060041,0x00000174,
81490x00002e52,0x00002e95,0x00000173,0x00000173,
81500x00050051,0x00000027,0x00002e54,0x00002e4d,
81510x00000000,0x0004007c,0x00000006,0x00002eab,
81520x00002e54,0x000500c7,0x00000006,0x00002ead,
81530x00002eab,0x00000249,0x000500ab,0x0000002f,
81540x00002eae,0x00002ead,0x00000140,0x000300f7,
81550x00002eb5,0x00000000,0x000400fa,0x00002eae,
81560x00002eaf,0x00002eb2,0x000200f8,0x00002eb2,
81570x000500c5,0x00000006,0x00002eb4,0x00002eab,
81580x00000249,0x000200f9,0x00002eb5,0x000200f8,
81590x00002eaf,0x000400c8,0x00000006,0x00002eb1,
81600x00002eab,0x000200f9,0x00002eb5,0x000200f8,
81610x00002eb5,0x000700f5,0x00000006,0x0000634a,
81620x00002eb1,0x00002eaf,0x00002eb4,0x00002eb2,
81630x000700ed,0x00000006,0x00002e56,0x00002e52,
81640x0000014a,0x00000140,0x0000634a,0x00060041,
81650x00000174,0x00002e58,0x00002e95,0x00000173,
81660x0000026c,0x00050051,0x00000027,0x00002e5a,
81670x00002e4d,0x00000001,0x0004007c,0x00000006,
81680x00002ebc,0x00002e5a,0x000500c7,0x00000006,
81690x00002ebe,0x00002ebc,0x00000249,0x000500ab,
81700x0000002f,0x00002ebf,0x00002ebe,0x00000140,
81710x000300f7,0x00002ec6,0x00000000,0x000400fa,
81720x00002ebf,0x00002ec0,0x00002ec3,0x000200f8,
81730x00002ec3,0x000500c5,0x00000006,0x00002ec5,
81740x00002ebc,0x00000249,0x000200f9,0x00002ec6,
81750x000200f8,0x00002ec0,0x000400c8,0x00000006,
81760x00002ec2,0x00002ebc,0x000200f9,0x00002ec6,
81770x000200f8,0x00002ec6,0x000700f5,0x00000006,
81780x0000634b,0x00002ec2,0x00002ec0,0x00002ec5,
81790x00002ec3,0x000700ed,0x00000006,0x00002e5c,
81800x00002e58,0x0000014a,0x00000140,0x0000634b,
81810x00060041,0x00000174,0x00002e5e,0x00002e95,
81820x00000173,0x0000031d,0x00050051,0x00000027,
81830x00002e60,0x00002e4d,0x00000002,0x0004007c,
81840x00000006,0x00002ecd,0x00002e60,0x000500c7,
81850x00000006,0x00002ecf,0x00002ecd,0x00000249,
81860x000500ab,0x0000002f,0x00002ed0,0x00002ecf,
81870x00000140,0x000300f7,0x00002ed7,0x00000000,
81880x000400fa,0x00002ed0,0x00002ed1,0x00002ed4,
81890x000200f8,0x00002ed4,0x000500c5,0x00000006,
81900x00002ed6,0x00002ecd,0x00000249,0x000200f9,
81910x00002ed7,0x000200f8,0x00002ed1,0x000400c8,
81920x00000006,0x00002ed3,0x00002ecd,0x000200f9,
81930x00002ed7,0x000200f8,0x00002ed7,0x000700f5,
81940x00000006,0x0000634c,0x00002ed3,0x00002ed1,
81950x00002ed6,0x00002ed4,0x000700ed,0x00000006,
81960x00002e62,0x00002e5e,0x0000014a,0x00000140,
81970x0000634c,0x00060041,0x00000174,0x00002e64,
81980x00002e95,0x00000173,0x00000325,0x000300f7,
81990x00002ee8,0x00000000,0x000400fa,0x00002eae,
82000x00002ee2,0x00002ee5,0x000200f8,0x00002ee5,
82010x000500c5,0x00000006,0x00002ee7,0x00002eab,
82020x00000249,0x000200f9,0x00002ee8,0x000200f8,
82030x00002ee2,0x000400c8,0x00000006,0x00002ee4,
82040x00002eab,0x000200f9,0x00002ee8,0x000200f8,
82050x00002ee8,0x000700f5,0x00000006,0x0000634d,
82060x00002ee4,0x00002ee2,0x00002ee7,0x00002ee5,
82070x000700ef,0x00000006,0x00002e68,0x00002e64,
82080x0000014a,0x00000140,0x0000634d,0x00060041,
82090x00000174,0x00002e6a,0x00002e95,0x00000173,
82100x0000032d,0x000300f7,0x00002ef9,0x00000000,
82110x000400fa,0x00002ebf,0x00002ef3,0x00002ef6,
82120x000200f8,0x00002ef6,0x000500c5,0x00000006,
82130x00002ef8,0x00002ebc,0x00000249,0x000200f9,
82140x00002ef9,0x000200f8,0x00002ef3,0x000400c8,
82150x00000006,0x00002ef5,0x00002ebc,0x000200f9,
82160x00002ef9,0x000200f8,0x00002ef9,0x000700f5,
82170x00000006,0x0000634e,0x00002ef5,0x00002ef3,
82180x00002ef8,0x00002ef6,0x000700ef,0x00000006,
82190x00002e6e,0x00002e6a,0x0000014a,0x00000140,
82200x0000634e,0x00060041,0x00000174,0x00002e70,
82210x00002e95,0x00000173,0x00000335,0x000300f7,
82220x00002f0a,0x00000000,0x000400fa,0x00002ed0,
82230x00002f04,0x00002f07,0x000200f8,0x00002f07,
82240x000500c5,0x00000006,0x00002f09,0x00002ecd,
82250x00000249,0x000200f9,0x00002f0a,0x000200f8,
82260x00002f04,0x000400c8,0x00000006,0x00002f06,
82270x00002ecd,0x000200f9,0x00002f0a,0x000200f8,
82280x00002f0a,0x000700f5,0x00000006,0x0000634f,
82290x00002f06,0x00002f04,0x00002f09,0x00002f07,
82300x000700ef,0x00000006,0x00002e74,0x00002e70,
82310x0000014a,0x00000140,0x0000634f,0x000200f9,
82320x00002e75,0x000200f8,0x00002e75,0x000200f9,
82330x000014b0,0x000200f8,0x000014b0,0x000200f9,
82340x0000148a,0x000200f8,0x00001489,0x00050041,
82350x000001c3,0x0000148b,0x000001c1,0x000003c1,
82360x0004003d,0x00000006,0x0000148c,0x0000148b,
82370x00050084,0x00000006,0x0000148e,0x000000f3,
82380x000013a7,0x00050080,0x00000006,0x0000148f,
82390x0000148c,0x0000148e,0x00050041,0x0000026e,
82400x00001491,0x000001c1,0x00000173,0x0004003d,
82410x00000007,0x00001492,0x00001491,0x00050051,
82420x00000006,0x00002861,0x00001492,0x00000000,
82430x00050095,0x00000145,0x00002863,0x00002861,
82440x0000148f,0x00050051,0x00000006,0x00002864,
82450x00002863,0x00000001,0x00050051,0x00000006,
82460x00002865,0x00002863,0x00000000,0x00050051,
82470x00000006,0x00002868,0x00001492,0x00000001,
82480x00050080,0x00000006,0x0000286a,0x00002868,
82490x00002864,0x00050050,0x00000007,0x0000286b,
82500x00002865,0x0000286a,0x0004007c,0x00000014,
82510x0000285b,0x0000286b,0x00060041,0x00000174,
82520x00002853,0x0000285b,0x00000173,0x00000173,
82530x0005003e,0x00002853,0x000003bf,0x00000002,
82540x00000004,0x000500b0,0x0000002f,0x00001497,
82550x000013a7,0x000004d7,0x000300f7,0x00001499,
82560x00000000,0x000400fa,0x00001497,0x00001498,
82570x00001499,0x000200f8,0x00001498,0x00050041,
82580x0000026e,0x0000149d,0x000001c1,0x0000026c,
82590x0004003d,0x00000007,0x0000149e,0x0000149d,
82600x00050051,0x00000006,0x00002881,0x0000149e,
82610x00000000,0x00050095,0x00000145,0x00002883,
82620x00002881,0x0000148e,0x00050051,0x00000006,
82630x00002884,0x00002883,0x00000001,0x00050051,
82640x00000006,0x00002885,0x00002883,0x00000000,
82650x00050051,0x00000006,0x00002888,0x0000149e,
82660x00000001,0x00050080,0x00000006,0x0000288a,
82670x00002888,0x00002884,0x00050050,0x00000007,
82680x0000288b,0x00002885,0x0000288a,0x0004007c,
82690x00000014,0x0000287b,0x0000288b,0x00060041,
82700x00000174,0x00002873,0x0000287b,0x00000173,
82710x00000173,0x0005003e,0x00002873,0x000003bf,
82720x00000002,0x00000004,0x00050080,0x00000006,
82730x000014a4,0x000001dc,0x0000148e,0x00050095,
82740x00000145,0x000028a3,0x00002881,0x000014a4,
82750x00050051,0x00000006,0x000028a4,0x000028a3,
82760x00000001,0x00050051,0x00000006,0x000028a5,
82770x000028a3,0x00000000,0x00050080,0x00000006,
82780x000028aa,0x00002888,0x000028a4,0x00050050,
82790x00000007,0x000028ab,0x000028a5,0x000028aa,
82800x0004007c,0x00000014,0x0000289b,0x000028ab,
82810x00060041,0x00000174,0x00002893,0x0000289b,
82820x00000173,0x00000173,0x0005003e,0x00002893,
82830x00000140,0x00000002,0x00000004,0x000200f9,
82840x00001499,0x000200f8,0x00001499,0x000200f9,
82850x0000148a,0x000200f8,0x0000148a,0x000200f9,
82860x000014ef,0x000200f8,0x000014ef,0x000100fd,
82870x00010038}